Manual typos: Low-Level Terminal Interface
[glibc.git] / ChangeLog
blob5e523068de23d6ef1657420c6900af5e7dac0454
1 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3         * manual/terminal.texi: Fix typos in the manual.
5         * manual/socket.texi: Fix typos in the manual.
7         * manual/filesys.texi: Fix typos in the manual.
9         * manual/llio.texi: Fix typos in the manual.
11         * manual/stdio.text: Fix typos in the manual.
13 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16         instead of K1.
18         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
19         SHIFT_QUADRANT and make it bool.
20         (do_sincos_2): Likewise.
21         (sloww): Likewise.
22         (sloww1): Likewise.
23         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
24         (__cos): Likewise.
26 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
30 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
32         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
33         Define to __WORDSIZE, not conditional on [LONG_MAX ==
34         0x7fffffffL].
35         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
37 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
40         inline by __inline__.
41         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
42         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
43         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
44         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
45         sigset_t from signal.h.
46         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
47         which is already required.
49 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
51         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
53 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
55         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
56         (struct tcp_repair_window): New type.
58 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
60         * libio/tst-memstream3.c: Include string.h.
62 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
64         [BZ #18241]
65         [BZ #20181]
66         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
67         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
68         write position is at the end the buffer.
69         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
70         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
71         (_IO_str_seekoff): Set correct offset from negative displacement and
72         set EINVAL for invalid ones.
73         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
74         buffer length.
75         (_IO_wstr_switch_to_get_mode): New function.
76         (_IO_wstr_seekoff): Set correct offset from negative displacement and
77         set EINVAL for invalid ones.
78         * libio/tst-memstream3.c: New file.
79         * libio/tst-wmemstream3.c: Likewise.
80         * manual/examples/memstrm.c: Remove warning when priting size_t.
82 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
84         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
85         macro to use __builtin_fma.
86         * sysdeps/x86_64/fpu/dla.h: Remove file.
88         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
89         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
90         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
92 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
94         [BZ #20292]
95         * elf/Makefile (routines): Add dl-addr-obj.
96         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
97         tst-_dl_addr_inside_object.
98         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
99         [ifeq (yesyes,$(have-fpie)$(build-shared))]
100         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
101         [ifeq (yesyes,$(have-fpie)$(build-shared))]
102         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
103         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
104         * elf/dl-open.c: Likewise.
105         * elf/dl-addr-obj.c: New file.
106         * elf/tst-_dl_addr_inside_object.c: New file.
108 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
110         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
111         <bits/iscanonical.h>.
112         * bits/iscanonical.h: New file.
113         * math/s_iscanonicall.c: Likewise.
114         * math/Versions (__iscanonicall): New libm symbol at version
115         GLIBC_2.25.
116         * math/libm-test.inc (iscanonical_test_data): New array.
117         (iscanonical_test): New function.
118         (main): Call iscanonical_test.
119         * math/Makefile (headers): Add bits/iscanonical.h.
120         (type-ldouble-routines): Add s_iscanonicall.
121         * manual/arith.texi (Floating Point Classes): Document
122         iscanonical.
123         * manual/libm-err-tab.pl: Update comment on interfaces without
124         ulps tabulated.
125         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
126         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
127         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
128         Likewise.
129         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
130         test-iscanonical-ldbl-128ibm.
131         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
132         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
133         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
134         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
135         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
136         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
139         Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
141         Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
143         Likewise.
144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
145         Likewise.
146         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
147         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
149 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
151         * string/bits/string3.h: Remove C++ style comments.
153 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
155         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
156         instead of ternary condition.
157         (do_sincos_2): Likewise.
158         (__sin): Likewise.
159         (__cos): Likewise.
160         (slow): Likewise.
161         (sloww): Likewise.
162         (sloww1): Likewise.
163         (bsloww): Likewise.
164         (bsloww1): Likewise.
166         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
167         instead of ternary condition.
168         (do_sin_slow): Likewise.
169         (do_sincos_1): Likewise.
170         (do_sincos_2): Likewise.
171         (__cos): Likewise.
172         (sloww): Likewise.
173         (sloww1): Likewise.
174         (sloww2): Likewise.
175         (bsloww): Likewise.
176         (bsloww1): Likewise.
177         (bsloww2): Likewise.
179         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
180         check from here...
181         (slow2): ... and here...
182         (__sin): ... to here.
184 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
186         * math/math.h
187         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
188         Cast argument to its own type.
189         * math/test-iszero-excess-precision.c: New file.
190         * math/Makefile (tests): Add test-iszero-excess-precision.
191         (CFLAGS-test-iszero-excess-precision.c): New variable.
193 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
195         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
196         field, add err field.
197         (__spawni_child): Report error through err member instead of pipe.
198         (__spawnix): Likewise.
200 2016-09-28  Zack Weinberg  <zackw@panix.com>
202         * scripts/check-installed-headers.sh: Generalize treatment of
203         sys/elf.h to all target architectures.
205         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
206         deleted typedef ucontext_t.
208 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
210         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
211         (__INTERNAL_SYSCALL1): Likewise.
212         (__INTERNAL_SYSCALL2): Likewise.
213         (__INTERNAL_SYSCALL3): Likewise.
214         (__INTERNAL_SYSCALL4): Likewise.
215         (__INTERNAL_SYSCALL5): Likewise.
216         (__INTERNAL_SYSCALL6): Likewise.
217         (__INTERNAL_SYSCALL7): Likewise.
218         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
219         (__INTERNAL_SYSCALL_NARGS): Likewise.
220         (__INTERNAL_SYSCALL_DISP): Likewise.
221         (INTERNAL_SYSCALL_CALL): Likewise.
222         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
223         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
224         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
225         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
226         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
227         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
228         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
229         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
230         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
231         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
232         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
233         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
234         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
236 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
238         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
239         macro.
240         * math/libm-test.inc (iszero_test_data): New array.
241         (iszero_test): New function.
242         (main): Call iszero_test.
243         * manual/arith.texi (Floating Point Classes): Document iszero.
244         * manual/libm-err-tab.pl: Update comment on interfaces without
245         ulps tabulated.
247 2016-09-23  Zack Weinberg  <zackw@panix.com>
249         * scripts/check-installed-headers.sh: New script.
250         * Rules: In each directory that defines header files to be installed,
251         run check-installed-headers.sh on them as a special test.
252         * Makefile: Likewise for the headers installed at top level.
254         * include/aliases.h, include/alloca.h, include/argz.h
255         * include/arpa/nameser.h, include/arpa/nameser_compat.h
256         * include/elf.h, include/envz.h, include/err.h
257         * include/execinfo.h, include/fpu_control.h, include/getopt.h
258         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
259         * include/link.h, include/malloc.h, include/mcheck.h
260         * include/mntent.h, include/netinet/ether.h
261         * include/nss.h, include/obstack.h, include/printf.h
262         * include/pty.h, include/resolv.h, include/rpc/auth.h
263         * include/rpc/auth_des.h, include/rpc/auth_unix.h
264         * include/rpc/clnt.h, include/rpc/des_crypt.h
265         * include/rpc/key_prot.h, include/rpc/netdb.h
266         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
267         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
268         * include/rpc/rpc_msg.h, include/rpc/svc.h
269         * include/rpc/svc_auth.h, include/rpc/xdr.h
270         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
271         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
272         * include/rpcsvc/ypupd.h, include/shadow.h
273         * include/stdio_ext.h, include/sys/epoll.h
274         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
275         * include/sys/prctl.h, include/sys/profil.h
276         * include/sys/statfs.h, include/sys/sysctl.h
277         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
278         * sysdeps/arm/nacl/include/bits/setjmp.h
279         * sysdeps/mips/include/sys/asm.h
280         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
281         * sysdeps/unix/sysv/linux/include/sys/timex.h
282         * sysdeps/x86/fpu/include/bits/fenv.h:
283         Add #ifndef _ISOMAC guard around internal declarations.
284         Add multiple-inclusion guard if not already present.
286 2016-09-23  Zack Weinberg  <zackw@panix.com>
288         * sysdeps/generic/sys/ucontext.h
289         * sysdeps/arm/sys/ucontext.h
290         * sysdeps/i386/sys/ucontext.h
291         * sysdeps/m68k/sys/ucontext.h
292         * sysdeps/mips/sys/ucontext.h
293         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
294         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
295         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
296         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
297         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
298         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
299         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
300         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
301         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
302         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
303         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
304         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
305         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
306         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
307         Include both bits/sigcontext.h and bits/sigstack.h.
308         Fix grammar error in comment, if present.
310         * bits/sigstack.h
311         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
312         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
313         * sysdeps/unix/sysv/linux/bits/sigstack.h
314         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
315         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
316         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
317         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
318         * bits/sigcontext.h
319         * sysdeps/mach/hurd/i386/bits/sigcontext.h
320         * sysdeps/unix/sysv/linux/bits/sigcontext.h
321         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
322         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
323         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
324         as well as signal.h, if this was not already allowed.  Request
325         definition of size_t if necessary.  Minimize semantically-null
326         differences across files.
328 2016-09-23  Zack Weinberg  <zackw@panix.com>
330         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
331         Remove all logic conditional on __need macros.  Move all the
332         conditionally defined types to their own headers...
333         * time/bits/types/clock_t.h: Define clock_t here.
334         * time/bits/types/clockid_t.h: Define clockid_t here.
335         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
336         * time/bits/types/struct_timespec.h: Define struct timespec here.
337         * time/bits/types/struct_timeval.h: Define struct timeval here.
338         * time/bits/types/struct_tm.h: Define struct tm here.
339         * time/bits/types/time_t.h: Define time_t here.
340         * time/bits/types/timer_t.h: Define timer_t here.
341         * time/Makefile: Install the new headers.
343         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
344         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
345         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
346         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
347         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
348         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
349         * sysdeps/unix/sysv/linux/bits/resource.h
350         * sysdeps/unix/sysv/linux/bits/timex.h
351         * sysdeps/unix/sysv/linux/mips/bits/resource.h
352         * sysdeps/unix/sysv/linux/net/ppp_defs.h
353         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
354         * sysdeps/unix/sysv/linux/sys/acct.h
355         * sysdeps/unix/sysv/linux/sys/timerfd.h
356         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
357         * time/sys/time.h, time/sys/timeb.h
358         Use the new bits/types headers.
360         * include/time.h: Remove __need logic.
361         * include/bits/time.h
362         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
363         * include/bits/types/time_t.h, include/bits/types/timer_t.h
364         * include/bits/types/struct_itimerspec.h
365         * include/bits/types/struct_timespec.h
366         * include/bits/types/struct_timeval.h
367         * include/bits/types/struct_tm.h:
368         New wrapper headers.
370 2016-09-23  Zack Weinberg  <zackw@panix.com>
372         * sysdeps/mach/hurd/net/if_ppp.h
373         * sysdeps/unix/sysv/linux/net/if_ppp.h:
374         Only define struct ifpppstatsreq and struct ifpppcstatsreq
375         if __USE_MISC is defined, to ensure struct ifreq is declared.
377         * inet/netinet/ether.h: Condition all function prototypes
378         on __USE_MISC, to ensure struct ether_addr is declared.
380         * socket/bits/types/struct_osockaddr.h: New header.
381         * include/bits/types/struct_osockaddr.h: New wrapper.
382         * socket/Makefile: Install the new header.
383         * socket/sys/socket.h, inet/protocols/talkd.h:
384         Refer to bits/types/struct_osockaddr.h for the definition of
385         struct osockaddr.
387 2016-09-23  Zack Weinberg  <zackw@panix.com>
389         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
390         * inet/protocols/routed.h, inet/protocols/talkd.h
391         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
392         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
393         * sysdeps/generic/netinet/if_ether.h
394         * sysdeps/generic/netinet/in_systm.h
395         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
396         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
397         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
398         * sysdeps/mach/hurd/net/if_arp.h
399         * sysdeps/mach/hurd/net/if_ppp.h
400         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
401         * sysdeps/unix/sysv/linux/bits/in.h
402         * sysdeps/unix/sysv/linux/net/ethernet.h
403         * sysdeps/unix/sysv/linux/net/if_arp.h
404         * sysdeps/unix/sysv/linux/net/if_ppp.h
405         * sysdeps/unix/sysv/linux/net/if_shaper.h
406         * sysdeps/unix/sysv/linux/net/route.h
407         * sysdeps/unix/sysv/linux/netinet/if_ether.h
408         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
409         * sysdeps/unix/sysv/linux/netinet/if_tr.h
410         * sysdeps/unix/sysv/linux/netipx/ipx.h
411         * sysdeps/unix/sysv/linux/sys/acct.h
412         * include/arpa/nameser.h, include/resolv.h:
413         Change all uses of u_char to unsigned char,
414         u_short and ushort to unsigned short, u_int and uint to unsigned int,
415         u_long and ulong to unsigned long, u_int8_t to uint8_t,
416         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
417         and u_int64_t and u_quad_t to uint64_t.
419         * mach/sys/reboot.h: Remove two casts of integer literals
420         to the types they already have.
422         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
423         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
424         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
425         from referring to 'unsigned char' to 'uint8_t' for consistency with
426         the macro definition below.
428         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
429         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
430         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
431         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
432         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
433         * sysdeps/unix/sysv/linux/sys/acct.h
434         * include/arpa/nameser.h, include/resolv.h:
435         Fix indentation disrupted by mechanical edits.
437         * inet/protocols/talkd.h, resolv/arpa/nameser.h
438         * sysdeps/generic/netinet/in_systm.h
439         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
440         * sysdeps/gnu/netinet/udp.h
441         * sysdeps/unix/sysv/linux/net/ethernet.h
442         * sysdeps/unix/sysv/linux/net/if_arp.h
443         * sysdeps/unix/sysv/linux/net/if_ppp.h
444         * sysdeps/unix/sysv/linux/net/if_shaper.h
445         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
446         * sysdeps/unix/sysv/linux/netinet/if_tr.h
447         * sysdeps/unix/sysv/linux/netipx/ipx.h
448         * sysdeps/unix/sysv/linux/sys/acct.h
449         Include stdint.h for uintNN_t definitions.
450         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
452 2016-09-23  Zack Weinberg  <zackw@panix.com>
454         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
455         * sysdeps/unix/sysv/linux/netrose/rose.h:
456         Include sys/socket.h and netax25/ax25.h.
458         * inet/netinet/icmp6.h, inet/netinet/ip6.h
459         * resolv/arpa/nameser_compat.h:
460         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
462         * sysdeps/unix/sysv/linux/sys/quota.h:
463         Use __caddr_t instead of caddr_t.
464         * sysdeps/unix/sysv/linux/sys/timerfd.h:
465         Use __clockid_t instead of clockid_t.
467         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
469         * argp/argp.h: Check whether _LIBC is defined before expanding it.
470         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
471         expanding it.
473         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
474         Define __glibc_c99_flexarr_available to 1 when the compiler
475         supports C99-compatible flexible array members, 0 otherwise.
476         * sysdeps/unix/sysv/linux/bits/socket.h
477         * sysdeps/mach/hurd/bits/socket.h
478         * bits/socket.h: Use __glibc_c99_flexarr_available in
479         definitions of struct cmsghdr and CMSG_DATA.
481 2016-09-23  Florian Weimer  <fweimer@redhat.com>
483         * manual/nss.texi (NSS Modules Interface): Adjust function return
484         type to enum nss_status.  Document errnop argument.  Clarify
485         h_errnop semantics.  Fix cross-reference formatting.
486         (NSS Module Function Internals): Mention that *errnop needs to be
487         set on failure, but not to zero.
489 2016-09-23  Florian Weimer  <fweimer@redhat.com>
491         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
492         (get_random_name): New functions.
493         (check_wrapper_flags_mode): Use linkat to give the new file a name
494         determined by get_random_name.
495         (do_test): Add calls to test open64 and openat64.
497 2016-09-23  Florian Weimer  <fweimer@redhat.com>
499         * test-skeleton.c: Remove #include <stdarg.h>.
501 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
503         [BZ #19826]
504         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
505         initialization of static TLS entries.
506         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
507         * nptl/allocatestack.c (init_one_static_tls): Likewise.
509 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
511         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
512         _hurd_malloc_fork_prepare.
513         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
514         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
515         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
516         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
517         (_hurd_fork_child_hook): Drop malloc_fork_child.
518         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
519         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
520         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
521         after locking locks (notably hurd_dtable_lock). Call
522         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
523         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
524         __malloc_fork_unlock_child.
525         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
527 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
529         * soft-fp/extendhftf2.c: New.
530         * soft-fp/fixhfti.c: Likewise.
531         * soft-fp/fixunshfti.c: Likewise.
532         * soft-fp/floattihf.c: Likewise.
533         * soft-fp/floatuntihf.c: Likewise.
534         * soft-fp/half.h: Likewise.
535         * soft-fp/trunctfhf2.c: Likewise.
537 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
539         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
540         macro.
541         * math/libm-test.inc (issubnormal_test_data): New array.
542         (issubnormal_test): New function.
543         * manual/arith.texi (Floating Point Classes): Document
544         issubnormal.
545         * manual/libm-err-tab.pl: Update comment on interfaces without
546         ulps tabulated.
548         * sysdeps/generic/stdint.h: Define
549         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
550         <bits/libc-header-start.h> instead of including <features.h>.
551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
574         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
576         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
577         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
584         * manual/arith.texi (Integers): Document these macros for types
585         specified by width properties.
586         * manual/lang.texi (Width of Type): Document these macros for
587         other standard typedefs.
588         * stdlib/tst-width-stdint.c: New file.
589         * stdlib/Makefile (tests): Add tst-width-stdint.
591 2016-09-21  Florian Weimer  <fweimer@redhat.com>
593         [BZ #20016]
594         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
595         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
596         Move ...
597         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
598         ... here, as compatibility symbols in a new file.
599         * resolv/Makefile (libresolv-routines): Add compat-hooks.
600         * resolv/res_init.c (__res_vinit): Adjust member names.
601         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
602         * resolv/resolv.h (res_sendhookact, res_send_qhook)
603         (res_send_rhook): Remove.
604         (struct __res_state): Rename qhook, rhook members.
606 2016-09-21  Florian Weimer  <fweimer@redhat.com>
608         malloc: Use __libc_lock wrappers.
609         * malloc/arena.c (list_lock, free_list_lock): Define using
610         __libc_lock_define_initialized.
611         (arena_lock): Adjust formatting.
612         * malloc/malloc.c (struct malloc_state): Define mutex using
613         __libc_lock_define.
614         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
615         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
616         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
617         (mutex_unlock, mutex_trylock): Remove.
618         (__pthread_initialize): Remove unused macro.
619         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
620         (mutex_unlock, mutex_trylock): Remove.
622 2016-09-21  Florian Weimer  <fweimer@redhat.com>
624         [BZ #20592]
625         Remove RR type classification macros.
626         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
627         (ns_t_udp_p, ns_t_xfr_p): Remove.
629 2016-09-21  Florian Weimer  <fweimer@redhat.com>
631         Remove misleading version information.
632         * resolv/arpa/nameser.h (__NAMESER): Remove.
633         * resolv/arpa/nameser_compat.h (__BIND): Remove.
635 2016-09-21  Florian Weimer  <fweimer@redhat.com>
637         Remove the always-defined BIND_4_COMPAT macro.
638         * resolv/arpa/nameser.h: Unconditionally include
639         <arpa/nameser_compat.h>.
640         (BIND_4_COMPAT): Remove.
641         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
643 2016-09-21  Florian Weimer  <fweimer@redhat.com>
645         [BZ #20591]
646         Remove obsolete DNSSEC support.
647         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
648         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
649         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
650         (ns_verify_tcp, ns_verify_tcp_init): Remove.
651         (ns_cert_types): Add comment.
652         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
653         separately.
654         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
655         (dst_s_dns_key_id): Remove.
656         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
657         variables.
659 2016-09-21  Florian Weimer  <fweimer@redhat.com>
661         [BZ #20524]
662         * manual/string.texi (String/Array Comparison): Clarify the
663         strverscmp behavior.
665 2016-09-21  Florian Weimer  <fweimer@redhat.com>
667         * test-skeleton.c (xasprintf): Add function.
668         * io/tst-open-tmpfile.c: New test.
669         * io/Makefile (tests): Add it.
671 2016-09-21  Florian Weimer  <fweimer@redhat.com>
673         Avoid running $(CXX) during build to obtain header file paths.
674         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
675         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
676         * Makerules (cstdlib, cmath): Remove variables.  Use
677         $(c++-cstdlib-header), $(c++-cmath-header) instead.
678         * configure: Regenerate.
680 2016-09-21  Florian Weimer  <fweimer@redhat.com>
682         * Makeconfig (all-object-suffixes): Include .op only if
683         $(build-profile).
685 2016-09-21  Florian Weimer  <fweimer@redhat.com>
687         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
688         conditionals.  Do not define PATH_MAX.
690 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
692         * posix/Makefile (tests): Add tst-spawn3.
693         * posix/tst-spawn3.c: New file.
694         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
695         if it is already opened for open action.
697         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
698         all signals when executing the clone vfork child.
699         (SIGALL_SET): Remove macro.
701         * nptl/Makefile (tests): Add tst-exec5.
702         * nptl/tst-exec5.c: New file.
703         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
704         asynchronous cancellation.
706 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
708         * hurd/exc2signal.c: #include <hurd/signal.h>
709         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
710         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
711         accordingly.
712         * mach/mach_error.c (mach_error): Fix old-style function definition.
713         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
715 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
717         * math/Makefile (libm-calls): Remove s_nanF.
718         (gen-libm-calls): Add s_nanF.
720         * math/s_nan.c: Refactor into ...
721         * math/s_nan_template.c: New file.
723         * math/s_nanf.c: Removed.
724         * math/s_nanl.c: Removed.
725         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
726         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
728         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
729         (LDOUBLE_nanl_libm_version): New macro.
731         * sysdeps/generic/math-type-macros-double.h:
732         (M_STRTO_NAN): New macro.
733         * sysdeps/generic/math-type-macros-float.h: Likewise.
734         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
736         * sysdeps/generic/math-type-macros.h: Document
737         M_STRTO_NAN.
739 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
741         * math/s_nanf.c: Remove __nanf undef.
742         * math/s_nan.c: Remove __nan undef.
743         * math/s_nanl.c: Remove __nanl undef.
745         * sysdeps/generic/math_private.h (__nan): Remove macro
746         override.
747         (__nanf): Likewise.
748         (__nanl): Likewise.
750 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
752         * math/Makefile (gen-all-calls): New variable.
753         (generated): Replace gen-libm-calls with gen-all-calls.
754         (gen-libm-templates.stmp): Likewise.  Also, ensure
755         the output directory exists or is created and add
756         dependency on the Makefile.
757         (calls): Move s_ldexpF into gen-calls.
758         (gen-calls): New variable.
760         * math/s_ldexpf.c: Removed.
761         * math/s_ldexpl.c: Removed.
762         * math/s_ldexp.c: Refactored into ...
763         * math/s_ldexp_template.c: New file.
765         * sysdeps/generic/math-type-macros-double.h: Remove
766         redundant fall-through definition of declare_mgen_alias.
767         (declare_mgen_alias_2): New macro.
769         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
770         New macro for function aliased to two exported symbols.
772         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
773         new template file.
774         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
776 2016-09-20  Florian Weimer  <fweimer@redhat.com>
778         * Makeconfig (all-object-suffixes): Remove .og.
779         * Makerules (elide-routines.og): Remove.
780         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
781         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
782         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
784 2016-09-20  Florian Weimer  <fweimer@redhat.com>
786         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
787         .os objects.
789 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
791         [BZ #20615]
792         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
793         fpu directory by non-fpu.
794         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
795         on non-fpu directory from a fpu directory.
797 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
799         * include/limits.h: Define
800         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
801         <bits/libc-header-start.h> instead of including <features.h>.
802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
813         * manual/lang.texi (Width of Type): Document these macros.
814         * stdlib/tst-width.c: New file.
815         * stdlib/Makefile (tests): Add tst-width.
817 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
819         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
820         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
822 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
824         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
825         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
826         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
828 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
830         [BZ #18243]
831         * rt/Makefile (test): Add tst-shm-cancel.
832         * rt/tst-shm-cancel.c: New file.
833         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
835         [BZ #18243]
836         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
837         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
838         definition.
839         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
840         uncontended case.
841         * nptl/sem_wait.c (__new_sem_wait): Likewise.
842         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
843         (tf): Fix check for uncontended case.
844         (do_test): Likewise.
845         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
846         (tf): Fix check for uncontended case.
847         (do_test): Likewise.
848         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
849         (tf): Fix check for uncontended case.
850         (do_test): Likewise.
851         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
852         (tf): Fix check for uncontended case.
853         (do_test): Likewise.
855         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
856         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
858         [BZ #15765]
859         * nptl/Makefile (tests): Add tst-sem16.
860         * nptl/tst-sem16.c: New file.
861         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
863         * nptl/sem_open.c (sem_open): Init pad value to 0.
864         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
865         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
867 2016-09-15  Florian Weimer  <fweimer@redhat.com>
869         [BZ #20611]
870         * inet/Makefile (routines): Add inet6_scopeid_pton.
871         (tests): Add tst-inet6_scopeid_pton.
872         * inet/inet6_scopeid_pton.c: New file.
873         * inet/net-internal.h: Likewise.
874         * inet/tst-inet6_scopeid_pton.c: New test.
875         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
876         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
879 2016-09-14  Florian Weimer  <fweimer@redhat.com>
881         Remove support for compiling wrappers with PTW.
882         * sysdeps/nptl/Makeconfig: Drop ptw- support.
883         * nptl/Makefile (pthread-compat-wrappers): Define.
884         (libpthread-routines): Use pthread-compat-wrappers.
885         * sysdeps/unix/sysv/linux/alpha/Makefile
886         (libpthread-routines, libpthread-shared-only-routines): Remove
887         ptw- prefix.
888         * sysdeps/s390/nptl/Makefile
889         (libpthread-routines, libpthread-shared-only-routines): Likewise.
890         * sysdeps/ia64/nptl/Makefile
891         (libpthread-routines, libpthread-shared-only-routines): Likewise.
892         * sysdeps/nacl/Makefile (libpthread-routines): Use
893         pthread-compat-wrappers to filter the routines list instead of the
894         ptw- prefix.
896 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
898         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
899         with L() and remove explicit suffix, convert real literals
900         which can be equivalentally substituted with integers, and
901         transform -L(x) to L(-x).
903         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
904         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
905         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
906         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
907         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
908         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
909         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
910         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
911         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
912         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
913         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
914         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
915         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
916         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
917         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
918         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
919         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
920         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
921         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
922         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
923         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
924         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
925         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
926         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
927         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
928         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
929         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
930         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
931         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
932         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
933         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
934         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
936         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
938         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
939         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
940         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
941         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
942         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
943         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
944         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
945         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
946         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
947         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
948         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
949         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
950         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
951         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
952         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
954 2016-09-13  Florian Weimer  <fweimer@redhat.com>
956         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
958 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
960         * malloc/Makefile (tests): Remove individual static test names
961         and just add all of tests-static.
963         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
965 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
967         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
968         file.
970         * sysdeps/sparc/fpu/fegetmode.c: New file.
971         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
973         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
974         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
976         * sysdeps/s390/fpu/fegetmode.c: New file.
977         * sysdeps/s390/fpu/fesetmode.c: Likewise.
979         * sysdeps/powerpc/fpu/fegetmode.c: New file.
980         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
981         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
982         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
983         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
984         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
986         * sysdeps/mips/fpu/fegetmode.c: New file.
987         * sysdeps/mips/fpu/fesetmode.c: Likewise.
989         * sysdeps/m68k/fpu/fegetmode.c: New file.
990         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
992         * sysdeps/ia64/fpu/fegetmode.c: New file.
993         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
995         * sysdeps/hppa/fpu/fegetmode.c: New file.
996         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
998         * sysdeps/arm/fegetmode.c: New file.
999         * sysdeps/arm/fesetmode.c: Likewise.
1001         * sysdeps/alpha/fpu/fegetmode.c: New file.
1002         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1004         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1005         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1007         * math/fegetmode.c: New file.
1008         * math/fesetmode.c: Likewise.
1009         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1010         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1011         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1012         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1013         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1015         declaration.
1016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1017         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1018         typedef.
1019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1020         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1021         (femode_t): New typedef.
1022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1023         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1024         (femode_t): New typedef.
1025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1026         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1027         (femode_t): New typedef.
1028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1029         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1030         (femode_t): New typedef.
1031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1032         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1033         (femode_t): New typedef.
1034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1035         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1036         (femode_t): New typedef.
1037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1038         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1039         (femode_t): New typedef.
1040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1041         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1042         (femode_t): New typedef.
1043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1044         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1045         (femode_t): New typedef.
1046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1047         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1048         (femode_t): New typedef.
1049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1050         declaration.
1051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1052         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1053         (femode_t): New typedef.
1054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1055         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1056         (femode_t): New typedef.
1057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1058         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1059         (femode_t): New typedef.
1060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1061         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1062         (femode_t): New typedef.
1063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1064         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1065         (femode_t): New typedef.
1066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1067         * manual/arith.texi (FE_DFL_MODE): Document macro.
1068         (fegetmode): Document function.
1069         (fesetmode): Likewise.
1070         * math/Versions (fegetmode): New libm symbol at version
1071         GLIBC_2.25.
1072         (fesetmode): Likewise.
1073         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1074         (tests): Add test-femode and test-femode-traps.
1075         * math/test-femode-traps.c: New file.
1076         * math/test-femode.c: Likewise.
1077         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1078         alias for __fe_dfl_env.
1079         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1081         (__fe_dfl_mode): Likewise.
1082         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1083         version GLIBC_2.25.
1084         * sysdeps/nacl/libm.abilist: Update.
1085         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1088         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1089         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1090         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1092         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1093         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1094         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1095         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1096         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1098         Likewise.
1099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1102         Likewise.
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1104         Likewise.
1105         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1106         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1107         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1108         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1111         Likewise.
1112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1116         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1118 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1120         [BZ #20495]
1121         [BZ #20508]
1122         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1123         processors, set Use_dl_runtime_resolve_slow and set
1124         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1125         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1126         New.
1127         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1128         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1129         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1130         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1131         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1132         if Use_dl_runtime_resolve_opt is set.  Use
1133         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1134         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1135         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1136         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1137         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1138         New.
1139         (_dl_runtime_resolve_opt): Likewise.
1140         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1141         defined.
1143 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1145         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1146         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1148 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1150         Convert malloc to __libc_lock.  Automated part, using this Perl
1151         s/// command:
1152           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1153             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1154         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1155         conversion.
1157 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1159         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1160         (linknamespace-symlists-tests): Likewise.
1161         (linknamespace-header-tests): Likewise.
1163 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1165         [BZ #19810]
1166         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1167         * elf/tst-noload.c: New test case.
1168         * elf/Makefile (tests): Add tst-noload.
1170 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1172         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1174         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1175         not any more.
1177         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1179 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1181         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1182         (do_cos_slow): Likewise.
1183         (do_sin): Likewise.
1184         (do_sin_slow): Likewise.
1185         (slow): Likewise.
1186         (slow1): Likewise.
1187         (slow2): Likewise.
1188         (sloww): Likewise.
1189         (sloww1): Likewise.
1190         (sloww2): Likewise.
1191         (bsloww): Likewise.
1192         (bsloww1): Likewise.
1193         (bsloww2): Likewise.
1194         (cslow2): Likewise.
1196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1198         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1199         arguments.  Consolidate input partitioning from callers here.
1200         (do_cos_slow): Likewise.
1201         (do_sin): Likewise.
1202         (do_sin_slow): Likewise.
1203         (do_sincos_1): Remove the no longer necessary input partitioning.
1204         (do_sincos_2): Likewise.
1205         (__sin): Likewise.
1206         (__cos): Likewise.
1207         (slow1): Likewise.
1208         (slow2): Likewise.
1209         (sloww1): Likewise.
1210         (sloww2): Likewise.
1211         (bsloww1): Likewise.
1212         (bsloww2): Likewise.
1213         (cslow2): Likewise.
1215 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1217         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1218         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1219         outside of allocated array.
1221 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1223         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1224         instead of MB_CUR_MAX to avoid variable-length array.
1226 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1228         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1229         (type-double-routines): Add k_rem_pio2.
1230         (type-float-routines): Add k_rem_pio2f.
1232         * sysdeps/generic/math_private.h:
1233         (__kernel_rem_pio2l): Removed.
1235         * math/k_rem_pio2l.c: Removed.
1236         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1237         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1238         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1239         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1241 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1243         * math/Makefile (gen-libm-calls): Add s_fmin
1244         (libm-calls): Remove above.
1246         * math/s_fmin.c: Refactor into ...
1247         * math/s_fmin_template.c: New file.
1249         * math/s_fminf.c: Removed.
1250         * math/s_fminl.c: Removed.
1251         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1252         (LDOUBLE_fmin_libm_version): New macro.
1254         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1255         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1257 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1259         * math/Makefile: (gen-libm-calls): Add s_fmax.
1260         (libm-calls): Remove above.
1262         * math/s_fmax.c: Refactor into ...
1263         * math/s_fmax_template.c: New file.
1264         * math/s_fmaxf.c: Removed.
1265         * math/s_fmaxl.c: Removed.
1267         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1268         (LDOUBLE_fmaxl_libm_version): New macro.
1270         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1271         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1273         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1274         s_fmin.c to pick the aarch64 version of the file.
1275         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1276         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1278 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1280         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1281         (libm-calls): Remove above.
1283         * math/s_nextdown.c: Refactor into ...
1284         * math/s_nextdown_template.c: New file.
1285         * math/s_nextdownf.c: Removed.
1286         * math/s_nextdownl.c: Removed.
1288         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1290 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1292         * math/Makefile (gen-libm-calls): Add s_fdim.
1293         (libm-calls): Move to above.
1295         * math/s_fdim.c: Renamed and refactored into to ...
1296         * math/s_fdim_template.c: New file.
1297         * math/s_fdiml.c: Removed.
1298         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1299         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1301         * sysdeps/generic/math-type-macros-double.h:
1302         (declare_mgen_alias): Don't declare if already declared.
1303         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1304         Likewise.
1306         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1307         (declare_mgen_alias): Don't declare if already declared.
1308         (M_LIBM_NEED_COMPAT): Likewise.
1309         (declare_mgen_libm_compat): Likewise.
1310         (LDOUBLE_fdiml_libm_version): New macro.
1312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1313         Include math/s_fdim.c now that ldbl-opt version is not needed.
1314         (declare_mgen_alias): New macro to disable aliasing.
1316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1317         (declare_mgen_alias): Likewise.
1318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1319         (declare_mgen_alias): Likewise.
1320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1321         (declare_mgen_alias): Likewise.
1322         (M_LIBM_NEED_COMPAT): Likewise.
1324 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1326         [BZ #20525]
1327         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1328         Include <linux/quota.h>.
1329         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1330         and btodb.
1331         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1332         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1333         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1334         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1335         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1336         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1337         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1338         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1339         types.
1340         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1341         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1343 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1345         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1346         (gammal_positive): Fix spacing.
1347         (__ieee754_gammal_r): Likewise.
1349 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1351         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1352         (_Float128): Define as long double, always.
1353         (L): Apply long double type suffix, always.
1355         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1356         _Float128, excepting comments.
1358         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1360         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1361         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1362         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1363         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1366         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1367         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1368         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1369         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1370         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1371         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1372         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1373         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1374         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1375         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1377         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1378         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1379         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1380         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1390         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1391         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1392         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1393         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1394         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1395         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1396         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1397         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1398         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1399         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1400         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1401         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1402         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1403         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1404         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1405         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1406         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1407         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1408         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1409         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1410         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1411         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1412         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1413         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1414         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1415         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1416         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1417         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1418         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1419         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1420         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1421         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1422         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1423         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1424         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1425         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1427         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1428         _Float128, and include math_private.h.
1429         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1432         long double semantics.
1433         (_Float128): Likewise.
1434         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1435         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1436         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1437         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1439 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1441         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1442         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1443         * sysdeps/s390/configure: Regenerated.
1444         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1445         instruction for raising over-/underflow if z196 zarch is supported
1446         by default.
1447         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1449 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1451         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1452         it point to a dumb buffer for RPC to fill it.
1454 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1456         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1457         instead of if/else.
1458         (do_sin_slow): Likewise.
1459         (do_sincos_1): Use fabs instead of if/else.
1460         (do_sincos_2): Likewise.
1461         (__sin): Likewise.
1462         (__cos): Likewise.
1463         (slow2): Likewise.
1464         (sloww): Likewise.
1465         (sloww1): Likewise.  Drop argument M.
1466         (sloww2): Use fabs instead of if/else.
1467         (bsloww): Likewise.
1468         (bsloww1): Likewise.
1469         (bsloww2): Likewise.
1471         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1472         fall through comment.
1473         (do_sincos_1): Likewise.
1475         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1476         Consolidate switch cases 0 and 2.
1478 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1480         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1481         (libm-calls): Remove the above.
1483         * math/s_cexp_template.c: Update using type-generic macros.
1484         * math/s_clog10_template.c: Likewise.
1485         * math/s_cpow_template.c: Likewise.
1486         * math/s_clog_template.c: Likewise.
1487         * math/s_cproj_template.c: Likewise.
1488         * math/s_csqrt_template.c: Likewise.
1490         * math/s_cexp.c: Removed.
1491         * math/s_cexpf.c: Removed.
1492         * math/s_cexpl.c: Removed.
1493         * math/s_clog10.c: Removed.
1494         * math/s_clog10f.c: Removed.
1495         * math/s_clog10l.c: Removed.
1496         * math/s_cpow.c: Removed.
1497         * math/s_cpowf.c: Removed.
1498         * math/s_cpowl.c: Removed.
1499         * math/s_clog.c: Removed.
1500         * math/s_clogf.c: Removed.
1501         * math/s_clogl.c: Removed.
1502         * math/s_cproj.c: Removed.
1503         * math/s_cprojf.c: Removed.
1504         * math/s_cprojl.c: Removed.
1505         * math/s_csqrt.c: Removed.
1506         * math/s_csqrtf.c: Removed.
1507         * math/s_csqrtl.c: Removed.
1509         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1510         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1511         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1512         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1513         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1514         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1516         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1517         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1518         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1519         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1520         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1521         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1522         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1523         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1524         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1525         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1526         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1528         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1529         version.
1531         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1532         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1533         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1534         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1536 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1538         * s_cexp_template.c: Copy of s_cexp.c.
1539         * s_clog_template.c: Copy of s_clog.c.
1540         * s_clog10_template.c: Copy of s_clog10.c.
1541         * s_cpow_template.c: Copy of s_cpow.c.
1542         * s_cproj_template.c: Copy of s_cproj.c.
1543         * s_csqrt_template.c: Copy of s_csqrt.c.
1545 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1547         [BZ #20517]
1548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1549         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1550         exported.
1552 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1554         * math/fetestexceptflag.c: New file.
1555         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1556         Stefan Liebler.
1557         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1558         (fetestexceptflag): New function declaration.
1559         * manual/arith.texi (fetestexceptflag): Document function.
1560         * math/Versions (fetestexceptflag): New libm symbol at version
1561         GLIBC_2.25.
1562         * math/Makefile (libm-support): Add fetestexceptflag.
1563         (tests): Add test-fetestexceptflag.
1564         * math/test-fetestexceptflag.c: New file.
1565         * sysdeps/nacl/libm.abilist: Update.
1566         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1567         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1568         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1569         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1570         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1571         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1572         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1573         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1574         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1575         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1576         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1577         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1579         Likewise.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1581         Likewise.
1582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1583         Likewise.
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1585         Likewise.
1586         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1587         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1588         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1589         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1590         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1592         Likewise.
1593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1594         Likewise.
1595         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1596         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1597         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1599 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1601         [BZ #20432]
1602         Avoid strong references to malloc-internal symbols when linking
1603         statically, to support statically interposed mallocs.
1604         * include/libc-symbols.h (call_function_static_weak): New macro.
1605         * malloc/Makefile (tests): Add tst-interpose-nothread,
1606         tst-interpose-thread, tst-interpose-static-nothread,
1607         tst-interpose-static-thread.
1608         (tests-static): Add tst-interpose-static-nothread,
1609         tst-interpose-static-thread.
1610         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1611         tst-interpose-aux-thread.o.
1612         (test-extras): Add tst-interpose-aux-nothread,
1613         tst-interpose-aux-thread.
1614         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1615         tst-interpose-aux-nothread.o.
1616         (tst-interpose-thread, tst-interpose-static-thread): Link with
1617         tst-interpose-aux-thread.o and libthread.
1618         * malloc/tst-interpose-aux-nothread.c: New file.
1619         * malloc/tst-interpose-aux-thread.c: Likewise.
1620         * malloc/tst-interpose-aux.c: Likewise.
1621         * malloc/tst-interpose-aux.h: Likewise.
1622         * malloc/tst-interpose-nothread.c: Likewise.
1623         * malloc/tst-interpose-skeleton.c: Likewise.
1624         * malloc/tst-interpose-static-nothread.c: Likewise.
1625         * malloc/tst-interpose-static-thread.c: Likewise.
1626         * malloc/tst-interpose-thread.c: Likewise.
1627         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1628         * sysdeps/mach/hurd/fork.c (__fork): Only call
1629         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1630         __malloc_fork_unlock_child if defined.
1631         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1633 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1635         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1636         timespec C99 designated initialization.
1638 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1640         [BZ #19946]
1641         Avoid expected SIGALRM signals.
1642         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1643         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1644         (xpthread_create, xpthread_detach, xpthread_join)
1645         (delayed_exit_thread, delayed_exit): New functions.
1646         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1647         (tf): Use xpthread_cond_wait.
1648         (do_test): Likewise.  Replace alarm with delayed_exit.
1649         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1650         (do_test): Call delayed_exit.  Report failure.
1651         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1652         (do_test): Call delayed_exit.
1653         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1654         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1655         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1656         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1657         error.
1658         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1659         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1660         error.
1661         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1662         (do_test): Call delayed_exit.
1663         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1664         (do_test): Call delayed_exit.
1665         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1666         (do_test): Call delayed_exit instead of alarm.  Use
1667         xpthread_mutex_lock.
1668         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1669         (do_test): Call delayed_exit instead of alarm.  Use
1670         xpthread_mutex_lock.
1671         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1672         (do_test): Call delayed_exit instead of alarm.
1673         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1674         (do_test): Call delayed_exit instead of alarm.  Use
1675         xpthread_spin_lock.
1676         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1677         (do_test): Call delayed_exit instead of alarm.  Use
1678         xpthread_join.
1680 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1682         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1683         adjust CFA when allocating register save area on re-aligned
1684         stack.
1686 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1688         * string/tst-cmp.c: New test.
1689         * string/Makefile (tests): Add it.
1691 2016-08-25  Mark Wielaard  <mark@klomp.org>
1693         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1694         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1695         (check_tree_recurse): Use newly defined accessors.
1696         (check_tree): Likewise.
1697         (maybe_split_for_insert): Likewise.
1698         (__tfind): Likewise.
1699         (__tdelete): Likewise.
1700         (trecurse): Likewise.
1701         (tdestroy_recurse): Likewise.
1702         (__tsearch): Likewise. And add asserts for malloc alignment.
1703         (__twalk): Cast root to node in case CHECK_TREE is defined.
1705 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1707         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1709 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1711         * math/Makefile (libm-gen-calls): Add
1712         catan, catanh, ctan, ctanh.
1713         (libm-calls): Remove the above.
1715         * math/s_catan_template.c: Update using type-generic macros.
1716         * math/s_catanh_template.c: Likewise.
1717         * math/s_ctan_template.c: Likewise.
1718         * math/s_ctanh_template.c: Likewise.
1720         * math/s_catanf.c: Removed.
1721         * math/s_catan.c: Removed.
1722         * math/s_catanl.c: Removed.
1723         * math/s_catanhf.c: Removed.
1724         * math/s_catanh.c: Removed.
1725         * math/s_catanhl.c: Removed.
1726         * math/s_ctanf.c: Removed.
1727         * math/s_ctan.c: Removed.
1728         * math/s_ctanl.c: Removed.
1729         * math/s_ctanhf.c: Removed.
1730         * math/s_ctanh.c: Removed.
1731         * math/s_ctanhl.c: Removed.
1733         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1734         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1735         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1736         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1737         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1738         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1740         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1741         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1742         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1743         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1745 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1747         * s_catan_template.c: Copy of s_catan.c.
1748         * s_catanh_template.c: Copy of s_catanh.c.
1749         * s_ctan_template.c: Copy of s_ctan.c.
1750         * s_ctanh_template.c: Copy of s_ctanh.c.
1752 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1754         * math/Makefile (gen-libm-calls): Move
1755         casin, casinh, csin, csinh here.
1756         (libm-calls): Remove the above.
1758         * math/s_casin_template.c: Update using type-generic macros.
1759         * math/s_casinh_template.c: Likewise.
1760         * math/s_csin_template.c: Likewise.
1761         * math/s_csinh_template.c: Likewise.
1762         * math/k_casinh_template.c: Likewise.
1764         * math/s_casinf.c: Removed.
1765         * math/s_casin.c: Removed.
1766         * math/s_casinl.c: Removed.
1767         * math/s_casinh.c: Removed.
1768         * math/s_casinhf.c: Removed.
1769         * math/s_casinhl.c: Removed.
1770         * math/s_csin.c: Removed.
1771         * math/s_csinf.c: Removed.
1772         * math/s_csinl.c: Removed.
1773         * math/s_csinh.c: Removed.
1774         * math/s_csinhf.c: Removed.
1775         * math/s_csinhl.c: Removed.
1776         * math/k_casinh.c: Removed.
1777         * math/k_casinhf.c: Removed.
1778         * math/k_casinhl.c: Removed.
1780         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1781         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1782         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1783         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1785         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1786         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1787         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1788         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1789         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1790         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1791         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1792         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1794         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1795         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1796         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1797         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1799         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1800         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1801         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1802         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1804 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1806         * s_casin_template.c: Copy of s_casin.c.
1807         * s_casinh_template.c: Copy of s_casinh.c.
1808         * s_csin_template.c: Copy of s_csin.c.
1809         * s_csinh_template.c: Copy of s_csinh.c.
1810         * k_casinh_template.c: Copy of k_casinh.c.
1812 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1814         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1816 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1818         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1819         (mul_split) Remove, rename as mul_splitl, remove
1820         redundant float.h include, and include via mul_splitl.h
1822         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1823         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1824         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1825         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1826         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1828         * math/mul_splitl.h: New file.
1830         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1831         Move into mul_split.h, and remove redundant float.h include.
1833         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1834         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1835         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1836         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1838         * math/mul_split.h: New file.
1840 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1842         * math/Makefile (libm-gen-calls): Move
1843         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1844         (libm-calls): Remove above.
1846         * math/s_cacos_template.c: Update using type-generic macros.
1847         * math/s_cacosh_template.c: Likewise.
1848         * math/s_ccos_template.c: Likewise.
1849         * math/s_ccosh_template.c: Likwise.
1851         * math/s_cacosf.c: Removed.
1852         * math/s_cacos.c: Removed.
1853         * math/s_cacosl.c: Removed.
1854         * math/s_cacoshf.c: Removed.
1855         * math/s_cacosh.c: Removed.
1856         * math/s_cacoshl.c: Removed.
1857         * math/s_ccosf.c: Removed.
1858         * math/s_ccos.c: Removed.
1859         * math/s_ccosl.c: Removed.
1860         * math/s_ccoshf.c: Removed.
1861         * math/s_ccosh.c: Removed.
1862         * math/s_ccoshl.c: Removed.
1864         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1865         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1866         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1867         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1868         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1869         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1871         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1872         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1873         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1874         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1876         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1877         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1878         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1879         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1881 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1883         * s_cacos_template.c: Copy of s_cacos.c.
1884         * s_cacosh_template.c: Copy of s_cacosh.c.
1885         * s_ccos_template.c: Copy of s_ccos.c.
1886         * s_ccosh_template.c: Copy of s_ccosh.c.
1888 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1890         * stdlib/tst-strtod-round-skeleton.c:
1891         Refactored from tst-strtod-round.c.
1893         (L_): New macro to apply literal modifier.
1894         (FNPFX): New macro to select str or wcs prefix.
1895         (CHAR): New macro to choose wchar_t or char.
1896         (STRM): New macro to choose printf for tested character type.
1898         (STRTO): New macro to choose appropriate string -> real function.
1899         (FNPFXS): Stringitized version of FNPFX.
1900         (STR): Support for above macro.
1901         (STRX): Likewise.
1903         (TEST): Update with above macros.
1904         (test): Likewise.
1905         (GEN_ONE_TEST): Likewise.
1906         (test_in_one_mode): Likewise.
1908         * stdlib/tst-strtod-round.c: New file.
1909         * wcsmbs/tst-wcstod-round.c: New file.
1911         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1912         (tst-wcstod-round): Add libm depencency for fesetround.
1914 2016-08-19  Zack Weinberg  <zackw@panix.com>
1916         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1918 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1920         [BZ #20477]
1921         * resolv/res_hconf.c (do_init): Use atomic access.
1922         * resolv/res_hconf.h: Add comments.
1923         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1924         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1927 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1929         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1930         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1931         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1932         Likewise.
1934 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1936         [BZ #16907]
1937         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1938         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1939         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1940         (__attribute__): Remove definition.
1942 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1944         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1945         Remove unused sqrtl declaration.
1947 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1949         * math/Makefile: (gen-libm-templates.stmp): New rule.
1950         (libm-calls): Move carg conj cimag and cabs into ...
1951         (gen-libm-calls): New variable.
1952         (generated): Inform Make objects from gen-libm-calls
1953         may be generated.
1955         * sysdeps/generic/math-type-macros.h: New file.
1956         * sysdeps/generic/math-type-macros-float.h: Likewise.
1957         * sysdeps/generic/math-type-macros-double.h: Likewise.
1958         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1959         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1960         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1962         * math/cabs.c: Refactor into
1963         * math/cabs_template.c: new file.
1964         * math/cabsf.c: Removed.
1965         * math/cabsl.c: Removed.
1966         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1967         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1969         * math/carg.c: Refactor into
1970         * math/carg_template.c: new file.
1971         * math/cargf.c: Removed.
1972         * math/cargl.c: Removed.
1973         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1974         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1976         * math/conj.c: Refactor into
1977         * math/conj_template.c: new file.
1978         * math/conjf.c: Removed.
1979         * math/conjl.c: Removed.
1980         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1981         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1983         * math/cimag.c: Refactor into
1984         * math/cimag_template.c: new file.
1985         * math/cimagf.c: Removed.
1986         * math/cimagl.c: Removed.
1987         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1988         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1990         * math/cimag.c: Refactor into
1991         * math/cimag_template.c: new file.
1992         * math/cimagf.c: Removed.
1993         * math/cimagl.c: Removed.
1994         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1995         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1997 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1999         Reduce time to expected nptl/tst-once5 failure.
2000         * nptl/tst-once5.cc (TIMEOUT): Define.
2002 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2004         [BZ #20452]
2005         Avoid additional copies of objects in libc.a in static libraries.
2006         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2007         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2008         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2009         rt-sysdep.
2010         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2011         Add nptl-sysdep.
2012         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2013         Add ptw-sysdep.
2014         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2015         rt-sysdep.
2016         * sysdeps/unix/sysv/linux/alpha/Makefile
2017         (libpthread-shared-only-routines): Add ptw-sysdep,
2018         ptw-sigprocmask, ptw-rt_sigaction.
2019         * sysdeps/unix/sysv/linux/ia64/Makefile
2020         (librt-shared-only-routines): Add rt-sysdep.
2021         * sysdeps/unix/sysv/linux/i386/Makefile
2022         (libpthread-shared-only-routines): Add libc-do-syscall.
2023         * sysdeps/unix/sysv/linux/microblaze/Makefile
2024         (libpthread-shared-only-routines): Add sysdep.
2025         * sysdeps/unix/sysv/linux/powerpc/Makefile
2026         (librt-shared-only-routines): Add rt-sysdep.
2027         (libpthread-shared-only-routines): Add sysdep.
2028         * sysdeps/unix/sysv/linux/s390/Makefile
2029         (librt-shared-only-routines): Add rt-sysdep.
2030         * sysdeps/unix/sysv/linux/sparc/Makefile
2031         (librt-shared-only-routines): Add rt-sysdep.
2032         (libpthread-shared-only-routines): Add sysdep.
2033         * sysdeps/unix/sysv/linux/tile/Makefile
2034         (libpthread-shared-only-routines): Likewise.
2036 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2038         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2039         Mask implicit bit out of unpacked value.
2040         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2044         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2046         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2048         * sysdeps/s390/fpu/fesetexcept.c: New file.
2050         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2051         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2052         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2054         * sysdeps/mips/fpu/fesetexcept.c: New file.
2056         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2058         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2060         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2062         * sysdeps/arm/fesetexcept.c: New file.
2064         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2066         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2068         * math/fesetexcept.c: New file.
2069         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2070         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2071         * math/fenv.h: Define
2072         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2073         <bits/libc-header-start.h> instead of including <features.h>.
2074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2075         declaration.
2076         * manual/arith.texi (fesetexcept): Document function.
2077         * math/Versions (fesetexcept): New libm symbol at version
2078         GLIBC_2.25.
2079         * math/Makefile (libm-support): Add fesetexcept.
2080         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2081         * math/test-fesetexcept.c: New file.
2082         * math/test-fesetexcept-traps.c: Likewise.
2083         * sysdeps/nacl/libm.abilist: Update.
2084         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2086         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2091         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2092         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2110         Likewise.
2111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2112         Likewise.
2113         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2117 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2119         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2120         New.
2121         (do_test): Apply default_stack_size_in_mb if not set.
2122         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2124 2016-08-15  Andreas Schwab  <schwab@suse.de>
2126         [BZ #20435]
2127         CVE-2016-6323
2128         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2129         as .cantunwind.
2131 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2133         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2134         comment from fraiseexcpt.c.
2136         * math/test-fexcept.c (feraiseexcept_exact): New function.
2137         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2138         (test_except): Likewise.
2140 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2142         [BZ #20455]
2143         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2144         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2145         to be restored.
2147         * math/test-fexcept-traps.c: New file.
2148         * math/test-fexcept.c: Likewise.
2149         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2150         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2151         macro.
2152         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2153         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2155 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2157         * include/atomic.h (atomic_fetch_and_relaxed,
2158         atomic_fetch_and_release, atomic_fetch_or_release,
2159         atomic_fetch_xor_release): New.
2161 2016-08-06  Christian Seiler  <christian@iwakd.de>
2163         [BZ #20444]
2164         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2165         MACH_PORT_NULL.
2167 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2169         * math/s_fdim.c: Avoid alias renamed.
2170         * math/s_fdimf.c: Likewise.
2171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2172         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2173         Add s_fdimf-vis3, s_fdim-vis3.
2174         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2175         (CFLAGS-s_fdim-vis3.c): Likewise.
2176         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2177         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2179 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2182         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2183         Remove s_fdimf-vis3, s_fdim-vis3.
2184         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2185         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2192         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2193         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2195 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2197         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2198         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2199         -Wa,-Av9a -mvis.
2201 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2203         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2204         LIT() to individual constants in simple expressions
2205         after splitting on spaces.
2206         (_apply_lit): Rename replaced version, and use it to
2207         apply to what appears to be a token.
2209         * math/libm-test.inc: Fix many, many issues with
2210         spacing.
2212 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2214         * math/math.h: Move comment about <bits/mathdef.h> definitions
2215         above inclusion of <bits/mathdef.h>.  Do not mention
2216         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2218 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2220         * include/atomic.h (atomic_exchange_relaxed): New.
2222 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2224         * math/e_scalb.c: Do not include <fenv.h>.
2225         (invalid_fn): Do calculation resulting in NaN instead of raising
2226         FE_INVALID and returning a NaN explicitly.
2227         * math/e_scalbf.c: Do not include <fenv.h>.
2228         (invalid_fn): Do calculation resulting in NaN instead of raising
2229         FE_INVALID and returning a NaN explicitly.
2230         * math/e_scalbl.c: Do not include <fenv.h>.
2231         (invalid_fn): Do calculation resulting in NaN instead of raising
2232         FE_INVALID and returning a NaN explicitly.
2234 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2236         * po/de.po: Updated from Translation Project.
2237         * po/fi.po: Likewise.
2238         * po/sv.po: Likewise.
2240 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2242         [BZ #20452]
2243         Use sysdep.o from libc.a in static libraries.
2244         * sysdeps/unix/sysv/linux/i386/Makefile
2245         (libpthread-shared-only-routines): Add sysdep.
2246         (librt-shared-only-routines): Likewise.
2248 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2250         * math/tgmath.h (nextdown): Define if
2251         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2252         (nextup): Likewise.
2254         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2255         macro.
2256         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2257         Document.
2258         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2259         Document macro.
2260         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2261         (exp10f): Likewise.
2262         (exp10l): Likewise.
2263         * math/bits/mathcalls.h (exp10): Declare if
2264         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2266         * manual/arith.texi (nextup): Fix typo in last change.
2268 2016-08-03  Zack Weinberg  <zackw@panix.com>
2270         [BZ #19239]
2271         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2272         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2273         define major, minor, and makedev to issue deprecation warnings on use.
2274         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2275         previously-activated deprecation warnings for these macros and prevent
2276         subsequent inclusions of this header from having any effect.
2277         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2278         including <sys/sysmacros.h>, and undefine it again afterward.
2280 2016-08-03  Zack Weinberg  <zackw@panix.com>
2282         * sysdeps/generic/sys/sysmacros.h: Delete file.
2283         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2284         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2285         * bits/sysmacros.h: ... here; this encoding is now the generic
2286         encoding.  Now defines only the following macros:
2287         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2288         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2289         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2291         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2292         bits/sysmacros.h and the above new macros to generate the
2293         public implementations of major, minor, and makedev.
2294         * misc/tst-makedev.c: New test.
2295         * include/sys/sysmacros.h: New wrapper.
2297         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2298         (routines): Add makedev.
2299         (tests): Add tst-makedev.
2300         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2301         gnu_dev_makedev.
2302         * posix/Makefile (headers): Remove sys/sysmacros.h.
2303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2305         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2306         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2307         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2308         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2309         * sysdeps/unix/sysv/linux/arm/libc.abilist
2310         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2311         * sysdeps/unix/sysv/linux/i386/libc.abilist
2312         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2313         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2314         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2315         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2316         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2317         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2318         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2319         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2320         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2325         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2326         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2327         * sysdeps/unix/sysv/linux/sh/libc.abilist
2328         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2332         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2333         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2334         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2335         Add GLIBC_2.25.
2337         * include/features.h (__glibc_clang_prereq): New macro.
2338         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2339         (__attribute_deprecated_msg__): New macros.
2341 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2343         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2344         macro.
2345         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2346         * manual/arith.texi (issignaling): Document as ISO from TS
2347         18661-1:2014.
2348         (nextup): Likewise.
2349         (nextupf): Likewise.
2350         (nextupl): Likewise.
2351         (nextdown): Likewise.
2352         (nextdownf): Likewise.
2353         (nextdownl): Likewise.
2354         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2355         macro.
2356         * math/math.h: Define
2357         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2358         <bits/libc-header-start.h> instead of including <features.h>.
2359         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2360         [__USE_GNU].
2361         * math/bits/mathcalls.h (nextdown): Declare if
2362         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2363         (nextup): Likewise.
2364         (__issignaling): Likewise.
2366 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2368         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2369         check, and remove __glibc_likely hint
2370         from FP_INFINITE check.
2371         * s_csinhf.c (__csinhf): Likewise.
2373         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2374         hint from FP_INFINITE check.
2375         * s_csinhl.c (__csinhl): Likewise.
2377 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2379         * math/Makefile (libm-calls): Insert F placeholder into
2380         object names.  Move w_lgamma_compat* routines into
2381         (libm-compat-calls): New variable.
2382         (libm-compat-calls-ldouble-yes): New variable.
2383         (calls): Insert F placeholder.
2384         (generated): Redefine using new type-foreach macro call.
2385         (routines): Likewise.
2387         (types): New variable to hold a list of symbolic names
2388         for each type supported by the target machine.
2389         (libm-routines): Redefine using new types variable.
2390         (type-foreach): macro to replace fooF with the
2391         appropriately suffixed foo for each types.
2393         (type-ldouble-suffix): New variable.
2394         (type-ldouble-routines): Likewise.
2395         (type-ldouble-yes): Likewise.
2396         (type-double-suffix): Likewise.
2397         (type-double-routines): Likewise.
2398         (type-float-suffix): Likewise.
2399         (type-float-routines): Likewise.
2401         (dbl-only-routines): Remove.
2402         (long-c-yes): Likewise.
2403         (long-m-routines): Likewise.
2404         (long-m-support): Likewise.
2405         (long-m-yes): Likewise.
2406         (test-longdouble-yes): Likewise.
2408         (test-float.o): Simplify by increasing the scope of the
2409         recipe which adds libm-test.stmp to the vector types.
2410         (test-ifloat.o): Likewise.
2411         (test-float-finite.o): Likewise.
2412         (test-double.o): Likewise
2413         (test-idouble.o): Likewise.
2414         (test-double-finite.o): Likewise.
2415         (test-ldouble.o): Likewise
2416         (test-ildoubl.o): Likewise.
2417         (test-ldouble-finite.o): Likewise.
2419         (libm-tests): Redefine type tests using foreach and the
2420         list of types in types.
2422         (CPPFLAGS-test-ildoubl.c): Rename to
2423         (CPPFLAGS-test-ildouble.c): New variable
2425         * math/test-ildoubl.c: Rename to
2426         * math/test-ildouble.c: New file.
2428 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2430         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2431         Use fabsl instead of fabs.
2432         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2433         Likewise.
2434         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2435         Add long double suffix to constant to ensure proper
2436         promotion to long double.
2438 2016-08-03  Tom Tromey  <tom@tromey.com>
2440         [BZ #20311]
2441         * nptl_db/Makefile (headers): Add proc_service.h.
2442         * nptl_db/proc_service.h: Add include guard.  Use
2443         __BEGIN/__END_DECLS.
2444         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2445         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2446         arguments.
2449 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2451         [BZ #17730]
2452         Avoid using memalign for TCB allocations.
2453         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2454         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2455         Avoid alignment gap in the TLS_DTV_AT_TP case.
2456         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2457         determine the pointer to free.
2458         * nptl/tst-tls3-malloc.c: New test.
2459         * nptl/Makefile (tests): Add it.
2460         (tst-tls3-malloc): Link with libdl, libpthread.
2461         (LDFLAGS-tst-tls3-malloc): Set.
2462         (tst-tls3-malloc.out): Depend on DSO used in test.
2464 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2466         [BZ #17730]
2467         Avoid using memalign for TLS allocations.
2468         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2469         is_static member with to_free member.
2470         (union dtv): Use struct dtv_pointer.
2471         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2472         dtv_pointer instead of is_static.
2473         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2474         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2475         instead of val.
2476         (allocate_dtv_entry): New function.
2477         (allocate_and_init): Return struct dtv_pointer.  Call
2478         allocate_dtv_entry instead of __libc_memalign.
2479         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2480         instead of val.
2481         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2482         instead of is_static.  Adjust call to allocate_and_init.
2483         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2484         struct dtv_pointer instead of val.
2486 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2488         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2489         (MALLOC_ALIGN_MASK): Move ...
2490         * malloc/malloc-internal.h: ... to here.
2491         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2493 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2495         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2496         (UDP_ENCAP_GTP1U): Likewise.
2498         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2499         (PF_MAX): Update value.
2500         (AF_QIPCRTR): New macro.
2502 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2504         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2505         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2506         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2507         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2508         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2509         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2510         s_truncf-vis3, s_trunc-vis3.
2511         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2512         (CFLAGS-s_ceil-vis3.c): Likewise.
2513         (CFLAGS-s_floorf-vis3.c): Likewise.
2514         (CFLAGS-s_floor-vis3.c): Likewise.
2515         (CFLAGS-s_truncf-vis3.c): Likewise.
2516         (CFLAGS-s_trunc-vis3.c): Likewise.
2517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2518         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2525         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2526         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2527         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2528         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2530 2016-08-02  David S. Miller  <davem@davemloft.net>
2532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2533         (__nearbyint_vis3): Don't check for sNaN before float register is
2534         loaded with the incoming argument.
2535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2536         (__nearbyintf_vis3): Likewise.
2537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2538         Likewise.
2539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2540         Likewise.
2542         * string/test-strncmp.c (do_test_limit): Make sure the test data
2543         stream is aligned as required for the type "CHAR".
2544         (do_test): Likewise.
2546 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2548         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2549         by beq instructions jumping to the end of the function.
2550         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2551         clobber list. Use "i" constraint instead of "X".
2552         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2553         of "X".
2555 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2557         * bits/libc-header-start.h: New file.
2558         * Makefile (headers): Add bits/libc-header-start.h.
2559         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2560         (__GLIBC_USE): New macro.
2561         * libio/stdio.h: Define
2562         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2563         <bits/libc-header-start.h> instead of including <features.h>.
2564         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2565         (open_memstream): Likewise.
2566         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2567         (__asprintf): Likewise.
2568         (asprintf): Likewise.
2569         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2570         (getdelim): Likewise.
2571         (getline): Likewise.
2572         * string/string.h: Define
2573         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2574         <bits/libc-header-start.h> instead of including <features.h>.
2575         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2576         (strndup): Likewise.
2577         * wcsmbs/wchar.h: Define
2578         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2579         <bits/libc-header-start.h> instead of including <features.h>.
2580         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2581         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2583 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2585         Support linking against compatibility symbols, for use in tests.
2586         * include/libc-symbols.h (symbol_version_reference): New macro.
2587         (symbol_version): Use it.
2588         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2589         (compat_symbol): Use compat_symbol_reference.
2590         (compat_symbol_1, compat_symbol_2): Remove.
2591         (compat_symbol_reference, compat_symbol_reference_1)
2592         (compat_symbol_reference_2): New macro.  Use
2593         symbol_version_reference.
2595 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2597         [BZ #19469]
2598         * malloc/Makefile (CPPFLAGS): Compile tests with
2599         -DTEST_NO_MALLOPT.
2600         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2602 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2604         [BZ #20033]
2605         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2606         finite version.
2607         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2608         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2609         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2610         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2611         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2612         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2614         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2618         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2620         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2624         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2625         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2626         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2627         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2628         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2629         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2630         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2631         in zero power.
2633 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2635         [BZ #20370]
2636         * malloc/arena.c (get_free_list): Update comment.  Assert that
2637         arenas on the free list have no attached threads.
2638         (remove_from_free_list): New function.
2639         (reused_arena): Call it.
2641 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2643         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2644         when it is a NaN.
2645         [_IEEE_FP_INEXACT] Remove.
2646         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2647         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2648         when it is a NaN.
2649         [_IEEE_FP_INEXACT] Remove.
2650         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2651         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2652         when it is a NaN.
2653         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2654         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2655         when its absolute value is greater than 0x1.0p52.
2656         [_IEEE_FP_INEXACT] Remove.
2657         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2658         when its absolute value is greater than 0x1.0p23.
2659         [_IEEE_FP_INEXACT] Remove.
2661 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2663         * version.h (RELEASE): Set to "development"
2664         (VERSION): Set to 2.24.90.
2665         * NEWS: Add 2.25 section.
2667         * version.h (RELEASE): Set to "stable"
2668         (VERSION): Set to 2.24.
2669         * include/features.h (__GLIBC_MINOR__): Set to 24.
2671         * NEWS: Add 2.24 fixed bugs.
2672         * po/libc.pot: Regenerate.
2674 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2677         [$(subdir) = math] (libm-sysdep_routines): Remove.
2678         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2679         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2680         s_truncf-vis3, s_trunc-vis3.
2681         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2683         file.
2684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2717         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2718         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2719         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2720         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2723         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2724         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2725         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2726         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2728 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2730         [BZ #20384]
2731         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2732         test-double-libmvec-sincos-avx-main.o,
2733         test-double-libmvec-sincos-avx2-main.o,
2734         test-double-libmvec-sincos-main.o,
2735         test-float-libmvec-sincosf-avx-main.o,
2736         test-float-libmvec-sincosf-avx2-main.o and
2737         test-float-libmvec-sincosf-main.o.
2738         test-float-libmvec-sincosf-avx512-main.o.
2739         ($(objpfx)test-double-libmvec-sincos): Also link with
2740         $(objpfx)test-double-libmvec-sincos-main.o.
2741         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2742         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2743         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2744         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2745         ($(objpfx)test-float-libmvec-sincosf): Also link with
2746         $(objpfx)test-float-libmvec-sincosf-main.o.
2747         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2748         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2749         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2750         test-double-libmvec-sincos-avx512-main.o and
2751         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2752         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2753         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2754         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2755         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2756         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2757         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2758         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2759         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2760         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2761         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2762         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2763         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2764         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2765         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2766         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2767         -DREQUIRE_AVX2.
2768         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2769         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2770         -DREQUIRE_AVX512F.
2771         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2772         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2773         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2774         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2775         file.
2776         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2777         Likewise.
2778         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2779         Likewise.
2780         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2781         Likewise.
2782         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2783         Likewise.
2784         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2785         Likewise.
2786         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2787         Likewise.
2788         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2789         Likewise.
2791 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2793         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2795 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2797         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2798         and typo in a comment about AT_HWCAP entry.
2800 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2802         * sysdeps/aarch64/libm-test-ulps: Updated.
2804 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2806         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2807         of r13 as it is not restored in mvcle case.
2809 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2811         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2812         Rename "ret" to "__ret".
2813         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2814         inline_syscall5, inline_syscall6): Likewise.
2816 2016-07-19   Will Newton  <will.newton@gmail.com>
2818         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2819         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2820         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2821         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2822         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2824 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2826         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2827         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2828         -mfpmath=387 with $(rtld-CFLAGS).
2829         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2830         $(rtld-CFLAGS).
2832 2016-07-18   Ross Burton  <ross.burton@intel.com>
2833              Khem Raj  <raj.khem@gmail.com>
2835         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2836         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2837         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2838         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2839         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2840         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2841         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2842         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2843         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2844         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2845         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2846         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2847         R_METAG_TLS_DTPOFF): New.
2849 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2850             Matt Clay  <mclay@lycos.com>
2852         [BZ #20357]
2853         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2854         to call __mpsin/__mpcos and to negate values.
2855         * math/auto-libm-test-in: Add test.
2856         * math/auto-libm-test-out: Regenerate.
2858 2016-07-18  Zack Weinberg  <zackw@panix.com>
2860         * grp/Makefile: Don't install the internal header grp-merge.h.
2862 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2864         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2866 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2868         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2870 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2872         [BZ #15368]
2873         * sysdeps/unix/sysv/linux/nptl-signals.h
2874         (__nptl_clear_internal_signals): New function.
2875         (__libc_signal_block_all): Likewise.
2876         (__libc_signal_block_app): Likewise.
2877         (__libc_signal_restore_set): Likewise.
2878         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2879         implementation.
2880         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2881         the cached pid/tid value in pthread structure.
2883 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2885         [BZ #20347]
2886         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2888 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2890         [BZ #20348]
2891         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2892         preadv64, pwrite64 and pwritev64.
2894 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2896         [BZ #20350]
2897         * posix/tst-preadwrite.c: Renamed to ...
2898         * posix/tst-preadwrite-common.c: This.
2899         (PREAD): Removed.
2900         (PWRITE): Likewise.
2901         (STRINGIFY): Likewise.
2902         (STRINGIFY2): Likewise.
2903         (do_prepare): Make it static and remove function arguments.
2904         (do_test): Likewise.
2905         (PREPARE): Updated.
2906         (TEST_FUNCTION): New.
2907         (name): Make it static.
2908         (fd): Likewise.
2909         (do_prepare): Use create_temp_file.
2910         (do_test): Renamed to ...
2911         (do_test_with_offset): This.  Make it static and accept offset.
2912         Properly check return value of PWRITE and PREAD.  Return bytes
2913         read.  Don't close fd nor unlink name.
2914         * posix/tst-preadwrite.c: Rewrite.
2915         * posix/tst-preadwrite64.c: Likewise.
2917 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2919         [BZ #20309]
2920         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2921         -mtls-dialect=gnu2 works.
2922         * configure: Regenerated.
2923         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2924         (tests): Add tst-gnu2-tls1.
2925         (modules-names): Add tst-gnu2-tls1mod.
2926         ($(objpfx)tst-gnu2-tls1): New.
2927         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2928         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2929         * elf/tst-gnu2-tls1.c: New file.
2930         * elf/tst-gnu2-tls1mod.c: Likewise.
2931         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2932         bytes for push in the PLT entry to align the stack.
2934 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2936         [BZ #20349]
2937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2939 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2941         [BZ #18707]
2942         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2943         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2945 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2947         * sysdeps/unix/sysv/linux/sysdep.h
2948         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2949         guards.
2950         * misc/tst-preadvwritev-common.c: New file.
2951         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2952         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2953         a check for files larger than 2GB.
2955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2956         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2957         * sysdeps/unix/sysv/linux/pread.c
2958         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2959         __OFF_T_MATCHES_OFF64_T.
2960         * sysdeps/unix/sysv/linux/pread64.c
2961         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2962         * sysdeps/unix/sysv/linux/preadv.c
2963         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2964         * sysdeps/unix/sysv/linux/preadv64.c
2965         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2966         * sysdeps/unix/sysv/linux/pwrite.c
2967         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2968         * sysdeps/unix/sysv/linux/pwrite64.c
2969         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2970         * sysdeps/unix/sysv/linux/pwritev.c
2971         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2972         * sysdeps/unix/sysv/linux/pwritev64.c
2973         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2975 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2978         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2980 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2982         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2984 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2986         [BZ #20240]
2987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2988         (CFLAGS-s_modf-ppc32.c): New variable.
2989         (CFLAGS-s_modff-ppc32.c): Likewise.
2990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2991         (CFLAGS-s_modf-ppc64.c): Likewise.
2992         (CFLAGS-s_modff-ppc64.c): Likewise.
2994 2016-07-07  Andreas Schwab  <schwab@suse.de>
2996         [BZ #20263]
2997         * nptl/tst-robust10.c: New test.
2998         * nptl/Makefile (tests): Add tst-robust10.
3000 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3002         [BZ #20263]
3003         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3005 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         * sysdeps/s390/linkmap.h (struct link_map_machine):
3008         Remove member gotplt and add member jmprel.
3009         * sysdeps/s390/s390-32/dl-machine.h
3010         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3011         instead of gotplt with &got[3].
3012         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3013         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3015 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3017         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3019 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3021         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3022         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3023         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3024         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3025         * libio/vtables.c (_IO_vtable_check)
3026         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3027         * libio/libioP.h (IO_set_accept_foreign_vtables)
3028         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3030 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3032         [BZ #20314]
3033         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3034         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3035         $(common-objpfx)cmath.
3036         ($(common-objpfx)cstdlib): New target.
3037         ($(common-objpfx)cmath): Likewise.
3039 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3041         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3043 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3045         [BZ #20327]
3046         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3047         are not part of the string.
3049 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3051         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3052         * nptl/tst-cancel4-common.h (fifoname): New variable.
3053         (fifofd): Likewise.
3054         (cl_fifo): New function.
3055         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3056         SIGINT.
3057         (tf_open): Add early cancel test.
3059 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3061         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3063 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3065         * sysdeps/generic/ldsodefs.h
3066         (dl_symbol_visibility_binds_local_p): New inline function.
3067         * elf/dl-addr.c (determine_info): Treat hidden and internal
3068         symbols as local.
3069         * elf/dl-lookup.c (do_lookup_x): Likewise.
3070         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3072 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3074         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3075         invalid exception for a sNaN input.
3076         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3077         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3078         (__nearbyint_vis3): Likewise
3079         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3080         (__nearbyintf_vis3): Likewise
3081         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3082         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3083         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3084         Likewise.
3085         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3086         Likewise.
3088 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3090         [BZ #20139]
3091         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3092         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3093         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3094         2.24 or above.
3095         (HAVE_AVX512_ASM_SUPPORT): Removed.
3096         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3097         * sysdeps/x86_64/configure: Regenerated.
3098         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3099         check unconditional.
3100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3101         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3102         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3103         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3104         Likewise.
3105         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3106         Likewise.
3107         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3108         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3109         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3110         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3111         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3112         Likewise.
3113         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3114         Likewise.
3115         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3116         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3118         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3120         Likewise.
3121         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3122         Likewise.
3123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3124         Likewise.
3125         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3126         Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3128         Likewise.
3129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3130         Likewise.
3131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3132         Likewise.
3133         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3134         Likewise.
3135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3136         Likewise.
3137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3138         Likewise.
3139         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3140         Likewise.
3142 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3144         [BZ #20024]
3145         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3147         of this implementation of vector function.
3148         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3150         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3151         Likewise.
3152         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3153         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3154         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3155         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3156         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3157         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3158         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3159         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3160         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3161         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3162         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3163         for testing vector sincos with fixed ABI.
3164         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3165         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3166         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3167         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3168         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3169         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3170         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3171         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3172         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3173         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3174         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3175         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3176         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3177         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3178         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3179         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3181 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3183         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3185 2016-06-30  Anton Blanchard  <anton@samba.org>
3187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3188         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3189         s_sinf-ppc64.
3190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3193         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3195 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3199         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3200         e_expf-ppc64.
3201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3204         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3206 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3208         [BZ #20277]
3209         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3210         when SHARED is defined.
3212 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3214         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3215         (index_arch_Prefer_ERMS): Likewise.
3216         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3217         __memcpy_erms for Prefer_ERMS.
3218         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3219         (__memmove_erms): Enabled for libc.a.
3220         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3221         __memmove_erms or Prefer_ERMS.
3222         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3223         __mempcpy_erms for Prefer_ERMS.
3224         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3225         __memset_erms for Prefer_ERMS.
3227 2016-06-30  Andreas Schwab  <schwab@suse.de>
3229         [BZ #20262]
3230         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3231         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3232         of memory.
3234 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3236         [BZ #18645]
3237         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3238         (test-extras): Add tst-cleanupx4aux.
3239         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3240         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3241         tst-cleanupx4aux.o.
3242         * nptl/tst-cleanupx4aux.c: New file.
3244 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3246         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3248 2016-06-29  Andreas Schwab  <schwab@suse.de>
3250         [BZ #20260]
3251         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3252         address before the beginning of the string as an integer to avoid
3253         array-bounds warning.
3255 2016-06-28  Richard Henderson  <rth@redhat.com>
3257         * elf/elf.h (EM_BPF): New.
3258         (EM_NUM): Update.
3259         (R_BPF_NONE, R_BPF_MAP_FD): New.
3261         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3262         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3263         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3264         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3265         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3266         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3267         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3268         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3269         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3270         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3271         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3272         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3273         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3274         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3275         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3276         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3277         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3278         (EM_NUM): Update.
3280 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3282         [BZ #18960]
3283         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3284         Set _nl_current_LC_CATEGORY_used to two instead of one.
3286 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3288         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3289         (do_test): ... this.
3290         (TEST_FUNCTION): New macro.
3291          Include test-skeleton.c.
3292         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3293         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3295 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #15479]
3298         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3299         floating-point environment rather than just control word.
3300         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3301         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3302         floating-point environment, with "invalid" exceptions merged in,
3303         rather than just control word.
3304         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3305         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3306         "inexact" exceptions.
3308         [BZ #15479]
3309         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3310         floating-point environment rather than just control word.
3311         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3312         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3313         floating-point environment, with "invalid" exceptions merged in,
3314         rather than just control word.
3315         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3316         * math/libm-test.inc (floor_test_data): Do not allow spurious
3317         "inexact" exceptions.
3319         [BZ #15479]
3320         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3321         floating-point environment rather than just control word.
3322         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3323         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3324         floating-point environment, with "invalid" exceptions merged in,
3325         rather than just control word.
3326         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3327         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3328         "inexact" exceptions.
3330 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3332         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3333         __libc_vfork.
3334         (__vfork) [IS_IN (libc)]: Remove alias.
3335         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3336         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3337         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3339 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3341         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3342         of atomic_compare_and_exchange_bool_rel.
3343         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3344         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3345         catomic_compare_and_exchange_bool_rel): Remove.
3346         * sysdeps/aarch64/atomic-machine.h
3347         (atomic_compare_and_exchange_bool_rel): Likewise.
3348         * sysdeps/alpha/atomic-machine.h
3349         (atomic_compare_and_exchange_bool_rel): Likewise.
3350         * sysdeps/arm/atomic-machine.h
3351         (atomic_compare_and_exchange_bool_rel): Likewise.
3352         * sysdeps/mips/atomic-machine.h
3353         (atomic_compare_and_exchange_bool_rel): Likewise.
3354         * sysdeps/microblaze/atomic-machine.h
3355         ( __arch_compare_and_exchange_bool_8_rel,
3356         __arch_compare_and_exchange_bool_16_rel): Likewise.
3357         * sysdeps/powerpc/atomic-machine.h
3358         ( __arch_compare_and_exchange_bool_8_rel,
3359         __arch_compare_and_exchange_bool_16_rel): Likewise.
3360         * sysdeps/powerpc/powerpc32/atomic-machine.h
3361         ( __arch_compare_and_exchange_bool_32_rel,
3362         __arch_compare_and_exchange_bool_64_rel): Likewise.
3363         * sysdeps/powerpc/powerpc64/atomic-machine.h
3364         ( __arch_compare_and_exchange_bool_32_rel,
3365         __arch_compare_and_exchange_bool_64_rel): Likewise.
3366         * sysdeps/tile/atomic-machine.h
3367         (atomic_compare_and_exchange_bool_rel): Likewise.
3369 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #20296]
3372         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3373         when either argument is a NaN.
3374         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3375         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3377         * math/libm-test.inc (snan_value_ld): New macro.
3378         (isgreater_test_data): Add sNaN tests.
3379         (isgreaterequal_test_data): Likewise.
3380         (isless_test_data): Likewise.
3381         (islessequal_test_data): Likewise.
3382         (islessgreater_test_data): Likewise.
3383         (isunordered_test_data): Likewise.
3384         (nextafter_test_data): Likewise.
3385         (nexttoward_test_data): Likewise.
3386         (remainder_test_data): Likewise.
3387         (remquo_test_data): Likewise.
3388         (significand_test_data): Likewise.
3389         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3391 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3393         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3394         environment macros are defined.
3395         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3397 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3399         [BZ #20191]
3400         Implement vtable verification in libio.
3401         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3402         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3403         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3404         _IO_new_file_init_internal instead of _IO_file_init.
3405         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3406         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3407         * libio/Makefile (routines): Add vtables.
3408         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3409         (_IO_init): Remove, not for internal use.
3410         (_IO_init_internal): Declare, internal replacement for _IO_init.
3411         (_IO_file_init): Remove, not for internal use.
3412         (_IO_new_file_init): Remove, not for internal use.
3413         (_IO_new_file_init_internal): Declare, internal replacement for
3414         _IO_new_file_init.
3415         (_IO_old_file_init): Remove, not for internal use.
3416         (_IO_old_file_init_internal): Declare, internal replacement for
3417         _IO_old_file_init.
3418         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3419         internal use.
3420         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3421         Declare.
3422         (libio_vtable): New macro.
3423         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3424         functions.
3425         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3426         _IO_new_file_init.
3427         (_IO_new_file_init): New externally visible wrapper which disables
3428         vtable verification.
3429         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3430         Define as vtables.
3431         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3432         (_IO_init): New externally visible wrapper which disables
3433         vtable verification.
3434         * libio/iofdopen.c (_IO_new_fdopen): Call
3435         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3436         comment.
3437         * libio/iofopen.c (__fopen_internal): Call
3438         _IO_new_file_init_internal instead of _IO_file_init.
3439         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3440         Define as vtables.
3441         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3442         _IO_new_file_init_internal instead of _IO_file_init.
3443         * libio/iopopen.c (_IO_new_popen): Likewise.
3444         (_IO_proc_jumps): Define as vtable.
3445         * libio/iovdprintf.c (_IO_vdprintf): Call
3446         _IO_new_file_init_internal instead of _IO_file_init.
3447         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3448         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3449         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3450         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3451         _IO_old_file_init.
3452         (_IO_old_file_init): New externally visible wrapper which disables
3453         vtable verification.
3454         (_IO_old_file_jumps): Define as vtable.
3455         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3456         _IO_old_file_init_internal instead of _IO_old_file_init.
3457         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3458         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3459         (_IO_old_proc_jumps): Define as vtable.
3460         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3461         Define as vtables.
3462         * libio/vtables.c: New file.
3463         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3464         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3465         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3466         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3467         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3468         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3469         instead of _IO_init.
3471 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3473         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3475 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3477         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3478         potentially unused.
3480 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3482         * test-skeleton.c (write_message): New function.
3483         * malloc/tst-mallocfork2.c (write_message): Remove.
3484         * debug/tst-longjmp_chk2.c (write_indented): New function.
3485         (write_message): Remove.
3486         (stackoverflow_handler): Call write_indented.
3488 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3490         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3491         "inexact" exceptions after fnstenv.
3492         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3493         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3494         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3496 2015-06-22  Zack Weinberg  <zackw@panix.com>
3498         * sysdeps/generic/bits/hwcap.h: Moved to ...
3499         * bits/hwcap.h: Here.
3501 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3503         * sysdeps/aarch64/memcpy.S (memcpy):
3504         Further tuning for performance.
3506 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3508         [BZ #20284]
3509         * malloc/arena.c (reused_arena): Do not return NULL if we start
3510         out with a non-corrupted arena.
3512 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3514         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3515         * misc/tst-preadvwritev.c: New file.
3516         * misc/tst-preadvwritev64.c: Likewise.
3517         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3518         usage.
3519         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3520         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3521         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3522         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3524 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3526         [BZ #19654]
3527         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3528         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3529         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3530         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3531         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3532         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3533         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3534         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3535         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3536         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3537         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3538         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3539         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3540         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3541         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3542         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3543         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3544         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3545         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3546         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3547         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3548         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3549         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3550         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3551         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3552         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3554 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3556         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3557         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3559 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3561         * sysdeps/aarch64/memcpy.S (memcpy):
3562         Rewrite of optimized memcpy and memmove.
3563         * sysdeps/aarch64/memmove.S (memmove): Remove
3564         memmove code (merged into memcpy.S).
3566 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3568         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3569         * sysdeps/generic/dl-dtv.h: New file.
3570         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3571         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3572         (dtv_t): Remove.
3573         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3574         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3575         (dtv_t): Remove.
3576         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3577         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3578         (dtv_t): Remove.
3579         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3580         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3581         (dtv_t): Remove.
3582         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3583         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3584         (dtv_t): Remove.
3585         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3586         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3587         (dtv_t): Remove.
3588         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3589         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3590         (dtv_t): Remove.
3591         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3592         (dtv_t): Remove.
3593         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3594         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3595         (dtv_t): Remove.
3596         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3597         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3598         (dtv_t): Remove.
3599         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3600         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3601         (dtv_t): Remove.
3602         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3603         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3604         (dtv_t): Remove.
3605         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3606         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3607         (dtv_t): Remove.
3608         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3609         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3610         (dtv_t): Remove.
3611         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3612         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3613         (dtv_t): Remove.
3614         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3615         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3616         (dtv_t): Remove.
3618 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3620         Revert symbol poisoning of  __malloc_initialize_hook.
3621         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3622         poisoning.
3623         * malloc/Makefile: Remove un-poisoning.
3624         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3625         instead of old__malloc_initialize_hook.
3626         * malloc/malloc-hooks.h: Likewise.
3627         * malloc/malloc.c: Likewise.
3628         * malloc/mcheck-init.c: Likewise.
3630 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3632         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3634 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3636         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3637         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3638         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3639         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3641 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3643         * NEWS: Mention addition of nextup and nextdown.
3644         * manual/arith.texi: Document nextup and nextdown.
3645         * manual/libm-err-tab.pl: Add nextup and nextdown.
3646         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3647         * math/Versions (libm): Add GLIBC_2.24.
3648         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3649         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3650         Add new test.
3651         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3652         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3653         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3654         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3655         (nextup_test_data): Likewise.
3656         (nextdown_test_data): Likewise.
3657         * math/s_nextdown.c: New file.
3658         * math/s_nextdownf.c: Likewise.
3659         * math/s_nextdownl.c: Likewise.
3660         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3661         F(nextup): New function.
3662         F(nextdown): Likewise.
3663         * math/tgmath.h: Add nextup and nextdown.
3664         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3665         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3670         Add nextup and nextdown.
3671         (CFLAGS-nldbl-nextup.c): New variable.
3672         (CFLAGS-nldbl-nextdown.c): Likewise.
3673         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3674         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3675         * sysdeps/nacl/libm.abilist: Update.
3676         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3677         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3678         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3679         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3681         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3683         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3684         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3685         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3686         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3687         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3690         Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3695         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3697         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3702         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3703         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3705 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3707         * manual/pattern.texi: Fix typos & grammar errors.
3709 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3711         * manual/search.texi: Fix typos & grammar errors.
3713 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3715         * manual/message.texi: Fix typos & grammar errors.
3717 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3719         * manual/contrib.texi: Fix spelling typos.
3720         * manual/crypt.texi: Likewise.
3721         * manual/filesys.texi: Likewise.
3722         * manual/locale.texi: Likewise.
3723         * manual/message.texi: Likewise.
3724         * manual/nss.texi: Likewise.
3725         * manual/string.texi: Likewise.
3727 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3729         * manual/locale.texi: Fix typos & grammar errors.
3731 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3733         * manual/charset.texi: Fix typos & grammar errors.
3735 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3737         * manual/string.texi: Fix typos.
3739 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3741         * manual/ctype.texi: Fix typos.
3743 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3745         * manual/memory.texi: Fix various typos & grammar errors.
3747 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3749         [BZ #20255]
3750         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3751         * math/libm-test.inc (fdim_test_data): Add another test.
3753         [BZ #6796]
3754         [BZ #20255]
3755         [BZ #20256]
3756         * math/s_fdim.c: Include <math_private.h>.
3757         (__fdim): Use math_narrow_eval on result.
3758         * math/s_fdimf.c: Include <math_private.h>.
3759         (__fdimf): Use math_narrow_eval on result.
3760         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3761         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3762         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3763         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3764         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3765         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3766         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3767         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3768         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3769         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3770         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3771         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3772         overflow.  Add sNaN tests.
3774         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3775         fpclassify.
3776         * math/s_fdimf.c (__fdimf): Likewise.
3777         * math/s_fdiml.c (__fdiml): Likewise.
3779 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3781         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3782         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3784         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3785         ifunc'ed strcasecmp/strncasecmp.
3786         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3787         [EALIGN]: Removed.
3788         [END]: Likewise.
3789         [__strcasecmp]: Define instead of the above to control symbol name.
3790         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3791         for __strcasecmp_power8.
3792         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3793         for __strncasecmp_power8.
3794         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3796         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3797         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3798         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3799         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3801 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3803         [BZ #20252]
3804         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3805         arguments when second argument is a NaN.
3806         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3807         qNaN tests.
3809         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3810         (conj_test_data): Likewise.
3811         (copysign_test_data): Likewise.
3812         (creal_test_data): Likewise.
3813         (fma_test_data): Likewise.
3814         (fmod_test_data): Likewise.
3816         [BZ #20250]
3817         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3818         itself.
3819         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3820         zero input to itself.
3821         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3822         Likewise.
3823         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3824         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3825         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3826         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3827         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3829 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3831         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3832         * nptl/tst-cancel4-common.c: New file.
3833         * nptl/tst-cancel4-common.h: Likewise.
3834         * nptl/tst-cancel4.c: Move common definitions to
3835         tst-cancel4-common.{c,h} file.
3836         * nptl/tst-cancel4_1.c: New test.
3837         * nptl/tst-cancel4_2.c: New test.
3839 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3841         [BZ #20248]
3842         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3843         (write_message): New function.
3844         (stackoverflow_handler): Call it instead of printf, to avoid
3845         excessive stack usage by printf.
3846         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3848 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3850         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3851         (prio_inherit_missing): Remove define.
3852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3853         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3855         Likewise.
3856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3857         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3858         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3859         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3860         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3861         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3863 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3865         [BZ #19670]
3866         [BZ #19672]
3868         * io/test-lfs.c (do_prepare): Use xmalloc.
3869         * io/tst-fcntl.c (do_prepare): Likewise.
3870         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3871         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3872         * login/tst-utmp.c (do_prepare): Likewise.
3873         * posix/tst-exec.c (do_prepare): Likewise.
3874         * posix/tst-pathconf.c (prepare): Likewise.
3875         * posix/tst-spawn.c (do_prepare): Likewise.
3876         * posix/tst-truncate.c (do_prepare): Likewise.
3877         * rt/tst-aio.c (do_prepare): Likewise.
3878         * rt/tst-aio64.c (do_prepare): Likewise.
3880 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3882         [BZ #20237]
3883         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3884         (get*ent): Set entidx to NULL during initialization.  If entidx is
3885         NULL, start iteration from the beginning.
3887 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3889         * malloc/malloc.c (musable): Return correct size for dumped fake
3890         mmapped chunk.
3892 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3894         [BZ #20222]
3895         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3896         (_IO_cookie_write): Likewise.
3897         (_IO_cookie_seek): Likewise.
3898         (_IO_cookie_close): Likewise.
3899         (_IO_old_cookie_seek): Likewise.
3900         (set_callbacks): New function.
3901         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3903 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3905         * locale/programs/localedef.c (oldstyle_tables): Remove.
3906         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3908 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3910         [BZ #20240]
3911         * math/Makefile (CFLAGS-s_modf.c): New variable.
3912         (CFLAGS-s_modff.c): Likewise.
3913         (CFLAGS-s_modfl.c): Likewise.
3914         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3916 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3918         [BZ #20215]
3919         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3920         [!__GNUC_PREREQ (3,2)]: Likewise.
3922 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3924         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3925         (msghdr.msg_controllen): Likewise.
3926         (cmsghdr.cmsg_len): Likewise.
3927         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3928         ptw-oldsendmsg.
3929         (CFLAGS-oldrecvmsg.c): Remove rule.
3930         (CFLAGS-oldsendmsg.c): Likewise.
3931         (CFLAGS-recvmsg.c): Add rule.
3932         (CFLAGS-sendmsg.c): Likewise.
3933         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3934         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3935         (CFLAGS-recvmsg.c): Remove rule.
3936         (CFLAGS-sendmsg.c): Likewise.
3937         (CFLAGS-oldrecvmsg.c): Likewise.
3938         (CFLAGS-oldsendmsg.c): Likewise.
3939         (CFLAGS-recvmmsg.c): Likewise.
3940         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3941         to kernel defined interfaces.
3942         (msghdr.msg_controllen): Likewise.
3943         (cmsghdr.cmsg_len): Likewise.
3944         (msghdr.__glibc_reserved1): Remove member.
3945         (msghdr.__glibc_reserved2): Likewise.
3946         (cmsghdr.__glibc_reserved1): Likewise.
3947         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3948         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3949         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3950         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3951         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3952         version.
3953         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3954         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3955         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3956         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3957         Remove recvmsg and sendmsg.
3958         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3959         Likewise.
3960         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3961         Likewise.
3962         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3963         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3964         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3965         Likewise.
3966         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3967         Likewise.
3968         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3969         [libc] (GLIBC_2.24): Likewise.
3970         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3973         Likewise.
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3975         [libc] (GLIBC_2.24): Likewise.
3976         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3977         Likewise.
3978         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3979         Likewise.
3980         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3981         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3984         Likewise.
3985         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3986         Likewise.
3987         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3988         Likewise.
3989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3990         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3991         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3992         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3993         version for {recv,send,recm,sendm}msg.
3994         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3995         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3996         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3997         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3998         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3999         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4000         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4001         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4002         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4003         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4004         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4005         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4007         Likewise.
4008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4009         Likewise.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4012         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4021         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4024 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4026         [BZ #19564]
4027         Remove __malloc_initialize_hook from the API.
4028         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4029         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4030         #pragma GCC poison.
4031         * malloc/malloc-hooks.h: New file.
4032         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4033         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4034         (old__malloc_initialize_hook): Rename from
4035         __malloc_initialize_hook to evade poisoning.  Turn into compat
4036         symbol.
4037         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4038         __malloc_initialize_hook.
4039         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4040         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4041         * manual/memory.texi (Hooks for Malloc): Remove
4042         __malloc_initialize_hook.  Adjust hook example.
4044 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4046         [BZ #20235]
4047         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4048         itself.
4049         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4050         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4052         [BZ #20234]
4053         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4054         infinity or NaN input to itself.
4056         [BZ #20233]
4057         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4058         to itself.
4060         [BZ #20232]
4061         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4062         itself.
4064 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4066         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4067         __libc_start_main via GOT.
4069 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4071         * sysdeps/x86_64/memcopy.h: New file.
4072         * sysdeps/x86_64/wordcopy.c: Likewise.
4074 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4076         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4077         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4078         <cstdlib>.
4079         (optimization_barrier): New.
4080         (do_test): Use it.  Call quick_exit in the global namespace.
4081         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4082         instead of <cstdlib>, <thread>.
4083         (optimization_barrier): New.
4084         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4085         Call quick_exit in the global namespace.
4086         (do_test): Call optimization_barrier.  Use pthread_create,
4087         pthread_join instead of std::thread.
4089 2016-06-09  Andreas Schwab  <schwab@suse.de>
4091         [BZ #19755]
4092         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4093         new entries in auto-propagate mode.
4094         * nscd/grpcache.c (cache_addgr): Likewise.
4096 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4098         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4099         New functions.
4100         (add_temp_file): Use them.
4102 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4104         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4106 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #20229]
4109         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4110         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4111         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4113         [BZ #20228]
4114         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4115         itself.
4116         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4117         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4119         [BZ #20227]
4120         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4121         itself.
4122         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4123         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4124         * math/libm-test.inc (log_test_data): Add sNaN tests.
4126         [BZ #20226]
4127         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4128         itself.
4129         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4130         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4131         (exp10_test_data): Likewise.
4132         (expm1_test_data): Likewise.
4134         [BZ #20225]
4135         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4136         itself.
4137         * math/s_ldexpf.c (__ldexpf): Likewise.
4138         * math/s_ldexpl.c (__ldexpl): Likewise.
4139         * math/w_scalbln.c (__w_scalbln): Likewise.
4140         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4141         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4142         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4143         (scalbln_test_data): Likewise.
4145         [BZ #20224]
4146         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4147         argument to itself.
4148         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4150 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4152         [BZ #19776]
4153         * sysdeps/x86_64/memcpy.S: Make it dummy.
4154         * sysdeps/x86_64/mempcpy.S: Likewise.
4155         * sysdeps/x86_64/memmove.S: New file.
4156         * sysdeps/x86_64/memmove_chk.S: Likewise.
4157         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4158         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4159         * sysdeps/x86_64/memmove.c: Removed.
4160         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4161         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4162         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4163         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4164         Likewise.
4165         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4166         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4168         memcpy-sse2-unaligned, memmove-avx-unaligned,
4169         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4171         (__libc_ifunc_impl_list): Replace
4172         __memmove_chk_avx512_unaligned_2 with
4173         __memmove_chk_avx512_unaligned.  Remove
4174         __memmove_chk_avx_unaligned_2.  Replace
4175         __memmove_chk_sse2_unaligned_2 with
4176         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4177         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4178         with __memmove_avx512_unaligned.  Replace
4179         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4180         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4181         with __memcpy_chk_avx512_unaligned.  Remove
4182         __memcpy_chk_avx_unaligned_2.  Replace
4183         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4184         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4185         Replace __memcpy_avx512_unaligned_2 with
4186         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4187         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4188         with __mempcpy_chk_avx512_unaligned.  Remove
4189         __mempcpy_chk_avx_unaligned_2.  Replace
4190         __mempcpy_chk_sse2_unaligned_2 with
4191         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4192         Replace __mempcpy_avx512_unaligned_2 with
4193         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4194         Replace __mempcpy_sse2_unaligned_2 with
4195         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4196         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4197         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4198         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4199         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4200         (ENTRY): Removed.
4201         (END): Likewise.
4202         (ENTRY_CHK): Likewise.
4203         (libc_hidden_builtin_def): Likewise.
4204         Don't include ../memcpy.S.
4205         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4206         __memcpy_chk_avx512_unaligned_erms and
4207         __memcpy_chk_avx512_unaligned.  Use
4208         __memcpy_chk_avx_unaligned_erms and
4209         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4210         Default to __memcpy_chk_sse2_unaligned.
4211         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4212         Change function suffix from unaligned_2 to unaligned.
4213         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4214         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4215         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4216         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4217         (ENTRY): Removed.
4218         (END): Likewise.
4219         (ENTRY_CHK): Likewise.
4220         (libc_hidden_builtin_def): Likewise.
4221         Don't include ../mempcpy.S.
4222         (mempcpy): New.  Add a weak alias.
4223         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4224         __mempcpy_chk_avx512_unaligned_erms and
4225         __mempcpy_chk_avx512_unaligned.  Use
4226         __mempcpy_chk_avx_unaligned_erms and
4227         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4228         Default to __mempcpy_chk_sse2_unaligned.
4230 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4232         [BZ #19881]
4233         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4234         into ...
4235         * sysdeps/x86_64/memset.S: This.
4236         (__bzero): Removed.
4237         (__memset_tail): Likewise.
4238         (__memset_chk): Likewise.
4239         (memset): Likewise.
4240         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4241         defined.
4242         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4243         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4244         (__memset_zero_constant_len_parameter): Check SHARED instead of
4245         PIC.
4246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4247         memset-avx2 and memset-sse2-unaligned-erms.
4248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4249         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4250         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4251         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4252         (__bzero): Enabled.
4253         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4254         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4255         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4256         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4257         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4258         (memset): Removed.
4259         (__memset_chk): Likewise.
4260         (MEMSET_SYMBOL): New.
4261         (libc_hidden_builtin_def): Replace __memset_sse2 with
4262         __memset_sse2_unaligned.
4263         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4264         __memset_chk_sse2 and __memset_chk_avx2 with
4265         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4266         Use __memset_chk_sse2_unaligned_erms or
4267         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4268         __memset_chk_avx512_unaligned_erms and
4269         __memset_chk_avx512_unaligned.
4271 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4273         * math/gen-auto-libm-test.c (fp_format_desc): remove
4274         suffix member.
4275         (output_generic_value): Remove usage of suffix member,
4276         and the resulting unuse of the fp_format argument.
4277         (output_for_one_input_case): Remove unused fp_format
4278         parameter.
4280         * math/auto-libm-test-out: Regenerate.
4282         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4283         usage with TEST_COND_ibm128.
4284         (TEST_COND_flt_32): Remove.
4285         (TEST_COND_dbl_64): Remove.
4286         (TEST_COND_ldbl_96_intel): Remove.
4287         (TEST_COND_ldbl_96_m68k): Remove.
4288         (TEST_COND_ldbl_128): Remove.
4290 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4292         * auto-libm-test-in:
4293         Replace flt-32 usage with binary32.
4294         Replace dbl-64 usage with binary64.
4295         Replace ldbl-intel-96 usage with intel96.
4296         Replace ldbl-m68k-96 usage with m68k96.
4297         Replace ldbl-128ibm usage with ibm128.
4298         Replace ldbl-128 usage with binary128.
4300         * auto-libm-test-out: Regenerate.
4302 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4304         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4305         (parse_ulps): Dynamically generate type name matching
4306         string from all_floats.
4307         (get_ulps): Generate the ulps as an array instead.
4308         (output_ulps): Dynamically compose the type based
4309         on the number of supported formats, and print
4310         the indices as type specific helper macros.
4312         * math/libm-test.inc: Remove comment about CHOOSE.
4313         (ulp_data): Generate the type in libm-test-ulps.h.
4314         (ULP_IDX): New macro.
4315         (find_ulps): Update usage of max_ulp.
4317         * math/test-double-vlen2.h (CHOOSE): Remove.
4318         * math/test-double-vlen4.h (CHOOSE): Likewise.
4319         * math/test-double-vlen8.h (CHOOSE): Likewise.
4320         * math/test-float.c (CHOOSE): Likewise.
4321         * math/test-float-finite.c (CHOOSE): Likewise.
4322         * math/test-double.c (CHOOSE): Likewise.
4323         * math/test-double-finite.c (CHOOSE): Likewise.
4324         * math/test-idouble.c (CHOOSE): Likewise.
4325         * math/test-ifloat.c (CHOOSE): Likewise.
4326         * math/test-ildoubl.c (CHOOSE): Likewise.
4327         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4328         * math/test-ldouble.c (CHOOSE): Likewise.
4330         * math/test-float.h (TEST_FLOAT): Remove.
4331         * math/test-double.h (TEST_DOUBLE): Likewise.
4332         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4334 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4336         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4337         (parse_args): Strip C suffix from floating point literals
4338         typed with 'f' and wrap them with LIT().
4340         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4341         (test_ff_f_data_nexttoward): Rename to
4342         (test_fj_f_data): New struct.
4343         (nexttoward_test_data): Relabel tests as
4344         TEST_fj_f instead of TEST_ff_f.
4346 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4348         Emacs bug 23726.
4349         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4350         (__libc_realloc): Correct size computation for dumped fake mmapped
4351         chunks.
4353 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4355         [BZ #20219]
4356         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4357         to itself.
4358         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4360         [BZ #20218]
4361         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4362         to itself.
4363         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4365 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4367         [BZ #20195]
4368         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4369         check to ...
4370         (init_cpu_features): Here.
4372 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4374         [BZ #20214]
4375         * sysdeps/unix/sysv/linux/bits/in.h
4376         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4377          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4378         Define to 1.
4379         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4380          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4381         Define to 0.
4382         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4383         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4385 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4387         [BZ #20198]
4388         * stdlib/Makefile (tests): Add tst-quick_exit, and
4389         tst-thread-quick_exit.
4390         [ifeq ($(have-cxx-thread_local),yes)]
4391         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4392         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4393         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4394         (LDLIBS-tst-thread-quick_exit): Likewise.
4395         [ifneq ($(have-cxx-thread_local),yes)]
4396         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4397         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4398         If run_dtors is true call __call_tls_dtors.
4399         (exit): Call __run_exit_handlers with run_dtors set to true.
4400         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4401         definition.
4402         * stdlib/quick_exit.c (quick_exit): Remove function.
4403         (__new_quick_exit): New function.
4404         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4405         function.
4406         * stdlib/tst-quick_exit.cc: New file.
4407         * stdlib/tst-thread-quick_exit.cc: New file.
4408         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4409         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4410         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4411         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4412         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4413         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4414         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4415         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4416         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4417         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4418         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4419         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4420         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4421         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4422         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4423         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4428         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4429         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4430         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4431         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4432         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4435         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4436         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4437         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4439 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4441         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4442         a typo in comments.
4444 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4446         [BZ #20213]
4447         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4448         argument to itself.
4449         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4451 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4453         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4454         required flags.
4455         (CFLAGS-pwritev64.c): Likewise.
4456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4458         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4459         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4460         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4461         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4462         syscall from auto-generation.
4463         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4464         [WORDSIZE == 64] (pwritev64): Remove macro.
4465         [!PWRITEV] (PWRITEV): Likewise.
4466         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4467         [!PWRITEV] (PWRITE): Likewise.
4468         [!PWRITEV] (OFF_T): Likewise.
4469         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4470         (LO_HI_LONG): Remove macro.
4471         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4472         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4473         (PWRITEV): Remove macro.
4474         (PWRITEV_REPLACEMENTE): Likewise.
4475         (PWRITE): Likewise.
4476         (OFF_T): Likewise.
4477         (pwritev64): New function.
4478         * nptl/tst-cancel4.c (tf_writev): Add test.
4480         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4481         required flags.
4482         (CFLAGS-preadv64.c): Likewise.
4483         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4484         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4485         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4486         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4487         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4488         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4489         syscall from auto-generation.
4490         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4491         [WORDSIZE == 64] (preadv64): Remove macro.
4492         [!PREADV] (PREADV): Likewise.
4493         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4494         [!PREADV] (PREAD): Likewise.
4495         [!PREADV] (OFF_T): Likewise.
4496         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4497         (LO_HI_LONG): Remove macro.
4498         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4499         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4500         (PREADV): Remove macro.
4501         (PREADV_REPLACEMENTE): Likewise.
4502         (PREAD): Likewise.
4503         (OFF_T): Likewise.
4504         (preadv64): New function.
4505         * nptl/tst-cancel4.c (tf_preadv): Add test.
4507 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4509         [BZ #20212]
4510         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4511         argument to itself.
4512         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4514 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4516         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4517         New symbol defined as libc_hidden_def.
4518         (strcasestr): Became a weak alias to __strcasestr.
4519         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4520         according to multi-arch support.  Move __stpncpy hidden
4521         definition from here to...
4522         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4523         symbol stpncpy.
4524         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4525         libc_hidden_builtin_def.
4526         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4527         memset symbol to use when multi-arch support is available.
4529 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4531         * dlfcn/tst-rec-dlopen.c: Include string.h.
4533 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4535         * manual/install.texi: Remove mention of --without-tls
4536         * INSTALL: Regenerate.
4538 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4540         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4541         Remove.
4542         (call_function, interposed_malloc_called): New variables.
4543         (malloc): New function.
4544         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4545         and clear call_function as needed.
4547 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4549         * include/wchar.h (__wmemset): Use __typeof.
4551 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4553         * include/wchar.h (__wmemset): Declare function without typeof.
4555 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4557         [BZ #20205]
4558         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4559         exponent when incrementing negative subnormal with low mantissa
4560         word zero.
4561         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4562         Add another test.
4564 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4566         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4567         __wmemset instead of wmemset.
4569 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4571         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4572         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4573         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4574         __USE_KERNEL_IPV6_DEFS to 0.
4575         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4576         Update comment.
4578 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4580         [BZ #19861]
4581         Do not use IFUNC resolver with potentially unrelocated symbol.
4582         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4583         (DEFINE_FORK): Remove macro and inline definition.
4584         (fork_alias): Renamed from fork_ifunc.
4585         (__fork_alias): Renamed from __fork_ifunc.
4587 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4589         [BZ 19653]
4590         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4591         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4593 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4595         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4596         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4597         i386-linux-gnu).
4598         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4599         Set to no.
4600         * sysdeps/mach/hurd/configure: Refresh.
4602 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4604         [BZ #20178]
4605         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4606         on failure instead of exit.
4608 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4610         [BZ #3629]
4611         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4612         of POSIX.1-2008.
4614 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4616         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4617           Use PLT entry for calling _hurd_self_sigstate.
4619 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4621         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4622         available logical processors with SMT level type sharing L2
4623         cache for Intel processors.
4625 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4627         [BZ #20160]
4628         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4629         argument to itself before returning the result.
4630         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4631         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4632         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4633         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4634         Likewise.
4635         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4636         Likewise.
4637         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4638         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4639         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4640         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4641         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4642         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4644         [BZ #20160]
4645         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4646         argument to itself before returning the result.
4647         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4648         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4649         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4650         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4651         Likewise.
4652         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4653         Likewise.
4654         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4655         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4656         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4657         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4658         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4659         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4661 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4663         * libm-test.inc: Replace usage of M_El with
4664         (lit_e): New macro.
4666 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4668         * libm-test.inc: Replace usage of M_PI_4l with
4669         (lit_pi_4_d): New macro.
4671 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4673         * libm-test.inc: Replace usage of M_PIl with
4674         (lit_pi): New macro.
4676 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4678         * libm-test.inc: Replace usage of M_PI2l with
4679         (lit_pi_2_d): New macro.
4681         * math/test-double.h (LITM): New macro.
4682         * math/test-float.h (LITM): Likewise.
4683         * math/test-ldouble.h (LITM): Likewise.
4685 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4687         * libm-test.inc (M_PI_34l): Rename to
4688         (lit_pi_3_m_4_d): New Macro.
4689         (M_PI_34_LOG10El): Rename to
4690         (lit_pi_3_m_4_ln10_m_d): New Macro.
4691         (M_PI2_LOG10El): Rename to
4692         (lit_pi_2_ln10_m_d):  New Macro.
4693         (M_PI4_LOG10El): Rename to
4694         (lit_pi_4_ln10_m_d):  New Macro.
4695         (M_PI_LOG10El): Rename to
4696         (lit_pi_ln10_d):  New Macro.
4698 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4700         [BZ #20157]
4701         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4702         determine whether to negate low half if [_ARCH_PPCGR], and integer
4703         comparison otherwise.
4704         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4705         determine whether to negate low half.
4707         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4708         (NO_TEST_INLINE_DOUBLE): Likewise.
4709         (TEST_COND_x86_64): Likewise.
4710         (TEST_COND_x86): Likewise.
4711         (M_PI_6l): Likewise.
4713 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4715         * math/libm-test.inc:
4716         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4717         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4718         (TEST_LDOUBLE): Update usage to evaluate as true if
4719         the guarded tests match the property being tested.
4720         (LDBL_MAX_EXP): Change to MAX_EXP.
4721         (LDBL_MIN_EXP): Change to MIN_EXP.
4722         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4723         nexttoward tests.
4725 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4727         * math/libm-test.inc:
4728         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4729         (TYPE_MIN): Likewise.
4730         (TYPE_TRUE_MIN): Likewise.
4731         (TYPE_MAX): Likewise.
4732         (MIN_EXP): Likewise.
4733         (MAX_EXP): Likewise.
4734         (MANT_DIG): Likewise.
4736         (FSTR_MAX): New macro.
4737         (__CONCATX): Likewise.
4738         (QTYPE_STR): Likewise.
4739         (TEST_COND_binary32): Likewise.
4740         (TEST_COND_binary64): Likewise.
4741         (TEST_COND_binary128): Likewise.
4742         (TEST_COND_ibm128): Likewise.
4743         (TEST_COND_intel96): Likewise.
4744         (TEST_COND_m68k96): Likewise.
4746         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4747         (TEST_COND_dbl_64): Likewise.
4748         (TEST_COND_ldbl_96_intel): Likewise.
4749         (TEST_COND_ldbl_96_m68k): Likewise.
4750         (TEST_COND_ldbl_128): Likewise.
4751         (TEST_COND_ldbl_128ibm): Likewise.
4753         (plus_zero): Redefine using LIT macro.
4754         (minus_zero): Likewise.
4755         (plus_infty): Redefine as (INF).
4756         (minux_infty): Redefine as (-INF).
4757         (max_value): Redefine as TYPE_MAX.
4758         (min_value): Redefine as TYPE_MIN.
4759         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4761         (print_float): Refactor to use snprintf to convert FLOAT values
4762         to string. This brings it closer to dropin replacement of strtof
4763         for the TS 18661 defined types.
4764         (update_stats): Likewise.
4765         (print_complex_function_ulps): Likewise.
4766         (print_max_error): Likewise.
4767         (print_complex_max_error): Likewise.
4768         (check_float_internal): Likewise.
4770         * math/test-float.h (PREFIX): New macro.
4771         (LIT): Likewise.
4772         (TYPE_STR): Likewise.
4773         (FTOSTR): Likewise.
4775         * math/test-double.h (PREFIX): New macro.
4776         (LIT): Likewise.
4777         (TYPE_STR): Likewise.
4778         (FTOSTR): Likewise.
4780         * math/test-ldouble.h (PREFIX): New macro.
4781         (LIT): Likewise.
4782         (TYPE_STR): Likewise.
4783         (FTOSTR): Likewise.
4785 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4787         [BZ #20156]
4788         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4789         to itself when zero or not finite.
4790         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4791         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4792         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4793         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4795 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4797         [BZ #20153]
4798         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4799         x * x + x for infinities and NaNs.
4801         [BZ #20151]
4802         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4803         argument to itself before returning result.
4804         (__ieee754_y0l): Likewise.
4805         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4806         (__ieee754_y1l).
4808         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4809         (atan_test_data): Likewise.
4810         (ceil_test_data): Likewise.
4811         (cos_test_data): Likewise.
4812         (cosh_test_data): Likewise.
4813         (erf_test_data): Likewise.
4814         (exp2_test_data): Likewise.
4815         (fabs_test_data): Likewise.
4816         (floor_test_data): Likewise.
4817         (ilogb_test_data): Likewise.
4818         (j0_test_data): Likewise.
4819         (j1_test_data): Likewise.
4820         (jn_test_data): Likewise.
4821         (lgamma_test_data): Likewise.
4822         (lrint_test_data): Likewise.
4823         (llrint_test_data): Likewise.
4824         (logb_test_data): Likewise.
4825         (lround_test_data): Likewise.
4826         (llround_test_data): Likewise.
4827         (nearbyint_test_data): Likewise.
4828         (rint_test_data): Likewise.
4829         (round_test_data): Likewise.
4830         (sin_test_data): Likewise.
4831         (sincos_test_data): Likewise.
4832         (sinh_test_data): Likewise.
4833         (sqrt_test_data): Likewise.
4834         (tan_test_data): Likewise.
4835         (tanh_test_data): Likewise.
4836         (tgamma_test_data): Likewise.
4837         (trunc_test_data): Likewise.
4838         (y0_test_data): Likewise.
4839         (y1_test_data): Likewise.
4840         (yn_test_data): Likewise.
4842         * math/libm-test.inc: Update comment about NaN testing.
4843         (TEST_SNAN): New macro.
4844         (snan_value): Likewise.
4845         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4846         (fpclassify_test_data): Add sNaN tests.
4847         (isfinite_test_data): Likewise.
4848         (isinf_test_data): Likewise.
4849         (isnan_test_data): Likewise.
4850         (isnormal_test_data): Likewise.
4851         (issignaling_test_data): Likewise.
4852         (signbit_test_data): Likewise.
4853         * math/gen-libm-test.pl (%beautify): Add snan_value.
4854         (show_exceptions): Add argument $test_snan.
4855         (parse_args): Handle snan_value as non-finite.  Update call to
4856         show_exceptions.
4857         * math/Makefile (libm-test-no-inline-cflags): Add
4858         -fsignaling-nans.
4860 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4862         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4863         (CFLAGS-oldsendmsg.c): Add rule.
4864         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4865         Correct recvmsg symbol name.
4866         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4867         Likewise.
4869 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4871         * sysdeps/unix/sysv/linux/Makefile
4872         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4873         oldsendmmsg.
4874         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4875         sendmmsg.
4876         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4879         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4884         Likewise.
4885         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4887         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4888         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4889         iovlen and controllen fields to adjust to POSIX specification.
4890         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4892         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4893         and change to correct expected type.
4894         (msghdr.msg_controllen): Likewise.
4895         (cmsghdr.cmsg_len): Likewise.
4896         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4897         expected POSIX assumption about the size.
4898         (msghdr.msg_controllen): Likewise.
4899         (msghdr.__glibc_reserved1): Likewise.
4900         (msghdr.__glibc_reserved2): Likewise.
4901         (cmsghdr.cmsg_len): Likewise.
4902         (cmsghdr.__glibc_reserved1): Likewise.
4903         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4904         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4905         (CFLAGS-sendmsg.c): Remove rule.
4906         (CFLAGS-recvmsg.c): Likewise.
4907         (CFLAGS-oldsendmsg.c): Add rule.
4908         (CFLAGS-oldrecvmsg.c): Likewise.
4909         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4910         recvmsg and sendmsg.
4911         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4912         Likewise.
4913         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4914         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4915         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4916         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4917         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4918         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4919         Likewise.
4920         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4921         Likewise.
4922         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4923         Likewise.
4924         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4925         Likewise.
4926         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4927         Likewise.
4928         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4929         Likewise.
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4931         (GLIBC_2.24): Likewise.
4932         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4933         Likewise.
4934         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4935         Likewise.
4936         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4937         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4938         Likewise.
4939         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4940         Likewise.
4941         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4942         Likewise.
4943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4944         (GLIBC_2.24): Likewise.
4945         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4946         Likewise.
4947         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4948         Likewise.
4949         * sysdeps/unix/sysv/linux/Makefile
4950         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4951         (CFLAGS-sendmsg.c): Add rule.
4952         (CFLAGS-recvmsg.c): Likewise.
4953         (CFLAGS-oldsendmsg.c): Likewise.
4954         (CFLAGS-oldrecvmsg.c): Likewise.
4955         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4956         initialization.
4957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4958         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4959         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4960         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4961         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4962         iovlen and controllen fields to adjust to POSIX specification.
4963         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4964         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4965         added recvmsg and sendmsg.
4966         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4968         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4969         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4970         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4971         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4972         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4973         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4974         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4975         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4976         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4977         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4979         Likewise.
4980         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4982         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4983         Likewise.
4984         Likewise.
4985         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4986         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4987         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4988         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4989         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4994         Likewise.
4995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4999         from auto-generation.
5000         (sendmsg): Likewise.
5001         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5002         (sendmsg): Likewise.
5003         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5004         (sendmsg): Likewise.
5005         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5006         (sendmsg): Likewise.
5007         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5008         (sendmsg): Likewise.
5009         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5010         (sendmsg): Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5012         Likewise.
5013         (sendmsg): Likewise.
5014         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5015         (sendmsg): Likewise.
5016         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5017         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5018         Remove.
5019         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5020         Likewise.
5021         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5022         Undefine.
5023         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5024         Likewise.
5025         * sysdeps/unix/sysv/linux/kernel-features.h
5026         (__ASSUME_SENDMSG_SYSCALL): Define.
5027         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5028         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5029         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5030         Remove.
5031         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5032         Likewise.
5033         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5034         Undefine.
5035         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5036         Likewise.
5037         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5039         Remove.
5040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5041         Likewise.
5042         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5043         Undefine.
5044         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5045         Likewise.
5046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5047         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5048         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5050         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5051         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5052         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5053         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5054         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5056 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5058         * stdlib/gen-tst-strtod-round.c: Add backslash to
5059         compile command in comment.
5060         (printfp): Remove the literal suffix, and define an infinite
5061         value as INF to avoid expansion clash with INFINITY.
5062         (round_str): Remove the literal suffix.
5063         (round_for_all): Likewise, remove the now duplicate ldbl-64
5064         entry, and remove some magic constants.
5066         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5067         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5068         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5069         (_CONCAT): New macro.
5070         (CONCAT): Likewise.
5071         (CHOOSE_ld): Likewise.
5072         (CHOOSE_f): Likewise.
5073         (CHOOSE_d): Likewise.
5074         (FTYPE_MEMBER): Likewise.
5075         (BOOL_MEMBER): Likewise.
5076         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5077         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5078         (_XNTRY): Likewise.
5079         (XNTRY): Likewise.
5080         (_ENTRY): Likewise.
5081         (ENTRY): Likewise.
5082         (test_exactness): Generate members via macro.
5083         (test_results): Likewise.
5084         (test): Update members.
5085         (TEST): Redefine using new macros.
5086         (INF): New macro.
5087         (fetestmodes): New structure.
5088         (do_test): Refactor to be type generic.
5089         (test_in_one_mode): Refactor duplicate code into
5090         (GEN_ONE_TEST): New macro.
5092         * stdlib/tst-strtod-round-data.h: Regenerate.
5094         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5095         Extend to pass additional arbitrary parameters to
5096         generators.
5098 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5100         [BZ #15479]
5101         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5102         floating-point state after first floating-point operation on
5103         input.  Restore full floating-point state instead of just rounding
5104         mode.
5105         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5106         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5107         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5108         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5109         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5111         [BZ #15479]
5112         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5113         floating-point state after first floating-point operation on
5114         input.  Restore full floating-point state instead of just rounding
5115         mode.
5116         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5117         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5118         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5119         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5120         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5124         [BZ #19727]
5125         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5126         valid high surrogate.
5127         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5128         of an utf16 surrogate.
5129         * iconv/gconv_simple.c (BODY): Likewise.
5130         * iconvdata/bug-iconv12.c: New file.
5131         * iconvdata/Makefile (tests): Add bug-iconv12.
5133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5135         [BZ #19726]
5136         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5137         outptrp in case of an illegal input.
5138         * iconv/tst-iconv6.c: New file.
5139         * iconv/Makefile (tests): Add tst-iconv6.
5141 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5143         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5144         an error in case of a value in range of an utf16 low surrogate.
5146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5148         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5149         an error in case of a value in range of an utf16 low surrogate.
5151 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5153         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5154         Move to ...
5155         * sysdeps/s390/Makefile: ... here.
5156         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5157         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5158         (BRANCH_ON_COUNT): New define.
5159         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5160         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5161         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5162         run on s390-32, too.
5163         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5164         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5165         run on s390-32, too.
5166         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5167         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5168         run on s390-32, too.
5170 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5172         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5173         etf3eh or new vector loop-variant.
5175 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5177         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5178         etf3eh or new vector loop-variant.
5180 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5182         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5183         or new vector loop-variant.
5185 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5187         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5188         Rename to TR_LOOP and usage of tr instead of troo instruction.
5190 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5192         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5195 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5197         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5198         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5199         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5200         New override define.
5201         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5203 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5205         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5206         * sysdeps/s390/configure.ac: Add test for S390 vector register
5207         support in gcc.
5208         * sysdeps/s390/configure: Regenerated.
5210 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5212         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5213         Install file from $(objpfx)gconv-modules.
5214         ($(objpfx)gconv-modules): Concatenate architecture specific file
5215         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5216         * sysdeps/s390/gconv-modules: New file.
5217         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5218         Deleted.
5219         ($(objpfx)gconv-modules-s390): Deleted.
5220         (sysdeps-gconv-modules): New variable.
5222 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #15479]
5225         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5226         of immediate operand to rounding instruction.
5227         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5228         Likewise.
5229         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5230         Likewise.
5231         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5232         Likewise.
5234 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5236         * math/libm-test.inc (MIN_EXP): Directly define as
5237         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5239 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5241         * math/libm-test.inc (MANT_DIG): Directly define as
5242         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5244 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5246         * stdlib/gen-tst-strtod-round.c (main):
5247           Change usage to more closely match the generated
5248           output.  Add usage and compilation instructions.
5249           (string_to_fp): Add and use FILE* parameter as
5250           output target.
5251           (print_fp): Likewise.
5252           (round_str): Likewise.
5253           (round_for_all): Likewise.
5254         * stdlib/tst-strtod-round.c (tests): Move into
5255         * stdlib/tst-strtod-round-data.h: New file.
5257 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5259         [BZ #15479]
5260         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5261         (__round): Do not force "inexact" exception.
5262         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5263         variable.
5264         (__round): Do not force "inexact" exception.
5265         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5266         (__roundf): Do not force "inexact" exception.
5267         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5268         (__roundl): Do not force "inexact" exception.
5269         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5270         (__roundl): Do not force "inexact" exception.
5271         * math/libm-test.inc (round_test_data): Do not allow spurious
5272         "inexact" exceptions.
5274         [BZ #15479]
5275         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5276         exception in comment.
5277         (huge): Remove variable.
5278         (__floor): Do not force "inexact" exception.
5279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5280         "inexact" exception in comment.
5281         (huge): Remove variable.
5282         (__floor): Do not force "inexact" exception.
5283         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5284         exception in comment.
5285         (huge): Remove variable.
5286         (__floorf): Do not force "inexact" exception.
5287         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5288         exception in comment.
5289         (huge): Remove variable.
5290         (__floorl): Do not force "inexact" exception.
5292         [BZ #15479]
5293         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5294         exception in comment.
5295         (huge): Remove variable.
5296         (__ceil): Do not force "inexact" exception.
5297         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5298         "inexact" exception in comment.
5299         (huge): Remove variable.
5300         (__ceil): Do not force "inexact" exception.
5301         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5302         (__ceilf): Do not force "inexact" exception.
5303         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5304         exception in comment.
5305         (huge): Remove variable.
5306         (__ceill): Do not force "inexact" exception.
5308 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5310         * config.h.in (BIND_NOW): New.
5311         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5312         * configure: Regenerated.
5313         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5314         indirect branch via the GOT slot.
5316 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5318         [BZ #19765]
5319         * sysdeps/s390/mempcpy.S: New File.
5320         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5322         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5323         Add mempcpy variants.
5324         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5325         (memcpy): Adjust to be usable from mempcpy entry point.
5326         (__memcpy_mvcle): Likewise.
5327         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5328         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5329         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5330         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5331         (__memcpy_z10): Likewise.
5332         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5334 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5336         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5337         Remove __GI_ symbol.
5338         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5339         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5340         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5341         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5342         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5343         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5345 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5347         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5348         Use cghi instead of chi to compare 64bit value.
5350 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5352         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5353         Jump to 1MB check before executing mvc-loop.
5355 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5357         [BZ #6527]
5358         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5359         unconditionally.
5360         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5362 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5364         * stdlib/tst-strtod6.c (do_test): Use new type generic
5365         invocation of the test function.
5366         (test): Refactor into ...
5367         (TEST_STRTOD): New macro base function.
5369 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5371         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5372         (TEST_STRTOD): New macro.
5373         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5375 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5377         * stdlib/tst-strtod6.c (do_test): Use new type generic
5378         invocation of the test function.
5379         (test): Refactor into ...
5380         (TEST_STRTOD): New macro base function.
5382 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5384         CVE-2016-4429
5385         [BZ #20112]
5386         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5387         payload.
5389 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5391         [BZ #20111]
5392         * bits/sockaddr.h (_SS_SIZE): Define.
5393         * bits/socket.h (_SS_SIZE): Remove.
5394         (_SS_PADSIZE): Adjust to account for all padding.
5395         (struct sockaddr_storage): Update comment.  Avoid implicit
5396         padding.
5397         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5398         (_SS_PADSIZE): Adjust to account for all padding.
5399         (struct sockaddr_storage): Update comment.  Avoid implicit
5400         padding.
5401         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5402         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5403         (_SS_PADSIZE): Adjust to account for all padding.
5404         (struct sockaddr_storage): Update comment.  Avoid implicit
5405         padding.
5406         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5407         __SS_SIZE is 126 in this version.
5408         * inet/tst-sockaddr.c: New file.
5409         * inet/Makefile (tests): Add tst-sockaddr.c
5410         (tst-sockaddr.c): Compile with non-strict aliasing.
5412 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5414         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5415         [XPG3 || XPG4].
5416         (NL_ARGMAX): Also expect for [XPG3].
5417         (NL_LANGMAX): Likewise.
5418         (NL_MSGMAX): Likewise.
5419         (NL_NMAX): Likewise.
5420         (NL_SETMAX): Likewise.
5421         (NL_TEXTMAX): Likewise.
5422         (NZERO): Likewise.
5423         (TMP_MAX): Likewise.
5424         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5425         variable.
5427         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5428         (PF_MAX): Update value.
5429         (AF_KCM): New macro.
5430         (SOL_NETBEUI): Likewise.
5431         (SOL_LLC): Likewise.
5432         (SOL_DCCP): Likewise.
5433         (SOL_NETLINK): Likewise.
5434         (SOL_TIPC): Likewise.
5435         (SOL_RXRPC): Likewise.
5436         (SOL_PPPOL2TP): Likewise.
5437         (SOL_BLUETOOTH): Likewise.
5438         (SOL_PNPIPE): Likewise.
5439         (SOL_RDS): Likewise.
5440         (SOL_IUCV): Likewise.
5441         (SOL_CAIF): Likewise.
5442         (SOL_ALG): Likewise.
5443         (SOL_NFC): Likewise.
5444         (SOL_KCM): Likewise.
5445         (MSG_BATCH): New enum value and macro.
5447 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5449         [BZ #18185]
5450         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5451         sharing L2 cache to 2 for Knights Landing.
5453 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5455         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5456         (FTW_DP): Do not expect for [XPG3 || XPG4].
5457         (FTW_SL): Do not expect for [XPG3].
5458         (FTW_SLN): Likewise.
5459         (FTW_PHYS): Likewise.
5460         (FTW_MOUNT): Likewise.
5461         (FTW_DEPTH): Likewise.
5462         (FTW_CHDIR): Likewise.
5463         (nftw): Likewise.
5464         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5465         variable.
5467 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5469         * manual/errno.texi: Fix various typos & grammar errors.
5471 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5473         * manual/intro.texi: Fix duplicated typo.
5475 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5477         [BZ #13304]
5478         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5479         <float.h>, <math_private.h> and <stdlib.h>.
5480         (add_split): New function.
5481         (mul_split): Likewise.
5482         (ext_val): New typedef.
5483         (store_ext_val): New function.
5484         (mul_ext_val): New function.
5485         (compare): New function.
5486         (add_split_ext): New function.
5487         (__fmal): After checking for Inf, NaN and zero, compute result as
5488         an exact sum of scaled double values in round-to-nearest before
5489         adding those up and adjusting for other rounding modes.
5490         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5491         tests of fma.
5492         * math/auto-libm-test-out: Regenerated.
5494 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5496         [BZ #20119]
5497         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5498         processor level type mask for CPUID with EAX == 11.
5500 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5502         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5503         logical threads if the HTT bit is 0.
5504         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5505         (index_cpu_HTT): Likewise.
5506         (reg_HTT): Likewise.
5508 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5510         [BZ #20115]
5511         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5512         Remove alignments on jump targets.
5514 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5516         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5517         (getpwent): Likewise.
5518         (setpwent): Likewise.
5519         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5520         variable.
5522         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5523         (remque): Likewise.
5524         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5525         variable.
5527 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5529         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5530         not being tested.
5532 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5535         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5536         call.
5537         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5538         (__condvar_cleanup1): Likewise.
5540 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5542         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5543         New
5544         (__pthread_unwind): Renamed to ...
5545         (PTHREAD_UNWIND): This.
5546         (__pthread_enable_asynccancel): Replace
5547         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5549 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5551         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5552         (CLONE_NEWCGROUP): New macro.
5554         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5555         (Q_GETNEXTQUOTA): New macro.
5557 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5559         [BZ #19907]
5560         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5561         buffer updated by the previous run.
5562         * string/test-memcpy.c (do_one_test): Likewise.
5563         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5564         * string/test-memmove.c (do_one_test): Likewise.
5566 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5568         [BZ #20094]
5569         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5570         not [__USE_XOPEN].
5571         (unlockpt): Likewise.
5572         (ptsname): Likewise.
5573         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5574         variable.
5576         [BZ #20076]
5577         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5578         instead of [__USE_UNIX98].
5579         (S_ISSOCK): Likewise.
5580         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5581         variable.
5583         [BZ #20074]
5584         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5585         [__USE_POSIX].
5586         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5587         variable.
5589         [BZ #20051]
5590         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5591         (ttyslot): Do not declare.
5592         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5593         (ttyslot): New prototype.
5594         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5595         variable.
5596         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5598 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5600         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5602 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5604         Fix race condition in tst-mallocfork2, use fewer resources.
5605         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5606         to current process group.
5607         (signal_sender): Yield in the non-sleeping case.
5609 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5611         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5612         (ecvt): Likewise.
5613         (fcvt): Likewise.
5614         (gcvt): Likewise.
5615         (getsubopt): Likewise.
5616         (grantpt): Likewise.
5617         (initstate): Likewise.
5618         (l64a): Likewise.
5619         (mktemp): Likewise.
5620         (mkstemp): Likewise.
5621         (ptsname): Likewise.
5622         (random): Likewise.
5623         (realpath): Likewise.
5624         (setstate): Likewise.
5625         (srandom): Likewise.
5626         (ttyslot): Likewise.
5627         (unlockpt): Likewise.
5628         (valloc): Likewise.
5630         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5631         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5632         variable.
5634 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5636         [BZ #20072]
5637         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5638         init_cpu_features only if SHARED is defined.
5639         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5641 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5643         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5644         non-inclusive caches on Intel processors.
5646 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5648         * malloc/malloc.c (dumped_main_arena_start)
5649         (dumped_main_arena_end): New variables.
5650         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5651         (do_check_chunk): Skip dumped fake mmapped chunks.
5652         (munmap_chunk): Likewise.
5653         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5654         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5655         mmapped chunks.
5656         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5657         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5658         and dumped_main_arena_end to cover the dumped heap.
5660 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5662         * conform/data/time.h-data (getdate_err): Do not expect for
5663         [XPG3].
5664         (getdate): Likewise.
5665         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5666         variable.
5668         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5669         (F_ULOCK): Likewise.
5670         (F_TEST): Likewise.
5671         (F_TLOCK): Likewise.
5672         (useconds_t): Likewise.
5673         (intptr_t): Do not expect for [XPG3] or [XPG4].
5674         (brk): Do not expect for [XPG3]
5675         (fchown): Likewise.
5676         (fchdir): Likewise.
5677         (ftruncate): Likewise.
5678         (getdtablesize): Likewise.
5679         (gethostid): Likewise.
5680         (getpagesize): Likewise.
5681         (getpgid): Likewise.
5682         (getsid): Likewise.
5683         (getwd): Likewise.
5684         (lchown): Likewise.
5685         (lockf): Likewise.
5686         (readlink): Likewise.
5687         (sbrk): Likewise.
5688         (setpgrp): Likewise.
5689         (setregid): Likewise.
5690         (setreuid): Likewise.
5691         (symlink): Likewise.
5692         (sync): Likewise.
5693         (truncate): Likewise.
5694         (ualarm): Likewise.
5695         (usleep): Likewise.
5696         (vfork): Likewise.
5697         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5698         variable.
5700         [BZ #20054]
5701         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5702         not [__USE_UNIX98].
5703         * conform/data/unistd.h-data (gethostname): Do not expect for
5704         [XPG3].
5706         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5707         [!POSIX] (S_IFBLK): Likewise.
5708         [!POSIX] (S_IFCHR): Likewise.
5709         [!POSIX] (S_IFIFO): Likewise.
5710         [!POSIX] (S_IFREG): Likewise.
5711         [!POSIX] (S_IFDIR): Likewise.
5712         [!POSIX] (S_IFLNK): Likewise.
5713         [!POSIX] (S_IFSOCK): Likewise.
5714         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5715         variable.
5716         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5718 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5720         * sysdeps/aarch64/memset.S (__memset):
5721         Rewrite of optimized memset.
5723 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5725         [BZ #19703]
5726         Partially async-signal-safe fork for single-threaded processes.
5727         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5728         variable.  Do not acquire and reset/release malloc and libio locks
5729         in single-threaded processes.
5730         * malloc/tst-mallocfork2.c: New file.
5731         * malloc/Makefile (tests): Add it.
5733 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5735         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5736         argument.  Use scratch buffer instead of extend_alloca.
5737         (gethosts): Use scratch buffer instead of extend_alloca.
5738         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5739         extend_alloca.
5740         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5742 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #20055]
5745         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5746         instead of [__USE_UNIX98].
5747         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5748         [__USE_UNIX98].
5749         * conform/data/termios.h-data (tcgetsid): Do not expect for
5750         [XPG3].
5751         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5752         variable.
5753         (test-xfail-XPG4/termios.h/conform): Likewise.
5755 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5757         Do not use mcheck in localedef.
5758         * locale/programs/localedef.c (turn_on_mcheck)
5759         (__malloc_initialize_hook): Remove.
5761 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5763         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5764         * sysdeps/s390/s390-64/Makefile: Likewise.
5766 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5768         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5769         Remove ifunc-defines.sym.
5770         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5771         Likewise.
5772         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5773         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5774         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5775         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5776         rtld-global-offsets.sym.
5777         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5778         * sysdeps/x86/cpu-features-offsets.sym: This.
5779         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5780         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5782 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5784         [BZ #20073]
5785         * io/sys/stat.h (fchmod): Declare for
5786         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5787         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5788         variable.
5790         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5791         [XPG3] (S_IFSOCK): Likewise.
5792         [XPG3] (S_ISVTX): Likewise.
5793         [XPG3] (S_ISLNK): Likewise.
5794         [XPG3] (S_ISSOCK): Likewise.
5795         [XPG3] (fchmod): Likewise.
5796         [XPG3] (lstat): Likewise.
5797         [XPG3] (mknod): Likewise.
5799         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5800         [XPG3].  Expect type long and XFAIL for [XPG4].
5801         (st_blocks): Likewise.
5803         [BZ #20044]
5804         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5805         (pthread_atfork): New prototype.
5806         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5807         variable.
5809         [BZ #20043]
5810         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5811         prototype.
5813 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5815         [BZ #20017]
5816         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5817         gmtime.
5819 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5821         [BZ #19994]
5822         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5823         flag in _res.options.
5825 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5827         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5828         [XPG3 || XPG4].
5829         (blksize_t): Likewise.
5830         (clockid_t): Likewise.
5831         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5832         variable.
5833         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5835 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5837         * sysdeps/unix/sysv/linux/s390/init-first.c:
5838         Add VDSO_SYMBOL(getcpu).
5839         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5840         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5841         Add VDSO_SYMBOL(getcpu).
5842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5843         New define HAVE_GETCPU_VSYSCALL.
5844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5846 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5848         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5849         instead of <sysdeps/x86_64/cacheinfo.c>.
5850         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5851         * sysdeps/x86/cacheinfo.c: Here.
5853 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5855         * malloc/malloc-internal.h: Adjust header file guard.
5857 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5859         [BZ #19787]
5860         * inet/getnameinfo.c (check_sprintf_result): New function.
5861         (CHECKED_SNPRINTF): New macro.
5862         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5863         to the host buffer.
5864         (gni_host_local): Use checked_copy to copy the host name.
5865         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5866         (gni_serv_local): Use checked_copy to copy the service name.
5867         (getnameinfo): Remove unnecessary truncation of result buffers.
5869 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5871         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5872         in case of inet_ntop failure.
5874 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5876         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5877         avoid long lines.
5878         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5879         variables.
5880         (gni_host_inet, gni_host_local): Add comment.
5881         (gni_host): Add comment.  Use temporary to avoid long lines.
5883 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5885         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5886         registers specifiers where general purpose registers specifiers should
5887         have been used.
5889 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5891         [BZ #19779]
5892         CVE-2016-1234
5893         Avoid copying names of directory entries.
5894         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5895         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5896         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5897         (struct readdir_result): New type.
5898         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5899         (GL_READDIR): New macros.
5900         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5901         (convert_dirent, convert_dirent64): New functions.
5902         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5903         convert_dirent64.  Adjust references to the readdir result.
5904         * sysdeps/unix/sysv/linux/i386/glob64.c:
5905         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5906         * posix/bug-glob2.c (LONG_NAME): Define.
5907         (filesystem): Add LONG_NAME.
5908         (my_DIR): Increase the size of room_for_dirent.
5910 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5912         [BZ #20041]
5913         * misc/sys/select.h (__need_timespec): Only define if
5914         [__USE_XOPEN2K].
5915         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5916         variable.
5917         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5918         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5919         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5921 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5922             Segher Boessenkool  <segher@gcc.gnu.org>
5924         [BZ #20004]
5925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5926         (__novec_swapcontext): Add missing load.
5928 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5930         [BZ #20023]
5931         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5932         <time.h>.
5933         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5934         variable.
5935         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5937 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5940         flags CLONE_VM compare.
5942 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5944         [BZ #20031]
5945         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5946         completely empty.
5948 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5950         [BZ #19573]
5951         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5952         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5953         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5954         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5955         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5956         (hesiod_free_list): Mark as hidden.
5957         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5958         res_set, res_get.
5959         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5960         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5961         (hesiod_init): Remove obsolete res_ninit call.
5962         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5963         (hesiod_bind): Do not call init.
5964         (get_txt_records): Use res_mkquery, res_send instead of
5965         res_nmkquery, res_nsend.
5966         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5967         instead of _nss_hesiod_init.
5968         (_nss_hesiod_initgroups_dyn): Likewise.
5969         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5970         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5971         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5973 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5975         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5976         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5978 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5980         * hesiod/hesiod.h: Remove RCS keyword.
5981         * hesiod/hesiod_p.h: Likewise.
5983         * hesiod/hesiod.c: Likewise.
5985 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5987         [BZ #12450]
5988         * locale/iso-639.def: Add Samogitian/sgs.
5990 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5992         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5994         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5996 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5997             Carlos O'Donell  <carlos@redhat.com>
5999         [BZ #19072]
6000         * grp/Makefile (headers): Add grp-merge.h
6001         (routines): Add grp-merge.
6002         * grp/getgrgid_r.c: Include grp-merge.h.
6003         (DEEPCOPY_FN): Define.
6004         (MERGE_FN): Define.
6005         * grp/getgrname_r.c: Include grp-merge.h.
6006         (DEEPCOPY_FN): Define.
6007         (MERGE_FN): Define.
6008         * grp/grp-merge.c: New file.
6009         * grp/grp-merge.h: New file.
6010         * include/grp-merge.h: New file.
6011         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6012         __copy_grp@GLIBC_PRIVATE.
6013         * manual/nss.texi (Actions in the NSS configuration): Describe
6014         return, continue, and merge.
6015         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6016         (DEEPCOPY_FN): Define.
6017         (MERGE_FN): Define.
6018         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6019         (DEEPCOPY_FN): Define.
6020         (MERGE_FN): Define.
6021         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6022         [!MERGE_FN]: Define __merge_einval.
6023         (CHECK_MERGE): Define.
6024         (REENTRANT_NAME): Process merge if do_merge is true.
6025         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6026         (__nss_getent_r): Likewise.
6027         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6028         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6030 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6032         [BZ #20012]
6033         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6034         length to calculate the buffer to read.
6035         (fmemopen_write): Set the buffer position based on bytes written.
6036         (fmemopen_seek): Return EINVAL for invalid whence modes.
6038         [BZ #19957]
6039         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6040         tst-getpid2.
6041         (test): Add tst-clone2.
6042         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6043         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6044         pid/tid fields for CLONE_VM.
6045         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6046         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6047         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6048         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6049         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6050         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6051         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6052         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6054         Likewise.
6055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6056         Likewise.
6057         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6058         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6059         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6060         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6061         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6062         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6063         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6064         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6066 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6068         [BZ #19642]
6069         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6070         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6071         (gni_serv_local, gni_serv): New functions extracted from
6072         getnameinfo.
6073         (getnameinfo): Call gni_host and gni_serv to perform the
6074         processing.  Always free scratch buffer.
6076 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6078         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6079         remaining bytes in the dest string, with zeros.
6081 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6083         [BZ #20010]
6084         CVE-2016-3706
6085         * sysdeps/posix/getaddrinfo.c
6086         (convert_hostent_to_gaih_addrtuple): New function.
6087         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6088         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6089         AF_INET data.
6091 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6093         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6094         callback function gl_readdir.
6095         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6096         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6097         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6098         memcpy to copy the name.
6099         * manual/pattern.texi (Calling Glob): Document requirements for
6100         implementations of the gl_readdir callback function.
6101         * manual/examples/mkdirent.c: New example.
6102         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6103         per the manual guidance.
6104         * posix/tst-gnuglob.c (my_readdir): Likewise.
6106 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6108         [BZ #20014]
6109         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6110         not [__USE_POSIX].
6111         (getchar_unlocked): Likewise.
6112         (putc_unlocked): Likewise.
6113         (putchar_unlocked): Likewise.
6114         (flockfile): Likewise.
6115         (ftrylockfile): Likewise.
6116         (funlockfile): Likewise.
6117         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6118         variable.
6119         (test-xfail-XPG4/stdio.h/conform): Likewise.
6121         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6122         Expect constant.
6123         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6124         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6125         variable.
6126         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6127         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6129         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6130         [__USE_LARGEFILE64] (off64_t): Likewise.
6131         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6132         variable.
6134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6136         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6138 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6140         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6141         * resolv/res_init.c: Likewise.
6142         * resolv/res_mkquery.c: Likewise.
6144 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6146         * resolv/res_init.c (isascii): Do not define.  Use definition in
6147         <ctype.h>.
6148         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6149         (LOG_AUTH): Remove.
6150         (SPRINTF): Remove, adjust caller.
6151         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6155         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6156         SUNSECURITY conditional.
6157         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6159 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6161         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6162         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6163         Remove BSD-related preprocessor conditionals.
6164         * conf/portability.h: Remove.
6166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6168         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6169         * resolv/res_data.c: Likewise.
6171 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6173         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6174         * resolv/res_data.c: Remove code conditional on ultrix.
6176 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6178         * resolv/res_init.c (RFC1535): Do not define.  Remove
6179         RFC1535 preprocessor conditionals.
6180         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6181         because there configuration options which make the resolver
6182         behavior different.
6184 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6186         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6187         RESOLVSORT preprocessor conditionals.
6188         * resolv/nss_dns/dns-host.c: Likewise.
6189         * resolv/res_init.c: Likewise.
6191 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6193         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6194         is never defined.
6196 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6198         * inet/inet_lnaof.c: Remove SCSS keyword.
6199         * inet/inet_mkadr.c: Likewise.
6200         * inet/inet_net.c: Likewise.
6201         * inet/inet_netof.c: Likewise.
6202         * inet/rcmd.c: Likewise.
6203         * inet/rexec.c: Likewise.
6204         * inet/ruserpass.c: Likewise.
6206 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6208         * resolv/inet_addr.c: Remove _LIBC conditionals.
6209         * resolv/res_data.c: Likewise.
6210         * resolv/res_init.c: Likewise.
6211         * resolv/res_mkquery.c: Likewise.
6212         * resolv/res_libc.c: Update comment.
6213         * resolv/README: Update.
6215 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6217         * resolv/gethnamaddr.c: Remove SCSS keyword.
6218         * resolv/herror.c: Likewise.
6219         * resolv/inet_addr.c: Likewise.
6220         * resolv/inet_net_ntop.c: Likewise.
6221         * resolv/inet_net_pton.c: Likewise.
6222         * resolv/inet_neta.c: Likewise.
6223         * resolv/inet_ntop.c: Likewise.
6224         * resolv/inet_pton.c: Likewise.
6225         * resolv/ns_date.c: Remove RCS keyword.
6226         * resolv/ns_name.c: Likewise.
6227         * resolv/ns_netint.c: Likewise.
6228         * resolv/ns_parse.c: Likewise.
6229         * resolv/ns_print.c: Likewise.
6230         * resolv/ns_samedomain.c: Likewise.
6231         * resolv/ns_ttl.c: Likewise.
6232         * resolv/nsap_addr.c: Likewise.
6233         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6234         * resolv/res_data.c: Remove RCS keyword.
6235         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6236         * resolv/res_init.c: Likewise.
6237         * resolv/res_mkquery.c: Likewise.
6238         * resolv/res_query.c: Likewise.
6239         * resolv/res_send.c: Likewise.
6241 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6243         * conform/data/stdio.h-data (fdopen): Expect also for
6244         [XPG3 || XPG4].
6246         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6247         (fseeko): Likewise.
6248         (ftello): Likewise.
6249         (ftrylockfile): Likewise.
6250         (funlockfile): Likewise.
6251         (getc_unlocked): Likewise.
6252         (getchar_unlocked): Likewise.
6253         (putc_unlocked): Likewise.
6254         (putchar_unlocked): Likewise.
6256 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6258         [BZ #19868]
6259         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6260         DNS packet syntax checks (which were not needed before).  Skip
6261         over non-PTR records.
6263 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6265         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6266         definition.  Include <stddef.h> instead.
6268 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6270         [BZ #19831]
6271         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6272         function.
6273         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6274         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6276 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6278         [BZ #19862]
6279         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6280         (getanswer_r): Do not call syslog.
6281         (gaih_getanswer_slice): Likewise.
6282         * resolv/gethnamaddr.c (AskedForGot): Remove.
6283         (getanswer): Do not call syslog.
6284         (gethostbyaddr): Likewise.
6286 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6288         * conform/data/signal.h-data (union sigval): Expect also if
6289         [XOPEN2K].
6290         (struct sigevent): Likewise.
6291         (SIGEV_NONE): Likewise.
6292         (SIGEV_SIGNAL): Likewise.
6293         (SIGEV_THREAD): Likewise.
6294         (SIGRTMIN): Likewise.
6295         (SIGRTMAX): Likewise.
6296         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6297         variable.
6298         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6300 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6302         [BZ #19830]
6303         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6304         (gaih_getanswer_slice): Likewise.
6305         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6306         Also check for availability of RR metadata.
6308 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6310         [BZ #19825]
6311         * resolv/res_send.c (send_vc): Remove early *resplen2
6312         initialization.  Set *resplen2 on socket error.  Call
6313         close_and_return_error for other errors.
6315 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6317         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6318         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6319         (SCM_IUCV_TRGCLS): New define.
6321 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6323         [BZ #20005]
6324         * libio/fmemopen.c (fmemopen_write): Update internal position after
6325         write.
6326         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6327         * stdio-common/tst-fmemopen4.c: New file..
6329 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6331         [BZ #19996]
6332         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6333         not [__USE_XOPEN2K].
6334         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6335         variable.
6337         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6338         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6339         variable.
6341         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6342         [__USE_XOPEN2K8].
6343         [__USE_LARGEFILE64] (off64_t): Likewise.
6344         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6345         variable.
6347 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6349         [BZ #19989]
6350         * libio/stdio.h (cuserid): Do not declare if
6351         [__USE_XOPEN2K && !__USE_GNU].
6352         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6353         variable.
6355 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6357         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6358         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6360         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6361         ifunc'ed strcspn.
6362         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6363         [EALIGN]: Removed.
6364         [END]: Likewise
6365         [STRSPN]: Define instead of the above to control symbol name.
6366         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6367         New file.
6368         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6369         Likewise.
6370         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6371         Likewise.
6372         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6373         Likewise.
6374         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6375         [INITIAL_MASK]: New macro.
6376         [STRCSPN]: Likewise.
6377         [UPDATE_MASK]: Likewise.
6378         [USE_AS_STRCSPN]: Lisewise.
6380 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6382         [BZ #19931]
6383         * stdio-common/tst-vfprintf-width-prec.c: New file.
6384         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6385         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6386         (generated): Add mtrace-related files.
6387         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6388         (tst-%-mem.out): New pattern rule, replaces
6389         tst-printf-bz18872-mem.out.
6390         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6391         specifier, deallocate any previously allocated work buffer.
6393 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6395         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6396         Add nop before __startcontext, add explaining comments.
6398 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6400         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6401         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6402         completely different API.
6404         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6405         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6406         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6407         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6408         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6409         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6410         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6411         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6412         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6413         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6415 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6417         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6419 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6421         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6422         when it is the default of 0.
6424 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6426         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6427         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6428         (sysdep_routines): Add new strcasestr targets.
6429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6430         (__libc_ifunc_impl_list): Likewise.
6431         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6432         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6433         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6434         * sysdeps/powerpc/powerpc64/power8/Makefile:
6435         New file to add strcasestr-ppc64 to sysdep_routines.
6436         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6437         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6439 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6441         * benchtests/Makefile (wcsmbs-benchset): Include only for
6442         native builds and runs.
6443         (LOCALES): Likewise.
6444         (bench-build): Build timing-type here instead of the bench
6445         target.  Generate locale only for native builds.
6446         * benchtests/README: Add note for cross-building.
6448         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6450         * benchtests/README: Update README to include instructions on
6451         using bench-build.
6453         * Makefile.in (bench-build): New target.
6454         * Rules (PHONY): Add bench-build target.
6455         * benchtests/Makefile (bench): Depend on bench-build.
6456         (bench-build): New target.
6458 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6460         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6461         profil_reply_port.
6462         (profile_waiter): Do not initialize profil_reply_port.
6463         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6464         frequency instead of tick length in us.
6466 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6468         [BZ #18712]
6469         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6470         (__old_mempcpy_small): Likewise.
6471         (__old_strcpy_small): Likewise.
6472         (__old_stpcpy_small): Likewise.
6473         (__old_strpbrk_c2): Fix compat symbol name.
6474         (__old_strpbrk_c3): Likewise.
6475         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6476         (__mempcpy_small): Remove.
6477         (__strcpy_small): Remove.
6478         (__stpcpy_small): Remove.
6480 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6482         [BZ #19400]
6483         * locale/iso-639.def: Add the Talossan/tzl language.
6485 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6487         [BZ #16983]
6488         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6489         comment.  Add "ln" to strchr check on postal_fmt.
6491 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6493         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6494         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6495         tel_dom_fmt.
6497 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6499         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6500         (sysdep_routines): Added __strlen_power8.
6501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6502         __strlen_power8 entry.
6503         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6504         Implementation for POWER8.
6505         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6506         for __strlen_power8.
6507         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6508         Implementation for POWER8.
6510 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6512         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6514 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6516         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6517         Goldmont and Airmont processors.
6519 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6521         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6522         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6523         (__STRING2_SMALL_GET32): Remove.
6524         (memset): Remove.
6525         (__memset_1): Remove.
6526         (__memset_gc): Remove.
6527         (__mempcpy): Remove.
6528         (mempcpy): Remove.
6529         (__mempcpy_args): Remove.
6530         (strchr): Remove.
6531         (strcpy): Remove.
6532         (strcpy_args): Remove.
6533         (__stpcpy_args): Remove.
6534         (__strcmp_cc): Remove.
6535         (__strcmp_gc): Remove.
6536         (strstr): Remove.
6538 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6540         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6541         * nis/nis_call.c (nis_server_cache_add): Likewise.
6543 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6545         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6547 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6549         * malloc/arena.c (__malloc_fork_lock_parent)
6550         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6551         internal_function attribute.
6553 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6555         * stdio-common/printf_fp.c (__printf_fp_l):
6556         Rename ___printf_fp_l to __printf_fp_l and
6557         remove strong alias. Use libc_hidden_def instead
6558         of ldbl_hidden_def macro.
6560 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6562         Remove malloc hooks from fork handler.  They are no longer needed
6563         because malloc runs right before fork, and no malloc calls from
6564         other fork handlers are not possible anymore.
6565         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6566         declarations.
6567         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6568         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6569         (atfork_recursive_cntr): Remove.
6570         (__malloc_fork_lock_parent): Do not override malloc hooks and
6571         thread_arena.
6572         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6573         thread_arena.
6574         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6575         thread_arena instead of save_arena.
6577 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6579         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6580         (thread_atfork, thread_atfork_static): Remove.
6581         * sysdeps/mach/hurd/malloc-machine.h:
6582         (thread_atfork, thread_atfork_static): Remove.
6584 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6586         [BZ #19431]
6587         Run the malloc fork handler as late as possible to avoid deadlocks.
6588         * malloc/malloc-internal.h: New file.
6589         * malloc/malloc.c: Include it.
6590         * malloc/arena.c (ATFORK_MEM): Remove.
6591         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6592         Update comment.
6593         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6594         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6595         Remove outdated comment.
6596         (ptmalloc_init): Do not call thread_atfork.  Remove
6597         thread_atfork_static.
6598         * malloc/tst-malloc-fork-deadlock.c: New file.
6599         * Makefile (tests): Add tst-malloc-fork-deadlock.
6600         (tst-malloc-fork-deadlock): Link against libpthread.
6601         * manual/memory.texi (Aligned Memory Blocks): Update safety
6602         annotation comments.
6603         * sysdeps/nptl/fork.c (__libc_fork): Call
6604         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6605         __malloc_fork_unlock_child.
6606         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6608 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6610         [BZ #19613]
6611         Remove union wait.
6612         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6613         (w_stopsig, w_stopval): Remove.
6614         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6615         stat_loc argument.
6616         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6617         (__WAIT_STATUS_DEFN): Remove.
6618         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6619         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6620         (wait, wait3, wait4): Use int * for the stat_loc argument.
6621         * posix/wait.c (__wait): Likewise.
6622         * posix/wait3.c (__wait3): Likewise.
6623         * posix/wait4.c (__wait4): Likewise.
6624         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6625         (__WAIT_STATUS_DEFN): Remove.
6626         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6627         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6628         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6629         argument.
6630         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6631         * sysdeps/posix/wait3.c (__wait3): Likewise.
6632         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6633         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6634         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6635         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6636         stat_loc argument.
6637         * manual/process.texi (BSD Wait Functions): Remove union wait.
6639 2016-04-13  Andreas Schwab  <schwab@suse.de>
6641         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6642         (test-extras): Add tst-tlsalign-vars.
6643         * math/Makefile: Wrap long lines.
6644         (libm-vec-test-wrappers): Define.
6645         (test-extras): Add $(libm-vec-test-wrappers).
6646         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6647         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6648         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6649         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6650         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6651         (extra-test-objs): Add corresponding objects.
6653 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6655         [BZ #19928]
6656         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6657         New.
6658         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6659         times of shared cache size.
6660         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6661         (VMOVNT): New.
6662         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6663         (VMOVNT): Likewise.
6664         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6665         (VMOVNT): Likewise.
6666         (VMOVU): Changed to movups for smaller code sizes.
6667         (VMOVA): Changed to movaps for smaller code sizes.
6668         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6669         comments.
6670         (PREFETCH): New.
6671         (PREFETCH_SIZE): Likewise.
6672         (PREFETCHED_LOAD_SIZE): Likewise.
6673         (PREFETCH_ONE_SET): Likewise.
6674         Rewrite to use forward and backward loops, which move 4 vector
6675         registers at a time, to support overlapping addresses and use
6676         non temporal store if size is above the threshold and there is
6677         no overlap between destination and source.
6679 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6681         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6682         Include dl-vdso.
6683         * sysdeps/unix/sysv/linux/mips/Versions: Add
6684         __vdso_clock_gettime.
6685         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6686         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6687         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6688         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6689         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6690         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6691         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6692         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6693         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6695 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6697         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6698         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6701         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6702         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6705         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6707         syscalls generation.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6709         [__NR_pwrite64] (__NR_write): Remove define.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6711         [__NR_pwrite64] (__NR_write): Remove define.
6712         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6713         Remove define.
6714         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6715         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6716         Remove define.
6717         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6718         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6719         Linux implementation as base.
6720         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6723         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6728         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6730         syscall generation.
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6732         [__NR_pread64] (__NR_pread): Remove define.
6733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6734         [__NR_pread64] (__NR_pread): Likewise.
6735         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6736         define.
6737         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6738         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6739         Remove define.
6740         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6741         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6742         Linux implementation as base.
6743         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6744         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6745         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6747         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6748         definition.
6749         (__ALIGNMENT_COUNT): Likewise.
6750         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6751         (__ALIGNMENT_COUNT): Likewise.
6752         (SYSCALL_LL): New define.
6753         (SYSCALL_LL64): Likewise.
6754         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6755         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6756         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6757         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6759         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6760         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6761         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6762         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6763         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6764         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6766 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6768         [BZ #19865]
6769         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6770         original buffer before retry.
6772 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6774         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6775         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6776         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6777         GLRO(dl_auxv) list.
6778         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6779         including <ldsodefs.h>.
6780         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6782 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6784         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6785         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6786         $(CPPFLAGS).
6788 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6790         [BZ #17950]
6791         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6792         Add -mfpmath=387.
6794 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6796         * sysdeps/i386/configure.ac: Change == to = when calling test.
6797         * sysdeps/x86_64/configure.ac: Likewise.
6798         * sysdeps/i386/configure: Regenerated.
6799         * sysdeps/x86_64/configure: Likewise.
6801 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6803         [BZ #16137]
6804         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6805         * benchtests/bench-strcoll.c (input_files): Likewise.
6806         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6807         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6808         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6810 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6812         [BZ #19929]
6813         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6814         [__USE_XOPEN2K8 && !__USE_GNU].
6815         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6816         variable.
6818         [BZ #19925]
6819         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6820         define if [!__USE_MISC && __USE_XOPEN2K].
6821         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6822         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6823         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6826         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6827         variable.
6828         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6830 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6832         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6833         (sysdep_routines): Add new strspn targets.
6834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6835         (__libc_ifunc_impl_list): Add strspn.
6836         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6837         New file.
6838         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6839         Likewise.
6840         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6841         Likewise.
6842         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6843         Likewise.
6845 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6847         * misc/hsearch_r.c: Include <limits.h>.
6849 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6851         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6853 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6855         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6856         (MEMCPY_SYMBOL): New.
6857         (MEMPCPY_SYMBOL): Likewise.
6858         (MEMMOVE_CHK_SYMBOL): Likewise.
6859         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6860         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6861         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6862         Provide alias for memcpy in libc.a and ld.so.
6864 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6866         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6867         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6868         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6869         Disabled fro now.
6870         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6871         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6873 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6875         * benchtests/Makefile (string-benchset): Add memcpy-large,
6876         memmove-large and memset-large.
6877         * benchtests/bench-memcpy-large.c: New file.
6878         * benchtests/bench-memmove-large.c: Likewise.
6879         * benchtests/bench-memmove-large.c: Likewise.
6880         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6882 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6884         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6885         32-bit displacement to avoid long nop between instructions.
6887 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6889         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6890         a comment on VMOVU and VMOVA.
6892 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6894         [BZ #19633]
6895         Use specified locale for number formatting in strfmon_l.
6896         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6897         (__nl_lookup_word): New inline functions.
6898         * include/printf.h (__print_fp_l): Declare.
6899         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6900         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6901         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6902         (___printf_fp): New function.
6903         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6904         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6905         * stdlib/tst-strfmon_l.c (do_test): New test.
6906         * stdlib/Makefile (tests): Add kt.
6907         (LOCALES): Build additional locales.
6908         (tst-strfmon_l.out): Require locales.
6910 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6912         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6913         if not in libc.
6914         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6915         Likewise.
6916         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6917         Likewise.
6918         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6919         Likewise.
6921 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6924         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6925         with unaligned_erms.
6926         (__memmove_erms): Skip if source == destination.
6927         (__memmove_unaligned_erms): Don't check source == destination
6928         first.
6930 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6932         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6933         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6935 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6937         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6938         * string/strspn.c (strspn): Likewise.
6940 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6942         * benchtests/bench-memset.c (do_test): Support 64-byte
6943         alignment.
6944         (test_main): Test 64-byte alignment.
6946 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6948         * benchtests/bench-memmove.c (test_main): Test 64-byte
6949         alignment.
6951 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6953         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6955 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6957         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6958         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6959         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6961         * string/strpbrk.c (strpbrk): Rewrite function.
6962         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6963         (__strpbrk_c2): Likewise.
6964         (__strpbrk_c3): Likewise.
6965         * string/string-inlines.c
6966         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6967         Likewise.
6968         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6969         Likewise.
6971         * string/strspn.c (strcspn): Rewrite function.
6972         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6973         (__strspn_c1): Remove inline function.
6974         (__strspn_c2): Likewise.
6975         (__strspn_c3): Likewise.
6976         * string/string-inlines.c
6977         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6978         compatibility symbol.
6979         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6980         Likewise.
6981         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6982         Likewise.
6983         * string/string-inlines.c: Include generic version.
6985 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6986             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6988         * string/Version (libc): Add GLIBC_2.24.
6989         * string/strcspn.c (strcspn): Rewrite function.
6990         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6991         (__strcspn_c1): Remove inline function.
6992         (__strcspn_c2): Likewise.
6993         (__strcspn_c3): Likewise.
6994         * string/string-inline.c
6995         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6996         compatibility symbol.
6997         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6998         Likewise.
6999         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7000         Likewise.
7001         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7003 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7005         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7006         Use ahi instead of aghi to adjust stack pointer.
7008 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7010         [BZ #19853]
7011         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7012         TEST to take significant digits as second parameter.
7013         [TEST]: Redefine in terms of TEST_N taking 30
7014         significant digits.
7015         (do_test): Add test case to demonstrate precision
7016         failure in the ldbl-128ibm printf.
7017         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7018         (__mpn_extract_long_double): Carry 7 extra intermediate
7019         bits of precision to aide computing difference when
7020         signs differ.
7022 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7024         [BZ #19881]
7025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7026         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7027         memset-avx512-unaligned-erms.
7028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7029         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7030         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7031         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7032         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7033         __memset_sse2_unaligned_erms, __memset_erms,
7034         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7035         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7036         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7037         file.
7038         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7039         Likewise.
7040         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7041         Likewise.
7042         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7043         Likewise.
7045 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7047         [BZ #19776]
7048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7049         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7050         memmove-avx512-unaligned-erms.
7051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7052         (__libc_ifunc_impl_list): Test
7053         __memmove_chk_avx512_unaligned_2,
7054         __memmove_chk_avx512_unaligned_erms,
7055         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7056         __memmove_chk_sse2_unaligned_2,
7057         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7058         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7059         __memmove_avx512_unaligned_erms, __memmove_erms,
7060         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7061         __memcpy_chk_avx512_unaligned_2,
7062         __memcpy_chk_avx512_unaligned_erms,
7063         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7064         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7065         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7066         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7067         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7068         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7069         __mempcpy_chk_avx512_unaligned_erms,
7070         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7071         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7072         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7073         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7074         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7075         __mempcpy_erms.
7076         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7077         file.
7078         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7079         Likwise.
7080         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7081         Likwise.
7082         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7083         Likwise.
7085 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7087         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7088         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7089         (La_s390_64_regs): Likewise.
7090         (La_s390_32_retval): Append vector register lrv_v24.
7091         (La_s390_64_retval): Likeweise.
7092         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7093         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7094         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7095         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7097 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7099         [BZ #19916]
7100         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7101         to create a non-vector/vector version for _dl_runtime_resolve and
7102         _dl_runtime_profile. Move implementation to ...
7103         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7104         (_dl_runtime_resolve) Save and restore fpr/vrs.
7105         (_dl_runtime_profile) Save and restore vrs and fix some issues
7106         if _dl_call_pltexit is called.
7107         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7108         Choose the correct resolver function if running on a machine with vx.
7109         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7110         to create a non-vector/vector version for _dl_runtime_resolve and
7111         _dl_runtime_profile. Move implementation to ...
7112         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7113         (_dl_runtime_resolve) Save and restore fpr/vrs.
7114         (_dl_runtime_profile) Save and restore vrs and fix some issues
7115         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7116         Choose the correct resolver function if running on a machine with vx.
7118 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7120         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7122 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7124         [BZ #19509]
7125         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7126         skip_map != NULL.
7127         * elf/tst-dlsym-error.c: New file.
7128         * elf/Makefile (tests): Add tst-dlsym-error.
7129         (tst-dlsym-error): Link against libdl.
7131 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7134         (__ASSUME_FUTIMESAT): Remove macro.
7135         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7137 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7139         [BZ #19879]
7140         CVE-2016-3075
7141         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7142         copy name.
7144 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7146         [BZ #19837]
7147         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7148         error if parse_line fails.
7150 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7152         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7153         (index_cpu_ERMS): Likewise.
7154         (reg_ERMS): Likewise.
7156 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7158         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7159         PER_LINUX_FDPIC): Add.
7161 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7164         memcpy-avx512-no-vzeroupper.
7165         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7166         to ...
7167         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7168         (MEMCPY): Don't define.
7169         (MEMCPY_CHK): Likewise.
7170         (MEMPCPY): Likewise.
7171         (MEMPCPY_CHK): Likewise.
7172         (MEMPCPY_CHK): Renamed to ...
7173         (__mempcpy_chk_avx512_no_vzeroupper): This.
7174         (MEMPCPY_CHK): Renamed to ...
7175         (__mempcpy_chk_avx512_no_vzeroupper): This.
7176         (MEMCPY_CHK): Renamed to ...
7177         (__memmove_chk_avx512_no_vzeroupper): This.
7178         (MEMCPY): Renamed to ...
7179         (__memmove_avx512_no_vzeroupper): This.
7180         (__memcpy_avx512_no_vzeroupper): New alias.
7181         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7183 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7185         [BZ #18858]
7186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7187         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7188         and mempcpy-avx512-no-vzeroupper.
7189         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7190         New.
7191         (MEMPCPY): Likewise.
7192         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7193         (MEMPCPY_CHK): New.
7194         (MEMPCPY): Likewise.
7195         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7196         (MEMPCPY): Likewise.
7197         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7198         (MEMPCPY): Likewise.
7199         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7200         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7201         Likewise.
7202         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7203         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7205 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7206              Amit Pawar  <Amit.Pawar@amd.com>
7208         [BZ #19583]
7209         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7210         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7211         processors.  Set Fast_Copy_Backward for AMD Excavator
7212         processors.
7213         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7214         New.
7215         (index_arch_Fast_Unaligned_Copy): Likewise.
7216         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7217         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7219 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7221         [BZ #19791]
7222         * resolv/res_send.c (close_and_return_error): New function.
7223         (send_dg): Initialize *resplen2 after reopen failure.  Call
7224         close_and_return_error for error returns.  On error paths without
7225         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7226         successful return.
7228 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7230         [BZ# 19860]
7231         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7232         zero if the compiler does not provide the AVX512F bit.
7234 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7236         [BZ #19848]
7237         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7238         from 8 to 4.
7239         (__ieee754_powl): Compare integer exponent against 4 not 8.
7240         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7241         from 8 to 4.
7242         (__ieee754_powl): Compare integer exponent against 4 not 8.
7243         * math/auto-libm-test-in: Add more tests of pow.
7244         * math/auto-libm-test-out: Regenerated.
7245         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7248 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7250         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7251         Make code unconditional.
7252         [!__NR_utimensat]: Remove conditional code.
7253         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7254         Make code unconditional.
7255         [!__NR_utimensat]: Remove conditional code.
7256         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7257         Make code unconditional.
7258         [!__NR_utimensat]: Remove conditional code.
7260 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7262         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7263         Make code unconditional.
7265 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7267         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7268         call-clobbered %eax on retry path.
7269         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7271 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7273         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7274         Don't set %rcx twice before "rep movsb".
7276 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7278         [BZ #19583]
7279         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7280         inline.  Check family before setting family, model and
7281         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7282         bits here.
7283         (init_cpu_features): Replace HAS_CPU_FEATURE and
7284         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7285         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7286         for Intel processors with usable AVX2.  Call get_common_indeces
7287         for other processors with family == NULL.
7288         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7289         (CPU_FEATURES_ARCH_P): Likewise.
7290         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7291         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7293 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7295         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7296         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7297         $(shared-thread-library) instead of hardcoding the path to libpthread.
7299 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7301         * sysdeps/unix/sysv/linux/kernel-features.h
7302         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7303         * sysdeps/unix/sysv/linux/getdents.c
7304         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7305         [!have_no_getdents64_defined]: Likewise.
7306         (__GETDENTS): Remove __have_no_getdents64 conditional.
7308 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7310         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7311         Remove macro.
7312         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7313         <kernel-features.h>.
7314         (signalfd) [__NR_signalfd4]: Make code unconditional.
7315         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7317 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7319         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7320         style.
7322 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7324         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7325         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7326         __pthread_unwind.
7327         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7328         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7329         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7330         (__condvar_cleanup1): Likewise.
7332 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7334         [BZ #19822]
7335         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7336         move it to the final $@ location.
7338 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7340         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7341         access where posix_spawn success and pid argument is null.
7342         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7343         success case.
7345 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7347         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7349         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7351         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7352         and __fcntl.
7353         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7354         __fcntl only.
7355         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7356         adding attribute_hidden to __open and __fcntl.
7358         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7359         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7360         depend on libc-modules.h,
7361         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7363 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7366         Remove macro.
7367         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7368         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7369         entry.
7371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7372         Remove macro.
7373         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7374         include <kernel-features.h>.
7375         [!__ASSUME_FALLOCATE]: Remove conditional code.
7376         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7378 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7381         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7382         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7383         (_ZGVdN4v_cos_avx2): Likewise.
7384         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7385         (_ZGVdN4v_cos): Likewise.
7386         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7387         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7388         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7389         (_ZGVdN4v_exp_avx2): Likewise.
7390         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7391         (_ZGVdN4v_exp): Likewise.
7392         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7393         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7394         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7395         (_ZGVdN4v_log_avx2): Likewise.
7396         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7397         (_ZGVdN4v_log): Likewise.
7398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7399         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7401         (_ZGVdN4vv_pow_avx2): Likewise.
7402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7403         (_ZGVdN4vv_pow): Likewise.
7404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7405         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7406         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7407         (_ZGVdN4v_sin_avx2): Likewise.
7408         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7409         (_ZGVdN4v_sin): Likewise.
7410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7411         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7413         (_ZGVdN4vvv_sincos_avx2): Likewise.
7414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7415         (_ZGVdN4vvv_sincos): Likewise.
7416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7417         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7419         (_ZGVbN4v_cosf_sse4): Likewise.
7420         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7421         (_ZGVdN8v_cosf_avx2): Likewise.
7422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7423         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7424         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7425         (_ZGVbN4v_expf_sse4): Likewise.
7426         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7427         (_ZGVdN8v_expf_avx2): Likewise.
7428         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7429         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7430         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7431         (_ZGVbN4v_logf_sse4): Likewise.
7432         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7433         (_ZGVdN8v_logf_avx2): Likewise.
7434         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7435         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7436         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7437         (_ZGVbN4vv_powf_sse4): Likewise.
7438         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7439         (_ZGVdN8vv_powf_avx2): Likewise.
7440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7441         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7443         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7445         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7447         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7448         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7449         (_ZGVbN4v_sinf_sse4): Likewise.
7450         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7451         (_ZGVdN8v_sinf_avx2): Likewise.
7452         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7453         Use JUMPTARGET to call callee.
7454         (WRAPPER_IMPL_SSE2_ff): Likewise.
7455         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7456         (WRAPPER_IMPL_AVX): Likewise.
7457         (WRAPPER_IMPL_AVX_ff): Likewise.
7458         (WRAPPER_IMPL_AVX_fFF): Likewise.
7459         (WRAPPER_IMPL_AVX512): Likewise.
7460         (WRAPPER_IMPL_AVX512_ff): Likewise.
7461         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7462         Likewise.
7463         (WRAPPER_IMPL_SSE2_ff): Likewise.
7464         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7465         (WRAPPER_IMPL_AVX): Likewise.
7466         (WRAPPER_IMPL_AVX_ff): Likewise.
7467         (WRAPPER_IMPL_AVX_fFF): Likewise.
7468         (WRAPPER_IMPL_AVX512): Likewise.
7469         (WRAPPER_IMPL_AVX512_ff): Likewise.
7470         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7472 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7474         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7475         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7476         qualifier.
7477         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7478         internal_function qualifiers.
7480 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7482         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7483         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7484         * math/atest-exp.c (exp_mpn): Mark chk unused.
7485         * math/atest-exp2.c (exp_mpn): Likwise.
7486         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7487         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7489 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7491         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7492         Remove macro.
7493         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7494         <kernel-features.h>.
7495         [__NR_ppoll]: Make code unconditional.
7496         [!__ASSUME_PPOLL]: Remove conditional code.
7498         * sysdeps/unix/sysv/linux/kernel-features.h
7499         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7500         (__ASSUME_ACCEPT4): Likewise.
7501         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7502         Define.
7503         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7504         Likewise.
7505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7506         Likewise.
7507         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7508         Likewise.
7509         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7510         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7512         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7513         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7515         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7517         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7519         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7522         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7523         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7525         Likewise.
7526         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7527         Likewise.
7528         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7529         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7530         0x040300].
7531         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7532         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7533         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7534         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7535         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7536         0x030300].
7537         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7538         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7539         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7540         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7541         0x040300].
7542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7543         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7544         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7545         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7546         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7547         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7548         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7549         0x030300].
7550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7551         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7553         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7554         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7555         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7556         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7557         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7558         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7559         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7560         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7561         0x040300].
7562         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7563         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7564         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7565         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7566         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7568         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7569         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7570         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7571         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7573         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7574         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7575         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7576         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7577         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7579         Likewise.
7580         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7581         Likewise.
7583 2016-03-15  Andreas Schwab  <schwab@suse.de>
7585         [BZ #19257]
7586         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7587         statp->_u._ext.nscount as loop count.
7589 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7591         * math/test-signgam-finite-c99.c: Also #undef
7592         __LIBC_INTERNAL_MATH_INLINES.
7593         * math/test-signgam-main.c: Likewise.
7595 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7597         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7598         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7599         (MADV_FREE): Likewise.
7600         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7601         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7602         EPOLLEXCLUSIVE.
7604 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7606         * timezone/README: Remove mention of checktab.awk. Mention wiki
7607         SharedSourceFiles.
7609 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7611         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7612         WUNTRACED.
7614 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7616         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7617         order to match the type of p when calling atomic_exchange_acq().
7619 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7621         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7622         cfi_offset calls.
7623         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7624         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7625         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7626         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7627         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7629 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7631         * timezone/checktab.awk: Removed.
7633 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7635         * manual/math.texi (Errors in Math Functions): Document relaxed
7636         accuracy goals for IBM long double.
7637         * math/libm-test.inc (test_exceptions): Always allow spurious
7638         "underflow" and "inexact" exceptions for IBM long double.
7640 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7642         [BZ #19762]
7643         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7644         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7645         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7646         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7647         (bit_arch_*): This for feature array.
7648         (bit_*): Renamed to ...
7649         (bit_cpu_*): This for cpu array.
7650         (index_*): Renamed to ...
7651         (index_arch_*): This for feature array.
7652         (index_*): Renamed to ...
7653         (index_cpu_*): This for cpu array.
7654         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7655         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7656         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7657         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7658         bit_##name with index_cpu_##name and bit_cpu_##name.
7659         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7660         bit_##name with index_arch_##name and bit_arch_##name.
7662 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7664         [BZ #19792]
7665         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7666         Terminate FDE before return label.
7668 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7670         [BZ #19790]
7671         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7672         (rintl): Define as macro.
7673         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7674         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7675         of fesetround.  Ensure results are evaluated before end of scope.
7676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7677         USE_AS_NEARBYINTL and include s_rintl.c.
7678         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7679         Disable exception traps in new environment.
7680         (libc_feholdsetround_ppc_ctx): Likewise.
7682 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7684         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7685         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7686         (tst_audit10_aux) [__AVX512F__]: ... here.
7688 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7690         * include/sys/auxv.h: New file.
7692 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7694         [BZ #19759]
7695         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7697 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7699         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7700         operand modifier.
7701         (feclearexcept): Likewise.
7703 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7705         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7706         to reflect the entire 32-bit HWCAP.
7707         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7708         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7710 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7712         [BZ #19783]
7713         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7714         $(test-via-rtld-prefix).
7715         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7717 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7719         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7720         union wait.  Report any non-zero exit status as error.
7722 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7725         configured with --enable-hardcoded-path-in-tests.
7727 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7729         [BZ #19677]
7730         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7731         (__ieee754_remainderl): Put zero low parts in canonical form.
7732         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7733         file.  Based on
7734         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7735         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7736         with wrapper round test-fmodrem-ldbl-128ibm.c.
7737         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7738         file.
7739         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7740         Likewise.
7741         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7742         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7744 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7746         [BZ #19610]
7747         * elf/ldconfig.c (opt_link): Update comment.
7748         (options): Update help string for option -X.
7749         (search_dir): Unlink stale symbolic link only if updating symbolic
7750         links.
7751         * elf/tst-ldconfig-X.sh: New file.
7752         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7753         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7755 2016-03-07  Andreas Schwab  <schwab@suse.de>
7757         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7758         needed arguments.
7760 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7762         [BZ #15333]
7763         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7764         to lstat64.
7766 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7768         * libio/filedoalloc.c (isatty): Remove.
7769         (local_isatty): Add comment.  Call __isatty directly.
7770         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7771         * libio/wfiledoalloc.c (isatty): Remove.
7772         (_IO_wfile_doallocate): Update comment.
7774 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7776         [BZ #19269]
7777         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7778         tst-audit4-aux.o.
7779         (tst-audit10): Depend on tst-audit10-aux.o.
7780         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7781         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7782         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7783         instead of inline AVX code.
7784         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7785         instead of inline AVX512 code.
7786         * sysdeps/x86_64/tst-audit4-aux.c: New file
7787         * sysdeps/x86_64/tst-audit10-aux.c: New file
7789         [BZ #19648]
7790         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7792 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7794         [BZ #14750]
7795         [BZ #10354]
7796         [BZ #18433]
7797         * include/sched.h (__clone): Add hidden prototype.
7798         (__clone2): Likewise.
7799         * include/unistd.h (__dup): Likewise.
7800         * posix/Makefile (tests): Add tst-spawn2.
7801         * posix/tst-spawn2.c: New file.
7802         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7803         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7804         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7805         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7806         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7807         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7808         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7809         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7810         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7811         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7812         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7814         Likewise.
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7816         Likewise.
7817         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7818         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7819         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7820         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7821         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7822         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7823         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7824         * sysdeps/unix/sysv/linux/nptl-signals.h
7825         (____nptl_is_internal_signal): New function.
7826         * sysdeps/unix/sysv/linux/spawni.c: New file.
7828         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7829         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7830         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7831         * posix/tst-execvp2.c (do_test): Likewise.
7832         * posix/tst-execvp3.c (do_test): Likewise.
7833         * posix/tst-execvp4.c (do_test): Likewise.
7834         * posix/tst-execvpe1.c: New file.
7835         * posix/tst-execvpe2.c: Likewise.
7836         * posix/tst-execvpe3.c: Likewise.
7837         * posix/tst-execvpe4.c: Likewise.
7838         * posix/tst-execvpe5.c: Likewise.
7839         * posix/tst-execvpe6.c: Likewise.
7841         [BZ #19534]
7842         * posix/execl.c (execl): Remove dynamic memory allocation.
7843         * posix/execle.c (execle): Likewise.
7844         * posix/execlp.c (execlp): Likewise.
7846 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7848         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7849         Replace .text with .text.avx512.
7850         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7851         Likewise.
7853 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7855         * sysdeps/generic/libnsl.abilist: New file.
7856         * sysdeps/generic/libutil.abilist: New file.
7858 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7860         [BZ #19762]
7861         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7862         HAS_ARCH_FEATURE with Fast_Rep_String.
7863         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7864         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7865         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7866         Likewise.
7867         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7868         Likewise.
7869         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7870         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7871         Likewise.
7872         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7873         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7874         Likewise.
7876 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7878         [BZ #19745]
7879         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7880         with *%rax in call.
7882 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7884         [BZ #19745]
7885         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7886         with *__libc_start_main@GOTPCREL(%rip) in call.
7888 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7890         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7891         inside conditional for nonempty $(CXX).
7893         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7894         nonempty.
7896         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7897         to test for empty $(CXX) rather than $(CXX) of "no".
7899 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7901         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7903 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7904             H.J. Lu  <hongjiu.lu@intel.com>
7906         [BZ #18880]
7907         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7908         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7909         enable __memcpy_ssse3_back.
7911 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7913         [BZ #19758]
7914         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7915         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7917 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7919         [BZ #19490]
7920         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7921         (__fentry__): Likewise.
7923 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7925         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7926         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7928 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7930         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7931         __mcount_internal directly.
7932         (C_LABEL(__fentry__)): Likewise.
7933         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7934         directly.
7936 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7938         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7939         (__start_context): Call __setcontext directly.
7941 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7944         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7945         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7946         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7947         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7948         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7949         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7950         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7951         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7952         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7953         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7954         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7955         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7956         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7957         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7958         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7959         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7961         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7962         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7963         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7964         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7965         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7966         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7967         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7968         Remove conditional code.
7969         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7970         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7971         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7972         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7973         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7974         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7975         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7976         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7977         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7978         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7980         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7982 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7984         * NEWS (2.23): Fix typo in bug 19048 text.
7986 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7988         [BZ #14259]
7989         * Makeconfig: Rename msgcatdir to localedir.
7990         Rename inst_msgcatdir to inst_localedir.
7991         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7992         * config.make.in: Add localedir.
7993         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7994         (ldd-rewrite): Likewise.
7995         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7996         (install-others): Use inst_localedir.
7997         (CPPFLAGS): Use localedir.
7998         * locale/Makefile (locale-CPPFLAGS): Likewise.
7999         * po/Makefile (mo-installed): Use inst_localedir.
8001         [BZ #19575]
8002         * localedata/charmaps/GB18030: Update comments regarding PAU to
8003         non-PUA mappings.
8005 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8007         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8008         test for header.
8009         * sysdeps/unix/sysv/linux/configure: Regenerated.
8010         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8011         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8012         Remove conditional code.
8013         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8015         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8016         Define to 3.2.0.
8017         (arch_minimum_kernel): Likewise.
8018         * sysdeps/unix/sysv/linux/configure: Regenerated.
8019         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8020         Define to 2.6.32.
8021         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8022         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8023         (arch_minimum_kernel): Define to 2.6.32.
8024         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8025         * README: Document Linux 3.2 requirement.
8026         * manual/install.texi (Linux): Document Linux 3.2 headers
8027         requirement.
8028         * INSTALL: Regenerated.
8030 2016-02-24  Andreas Schwab  <schwab@suse.de>
8032         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8033         if !NO_LONG_DOUBLE.
8035 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8037         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8038         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8040 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8042         [BZ #19512]
8043         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8045 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8047         * posix/tst-dir.c: Include libc-internal.h.
8049 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8051         [BZ #19056]
8052         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8053         * manual/filesys.texi (Reading/Closing Directory): Mention
8054         deprecaion.
8055         * posix/tst-dir.c (main): Disable deprecation warning in test.
8057 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8059         [BZ #19679]
8060         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8061         Renamed to ...
8062         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8063         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8064         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8065         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8066         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8067         * sysdeps/x86_64/dl-trampoline.h
8068         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8069         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8071 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8073         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8075 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8077         * elf/elf.h (R_386_GOT32X): New.
8078         (R_386_NUM): Update.
8079         (R_X86_64_GOTPCRELX: New.
8080         (R_X86_64_REX_GOTPCRELX): New.
8081         (R_X86_64_NUM): Update.
8083 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8085         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8087 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8089         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8090         assign attr->stackaddr to it, and adjust it down when
8091         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8092         [_STACK_GROWS_UP]: Delete assert.
8093         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8094         Implement stack grows up logic.
8095         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8096         stack grows up logic.
8098 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8100         * NEWS: Update with 2.24 template.
8102 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8104         [BZ #19678]
8105         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8106         Ensure +0.0 is returned when taking the next value below the least
8107         positive value.
8109 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8111         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8112         available.  Do not define NO_THREADS.
8113         * malloc/malloc.c: Do not check NO_THREADS.
8114         * malloc/arena.c: Likewise.
8116 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8118         * malloc/malloc.c (__libc_mallinfo): Update comment.
8119         (struct malloc_par): Remove max_total_mem member, it was always 0.
8120         (int_mallinfo): Store 0 into usmblks (no functional change).
8121         * malloc/hooks.c (struct malloc_state): Document that
8122         max_total_mem is always 0.
8123         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8124         always 0.
8125         * manual/memory.texi (Statistics of Malloc): Likewise.
8127 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8129         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8130         * malloc/arena.c (arena_max): Remove.
8131         (heap_trim, _int_new_arena): Do not update arena_max.
8133 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8135         * resolv/res_init.c (res_ninit): Update comment.
8137 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8139         [BZ #19505]
8140         * posix/spawn_int.h: Add headers and include guard.
8141         (__spawn_valid_fd): New function.
8142         * posix/spawn_faction_addopen.c
8143         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8144         * posix/spawn_faction_addclose.c
8145         (posix_spawn_file_actions_addclose): Likewise.
8146         * posix/spawn_faction_adddup2.c
8147         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8148         second file descriptor.
8149         * posix/spawn_valid_fd.c: New file.
8150         * posix/tst-posix_spawn-fd.c: New file.
8151         * posix/Makefile (routines): Add spawn_valid_fd.
8152         (tests): Add tst-posix_spawn-fd.
8154 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8156         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8157         (do_test): Limit the number of arenas, so that we can use fewer
8158         outer threads.  Limit timeout to 3 seconds, in preparation for a
8159         larger TIMEOUT value.
8161 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8163         [BZ #19674]
8164         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8165         sign in overflowing and underflowing results when overflow or
8166         underflow is detected early.  Include sign in result before rather
8167         than after scaling.
8169         [BZ #19603]
8170         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8171         (__ieee754_remainderl): Adjust sign of integer version of low part
8172         when taking absolute value of high part.
8173         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8174         * math/libm-test.inc (remainder_test_data): Add another test.
8175         (remquo_test_data): Likewise.
8177 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #19602]
8180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8181         equal high parts and both low parts zero specially.
8182         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8183         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8184         Add test-fmodl-ldbl-128ibm.
8186         [BZ #19595]
8187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8188         common logic for all cases of shifting subnormal results.  Do not
8189         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8190         exponent to ldbl_insert_mantissa in subnormal case.
8192         [BZ #19594]
8193         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8194         on high and low parts then adjust result and use
8195         ldbl_canonicalize_int if needed.
8197         [BZ #19593]
8198         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8199         on high part and __floor or __ceil on low part then use
8200         ldbl_canonicalize_int if needed.
8202         [BZ #19592]
8203         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8204         high and low parts then use ldbl_canonicalize_int if needed.
8206         [BZ #17899]
8207         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8208         New function.
8209         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8210         on high and low parts then use ldbl_canonicalize_int if needed.
8212 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8214         * configure: Regenerated.
8216         * po/libc.pot: Regenerated.
8218         * po/be.po: Updated translation.
8219         * po/bg.po: Likewise.
8220         * po/ca.po: Likewise.
8221         * po/cs.po: Likewise.
8222         * po/da.po: Likewise.
8223         * po/el.po: Likewise.
8224         * po/eo.po: Likewise.
8225         * po/es.po: Likewise.
8226         * po/fi.po: Likewise.
8227         * po/fr.po: Likewise.
8228         * po/gl.po: Likewise.
8229         * po/hr.po: Likewise.
8230         * po/hu.po: Likewise.
8231         * po/ia.po: Likewise.
8232         * po/id.po: Likewise.
8233         * po/it.po: Likewise.
8234         * po/ja.po: Likewise.
8235         * po/lt.po: Likewise.
8236         * po/nb.po: Likewise.
8237         * po/nl.po: Likewise.
8238         * po/pt_BR.po: Likewise.
8239         * po/rw.po: Likewise.
8240         * po/sk.po: Likewise.
8241         * po/sl.po: Likewise.
8242         * po/sv.po: Likewise.
8243         * po/tr.po: Likewise.
8244         * po/zh_CN.po: Likewise.
8245         * po/zh_TW.po: Likewise.
8247         * version.h (RELEAES): Set to "development".
8248         (VERSION): Set to 2.23.90.
8250         * version.h (RELEASE): Set to "stable".
8251         (VERSION): Set to 2.23.
8252         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8254         * NEWS: Updated fixed bugs.
8256 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8257             Wilco Dijkstra  <wdijkstr@arm.com>
8259         [BZ #19462]
8260         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8261         (_STRING_INLINE_unaligned): This.
8262         * include/string.h: Include <string_private.h>.
8263         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8264         _STRING_INLINE_unaligned.
8265         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8266         (_STRING_INLINE_unaligned): New.
8267         * sysdeps/aarch64/string_private.h: New file.
8268         * sysdeps/generic/string_private.h: Likewise.
8269         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8270         * sysdeps/s390/string_private.h: Likewise.
8271         * sysdeps/x86/string_private.h: Likewise.
8272         * sysdeps/m68k/m680x0/m68020/bits/string.h
8273         (_STRING_ARCH_unaligned): Renamed to ...
8274         (_STRING_INLINE_unaligned): This.
8275         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8276         to ...
8277         (_STRING_INLINE_unaligned): This.
8278         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8279         to ...
8280         (_STRING_INLINE_unaligned): This.
8281         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8282         to ...
8283         (_STRING_INLINE_unaligned): This.
8285 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8286             H.J. Lu  <hongjiu.lu@intel.com>
8288         [BZ #19590]
8289         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8290         relocation.
8292 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8294         [BZ #18665]
8295         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8296         *herrno_p.
8297         (gaih_getanswer): Document functional behviour. Return tryagain
8298         if any result is tryagain.
8299         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8300         when freed.
8301         * resolv/res_send.c: Add copyright text.
8302         (__libc_res_nsend): Document that MAXPACKET is expected.
8303         (send_vc): Document. Remove buffer reuse.
8304         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8305         size of the buffer. Add Dprint for truncated UDP buffer.
8307 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8309         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8310         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8311         * INSTALL: Regenerate.
8313 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8314             Jonathan Wakely  <jwakely@redhat.com>
8315             Carlos O'Donell  <carlos@redhat.com>
8317         [BZ 19439]
8318         * math/Makefile (tests): Add test-math-isinff.
8319         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8320         * math/bits/mathcalls.h [__USE_MISC]: Use
8321         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8322         functions not in C++11 and which don't conflict e.g. isinff,
8323         isinfl etc.
8324         * math/test-math-isinff.cc: New file.
8326 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8328         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8330 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8332         [BZ #19529]
8333         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8335 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8337         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8339 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8341         [BZ #19550]
8342         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8343         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8344         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8345         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8346         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8347         New syscall entry.
8348         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8349         New syscall entry.
8350         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8351         syscall entry.
8353 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8355         [BZ #18240]
8356         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8357         unsigned int wraparound.
8359 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8361         [BZ #18240]
8362         * misc/bug18240.c: New test.
8363         * misc/Makefile (tests): Add it.
8365 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8366             Joseph Myers  <joseph@codesourcery.com>
8368         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8369         load in branch delay slot when less than a word of input left.
8371 2016-01-27  Andreas Schwab  <schwab@suse.de>
8373         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8374         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8375         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8376         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8378 2016-01-26  David S. Miller  <davem@davemloft.net>
8380         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8382 2016-01-25  David S. Miller  <davem@davemloft.net>
8384         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8385         __sqrtl_finite.
8386         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8387         instead using versioned_symbol.
8388         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8389         of entries.
8391         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8392         __sqrtl_finite to GLIBC_2.23
8394 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8396         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8398 2016-01-25  Andreas Schwab  <schwab@suse.de>
8400         [BZ #17514]
8401         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8402         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8403         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8404         * nptl/tst-mutex-errorcheck.c: New file.
8406 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8408         [BZ #18560]
8409         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8410         (IPCOP_semop): Likewise.
8411         (IPCOP_semget): Likewise.
8412         (IPCOP_semctl): Likewise.
8413         (IPCOP_msgsnd): Likewise.
8414         (IPCOP_msgrcv): Likewise.
8415         (IPCOP_msgget): Likewise.
8416         (IPCOP_msgctl): Likewise.
8417         (IPCOP_shmat): Likewise.
8418         (IPCOP_shmdt): Likewise.
8419         (IPCOP_shmget): Likewise.
8420         (IPCOP_shmctl): Likewise.
8422 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8424         * string/tst-endian.c: Include <libc-internal.h>.
8425         (do_test): Ignore tautological-compare warnings around
8426         "htobeXX (beXXtoh (i)) != i" and
8427         "htoleXX (leXXtoh (i)) != i" if-statements.
8429 2016-01-24  David S. Miller  <davem@davemloft.net>
8431         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8432         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8433         alias.
8434         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8435         __sqrtl_finite.
8437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8439 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8441         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8442         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8443         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8445 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8447         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8448         (thread_func): Use new function to simplify barrier check.
8449         (do_test): Use new function to simplify checking barrier exit
8450         code, and actually join the child thread.
8452 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8454         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8455         semicolon.
8456         (__libc_tend): Likewise.
8457         (__libc_tabort): Likewise.
8459 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8461         * sysdeps/nios2/libm-test-ulps: Update.
8462         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8463         (__gtsf2): Likewise.
8464         (__unorddf2): Likewise.
8465         (__unordsf2): Likewise.
8466         (__ledf2): Likewise.
8468 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8470         * nis/nis_table.c (__follow_path): Disable diagnostic for
8471         uninitialized variable that is a false positive for gcc 4.7.
8472         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8474 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8476         * sysdeps/nacl/lowlevellock-futex.h
8477         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8478         Always evaluate PRIVATE argument.
8480 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8482         [BZ #19490]
8483         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8484         (pthread_cond_broadcast): Use ENTRY/END
8485         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8486         (pthread_cond_signal): Likewise.
8487         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8488         Likewise.
8489         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8490         Likewise.
8491         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8492         Likewise.
8494 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8496         * sysdeps/ieee754/dbl-64/s_finite.c
8497         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8498         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8499         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8500         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8501         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8504         (__gtsf2): Add as optional for libc.so.
8505         (__unordsf2): Likewise.
8506         (__signbit): Remove for libc.so.
8507         (__signbitl): Likewise.
8509 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8511         * iconvdata/bug-iconv11.c (test_ibm93x):
8512         Use %zu printf format specifier for size_t argument.
8514 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8516         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8517         already-recorded ulps.
8518         * sysdeps/arm/libm-test-ulps: Regenerated.
8519         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8520         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8521         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8523 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8524             Paul Pluzhnikov  <ppluzhnikov@google.com>
8526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8527         assembler not supporting AVX-512.
8529 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8531         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8533 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8535         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8536         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8538         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8540         * sysdeps/arm/libm-test-ulps: Regenerated.
8542 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8544         [BZ #19451]
8545         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8547 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8549         [BZ #19486]
8550         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8551         * sysdeps/generic/fix-fp-int-convert-overflow.h
8552         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8553         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8554         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8555         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8556         Likewise.
8557         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8558         Avoid conversions to long int where inexact exceptions
8559         could be raised.
8560         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8561         Likewise.
8562         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8563         Avoid conversions to long long int where inexact exceptions
8564         could be raised.
8565         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8566         Likewise.
8568 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8570         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8571         * configure: Regenerated.
8573 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8575         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8577 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8579         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8580         outside of comment.
8582 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8584         * nptl/tst-barrier1.c: Add description on first line.
8585         * nptl/tst-barrier2.c: Likewise.
8586         * nptl/tst-barrier3.c: Likewise.
8587         * nptl/tst-barrier4.c: Likewise.
8588         * nptl/tst-barrier5.c: Likewise.
8590 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8592         [BZ #18868]
8593         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8595 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8599         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8600         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8601         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8602         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8603         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8604         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8605         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8606         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8607         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8609 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8611         [BZ #13065]
8612         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8613         new implementation.
8614         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8615         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8616         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8617         (BARRIER_IN_THRESHOLD): New macro.
8618         * nptl/pthread_barrierattr_setpshared.c
8619         (pthread_barrierattr_setpshared): Clean up.
8620         * nptl/tst-barrier4.c: Correct comment.
8621         * nptl/tst-barrier5.c: New file.
8622         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8623         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8624         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8625         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8626         * nptl/lowlevelbarrier.sym: Remove.
8627         * nptl/DESIGN-barrier.txt: Remove.
8628         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8629         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8630         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8631         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8632         error.
8633         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8634         implementation.
8636 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8638         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8639         (do_child): Mask SIGRTMIN while thr is running.
8641 2016-01-15  Martin Sebor  <msebor@redhat.com>
8643         [BZ #19432]
8644         * iconvdata/Makefile: Add bug-iconv11.
8645         * iconvdata/bug-iconv11.c: New test.
8646         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8647         * iconvdata/ibm933.c: Same.
8648         * iconvdata/ibm935.c: Same.
8649         * iconvdata/ibm937.c: Same.
8650         * iconvdata/ibm939.c: Same.
8652 2016-01-15  Martin Sebor  <msebor@redhat.com>
8654         [BZ #19443]
8655         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8656         [DEBUG] (_ufc_set_bits): Declare used.
8657         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8658         [DEBUG] (print_all): Declare used.
8659         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8660         operands of the ternary ?: expression to target type.
8661         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8662         calling the undeclared abort.
8663         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8665 2016-01-15  Martin Sebor  <msebor@redhat.com>
8667         [BZ #18755]
8668         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8669         warnings.
8670         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8671         (__gai_create_helper_thread): Same.
8672         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8673         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8674         to suppress -Wmaybe-uninitialized warnings.
8676 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8678         [BZ #19465]
8679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8680         inside if.
8681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8682         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8685 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8687         [BZ #19466]
8688         * time/tst-mktime2.c (time_t_max): Removed.
8689         (time_t_min): Likewise.
8690         (TYPE_SIGNED): New.
8691         (TYPE_MINIMUM): Likewise.
8692         (TYPE_MAXIMUM): Likewise.
8693         (TIME_T_MIN): Likewise.
8694         (TIME_T_MAX): Likewise.
8695         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8696         and TIME_T_MIN.
8697         (do_test): Likewise.
8699 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8701         [BZ #19467]
8702         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8703         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8705 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8707         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8709 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8711         * benchtests/Makefile (PYTHON): Define.
8712         (bench-func): Use $(PYTHON) to run python scripts.
8713         ($(objpfx)bench-%.c): Likewise.
8715 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8717         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8718         leading slash when `file_name' is "/".
8720 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8722         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8723         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8724         Likewise.
8725         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8730         enum constant and macro.
8731         (PTRACE_SETSIGMASK): Likewise.
8732         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8733         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8734         (PTRACE_GETSIGMASK): Likewise.
8735         (PTRACE_SETSIGMASK): Likewise.
8736         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8737         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8738         Likewise.
8739         (PTRACE_SETSIGMASK): Likewise.
8740         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8741         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8742         (PTRACE_GETSIGMASK): Likewise.
8743         (PTRACE_SETSIGMASK): Likewise.
8744         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8746         Likewise.
8747         (PTRACE_SETSIGMASK): Likewise.
8748         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8749         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8750         Likewise.
8751         (PTRACE_SETSIGMASK): Likewise.
8752         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8753         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8754         Likewise.
8755         (PTRACE_SETSIGMASK): Likewise.
8756         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8758 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8759             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8761         [BZ #19439]
8762         * math/bits/mathcalls.h
8763         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8764         prototype.
8765         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8767 2016-01-11  Andreas Schwab  <schwab@suse.de>
8769         [BZ #19253]
8770         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8771         cache when TZDEFRULES was used.
8772         * time/tst-tzname.c: New file.
8773         * time/Makefile (test): Add tst-tzname.
8774         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8775         * timezone/Makefile (test-zones): Add $(posixrules-file).
8776         ($(testdata)/$(posixrules-file)): New rule.
8778 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8780         Fix doc quoting problems with Texinfo 5
8781         Without this change, in the info file output, Texinfo 5 quotes code
8782         in text with undirected single quotes 'like this' and generates
8783         code examples that with many PDF readers cannot be cut out of PDFs
8784         and pasted into code.
8785         * manual/libc.texinfo: Configure the libc manual like the GNU
8786         Emacs manual, by using @documentencoding and setting
8787         txicodequoteundirected and txicodequotebacktick.  This way,
8788         Texinfo 5 quotes code in text with directed single quotes ‘like
8789         this’ and produces examples that can be cut out of PDFs.  This
8790         change causes Texinfo 5 to generate info files that contain UTF-8
8791         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8792         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8794 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8796         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8797         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8798         barriers to their respective compiler built-ins.
8799         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8800         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8801         * sysdeps/powerpc/sysdep.h: Likewise.
8802         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8804         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8806 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8808         * scripts/config.guess: Revert previous shebang change.
8809         * scripts/config.sub: Likewise.
8810         * scripts/mkinstalldirs: Likewise.
8812 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8814         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8815         PPC_FEATURE2_HAS_IEEE128.
8816         * sysdeps/powerpc/dl-procinfo.c:
8817         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8819 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8821         [BZ #19415]
8822         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8823         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8824         (_dl_lookup_address): Rewrite using function resolver trampoline.
8825         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8826         two bits in address.
8828 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8830         * longlong.h: Change !__SHMEDIA__ to
8831         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8832         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8834 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8835             Joseph Myers  <joseph@codesourcery.com>
8836             Mark Shinwell  <shinwell@codesourcery.com>
8837             Andrew Stubbs  <ams@codesourcery.com>
8838             Rich Felker <dalias@libc.org>
8840         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8842 2016-01-07  Richard Henderson  <rth@redhat.com>
8844         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8846 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8848         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8849         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8850         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8851         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8852         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8854 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8855             Joseph Myers  <joseph@codesourcery.com>
8857         * timezone/private.h: Update from tzcode 2015g.
8858         * timezone/tzfile.h: Likewise.
8859         * timezone/tzselect.ksh: Likewise.
8860         * timezone/zdump.c: Likewise.
8861         * timezone/zic.c: Likewise.
8862         * timezone/ialloc.c: Remove file.
8863         * timezone/scheck.c: Likewise.
8864         * timezone/Makefile (extra-objs): Remove variable.
8865         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8866         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8867         -Wno-maybe-uninitialized.
8868         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8869         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8870         (CFLAGS-ialloc.c): Remove variable.
8871         (CFLAGS-scheck.c): Likewise.
8872         * timezone/README: Update list of files from tzcode.
8874 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8876         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8877         instead of __fxprintf when _LIBC is undefined.
8879 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8881         * catgets/test-gencat.sh: Remove space after shebang.
8882         * conform/GlibcConform.pm: Likewise.
8883         * conform/check-header-lists.sh: Likewise.
8884         * conform/conformtest.pl: Likewise.
8885         * conform/linknamespace.pl: Likewise.
8886         * conform/list-header-symbols.pl: Likewise.
8887         * debug/catchsegv.sh: Likewise.
8888         * elf/genrtldtbl.awk: Likewise.
8889         * elf/tst-pathopt.sh: Likewise.
8890         * elf/tst-rtld-load-self.sh: Likewise.
8891         * grp/tst_fgetgrent.sh: Likewise.
8892         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8893         * iconvdata/gen-8bit-gap.sh: Likewise.
8894         * iconvdata/gen-8bit.sh: Likewise.
8895         * iconvdata/run-iconv-test.sh: Likewise.
8896         * intl/tst-gettext.sh: Likewise.
8897         * intl/tst-gettext2.sh: Likewise.
8898         * intl/tst-gettext4.sh: Likewise.
8899         * intl/tst-gettext6.sh: Likewise.
8900         * intl/tst-translit.sh: Likewise.
8901         * io/ftwtest-sh: Likewise.
8902         * libio/test-freopen.sh: Likewise.
8903         * locale/gen-translit.pl: Likewise.
8904         * malloc/tst-mtrace.sh: Likewise.
8905         * manual/check-safety.sh: Likewise.
8906         * manual/libc-texinfo.sh: Likewise.
8907         * manual/tsort.awk: Likewise.
8908         * manual/xtract-typefun.awk: Likewise.
8909         * nptl/tst-cancel-wrappers.sh: Likewise.
8910         * nptl/tst-tls6.sh: Likewise.
8911         * posix/globtest.sh: Likewise.
8912         * posix/tst-getconf.sh: Likewise.
8913         * posix/wordexp-tst.sh: Likewise.
8914         * scripts/check-c++-types.sh: Likewise.
8915         * scripts/check-local-headers.sh: Likewise.
8916         * scripts/config.guess: Likewise.
8917         * scripts/config.sub: Likewise.
8918         * scripts/cpp: Likewise.
8919         * scripts/cross-test-ssh.sh: Likewise.
8920         * scripts/documented.sh: Likewise.
8921         * scripts/evaluate-test.sh: Likewise.
8922         * scripts/gen-libc-abis: Likewise.
8923         * scripts/gen-sorted.awk: Likewise.
8924         * scripts/list-fixed-bugs.py: Likewise.
8925         * scripts/merge-test-results.sh: Likewise.
8926         * scripts/mkinstalldirs: Likewise.
8927         * scripts/rellns-sh: Likewise.
8928         * scripts/test-installation.pl: Likewise.
8929         * scripts/update-copyrights: Likewise.
8930         * stdio-common/tst-printf.sh: Likewise.
8931         * stdio-common/tst-unbputc.sh: Likewise.
8932         * stdlib/tst-fmtmsg.sh: Likewise.
8933         * stdlib/tst-setcontext3.sh: Likewise.
8934         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8935         * sysdeps/unix/make-syscalls.sh: Likewise.
8937 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8939         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8940         asm stw with atomic_exchange_rel.  Add explanatory comment.
8941         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8942         Likewise.
8944 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8946         [BZ #19122]
8947         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8948         * sysdeps/generic/dl-unistd.h: New file.
8949         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8951 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8953          [BZ #19122]
8954          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8955          * sysdeps/generic/dl-mman.h: New file.
8956          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8958 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8960         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8961         trailing whitespace removed.
8962         * scripts/config.guess: Update to version 2016-01-01.
8963         * scripts/config.sub: Update to version 2016-01-01.
8964         * scripts/move-if-change: Update from gnulib.
8966 2016-01-04  Anton Blanchard  <anton@samba.org>
8968         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8969         for array indices.
8970         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8972 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8974         * NEWS: Update copyright dates.
8975         * catgets/gencat.c (print_version): Likewise.
8976         * csu/version.c (banner): Likewise.
8977         * debug/catchsegv.sh: Likewise.
8978         * debug/pcprofiledump.c (print_version): Likewise.
8979         * debug/xtrace.sh (do_version): Likewise.
8980         * elf/ldconfig.c (print_version): Likewise.
8981         * elf/ldd.bash.in: Likewise.
8982         * elf/pldd.c (print_version): Likewise.
8983         * elf/sotruss.sh: Likewise.
8984         * elf/sprof.c (print_version): Likewise.
8985         * iconv/iconv_prog.c (print_version): Likewise.
8986         * iconv/iconvconfig.c (print_version): Likewise.
8987         * locale/programs/locale.c (print_version): Likewise.
8988         * locale/programs/localedef.c (print_version): Likewise.
8989         * login/programs/pt_chown.c (print_version): Likewise.
8990         * malloc/memusage.sh (do_version): Likewise.
8991         * malloc/memusagestat.c (print_version): Likewise.
8992         * malloc/mtrace.pl: Likewise.
8993         * manual/libc.texinfo: Likewise.
8994         * nptl/version.c (banner): Likewise.
8995         * nscd/nscd.c (print_version): Likewise.
8996         * nss/getent.c (print_version): Likewise.
8997         * nss/makedb.c (print_version): Likewise.
8998         * posix/getconf.c (main): Likewise.
8999         * scripts/test-installation.pl: Likewise.
9000         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9002         * All files with FSF copyright notices: Update copyright dates
9003         using scripts/update-copyrights.
9004         * intl/plural.c: Regenerated.
9005         * locale/programs/charmap-kw.h: Likewise.
9006         * locale/programs/locfile-kw.h: Likewise.
9008 2016-01-02  Helge Deller  <deller@gmx.de>
9010         [BZ #19285]
9011         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9012         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9013         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9014         (MADV_xxK_PAGES): Remove.
9016 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9018         [BZ #15421]
9019         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9020         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9021         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9022         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9024 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9026         [BZ #19408]
9027         * sysdeps/unix/sysv/linux/personality.c: New file.
9028         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9029         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9030         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9031         (sysdep_routines): Add personality.
9032         (tests): Add tst-personality.
9033         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9035         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9036         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9037         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9038         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9039         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9040         Likewise.
9041         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9042         Likewise.
9043         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9044         Likewise.
9045         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9046         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9047         Likewise.
9049 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9051         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9052         (PATH_ARM_SYSTYPE): Remove.
9053         (PATH_CPUINFO): Likewise.
9054         (IO_BASE_FOOTBRIDGE): Likewise.
9055         (IO_SHIFT_FOOTBRIDGE): Likewise.
9056         (struct platform): Likewise.
9057         (init_iosys): Remove compatibility code for 2.4 kernels.
9058         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9060 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9062         * malloc/tst-malloc-thread-fail.c: New file.
9063         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9064         (tst-malloc-thread-fail): Link against libpthread.
9066 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9068         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9069         (get_parser): New function.
9070         (main): New function.
9072 2015-12-29  Rob Wu  <rob@robwu.nl>
9074         [BZ #19369]
9075         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9077 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9079         [BZ #19270]
9080         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9082 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9084         [BZ #15421]
9085         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9087 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9089         [BZ #13690]
9090         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9091         after releasing it.
9092         (__lll_robust_unlock): Likewise.
9093         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9094         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9095         (lll_robust_unlock): Likewise.
9096         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9097         Prevent warnings in callers.
9099 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9101         * malloc/arena.c (list_lock): Update comment.
9103 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9105         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9106         __parse_hwcap_and_convert_at_platform to libc.a.
9108 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9110         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9111         platform and feature support for POWER9.
9112         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9113         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9114         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9115         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9116         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9117         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9118         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9119         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9121 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9123         Harmonize generic stdio-lock support with nptl
9125         This fixes build when _IO_funlockfile is a macro, fixes build where
9126         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9127         stack unwind.
9129         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9130         _IO_release_lock ): Use cleanup attribute on new
9131         _IO_acquire_lock_file variable instead of assuming that
9132         _IO_release_lock will be called.
9133         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9134         _IO_acquire_lock_needs_exceptions_enabled.
9135         (_IO_acquire_lock_clear_flags2): New macro.
9137 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9139         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9141 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9143         [BZ #19182]
9144         * malloc/arena.c (list_lock): Document lock ordering requirements.
9145         (free_list_lock): New lock.
9146         (ptmalloc_lock_all): Comment on free_list_lock.
9147         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9148         (detach_arena): Update comment.  free_list_lock is now needed.
9149         (_int_new_arena): Use free_list_lock around detach_arena call.
9150         Acquire arena lock after list_lock.  Add comment, including FIXME
9151         about incorrect synchronization.
9152         (get_free_list): Switch to free_list_lock.
9153         (reused_arena): Acquire free_list_lock around detach_arena call
9154         and attached threads counter update.  Add two FIXMEs about
9155         incorrect synchronization.
9156         (arena_thread_freeres): Switch to free_list_lock.
9157         * malloc/malloc.c (struct malloc_state): Update comments to
9158         mention free_list_lock.
9160 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9162         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9163         Remove functions.
9164         (sloww, sloww1): Accept argument to offset quadrant.
9165         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9166         quadrant.
9167         (__sin, __cos): Consolidate common code into new functions.
9168         (reduce_sincos_1, do_sincos_1): New functions.
9169         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9172         code to new functions.
9173         (reduce_sincos_2, do_sincos_2): New functions.
9174         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9177         common code for sincos.
9178         (__cos) [!IN_SINCOS]: Likewise.
9179         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9180         New function.
9181         (__sincos): Use it.
9183 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9185         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9186         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9187         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9189 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9191         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9194         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9195         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9196         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9197         index_Prefer_No_VZEROUPPER): New feature.
9198         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9199         Prefer_No_VZEROUPPER for Knights Landing.
9201 015-12-18  Torvald Riegel  <triegel@redhat.com>
9203         * math/atest-exp2.c (mp_exp_m1): Remove.
9205 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9207         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9208         syscalls.
9209         (__SYSCALL0): New macro.
9210         (__SYSCALL1): Likewise.
9211         (__SYSCALL2): Likewise.
9212         (__SYSCALL3): Likewise.
9213         (__SYSCALL4): Likewise.
9214         (__SYSCALL5): Likewise.
9215         (__SYSCALL6): Likewise.
9216         (__SYSCALL_CONCAT_X): Likewise.
9217         (__SYSCALL_CONCAT): Likewise.
9218         (__SYSCALL_DIST): Likewise.
9219         (__SYSCALL_CALL): Likewise.
9221 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9223         [BZ #19363]
9224         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9226 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9228         [BZ #19375]
9229         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9230         negative subnormals.
9232 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9235         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9236         (INTERNAL_SYSCALL_NCS): Use it.
9237         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9239 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9241         [BZ #19243]
9242         * malloc/arena.c (get_free_list): Remove assert and adjust
9243         reference count handling.  Add comment about reused_arena
9244         interaction.
9245         (reused_arena): Add comments abount get_free_list interaction.
9246         * malloc/tst-malloc-thread-exit.c: New file.
9247         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9248         (tst-malloc-thread-exit): Link against libpthread.
9250 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9252         [BZ #19367]
9253         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9254         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9255         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9256         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9257         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9259 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9261         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9262         Silvermont optimizations for Knights Landing.
9264 2015-12-15  Andreas Schwab  <schwab@suse.de>
9266         [BZ #17197]
9267         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9268         immediately after emitting SI.
9269         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9270         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9271         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9272         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9273         * iconvdata/bug-iconv10.c: New file.
9274         * iconvdata/Makefile (tests): Add bug-iconv10.
9275         ($(objpfx)bug-iconv10.out): New rule.
9277 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9279         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9280         aliasing violation.
9282 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9284         [BZ #18472]
9285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9286         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9287         conditionals for them.
9288         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9289         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9291         sys/kdaemon.h.
9292         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9293         compat-only syscall, obsoleted in glibc 2.23.
9294         (create_module): Likewise.
9295         (get_kernel_syms): Likewise.
9296         (query_module): Likewise.
9297         (uselib): Likewise.
9298         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9300 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9302         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9303         <linux/version.h>.
9304         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9305         conditional code.
9306         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9307         and ioshift_name initialization.
9309 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9311         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9312         Fix indentation.
9314 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9316         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9318 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9320         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9322 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9323             Jakub Wilk  <jwilk@debian.org>
9325         [BZ #19347]
9326         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9327         to change the group of the device to the tty group.
9329 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9331         Split large string section; add truncation advice
9332         * manual/examples/strncat.c: Remove.
9333         This example was misleading, as the code would have undefined
9334         behavior if "hello" was longer than SIZE.  Anyway, the manual
9335         shouldn't encourage strncpy+strncat for this sort of thing.
9336         * manual/string.texi (Copying Strings and Arrays): Split into
9337         three sections Copying Strings and Arrays, Concatenating Strings,
9338         and Truncating Strings, as this section was way too long.  All
9339         cross-referenced changed.  Add advice about string-truncation
9340         functions.  Remove misleading strncat example.
9342 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9344         * manual/nss.texi (NSS Modules Interface): Document
9345         NSS_STATUS_NOTFOUND and SUCCESS.
9347 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9349         [BZ 18568]
9350         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9351         201505L, for Unicode 8.
9353 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9355         * locale/C-translit.h: Regenerate.
9357 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9359         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9360         and U+0153.
9362 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #19351]
9365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9366         expanding log(1+z), compare z rather than its square with epsilon
9367         to determine when to avoid evaluating the expansion.
9369         [BZ #19350]
9370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9371         Increase overflow threshold.
9373         [BZ #19349]
9374         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9375         when small.
9377         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9379         New macro.
9380         [__LINUX_KERNEL_VERSION >= 0x040300]
9381         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9383         Likewise.
9384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9385         Likewise.
9386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9387         Likewise.
9388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9389         Likewise.
9390         [__LINUX_KERNEL_VERSION >= 0x040300]
9391         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9392         [__LINUX_KERNEL_VERSION >= 0x040300]
9393         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9394         [__LINUX_KERNEL_VERSION >= 0x040300]
9395         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9396         [__LINUX_KERNEL_VERSION >= 0x040300]
9397         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9398         [__LINUX_KERNEL_VERSION >= 0x040300]
9399         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9401         Likewise.
9402         [__LINUX_KERNEL_VERSION >= 0x040300]
9403         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9405         Likewise.
9406         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9407         Likewise.
9408         [__LINUX_KERNEL_VERSION >= 0x040300]
9409         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9410         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9411         Likewise.
9412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9416         Likewise.
9417         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9418         Likewise.
9419         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9420         Likewise.
9421         [__LINUX_KERNEL_VERSION >= 0x040300]
9422         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9423         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9424         Likewise.
9425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9426         Likewise.
9427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9428         Likewise.
9429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9430         Likewise.
9431         [__LINUX_KERNEL_VERSION >= 0x040300]
9432         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9433         [__LINUX_KERNEL_VERSION >= 0x040300]
9434         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9435         [__LINUX_KERNEL_VERSION >= 0x040300]
9436         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9437         [__LINUX_KERNEL_VERSION >= 0x040300]
9438         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9439         [__LINUX_KERNEL_VERSION >= 0x040300]
9440         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9441         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9442         Likewise.
9443         [__LINUX_KERNEL_VERSION >= 0x040300]
9444         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9446         Likewise.
9447         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9448         Likewise.
9449         [__LINUX_KERNEL_VERSION >= 0x040300]
9450         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9452         Likewise.
9453         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9456         (__ASSUME_SOCKET_SYSCALL): Likewise.
9457         (__ASSUME_BIND_SYSCALL): Likewise.
9458         (__ASSUME_CONNECT_SYSCALL): Likewise.
9459         (__ASSUME_LISTEN_SYSCALL): Likewise.
9460         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9461         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9462         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9463         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9464         (__ASSUME_SEND_SYSCALL): Likewise.
9465         (__ASSUME_SENDTO_SYSCALL): Likewise.
9466         (__ASSUME_RECV_SYSCALL): Likewise.
9467         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9468         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9469         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9470         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9471         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9472         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9473         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9474         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9475         Likewise.
9476         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9477         Likewise.
9478         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9479         Likewise.
9480         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9481         Likewise.
9482         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9483         Likewise.
9484         [__LINUX_KERNEL_VERSION >= 0x020625]
9485         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9486         [__LINUX_KERNEL_VERSION >= 0x020625]
9487         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9488         [__LINUX_KERNEL_VERSION >= 0x020625]
9489         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9490         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9491         Likewise.
9492         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9493         Likewise.
9494         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9495         Likewise.
9496         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9497         Likewise.
9498         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9499         Likewise.
9500         [__LINUX_KERNEL_VERSION >= 0x020625]
9501         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9502         [__LINUX_KERNEL_VERSION >= 0x020625]
9503         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9504         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9505         Likewise.
9506         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9507         Likewise.
9509 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9511         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9512         record the current if the current ABI and CPU support the FP64
9513         extension.
9514         (has-modd-spreg): Define to record the current if the current ABI and
9515         CPU support 32-bit floating point values in odd FPU registers.
9516         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9517         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9518         $(has-modd-spreg) equals yes.
9519         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9520         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9521         $(has-modd-spreg) equal yes.
9523 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9525         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9526         basename.
9528 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9530         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9531         (bench-string): ... here.
9532         (bench): Add bench-string.
9533         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9534         to *-benchset to reflect what they are.
9535         (benchset): Adjust.
9537         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9538         cos-inputs.
9540 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9542         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9543         __attribute__ ((__simd__)) for vector math function declarations.
9545 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9547         Fix typo in strncat, wcsncat manual entries
9548         * manual/string.texi (Copying and Concatenation): Fix typos in
9549         sample implementations of strncat and wcsncat, by having them use
9550         the old value of the destination length, not the new one.
9552 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9554         [BZ #16961]
9555         [BZ #16962]
9556         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9557         string on the stack for strtod.
9558         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9559         a string on the stack for strtof.
9560         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9561         constructing a string on the stack for strtold.
9562         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9563         __strtold_nan to GLIBC_PRIVATE.
9564         * math/test-nan-overflow.c: New file.
9565         * math/test-nan-payload.c: Likewise.
9566         * math/Makefile (tests): Add test-nan-overflow and
9567         test-nan-payload.
9569 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9571         Consistency about byte vs character in string.texi
9572         * manual/string.texi (String and Array Utilities):
9573         Distinguish more carefully among bytes, multibyte characters,
9574         and wide characters.  Use "byte" when talking about C 'char',
9575         to distinguish it more clearly from multibyte characters.
9576         Say "wide character" or "multibyte character" instead of
9577         "character", when a wide or multibyte character is intended.
9578         Similarly for "multibyte string" versus "string".
9579         Define these terms more carefully.
9581 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9583         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9584         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9585         Likewise.
9586         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9587         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9588         * sysdeps/sh/math_private.h: New file.
9589         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9590         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9591         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9592         long double function name.
9593         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9594         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9595         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9599         Remove __finitel, __isinfl, and __isnanl.
9600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9601         Likewise.
9602         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9604         Remove __finitel.
9605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9606         Likewise.
9607         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9609 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9611         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9612         installed libmvec_nonshared.a.
9614 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9616         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9617         (sysdep_routines): Likewise.
9618         (sysdep-rtld-routines): Likewise.
9619         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9620         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9621         * sysdeps/powerpc/Versions: Added new
9622         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9623         * sysdeps/powerpc/hwcapinfo.c: New file.
9624         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9625         and parse hwcap, hwcap2 and platform number information.
9626         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9627         to store HWCAP+HWCAP2 and platform number.
9628         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9629         for HWCAP+HWCAP2 and platform number in the TCB.
9630         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9631         the HWCAP, HWCAP2 and platform number in the TCB.
9632         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9633         (TLS_INIT_TP): Included calls to add the hwcap and
9634         at_platform values in the TCB in TP initialization.
9635         (TLS_DEFINE_INIT_TP): Likewise.
9636         (THREAD_GET_HWCAP): New macro.
9637         (THREAD_SET_HWCAP): Likewise.
9638         (THREAD_GET_AT_PLATFORM): Likewise.
9639         (THREAD_SET_AT_PLATFORM): Likewise.
9640         * sysdeps/powerpc/powerpc32/dl-machine.h:
9641         (dl_platform_init): New function that calls
9642         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9643         powerpc32.
9644         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9645         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9646         this functionality, static linking case.
9647         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9648         linking case.
9649         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9650         __parse_hwcap_and_convert_at_platform for the static linking case.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9652         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9653         ABI list for GLIBC 2.23.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9655         Likewise.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9657         Likewise.
9659 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9661         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9662         * configure: Regenerate.
9663         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9664         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9666 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9668         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9669         * iconvdata/ibm933.c: Likewise.
9670         * iconvdata/ibm935.c: Likewise.
9671         * iconvdata/ibm937.c: Likewise.
9672         * iconvdata/ibm939.c: Likewise.
9674 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9676         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9677         pthread_join.
9678         * nptl/tst-cancel21.c (tf): Likewise.
9680 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9682         [BZ #19313]
9683         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9684         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9685         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9686         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9687         Likewise.
9688         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9689         Likewise.
9690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9691         Likewise.
9692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9693         Likewise.
9694         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9695         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9696         unsigned long int with __CPU_MASK_TYPE.
9698 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9700         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9702 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9704         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9705         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9706         t512.x.
9707         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9709 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9711         [BZ #19214]
9712         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9713         argument to return extended model.  Update family and model
9714         with extended family and model when family == 0x0f.
9715         (init_cpu_features): Updated.
9717 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9719         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9720         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9722         * sysdeps/mach/hurd/mmap64.c: New file.
9724 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9726         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9727         rights for its main user thread in NEWTASK.
9729 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9731         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9732         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9734 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9736         [BZ #14259]
9737         * Makeconfig: Rename localedir to complocaledir.
9738         Rename inst_localedir to inst_complocaledir.
9739         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9740         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9741         * configure.ac: Use libc_cv_complocaledir.
9742         * configure: Regenerate.
9743         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9744         -DCOMPLOCALEDIR.
9745         * locale/findlocale.c: Use COMPLOCALEDIR.
9746         * locale/loadarchive.c: Likewise.
9747         * locale/programs/locale.c: Likewise.
9748         * locale/programs/localedef.c: Likewise.
9749         * locale/programs/locarchive.c: Likewise.
9750         * localedata/Makefile: Use inst_complocaledir.
9751         * sysdeps/gnu/configure: Regenerate.
9752         * sysdeps/hppa/configure: Regenerate.
9753         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9754         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9756         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9757         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9758         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9759         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9761 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9763         [BZ #19058]
9764         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9765         AS_NEEDED.
9766         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9767         workaround.
9768         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9769         libmvec-static-only-routines): Added new file.
9770         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9772 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9774         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9775         of interrupted RPC instead of restoring it.
9777         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9778         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9779         libc_hidden_def.
9780         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9781         into initialized data instead of common. Define rtld_hidden_data_def.
9782         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9783         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9784         libc_hidden_def.
9785         (if_freenameindex): Add libc_hidden_weak.
9786         (if_nameindex): Add libc_hidden_weak.
9787         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9788         __open64.
9789         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9790         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9791         * sysdeps/mach/nanosleep.c: Include <time.h>
9792         (__nanosleep): Rename to __libc_nanosleep.
9793         (__nanosleep): Add weak_alias.
9794         (nanosleep): Update alias.
9796 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9798         * stdlib/strtod_nan.c: New file.
9799         * stdlib/strtod_nan_double.h: Likewise.
9800         * stdlib/strtod_nan_float.h: Likewise.
9801         * stdlib/strtod_nan_main.c: Likewise.
9802         * stdlib/strtod_nan_narrow.h: Likewise.
9803         * stdlib/strtod_nan_wide.h: Likewise.
9804         * stdlib/strtof_nan.c: Likewise.
9805         * stdlib/strtold_nan.c: Likewise.
9806         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9807         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9808         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9809         * wcsmbs/wcstod_nan.c: Likewise.
9810         * wcsmbs/wcstof_nan.c: Likewise.
9811         * wcsmbs/wcstold_nan.c: Likewise.
9812         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9813         strtold_nan.
9814         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9815         wcstof_nan.
9816         * include/stdlib.h (__strtof_nan): Declare and use
9817         libc_hidden_proto.
9818         (__strtod_nan): Likewise.
9819         (__strtold_nan): Likewise.
9820         (__wcstof_nan): Likewise.
9821         (__wcstod_nan): Likewise.
9822         (__wcstold_nan): Likewise.
9823         * include/wchar.h (____wcstoull_l_internal): Declare.
9824         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9825         (____strtoull_l_internal): Remove declaration.
9826         (STRTOF_NAN): Define macro.
9827         (SET_MANTISSA): Remove macro.
9828         (STRTOULL): Likewise.
9829         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9830         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9831         (STRTOF_NAN): Define macro.
9832         (SET_MANTISSA): Remove macro.
9833         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9834         (SET_MANTISSA): Remove macro.
9835         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9836         macro.
9837         (SET_MANTISSA): Remove macro.
9838         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9839         macro.
9840         (SET_MANTISSA): Remove macro.
9841         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9842         (SET_MANTISSA): Remove macro.
9843         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9844         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9845         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9847         [BZ #19266]
9848         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9849         upper case and lower case letters inside NAN(), not using TOLOWER.
9850         * stdlib/tst-strtod-nan-locale-main.c: New file.
9851         * stdlib/tst-strtod-nan-locale.c: Likewise.
9852         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9853         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9854         Depend on $(gen-locales).
9855         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9856         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9857         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9858         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9859         Depend on $(gen-locales).
9860         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9862 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9864         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9866         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9868         __finitel, __isinfl, and __isnanl.
9869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9870         Likewise.
9871         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9873         __finitel.
9874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9875         Likewise.
9876         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9878 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9880         * malloc/memusage.c (me): Remove redundant getenv call.
9882 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9884         [BZ #19143]
9885         [BZ #19164]
9886         * nptl/check-cpuset.h: Remove.
9887         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9888         Remove CPU set size check.
9889         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9892         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9893         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9894         (__pthread_setaffinity_new): Remove CPU set size check.
9895         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9896         (__kernel_cpumask_size): Remove.
9897         (__sched_setaffinity_new): Remove CPU set size check.
9898         * manual/threads.texi (Default Thread Attributes): Remove stale
9899         reference to check_cpuset_attr, determine_cpumask_size in comment.
9900         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9901         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9902         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9903         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9904         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9905         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9906         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9907         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9908         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9909         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9910         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9911         skeleton test file.
9912         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9913         tst-affinity-pid.
9915 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9917         * scripts/update-abilist.sh: New file.
9918         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9919         * Makerules (update-all-abi-%, update-all-abi)
9920         (subdir_update-all-abi): New targets.
9921         * elf/Makefile (update-all-abi): New target.
9923 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9925         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9926         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9927         (__libc_lock_define_initialized): Use it.
9928         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9929         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9930         * malloc/malloc.c (main_arena): Likewise.
9931         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9932         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9934 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9936         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9937         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9938         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9939         (PTRACE_O_MASK): Update value.
9940         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9941         New value in enum __ptrace_setoptions.
9942         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9943         (PTRACE_O_MASK): Update value.
9944         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9945         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9946         (PTRACE_O_MASK): Update value.
9947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9948         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9949         (PTRACE_O_MASK): Update value.
9950         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9951         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9952         (PTRACE_O_MASK): Update value.
9953         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9954         New value in enum __ptrace_setoptions.
9955         (PTRACE_O_MASK): Update value.
9956         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9957         New value in enum __ptrace_setoptions.
9958         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9959         (PTRACE_O_MASK): Update value.
9961         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9962         New macro.
9963         (PACKET_AUXDATA): Likewise.
9964         (PACKET_ORIGDEV): Likewise.
9965         (PACKET_VERSION): Likewise.
9966         (PACKET_HDRLEN): Likewise.
9967         (PACKET_RESERVE): Likewise.
9968         (PACKET_TX_RING): Likewise.
9969         (PACKET_LOSS): Likewise.
9970         (PACKET_VNET_HDR): Likewise.
9971         (PACKET_TX_TIMESTAMP): Likewise.
9972         (PACKET_TIMESTAMP): Likewise.
9973         (PACKET_FANOUT): Likewise.
9974         (PACKET_TX_HAS_OFF): Likewise.
9975         (PACKET_QDISC_BYPASS): Likewise.
9976         (PACKET_ROLLOVER_STATS): Likewise.
9977         (PACKET_FANOUT_DATA): Likewise.
9978         (PACKET_MR_UNICAST): Likewise.
9980         [BZ #19242]
9981         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9982         (TOUPPER): Likewise.
9983         * stdlib/tst-strtol-locale-main.c: New file.
9984         * stdlib/tst-strtol-locale.c: Likewise.
9985         * stdlib/Makefile (tests): Add tst-strtol-locale.
9986         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9987         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9988         Depend on $(gen-locales).
9989         * wcsmbs/tst-wcstol-locale.c: New file.
9990         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9991         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9992         tr_TR.ISO-8859-9.
9993         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9994         Depend on $(gen-locales).
9996 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9998         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9999         __glibc_likely instead of __builtin_expect.  After falling back to
10000         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10001         system interface to register the code pages as occupied.
10003 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10005         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10006         [!ARM_MATH_PRIVATE_H].
10007         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10008         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10009         [!HPPA_MATH_PRIVATE_H].
10010         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10011         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10012         to [!I386_MATH_PRIVATE_H].
10013         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10014         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10015         Change guard to [!M68K_MATH_PRIVATE_H].
10016         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10017         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10018         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10019         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10020         macro.
10021         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10022         [!MIPS_MATH_PRIVATE_H].
10023         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10024         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10025         [!NIO2_MATH_PRIVATE_H].
10026         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10027         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10028         [!TILE_MATH_PRIVATE_H].
10029         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10031         [BZ #15421]
10032         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10033         initialize with 0 and define as weak alias of __signgam.
10034         * include/math.h [!_ISOMAC] (__signgam): Declare.
10035         * math/Makefile (libm-calls): Add w_lgamma_compat.
10036         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10037         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10038         test-signgam-ullong-init.
10039         (tests-static): Add test-signgam-uchar-static,
10040         test-signgam-uchar-init-static, test-signgam-uint-static,
10041         test-signgam-uint-init-static, test-signgam-ullong-static and
10042         test-signgam-ullong-init-static.
10043         (CFLAGS-test-signgam-uchar.c): New variable.
10044         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10045         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10046         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10047         (CFLAGS-test-signgam-uint.c): Likewise.
10048         (CFLAGS-test-signgam-uint-init.c): Likewise.
10049         (CFLAGS-test-signgam-uint-static.c): Likewise.
10050         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10051         (CFLAGS-test-signgam-ullong.c): Likewise.
10052         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10053         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10054         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10055         * math/Versions (libm): Add GLIBC_2.23.
10056         * math/lgamma-compat.h: New file.
10057         * math/test-signgam-main.c: Likewise.
10058         * math/test-signgam-uchar-init-static.c: Likewise.
10059         * math/test-signgam-uchar-init.c: Likewise.
10060         * math/test-signgam-uchar-static.c: Likewise.
10061         * math/test-signgam-uchar.c: Likewise.
10062         * math/test-signgam-uint-init-static.c: Likewise.
10063         * math/test-signgam-uint-init.c: Likewise.
10064         * math/test-signgam-uint-static.c: Likewise.
10065         * math/test-signgam-uint.c: Likewise.
10066         * math/test-signgam-ullong-init-static.c: Likewise.
10067         * math/test-signgam-ullong-init.c: Likewise.
10068         * math/test-signgam-ullong-static.c: Likewise.
10069         * math/test-signgam-ullong.c: Likewise.
10070         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10071         wrapper of w_lgamma_main.c.
10072         * math/w_lgamma_compat.c: New file.
10073         * math/w_lgamma_compatf.c: Likewise.
10074         * math/w_lgamma_compatl.c: Likewise.
10075         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10076         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10077         defining compatibility symbols.
10078         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10079         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10080         wrapper of w_lgammaf_main.c.
10081         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10082         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10083         defining compatibility symbols.
10084         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10085         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10086         wrapper of w_lgammal_main.c.
10087         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10088         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10089         defining compatibility symbols.
10090         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10091         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10092         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10093         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10094         <lgamma-compat.h>.
10095         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10096         (__ieee754_gamma): Define as alias.
10097         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10098         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10099         <lgamma-compat.h>.
10100         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10101         (__ieee754_gammaf): Define as alias.
10102         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10103         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10104         <lgamma-compat.h>.
10105         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10106         (__ieee754_gammal): Define as alias.
10107         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10108         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10109         <math/w_lgamma_compat.c>.
10110         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10111         Define as alias of __lgamma_compat and use in defining lgammal.
10112         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10113         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10114         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10115         (USE_AS_COMPAT): New macro.
10116         (LGAMMA_OLD_VER): Undefine and redefine.
10117         (lgammal): Do not define here.
10118         (gammal): Only define here if [GAMMA_ALIAS].
10119         * conform/linknamespace.pl (@whitelist): Remove signgam.
10120         * sysdeps/nacl/libm.abilist: Update.
10121         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10127         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10128         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10129         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10130         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10131         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10132         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10138         Likewise.
10139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10140         Likewise.
10141         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10142         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10143         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10145         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10147         Likewise.
10148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10149         Likewise.
10150         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10151         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10152         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10154 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10156         [BZ #16364]
10157         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10158         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10160 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10162         * sysdeps/s390/fpu/bits/mathinline.h:
10163         Use __asm__ [__volatile__] instead of asm [volatile].
10164         * sysdeps/s390/abort-instr.h: Likewise.
10165         * sysdeps/s390/atomic-machine.h: Likewise.
10166         * sysdeps/s390/bits/string.h: Likewise.
10167         * sysdeps/s390/dl-tls.h: Likewise.
10168         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10169         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10170         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10171         * sysdeps/s390/fpu/fesetround.c: Likewise.
10172         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10173         * sysdeps/s390/fpu/s_fma.c: Likewise.
10174         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10175         * sysdeps/s390/memusage.h: Likewise.
10176         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10177         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10178         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10179         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10180         * sysdeps/s390/nptl/tls.h: Likewise.
10181         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10182         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10183         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10184         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10185         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10186         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10187         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10188         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10189         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10190         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10191         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10192         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10193         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10194         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10195         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10196         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10197         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10198         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10199         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10201         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10203         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10205 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10206             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10208         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10209         Add lwarx hint, and use macro for acquire instruction.
10210         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10211         Likewise.
10212         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10213         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10214         update to use new atomic macros.
10216 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10218         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10219         (__lll_trylock_elision): Fix setting of adapt_count.
10220         * sysdeps/unix/sysv/linux/powerpc/htm.h
10221         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10222         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10223         (_ABORT_SYSCALL): Renumber, and clarify definition.
10224         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10226 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10228         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10229         after system headers to prevent MIN/MAX redefinition.  Define
10230         HAVE_ALLOCA to preserve builtin alloca usage.
10232 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10234         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10235         static and don't set or restore rounding.
10236         (__cos)[IN_SINCOS]: Likewise.
10237         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10238         (__sincos): Set and restore rounding mode.  Remove check for infinite
10239         or NaN input.
10241         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10243         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10244         as used.
10246 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10248         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10250 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10252         * config.make.in (have-glob-dat-reloc): New.
10253         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10254         target supports GLOB_DAT relocaton. AC_SUBST.
10255         * configure: Regenerated.
10256         * elf/Makefile (tests): Add tst-prelink.
10257         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10258         (tst-prelink-ENV): New.
10259         ($(objpfx)tst-prelink-conflict.out): Likewise.
10260         ($(objpfx)tst-prelink-cmp.out): Likewise.
10261         * sysdeps/x86/tst-prelink.c: Moved to ...
10262         * elf/tst-prelink.c: Here.
10263         * sysdeps/x86/tst-prelink.exp: Moved to ...
10264         * elf/tst-prelink.exp: Here.
10265         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10266         (tst-prelink-ENV): Removed.
10267         ($(objpfx)tst-prelink-conflict.out): Likewise.
10268         ($(objpfx)tst-prelink-cmp.out): Likewise.
10269         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10271 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10273         [BZ #14551]
10274         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10275         (__mpn_construct_long_double): If high part overflows to infinity,
10276         set errno and recompute overflowed result of the correct sign.
10277         * sysdeps/ieee754/ldbl-128ibm/Makefile
10278         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10279         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10280         $(libm).
10281         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10283 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10285         [BZ #15479]
10286         [BZ #19238]
10287         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10288         floating-point state after first operation on input.  Restore full
10289         state rather than just rounding mode.
10290         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10291         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10292         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10294         [BZ #19235]
10295         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10296         add 0.5 to integer arguments.
10297         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10298         Likewise.
10299         (.LC2): New object.
10301 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10303         * scripts/pylintrc (reports): Set to no.
10305 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10307         * elf/dl-load.c (open_verify): Take new argument FD.
10308         Skip __open call if passed FD is not -1.
10309         (_dl_map_object, open_path): Update callers.
10310         * elf/dl-sysdep-open.h: New file.
10311         * elf/dl-load.c: Include it.
10312         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10313         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10314         * sysdeps/nacl/dl-sysdep-open.h: New file.
10315         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10316         from libc to rtld.
10318 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10320         [BZ #19228]
10321         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10322         and restore full floating-point state.
10323         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10324         Likewise.
10325         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10326         Likewise.
10327         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10328         Likewise.
10329         * math/test-nearbyint-except-2.c: New file.
10330         * math/Makefile (tests): Add test-nearbyint-except-2.
10332 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10334         [BZ #19178]
10335         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10336         (tst-prelink-ENV): New.
10337         ($(objpfx)tst-prelink-conflict.out): Likewise.
10338         ($(objpfx)tst-prelink-cmp.out): Likewise.
10339         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10340         * sysdeps/x86/tst-prelink.c: New file.
10341         * sysdeps/x86/tst-prelink.exp: Likewise.
10343 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10345         * math/auto-libm-test-in: Add another test of pow.
10346         * math/auto-libm-test-out: Regenerated.
10347         * math/libm-test.inc (pow_test_data): Add another test.
10349 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10351         [BZ #19219]
10352         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10353         weak_alias to nearbyintl.
10355 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10357         * sysdeps/aarch64/bits/string.h: New file.
10358         (_STRING_ARCH_unaligned): Define.
10360 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10362         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10363         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10364         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10365         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10368 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10370         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10371         for original name of the DSO.  Add it to the name list of the DSO
10372         if it is actually given.
10373         (_dl_map_object): Keep track of whether an audit module rewrote
10374         the file name.  If yes, pass the original name to
10375         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10376         debugging is enabled, log the change of the file name.
10377         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10378         _dl_map_object_from_fd.
10379         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10380         * elf/tst-audit11.c: New file
10381         * elf/tst-auditmod11.c: New file.
10382         * elf/tst-audit11mod1.c: New file.
10383         * elf/tst-audit11mod2.c: New file.
10384         * elf/tst-audit11mod2.map: New file.
10385         * elf/tst-audit12.c: New file
10386         * elf/tst-auditmod12.c: New file.
10387         * elf/tst-audit12mod1.c: New file.
10388         * elf/tst-audit12mod2.c: New file.
10389         * elf/tst-audit12mod2.map: New file.
10390         * elf/tst-audit12mod3.c: New file.
10392 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10394         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10395         Don't create weak aliases,
10396         because versioned symbols are created later.
10397         * sysdeps/s390/s390-32/setjmp.S
10398         (setjmp, _setjmp): Remove weak and rename to an unique name
10399         in SHARED case due to existing versioned symbols.
10400         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10401         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10402         (getcontext): Create weak alias only in non SHARED case.
10403         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10405 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10407         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10408         (__ASSUME_*_SYSCALL) Define new macros.
10409         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10410         Remove socketcall syscalls.
10411         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10412         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10413         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10414         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10415         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10416         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10418 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10420         [BZ #12926]
10421         Terminate process on invalid netlink response.
10422         * sysdeps/unix/sysv/linux/netlinkaccess.h
10423         (__netlink_assert_response): Declare.
10424         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10425         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10426         (sysdep_routines): Add netlink_assert_response.
10427         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10428         __netlink_assert_response.
10429         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10430         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10431         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10432         __netlink_assert_response.
10434 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10436         [BZ #19178]
10437         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10438         (RTYPE_CLASS_PLT): Likewise.
10439         (RTYPE_CLASS_COPY): Likewise.
10440         (RTYPE_CLASS_TLS): Likewise.
10441         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10442         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10443         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10444         DL_DEBUG_PRELINK.
10446 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10448         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10449         calls with argument -0.5.
10450         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10452         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10453         (libc_cv_z_nodlopen): Likewise.
10454         (libc_cv_z_initfirst): Likewise.
10455         * configure: Regenerated.
10457 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10459         Simplify abilist format to be line-based.
10460         * scripts/abilist.awk: Collect descriptors in the descs variable.
10461         (emit): Write descs variable and sort it
10462         externally, with sort.
10463         * sysdeps/**/*.abilist: Convert to new format.
10465 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10467         [BZ #11460]
10468         * io/Makefile (routines): Add fts64.
10469         (tests): Add tst-fts and tst-fts-lfs.
10470         (CFLAGS-fts64.c): New.
10471         * io/Versions (GLIBC_2.23): New.
10472         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10473         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10474         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10475         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10476         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10477         (FTSENT64): Likewise.
10478         (fts64_children): Likewise.
10479         (fts64_close): Likewise.
10480         (fts64_open): Likewise.
10481         (fts64_read): Likewise.
10482         (fts64_set): Likewise.
10483         * io/fts64.c: New file.
10484         * io/tst-fts.c: New test.
10485         * io/tst-fts-lfs.c: Likewise.
10486         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10487         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10488         fts64_set.
10489         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10490         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10491         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10492         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10493         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10494         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10495         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10496         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10499         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10500         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10501         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10503         Likewise.
10504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10505         Likewise.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10508         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10510         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10518         * sysdeps/wordsize-64/fts.c: New file.
10519         * sysdeps/wordsize-64/fts64.c: Likewise.
10520         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10521         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10522         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10523         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10525 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10527         * math/libm-test.inc (NON_FINITE): New macro.
10528         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10529         * math/gen-libm-test.pl (show_exceptions): Add argument
10530         $non_finite.
10531         (parse_args): Update call to show_exceptions.
10532         * math/test-math-finite.h: New file.
10533         * math/test-math-no-finite.h: Likewise.
10534         * math/test-double-finite.c: Likewise.
10535         * math/test-float-finite.c: Likewise.
10536         * math/test-ldouble-finite.c: Likewise.
10537         * math/test-double.c: Include "test-math-no-finite.h".
10538         * math/test-float.c: Include "test-math-no-finite.h".
10539         * math/test-ldouble.c: Include "test-math-no-finite.h".
10540         * math/test-math-inline.h (TEST_FINITE): New macro.
10541         * math/test-math-vector.h (TEST_FINITE): Likewise.
10542         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10543         (libm-tests): Add test-float-finite and test-double-finite.
10544         ($(objpfx)test-float-finite.o): New dependency on
10545         $(objpfx)libm-test.stmp.
10546         ($(objpfx)test-double-finite.o): Likewise.
10547         ($(objpfx)test-ldouble-finite.o): Likewise.
10548         (libm-test-no-inline-cflags): New variable.
10549         (libm-test-finite-cflags): Likewise.
10550         (CFLAGS-test-float-finite.c): Likewise.
10551         (CFLAGS-test-double-finite.c): Likewise.
10552         (CFLAGS-test-ldouble-finite.c): Likewise.
10553         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10554         (CFLAGS-test-double.c): Likewise.
10555         (CFLAGS-test-ldouble.c): Likewise.
10557 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10559         * io/fcntl.c (__fcntl): Add ... to prototype.
10560         * misc/ioctl.c (__ioctl): Likewise.
10561         * misc/syscall.c (syscall): Likewise.
10563 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10565         * scripts/list-fixed-bugs.py: New file.
10567         [BZ #19213]
10568         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10569         returned for argument 1.
10570         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10571         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10572         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10573         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10574         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10575         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10577         [BZ #19211]
10578         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10579         __USE_XOPEN], not if [!__USE_ISOC99].
10580         (lgammaf): Likewise.
10581         (lgammal): Likewise.
10582         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10583         (gammaf): Likewise.
10584         (gammal): Likewise.
10585         * math/test-signgam-finite-c11.c: New file.
10586         * math/test-signgam-finite-c99.c: Likewise.
10587         * math/test-signgam-finite.c: Likewise.
10588         * math/Makefile (tests): Add test-signgam-finite,
10589         test-signgam-finite-c99 and test-signgam-finite-c11.
10590         (CFLAGS-test-signgam-finite.c): New variable.
10591         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10592         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10594         [BZ #19212]
10595         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10596         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10597         500].
10598         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10599         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10600         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10601         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10602         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10603         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10604         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10605         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10606         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10607         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10609         [BZ #19209]
10610         * math/bits/math-finite.h (ldexp): Remove declaration.
10611         (ldexpf): Likewise.
10612         (ldexpl): Likewise.
10614         [BZ #19205]
10615         * math/bits/math-finite.h (acosf): Condition declaration on
10616         [__USE_ISOC99].
10617         (acosl): Likewise.
10618         (acoshf): Likewise.
10619         (acoshl): Likewise.
10620         (asinf): Likewise.
10621         (asinl): Likewise.
10622         (atan2f): Likewise.
10623         (atan2l): Likewise.
10624         (atanhf): Likewise.
10625         (atanhl): Likewise.
10626         (coshf): Likewise.
10627         (coshl): Likewise.
10628         (expf): Likewise.
10629         (expl): Likewise.
10630         (fmodf): Likewise.
10631         (fmodl): Likewise.
10632         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10633         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10634         (j0l): Likewise.
10635         (y0f): Likewise.
10636         (y0l): Likewise.
10637         (j1f): Likewise.
10638         (j1l): Likewise.
10639         (y1f): Likewise.
10640         (y1l): Likewise.
10641         (jnf): Likewise.
10642         (jnl): Likewise.
10643         (ynf): Likewise.
10644         (ynl): Likewise.
10645         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10646         (lgammal_r): Likewise.
10647         (__lgamma_r_finite): New declaration.
10648         (__lgammaf_r_finite): Likewise.
10649         (__lgammal_r_finite): Likewise.
10650         (lgamma): Use __lgamma_r_finite.
10651         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10652         __lgammaf_r_finite.
10653         (lgammal): Condition definition on [__USE_ISOC99].  Use
10654         __lgammal_r_finite.
10655         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10656         __lgamma_r_finite.
10657         (gammaf): Condition definition on [__USE_ISOC99].  Use
10658         __lgammaf_r_finite.
10659         (gammal): Condition definition on [__USE_ISOC99].  Use
10660         __lgammal_r_finite.
10661         (logf): Condition declaration on [__USE_ISOC99].
10662         (logl): Likewise.
10663         (log10f): Likewise.
10664         (log10l): Likewise.
10665         (ldexpf): Likewise.
10666         (ldexpl): Likewise.
10667         (powf): Likewise.
10668         (powl): Likewise.
10669         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10670         __USE_ISOC99].
10671         (remainderf): Condition declaration on [__USE_ISOC99].
10672         (remainderl): Likewise.
10673         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10674         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10675         (scalbl): Likewise.
10676         (sinhf): Condition declaration on [__USE_ISOC99].
10677         (sinhl): Likewise.
10678         (sqrtf): Likewise.
10679         (sqrtl): Likewise.
10681 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10683         * sysdeps/arm/atomic-machine.h
10684         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10685         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10686         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10687         Remove conditional code.
10688         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10689         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10690         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10691         Change conditional to [__ASSEMBLER__].
10692         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10693         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10694         [!__ASSEMBLER__].
10695         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10696         code.
10697         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10698         conditional macro definitions.
10699         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10700         (__arch_compare_and_exchange_val_16_acq): Likewise.
10701         (__arch_compare_and_exchange_val_32_acq): Likewise.
10702         (atomic_exchange_and_add): Likewise.
10703         (atomic_add): Likewise.
10704         (atomic_add_negative): Likewise.
10705         (atomic_add_zero): Likewise.
10706         (atomic_bit_set): Likewise.
10707         (atomic_bit_test_set): Likewise.
10708         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10709         code unconditional.
10710         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10712         * math/test-math-errno.h: New file.
10713         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10714         empty.
10715         (TEST_ERRNO): New macro.
10716         (TEST_EXCEPTIONS): Likewise.
10717         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10718         (TEST_EXCEPTIONS): Likewise.
10719         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10720         * math/test-double.c: Include "test-math-errno.h".
10721         * math/test-float.c: Likewise.
10722         * math/test-ldouble.c: Likewise.
10723         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10724         code unconditional.
10725         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10726         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10727         unconditional.
10728         (test_errno): Only run code if TEST_ERRNO.
10729         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10731 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10733         * nptl/tst-once5.cc: Remove attribution.
10735 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10737         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10738         sqrt, tan, tanh, y0, y1 and yn.
10739         * math/auto-libm-test-out: Regenerated.
10740         * math/libm-test.inc (scalb_test_data): Add more tests.
10741         (scalbn_test_data): Likewise.
10742         (scalbln_test_data): Likewise.
10743         (signbit_test_data): Likewise.
10744         (sin_test_data): Likewise.
10745         (sincos_test_data): Likewise.
10746         (sinh_test_data): Likewise.
10747         (sqrt_test_data): Likewise.
10748         (tan_test_data): Likewise.
10749         (tanh_test_data): Likewise.
10750         (tgamma_test_data): Likewise.
10751         (y0_test_data): Likewise.
10752         (y1_test_data): Likewise.
10753         (yn_test_data): Likewise.
10754         (significand_test_data): Likewise.
10755         * sysdeps/i386/fpu/libm-test-ulps: Update.
10757 2015-11-03  David Kastrup  <dak@gnu.org>
10759         [BZ #18604]
10760         * assert/assert.h (assert): Don't macro-expand failed assertion
10761         expression in error message.
10762         * malloc/malloc.c (assert): Likewise.
10764 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10766         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10767         test.
10768         * configure: Regenerated.
10770 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10772         * math/libm-test.inc (modf_test_data): Add more tests.
10773         (nearbyint_test_data): Likewise.
10774         (nextafter_test_data): Likewise.
10775         (nexttoward_test_data): Likewise.
10776         (pow_test_data): Likewise.
10777         (remainder_test_data): Likewise.
10778         (remquo_test_data): Likewise.
10779         (rint_test_data): Likewise.
10781         [BZ #19201]
10782         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10783         Check for zero remainder in case of large exponents and ensure
10784         correct sign of result in that case.
10785         * math/libm-test.inc (remainder_test_data): Add more tests.
10787         [BZ #6799]
10788         * math/s_nextafter.c: Include <errno.h>.
10789         (__nextafter): Set errno on overflow and underflow.
10790         * math/s_nexttowardf.c: Include <errno.h>.
10791         (__nexttowardf): Set errno on overflow and underflow.
10792         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10793         (__nextafterl): Set errno on overflow and underflow.
10794         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10795         (__nexttoward): Set errno on overflow and underflow.
10796         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10797         (__nexttowardf): Set errno on overflow and underflow.
10798         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10799         (__nextafterf): Set errno on overflow and underflow.
10800         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10801         (__nextafterl): Set errno on overflow and underflow.
10802         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10803         (__nexttoward): Set errno on overflow and underflow.
10804         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10805         (__nexttowardf): Set errno on overflow and underflow.
10806         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10807         (__nextafterl): Set errno on overflow and underflow.
10808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10809         (__nexttoward): Set errno on overflow and underflow.
10810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10811         (__nexttowardf): Set errno on overflow and underflow.
10812         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10813         (__nexttoward): Set errno on overflow and underflow.
10814         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10815         (__nexttowardf): Set errno on overflow and underflow.
10816         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10817         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10818         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10819         (__nextafterl): Set errno on overflow and underflow.
10820         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10821         setting to be missing on overflow.  Add more tests.
10822         (nexttoward_test_data): Likewise.
10824         * configure.ac (libc_cv_initfini_array): Remove configure test.
10825         * configure: Regenerated.
10827 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #19189]
10830         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10831         non-finite argument handle arguments with negative sign.
10833         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10834         result from infinite argument.
10835         (j1_test_data): Likewise.
10836         (jn_test_data): Likewise.
10837         (y0_test_data): Likewise.
10838         (y1_test_data): Likewise.
10839         (yn_test_data): Likewise.
10841         [BZ #16171]
10842         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10843         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10844         * math/w_remainderf.c (dremf): Define as weak alias of
10845         __remainderf.
10846         * math/w_remainderl.c (dreml): Define as weak alias of
10847         __remainderl.
10848         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10849         __remainder.
10850         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10851         __remainderf.
10852         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10853         __remainderl.
10854         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10855         weak alias of remainderl.
10856         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10857         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10858         alias of __remainder.
10859         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10860         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10861         strong alias of __remainderl.
10862         (dreml): Use long_double_symbol.
10863         * math/Makefile (libm-calls): Remove w_drem.
10864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10865         (CFLAGS-nldbl-drem.c): Remove variable.
10866         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10867         * math/w_drem.c: Remove file.
10868         * math/w_dremf.c: Likewise.
10869         * math/w_dreml.c: Likewise.
10870         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10871         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10872         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10874         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10875         * sysdeps/i386/configure: Regenerated.
10876         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10877         * sysdeps/x86_64/configure: Regenerated.
10879         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10880         test.
10881         (libc_cv_visibility_attribute): Likewise.
10882         (libc_cv_protected_data): Test unconditionally.
10883         (libc_cv_broken_visibility_attribute): Remove configure test.
10884         (libc_cv_have_sdata_section): Test unconditionally.
10885         * configure: Regenerated.
10887         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10888         * include/scratch_buffer.h: Include <stddef.h> instead of
10889         <libc-internal.h>.
10890         (struct scratch_buffer): Use max_align_t instead of
10891         libc_max_align_t.
10893 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10895         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10896         instead of extend_alloca.  Change control flow to avoid a goto.
10897         Remove assert which is trivially always true.
10899 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10901         [BZ #16068]
10902         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10903         (FE_ALL_EXCEPT_X86): New macro.
10904         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10905         FE_ALL_EXCEPT.  Ensure precision control is included in
10906         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10907         handle "denormal operand exception" and clear FZ and DAZ bits.
10908         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10909         (FE_ALL_EXCEPT_X86): New macro.
10910         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10911         FE_ALL_EXCEPT.  Ensure precision control is included in
10912         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10913         handle "denormal operand exception" and clear FZ and DAZ bits.
10914         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10915         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10916         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10917         test-fenv-x87 and test-fenv-sse-2.
10918         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10920         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10921         * math/test-double.h (BUILD_COMPLEX): New macro.
10922         * math/test-float.h (BUILD_COMPLEX): Likewise.
10923         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10925         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10926         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10927         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10929         instead of DBL_DENORM_MIN in comment.
10930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10931         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10933         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10934         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10935         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10937 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10939         [BZ# 19048]
10940         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10941         attached_threads member.
10942         (main_arena): Initialize attached_threads.
10943         * malloc/arena.c (list_lock): Update comment.
10944         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10945         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10946         (deattach_arena): New function.
10947         (_int_new_arena): Initialize arena reference count and deattach
10948         replaced arena.
10949         (get_free_list, reused_arena): Update reference count and deattach
10950         replaced arena.
10951         (arena_thread_freeres): Update arena reference count and only put
10952         unreferenced arenas on the free list.
10954 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10956         [BZ #19181]
10957         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10958         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10959         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10960         * math/test-fenv-clear-main.c: New file.
10961         * math/test-fenv-clear.c: Likewise.
10962         * math/Makefile (tests): Add test-fenv-clear.
10963         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10964         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10965         test-fenv-clear-sse.
10966         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10968         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10969         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10970         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10972 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10974         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10975         static libc.
10977 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10979         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10980         test.
10981         * sysdeps/i386/configure: Regenerated.
10982         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10983         test.
10984         * sysdeps/x86_64/configure: Regenerated.
10985         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10987         memset-avx2 unconditionally instead of conditionally on
10988         [$(config-cflags-avx2) = yes].
10989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10990         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10991         unconditional.
10992         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10993         * sysdeps/x86_64/multiarch/memset_chk.S
10994         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10995         to [IS_IN (libc) && SHARED].
10997 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10999         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11000         configure test.
11001         * sysdeps/arm/configure: Regenerated.
11002         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11003         Define variable if not already defined.
11005         [BZ #17404]
11006         * sysdeps/mips/atomic-machine.h
11007         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11008         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11009         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11011         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11012         unconditional.
11013         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11014         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11015         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11016         unconditional.
11017         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11018         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11019         unconditional.
11020         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11021         * stdlib/setenv.c
11022         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11023         code unconditional.
11024         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11025         Remove conditional code.
11026         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11027         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11028         unconditional.
11029         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11030         code.
11031         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11032         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11033         unconditional.
11034         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11035         code.
11036         * sysdeps/ieee754/ldbl-128/k_tanl.c
11037         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11038         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11040         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11041         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11042         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11043         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11044         unconditional.
11045         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11046         code.
11047         * sysdeps/ieee754/ldbl-96/k_tanl.c
11048         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11049         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11051         * nptl/tst-initializers1-c11.c: New file.
11052         * nptl/tst-initializers1-gnu11.c: Likewise.
11053         * nptl/Makefile (tests): Add these new tests.
11054         (CFLAGS-tst-initializers1-c11.c): New variable.
11055         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11057         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11058         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11059         instead of -std=gnu99.
11060         * configure.ac (systemtap): Test with -std=gnu11 instead of
11061         -std=gnu99.
11062         * configure: Regenerated.
11063         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11064         in compilation command in comment.
11066         * sysdeps/nptl/configure.ac: Remove file.
11067         * sysdeps/nptl/configure: Remove generated file.
11068         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11069         * configure: Regenerated.
11070         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11071         * config.make.in (have-forced-unwind): Remove variable.
11072         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11073         unconditional.
11074         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11075         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11076         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11077         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11078         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11079         unconditional.
11081 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11083         [BZ #19174]
11084         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11085         .skip_lock_out_of_tbegin_retries.
11086         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11087         (__lll_lock_elision): Likewise, and respect a value of
11088         try_tbegin <= 0.
11090 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11092         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11093         statement.
11095 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11097         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11098         variable.
11099         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11100         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11102         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11103         of -std=c1x -D_ISOC11_SOURCE.
11105         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11106         * configure: Regenerated.
11107         * manual/install.texi (Tools for Compilation): Document
11108         requirement for GCC 4.7 or later.
11109         * INSTALL: Regenerated.
11111 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11113         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11114         on CNT to a conditional jump to 'puntdata'.
11116 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11118         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11119         (libc_cv_gcc_tls_model_attr): Likewise.
11120         * configure: Regenerated.
11122         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11123         * configure: Regenerated.
11124         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11126 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11128         * configure.ac (old_glibc_headers): Remove configure test.
11129         * configure: Regenerated.
11130         * config.make.in (old-glibc-headers): Remove variable.
11131         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11132         (install): Remove dependency on remove-old-headers.
11133         (headers2_0): Remove variable.
11134         (remove-old-headers): Remove rule.
11136         * configure.ac (libc_cv_dot_text): Remove configure test.
11137         (libc_cv_asm_set_directive): Use .text instead of
11138         ${libc_cv_dot_text} in configure test.
11139         * configure: Regenerated.
11141 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11143         [BZ #19168]
11144         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11146 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11148         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11149         not support static linking.
11150         * configure: Regenerate.
11152 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11154         * math/libm-test.inc (check_float_internal): Do not special-case
11155         errors up to 0.5 ulp.
11157         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11158         log2.
11159         * math/auto-libm-test-out: Regenerated.
11160         * math/libm-test.inc (MAX_EXP): New macro.
11161         (ilogb_test_data): Add more tests.
11162         (isfinite_test_data): Likewise.
11163         (isgreater_test_data): Likewise.
11164         (isgreaterequal_test_data): Likewise.
11165         (isinf_test_data): Likewise.
11166         (isless_test_data): Likewise.
11167         (islessequal_test_data): Likewise.
11168         (islessgreater_test_data): Likewise.
11169         (isnan_test_data): Likewise.
11170         (isnormal_test_data): Likewise.
11171         (issignaling_test_data): Likewise.
11172         (isunordered_test_data): Likewise.
11173         (j0_test_data): Likewise.
11174         (j1_test_data): Likewise.
11175         (jn_test_data): Likewise.
11176         (lgamma_test_data): Likewise.
11177         (log_test_data): Likewise.
11178         (log10_test_data): Likewise.
11179         (log1p_test_data): Likewise.
11180         (log2_test_data): Likewise.
11181         (logb_test_data): Likewise.
11182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11184         [BZ #18611]
11185         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11186         avoid excess range and precision on underflow.
11187         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11188         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11189         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11190         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11191         underflow.
11192         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11194         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11196         * math/auto-libm-test-in: Do not allow missing errno setting for
11197         tests of j1 and jn.
11198         * math/auto-libm-test-out: Regenerated.
11200 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11202         [BZ #15491]
11203         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11204         floating-point environment instead of clearing all exceptions.
11205         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11206         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11207         merging in "invalid" exceptions from frndint.
11208         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11209         * math/test-nearbyint-except.c: New file.
11210         * math/Makefile (tests): Add test-nearbyint-except.
11212 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11214         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11216         * sysdeps/tile/libm-test-ulps: Regenerated.
11218 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11221         (__NR_sync_file_range2): Assume it is always defined.
11222         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11223         (__NR_sync_file_range): Assume it is always defined.
11225 2015-10-22  Andreas Schwab  <schwab@suse.de>
11227         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11228         INTERNAL_SYSCALL_ERRNO.
11229         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11230         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11231         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11232         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11233         Likewise.
11234         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11236 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11238         * io/tst-fcntl.c (fd): New static variable.
11239         (do_prepare): Open temporary file here....
11240         (do_test): ...not here.
11242         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11244 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11246         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11247         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11248         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11249         Moved before "#ifdef __ASSEMBLER__".
11251 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11253         [BZ #19156]
11254         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11255         arguments very close to 0.
11257 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11259         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11260         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11262 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11264         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11265         New.  Defined for GCC 5 and above when not compiling for
11266         profiling.
11267         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11269         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11270         Renamed to ...
11271         (CFLAGS-epoll_pwait.o): This.
11272         (CFLAGS-mmap.c): Renamed to ...
11273         (CFLAGS-mmap.o): This.
11274         (CFLAGS-mmap64.c): Renamed to ...
11275         (CFLAGS-mmap64.o): This.
11276         (CFLAGS-epoll_pwait.os): New.
11277         (CFLAGS-mmap.os): Likewise.
11278         (CFLAGS-mmap64.os): Likewise.
11279         (CFLAGS-semtimedop.os): Likewise.
11280         (CFLAGS-semtimedop.c): Renamed to ...
11281         (CFLAGS-semtimedop.o): This.
11283 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11285         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11286         warning message.
11288 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11290         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11291         * Makefile ($(objpfx)c++-types-check.out): Filter out
11292         $(+gccwarn-c) instead of -Wstrict-prototypes.
11294         * io/fts.c (fts_open): Convert to prototype-style function
11295         definition.
11296         * malloc/mcheck.c (mcheck): Likewise.
11297         (mcheck_pedantic): Likewise.
11298         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11299         internal_function.
11300         (re_search_internal): Likewise.
11301         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11302         prototype-style function definition.
11303         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11304         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11305         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11306         (xdr_utmpptr): Likewise.
11307         (xdr_utmparr): Likewise.
11308         (xdr_utmpidle): Likewise.
11309         (xdr_utmpidleptr): Likewise.
11310         (xdr_utmpidlearr): Likewise.
11312         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11313         log, log10 and log2.
11314         * math/auto-libm-test-out: Regenerated.
11315         * math/libm-test.inc (fmod_test_data): Add more tests.
11316         (fpclassify_test_data): Likewise.
11317         (frexp_test_data): Likewise.
11318         (hypot_test_data): Likewise.
11319         (ilogb_test_data): Likewise.
11321 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11323         * debug/fortify_fail.c (__fortify_fail): Convert to
11324         prototype-style function definition.  Use internal_function.
11325         * libio/genops.c (save_for_backup): Convert to prototype-style
11326         function definition.
11327         * libio/wgenops.c (save_for_wbackup): Likewise.
11328         * login/grantpt.c (grantpt): Likewise.
11329         * login/ptsname.c (ptsname): Likewise.
11330         (__ptsname_r): Likewise.
11331         * login/unlockpt.c (unlockpt): Likewise.
11332         * mach/msgserver.c (__mach_msg_server): Likewise.
11333         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11334         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11335         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11336         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11337         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11338         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11339         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11340         Likewise.
11341         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11342         internal_function.
11343         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11344         prototype-style function definition.
11345         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11346         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11347         (__pthread_create_2_0): Likewise.
11348         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11349         * nptl/register-atfork.c (__register_atfork): Likewise.
11350         * posix/glob.c (glob): Likewise.
11351         * posix/regcomp.c (re_comp): Likewise.
11352         * posix/regexec.c (re_exec): Likewise.
11353         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11354         [!__STDC__]: Remove conditional code.
11355         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11356         [!__STDC__]: Remove conditional code.
11357         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11358         [!__STDC__]: Remove conditional code.
11359         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11360         [!__STDC__]: Remove conditional code.
11361         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11362         [!__STDC__]: Remove conditional code.
11363         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11364         [!__STDC__]: Remove conditional code.
11365         * stdlib/mul.c [__STDC__]: Make code unconditional.
11366         [!__STDC__]: Remove conditional code.
11367         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11368         [!__STDC__]: Remove conditional code.
11369         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11370         [!__STDC__]: Remove conditional code.
11371         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11372         function definition.
11373         (STRTOF): Likewise.
11374         * stdlib/strtod_l.c (__STRTOF): Likewise.
11375         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11376         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11377         (__strtol_l): Likewise.
11378         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11379         [!__STDC__]: Remove conditional code.
11380         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11381         definition.
11382         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11383         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11384         type.
11385         (__strcasecmp): Convert to prototype-style function definition.
11386         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11387         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11388         type.
11389         (__strncasecmp): Convert to prototype-style function definition.
11390         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11391         * sunrpc/xdr.c (xdr_union): Likewise.
11392         * sunrpc/xdr_array.c (xdr_array): Likewise.
11393         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11394         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11395         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11396         Likewise.
11397         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11398         Likewise.
11399         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11400         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11401         Likewise.
11402         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11403         (LOCALE_PARAM_PROTO): Likewise.
11404         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11405         argument type.
11406         (ut_argument_spec): Remove macro.
11407         (ut_argument_spec_iso): Rename to ut_argument_spec.
11408         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11409         prototype-style function definition.
11410         (memcpy_uppcase): Likewise.
11411         (__strftime_internal): Likewise.
11412         (my_strftime): Likewise.
11413         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11414         (LOCALE_PARAM_DECL): Likewise.
11415         [_LIBC] (LOCALE_PARAM): Include argument type.
11416         (__strptime_internal): Convert to prototype-style function
11417         definition.
11418         (strptime): Likewise.
11419         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11420         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11421         type.
11422         (__wcscasecmp): Convert to prototype-style function definition.
11423         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11424         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11425         type.
11426         (__wcsncasecmp): Convert to prototype-style function definition.
11428         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11429         function definition.
11430         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11431         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11432         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11433         * elf/dl-minimal.c (_itoa): Likewise.
11434         * hurd/hurdmalloc.c (malloc): Likewise.
11435         (free): Likewise.
11436         (realloc): Likewise.
11437         * inet/inet6_option.c (inet6_option_space): Likewise.
11438         (inet6_option_init): Likewise.
11439         (inet6_option_append): Likewise.
11440         (inet6_option_alloc): Likewise.
11441         (inet6_option_next): Likewise.
11442         (inet6_option_find): Likewise.
11443         * io/ftw.c (FTW_NAME): Likewise.
11444         (NFTW_NAME): Likewise.
11445         (NFTW_NEW_NAME): Likewise.
11446         (NFTW_OLD_NAME): Likewise.
11447         * libio/iofwide.c (_IO_fwide): Likewise.
11448         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11449         (_IO_str_init_static): Likewise.
11450         (_IO_str_init_readonly): Likewise.
11451         (_IO_str_overflow): Likewise.
11452         (_IO_str_underflow): Likewise.
11453         (_IO_str_count): Likewise.
11454         (_IO_str_seekoff): Likewise.
11455         (_IO_str_pbackfail): Likewise.
11456         (_IO_str_finish): Likewise.
11457         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11458         (_IO_wstr_overflow): Likewise.
11459         (_IO_wstr_underflow): Likewise.
11460         (_IO_wstr_count): Likewise.
11461         (_IO_wstr_seekoff): Likewise.
11462         (_IO_wstr_pbackfail): Likewise.
11463         (_IO_wstr_finish): Likewise.
11464         * locale/programs/localedef.c (normalize_codeset): Likewise.
11465         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11466         (add_locales_to_archive): Likewise.
11467         (delete_locales_from_archive): Likewise.
11468         * malloc/malloc.c (__libc_mallinfo): Likewise.
11469         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11470         * misc/tsearch.c (__tfind): Likewise.
11471         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11472         * nptl/pthread_attr_getdetachstate.c
11473         (__pthread_attr_getdetachstate): Likewise.
11474         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11475         Likewise.
11476         * nptl/pthread_attr_getinheritsched.c
11477         (__pthread_attr_getinheritsched): Likewise.
11478         * nptl/pthread_attr_getschedparam.c
11479         (__pthread_attr_getschedparam): Likewise.
11480         * nptl/pthread_attr_getschedpolicy.c
11481         (__pthread_attr_getschedpolicy): Likewise.
11482         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11483         Likewise.
11484         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11485         Likewise.
11486         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11487         Likewise.
11488         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11489         Likewise.
11490         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11491         (__pthread_attr_init_2_0): Likewise.
11492         * nptl/pthread_attr_setdetachstate.c
11493         (__pthread_attr_setdetachstate): Likewise.
11494         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11495         Likewise.
11496         * nptl/pthread_attr_setinheritsched.c
11497         (__pthread_attr_setinheritsched): Likewise.
11498         * nptl/pthread_attr_setschedparam.c
11499         (__pthread_attr_setschedparam): Likewise.
11500         * nptl/pthread_attr_setschedpolicy.c
11501         (__pthread_attr_setschedpolicy): Likewise.
11502         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11503         Likewise.
11504         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11505         Likewise.
11506         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11507         Likewise.
11508         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11509         Likewise.
11510         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11511         Likewise.
11512         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11513         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11514         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11515         use internal_function.
11516         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11517         prototype-style function definition.
11518         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11519         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11520         internal_function.
11521         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11522         Convert to prototype-style function definition.
11523         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11524         Likewise.
11525         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11526         Likewise.
11527         (__pthread_mutex_unlock): Likewise.
11528         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11529         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11530         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11531         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11532         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11533         * nss/makedb.c (process_input): Likewise.
11534         * posix/fnmatch.c (__strchrnul): Likewise.
11535         (__wcschrnul): Likewise.
11536         (fnmatch): Likewise.
11537         * posix/fnmatch_loop.c (FCT): Likewise.
11538         * posix/glob.c (globfree): Likewise.
11539         (__glob_pattern_type): Likewise.
11540         (__glob_pattern_p): Likewise.
11541         * posix/regcomp.c (re_compile_pattern): Likewise.
11542         (re_set_syntax): Likewise.
11543         (re_compile_fastmap): Likewise.
11544         (regcomp): Likewise.
11545         (regerror): Likewise.
11546         (regfree): Likewise.
11547         * posix/regexec.c (regexec): Likewise.
11548         (re_match): Likewise.
11549         (re_search): Likewise.
11550         (re_match_2): Likewise.
11551         (re_search_2): Likewise.
11552         (re_search_stub): Likewise.  Use internal_function
11553         (re_copy_regs): Likewise.
11554         (re_set_registers): Convert to prototype-style function
11555         definition.
11556         (prune_impossible_nodes): Likewise.  Use internal_function.
11557         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11558         prototype-style function definition.
11559         (inet_net_pton_ipv4): Likewise.
11560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11561         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11562         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11563         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11564         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11565         Make variadic.
11566         * time/strptime_l.c (localtime_r): Convert to prototype-style
11567         function definition.
11568         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11569         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11570         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11571         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11573         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11574         definition.
11575         (_ufc_doit_r): Likewise.
11576         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11577         (_ufc_output_conversion_r): Likewise.
11578         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11579         * inet/rcmd.c (rcmd_af): Likewise.
11580         (rcmd): Likewise.
11581         (ruserok_af): Likewise.
11582         (ruserok): Likewise.
11583         (ruserok2_sa): Likewise.
11584         (ruserok_sa): Likewise.
11585         (iruserok_af): Likewise.
11586         (iruserok): Likewise.
11587         (__ivaliduser): Likewise.
11588         (__validuser2_sa): Likewise.
11589         * inet/rexec.c (rexec_af): Likewise.
11590         (rexec): Likewise.
11591         * inet/ruserpass.c (ruserpass): Likewise.
11592         * locale/programs/xmalloc.c (xcalloc): Likewise.
11593         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11594         * math/w_drem.c (__drem): Likewise.
11595         * math/w_dremf.c (__dremf): Likewise.
11596         * math/w_dreml.c (__dreml): Likewise.
11597         * misc/daemon.c (daemon): Likewise.
11598         * resolv/res_debug.c (p_fqnname): Likewise.
11599         * stdlib/div.c (div): Likewise.
11600         * string/memcmp.c (memcmp_bytes): Likewise.
11601         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11602         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11604         * crypt/cert.c (main): Convert to prototype-style function
11605         definition.
11606         * io/pipe.c (__pipe): Likewise.
11607         * io/pipe2.c (__pipe2): Likewise.
11608         * misc/futimesat.c (futimesat): Likewise.
11609         * misc/utimes.c (__utimes): Likewise.
11610         * posix/execve.c (__execve): Likewise.
11611         * posix/execvp.c (execvp): Likewise.
11612         * posix/execvpe.c (__execvpe): Likewise.
11613         * posix/fexecve.c (fexecve): Likewise.
11614         * socket/socketpair.c (socketpair): Likewise.
11615         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11616         * stdlib/erand48.c (erand48): Likewise.
11617         * stdlib/erand48_r.c (__erand48_r): Likewise.
11618         * stdlib/jrand48.c (jrand48): Likewise.
11619         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11620         * stdlib/lcong48.c (lcong48): Likewise.
11621         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11622         * stdlib/nrand48.c (nrand48): Likewise.
11623         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11624         * stdlib/seed48.c (seed48): Likewise.
11625         * stdlib/seed48_r.c (__seed48_r): Likewise.
11626         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11627         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11628         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11630 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11632         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11633         * configure: Regenerated.
11634         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11635         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11636         unconditional.
11637         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11638         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11639         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11640         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11641         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11642         unconditional.
11643         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11645         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11646         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11648         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11649         function definition.
11650         * crypt/crypt_util.c (__encrypt_r): Likewise.
11651         * libio/genops.c (_IO_no_init): Likewise.
11652         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11653         (_IO_old_fopencookie): Likewise.
11654         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11655         * libio/iogetline.c (_IO_getline): Likewise.
11656         (_IO_getline_info): Likewise.
11657         * libio/iogetwline.c (_IO_getwline): Likewise.
11658         (_IO_getwline_info): Likewise.
11659         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11660         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11661         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11662         (find_entry): Likewise.
11663         (iterate_table): Likewise.
11664         (lookup): Likewise.
11665         * login/forkpty.c (forkpty): Likewise.
11666         * misc/hsearch_r.c (__hsearch_r): Likewise.
11667         * misc/select.c (__select): Likewise.
11668         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11669         Likewise.
11670         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11671         Likewise.
11672         * nptl/old_pthread_cond_timedwait.c
11673         (__pthread_cond_timedwait_2_0): Likewise.
11674         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11675         * nptl/pthread_barrierattr_getpshared.c
11676         (pthread_barrierattr_getpshared): Likewise.
11677         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11678         Likewise.
11679         * nptl/pthread_mutex_setprioceiling.c
11680         (pthread_mutex_setprioceiling): Likewise.
11681         * nptl/pthread_mutexattr_getprioceiling.c
11682         (pthread_mutexattr_getprioceiling): Likewise.
11683         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11684         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11685         Likewise.
11686         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11687         Likewise.
11688         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11689         Likewise.
11690         * socket/recvfrom.c (__recvfrom): Likewise.
11691         * socket/sendto.c (__sendto): Likewise.
11692         * socket/setsockopt.c (__setsockopt): Likewise.
11693         * stdio-common/_itoa.c (_itoa): Likewise.
11694         * stdio-common/_itowa.c (_itowa): Likewise.
11695         * stdio-common/reg-printf.c (__register_printf_specifier):
11696         Likewise.
11697         (__register_printf_function): Likewise.
11698         * stdio-common/tempname.c (__path_search): Likewise.
11699         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11700         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11701         * stdlib/random_r.c (__initstate_r): Likewise.
11702         * stdlib/setenv.c (__add_to_environ): Likewise.
11703         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11704         * streams/getpmsg.c (getpmsg): Likewise.
11705         * streams/putmsg.c (putmsg): Likewise.
11706         * streams/putpmsg.c (putpmsg): Likewise.
11707         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11708         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11709         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11710         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11711         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11712         * sunrpc/svc_udp.c (cache_get): Likewise.
11713         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11714         * sysdeps/mach/hurd/getcwd.c
11715         (__canonicalize_directory_name_internal): Likewise.
11716         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11717         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11718         * sysdeps/mach/hurd/select.c (__select): Likewise.
11719         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11720         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11721         * sysdeps/sparc/nptl/pthread_barrier_init.c
11722         (__pthread_barrier_init): Likewise.
11723         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11724         (__pthread_cond_timedwait): Likewise.
11725         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11726         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11727         Likewise.
11728         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11729         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11730         Likewise.
11731         * sysvipc/semtimedop.c (semtimedop): Likewise.
11732         * time/setitimer.c (__setitimer): Likewise.
11733         * time/strftime_l.c (emacs_strftime): Likewise.
11735 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11737         * config.make.in (have-ssp): Delete.
11738         (stack-protector): New variable.
11739         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11740         cache test for -fstack-protector-strong.  Export stack_protector to
11741         the best ssp flag.
11742         * configure: Regenerated.
11743         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11744         * nscd/Makefile (CFLAGS-nscd): Likewise.
11745         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11747 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11749         [BZ #19122]
11750         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11751         attribute_hidden.
11753 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11755         [BZ #18743]
11756         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11757         code to...
11758         (ELIDE_LOCK): ...here.
11759         (__get_new_count): New function with part of the code from
11760         __elide_lock that updates the value of adapt_count after a
11761         transaction abort.
11762         (__elided_trylock): Moved this code to...
11763         (ELIDE_TRYLOCK): ...here.
11765 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11767         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11768         * configure: Regenerate.
11769         * INSTALL: Regenerate.
11770         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11771         and tweak grammar.
11773 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11775         * login/programs/pt_chown.c: Include signal.h
11776         (main): Clear any signal mask from the parent process.
11778 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11780         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11781         * configure: Regenerated.
11782         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11783         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11784         $(gnu89-inline-CFLAGS).
11786         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11787         test.
11788         (libc_cv_asm_weakext_directive): Likewise.
11789         * configure: Regenerated.
11790         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11791         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11792         * include/libc-symbols.h
11793         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11794         #error.
11795         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11796         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11798         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11799         prototype-style function definition.
11800         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11801         * sysdeps/i386/ffs.c (__ffs): Likewise.
11802         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11803         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11804         Likewise.
11805         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11806         Likewise.
11807         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11808         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11809         Likewise.
11810         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11811         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11812         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11813         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11814         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11815         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11816         * sysdeps/mach/hurd/access.c (__access): Likewise.
11817         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11818         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11819         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11820         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11821         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11822         (cthread_getspecific): Likewise.
11823         (cthread_setspecific): Likewise.
11824         (__libc_getspecific): Likewise.
11825         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11826         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11827         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11828         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11829         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11830         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11831         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11832         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11833         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11834         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11835         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11836         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11837         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11838         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11839         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11840         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11841         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11842         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11843         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11844         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11845         * sysdeps/mach/hurd/link.c (__link): Likewise.
11846         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11847         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11848         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11849         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11850         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11851         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11852         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11853         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11854         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11855         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11856         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11857         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11858         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11859         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11860         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11861         * sysdeps/mach/hurd/send.c (__send): Likewise.
11862         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11863         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11864         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11865         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11866         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11867         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11868         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11869         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11870         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11871         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11872         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11873         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11874         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11875         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11876         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11877         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11878         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11879         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11880         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11881         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11882         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11883         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11884         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11885         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11886         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11887         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11888         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11889         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11890         * sysdeps/posix/alarm.c (alarm): Likewise.
11891         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11892         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11893         * sysdeps/posix/dup.c (__dup): Likewise.
11894         * sysdeps/posix/dup2.c (__dup2): Likewise.
11895         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11896         (main): Likewise.
11897         * sysdeps/posix/flock.c (__flock): Likewise.
11898         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11899         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11900         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11901         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11902         * sysdeps/posix/isatty.c (__isatty): Likewise.
11903         * sysdeps/posix/killpg.c (killpg): Likewise.
11904         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11905         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11906         * sysdeps/posix/raise.c (raise): Likewise.
11907         * sysdeps/posix/remove.c (remove): Likewise.
11908         * sysdeps/posix/rename.c (rename): Likewise.
11909         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11910         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11911         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11912         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11913         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11914         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11915         * sysdeps/posix/sigset.c (sigset): Likewise.
11916         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11917         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11918         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11919         * sysdeps/posix/time.c (time): Likewise.
11920         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11921         (ttyname): Likewise.
11922         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11923         * sysdeps/posix/utime.c (utime): Likewise.
11924         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11925         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11926         Likewise.
11927         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11928         (pthread_spin_trylock): Likewise.
11929         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11930         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11931         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11932         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11933         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11934         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11935         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11936         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11937         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11938         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11939         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11940         * sysdeps/s390/ffs.c (__ffs): Likewise.
11941         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11942         Likewise.
11943         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11944         Likewise.
11945         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11946         Likewise.
11947         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11948         (pthread_barrier_destroy): Likewise.
11949         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11950         (__pthread_barrier_wait): Likewise.
11951         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11952         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11953         (__pthread_barrier_wait): Likewise.
11954         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11955         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11956         (memcmp_not_common_alignment): Likewise.
11957         (MEMCMP): Likewise.
11958         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11959         (_wordcopy_fwd_dest_aligned): Likewise.
11960         (_wordcopy_bwd_aligned): Likewise.
11961         (_wordcopy_bwd_dest_aligned): Likewise.
11962         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11963         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11964         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11965         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11966         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11967         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11968         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11969         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11970         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11971         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11972         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11973         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11974         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11975         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11976         * sysdeps/unix/stime.c (stime): Likewise.
11977         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11978         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11979         Likewise.  Use internal_function.
11980         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11981         Convert to prototype-style function definition.
11982         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11983         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11984         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11985         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11986         Likewise.  Use internal_function.
11987         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11988         prototype-style function definition
11989         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11990         Likewise.
11991         (__getlogin_r): Likewise.
11992         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11993         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11994         (__pthread_cond_broadcast): Likewise.
11995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11996         (__pthread_cond_destroy): Likewise.
11997         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11998         (__pthread_cond_init): Likewise.
11999         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12000         (__pthread_cond_signal): Likewise.
12001         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12002         (__pthread_cond_wait): Likewise.
12003         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12004         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12005         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12010         Likewise.
12011         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12012         Likewise.
12013         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12015         (__ftruncate64): Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12017         (truncate64): Likewise.
12018         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12019         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12020         (pthread_getcpuclockid): Likewise.
12021         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12022         Likewise.
12023         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12024         Likewise.
12025         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12026         Likewise.
12027         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12028         Likewise.
12029         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12030         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12031         (__libc_sigaction): Likewise.
12032         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12033         Likewise.
12034         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12035         (__sigprocmask): Likewise.
12036         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12037         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12038         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12039         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12040         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12041         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12042         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12043         Likewise.
12044         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12045         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12046         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12047         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12048         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12049         Likewise.
12050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12051         (__sigprocmask): Likewise.
12052         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12053         (cfgetispeed): Likewise.
12054         (cfsetospeed): Likewise.
12055         (cfsetispeed): Likewise.
12056         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12057         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12058         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12059         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12060         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12061         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12062         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12063         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12064         Likewise.
12065         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12066         Likewise.
12067         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12068         Likewise.
12069         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12070         Likewise.
12071         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12073 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12075         sunrpc: Rewrite with explicit TLS access using __thread.
12076         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12077         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12078         directly.
12079         (__rpc_thread_variables): Access thread_rpc_vars directly.
12080         Eliminate redundant assignment of the tvp variable.
12082 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12084         malloc: Rewrite with explicit TLS access using __thread.
12085         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12086         (tsd_setspecific, tsd_getspecific): Remove.
12087         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12088         (tsd_setspecific, tsd_getspecific): Likewise.
12089         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12090         (tsd_setspecific, tsd_getspecific): Likewise.
12091         * malloc/arena.c (thread_arena): New TLS variable.
12092         (arena_key): Remove variable.
12093         (arena_get): Use thread_arena.
12094         (arena_lookup): Remove macro.
12095         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12096         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12097         (_int_new_arena, get_free_list, reused_arena)
12098         (arena_thread_freeres): Use thread_arena.
12099         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12100         tsd_getspecific, tsd_setspecific from safety annotations.
12101         (Allocating Cleared Space): Remove arena_lookup from safety
12102         annotations.
12104 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12106         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12107         struct scratch_buffer instead of extend_alloca.
12109 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12111         * sysdeps/unix/sysv/linux/kernel-features.h
12112         (__ASSUME_SOCK_CLOEXEC): Remove.
12113         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12114         (__have_paccept): Remove unused macro.
12115         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12116         * misc/syslog.c (openlog_internal): Remove fallback code for
12117         !__ASSUME_SOCK_CLOEXEC.
12118         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12119         missing SOCK_CLOEXEC.
12120         * nscd/connections.c (have_sock_cloexec): Remove definition.
12121         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12122         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12123         !__ASSUME_SOCK_CLOEXEC.
12124         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12125         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12126         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12127         definition.
12128         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12129         code for !__ASSUME_SOCK_CLOEXEC.
12131 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12133         [BZ #18982]
12134         * manual/stdio.texi (Variable Arguments Output): Add portability
12135         note, explaining that vfprintf clobbers the va_list pointer.
12137 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12139         * math/libm-test.inc (fabs_test_data): Add more tests.
12140         (fdim_test_data): Likewise.
12141         (fma_test_data): Likewise.
12142         (fmax_test_data): Likewise.
12143         (fmin_test_data): Likewise.
12144         (fmod_test_data): Likewise.
12146 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12148         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12149         data.
12151 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12153         * math/libm-test.inc (ceil_test_data): Add more tests and more
12154         expectations for "inexact".
12155         (floor_test_data): Add more tests.
12156         (round_test_data): Likewise.
12157         (trunc_test_data): Likewise.
12159         * crypt/cert.c (good_bye): Convert to prototype-style function
12160         definition.
12161         (get8): Likewise.
12162         (put8): Likewise.
12163         * crypt/crypt-entry.c (crypt): Likewise.
12164         (__fcrypt): Likewise.
12165         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12166         (_ufc_set_bits): Likewise.
12167         (_ufc_clearmem): Likewise.
12168         (__init_des_r): Likewise.
12169         (shuffle_sb): Likewise.
12170         (shuffle_sb): Likewise.
12171         (_ufc_setup_salt_r): Likewise.
12172         (_ufc_mk_keytab_r): Likewise.
12173         (_ufc_dofinalperm_r): Likewise.
12174         (encrypt): Likewise.
12175         (__setkey_r): Likewise.
12176         (setkey): Likewise.
12177         * crypt/md5.c (md5_init_ctx): Likewise.
12178         (md5_read_ctx): Likewise.
12179         (md5_finish_ctx): Likewise.
12180         (md5_stream): Likewise.
12181         (md5_buffer): Likewise.
12182         (md5_process_bytes): Likewise.
12183         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12184         (__sha256_finish_ctx): Likewise.
12185         (__sha256_process_bytes): Likewise.
12186         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12187         (__sha512_finish_ctx): Likewise.
12188         (__sha512_process_bytes): Likewise.
12189         * ctype/isctype.c (__isctype): Likewise.
12190         * debug/backtrace.c (__backtrace): Likewise.
12191         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12192         * debug/fgets_chk.c (__fgets_chk): Likewise.
12193         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12194         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12195         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12196         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12197         * debug/memset_chk.c (__memset_chk): Likewise.
12198         * debug/strcat_chk.c (__strcat_chk): Likewise.
12199         * debug/strncat_chk.c (__strncat_chk): Likewise.
12200         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12201         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12202         * dirent/dirfd.c (dirfd): Likewise.
12203         * dirent/getdents.c (__getdirentries): Likewise.
12204         * dirent/getdents64.c (getdirentries64): Likewise.
12205         * dirent/rewinddir.c (__rewinddir): Likewise.
12206         * dirent/seekdir.c (seekdir): Likewise.
12207         * dirent/telldir.c (telldir): Likewise.
12208         * elf/sln.c (makesymlinks): Likewise.
12209         (makesymlink): Likewise.
12210         * gmon/gmon.c (__moncontrol): Likewise.
12211         (__monstartup): Likewise.
12212         (write_hist): Likewise.
12213         (write_call_graph): Likewise.
12214         (write_bb_counts): Likewise.
12215         * grp/setgroups.c (setgroups): Likewise.
12216         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12217         * inet/inet_net.c (inet_network): Likewise.
12218         * inet/inet_netof.c (inet_netof): Likewise.
12219         * inet/rcmd.c (rresvport_af): Likewise.
12220         (rresvport): Likewise.
12221         * io/access.c (__access): Likewise.
12222         * io/chdir.c (__chdir): Likewise.
12223         * io/chmod.c (__chmod): Likewise.
12224         * io/chown.c (__chown): Likewise.
12225         * io/close.c (__close): Likewise.
12226         * io/creat.c (creat): Likewise.
12227         * io/creat64.c (creat64): Likewise.
12228         * io/dup.c (__dup): Likewise.
12229         * io/dup2.c (__dup2): Likewise.
12230         * io/dup3.c (__dup3): Likewise.
12231         * io/euidaccess.c (__euidaccess): Likewise.
12232         * io/faccessat.c (faccessat): Likewise.
12233         * io/fchmod.c (__fchmod): Likewise.
12234         * io/fchmodat.c (fchmodat): Likewise.
12235         * io/fchown.c (__fchown): Likewise.
12236         * io/fchownat.c (fchownat): Likewise.
12237         * io/fcntl.c (__fcntl): Likewise.
12238         * io/flock.c (__flock): Likewise.
12239         * io/fts.c (fts_load): Likewise.
12240         (fts_close): Likewise.
12241         (fts_read): Likewise.
12242         (fts_set): Likewise.
12243         (fts_children): Likewise.
12244         (fts_build): Likewise.
12245         (fts_stat): Likewise.
12246         (fts_sort): Likewise.
12247         (fts_alloc): Likewise.
12248         (fts_lfree): Likewise.
12249         (fts_palloc): Likewise.
12250         (fts_padjust): Likewise.
12251         (fts_maxarglen): Likewise.
12252         (fts_safe_changedir): Likewise.
12253         * io/getwd.c (getwd): Likewise.
12254         * io/isatty.c (__isatty): Likewise.
12255         * io/lchown.c (__lchown): Likewise.
12256         * io/link.c (__link): Likewise.
12257         * io/linkat.c (linkat): Likewise.
12258         * io/lseek.c (__libc_lseek): Likewise.
12259         * io/mkdir.c (__mkdir): Likewise.
12260         * io/mkdirat.c (mkdirat): Likewise.
12261         * io/mkfifo.c (mkfifo): Likewise.
12262         * io/mkfifoat.c (mkfifoat): Likewise.
12263         * io/open.c (__libc_open): Likewise.
12264         * io/open64.c (__libc_open64): Likewise.
12265         * io/readlink.c (__readlink): Likewise.
12266         * io/readlinkat.c (readlinkat): Likewise.
12267         * io/rmdir.c (__rmdir): Likewise.
12268         * io/symlink.c (__symlink): Likewise.
12269         * io/symlinkat.c (symlinkat): Likewise.
12270         * io/ttyname.c (ttyname): Likewise.
12271         * io/ttyname_r.c (__ttyname_r): Likewise.
12272         * io/umask.c (__umask): Likewise.
12273         * io/unlink.c (__unlink): Likewise.
12274         * io/unlinkat.c (unlinkat): Likewise.
12275         * io/utime.c (utime): Likewise.
12276         * libio/clearerr.c (clearerr): Likewise.
12277         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12278         * libio/feof.c (_IO_feof): Likewise.
12279         * libio/feof_u.c (feof_unlocked): Likewise.
12280         * libio/ferror.c (_IO_ferror): Likewise.
12281         * libio/ferror_u.c (ferror_unlocked): Likewise.
12282         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12283         * libio/fileno.c (__fileno): Likewise.
12284         * libio/fputc.c (fputc): Likewise.
12285         * libio/fputc_u.c (fputc_unlocked): Likewise.
12286         * libio/fputwc.c (fputwc): Likewise.
12287         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12288         * libio/freopen.c (freopen): Likewise.
12289         * libio/freopen64.c (freopen64): Likewise.
12290         * libio/fseek.c (fseek): Likewise.
12291         * libio/fseeko.c (fseeko): Likewise.
12292         * libio/fseeko64.c (fseeko64): Likewise.
12293         * libio/ftello.c (__ftello): Likewise.
12294         * libio/ftello64.c (ftello64): Likewise.
12295         * libio/fwide.c (fwide): Likewise.
12296         * libio/genops.c (_IO_un_link): Likewise.
12297         (_IO_link_in): Likewise.
12298         (_IO_least_marker): Likewise.
12299         (_IO_switch_to_main_get_area): Likewise.
12300         (_IO_switch_to_backup_area): Likewise.
12301         (_IO_switch_to_get_mode): Likewise.
12302         (_IO_free_backup_area): Likewise.
12303         (_IO_switch_to_put_mode): Likewise.
12304         (__overflow): Likewise.
12305         (__underflow): Likewise.
12306         (__uflow): Likewise.
12307         (_IO_setb): Likewise.
12308         (_IO_doallocbuf): Likewise.
12309         (_IO_default_underflow): Likewise.
12310         (_IO_default_uflow): Likewise.
12311         (_IO_default_xsputn): Likewise.
12312         (_IO_sgetn): Likewise.
12313         (_IO_default_xsgetn): Likewise.
12314         (_IO_sync): Likewise.
12315         (_IO_default_setbuf): Likewise.
12316         (_IO_default_seekpos): Likewise.
12317         (_IO_default_doallocate): Likewise.
12318         (_IO_init): Likewise.
12319         (_IO_old_init): Likewise.
12320         (_IO_default_sync): Likewise.
12321         (_IO_default_finish): Likewise.
12322         (_IO_default_seekoff): Likewise.
12323         (_IO_sputbackc): Likewise.
12324         (_IO_sungetc): Likewise.
12325         (_IO_set_column): Likewise.
12326         (_IO_set_column): Likewise.
12327         (_IO_adjust_column): Likewise.
12328         (_IO_get_column): Likewise.
12329         (_IO_init_marker): Likewise.
12330         (_IO_remove_marker): Likewise.
12331         (_IO_marker_difference): Likewise.
12332         (_IO_marker_delta): Likewise.
12333         (_IO_seekmark): Likewise.
12334         (_IO_unsave_markers): Likewise.
12335         (_IO_nobackup_pbackfail): Likewise.
12336         (_IO_default_pbackfail): Likewise.
12337         (_IO_default_seek): Likewise.
12338         (_IO_default_stat): Likewise.
12339         (_IO_default_read): Likewise.
12340         (_IO_default_write): Likewise.
12341         (_IO_default_showmanyc): Likewise.
12342         (_IO_default_imbue): Likewise.
12343         (_IO_iter_next): Likewise.
12344         (_IO_iter_file): Likewise.
12345         * libio/getc.c (_IO_getc): Likewise.
12346         * libio/getwc.c (_IO_getwc): Likewise.
12347         * libio/iofclose.c (_IO_new_fclose): Likewise.
12348         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12349         * libio/iofflush.c (_IO_fflush): Likewise.
12350         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12351         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12352         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12353         * libio/iofgets.c (_IO_fgets): Likewise.
12354         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12355         * libio/iofgetws.c (fgetws): Likewise.
12356         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12357         * libio/iofopen64.c (_IO_fopen64): Likewise.
12358         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12359         (_IO_cookie_write): Likewise.
12360         (_IO_cookie_seek): Likewise.
12361         (_IO_cookie_close): Likewise.
12362         (_IO_cookie_seekoff): Likewise.
12363         (_IO_old_cookie_seek): Likewise.
12364         * libio/iofputs.c (_IO_fputs): Likewise.
12365         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12366         * libio/iofputws.c (fputws): Likewise.
12367         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12368         * libio/iofread.c (_IO_fread): Likewise.
12369         * libio/iofread_u.c (__fread_unlocked): Likewise.
12370         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12371         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12372         * libio/ioftell.c (_IO_ftell): Likewise.
12373         * libio/iofwrite.c (_IO_fwrite): Likewise.
12374         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12375         * libio/iogets.c (_IO_gets): Likewise.
12376         * libio/iopadn.c (_IO_padn): Likewise.
12377         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12378         (_IO_new_popen): Likewise.
12379         (_IO_new_proc_close): Likewise.
12380         * libio/ioputs.c (_IO_puts): Likewise.
12381         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12382         (_IO_seekoff): Likewise.
12383         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12384         (_IO_seekpos): Likewise.
12385         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12386         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12387         * libio/ioungetc.c (_IO_ungetc): Likewise.
12388         * libio/ioungetwc.c (ungetwc): Likewise.
12389         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12390         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12391         * libio/iowpadn.c (_IO_wpadn): Likewise.
12392         * libio/libc_fatal.c (__libc_fatal): Likewise.
12393         * libio/memstream.c (__open_memstream): Likewise.
12394         (_IO_mem_sync): Likewise.
12395         (_IO_mem_finish): Likewise.
12396         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12397         (_IO_old_file_close_it): Likewise.
12398         (_IO_old_file_finish): Likewise.
12399         (_IO_old_file_fopen): Likewise.
12400         (_IO_old_file_attach): Likewise.
12401         (_IO_old_file_setbuf): Likewise.
12402         (_IO_old_do_write): Likewise.
12403         (old_do_write): Likewise.
12404         (_IO_old_file_underflow): Likewise.
12405         (_IO_old_file_overflow): Likewise.
12406         (_IO_old_file_sync): Likewise.
12407         (_IO_old_file_seekoff): Likewise.
12408         (_IO_old_file_write): Likewise.
12409         (_IO_old_file_xsputn): Likewise.
12410         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12411         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12412         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12413         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12414         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12415         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12416         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12417         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12418         (_IO_old_popen): Likewise.
12419         (_IO_old_proc_close): Likewise.
12420         * libio/oldpclose.c (__old_pclose): Likewise.
12421         * libio/pclose.c (__new_pclose): Likewise.
12422         * libio/peekc.c (_IO_peekc_locked): Likewise.
12423         * libio/putc.c (_IO_putc): Likewise.
12424         * libio/putc_u.c (putc_unlocked): Likewise.
12425         * libio/putchar.c (putchar): Likewise.
12426         * libio/putchar_u.c (putchar_unlocked): Likewise.
12427         * libio/putwc.c (putwc): Likewise.
12428         * libio/putwc_u.c (putwc_unlocked): Likewise.
12429         * libio/putwchar.c (putwchar): Likewise.
12430         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12431         * libio/rewind.c (rewind): Likewise.
12432         * libio/setbuf.c (setbuf): Likewise.
12433         * libio/setlinebuf.c (setlinebuf): Likewise.
12434         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12435         * libio/vscanf.c (_IO_vscanf): Likewise.
12436         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12437         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12438         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12439         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12440         (_IO_switch_to_main_wget_area): Likewise.
12441         (_IO_switch_to_wbackup_area): Likewise.
12442         (_IO_wsetb): Likewise.
12443         (_IO_wdefault_pbackfail): Likewise.
12444         (_IO_wdefault_finish): Likewise.
12445         (_IO_wdefault_uflow): Likewise.
12446         (__woverflow): Likewise.
12447         (__wuflow): Likewise.
12448         (__wunderflow): Likewise.
12449         (_IO_wdefault_xsputn): Likewise.
12450         (_IO_wdefault_xsgetn): Likewise.
12451         (_IO_wdoallocbuf): Likewise.
12452         (_IO_wdefault_doallocate): Likewise.
12453         (_IO_switch_to_wget_mode): Likewise.
12454         (_IO_free_wbackup_area): Likewise.
12455         (_IO_switch_to_wput_mode): Likewise.
12456         (_IO_sputbackwc): Likewise.
12457         (_IO_sungetwc): Likewise.
12458         (_IO_adjust_wcolumn): Likewise.
12459         (_IO_init_wmarker): Likewise.
12460         (_IO_wmarker_delta): Likewise.
12461         (_IO_seekwmark): Likewise.
12462         (_IO_unsave_wmarkers): Likewise.
12463         * libio/wmemstream.c (open_wmemstream): Likewise.
12464         (_IO_wmem_sync): Likewise.
12465         (_IO_wmem_finish): Likewise.
12466         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12467         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12468         * locale/programs/simple-hash.c (init_hash): Likewise.
12469         (delete_hash): Likewise.
12470         (insert_entry): Likewise.
12471         (set_entry): Likewise.
12472         (next_prime): Likewise.
12473         (is_prime): Likewise.
12474         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12475         (xmalloc): Likewise.
12476         (xrealloc): Likewise.
12477         * locale/programs/xstrdup.c (xstrdup): Likewise.
12478         * localedata/collate-test.c (xstrcoll): Likewise.
12479         * localedata/xfrm-test.c (xstrcmp): Likewise.
12480         * login/getlogin_r.c (__getlogin_r): Likewise.
12481         * login/getpt.c (__posix_openpt): Likewise.
12482         * login/login_tty.c (login_tty): Likewise.
12483         * login/setlogin.c (setlogin): Likewise.
12484         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12485         (mach_msg_destroy_port): Likewise.
12486         (mach_msg_destroy_memory): Likewise.
12487         * malloc/mcheck.c (flood): Likewise.
12488         * misc/acct.c (acct): Likewise.
12489         * misc/brk.c (__brk): Likewise.
12490         * misc/chflags.c (chflags): Likewise.
12491         * misc/chroot.c (chroot): Likewise.
12492         * misc/fchflags.c (fchflags): Likewise.
12493         * misc/fstab.c (getfsspec): Likewise.
12494         (getfsfile): Likewise.
12495         * misc/fsync.c (fsync): Likewise.
12496         * misc/ftruncate.c (__ftruncate): Likewise.
12497         * misc/ftruncate64.c (__ftruncate64): Likewise.
12498         * misc/getdomain.c (getdomainname): Likewise.
12499         (getdomainname): Likewise.
12500         * misc/gethostname.c (__gethostname): Likewise.
12501         * misc/getpass.c (getpass): Likewise.
12502         * misc/getttyent.c (skip): Likewise.
12503         (value): Likewise.
12504         * misc/gtty.c (gtty): Likewise.
12505         * misc/hsearch.c (hsearch): Likewise.
12506         (hcreate): Likewise.
12507         * misc/hsearch_r.c (__hcreate_r): Likewise.
12508         (__hdestroy_r): Likewise.
12509         * misc/ioctl.c (__ioctl): Likewise.
12510         * misc/mkdtemp.c (mkdtemp): Likewise.
12511         * misc/mkostemp.c (mkostemp): Likewise.
12512         * misc/mkostemp64.c (mkostemp64): Likewise.
12513         * misc/mkostemps.c (mkostemps): Likewise.
12514         * misc/mkostemps64.c (mkostemps64): Likewise.
12515         * misc/mkstemp.c (mkstemp): Likewise.
12516         * misc/mkstemp64.c (mkstemp64): Likewise.
12517         * misc/mkstemps.c (mkstemps): Likewise.
12518         * misc/mkstemps64.c (mkstemps64): Likewise.
12519         * misc/mktemp.c (__mktemp): Likewise.
12520         * misc/preadv.c (preadv): Likewise.
12521         * misc/preadv64.c (preadv64): Likewise.
12522         * misc/pwritev.c (pwritev): Likewise.
12523         * misc/pwritev64.c (pwritev64): Likewise.
12524         * misc/readv.c (__readv): Likewise.
12525         * misc/revoke.c (revoke): Likewise.
12526         * misc/setdomain.c (setdomainname): Likewise.
12527         * misc/setegid.c (setegid): Likewise.
12528         * misc/seteuid.c (seteuid): Likewise.
12529         * misc/sethostid.c (sethostid): Likewise.
12530         * misc/sethostname.c (sethostname): Likewise.
12531         * misc/setregid.c (__setregid): Likewise.
12532         * misc/setreuid.c (__setreuid): Likewise.
12533         * misc/sstk.c (sstk): Likewise.
12534         * misc/stty.c (stty): Likewise.
12535         * misc/syscall.c (syscall): Likewise.
12536         * misc/syslog.c (setlogmask): Likewise.
12537         * misc/truncate.c (__truncate): Likewise.
12538         * misc/truncate64.c (truncate64): Likewise.
12539         * misc/ualarm.c (ualarm): Likewise.
12540         * misc/usleep.c (usleep): Likewise.
12541         * misc/ustat.c (ustat): Likewise.
12542         * misc/writev.c (__writev): Likewise.
12543         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12544         * nptl/old_pthread_cond_broadcast.c
12545         (__pthread_cond_broadcast_2_0): Likewise.
12546         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12547         Likewise.
12548         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12549         Likewise.
12550         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12551         Likewise.
12552         * nptl/pt-raise.c (raise): Likewise.
12553         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12554         Likewise.
12555         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12556         * nptl/pthread_barrierattr_destroy.c
12557         (pthread_barrierattr_destroy): Likewise.
12558         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12559         Likewise.
12560         * nptl/pthread_barrierattr_setpshared.c
12561         (pthread_barrierattr_setpshared): Likewise.
12562         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12563         Likewise.
12564         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12565         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12566         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12567         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12568         Likewise.
12569         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12570         Likewise.
12571         * nptl/pthread_condattr_getpshared.c
12572         (pthread_condattr_getpshared): Likewise.
12573         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12574         Likewise.
12575         * nptl/pthread_condattr_setpshared.c
12576         (pthread_condattr_setpshared): Likewise.
12577         * nptl/pthread_detach.c (pthread_detach): Likewise.
12578         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12579         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12580         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12581         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12582         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12583         Likewise.
12584         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12585         Likewise.
12586         * nptl/pthread_mutex_getprioceiling.c
12587         (pthread_mutex_getprioceiling): Likewise.
12588         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12589         Likewise.
12590         * nptl/pthread_mutexattr_getprotocol.c
12591         (pthread_mutexattr_getprotocol): Likewise.
12592         * nptl/pthread_mutexattr_getpshared.c
12593         (pthread_mutexattr_getpshared): Likewise.
12594         * nptl/pthread_mutexattr_getrobust.c
12595         (pthread_mutexattr_getrobust): Likewise.
12596         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12597         Likewise.
12598         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12599         Likewise.
12600         * nptl/pthread_mutexattr_setprioceiling.c
12601         (pthread_mutexattr_setprioceiling): Likewise.
12602         * nptl/pthread_mutexattr_setprotocol.c
12603         (pthread_mutexattr_setprotocol): Likewise.
12604         * nptl/pthread_mutexattr_setpshared.c
12605         (pthread_mutexattr_setpshared): Likewise.
12606         * nptl/pthread_mutexattr_setrobust.c
12607         (pthread_mutexattr_setrobust): Likewise.
12608         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12609         Likewise.
12610         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12611         Likewise.
12612         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12613         Likewise.
12614         * nptl/pthread_rwlockattr_getkind_np.c
12615         (pthread_rwlockattr_getkind_np): Likewise.
12616         * nptl/pthread_rwlockattr_getpshared.c
12617         (pthread_rwlockattr_getpshared): Likewise.
12618         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12619         Likewise.
12620         * nptl/pthread_rwlockattr_setkind_np.c
12621         (pthread_rwlockattr_setkind_np): Likewise.
12622         * nptl/pthread_rwlockattr_setpshared.c
12623         (pthread_rwlockattr_setpshared): Likewise.
12624         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12625         Likewise.
12626         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12627         Likewise.
12628         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12629         Likewise.
12630         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12631         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12632         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12633         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12634         * nptl/sem_close.c (sem_close): Likewise.
12635         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12636         * nptl/sem_init.c (__old_sem_init): Likewise.
12637         * nptl/sigaction.c (__sigaction): Likewise.
12638         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12639         * posix/_exit.c (_exit): Likewise.
12640         * posix/alarm.c (alarm): Likewise.
12641         * posix/confstr.c (confstr): Likewise.
12642         * posix/fpathconf.c (__fpathconf): Likewise.
12643         * posix/getgroups.c (__getgroups): Likewise.
12644         * posix/getpgid.c (__getpgid): Likewise.
12645         * posix/group_member.c (__group_member): Likewise.
12646         * posix/pathconf.c (__pathconf): Likewise.
12647         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12648         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12649         * posix/setgid.c (__setgid): Likewise.
12650         * posix/setpgid.c (__setpgid): Likewise.
12651         * posix/setuid.c (__setuid): Likewise.
12652         * posix/sleep.c (__sleep): Likewise.
12653         * posix/sysconf.c (__sysconf): Likewise.
12654         * posix/times.c (__times): Likewise.
12655         * posix/uname.c (__uname): Likewise.
12656         * posix/waitid.c (__waitid): Likewise.
12657         * pwd/getpw.c (__getpw): Likewise.
12658         * resolv/base64.c (b64_pton): Likewise.
12659         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12660         * resolv/gethnamaddr.c (Dprintf): Likewise.
12661         (gethostbyname): Likewise.
12662         (gethostbyname2): Likewise.
12663         (gethostbyaddr): Likewise.
12664         (_sethtent): Likewise.
12665         (_gethtbyname): Likewise.
12666         (_gethtbyname2): Likewise.
12667         (_gethtbyaddr): Likewise.
12668         (map_v4v6_address): Likewise.
12669         (map_v4v6_hostent): Likewise.
12670         (addrsort): Likewise.
12671         (ht_sethostent): Likewise.
12672         (ht_gethostbyname): Likewise.
12673         (ht_gethostbyaddr): Likewise.
12674         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12675         (inet_net_ntop_ipv4): Likewise.
12676         * resolv/inet_neta.c (inet_neta): Likewise.
12677         * resolv/inet_ntop.c (inet_ntop): Likewise.
12678         (inet_ntop4): Likewise.
12679         (inet_ntop6): Likewise.
12680         * resolv/inet_pton.c (__inet_pton): Likewise.
12681         (inet_pton4): Likewise.
12682         (inet_pton6): Likewise.
12683         * resolv/res_debug.c (loc_aton): Likewise.
12684         (loc_ntoa): Likewise.
12685         * resource/getpriority.c (__getpriority): Likewise.
12686         * resource/getrusage.c (__getrusage): Likewise.
12687         * resource/nice.c (nice): Likewise.
12688         * resource/setpriority.c (__setpriority): Likewise.
12689         * resource/setrlimit64.c (setrlimit64): Likewise.
12690         * resource/vlimit.c (vlimit): Likewise.
12691         * resource/vtimes.c (vtimes): Likewise.
12692         * rt/aio_error.c (aio_error): Likewise.
12693         * rt/aio_return.c (aio_return): Likewise.
12694         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12695         * signal/kill.c (__kill): Likewise.
12696         * signal/killpg.c (killpg): Likewise.
12697         * signal/raise.c (raise): Likewise.
12698         * signal/sigaction.c (__sigaction): Likewise.
12699         * signal/sigaddset.c (sigaddset): Likewise.
12700         * signal/sigaltstack.c (sigaltstack): Likewise.
12701         * signal/sigandset.c (sigandset): Likewise.
12702         * signal/sigblock.c (__sigblock): Likewise.
12703         * signal/sigdelset.c (sigdelset): Likewise.
12704         * signal/sigempty.c (sigemptyset): Likewise.
12705         * signal/sigfillset.c (sigfillset): Likewise.
12706         * signal/sighold.c (sighold): Likewise.
12707         * signal/sigignore.c (sigignore): Likewise.
12708         * signal/sigintr.c (siginterrupt): Likewise.
12709         * signal/sigisempty.c (sigisemptyset): Likewise.
12710         * signal/sigismem.c (sigismember): Likewise.
12711         * signal/signal.c (signal): Likewise.
12712         * signal/sigorset.c (sigorset): Likewise.
12713         * signal/sigpause.c (__sigpause): Likewise.
12714         * signal/sigpending.c (sigpending): Likewise.
12715         * signal/sigprocmask.c (__sigprocmask): Likewise.
12716         * signal/sigrelse.c (sigrelse): Likewise.
12717         * signal/sigreturn.c (__sigreturn): Likewise.
12718         * signal/sigset.c (sigset): Likewise.
12719         * signal/sigsetmask.c (__sigsetmask): Likewise.
12720         * signal/sigstack.c (sigstack): Likewise.
12721         * signal/sigsuspend.c (__sigsuspend): Likewise.
12722         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12723         * signal/sysv_signal.c (__sysv_signal): Likewise.
12724         * socket/accept.c (accept): Likewise.
12725         * socket/accept4.c (__libc_accept4): Likewise.
12726         * socket/bind.c (__bind): Likewise.
12727         * socket/connect.c (__connect): Likewise.
12728         * socket/getpeername.c (getpeername): Likewise.
12729         * socket/getsockname.c (__getsockname): Likewise.
12730         * socket/getsockopt.c (getsockopt): Likewise.
12731         * socket/listen.c (__listen): Likewise.
12732         * socket/recv.c (__recv): Likewise.
12733         * socket/recvmsg.c (__recvmsg): Likewise.
12734         * socket/send.c (__send): Likewise.
12735         * socket/sendmsg.c (__sendmsg): Likewise.
12736         * socket/shutdown.c (shutdown): Likewise.
12737         * socket/sockatmark.c (sockatmark): Likewise.
12738         * socket/socket.c (__socket): Likewise.
12739         * stdio-common/ctermid.c (ctermid): Likewise.
12740         * stdio-common/cuserid.c (cuserid): Likewise.
12741         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12742         * stdio-common/remove.c (remove): Likewise.
12743         * stdio-common/rename.c (rename): Likewise.
12744         * stdio-common/renameat.c (renameat): Likewise.
12745         * stdio-common/tempname.c (__gen_tempname): Likewise.
12746         * stdio-common/xbug.c (InitBuffer): Likewise.
12747         (AppendToBuffer): Likewise.
12748         (ReadFile): Likewise.
12749         * stdlib/a64l.c (a64l): Likewise.
12750         * stdlib/drand48_r.c (drand48_r): Likewise.
12751         * stdlib/getcontext.c (getcontext): Likewise.
12752         * stdlib/getenv.c (getenv): Likewise.
12753         * stdlib/l64a.c (l64a): Likewise.
12754         * stdlib/llabs.c (llabs): Likewise.
12755         * stdlib/lldiv.c (lldiv): Likewise.
12756         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12757         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12758         * stdlib/putenv.c (putenv): Likewise.
12759         * stdlib/random.c (__srandom): Likewise.
12760         (__initstate): Likewise.
12761         (__setstate): Likewise.
12762         * stdlib/random_r.c (__srandom_r): Likewise.
12763         (__setstate_r): Likewise.
12764         (__random_r): Likewise.
12765         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12766         * stdlib/setcontext.c (setcontext): Likewise.
12767         * stdlib/setenv.c (setenv): Likewise.
12768         (unsetenv): Likewise.
12769         * stdlib/srand48.c (srand48): Likewise.
12770         * stdlib/srand48_r.c (__srand48_r): Likewise.
12771         * stdlib/swapcontext.c (swapcontext): Likewise.
12772         * stdlib/system.c (__libc_system): Likewise.
12773         * stdlib/tst-strtod.c (expand): Likewise.
12774         * stdlib/tst-strtol.c (expand): Likewise.
12775         * stdlib/tst-strtoll.c (expand): Likewise.
12776         * streams/fattach.c (fattach): Likewise.
12777         * streams/fdetach.c (fdetach): Likewise.
12778         * streams/getmsg.c (getmsg): Likewise.
12779         * streams/isastream.c (isastream): Likewise.
12780         * string/ffs.c (__ffs): Likewise.
12781         * string/ffsll.c (ffsll): Likewise.
12782         * string/memcmp.c (memcmp_common_alignment): Likewise.
12783         (memcmp_not_common_alignment): Likewise.
12784         (MEMCMP): Likewise.
12785         * string/memcpy.c (memcpy): Likewise.
12786         * string/memmove.c (MEMMOVE): Likewise.
12787         * string/memset.c (memset): Likewise.
12788         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12789         * string/strchrnul.c (STRCHRNUL): Likewise.
12790         * string/strerror.c (strerror): Likewise.
12791         * string/strndup.c (__strndup): Likewise.
12792         * string/strverscmp.c (__strverscmp): Likewise.
12793         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12794         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12795         (clnttcp_freeres): Likewise.
12796         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12797         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12798         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12799         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12800         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12801         (xdr_callhdr): Likewise.
12802         * sunrpc/rpcinfo.c (udpping): Likewise.
12803         (tcpping): Likewise.
12804         (pstatus): Likewise.
12805         (pmapdump): Likewise.
12806         (brdcst): Likewise.
12807         (deletereg): Likewise.
12808         (getprognum): Likewise.
12809         (getvers): Likewise.
12810         (get_inet_address): Likewise.
12811         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12812         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12813         (svcudp_stat): Likewise.
12814         (svcudp_recv): Likewise.
12815         (svcudp_reply): Likewise.
12816         (svcudp_getargs): Likewise.
12817         (svcudp_freeargs): Likewise.
12818         (svcudp_destroy): Likewise.
12819         * sunrpc/xdr.c (xdr_bytes): Likewise.
12820         (xdr_netobj): Likewise.
12821         (xdr_string): Likewise.
12822         (xdr_wrapstring): Likewise.
12823         * sunrpc/xdr_float.c (xdr_float): Likewise.
12824         (xdr_double): Likewise.
12825         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12826         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12827         * sysvipc/ftok.c (ftok): Likewise.
12828         * sysvipc/msgctl.c (msgctl): Likewise.
12829         * sysvipc/msgget.c (msgget): Likewise.
12830         * sysvipc/msgrcv.c (msgrcv): Likewise.
12831         * sysvipc/msgsnd.c (msgsnd): Likewise.
12832         * sysvipc/semget.c (semget): Likewise.
12833         * sysvipc/semop.c (semop): Likewise.
12834         * sysvipc/shmat.c (shmat): Likewise.
12835         * sysvipc/shmctl.c (shmctl): Likewise.
12836         * sysvipc/shmdt.c (shmdt): Likewise.
12837         * sysvipc/shmget.c (shmget): Likewise.
12838         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12839         * termios/speed.c (cfgetospeed): Likewise.
12840         (cfgetispeed): Likewise.
12841         (cfsetospeed): Likewise.
12842         (cfsetispeed): Likewise.
12843         * termios/tcflow.c (tcflow): Likewise.
12844         * termios/tcflush.c (tcflush): Likewise.
12845         * termios/tcgetattr.c (__tcgetattr): Likewise.
12846         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12847         * termios/tcgetsid.c (tcgetsid): Likewise.
12848         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12849         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12850         * time/adjtime.c (__adjtime): Likewise.
12851         * time/dysize.c (dysize): Likewise.
12852         * time/ftime.c (ftime): Likewise.
12853         * time/getitimer.c (__getitimer): Likewise.
12854         * time/gettimeofday.c (__gettimeofday): Likewise.
12855         * time/gmtime.c (__gmtime_r): Likewise.
12856         (gmtime): Likewise.
12857         * time/localtime.c (__localtime_r): Likewise.
12858         (localtime): Likewise.
12859         * time/offtime.c (__offtime): Likewise.
12860         * time/settimeofday.c (__settimeofday): Likewise.
12861         * time/stime.c (stime): Likewise.
12862         * time/strftime_l.c (tm_diff): Likewise.
12863         (iso_week_days): Likewise.
12864         * time/strptime.c (strptime): Likewise.
12865         * time/time.c (time): Likewise.
12866         * time/timespec_get.c (timespec_get): Likewise.
12867         * time/tzset.c (tzset_internal): Likewise.
12868         (compute_change): Likewise.
12869         (__tz_compute): Likewise.
12870         * wcsmbs/btowc.c (__btowc): Likewise.
12871         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12872         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12873         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12874         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12875         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12876         * wcsmbs/wcscat.c (__wcscat): Likewise.
12877         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12878         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12879         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12880         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12881         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12882         * wcsmbs/wcslen.c (__wcslen): Likewise.
12883         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12884         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12885         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12886         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12887         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12888         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12889         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12890         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12891         * wcsmbs/wcstok.c (wcstok): Likewise.
12892         * wcsmbs/wctob.c (wctob): Likewise.
12893         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12894         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12895         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12896         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12897         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12898         * wcsmbs/wmemset.c (__wmemset): Likewise.
12899         * wctype/wcfuncs.c (__towlower): Likewise.
12900         (__towupper): Likewise.
12902         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12903         (lll_unlock_elision): Add adapt_count parameter.
12905 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12907         * sysdeps/nptl/configure.ac: Do not give errors based on the
12908         results of top-level configure tests.
12909         * sysdeps/nptl/configure: Regenerated.
12911         * configure.ac (libc_cv_Bgroup): Remove configure test.
12912         * configure: Regenerated.
12913         * config.make.in (have-Bgroup): Remove variable.
12915         * configure.ac (sizeof_long_double): Remove configure test.
12916         * configure: Regenerated.
12917         * config.make.in (sizeof-long-double): Remove variable.
12919         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12920         * configure: Regenerated.
12921         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12922         variable.
12923         (exceptions): Likewise.
12924         * sysdeps/arm/configure: Regenerated.
12925         * config.make.in (exceptions): Remove variable.
12926         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12927         $(exceptions).
12928         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12929         (CFLAGS-vdprintf_chk.c): Likewise.
12930         (CFLAGS-printf_chk.c): Likewise.
12931         (CFLAGS-fprintf_chk.c): Likewise.
12932         (CFLAGS-vprintf_chk.c): Likewise.
12933         (CFLAGS-vfprintf_chk.c): Likewise.
12934         (CFLAGS-gets_chk.c): Likewise.
12935         (CFLAGS-fgets_chk.c): Likewise.
12936         (CFLAGS-fgets_u_chk.c): Likewise.
12937         (CFLAGS-fread_chk.c): Likewise.
12938         (CFLAGS-fread_u_chk.c): Likewise.
12939         (CFLAGS-wprintf_chk.c): Likewise.
12940         (CFLAGS-fwprintf_chk.c): Likewise.
12941         (CFLAGS-vwprintf_chk.c): Likewise.
12942         (CFLAGS-vfwprintf_chk.c): Likewise.
12943         (CFLAGS-fgetws_chk.c): Likewise.
12944         (CFLAGS-fgetws_u_chk.c): Likewise.
12945         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12946         (CFLAGS-fputc.c): Likewise.
12947         (CFLAGS-fputwc.c): Likewise.
12948         (CFLAGS-freopen64.c): Likewise.
12949         (CFLAGS-freopen.c): Likewise.
12950         (CFLAGS-fseek.c): Likewise.
12951         (CFLAGS-fseeko64.c): Likewise.
12952         (CFLAGS-fseeko.c): Likewise.
12953         (CFLAGS-ftello64.c): Likewise.
12954         (CFLAGS-ftello.c): Likewise.
12955         (CFLAGS-fwide.c): Likewise.
12956         (CFLAGS-genops.c): Likewise.
12957         (CFLAGS-getc.c): Likewise.
12958         (CFLAGS-getchar.c): Likewise.
12959         (CFLAGS-getwc.c): Likewise.
12960         (CFLAGS-getwchar.c): Likewise.
12961         (CFLAGS-iofclose.c): Likewise.
12962         (CFLAGS-iofflush.c): Likewise.
12963         (CFLAGS-iofgetpos64.c): Likewise.
12964         (CFLAGS-iofgetpos.c): Likewise.
12965         (CFLAGS-iofgets.c): Likewise.
12966         (CFLAGS-iofgetws.c): Likewise.
12967         (CFLAGS-iofputs.c): Likewise.
12968         (CFLAGS-iofputws.c): Likewise.
12969         (CFLAGS-iofread.c): Likewise.
12970         (CFLAGS-iofsetpos64.c): Likewise.
12971         (CFLAGS-iofsetpos.c): Likewise.
12972         (CFLAGS-ioftell.c): Likewise.
12973         (CFLAGS-iofwrite.c): Likewise.
12974         (CFLAGS-iogetdelim.c): Likewise.
12975         (CFLAGS-iogetline.c): Likewise.
12976         (CFLAGS-iogets.c): Likewise.
12977         (CFLAGS-iogetwline.c): Likewise.
12978         (CFLAGS-ioputs.c): Likewise.
12979         (CFLAGS-ioseekoff.c): Likewise.
12980         (CFLAGS-ioseekpos.c): Likewise.
12981         (CFLAGS-iosetbuffer.c): Likewise.
12982         (CFLAGS-iosetvbuf.c): Likewise.
12983         (CFLAGS-ioungetc.c): Likewise.
12984         (CFLAGS-ioungetwc.c): Likewise.
12985         (CFLAGS-oldfileops.c): Likewise.
12986         (CFLAGS-oldiofclose.c): Likewise.
12987         (CFLAGS-oldiofgetpos64.c): Likewise.
12988         (CFLAGS-oldiofgetpos.c): Likewise.
12989         (CFLAGS-oldiofsetpos64.c): Likewise.
12990         (CFLAGS-oldiofsetpos.c): Likewise.
12991         (CFLAGS-peekc.c): Likewise.
12992         (CFLAGS-putc.c): Likewise.
12993         (CFLAGS-putchar.c): Likewise.
12994         (CFLAGS-putwc.c): Likewise.
12995         (CFLAGS-putwchar.c): Likewise.
12996         (CFLAGS-rewind.c): Likewise.
12997         (CFLAGS-wfileops.c): Likewise.
12998         (CFLAGS-wgenops.c): Likewise.
12999         (CFLAGS-oldiofopen.c): Likewise.
13000         (CFLAGS-iofopen.c): Likewise.
13001         (CFLAGS-iofopen64.c): Likewise.
13002         (CFLAGS-oldtmpfile.c): Likewise.
13003         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13004         (CFLAGS-fprintf.c): Likewise.
13005         (CFLAGS-printf.c): Likewise.
13006         (CFLAGS-vfwprintf.c): Likewise.
13007         (CFLAGS-vfscanf.c): Likewise.
13008         (CFLAGS-vfwscanf.c): Likewise.
13009         (CFLAGS-fscanf.c): Likewise.
13010         (CFLAGS-scanf.c): Likewise.
13011         (CFLAGS-isoc99_vfscanf.c): Likewise.
13012         (CFLAGS-isoc99_vscanf.c): Likewise.
13013         (CFLAGS-isoc99_fscanf.c): Likewise.
13014         (CFLAGS-isoc99_scanf.c): Likewise.
13015         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13016         (CFLAGS-isoc99_fwscanf.c): Likewise.
13017         (CFLAGS-isoc99_vwscanf.c): Likewise.
13018         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13020         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13021         after mkstemp64.
13022         * login/tst-utmp.c (do_prepare): Likewise.
13023         * rt/tst-aio.c (do_prepare): Likewise.
13024         * rt/tst-aio64.c (do_prepare): Likewise.
13026 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13028         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13029         (__lll_lock_elision): Remove adapt_count decrement...
13030         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13031         (__lll_trylock_elision): Likewise.
13032         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13033         (__lll_unlock_elision): ... to here. And utilize
13034         new adapt_count parameter.
13035         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13036         (__lll_unlock_elision): Update to include adapt_count
13037         parameter.
13038         (lll_unlock_elision): Pass pointer to adapt_count
13039         variable.
13041 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13043         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13044         Add elision adapt_count parameter to list of arguments.
13045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13046         (lll_unlock_elision): Update with new parameter list
13047         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13048         (lll_unlock_elision): Likewise.
13049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13050         (lll_unlock_elision): Likewise.
13052 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13054         [BZ #19122]
13055         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13056         attribute_hidden.
13058         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13059         attribute_hidden.
13060         [IS_IN (rtld)] (__strdup): Likewise.
13061         [IS_IN (rtld)] (__strerror_r): Likewise.
13062         [IS_IN (rtld)] (__strsep_g): Likewise.
13063         [IS_IN (rtld)] (memchr): Likewise.
13064         [IS_IN (rtld)] (memcmp): Likewise.
13065         [IS_IN (rtld)] (memcpy): Likewise.
13066         [IS_IN (rtld)] (memmove): Likewise.
13067         [IS_IN (rtld)] (memset): Likewise.
13068         [IS_IN (rtld)] (rawmemchr): Likewise.
13069         [IS_IN (rtld)] (stpcpy): Likewise.
13070         [IS_IN (rtld)] (strchr): Likewise.
13071         [IS_IN (rtld)] (strcmp): Likewise.
13072         [IS_IN (rtld)] (strlen): Likewise.
13073         [IS_IN (rtld)] (strnlen): Likewise.
13074         [IS_IN (rtld)] (strsep): Likewise.
13076         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13077         attribute_hidden.
13078         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13080         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13081         attribute_hidden.
13082         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13084         * include/setjmp.h (__longjmp): Add attribute_hidden.
13085         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13087         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13088         Add attribute_hidden.
13090         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13091         [IS_IN (rtld)] (__open): Likewise.
13092         [IS_IN (rtld)] (__fcntl): Likewise.
13094         * include/dirent.h (__opendirat): Add attribute_hidden.
13095         (__getdents): Likewise.
13096         (__getdents64): Likewise.
13097         (__alloc_dir): Likewise.
13098         [IS_IN (rtld)] (__closedir): Likewise.
13099         [IS_IN (rtld)] (__fdopendir): Likewise.
13100         [IS_IN (rtld)] (__readdir): Likewise.
13101         [IS_IN (rtld)] (__readdir64): Likewise.
13102         [IS_IN (rtld)] (__rewinddir): Likewise.
13104         * include/dlfcn.h (_dl_catch_error): Moved to ...
13105         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13106         attribute_hidden.
13108         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13109         (_itoa_word): Likewise.
13111         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13112         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13113         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13114         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13115         (_dl_higher_prime_number): Likewise.
13116         (_dl_debug_printf_c): Likewise.
13117         (_dl_signal_cerror): Likewise.
13118         (_dl_receive_error): Likewise.
13119         (_dl_reloc_bad_type): Likewise.
13120         (_dl_resolve_conflicts): Likewise.
13121         (_dl_check_all_versions): Likewise.
13122         (_dl_check_map_versions): Likewise.
13123         (_dl_sort_fini): Likewise.
13124         (_dl_debug_initialize): Likewise.
13125         (_dl_init_paths): Likewise.
13126         (_dl_show_auxv): Likewise.
13127         (_dl_next_ld_env_entry): Likewise.
13128         (_dl_important_hwcaps): Likewise.
13129         (_dl_load_cache_lookup): Likewise.
13130         (_dl_update_slotinfo): Likewise.
13131         (_dl_show_scope): Likewise.
13133         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13134         attribute_hidden.
13135         (_wordcopy_fwd_dest_aligned): Likewise.
13136         (_wordcopy_bwd_aligned): Likewise.
13137         (_wordcopy_bwd_dest_aligned): Likewise.
13139         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13140         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13141         Likewise.
13142         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13143         Likewise.
13144         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13146 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13148         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13149         GCC 5 requirement.
13151 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13153         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13154         test.
13155         * sysdeps/i386/configure: Regenerated.
13156         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13157         code unconditional.
13159         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13160         test.
13161         (libc_cv_asm_popsection_directive): Likewise.
13162         * configure: Regenerated.
13163         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13164         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13165         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13166         (__make_section_unallocated): Make definition unconditional.
13167         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13168         Remove conditional definition.
13169         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13170         (__make_section_unallocated): Likewise.
13172         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13173         * configure: Regenerated.
13174         * config.make.in (static-libgcc): Remove variable.
13175         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13176         $(static-libgcc).
13177         (build-module-helper): Likewise.
13179         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13180         * configure: Regenerated.
13182 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13184         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13185         (struct char_buffer): New type.
13186         (char_buffer_start, char_buffer_size, char_buffer_error)
13187         (char_buffer_rewind, char_buffer_add): New functions.
13188         (ADDW): Remove macro, replaced by the char_buffer_add function.
13189         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13190         of extend_alloca.  Make control flow more explicit.
13192 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13194         [BZ #19137]
13195         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13196         Add -fomit-frame-pointer.
13197         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13199 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13201         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13202         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13204         only if !__GNUC_PREREQ (5,0).
13205         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13206         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13207         (INTERNAL_SYSCALL_NCS): Likewise.
13208         (LOADREGS_0): New macro for GCC 5.
13209         (ASMARGS_0): Likewise.
13210         (LOADREGS_1): Likewise.
13211         (ASMARGS_1): Likewise.
13212         (LOADREGS_2): Likewise.
13213         (ASMARGS_2): Likewise.
13214         (LOADREGS_3): Likewise.
13215         (ASMARGS_3): Likewise.
13216         (LOADREGS_4): Likewise.
13217         (ASMARGS_4): Likewise.
13218         (LOADREGS_5): Likewise.
13219         (ASMARGS_5): Likewise.
13220         (LOADREGS_6): Likewise.
13221         (ASMARGS_6): Likewise.
13223 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13225         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13226         -fomit-frame-pointer.
13227         (CFLAGS-mmap64.c): Likewise.
13228         (CFLAGS-semtimedop.c): Likewise.
13229         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13230         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13231         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13232         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13234 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13236         [BZ #18928]
13237         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13238         _dl_pointer_guard member.
13239         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13240         initializer.
13241         (security_init): Always set up pointer guard.
13242         (process_envvars): Do not process LD_POINTER_GUARD.
13244 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13246         [BZ #19134]
13247         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13248         (.LC2): Likewise.
13249         (.LC3): Likewise.
13250         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13252 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13254         [BZ #19129]
13255         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13256         r0 and r1.
13258 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13260         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13262 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13264         * include/stap-probe.h: Fix macro definition formatting.
13266 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13268         [BZ #19074]
13269         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13270         load and store num_ifs.
13272 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13274         [BZ #18822]
13275         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13276         (__sched_getaffinity_new): Add libc_hidden_proto and
13277         libc_hidden_def.
13279 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13281         [BZ #19007]
13282         * scripts/localplt.awk: Also allow GOT references.
13283         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13284         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13285         with "+ REL R_386_GLOB_DAT".
13286         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13287         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13289 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13291         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13292         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13293         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13294         Likewise.
13295         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13296         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13297         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13298         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13299         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13300         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13301         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13302         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13303         Likewise.
13304         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13306 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13308         [BZ #19125]
13309         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13310         <math_private.h> and <stdint.h>.
13311         (__llround): Avoid conversions to and from long long int, and
13312         subtractions, where those might raise spurious exceptions.
13313         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13314         <math_private.h> and <stdint.h>.
13315         (__llroundf): Avoid conversions to and from long long int, and
13316         subtractions, where those might raise spurious exceptions.
13318 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13320         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13321         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13322         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13323         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13324         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13325         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13326         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13327         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13328         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13329         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13330         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13331         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13332         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13333         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13334         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13335         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13336         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13337         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13338         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13339         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13340         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13341         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13342         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13343         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13344         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13345         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13346         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13347         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13348         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13349         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13350         (__xstat64_conv): Likewise.
13351         (__xstat32_conv): Likewise.
13353 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13355         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13356         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13357         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13358         <sysdeps/unix/sysv/linux/sysdep.h>.
13359         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13360         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13361         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13362         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13363         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13364         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13365         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13366         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13367         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13370         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13373         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13375         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13376         (sysdep-dl-routines): Add sysdep.
13377         [$(subdir) == nptl] (libpthread-routines): Likewise.
13378         [$(subdir) == rt] (librt-routines): Likewise.
13379         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13380         PIC when branching to SYSCALL_ERROR_LABEL.
13381         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13382         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13383         <sysdeps/unix/sysv/linux/sysdep.h>.
13384         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13385         (SYSCALL_ERROR_ERRNO): Removed.
13386         (SYSCALL_ERROR_HANDLER): Changed to empty.
13387         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13388         (__syscall_error): New prototype.
13389         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13390         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13392 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13394         [BZ #19124]
13395         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13396         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13397         _dl_runtime_resolve_avx.
13398         (_dl_runtime_profile_avx512): Make it a hidden alias of
13399         _dl_runtime_profile_avx.
13401 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13403         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13404         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13405         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13406         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13408         [BZ #16422]
13409         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13410         New configure test.
13411         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13412         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13413         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13414         <math_private.h> and <stdint.h>.
13415         (__llrint): Avoid conversions to long long int where those might
13416         raise spurious exceptions.
13417         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13418         <math_private.h> and <stdint.h>.
13419         (__llrintf): Avoid conversions to long long int where those might
13420         raise spurious exceptions.
13422 2015-10-12  Andreas Schwab  <schwab@suse.de>
13424         [BZ #18969]
13425         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13426         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13427         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13428         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13429         $(gen-locales).
13430         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13431         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13432         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13433         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13434         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13435         $(gen-locales).
13436         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13437         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13438         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13439         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13440         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13441         ($(objpfx)tst-ftell-active-handler.out)
13442         ($(objpfx)tst-ftell-append.out)
13443         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13444         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13445         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13446         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13447         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13448         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13449         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13450         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13451         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13452         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13453         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13454         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13455         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13456         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13457         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13458         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13459         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13460         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13461         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13462         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13463         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13464         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13465         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13466         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13467         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13468         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13469         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13470         $(gen-locales).
13471         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13472         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13473         $(gen-locales).
13474         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13475         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13476         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13477         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13478         $(gen-locales).
13479         * libio/tst_wprintf2.c (main): Use explicit locale.
13480         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13482 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13484         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13485         __msg_sig_post.
13486         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13488 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13490         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13493         * sysdeps/arm/libm-test-ulps: Regenerated.
13495         [BZ #15470]
13496         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13498         [BZ #16399]
13499         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13500         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13501         and <fix-fp-int-convert-overflow.h>.
13502         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13503         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13504         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13505         and <fix-fp-int-convert-overflow.h>.
13506         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13507         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13508         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13509         <fix-fp-int-convert-overflow.h>.
13510         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13511         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13512         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13513         <fix-fp-int-convert-overflow.h>.
13514         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13515         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13516         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13517         and <fix-fp-int-convert-overflow.h>.
13518         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13519         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13520         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13521         <limits.h> and <fix-fp-int-convert-overflow.h>.
13522         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13523         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13524         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13525         and <fix-fp-int-convert-overflow.h>.
13526         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13527         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13528         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13529         and <fix-fp-int-convert-overflow.h>.
13530         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13531         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13532         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13534 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13536         [BZ #18589]
13537         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13538         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13539         $(gen-locales).
13541 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13542             Phil Blundell <pb@pbcl.net>
13544         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13545         * nptl/tst-cancel26.c: New file.
13546         * nptl/tst-cancel27.c: Likewise.
13548 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13550         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13551         __ILP32__ isn't defined.
13552         (lrint): Likewise.
13553         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13554         (lrintf): Likewise.
13555         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13556         (lrintl): Likewise.
13557         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13558         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13559         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13561 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13567         file.
13568         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13569         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13571 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13573         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13574         configure test.
13575         * sysdeps/i386/configure: Regenerated.
13576         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13577         configure test.
13578         * sysdeps/x86_64/configure: Regenerated.
13579         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13580         Make code unconditional.
13582         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13583         test.
13584         * sysdeps/i386/configure: Regenerated.
13585         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13586         test.
13587         * sysdeps/x86_64/configure: Regenerated.
13588         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13589         Make code unconditional.
13590         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13591         Likewise.
13592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13593         Likewise.
13594         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13595         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13596         code unconditional.
13597         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13598         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13599         code unconditional.
13600         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13601         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13602         code unconditional.
13603         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13604         code unconditional.
13605         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13606         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13607         code unconditional.
13608         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13609         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13610         code unconditional.
13611         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13612         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13613         code unconditional.
13614         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13615         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13616         code unconditional.
13617         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13618         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13620         [BZ #19095]
13621         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13622         mantissa to long int before shifting left.
13624 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13626         [BZ #19094]
13627         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13628         <limits.h>.
13629         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13630         when result overflows but exception would not result from cast.
13631         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13632         <limits.h>.
13633         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13634         when result overflows but exception would not result from cast.
13635         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13636         <limits.h>.
13637         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13638         when result overflows but exception would not result from cast.
13639         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13640         <limits.h>.
13641         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13642         when result overflows but exception would not result from cast.
13643         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13644         <limits.h>.
13645         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13646         when result overflows but exception would not result from cast.
13647         * math/libm-test.inc (lrint_test_data): Add more tests.
13648         (llrint_test_data): Likewise.
13650 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13652         [BZ #18872]
13653         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13654         Move out from under [$(run-built-tests) = yes] conditional.
13655         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13656         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13658 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13660         [BZ #18589]
13661         * string/Makefile (tests): Add bug-strcoll2.
13662         (LOCALES): Add cs_CZ.UTF-8.
13663         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13665         [BZ #18589]
13666         * string/bug-strcoll2.c: New file.
13667         * locale/categories.def: Revert commit
13668         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13669         * locale/langinfo.h: Likewise.
13670         * locale/localeinfo.h: Likewise.
13671         * locale/C-collate.c: Likewise.
13672         * locale/programs/ld-collate.c (collate_output): Likewise.
13673         * string/strcoll_l.c (STRDIFF): Likewise.
13674         (STRCOLL): Likewise.
13675         * wcsmbs/wcscoll_l.c: Likewise.
13677 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13679         * math/libm-test.inc (lround_test_data): Do not expect the absence
13680         of "inexact" for some tests with non-integer arguments.
13681         (llround_test_data): Likewise.
13683         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13684         test.
13685         (libc_cv_cc_sse2avx): Likewise.
13686         * sysdeps/i386/configure: Regenerated.
13687         * sysdeps/i386/i686/multiarch/Makefile
13688         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13689         [$(subdir) = math].
13690         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13691         code unconditional.
13692         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13693         Likewise.
13694         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13695         Likewise.
13696         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13697         Likewise.
13698         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13699         test.
13700         (libc_cv_cc_sse2avx): Likewise.
13701         * sysdeps/x86_64/configure: Regenerated.
13702         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13703         unconditional.
13704         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13705         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13706         unconditional.
13707         (_dl_runtime_profile)
13708         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13709         conditional code.
13710         * sysdeps/x86_64/fpu/multiarch/Makefile
13711         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13712         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13713         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13714         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13715         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13716         * sysdeps/x86_64/fpu/multiarch/e_log.c
13717         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13718         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13719         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13720         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13721         Likewise.
13722         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13723         Likewise.
13724         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13725         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13726         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13727         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13728         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13729         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13730         (HAVE_SSE2AVX_SUPPORT): Likewise.
13732 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13734         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13735         instead of #pragma optimize.
13737 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13739         [BZ #17195]
13740         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13741         as is similarly done in systrim and _int_free already.
13743 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13745         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13747 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13749         [BZ #19088]
13750         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13751         <limits.h>.
13752         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13753         overflows but exception would not result from cast.
13754         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13755         and <limits.h>.
13756         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13757         overflows but exception would not result from cast.
13758         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13759         <limits.h>.
13760         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13761         overflows but exception would not result from cast.
13762         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13763         <limits.h>.
13764         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13765         overflows but exception would not result from cast.
13766         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13767         <limits.h>.
13768         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13769         overflows but exception would not result from cast.
13770         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13771         <limits.h>.
13772         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13773         overflows but exception would not result from cast.
13774         * math/libm-test.inc (lround_test_data): Add more tests.
13775         (llround_test_data): Likewise.
13777 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13779         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13780         (CFLAGS-ialloc.c): Ditto.
13781         (CFLAGS-scheck.c): Ditto.
13783 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13785         [BZ #19086]
13786         * manual/filesys.texi (Storage Allocation): Fix argument order for
13787         posix_fallocate64.
13789 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13791         [BZ #19085]
13792         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13793         exponent below 48 inside case for non-overflowing exponent.
13794         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13796 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13798         * iconvdata/cp737.h (from_idx): Add const.
13799         * iconvdata/cp775.h (from_idx): Likewise.
13801 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13803         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13804         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13805         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13807         [BZ #19079]
13808         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13809         file, conditioned on [!_LP64].
13810         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13811         [!_LP64] (__lround): Do not define as function or alias.
13812         [!_LP64] (lround): Likewise.
13813         [!_LP64] (__lroundl): Likewise.
13814         [!_LP64] (lroundl): Likewise.
13815         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13816         macro.
13817         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13818         Likewise.
13820 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13822         * math/libm-test.inc (lrint_test_data): Add more tests.
13823         (llrint_test_data): Likewise.
13824         (lround_test_data): Likewise.
13825         (llround_test_data): Likewise.
13827         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13828         (llrint_test_data): Add tests used for lrint.
13830         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13831         test.
13832         * sysdeps/i386/configure: Regenerated.
13833         * sysdeps/i386/i686/multiarch/Makefile
13834         [$(config-cflags-sse4) = yes]: Make code unconditional.
13835         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13836         Likewise.
13837         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13838         Likewise.
13839         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13840         test.
13841         * sysdeps/x86_64/configure: Regenerated.
13842         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13843         Make code unconditional.
13844         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13845         Likewise.
13846         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13847         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13849         * scripts/rpm2dynsym.sh: Remove file.
13851 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13853         * configure.ac (libc_cv_cxx_thread_local): Define.
13854         * configure: Regenerate.
13855         * config.make.in (have-cxx-thread_local): Define.
13856         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13857         (LDLIBS-tst-thread_local1): Define.
13858         (tests): Add tst-thread_local1.
13859         [have-cxx-thread_local != yes] (tests-unsupported): Add
13860         tst-thread_local1.
13861         * nptl/tst-thread_local1.cc: New file.
13863 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13865         [BZ #19078]
13866         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13867         (u_thres): Likewise.
13868         (__expl): Determine whether to call __kernel_standard_l based on
13869         value of result, not argument.
13871         * math/libm-test.inc (scalb_test_data): Add more expectations for
13872         the "inexact" exception.
13874         [BZ #19077]
13875         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13876         0.0L for argument 1.0L.
13878         [BZ #19076]
13879         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13880         constant 0.0L when computing infinite result.
13882 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13884         [BZ #10432]
13885         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13886         malloc_usable_size.
13888 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13890         [BZ #19018]
13891         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13892         Mangle function pointer before storing it.
13893         (__call_tls_dtors): Demangle function pointer before calling it.
13895 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13897         [BZ #19012]
13898         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13899         Clean up on failure.
13901 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13903         [BZ #19071]
13904         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13905         long int variable to store possibly incremented high part of
13906         mantissa.
13907         * math/libm-test.inc (lround_test_data): Add tests used for
13908         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13909         for tests requiring 64-bit long.  Do not condition tests on
13910         [TEST_FLOAT] unnecessarily.
13911         (llround_test_data): Add tests used for lround.  Add another
13912         expectation for the "inexact" exception.  Do not condition tests
13913         on [TEST_FLOAT] unnecessarily.
13915         [BZ #887]
13916         [BZ #19049]
13917         [BZ #19050]
13918         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13919         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13920         <fix-int-fp-convert-zero.h>.
13921         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13922         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13923         <fix-int-fp-convert-zero.h>.
13924         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13925         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13926         <fix-int-fp-convert-zero.h>.
13927         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13928         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13929         <fix-int-fp-convert-zero.h>.
13930         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13931         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13932         <fix-int-fp-convert-zero.h>.
13933         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13934         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13935         <fix-int-fp-convert-zero.h>.
13936         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13937         * sysdeps/ieee754/flt-32/s_erff.c: Include
13938         <fix-int-fp-convert-zero.h>.
13939         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13940         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13941         <fix-int-fp-convert-zero.h>.
13942         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13944         <fix-int-fp-convert-zero.h>.
13945         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13946         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13947         <fix-int-fp-convert-zero.h>.
13948         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13949         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13950         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13951         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13952         file.
13953         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13955 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13959 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13961         [BZ #19059]
13962         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13963         overflowing computation.
13964         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13965         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13966         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13967         Likewise.
13968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13969         Likewise.
13970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13971         Likewise.
13972         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13973         Likewise.
13974         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13975         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13976         Likewise.
13977         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13978         Likewise.
13979         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13981         * nss/rewrite_field.c (__nss_rewrite_field): Use
13982         internal_function.
13983         * nss/valid_field.c (__nss_valid_field): Likewise.
13984         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13986 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13988         [BZ #18724]
13989         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13990         (__nss_invalid_field_characters, __nss_valid_field)
13991         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13992         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13993         tst-field.c: New file.
13994         * nss/Makefile (routines): Add valid_field, rewrite_field.
13995         (tests-static): Define unconditionally.
13996         (tests): Include tests-static.
13997         [build-static-nss] (tests-static): Use append.
13998         [build-static-nss] (tests): Remove modification.
13999         * nss/getent.c (print_group): Call putgrent.  Report error.
14000         (print_gshadow): Call putsgent.  Report error.
14001         (print_passwd): Call putpwent.  Report error.
14002         (print_shadow): Call putspent.  Report error.
14003         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14004         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14005         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14006         name, password, directory, shell fields for valid syntax.  Rewrite
14007         GECOS field to match syntax.
14008         * pwd/Makefile (tests): Add tst-putpwent.
14009         * pwd/tst-putpwent.c: New file.
14010         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14011         Check grName, grpasswd, gr_mem fields for valid syntax.
14012         Change loop variable i to size_t.
14013         * grp/Makefile (tests): Add tst-putgrent.
14014         * grp/tst-putgrent.c: New file.
14015         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14016         valid syntax.
14017         * shadow/Makefile (tests): Add tst-putspent.
14018         * shadow/tst-putspent.c: New file.
14019         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14020         sg_mem fields for valid syntax.
14021         * gshadow/Makefile (tests): Add tst-putsgent.
14022         * gshadow/tst-putsgent.c: New file.
14024 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14026         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14027         assembly instructions.
14029 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14031         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14032         prefix from operands.
14034 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14036         [BZ #16347]
14037         [BZ #19046]
14038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14039         <libc-internal.h>.
14040         (MAXLGM): Do not use diagnostic control macros.
14041         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14042         threshold for ldbl-128ibm.
14043         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14044         instead of multiplying by log then subtracting.
14045         * math/auto-libm-test-in: Add more tests of lgamma.
14046         * math/auto-libm-test-out: Regenerated.
14048         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14049         (TYPE_HEX_DIG): Likewise.
14050         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14051         precisions when printing floating-point numbers.
14052         (check_float_internal): Likewise.
14054 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14056         [BZ #16620]
14057         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14058         of log (10) rounded downward to 48 bits.
14059         (log10_low): Use corresponding low part of log (10).
14061         [BZ #19032]
14062         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14063         compute result as (x - x) / (x - x) not as 0 / 0.
14064         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14065         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14067         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14068         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14069         and expm1.
14070         * math/auto-libm-test-out: Regenerated.
14071         * math/libm-test.inc (acos_test_data): Add more tests.
14072         (asin_test_data): Likewise.
14073         (asinh_test_data): Likewise.
14074         (atan_test_data): Likewise.
14075         (atanh_test_data): Likewise.
14076         (atan2_test_data): Likewise.
14077         (cbrt_test_data): Likewise.
14078         (ceil_test_data): Likewise.
14079         (copysign_test_data): Likewise.
14080         (cos_test_data): Likewise.
14081         (cosh_test_data): Likewise.
14082         (erf_test_data): Likewise.
14083         (erfc_test_data): Likewise.
14084         (exp_test_data): Likewise.
14085         (exp10_test_data): Likewise.
14086         (exp2_test_data): Likewise.
14087         (expm1_test_data): Likewise.
14088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14090 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14092         [BZ #19006]
14093         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14094         to ...
14095         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14096         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14097         to ...
14098         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14099         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14100         to ...
14101         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14102         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14103         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14104         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14105         to ...
14106         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14107         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14108         Moved to ...
14109         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14110         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14111         Moved to ...
14112         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14113         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14114         to ...
14115         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14117         Moved to ...
14118         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14120         to ...
14121         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14122         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14123         Removed.
14124         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14125         Likewise.
14126         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14127         Likewise.
14128         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14129         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14130         Likewise.
14131         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14132         Likewise.
14133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14134         Likewise.
14135         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14136         Likewise.
14137         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14138         Likewise.
14139         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14140         Likewise.
14141         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14142         Likewise.
14143         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14144         Likewise.
14145         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14146         Likewise.
14147         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14148         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14149         Likewise.
14150         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14153         Likewise.
14154         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14155         Likewise.
14156         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14157         Likewise.
14158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14159         Replace ../i486/pthread_cond_timedwait.S with
14160         ../pthread_cond_timedwait.S.
14162 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14164         * math/libm-test.inc (acos_test_data): Refine expectations for
14165         errno and "inexact" exceptions.
14166         (acosh_test_data): Likewise.
14167         (asin_test_data): Likewise.
14168         (asinh_test_data): Likewise.
14169         (atan_test_data): Likewise.
14170         (atanh_test_data): Likewise.
14171         (atan2_test_data): Likewise.
14172         (cbrt_test_data): Likewise.
14173         (ceil_test_data): Likewise.
14174         (copysign_test_data): Likewise.
14175         (cosh_test_data): Likewise.
14176         (erf_test_data): Likewise.
14177         (erfc_test_data): Likewise.
14178         (exp_test_data): Likewise.
14179         (exp10_test_data): Likewise.
14180         (exp2_test_data): Likewise.
14181         (expm1_test_data): Likewise.
14182         (fabs_test_data): Likewise.
14183         (floor_test_data): Likewise.
14184         (fma_test_data): Likewise.
14185         (fmax_test_data): Likewise.
14186         (fmin_test_data): Likewise.
14187         (fmod_test_data): Likewise.
14188         (fpclassify_test_data): Likewise.
14189         (frexp_test_data): Likewise.
14190         (hypot_test_data): Likewise.
14191         (ilogb_test_data): Likewise.
14192         (isgreater_test_data): Likewise.
14193         (isgreaterequal_test_data): Likewise.
14194         (isinf_test_data): Likewise.
14195         (isless_test_data): Likewise.
14196         (islessequal_test_data): Likewise.
14197         (islessgreater_test_data): Likewise.
14198         (isnan_test_data): Likewise.
14199         (isnormal_test_data): Likewise.
14200         (issignaling_test_data): Likewise.
14201         (isunordered_test_data): Likewise.
14202         (j0_test_data): Likewise.
14203         (j1_test_data): Likewise.
14204         (jn_test_data): Likewise.
14205         (lgamma_test_data): Likewise.
14206         (lrint_test_data): Likewise.
14207         (llrint_test_data): Likewise.
14208         (log_test_data): Likewise.
14209         (log10_test_data): Likewise.
14210         (log1p_test_data): Likewise.
14211         (log2_test_data): Likewise.
14212         (logb_test_data): Likewise.
14213         (lround_test_data): Likewise.
14214         (llround_test_data): Likewise.
14215         (modf_test_data): Likewise.
14216         (nearbyint_test_data): Likewise.
14217         (nextafter_test_data): Likewise.
14218         (nexttoward_test_data): Likewise.
14219         (pow_test_data): Likewise.
14220         (remainder_test_data): Likewise.
14221         (remquo_test_data): Likewise.
14222         (rint_test_data): Likewise.
14223         (round_test_data): Likewise.
14224         (signbit_test_data): Likewise.
14225         (sinh_test_data): Likewise.
14226         (sqrt_test_data): Likewise.
14227         (tanh_test_data): Likewise.
14228         (tgamma_test_data): Likewise.
14229         (trunc_test_data): Likewise.
14230         (y0_test_data): Likewise.
14231         (y1_test_data): Likewise.
14232         (yn_test_data): Likewise.
14233         (significand_test_data): Likewise.
14235 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14237         * manual/filesys.texi (Storage Allocation): Document that
14238         posix_fallocate emulation fails when fd is open with O_WRONLY.
14240 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14242         [BZ #19016]
14243         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14244         allow more cases with X^2 + Y^2 >= 0.5.
14245         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14246         normal element in sum instead of special-casing based on values of
14247         arguments.
14248         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14249         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14250         -1 as normal element in sum instead of special-casing based on
14251         values of arguments.
14252         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14253         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14254         (__x2y2m1): Update comment.
14255         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14256         as normal element in sum instead of special-casing based on values
14257         of arguments.
14258         * math/s_clog.c (__clog): Handle more cases using log1p without
14259         hypot.
14260         * math/s_clog10.c (__clog10): Likewise.
14261         * math/s_clog10f.c (__clog10f): Likewise.
14262         * math/s_clog10l.c (__clog10l): Likewise.
14263         * math/s_clogf.c (__clogf): Likewise.
14264         * math/s_clogl.c (__clogl): Likewise.
14265         * math/auto-libm-test-in: Add more tests of clog and clog10.
14266         * math/auto-libm-test-out: Regenerated.
14267         * sysdeps/i386/fpu/libm-test-ulps: Update.
14268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270 2015-09-28  Martin Sebor  <msebor@redhat.com>
14272         [BZ #18969]
14273         * string/Makefile (LOCALES): Define.
14274         (gen-locales.mk): Include.
14275         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14276         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14277         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14278         on setlocale failure.
14280 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14282         [BZ #18985]
14283         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14284         (__strftime_internal): Likewise.
14285         * time/tst-strftime.c (do_bz18985): New test.
14286         (do_test): Call it.
14288 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #18956]
14291         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14292         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14293         extracting high part.
14294         * math/auto-libm-test-in: Add another test of pow.
14295         * math/auto-libm-test-out: Regenerated.
14296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14298 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14300         [BZ #18825]
14301         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14302         New macro.
14303         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14304         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14305         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14306         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14307         DBL_NARROW_EVAL, reloading the PIC register as needed.
14308         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14309         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14310         FLT_NARROW_EVAL.  Use separate return path for case when first
14311         argument is NaN.
14312         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14313         DEFINE_LDBL_MIN.
14314         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14315         PIC register.
14316         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14317         math_check_force_underflow_nonneg.
14318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14319         underflow for subnormal result.
14320         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14321         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14322         math_check_force_underflow_nonneg.
14323         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14324         math_check_force_underflow.
14325         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14326         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14327         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14328         DEFINE_LDBL_MIN.
14329         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14330         * math/auto-libm-test-in: Add more tests of pow.
14331         * math/auto-libm-test-out: Regenerated.
14333 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14335         * nss/bug17079.c (init_test_items): Add diagnostic for
14336         inconsistent entries.
14337         (test_buffer_size): Skip inconsistent entries.
14339 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14341         [BZ #13304]
14342         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14343         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14344         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14346         [BZ #13304]
14347         * sysdeps/microblaze/s_fma.c: New file.
14348         * sysdeps/microblaze/s_fmaf.c: Likewise.
14349         * sysdeps/microblaze/sfp-machine.h: Likewise.
14351 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14353         [BZ #17250]
14354         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14355         member.
14357 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14359         [BZ #18803]
14360         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14361         (MO): New macro.
14362         (__ieee754_hypot) [PIC]: Load PIC register.
14363         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14364         DBL_NARROW_EVAL.
14365         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14366         math_check_force_underflow_nonneg in case where result might be
14367         tiny.
14368         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14369         Likewise.
14370         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14371         Likewise.
14372         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14373         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14374         * math/auto-libm-test-in: Add more tests of hypot.
14375         * math/auto-libm-test-out: Regenerated.
14377 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14379         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14381 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14383         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14384         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14385         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14386         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14387         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14388         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14389         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14391         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14392         LOAD_PIC_REG.
14394         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14395         (FLT_CHECK_FORCE_UFLOW): Likewise.
14396         (DBL_CHECK_FORCE_UFLOW): Likewise.
14397         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14398         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14399         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14400         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14401         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14402         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14403         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14404         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14405         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14406         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14407         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14408         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14409         (flt_min): Replace with use of DEFINE_FLT_MIN.
14410         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14411         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14412         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14413         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14414         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14415         (flt_min): Replace with use of DEFINE_FLT_MIN.
14416         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14417         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14418         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14419         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14420         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14421         (flt_min): Replace with use of DEFINE_FLT_MIN.
14422         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14423         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14424         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14425         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14426         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14427         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14428         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14429         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14430         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14431         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14432         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14433         (flt_min): Replace with use of DEFINE_FLT_MIN.
14434         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14435         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14436         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14437         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14438         main computation.
14439         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14440         (flt_min): Replace with use of DEFINE_FLT_MIN.
14441         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14442         main computation.
14443         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14444         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14445         (MO): New macro.
14446         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14447         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14448         (flt_min): Replace with use of DEFINE_FLT_MIN.
14449         (MO): New macro.
14450         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14451         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14452         (__log1pl): Use MO.
14454         [BZ #19003]
14455         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14456         $(config-cflags-nofma).
14458 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14460         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14462 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14464         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14465         (TWO127): Likewise.
14467         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14468         (min_of_type): Likewise.
14469         (math_check_force_underflow): Likewise.
14470         (math_check_force_underflow_nonneg): Likewise.
14471         (math_check_force_underflow_complex): Likewise.
14472         * math/e_exp2l.c (__ieee754_exp2l): Use
14473         math_check_force_underflow_nonneg.
14474         * math/k_casinh.c (__kernel_casinh): Likewise.
14475         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14476         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14477         * math/s_catan.c (__catan): Use
14478         math_check_force_underflow_complex.
14479         * math/s_catanf.c (__catanf): Likewise.
14480         * math/s_catanh.c (__catanh): Likewise.
14481         * math/s_catanhf.c (__catanhf): Likewise.
14482         * math/s_catanhl.c (__catanhl): Likewise.
14483         * math/s_catanl.c (__catanl): Likewise.
14484         * math/s_ccosh.c (__ccosh): Likewise.
14485         * math/s_ccoshf.c (__ccoshf): Likewise.
14486         * math/s_ccoshl.c (__ccoshl): Likewise.
14487         * math/s_cexp.c (__cexp): Likewise.
14488         * math/s_cexpf.c (__cexpf): Likewise.
14489         * math/s_cexpl.c (__cexpl): Likewise.
14490         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14491         * math/s_clog10.c (__clog10): Likewise.
14492         * math/s_clog10f.c (__clog10f): Likewise.
14493         * math/s_clog10l.c (__clog10l): Likewise.
14494         * math/s_clogf.c (__clogf): Likewise.
14495         * math/s_clogl.c (__clogl): Likewise.
14496         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14497         * math/s_csinf.c (__csinf): Likewise.
14498         * math/s_csinh.c (__csinh): Likewise.
14499         * math/s_csinhf.c (__csinhf): Likewise.
14500         * math/s_csinhl.c (__csinhl): Likewise.
14501         * math/s_csinl.c (__csinl): Likewise.
14502         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14503         * math/s_csqrtf.c (__csqrtf): Likewise.
14504         * math/s_csqrtl.c (__csqrtl): Likewise.
14505         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14506         * math/s_ctanf.c (__ctanf): Likewise.
14507         * math/s_ctanh.c (__ctanh): Likewise.
14508         * math/s_ctanhf.c (__ctanhf): Likewise.
14509         * math/s_ctanhl.c (__ctanhl): Likewise.
14510         * math/s_ctanl.c (__ctanl): Likewise.
14511         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14512         instead of volatile.
14513         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14514         math_check_force_underflow.
14515         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14516         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14517         volatile when forcing underflow.
14518         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14519         math_check_force_underflow_nonneg.
14520         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14521         Likewise.
14522         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14523         math_check_force_underflow.
14524         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14525         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14526         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14527         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14528         math_check_force_underflow_nonneg.
14529         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14530         math_check_force_underflow.
14531         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14533         instead of volatile.
14534         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14535         math_check_force_underflow.
14536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14537         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14538         math_check_force_underflow_nonneg.
14539         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14540         math_check_force_underflow.
14541         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14542         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14543         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14544         math_check_force_underflow_nonneg.
14545         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14546         Likewise.
14547         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14548         math_check_force_underflow.
14549         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14550         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14551         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14552         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14553         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14554         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14555         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14556         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14557         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14558         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14559         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14560         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14561         Likewise.
14562         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14563         math_check_force_underflow_nonneg.
14564         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14565         Likewise.
14566         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14567         math_check_force_underflow.
14568         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14569         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14570         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14571         Likewise.
14572         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14573         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14574         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14575         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14576         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14577         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14578         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14579         instead of volatile.
14580         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14581         math_check_force_underflow.
14582         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14583         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14584         math_check_force_underflow.
14585         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14586         Likewise.
14587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14588         Use math_check_force_underflow_nonneg.
14589         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14590         math_check_force_underflow.
14591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14592         Likewise.
14593         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14594         Likewise.
14595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14600         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14601         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14602         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14603         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14604         math_check_force_underflow_nonneg.
14605         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14606         math_check_force_underflow.
14607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14608         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14609         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14610         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14611         math_check_force_underflow_nonneg.
14612         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14613         math_check_force_underflow.
14614         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14616         instead of volatile.
14617         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14618         math_check_force_underflow.
14620         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14621         * stdlib/strtod_l.c: Include <math_private.h>.
14622         (overflow_value): Use math_narrow_eval.
14623         (underflow_value): Likewise.
14624         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14625         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14626         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14627         (__ieee754_gamma_r): Likewise.
14628         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14629         Likewise.
14630         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14631         Likewise.
14632         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14633         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14634         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14635         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14636         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14637         (__ieee754_gammaf_r): Likewise.
14638         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14639         Likewise.
14640         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14641         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14642         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14643         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14644         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14645         volatile.
14646         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14647         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14648         math_narrow_eval.
14649         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14650         Likewise.
14651         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14652         Likewise.
14653         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14654         Likewise.
14655         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14656         volatile.
14657         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14658         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14659         math_narrow_eval.
14660         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14661         Likewise.
14662         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14663         Likewise.
14665 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14667         * nptl/Versions: Remove ignored symbols.
14669 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14671         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14672         * nss/Makefile (tests): Update.
14674 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14676         * nss/bug18287.c: New file.
14677         * nss/Makefile (tests): Add bug18287.
14679 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14681         * mach/Versions (__mach_host_self_): Add symbol.
14683 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14685         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14686         vm_page_size.
14688 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14690         Really fix sysdeps/i386/fpu/s_scalbn.S build
14692         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14693         (libc: GLIBC_2_22): Remove unused version set.
14695 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14697         * config.make.in (enable-timezone-tools): New variable.
14698         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14699         (enable_timezone_tools): Export to generated files.
14700         * configure: Regenerate.
14701         * INSTALL: Regenerate.
14702         * manual/install.texi (--disable-timezone-tools): Document new flag.
14703         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14704         ifeq ($(enable-timezone-tools),yes) check.
14706 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14708         * timezone/Makefile: Revert previous change.
14710         [BZ #18980]
14711         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14712         (DEFINE_DBL_MIN): Likewise.
14713         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14714         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14715         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14716         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14717         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14718         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14719         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14720         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14721         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14723         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14724         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14725         (flt_min): Replace with use of DEFINE_FLT_MIN.
14726         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14727         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14728         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14729         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14730         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14731         (flt_min): Replace with use of DEFINE_FLT_MIN.
14732         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14733         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14734         (flt_min): Replace with use of DEFINE_FLT_MIN.
14735         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14736         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14737         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14738         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14739         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14740         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14741         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14742         (__ieee754_pow): Use DBL_NARROW_EVAL.
14743         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14744         (__ieee754_powf): Use FLT_NARROW_EVAL.
14745         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14746         (__ieee754_expf_sse2): Convert double-precision result to single
14747         precision.
14748         * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14752         * timezone/Makefile: Ignore unused variable errors due to private.h
14753         (time_t_min) and (time_t_max).
14754         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14755         Likewise.
14757 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14759         [BZ #18981]
14760         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14761         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14762         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14763         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14764         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14765         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14766         (__scalbn): Use DBL_NARROW_EVAL.
14767         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14768         (__scalbnf): Use FLT_NARROW_EVAL.
14770 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14772         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14773         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14774         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14775         * stdio-common/printf_fp.c (___printf_fp):
14776         Use signbit to get the sign. Use isinf macro to allow inlining.
14777         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14778         * stdio-common/printf_size.c (__printf_size): Likewise.
14780 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14782         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14784 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14786         [BZ #18980]
14787         * sysdeps/generic/math_private.h: Include <float.h>.
14788         (math_narrow_eval): New macro.
14789         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14790         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14791         math_narrow_eval on overflowing return value.
14792         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14793         Likewise.
14794         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14795         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14796         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14797         Likewise.
14798         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14800 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14802         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14803         * math/Makefile: Remove isinf_ns.c.
14804         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14805         * math/multc3.c (__multc3): Likewise.
14806         * math/s_casin.c (__casin): Likewise.
14807         * math/s_casinf.c (__casinf): Likewise.
14808         * math/s_casinl.c (__casinl): Likewise.
14809         * math/s_cproj.c (__cproj): Likewise.
14810         * math/s_cprojf.c (__cprojf): Likewise.
14811         * math/s_cprojl.c (__cprofl): Likewise.
14812         * math/s_ctan.c (__ctan): Likewise.
14813         * math/s_ctanf.c (__ctanf): Likewise.
14814         * math/s_ctanh.c (__ctanh): Likewise.
14815         * math/s_ctanhf.c (__ctanhf): Likewise.
14816         * math/s_ctanhl.c (__ctanhl): Likewise.
14817         * math/s_ctanl.c (__ctanl): Likewise.
14818         * math/w_fmod.c (__fmod): Likewise.
14819         * math/w_fmodf.c (__fmodf): Likewise.
14820         * math/w_fmodl.c (_fmodl): Likewise.
14821         * math/w_remainder.c (__remainder): Likewise.
14822         * math/w_remainderf.c (__remainderf): Likewise.
14823         * math/w_remainderl.c (__remainderl): Likewise.
14824         * math/w_scalb.c (__scalb): Likewise.
14825         * math/w_scalbf.c (__scalbf): Likewise.
14826         * math/w_scalbl.c (__scalbl): Likewise.
14827         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14828         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14829         with isinf.
14830         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14831         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14832         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14833         __isinf_nsf with isinf.
14834         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14835         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14836         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14837         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14838         with isinf.
14839         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14840         __isinf_nsl with isinf.
14841         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14842         with isinf.
14843         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14844         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14845         __isinf_nsl with isinf.
14846         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14847         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14848         with isinf.
14850 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14852         * resolv/base64.c (rcsid): Remove unused static.
14853         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14854         static.  (tqpi1): Likewise.
14855         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14856         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14857         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14858         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14860         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14862         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14863         Likewise.
14865 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14867         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14868         <nptl/pthreadP.h>.
14869         (_longjmp_unwind): Use __libc_ptf_call.
14870         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14872 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14874         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14875         * sysdeps/arm/__longjmp.S: Likewise.
14877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14879         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14880         Use __builtin_signbit.
14881         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14882         Use __builtin_signbitf.
14883         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14884         Use __builtin_signbitl.
14885         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14886         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14888 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14890         [BZ #15367]
14891         [BZ #17441]
14893         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14894         * math/math.h (fpclassify): Use __builtin_fpclassify when
14895         available.  (signbit): Use __builtin_signbit(f/l).
14896         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14897         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14898         (isinf): Use __builtin_isinf_sign.
14900 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14902         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14903         * benchtests/bench-math-inlines.c: New benchmark.
14904         * benchtests/bench-util.h: New file.
14905         * benchtests/bench-util.c: New file.
14906         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14908 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14910         * elf/tst-dlmopen1.c: Define TEST_SO.
14911         (do_test): Use TEST_SO.
14913         * elf/dl-load.c: Include libc-internal.h.
14914         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14916 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14918         [BZ #17887]
14919         * time/strptime_l.c (__strptime_internal): Make %z accept
14920         [+-]HH:MM time zones.
14922 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14924         [BZ #17886]
14925         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14926         valid time zone.
14928 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14930         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14931         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14932         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14933         (__ASSUME_FDATASYNC): Delete.
14935 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14937         * conform/linknamespace.pl: Require weak undefined symbols to be
14938         in the standard namespace.
14939         (%strong_syms): Rename to %seen_syms.
14940         (%strong_seen): Rename to %seen_where.
14942 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14944         [BZ #18970]
14945         * misc/error.c (error): Replace pthread_setcancelstate with
14946         __pthread_setcancelstate.
14947         (error_at_line): Likewise.
14948         * posix/wordexp.c (parse_comm): Likewise.
14949         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14950         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14951         (__pthread_setcancelstate): This.
14952         (pthread_setcancelstate): Add an alias.
14953         * nptl/nptl-init.c (pthread_functions): Replace
14954         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14955         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14956         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14957         hidden_proto.
14958         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14959         it with hidden_def.
14960         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14961         (pthread_setcancelstate): Renamed to ...
14962         (__pthread_setcancelstate): This.
14963         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14964         __libc_ptf_call with __pthread_setcancelstate.
14966 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14967             Andreas Schwab  <schwab@suse.de>
14969         [BZ #17118]
14970         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14971         result when imaginary part of argument is infinite using sine and
14972         cosine.
14973         * math/s_ctanf.c (__ctanf): Likewise.
14974         * math/s_ctanl.c (__ctanl): Likewise.
14975         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14976         of result when real part of argument is infinite using sine and
14977         cosine.
14978         * math/s_ctanhf.c (__ctanhf): Likewise.
14979         * math/s_ctanhl.c (__ctanhl): Likewise.
14980         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14981         (ctanh_test_data): Add more tests of ctanh.
14983 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14985         [BZ #15384]
14986         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14987         bit-mask as in subtraction.
14988         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14989         Likewise.
14990         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14991         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14994         [BZ #18951]
14995         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14996         underflow exception for small results.
14997         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14998         Likewise.
14999         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15000         Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15002         Likewise.
15003         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15004         Likewise.
15005         * math/auto-libm-test-in: Add more tests of tgamma.
15006         * math/auto-libm-test-out: Regenerated.
15008 2015-09-17  Andreas Schwab  <schwab@suse.de>
15010         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15012 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15014         [BZ #18977]
15015         * math/bits/mathcalls.h
15016         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15017         not declare.
15018         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15019         Likewise.
15020         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15021         Likewise.
15022         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15023         Likewise.
15024         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15025         Likewise.
15026         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15027         Likewise.
15028         * conform/data/math.h-data
15029         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15030         function.
15031         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15032         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15033         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15034         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15035         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15036         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15037         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15038         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15039         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15040         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15041         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15043         [BZ #6803]
15044         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15045         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15046         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15047         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15048         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15049         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15050         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15051         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15052         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15054         Likewise.
15055         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15056         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15057         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15059         long_double_symbol calls.
15060         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15061         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15062         strong alias of __ldexpl.
15063         (scalbnl): Define using long_double_symbol.
15064         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15065         Remove alias.
15066         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15067         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15068         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15069         (scalbln_test_data): Add more errno expectations.
15071 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15073         Cache the host port like we cache the task port.  This way we do not
15074         need to call the kernel just to get the port.  Furthermore, we no
15075         longer increase the reference count on every invocation of
15076         `mach_host_self'.
15078         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15079         Protect declarations against the macro expansion.
15080         * mach/mach_init.c (__mach_host_self_): New variable.
15081         (mach_init): Initialize `__mach_host_self_'.
15082         * mach/mach_init.h (__mach_host_self_): New declaration.
15083         (__mach_host_self, mach_host_self): New macros.
15084         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15085         Release reference.
15087 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15089         [BZ #4404]
15090         * po/de.po: Update from Translation Project.
15092         [BZ #16415]
15093         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15094         (__expm1l): Remove code to handle positive infinity and overflow.
15095         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15096         variable.
15097         (__expm1l): Remove code to handle positive infinity and overflow.
15099 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15100             Paul Pluzhnikov  <ppluzhnikov@google.com>
15102         [BZ #18872]
15103         * stdio-common/Makefile (tst-printf-bz18872): New test.
15104         (tst-printf-bz18872-mem.out): Likewise.
15105         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15106         * stdio-common/vfprintf.c: Fix memory leaks.
15108 2015-09-16  Andreas Schwab  <schwab@suse.de>
15110         [BZ #17244]
15111         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15112         Remove extra va_start/va_end calls.
15114         [BZ #17243]
15115         * posix/execl.c (execl): Add missing va_end.
15116         * posix/execle.c (execle): Likewise.
15117         * posix/execlp.c (execlp): Likewise.
15119 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15121         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15122         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15124 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15126         [BZ #18967]
15127         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15128         undefine around includes of <bits/mathcalls.h>.
15129         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15130         not declare function.
15131         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15132         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15133         (scalb): Likewise.
15134         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15135         not define macro.
15136         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15137         variable.
15138         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15139         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15140         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15142         [BZ #18857]
15143         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15144         return non-finite argument without doing ordered comparisons on
15145         it.
15147         [BZ #16296]
15148         * math/fenv.h (fegetround): Use __attribute_pure__.
15149         * include/fenv.h (__fegetround): Likewise.
15151         [BZ #18595]
15152         * math/s_ctan.c (__ctan): Force underflow exception for results
15153         whose real or imaginary part has small absolute value.
15154         * math/s_ctanf.c (__ctanf): Likewise.
15155         * math/s_ctanh.c (__ctanh): Likewise.
15156         * math/s_ctanhf.c (__ctanhf): Likewise.
15157         * math/s_ctanhl.c (__ctanhl): Likewise.
15158         * math/s_ctanl.c (__ctanl): Likewise.
15159         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15160         and ctanh.  Add more tests of ctan and ctanh.
15162         [BZ #15918]
15163         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15164         handling of cases where one argument is an infinity.
15166         [BZ #18875]
15167         [BZ #18966]
15168         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15169         (MO): New macro.
15170         (__ieee754_exp10): For small results, force underflow exception
15171         and remove excess range and precision from return value.
15172         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15173         (MO): New macro.
15174         (__ieee754_exp10f): For small results, force underflow exception
15175         and remove excess range and precision from return value.
15176         * math/auto-libm-test-in: Add more tests of exp10.
15177         * math/auto-libm-test-out: Regenerated.
15179 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15181         [BZ #18875]
15182         [BZ #18961]
15183         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15184         (MO): New macro.
15185         (__ieee754_exp): For small results, force underflow exception and
15186         remove excess range and precision from return value.
15187         (__exp_finite): Likewise.
15188         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15189         (MO): New macro.
15190         (__ieee754_expf): For small results, force underflow exception and
15191         remove excess range and precision from return value.
15192         (__expf_finite): Likewise.
15193         * math/auto-libm-test-in: Add more tests of exp.
15194         * math/auto-libm-test-out: Regenerated.
15196         [BZ #16521]
15197         [BZ #18875]
15198         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15199         small results.
15200         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15201         (MO): New macro.
15202         (__ieee754_exp2): For small results, force underflow exception and
15203         remove excess range and precision from return value.
15204         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15205         (MO): New macro.
15206         (__ieee754_exp2f): For small results, force underflow exception
15207         and remove excess range and precision from return value.
15208         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15209         (MO): New macro.
15210         (__ieee754_exp2l): Force underflow exception for small results.
15211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15212         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15213         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15214         (MO): New macro.
15215         (__ieee754_exp2l): Force underflow exception for small results.
15216         * math/auto-libm-test-in: Add more tests or exp2.
15217         * math/auto-libm-test-out: Regenerated.
15219 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15221         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15223         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15224         /dev/null.
15226 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15228         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15229         io fs process)): Drop spurious backslash.
15231 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15233         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15234         Use sysinfo system call instead of parsing /proc/meminfo.
15235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15236         Likewise.
15238 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15240         [BZ #16985]
15241         * programs/localedef.c (main): Display argv[remaining] when
15242         output_path is NULL.
15244 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15246         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15247         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15248         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15249         tanh.
15250         * math/auto-libm-test-out: Regenerated.
15251         * sysdeps/i386/fpu/libm-test-ulps: Update.
15252         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15253         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15256 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15258         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15259         Use 'override' keyword to freeze the value here, preventing
15260         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15262 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15264         [BZ #14912]
15265         * sysdeps/aarch64/bits/atomic.h: Move to ...
15266         * sysdeps/aarch64/atomic-machine.h: ...here.
15267         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15268         _AARCH64_ATOMIC_MACHINE_H.
15269         * sysdeps/alpha/bits/atomic.h: Move to ...
15270         * sysdeps/alpha/atomic-machine.h: ...here.
15271         * sysdeps/arm/bits/atomic.h: Move to ...
15272         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15273         * bits/atomic.h: Move to ...
15274         * sysdeps/generic/atomic-machine.h: ...here.
15275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15276         * sysdeps/i386/bits/atomic.h: Move to ...
15277         * sysdeps/i386/atomic-machine.h: ...here.
15278         * sysdeps/ia64/bits/atomic.h: Move to ...
15279         * sysdeps/ia64/atomic-machine.h: ...here.
15280         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15281         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15282         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15283         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15284         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15285         * sysdeps/microblaze/bits/atomic.h: Move to ...
15286         * sysdeps/microblaze/atomic-machine.h: ...here.
15287         * sysdeps/mips/bits/atomic.h: Move to ...
15288         * sysdeps/mips/atomic-machine.h: ...here.
15289         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15290         * sysdeps/powerpc/bits/atomic.h: Move to ...
15291         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15292         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15293         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15294         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15295         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15296         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15297         <atomic-machine.h> instead of <bits/atomic.h>.
15298         * sysdeps/s390/bits/atomic.h: Move to ...
15299         * sysdeps/s390/atomic-machine.h: ...here.
15300         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15301         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15302         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15303         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15304         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15305         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15306         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15307         * sysdeps/tile/bits/atomic.h: Move to ...
15308         * sysdeps/tile/atomic-machine.h: ...here.
15309         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15310         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15311         <sysdeps/tile/atomic-machine.h> instead of
15312         <sysdeps/tile/bits/atomic.h>.
15313         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15314         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15315         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15316         <sysdeps/tile/atomic-machine.h> instead of
15317         <sysdeps/tile/bits/atomic.h>.
15318         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15319         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15320         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15321         <sysdeps/arm/atomic-machine.h> instead of
15322         <sysdeps/arm/bits/atomic.h>.
15323         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15324         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15325         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15326         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15327         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15328         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15329         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15330         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15331         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15332         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15333         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15334         * sysdeps/x86_64/bits/atomic.h: Move to ...
15335         * sysdeps/x86_64/atomic-machine.h: ...here.
15336         * include/atomic.h: Include <atomic-machine.h> instead of
15337         <bits/atomic.h>.
15339         * sysdeps/mips/mips32/libm-test-ulps: Update.
15340         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15342         [BZ #18952]
15343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15344         not convert non-integer negative arguments to int to determine the
15345         value of signgam.
15346         * math/auto-libm-test-in: Add more tests of lgamma.
15347         * math/auto-libm-test-out: Regenerated.
15349         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15350         cosh, csqrt, erfc, expm1 and lgamma.
15351         * math/auto-libm-test-out: Regenerated.
15352         * sysdeps/i386/fpu/libm-test-ulps: Update.
15353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15355 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15357         [BZ #2542]
15358         [BZ #2543]
15359         [BZ #2558]
15360         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15361         __lgamma_neg for arguments from -28.0 to -2.0.
15362         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15363         __lgamma_negf for arguments from -15.0 to -2.0.
15364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15365         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15366         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15367         Call __lgamma_negl for arguments from -33.0 to -2.0.
15368         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15369         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15370         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15371         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15376         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15378         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15379         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15380         (__lgamma_neg): Likewise.
15381         (__lgamma_negl): Likewise.
15382         (__lgamma_product): Likewise.
15383         (__lgamma_productl): Likewise.
15384         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15385         * math/auto-libm-test-in: Add more tests of lgamma.
15386         * math/auto-libm-test-out: Regenerated.
15387         * sysdeps/i386/fpu/libm-test-ulps: Update.
15388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15390 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15392         [BZ #18675]
15393         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15395 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15397         [BZ #14912]
15398         * bits/libc-lock.h: Move to ...
15399         * sysdeps/generic/libc-lock.h: ...here.
15400         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15401         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15402         * sysdeps/mach/hurd/libc-lock.h: ...here.
15403         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15404         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15405         * sysdeps/mach/bits/libc-lock.h: Move to ...
15406         * sysdeps/mach/libc-lock.h: ...here.
15407         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15408         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15409         * sysdeps/nptl/libc-lock.h: ...here.
15410         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15411         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15412         * sysdeps/nptl/libc-lockP.h: ...here.
15413         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15414         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15415         <bits/libc-lock.h>.
15416         * dirent/scandir-tail.c: Likewise.
15417         * dlfcn/dlerror.c: Likewise.
15418         * elf/dl-close.c: Likewise.
15419         * elf/dl-iteratephdr.c: Likewise.
15420         * elf/dl-lookup.c: Likewise.
15421         * elf/dl-open.c: Likewise.
15422         * elf/dl-support.c: Likewise.
15423         * elf/dl-writev.h: Likewise.
15424         * elf/rtld.c: Likewise.
15425         * grp/fgetgrent.c: Likewise.
15426         * gshadow/fgetsgent.c: Likewise.
15427         * gshadow/sgetsgent.c: Likewise.
15428         * iconv/gconv_conf.c: Likewise.
15429         * iconv/gconv_db.c: Likewise.
15430         * iconv/gconv_dl.c: Likewise.
15431         * iconv/gconv_int.h: Likewise.
15432         * iconv/gconv_trans.c: Likewise.
15433         * include/link.h: Likewise.
15434         * inet/getnameinfo.c: Likewise.
15435         * inet/getnetgrent.c: Likewise.
15436         * inet/getnetgrent_r.c: Likewise.
15437         * intl/bindtextdom.c: Likewise.
15438         * intl/dcigettext.c: Likewise.
15439         * intl/finddomain.c: Likewise.
15440         * intl/gettextP.h: Likewise.
15441         * intl/loadmsgcat.c: Likewise.
15442         * intl/localealias.c: Likewise.
15443         * intl/textdomain.c: Likewise.
15444         * libidn/idn-stub.c: Likewise.
15445         * libio/libioP.h: Likewise.
15446         * locale/duplocale.c: Likewise.
15447         * locale/freelocale.c: Likewise.
15448         * locale/newlocale.c: Likewise.
15449         * locale/setlocale.c: Likewise.
15450         * login/getutent_r.c: Likewise.
15451         * login/getutid_r.c: Likewise.
15452         * login/getutline_r.c: Likewise.
15453         * login/utmp-private.h: Likewise.
15454         * login/utmpname.c: Likewise.
15455         * malloc/mtrace.c: Likewise.
15456         * misc/efgcvt.c: Likewise.
15457         * misc/error.c: Likewise.
15458         * misc/fstab.c: Likewise.
15459         * misc/getpass.c: Likewise.
15460         * misc/mntent.c: Likewise.
15461         * misc/syslog.c: Likewise.
15462         * nis/nis_call.c: Likewise.
15463         * nis/nis_callback.c: Likewise.
15464         * nis/nss-default.c: Likewise.
15465         * nis/nss_compat/compat-grp.c: Likewise.
15466         * nis/nss_compat/compat-initgroups.c: Likewise.
15467         * nis/nss_compat/compat-pwd.c: Likewise.
15468         * nis/nss_compat/compat-spwd.c: Likewise.
15469         * nis/nss_nis/nis-alias.c: Likewise.
15470         * nis/nss_nis/nis-ethers.c: Likewise.
15471         * nis/nss_nis/nis-grp.c: Likewise.
15472         * nis/nss_nis/nis-hosts.c: Likewise.
15473         * nis/nss_nis/nis-network.c: Likewise.
15474         * nis/nss_nis/nis-proto.c: Likewise.
15475         * nis/nss_nis/nis-pwd.c: Likewise.
15476         * nis/nss_nis/nis-rpc.c: Likewise.
15477         * nis/nss_nis/nis-service.c: Likewise.
15478         * nis/nss_nis/nis-spwd.c: Likewise.
15479         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15480         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15481         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15482         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15483         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15484         * nis/nss_nisplus/nisplus-network.c: Likewise.
15485         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15486         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15487         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15488         * nis/nss_nisplus/nisplus-service.c: Likewise.
15489         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15490         * nis/ypclnt.c: Likewise.
15491         * nptl/libc_pthread_init.c: Likewise.
15492         * nss/getXXbyYY.c: Likewise.
15493         * nss/getXXent.c: Likewise.
15494         * nss/getXXent_r.c: Likewise.
15495         * nss/nss_db/db-XXX.c: Likewise.
15496         * nss/nss_db/db-netgrp.c: Likewise.
15497         * nss/nss_db/nss_db.h: Likewise.
15498         * nss/nss_files/files-XXX.c: Likewise.
15499         * nss/nss_files/files-alias.c: Likewise.
15500         * nss/nsswitch.c: Likewise.
15501         * posix/regex_internal.h: Likewise.
15502         * posix/wordexp.c: Likewise.
15503         * pwd/fgetpwent.c: Likewise.
15504         * resolv/res_hconf.c: Likewise.
15505         * resolv/res_libc.c: Likewise.
15506         * shadow/fgetspent.c: Likewise.
15507         * shadow/lckpwdf.c: Likewise.
15508         * shadow/sgetspent.c: Likewise.
15509         * socket/opensock.c: Likewise.
15510         * stdio-common/reg-modifier.c: Likewise.
15511         * stdio-common/reg-printf.c: Likewise.
15512         * stdio-common/reg-type.c: Likewise.
15513         * stdio-common/vfprintf.c: Likewise.
15514         * stdio-common/vfscanf.c: Likewise.
15515         * stdlib/abort.c: Likewise.
15516         * stdlib/cxa_atexit.c: Likewise.
15517         * stdlib/fmtmsg.c: Likewise.
15518         * stdlib/random.c: Likewise.
15519         * stdlib/setenv.c: Likewise.
15520         * string/strsignal.c: Likewise.
15521         * sunrpc/auth_none.c: Likewise.
15522         * sunrpc/bindrsvprt.c: Likewise.
15523         * sunrpc/create_xid.c: Likewise.
15524         * sunrpc/key_call.c: Likewise.
15525         * sunrpc/rpc_thread.c: Likewise.
15526         * sysdeps/arm/backtrace.c: Likewise.
15527         * sysdeps/generic/ldsodefs.h: Likewise.
15528         * sysdeps/generic/stdio-lock.h: Likewise.
15529         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15530         * sysdeps/i386/backtrace.c: Likewise.
15531         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15532         * sysdeps/m68k/backtrace.c: Likewise.
15533         * sysdeps/mach/hurd/cthreads.c: Likewise.
15534         * sysdeps/mach/hurd/dirstream.h: Likewise.
15535         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15536         * sysdeps/nptl/malloc-machine.h: Likewise.
15537         * sysdeps/nptl/stdio-lock.h: Likewise.
15538         * sysdeps/posix/dirstream.h: Likewise.
15539         * sysdeps/posix/getaddrinfo.c: Likewise.
15540         * sysdeps/posix/system.c: Likewise.
15541         * sysdeps/pthread/aio_suspend.c: Likewise.
15542         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15543         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15545         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15546         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15547         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15548         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15549         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15550         * sysdeps/unix/sysv/linux/system.c: Likewise.
15551         * sysdeps/x86_64/backtrace.c: Likewise.
15552         * time/alt_digit.c: Likewise.
15553         * time/era.c: Likewise.
15554         * time/tzset.c: Likewise.
15555         * wcsmbs/wcsmbsload.c: Likewise.
15556         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15557         instead of <bits/libc-lock.h> in comment.
15559 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15561         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15562         Only use .set mips2 if the current ISA is below mips2.
15563         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15564         Likewise.
15565         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15566         mips32r2 if the current ISA is below mips32r2.
15567         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15568         (TLS_IE): Updated to use the TLD_RDHWR macro.
15569         (TLS_LE): Likewise.
15570         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15571         __ASSEMBLER__ condition.
15573 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15575         Fix parallel build of before-compile targets.
15577         * sysdeps/mach/Makefile ($(patsubst
15578         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15579         mach-before-compile target.
15580         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15581         io fs process)): Move rule to dedicated hurd-before-compile target.
15583 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15585         Fix rules generating headers in hurd/ and mach/ when initial make call
15586         has subdir= explicitly set.
15588         * sysdeps/mach/Makefile ($(patsubst
15589         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15590         calling $(MAKE).
15591         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15592         io fs process)): Force subdir to hurd when calling $(MAKE).
15593         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15594         subdir to mach when calling $(MAKE).
15596 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15598         Check sysheaders when looking for Mach and Hurd headers
15600         * sysdeps/mach/configure.ac: Add sysheaders check.
15601         * sysdeps/mach/configure: Regenerate.
15602         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15603         * sysdeps/mach/hurd/configure: Regenerate.
15605 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15607         [BZ #18921]
15608         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15609         Fix inverted sense of test of 'o_directory_works' value.
15610         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15611         Bernhard Voelker <mail@bernhard-voelker.de>.
15613 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15615         [BZ #14912]
15616         * bits/linkmap.h: Move to ...
15617         * sysdeps/generic/linkmap.h: ...here.
15618         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15619         * sysdeps/aarch64/linkmap.h: ...here.
15620         * sysdeps/arm/bits/linkmap.h: Move to ...
15621         * sysdeps/arm/linkmap.h: ...here.
15622         * sysdeps/hppa/bits/linkmap.h: Move to ...
15623         * sysdeps/hppa/linkmap.h: ...here.
15624         * sysdeps/ia64/bits/linkmap.h: Move to ...
15625         * sysdeps/ia64/linkmap.h: ...here.
15626         * sysdeps/mips/bits/linkmap.h: Move to ...
15627         * sysdeps/mips/linkmap.h: ...here.
15628         * sysdeps/s390/bits/linkmap.h: Move to ...
15629         * sysdeps/s390/linkmap.h: ...here.
15630         * sysdeps/sh/bits/linkmap.h: Move to ...
15631         * sysdeps/sh/linkmap.h: ...here.
15632         * sysdeps/x86/bits/linkmap.h: Move to ...
15633         * sysdeps/x86/linkmap.h: ...here.
15634         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15636 2015-09-04  Andreas Schwab  <schwab@suse.de>
15638         [BZ #18635]
15639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15640         (__makecontext): Terminate FDE before return label.
15641         (__novec_makecontext): Likewise.
15643 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15645         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15646         first member of struct sv in syscall macro.
15648 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15650         [BZ #14912]
15651         * bits/stdio-lock.h: Move to ...
15652         * sysdeps/generic/stdio-lock.h: ...here.
15653         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15654         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15655         * sysdeps/nptl/stdio-lock.h: ...here.
15656         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15657         * include/libio.h: Include <stdio-lock.h> instead of
15658         <bits/stdio-lock.h>.
15659         * sysdeps/nptl/fork.c: Likewise.
15660         * sysdeps/pthread/flockfile.c: Likewise.
15661         * sysdeps/pthread/ftrylockfile.c: Likewise.
15662         * sysdeps/pthread/funlockfile.c: Likewise.
15664         [BZ #14912]
15665         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15666         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15667         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15668         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15669         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15670         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15671         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15673 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15675         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15676         (test-xfail-tst-protected1b): New variable.
15678 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15680         [BZ #14912]
15681         * bits/libc-tsd.h: Move to ...
15682         * sysdeps/generic/libc-tsd.h: ...here.
15683         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15684         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15685         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15686         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15687         * include/ctype.h: Include <libc-tsd.h> instead of
15688         <bits/libc-tsd.h>.
15689         * include/rpc/rpc.h: Likewise.
15690         * locale/localeinfo.h: Likewise.
15691         * sunrpc/rpc_thread.c: Likewise.
15692         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15693         * sysdeps/nptl/malloc-machine.h: Likewise.
15695         * Makefile (headers): Remove bits/libc-lock.h.
15696         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15698         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15699         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15700         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15701         <bits/stdio-lock.h>.
15702         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15703         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15705 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15707         [BZ #18757]
15708         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15709         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15710         BZ #18757.
15712 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15714         * malloc/mtrace.pl: Filter out NULL entries.
15716 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15718         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15719         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15720         macro.
15722         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15723         (TCP_CC_INFO): Likewise.
15724         (TCP_SAVE_SYN): Likewise.
15725         (TCP_SAVED_SYN): Likewise.
15727 2015-08-31  Brett Neumeier <brett@neumeier.us>
15729         [BZ #18870]
15730         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15732 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15734         [BZ #18873]
15735         Fix broken overflow check in posix_fallocate
15736         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15737         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15738         Fix parenthesization typo.
15740 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15742         [BZ #18887]
15743         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15744         tst-mntent-blank-passno.
15745         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15746         * misc/tst-mntent-blank-corrupt.c: New test.
15747         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15748         * misc/tst-mntent.c (do_test): ... here.
15750 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15752         [BZ #4404]
15753         * po/de.po: Fix SIGALRM typo.
15755 2015-08-28  James Perkins  <james@loowit.net>
15757         * time/tst-strptime2.c (tests): Replace short list of test
15758         strings for strptime %z specifier with code which exhaustively
15759         tests every combination of sign and 0 to 5 digits. Tests for
15760         rejection of invalid strings.
15762 2015-08-28  James Perkins  <james@loowit.net>
15764         [BZ #16141]
15765         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15766         calculation, removing incorrect decimal time rounding, so that
15767         all minute values result in a valid seconds value.
15768         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15769         offset range limits to UTC-99:59 through UTC+99:59 to parse
15770         current and historical use cases.
15771         * time/tst-strptime2.c (tests): Modify and add tests for the
15772         strptime %z input field descriptor, specifically conversion of
15773         minutes to seconds and validating an offset range of -9959 to
15774         +9959.
15776 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15777             Dmitry V. Levin  <ldv@altlinux.org>
15779         [BZ #18877]
15780         * posix/Makefile (tests): Add tst-mmap-offset.
15781         * posix/tst-mmap.c: New file.
15782         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15783         offset calculation for negative values.
15785 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15787         * sysdeps/i386/init-arch.h: New file.
15788         * sysdeps/i386/i586/init-arch.h: Likewise.
15789         * sysdeps/i386/i686/init-arch.h: Likewise.
15790         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15791         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15792         * sysdeps/x86/cpu-features.h (bit_I586): New.
15793         (bit_I686): Likewise.
15794         (bit_CX8): Likewise.
15795         (bit_CMOV): Likewise.
15796         (index_CX8): Likewise.
15797         (index_CMOV): Likewise.
15798         (index_I586): Likewise.
15799         (index_I686): Likewise.
15800         (reg_CX8): Likewise.
15801         (reg_CMOV): Likewise.
15802         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15803         available at compile-time.
15804         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15805         available at compile-time.
15806         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15807         (USE_I686): Likewise.
15809 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15811         * sysdeps/i386/bcopy.S: New file.
15812         * sysdeps/i386/bzero.S: Likewise.
15813         * sysdeps/i386/memcpy.S: Likewise.
15814         * sysdeps/i386/memmove.S: Likewise.
15815         * sysdeps/i386/mempcpy.S: Likewise.
15816         * sysdeps/i386/memset.S: Likewise.
15817         * sysdeps/i386/bzero.c: Removed.
15818         * sysdeps/i386/memset.c: Likewise.
15819         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15820         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15821         * sysdeps/i386/i586/memset_chk.S: Likewise.
15822         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15823         * sysdeps/i386/memcpy_chk.S: Here.
15824         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15825         * sysdeps/i386/memmove_chk.S: Here.
15826         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15827         * sysdeps/i386/mempcpy_chk.S: Likewise.
15828         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15829         * sysdeps/i386/memset_chk.S: Likewise.
15831 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15833         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15834         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15835         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15836         * soft-fp/fmadf4.c: Ditto.
15837         * soft-fp/fmatf4.c: Ditto.
15839 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15841         * sysdeps/i386/i586/Implies: Removed.
15842         * sysdeps/i386/i686/Implies: Likewise.
15844 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15846         * sysdeps/i386/i486/strlen.S: Moved to ...
15847         * sysdeps/i386/strlen.S: Here.
15849 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15851         * sysdeps/i386/i486/strcat.S: Moved to ...
15852         * sysdeps/i386/strcat.S: Here.
15854 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15856         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15857         * sysdeps/i386/pthread_spin_trylock.S: Here.
15858         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15859         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15861 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15863         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15864         * sysdeps/i386/string-inlines.c: Here.
15866 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15868         * sysdeps/i386/i486/htonl.S: Moved ...
15869         * sysdeps/i386/htonl.S: here.
15871 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15873         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15874         * sysdeps/i386/bits/atomic.h: Here.
15876 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15878         * sysdeps/i386/i486/Versions: Removed.
15880 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15882         [BZ #2898]
15883         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15884         Based on patch by Aurelien Jarno.
15886 2015-08-26  Stan Shebs  <stanshebs@google.com>
15888         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15889         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15891 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15893         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15894         * sysdeps/powerpc/dl-procinfo.c:
15895         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15896         feature so it shows when LD_SHOW_AUXV=1.
15898 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15900         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15901         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15902         definition.  ISA 2.07B no longer requires full sync.
15904 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15906         [BZ #18863]
15907         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15908         (si_call_addr): Define.
15909         (si_syscall): Define.
15910         (si_arch): Define.
15912 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15914         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15915         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15916         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15917         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15918         (__memset_zero_constant_len_parameter): New.
15919         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15920         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15921         (__memset_zero_constant_len_parameter): Don't define if
15922         __memset_chk or USE_AS_BZERO are defined.
15924         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15925         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15926         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15928         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15929         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15930         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15931         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15932         comments.
15933         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15934         -mno-mmx for $(all-rtld-routines).
15935         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15936         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15937         i386.
15939 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15941         * sysdeps/generic/unwind.h
15942         (_Unwind_Word): Use __mode__(__unwind_word__)
15943         instead of __mode__(__word__).
15944         (_Unwind_Sword): Likewise.
15946         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15947         (MAX_NEEDED_INPUT): New define.
15948         (MAX_NEEDED_OUTPUT): New define.
15950         * NEWS: New item for IBM z13 string optimizations.
15952         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15953         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15954         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15955         * sysdeps/s390/multiarch/Makefile
15956         (sysdep_routines): Add memrchr functions.
15957         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15958         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15960         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15961         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15962         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15963         * sysdeps/s390/multiarch/Makefile
15964         (sysdep_routines): Add wmemcmp functions.
15965         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15966         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15967         * benchtests/bench-wmemcmp.c: New File.
15968         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15970         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15971         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15972         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15973         * sysdeps/s390/multiarch/Makefile
15974         (sysdep_routines): Add wmemset functions.
15975         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15976         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15977         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15978         * string/test-memset.c: Add wmemset support.
15979         * wcsmbs/test-wmemset.c: New File.
15980         * wcsmbs/Makefile (strop-tests): Add wmemset.
15981         * benchtests/bench-memset.c: Add wmemset support.
15982         * benchtests/bench-wmemset.c: New File.
15983         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15985         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15986         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15987         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15988         * sysdeps/s390/multiarch/Makefile
15989         (sysdep_routines): Add memccpy functions.
15990         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15991         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15992         * string/memccpy.c: Use MEMCCPY if defined.
15994         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15995         * sysdeps/s390/multiarch/memchr.c: Likewise.
15996         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15997         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15998         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15999         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16000         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16001         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16002         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16003         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16005         and rawmemchr functions.
16006         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16007         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16008         and wmemchr.
16009         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16010         * string/test-memchr.c: Add wmemchr support.
16011         * wcsmbs/test-wmemchr.c: New File.
16012         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16013         * benchtests/bench-memchr.c: Add wmemchr support.
16014         * benchtests/bench-wmemchr.c: New File.
16015         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16017         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16018         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16019         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16020         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16021         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16022         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16024         wcscspn functions.
16025         * sysdeps/s390/multiarch/ifunc-impl-list.c
16026         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16027         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16028         * string/test-strcspn.c: Add wcscspn support.
16029         * wcsmbs/test-wcscspn.c: New File.
16030         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16031         * benchtests/bench-strcspn.c: Add wcscspn support.
16032         * benchtests/bench-wcscspn.c: New File.
16033         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16035         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16036         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16037         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16038         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16039         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16040         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16042         wcspbrk functions.
16043         * sysdeps/s390/multiarch/ifunc-impl-list.c
16044         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16045         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16046         * string/test-strpbrk.c: Add wcspbrk support.
16047         * wcsmbs/test-wcspbrk.c: New File.
16048         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16049         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16050         * benchtests/bench-wcspbrk.c: New File.
16051         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16053         * sysdeps/s390/multiarch/strspn-c.c: New File.
16054         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16055         * sysdeps/s390/multiarch/strspn.c: Likewise.
16056         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16057         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16058         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16059         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16060         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16061         wcsspn functions.
16062         * sysdeps/s390/multiarch/ifunc-impl-list.c
16063         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16064         * string/test-strspn.c: Add wcsspn support.
16065         * wcsmbs/test-wcsspn.c: New File.
16066         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16067         * benchtests/bench-strspn.c: Add wcsspn support.
16068         * benchtests/bench-wcsspn.c: New File.
16069         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16071         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16072         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16073         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16074         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16075         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16076         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16077         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16078         wcsrchr functions.
16079         * sysdeps/s390/multiarch/ifunc-impl-list.c
16080         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16081         * benchtests/bench-wcsrchr.c: New File.
16082         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16084         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16085         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16086         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16087         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16088         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16089         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16091         wcschrnul functions.
16092         * sysdeps/s390/multiarch/ifunc-impl-list.c
16093         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16094         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16095         * string/test-strchr.c: Add wcschrnul support.
16096         * wcsmbs/test-wcschrnul.c: New File.
16097         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16098         * benchtests/bench-strchr.c: Add wcschrnul support.
16099         * benchtests/bench-wcschrnul.c: New File.
16100         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16102         * sysdeps/s390/multiarch/strchr-c.c: New File.
16103         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16104         * sysdeps/s390/multiarch/strchr.c: Likewise.
16105         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16106         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16107         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16108         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16109         wcschr functions.
16110         * sysdeps/s390/multiarch/ifunc-impl-list.c
16111         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16112         * string/strchr.c (STRCHR): Define and use macro.
16113         * benchtests/bench-wcschr.c: New File.
16114         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16116         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16117         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16118         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16119         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16120         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16121         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16123         wcsncmp functions.
16124         * sysdeps/s390/multiarch/ifunc-impl-list.c
16125         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16126         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16127         * benchtests/bench-strncmp.c: Add wcsncmp support.
16128         * benchtests/bench-wcsncmp.c: New File.
16129         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16131         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16132         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16133         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16134         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16135         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16136         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16137         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16139         wcscmp functions.
16140         * sysdeps/s390/multiarch/ifunc-impl-list.c
16141         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16142         * string/strcmp.c (STRCMP): Define and use macro.
16143         * benchtests/bench-wcscmp.c: New File.
16144         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16145         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16146         instead of _HAVE_STRING_ARCH_memchr.
16148         * sysdeps/s390/multiarch/strncat-c.c: New File.
16149         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16150         * sysdeps/s390/multiarch/strncat.c: Likewise.
16151         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16152         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16153         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16155         wcsncat functions.
16156         * sysdeps/s390/multiarch/ifunc-impl-list.c
16157         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16158         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16159         * string/test-strncat.c: Add wcsncat support.
16160         * wcsmbs/test-wcsncat.c: New File.
16161         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16162         * benchtests/bench-strncat.c: Add wcsncat support.
16163         * benchtests/bench-wcsncat.c: New File.
16164         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16166         * sysdeps/s390/multiarch/strcat-c.c: New File.
16167         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16168         * sysdeps/s390/multiarch/strcat.c: Likewise.
16169         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16170         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16171         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16172         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16173         wcscat functions.
16174         * sysdeps/s390/multiarch/ifunc-impl-list.c
16175         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16176         * string/strcat.c (STRCAT): Define and use macro.
16177         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16178         * string/test-strcat.c: Add wcscat support.
16179         * wcsmbs/test-wcscat.c: New File.
16180         * wcsmbs/Makefile (strop-tests): Add wcscat.
16181         * benchtests/bench-strcat.c: Add wcscat support.
16182         * benchtests/bench-wcscat.c: New File.
16183         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16185         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16186         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16187         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16188         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16189         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16190         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16192         wcpncpy functions.
16193         * sysdeps/s390/multiarch/ifunc-impl-list.c
16194         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16195         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16196         * string/test-stpncpy.c: Add wcpncpy support.
16197         * wcsmbs/test-wcpncpy.c: New File.
16198         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16199         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16200         * benchtests/bench-wcpncpy.c: New File.
16201         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16203         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16204         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16205         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16206         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16207         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16208         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16209         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16211         wcsncpy functions.
16212         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16213         * sysdeps/s390/multiarch/ifunc-impl-list.c
16214         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16215         * string/test-strncpy.c: Add wcsncpy support.
16216         * wcsmbs/test-wcsncpy.c: New File.
16217         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16218         * benchtests/bench-strncpy.c: Add wcsncpy support.
16219         * benchtests/bench-wcsncpy.c: New File.
16220         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16222         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16223         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16224         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16225         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16226         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16227         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16229         wcpcpy functions.
16230         * string/stpcpy.c: Use STPCPY if defined.
16231         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16232         * sysdeps/s390/multiarch/ifunc-impl-list.c
16233         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16234         * string/test-stpcpy.c: Add wcpcpy support.
16235         * wcsmbs/test-wcpcpy.c: New File.
16236         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16237         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16238         * benchtests/bench-wcpcpy.c: New File.
16239         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16241         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16242         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16243         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16244         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16245         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16246         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16247         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16249         wcscpy functions.
16250         * sysdeps/s390/multiarch/ifunc-impl-list.c
16251         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16252         * benchtests/bench-wcscpy.c: New File.
16253         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16255         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16256         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16257         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16258         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16259         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16260         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16261         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16262         wcsnlen functions.
16263         * sysdeps/s390/multiarch/ifunc-impl-list.c
16264         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16265         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16266         * string/test-strnlen.c: Add wcsnlen support.
16267         * wcsmbs/test-wcsnlen.c: New File.
16268         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16269         * benchtests/bench-strnlen.c: Add wcsnlen support.
16270         * benchtests/bench-wcsnlen.c: New File.
16271         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16273         * sysdeps/s390/multiarch/Makefile: New File.
16274         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16275         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16276         * sysdeps/s390/multiarch/strlen.c: Likewise.
16277         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16278         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16279         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16280         * string/strlen.c (STRLEN): Define and use macro.
16281         * sysdeps/s390/multiarch/ifunc-impl-list.c
16282         (IFUNC_VX_IMPL): New macro function.
16283         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16284         * benchtests/Makefile (wcsmbs-bench): New variable.
16285         (string-bench-all): Added wcsmbs-bench.
16286         * benchtests/bench-wcslen.c: New File.
16288         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16289         s390_vx_libc_ifunc2): New macro function.
16291         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16292         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16293         assembler support.
16294         * sysdeps/s390/configure: Regenerated.
16296         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16297         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16299         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16300         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16301         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16303         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16304         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16305         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16306         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16307         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16308         (memcmp, bcmp): Use __memcmp_default as alias source.
16309         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16310         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16311         Rename to __memcmp_default.
16312         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16313         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16314         (memcpy): Use __memcpy_default as alias source.
16315         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16316         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16317         Rename to __memcpy_default.
16318         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16319         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16320         (memset): Use __memset_default as alias source.
16321         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16322         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16323         Rename to __memset_default.
16324         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16325         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16326         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16327         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16328         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16329         (memcmp, bcmp): Use __memcmp_default as alias source.
16330         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16331         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16332         Rename to __memcmp_default.
16333         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16334         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16335         (memcpy): Use __memcpy_default as alias source.
16336         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16337         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16338         Rename to __memcpy_default.
16339         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16340         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16341         (memset): Use __memset_default as alias source.
16342         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16343         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16344         Rename to __memset_default.
16345         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16346         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16348         [BZ #18610]
16349         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16350         __ieee_instruction_pointer to __unused.
16351         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16352         __ieee_instruction_pointer.
16353         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16354         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16355         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16356         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16357         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16358         Mark dxc-field as reserved.
16360 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16362         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16363         if the weak reference is not null.
16365 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16367         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16369         [BZ #11214]
16370         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16372 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16374         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16375         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16376         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16377         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16378         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16379         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16380         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16381         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16382         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16383         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16384         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16385         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16386         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16387         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16388         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16389         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16390         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16391         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16393 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16395         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16396         register other than r0 for tabort, it has special meaning.
16397         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16398         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16399         transaction before starting syscall.
16401 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16403         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16405 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16407         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16409         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16410         * sysdeps/x86_64/rtld-memset.S: Likewise.
16411         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16412         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16413         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16414         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16416         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16418 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16420         * debug/strcpy_chk.c: Improve performance.
16421         * debug/stpcpy_chk.c: Likewise.
16422         * sysdeps/x86_64/strcpy_chk.S: Remove.
16423         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16425         [BZ #18240]
16426         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16428 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16430         [BZ #15128]
16431         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16432         ifuncmain8.
16433         (modules-names): Add ifuncmod8.
16434         ($(objpfx)ifuncmain8): New rule.
16435         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16436         <cpuid.h>.
16437         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16438         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16439         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16440         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16441         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16442         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16443         * sysdeps/x86_64/ifuncmain8.c: New file.
16444         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16445         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16446         Removed.
16447         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16448         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16449         Change rtld_savespace_sse to __glibc_unused2.
16450         (RTLD_CHECK_FOREIGN_CALL): Removed.
16451         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16452         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16453         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16455 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16457         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16459 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16461         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16462         Unconditionally set __fpcr to avoid uninialized warning.
16463         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16465 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16467         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16468         is corrupt.
16470         * malloc/arena.c (arena_get2): Drop unused argument.
16471         (arena_lock): Adjust.
16472         (arena_get_retry): Likewise.
16474 2015-08-24  Andreas Schwab  <schwab@suse.de>
16476         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16477         Don't define.
16478         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16479         (__ASSUME_IPC64): Don't undef.
16480         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16481         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16482         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16483         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16484         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16485         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16486         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16487         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16488         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16489         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16490         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16492         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16493         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16494         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16495         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16496         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16497         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16498         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16499         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16500         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16502 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16504         * manual/Makefile (install): Only build manual when perl is available.
16506 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16508         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16509         '#undef memcpy' by '#undef memchr'.
16511 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16513         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16514         memchr not point to the internal __GI_memchr implementation.
16516 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16518         * timezone/Makefile (CFLAGS-zdump.c): Remove
16519         -Wno-strict-prototypes.
16520         (CFLAGS-zic.c): Likewise.
16521         (CFLAGS-ialloc.c): Likewise.
16522         (CFLAGS-scheck.c): Likewise.
16524         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16525         -Wno-error=undef.
16527 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16529         * i386/i686/multiarch/strcasestr-c.c: Removed.
16530         * x86_64/multiarch/strcasestr.c: Likewise.
16531         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16532         Remove strcasestr.
16534 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16536         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16538         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16539         variables for high and low parts before possibly modifying them.
16541 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16543         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16544         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16545         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16546         of "multiarch/init-arch.h".
16547         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16548         * sysdeps/x86/init-arch.h: This.
16550 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16552         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16553         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16555 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16557         [BZ #17787]
16558         * manual/macros.texi: Add twoexp macro.
16559         * manual/filesys.texi: Fix exponents.
16560         * manual/llio.texi: Likewise.
16561         * manual/stdio.texi: Likewise.
16563 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16565         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16566         incorrect use.
16568 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16570         [BZ #18370]
16571         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16572         whose real or imaginary part has small absolute value.
16573         * math/s_csqrtf.c (__csqrtf): Likewise.
16574         * math/s_csqrtl.c (__csqrtl): Likewise.
16575         * math/auto-libm-test-in: Add more tests of csqrt.
16576         * math/auto-libm-test-out: Regenerated.
16577         * sysdeps/i386/fpu/libm-test-ulps: Update.
16579 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16581         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16582         __ppc_set_ppr_very_low): New functions.
16583         * manual/platform.texi: Add documentation about
16584         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16586 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16588         * string/stpncpy.c (stpncpy): Improve performance using
16589         __strnlen/memcpy/memset.
16591 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16593         [BZ #18796]
16594         * scripts/test-installation.pl: Don't add -lmvec to build options if
16595         libmvec wasn't built.
16597 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16599         [BZ #14341]
16600         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16601         case when there is a gap between DT_REL and DT_JMPREL sections.
16602         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16603         (LDFLAGS-tst-split-dynreloc): New.
16604         (tst-split-dynreloc-ENV): Likewise.
16605         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16606         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16608 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16610         [BZ #18822]
16611         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16612         attribute_hidden.
16613         (__xstat64_conv): Likewise.
16614         (__xstat32_conv): Likewise.
16616 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16618         [BZ #18822]
16619         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16620         Don't load %ebx when calling __setcontext.  Call __setcontext
16621         with HIDDEN_JUMPTARGET.
16622         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16623         libc_hidden_def.
16625 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16627         * sysdeps/i386/i686/Makefile
16628         [$(subdir) == string] (sysdep_routines): Moved to ...
16629         * sysdeps/i386/Makefile: Here.
16630         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16631         * sysdeps/i386/cacheinfo.c: Here.
16632         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16633         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16634         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16635         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16637 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16639         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16640         __i586__ is defined.
16641         (HAS_I686): Defined to 1 if __i686__ is defined.
16643 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16645         * elf/Makefile [$(have-z-execstack) = yes]
16646         (CPPFLAGS-tst-execstack.c): New variable.
16648         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16649         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16650         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16651         UTMPX || _HAVE_UT_TV].
16652         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16653         UTMPX || _HAVE_UT_TV - 0].
16655 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16657         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16658         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16659         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16661 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16663         * sysdeps/powerpc/dl-procinfo.c:
16664         (_dl_powerpc_cap_flags): Added missing strings for some
16665         hwcap features.
16666         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16668 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16670         Port the 0x7efe...feff pattern to GCC 6.
16671         See Steve Ellcey's bug report in:
16672         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16673         * string/memrchr.c (MEMRCHR):
16674         * string/rawmemchr.c (RAWMEMCHR):
16675         * string/strchr.c (strchr):
16676         * string/strchrnul.c (STRCHRNUL):
16677         Rewrite code to avoid issues with signed shift overflow.
16679 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16681         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16682         whether cpuid is available only if HAS_CPUID is 0.
16683         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16684         (HAS_I586): Likewise.
16685         (HAS_I686): Likewise.
16687 2015-08-18  Zack Weinberg  <zackw@panix.com>
16689         * misc/Versions (libc): Add GLIBC_2.23.
16691 2015-08-18  Alan Modra  <amodra@gmail.com>
16693         [BZ #18421]
16694         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16695         .Lp__global.
16696         (_start): Load %dp via .Lp__global.
16697         [!SHARED]: Use .section .rodata.
16699 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16701         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16702         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16704 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16706         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16707         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16709 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16711         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16712         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16714 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16716         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16717         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16719 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16721         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16722         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16724 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16726         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16727         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16729 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16731         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16733 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16735         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16736         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16737         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16738         (__ASSUME_LWS_CAS): Delete.
16740 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16742         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16743         * sysdeps/hppa/configure: Regenerated.
16744         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16745         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16746         * sysdeps/hppa/nptl/tls.h: Likewise.
16748 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16750         [BZ #18823]
16751         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16752         for scaling up small arguments.
16753         * math/s_csqrtf.c (__csqrtf): Likewise.
16754         * math/s_csqrtl.c (__csqrtl): Likewise.
16755         * math/auto-libm-test-in: Add more tests of csqrt.
16756         * math/auto-libm-test-out: Regenerated.
16758 2015-08-17  Andreas Schwab  <schwab@suse.de>
16760         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16761         version set GLIBC_2.19.
16763 2015-08-16  Zack Weinberg  <zackw@panix.com>
16765         [BZ #18681]
16766         * misc/regexp.h: This interface is no longer supported.
16767         Remove all contents, leaving only an #error directive.
16768         * misc/regexp.c (loc1, loc2, locs, step, advance):
16769         Demote to compatibility symbols.
16771 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16773         [BZ #18084]
16774         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16775         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16776         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16777         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16778         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16779         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16780         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16781         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16782         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16784 2015-08-15  Zack Weinberg  <zackw@panix.com>
16786         [BZ #18795]
16787         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16788         buffer length is known to be too large, not if it's known to be
16789         small enough.
16790         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16791         overflow at runtime, involving a length parameter, twice: once
16792         with a compile-time constant length parameter, once without.
16794 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16796         [BZ #18824]
16797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16798         scaling x * y up instead of down.
16799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16801         * math/auto-libm-test-in: Add more tests of fma.
16802         * math/auto-libm-test-out: Regenerated.
16804 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16808 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16810         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16811         unnecessary movq.
16812         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16813         Likewise.
16815 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16817         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16818         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16819         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16820         and tgamma.
16821         * math/auto-libm-test-out: Regenerated.
16822         * sysdeps/i386/fpu/libm-test-ulps: Update.
16823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16825         [BZ #16520]
16826         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16827         (__tanh): Force underflow exception for arguments with small
16828         absolute value.
16829         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16830         (__tanhf): Force underflow exception for arguments with small
16831         absolute value.
16832         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16833         (__tanhl): Force underflow exception for arguments with small
16834         absolute value.
16835         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16836         (__tanhl): Force underflow exception for arguments with small
16837         absolute value.
16838         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16839         (__tanhl): Force underflow exception for arguments with small
16840         absolute value.
16841         * math/auto-libm-test-in: Add more tests of tanh.
16842         * math/auto-libm-test-out: Regenerated.
16843         * sysdeps/i386/fpu/libm-test-ulps: Update.
16845 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16847         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16848         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16850 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16852         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16853         <cpuid.h>.
16855 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16857         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16858         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16860 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16862         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16863         Remove $(objpfx)init-arch.o.
16864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16865         init-arch.
16866         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16867         (INIT_ARCH_EXT): Defined as empty.
16868         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16870         __init_cpu_features call.  Replace HAS_XXX with
16871         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16873         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16874         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16875         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16877         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16878         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16879         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16889         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16890         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16892         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16895         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16896         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16897         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16898         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16899         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16900         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16902         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16904         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16906         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16908 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16910         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16911         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16912         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16913         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16914         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16915         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16916         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16917         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16918         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16919         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16920         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16921         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16922         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16923         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16924         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16925         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16926         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16927         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16928         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16929         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16930         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16931         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16932         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16933         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16934         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16935         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16936         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16937         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16939         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16942         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16945         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16946         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16947         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16949         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16950         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16951         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16952         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16954 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16956         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16957         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16958         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16959         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16960         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16961         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16963         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16964         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16965         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16966         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16967         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16968         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16969         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16970         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16971         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16972         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16973         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16974         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16975         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16977         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16978         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16979         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16980         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16981         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16982         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16983         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16984         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16985         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16986         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16987         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16988         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16989         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16990         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16991         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16992         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16993         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16994         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16995         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16996         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16997         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16998         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17000 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17002         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17003         (dl_platform_init): Call init_cpu_features.
17004         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17005         * sysdeps/i386/i686/cacheinfo.c
17006         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17007         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17008         * sysdeps/i386/i686/multiarch/Versions: Removed.
17009         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17010         Removed.
17011         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17012         * sysdeps/unix/sysv/linux/x86/Makefile
17013         (libpthread-sysdep_routines): Remove init-arch.
17014         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17015         <sysdeps/x86_64/dl-procinfo.c> instead of
17016         sysdeps/generic/dl-procinfo.c>.
17017         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17018         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17019         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17020         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17021         [$(subdir) == elf] (tests-static): Add
17022         tst-get-cpu-features-static.
17023         * sysdeps/x86/Versions: New file.
17024         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17025         * sysdeps/x86/cpu-features.c: Likewise.
17026         * sysdeps/x86/cpu-features.h: Likewise.
17027         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17028         * sysdeps/x86/libc-start.c: Likewise.
17029         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17030         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17031         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17032         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17033         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17034         Assume USE_MULTIARCH is defined and don't check it.
17035         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17036         (is_amd): Likewise.
17037         (max_cpuid): Likewise.
17038         (intel_check_word): Likewise.
17039         (__cache_sysconf): Don't call __init_cpu_features.
17040         (__x86_preferred_memory_instruction): Removed.
17041         (init_cacheinfo): Don't call __init_cpu_features. Replace
17042         __cpu_features with GLRO(dl_x86_cpu_features).
17043         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17044         (dl_platform_init): Call init_cpu_features.
17045         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17046         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17047         * sysdeps/x86_64/multiarch/Versions: Removed.
17048         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17049         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17050         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17051         Removed.
17052         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17054 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17056         [BZ #18820]
17057         * libio/Makefile (test-fmemopen-mem): New test.
17058         * libio/test-fmemopen.c (do_bz18820): New test.
17059         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17060         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17062 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17064         [BZ #16734]
17065         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17066         (FREE_BUF): Delete.
17067         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17068         * libio/genops.c (_IO_setb): Use malloc and free directly.
17069         (_IO_default_doallocate, _IO_default_finish): Likewise.
17070         ( _IO_unbuffer_all): Likewise.
17071         ( libc_freeres_fn): Likewise.
17072         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17073         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17074         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17075         (_IO_wdefault_doallocate): Likewise.
17077 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17079         [BZ #18086]
17080         * sysdeps/posix/nice.c (nice): Restore old errno.
17081         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17083 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17087 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17089         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17090         __bcopy and add a weak_alias to bcopy.
17091         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17092         for static build.
17094         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17095         cleanup macro usage.
17096         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17099         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17100         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17101         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17102         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17103         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17104         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17105         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17107         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17108         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17109         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17110         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17111         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17112         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17113         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17114         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17116         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17117         libc_hidden_def.
17118         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17120         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17121         (sysdep_routines): Add strstr-ppc64.
17122         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17124 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17126         [BZ #18778]
17127         * elf/Makefile (tests): Add Add tst-nodelete2.
17128         (modules-names): Add tst-nodelete2mod.
17129         (tst-nodelete2mod.so-no-z-defs): New.
17130         ($(objpfx)tst-nodelete2): Likewise.
17131         ($(objpfx)tst-nodelete2.out): Likewise.
17132         (LDFLAGS-tst-nodelete2): Likewise.
17133         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17134         out of loop through all loaded libraries.
17135         * elf/tst-nodelete2.c: New file.
17136         * elf/tst-nodelete2mod.c: Likewise.
17137         * elf/tst-znodelete-zlib.cc: Delete.
17139 2015-08-11  Andreas Schwab  <schwab@suse.de>
17141         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17142         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17143         (__openat64_nocancel): Likewise.
17145 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17147         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17148         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17149         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17150         * math/auto-libm-test-out: Regenerated.
17151         * sysdeps/i386/fpu/libm-test-ulps: Update.
17152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17154 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17156         [BZ #18790]
17157         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17158         threshold for returning +/- 1.
17159         * math/auto-libm-test-in: Add more tests of tanh.
17160         * math/auto-libm-test-out: Regenerated.
17161         * sysdeps/i386/fpu/libm-test-ulps: Update.
17163 2015-08-10  Andreas Schwab  <schwab@suse.de>
17165         [BZ #18781]
17166         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17167         MORE_OFLAGS to oflag.
17168         * io/test-lfs.c (do_test): Test openat64.
17170 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17172         [BZ #18789]
17173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17174         smaller threshold for returning the argument.
17175         * math/auto-libm-test-in: Add more tests of sinh.
17176         * math/auto-libm-test-out: Regenerated.
17177         * sysdeps/i386/fpu/libm-test-ulps: Update.
17179 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17181         [BZ #18674]
17182         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17183         break.
17185 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17187         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17188         (generated): Don't add $(addprefix z.,$(tzfiles)).
17190 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17192         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17193         * scripts/sysd-rules.awk: Likewise.
17195 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17197         * iconvdata/tst-tables.sh: Change echo -n to printf.
17198         * nss/db-Makefile: Likewise.
17199         * posix/tst-getconf.sh: Likewise.
17200         * stdio-common/tst-unbputc.sh: Likewise.
17202 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17204         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17205         MADV_*_PAGES defines behind this feature check.
17207 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17209         [BZ #18480]
17210         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17211         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17212         Define.
17213         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17214         LOAD_REGS_5, LOAD_REGS_6): Update.
17215         (INTERNAL_SYSCALL): Update using new LOAD defines.
17216         (INTERNAL_SYSCALL_NCS): Likewise.
17217         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17219 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17221         [BZ #16734]
17222         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17224 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17226         [BZ #17905]
17227         * catgets/Makefile (tst-catgets-mem): New test.
17228         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17229         * catgets/open_catalog.c (__open_catalog): Likewise.
17230         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17232 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17234         [BZ #18787]
17235         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17236         clobber registers.
17237         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17238         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17239         Cast return to __typeof (oldval).
17241 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17243         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17244         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17245         and delete sys/syscall.h include.
17247 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17249         [BZ #16517]
17250         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17251         (tan): Force underflow exception for arguments with small absolute
17252         value.
17253         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17254         (__kernel_tanf): Force underflow exception for arguments with
17255         small absolute value.
17256         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17257         (__kernel_tanl): Force underflow exception for arguments with
17258         small absolute value.
17259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17260         (__kernel_tanl): Force underflow exception for arguments with
17261         small absolute value.
17262         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17263         (__kernel_tanl): Force underflow exception for arguments with
17264         small absolute value.
17265         * math/auto-libm-test-in: Add more tests of tan.
17266         * math/auto-libm-test-out: Regenerated.
17268 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17270         Fix sysdeps/i386/fpu/s_scalbn.S build
17272         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17274 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17276         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17278 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17280         Fix gcrt0.o compilation
17282         When static-start-installed-name is different from
17283         start-installed-name, we must not use the shared objects.
17285         * csu/Makefile
17286         (extra-objs): Add gmon-start.o when building shared library and
17287         $(static-start-installed-name) is different from
17288         $(start-installed-name).
17289         $(objpfx)g$(static-start-installed-name): When building shared
17290         library and $(static-start-installed-name) is different from
17291         $(static-start-installed-name), revert to non-shared rule,
17292         i.e. using $(objpfx)% and gmon-start.o.
17294 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17296         [BZ #16519]
17297         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17298         (__ieee754_sinh): Force underflow exception for arguments with
17299         small absolute value.
17300         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17301         (__ieee754_sinhf): Force underflow exception for arguments with
17302         small absolute value.
17303         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17304         (__ieee754_sinhl): Force underflow exception for arguments with
17305         small absolute value.
17306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17307         (__ieee754_sinhl): Force underflow exception for arguments with
17308         small absolute value.
17309         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17310         (__ieee754_sinhl): Force underflow exception for arguments with
17311         small absolute value.
17312         * math/auto-libm-test-in: Add more tests of sinh.
17313         * math/auto-libm-test-out: Regenerated.
17314         * sysdeps/i386/fpu/libm-test-ulps: Update.
17316 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17318         * libio/oldfileops.c: Include unistd.h.
17320 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17322         * stdlib/isomac.c: Include ctype.h.
17324 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17326         * dirent/tst-seekdir.c (main): Converted to ...
17327         (do_test): ... this.
17328         (TEST_FUNCTION): New macro.
17329         Include test-skeleton.c.
17330         * elf/tst-dlmodcount.c (main): Converted to ...
17331         (do_test): ... this.
17332         (TEST_FUNCTION): New macro.
17333         Include test-skeleton.c.
17334         * elf/tst-order-main.c (main): Converted to ...
17335         (do_test): ... this.
17336         (TEST_FUNCTION): New macro.
17337         Include test-skeleton.c.
17338         * elf/tst-pie2.c (main): Converted to ...
17339         (do_test): ... this.
17340         (TEST_FUNCTION): New macro.
17341         Include test-skeleton.c.
17342         * inet/tst-ether_aton.c (main): Converted to ...
17343         (do_test): ... this.
17344         (TEST_FUNCTION): New macro.
17345         Include test-skeleton.c.
17346         * misc/tst-mntent.c (main): Converted to ...
17347         (do_test): ... this.
17348         (TEST_FUNCTION): New macro.
17349         Include test-skeleton.c.
17350         * misc/tst-tsearch.c (main): Converted to ...
17351         (do_test): ... this.
17352         (TEST_FUNCTION): New macro.
17353         Include test-skeleton.c.
17354         * posix/tst-regexloc.c (main): Converted to ...
17355         (do_test): ... this.
17356         (TEST_FUNCTION): New macro.
17357         Include test-skeleton.c.
17358         * resolv/tst-aton.c (main): Converted to ...
17359         (do_test): ... this.
17360         (TEST_FUNCTION): New macro.
17361         Include test-skeleton.c.
17362         * stdio-common/test-fwrite.c (main): Converted to ...
17363         (do_test): ... this.
17364         (TEST_FUNCTION): New macro.
17365         Include test-skeleton.c.
17366         * stdio-common/tst-ferror.c (main): Converted to ...
17367         (do_test): ... this.
17368         (TEST_FUNCTION): New macro.
17369         Include test-skeleton.c.
17370         * stdio-common/tst-printf.c (main): Converted to ...
17371         (do_test): ... this.
17372         (TEST_FUNCTION): New macro.
17373         Include test-skeleton.c.
17374         * stdio-common/tst-printfsz.c (main): Converted to ...
17375         (do_test): ... this.
17376         (TEST_FUNCTION): New macro.
17377         Include test-skeleton.c.
17378         * stdlib/tst-strtod.c (main): Converted to ...
17379         (do_test): ... this.
17380         (TEST_FUNCTION): New macro.
17381         Include test-skeleton.c.
17382         * string/tst-strlen.c (main): Converted to ...
17383         (do_test): ... this.
17384         (TEST_FUNCTION): New macro.
17385         Include test-skeleton.c.
17386         * string/tst-svc.c (main): Converted to ...
17387         (do_test): ... this.
17388         (TEST_FUNCTION): New macro.
17389         Include test-skeleton.c.
17390         * time/tst-strptime.c (main): Converted to ...
17391         (do_test): ... this.
17392         (TEST_FUNCTION): New macro.
17393         Include test-skeleton.c.
17394         * timezone/tst-timezone.c (main): Converted to ...
17395         (do_test): ... this.
17396         (TEST_FUNCTION): New macro.
17397         Include test-skeleton.c.
17399 2015-08-05  Zack Weinberg  <zackw@panix.com>
17401         * misc/regexp.h: Update comments.
17403 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17405         [BZ #18635]
17406         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17407         before return label.
17409 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17411         [BZ #18661]
17412         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17413         when calling __errno_location.
17414         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17415         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17417 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17419         [BZ #18661]
17420         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17421         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17422         __gettimeofday.
17424 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17426         [BZ #18661]
17427         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17428         (__start_context): Don't use pop to restore %rdi so that stack
17429         is aligned to 16 bytes when calling __setcontext.
17431 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17433         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17434         only for libc.
17435         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17437 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17439         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17440         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17441         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17443 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17445         * string/memccpy.c (memccpy):
17446         Improve performance by using memchr/memcpy/__mempcpy.
17448 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17450         * string/strncpy.c (strncpy):
17451         Improve performance by using __strnlen/memcpy.
17453 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17455         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17456         Optimize to avoid an unnecessary FPCR read.
17458 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17460         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17461         Optimize to reduce FPCR/FPSR accesses.
17463 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17465         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17466         dead->data[category] != NULL.
17468 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17470         [BZ #18647]
17471         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17472         and |x| close to 1, use absolute value of x when computing log.
17473         * math/auto-libm-test-in: Add more tests of pow.
17474         * math/auto-libm-test-out: Regenerated.
17476 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17478         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17479         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17480         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17482 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17484         [BZ #18525]
17485         * locales/km_KH: Remove timezone definition.
17486         * locales/lo_LA: Likewise.
17487         * locales/my_MM: Likewise.
17488         * locales/nan_TW@latin: Likewise.
17489         * locales/th_TH: Likewise.
17490         * locales/uk_UA: Likewise.
17492 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17494         [BZ #18265]
17495         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17496         (wcsncat): Likewise.
17497         (wcscmp): Likewise.
17498         (wcsncmp): Likewise.
17500 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17502         * test-skeleton.c (usage): New function.
17503         (main): Call usage when opt is '?'.
17505 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17507         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17508         before first use.
17510 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17512         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17513         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17514         in there too.
17516 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17518         * version.h (RELEASE): Set to "development".
17519         (VERSION): Set to "2.22.90"
17521         * version.h (RELEASE): Set to "stable".
17522         (VERSION): Set to "2.22"
17523         * include/features.h (__GLIBC_MINOR__): Set to 22.
17525 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17527         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17528         Restructure macro to avoid "value computed is not used" warning.
17529         (atomic_compare_and_exchange_val_acq): Likewise.
17531 2015-08-04  Andreas Schwab  <schwab@suse.de>
17533         [BZ #18635]
17534         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17535         ret.
17536         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17538 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17540         * po/pl.po: Updated translation.
17541         * po/uk.po: Likewise.
17542         * po/fi.po: Likewise.
17543         * po/ko.po: Likewise.
17544         * po/ru.po: Likewise.
17545         * po/vi.po: Likewise.
17547 2015-07-31  Zack Weinberg  <zackw@panix.com>
17549         [BZ #18681]
17550         * regexp.h: Add unconditional #warning stating that this header
17551         will be removed soon.  Revise banner comment to match.
17552         (compile): Consistently use ERROR instead of RETURN to report
17553         errors (partial fix for bz#18681).
17554         * regexp.c: Don't include regexp.h. Remove some unnecessary
17555         declarations.
17557 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17559         * po/libc.pot: Regenerated.
17561 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17563         [BZ #18740]
17564         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17565         float-vlen4-arch-ext-cflags): Removed.
17566         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17567         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17569 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17571         [BZ #14113]
17572         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17573         aligned to __aligned__.
17574         (pthread_cond_t, pthread_rwlock_t): Likewise.
17576 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17578         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17580 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17582         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17583         (struct sigaction): Change sa_flags from a long to an int, and add
17584         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17586 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17588         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17589         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17590         sysdeps/generic/sysdep.h include.
17591         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17592         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17593         sysdeps/hppa/sysdep.h.
17594         (ENTRY, PSEUDO): Undefine before defining.
17596 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17598         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17599         from scratch to use INTERNAL_SYSCALL.
17601 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17603         [BZ #18078]
17604         * scripts/check-localplt.awk: Support alternate relocations.
17605         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17606         sections.
17607         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17608         malloc entries with + REL R_386_GLOB_DAT.
17609         * sysdeps/x86_64/localplt.data: New file.
17611 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17613         [BZ #18731]
17614         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17615         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17616         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17618 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17620         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17622 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17624         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17625         directly in terms of __sync_fetch_and_add and delete (int) cast.
17627 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17629         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17630         the -D_ASM_IA64_CURRENT_H flag.
17632 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17634         [BZ #18641]
17635         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17637 2015-07-27  Andreas Schwab  <schwab@suse.de>
17639         * conform/conformtest.pl (checknamespace): Filter out string
17640         literals while tokenizing.
17642 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17644         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17645         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17646         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17648 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17650         * nptl/tst-join7mod.c: Add #include <string.h>.
17652 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17654         * sysdeps/nios2/libm-test-ulps: Update.
17656 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17658         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17659         Fix order of arguments to the rt_sigprocmask syscall.
17660         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17661         Likewise.
17663 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17665         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17667 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17669         [BZ #18457]
17670         * nptl/Makefile (tests): New test case tst-join7.
17671         (modules-names): New test case module tst-join7mod.
17672         * nptl/tst-join7.c: New file.
17673         * nptl/tst-join7mod.c: New file.
17674         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17675         all translation units in libc.so, libpthread.so and rtld.
17677 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17681 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17684         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17685         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17687         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17689         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17692         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17694         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17695         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17696         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17697         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17698         implementation.
17700 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17702         [BZ #17711]
17703         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17704         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17705         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17706         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17707         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17708         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17710 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17713         instead of just saying load lock in the comments.
17715 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17717         * sysdeps/unix/Subdirs: Moved ...
17718         * sysdeps/posix/Subdirs: ... here.
17719         * login/pty.h (struct termios, struct winsize): Add forward decls.
17720         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17721         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17722         * sysdeps/arm/nacl/libc.abilist: Updated.
17723         * sysdeps/nacl/libutil.abilist: New file.
17725         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17726         (SIGWINCH): New macro.
17728         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17729         * sysdeps/arm/nacl/libc.abilist: Add it.
17731 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17733         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17735 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17737         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17738         Swap __glibc_reserved0 and sa_flags order.
17740 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17742         [BZ #18657]
17743         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17744         are pending TLS destructor calls.
17745         * include/link.h (struct link_map): Add concurrency note for
17746         L_TLS_DTOR_COUNT.
17747         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17748         Don't touch the link map flag.  Atomically increment
17749         l_tls_dtor_count.
17750         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17751         Avoid taking the load lock and don't touch the link map flag.
17752         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17753         * stdlib/Makefile (tests): Use it.
17754         * stdlib/tst-tls-atexit.c (do_test): dlopen
17755         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17756         to allow tst-tls-atexit-nodelete test case to use it.
17758 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17760         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17761         to bits/types.h.
17762         (msgqnum_t): New typedef.
17763         (msglen_t): Likewise.
17764         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17765         and msg_qbytes type to msglen_t.
17767 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17769         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17770         pad0 to __glibc_reserved0.
17771         (struct stat64): Likewise.
17773 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17775         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17776         Change sa_flags from a long to an int and add __glibc_reserved0 before
17777         it for padding.
17779 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17781         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17782         anonymous by deleting "siginfo" name.
17784 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17786         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17787         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17788         rather than __nacl_irt_filename.
17789         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17791         * NEWS: New item for arm-nacl port.
17792         * sysdeps/arm/nacl/libc.abilist: New file.
17793         * sysdeps/nacl/ld.abilist: New file.
17794         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17795         * sysdeps/nacl/libanl.abilist: New file.
17796         * sysdeps/nacl/libcrypt.abilist: New file.
17797         * sysdeps/nacl/libdl.abilist: New file.
17798         * sysdeps/nacl/libm.abilist: New file.
17799         * sysdeps/nacl/libpthread.abilist: New file.
17800         * sysdeps/nacl/libresolv.abilist: New file.
17801         * sysdeps/nacl/librt.abilist: New file.
17803 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17805         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17806         __startcontext to initialize the new context.
17807         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17808         up CFI directive to forbid further backtracing.
17810 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17812         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17813         reference.
17814         * charmaps/ANSI_X3.4-1968: Likewise.
17815         * charmaps/BS_4730: Likewise.
17816         * charmaps/BS_VIEWDATA: Likewise.
17817         * charmaps/CP1250: Likewise.
17818         * charmaps/CP1251: Likewise.
17819         * charmaps/CP1252: Likewise.
17820         * charmaps/CP1253: Likewise.
17821         * charmaps/CP1254: Likewise.
17822         * charmaps/CP1255: Likewise.
17823         * charmaps/CP1256: Likewise.
17824         * charmaps/CSN_369103: Likewise.
17825         * charmaps/EBCDIC-DK-NO: Likewise.
17826         * charmaps/GB_1988-80: Likewise.
17827         * charmaps/GREEK-CCITT: Likewise.
17828         * charmaps/GREEK7: Likewise.
17829         * charmaps/INIS-8: Likewise.
17830         * charmaps/ISIRI-3342: Likewise.
17831         * charmaps/ISO_2033-1983: Likewise.
17832         * charmaps/ISO_5427-EXT: Likewise.
17833         * locales/POSIX: Likewise.
17834         * locales/ar_SA: Likewise.
17835         * locales/be_BY: Likewise.
17836         * locales/be_BY@latin: Likewise.
17837         * locales/ca_ES: Likewise.
17838         * locales/cs_CZ: Likewise.
17839         * locales/da_DK: Likewise.
17840         * locales/de_BE: Likewise.
17841         * locales/de_CH: Likewise.
17842         * locales/de_LU: Likewise.
17843         * locales/en_AU: Likewise.
17844         * locales/en_BW: Likewise.
17845         * locales/en_CA: Likewise.
17846         * locales/en_DK: Likewise.
17847         * locales/en_GB: Likewise.
17848         * locales/en_IE: Likewise.
17849         * locales/en_NZ: Likewise.
17850         * locales/en_ZA: Likewise.
17851         * locales/en_ZW: Likewise.
17852         * locales/es_AR: Likewise.
17853         * locales/es_BO: Likewise.
17854         * locales/es_CL: Likewise.
17855         * locales/es_CO: Likewise.
17856         * locales/es_DO: Likewise.
17857         * locales/es_EC: Likewise.
17858         * locales/es_ES: Likewise.
17859         * locales/es_HN: Likewise.
17860         * locales/es_MX: Likewise.
17861         * locales/es_PA: Likewise.
17862         * locales/es_PE: Likewise.
17863         * locales/es_PY: Likewise.
17864         * locales/es_SV: Likewise.
17865         * locales/es_US: Likewise.
17866         * locales/es_UY: Likewise.
17867         * locales/es_VE: Likewise.
17868         * locales/et_EE: Likewise.
17869         * locales/fa_IR: Likewise.
17870         * locales/fo_FO: Likewise.
17871         * locales/fr_CA: Likewise.
17872         * locales/fr_CH: Likewise.
17873         * locales/gv_GB: Likewise.
17874         * locales/he_IL: Likewise.
17875         * locales/hr_HR: Likewise.
17876         * locales/id_ID: Likewise.
17877         * locales/is_IS: Likewise.
17878         * locales/it_CH: Likewise.
17879         * locales/iw_IL: Likewise.
17880         * locales/kl_GL: Likewise.
17881         * locales/ko_KR: Likewise.
17882         * locales/kw_GB: Likewise.
17883         * locales/lg_UG: Likewise.
17884         * locales/lt_LT: Likewise.
17885         * locales/lv_LV: Likewise.
17886         * locales/mi_NZ: Likewise.
17887         * locales/nhn_MX: Likewise.
17888         * locales/nl_BE: Likewise.
17889         * locales/pl_PL: Likewise.
17890         * locales/sk_SK: Likewise.
17891         * locales/sl_SI: Likewise.
17892         * locales/sv_FI: Likewise.
17893         * locales/tl_PH: Likewise.
17894         * locales/tr_TR: Likewise.
17895         * locales/vi_VN: Likewise.
17897 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17899         [BZ #17475]
17900         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17901         of tu_IN and bh_IN.
17903 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17905         [BZ #18694]
17906         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17907         bits/wordsize.h.
17908         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17910 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17913         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17914         (spawn_thread): New function.
17915         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17916         (do_test): ... here.  Use IS_LOADED to test for its
17917         availability.
17919 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17921         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17923 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17925         [BZ #18696]
17926         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17927         si_addr_bnd.
17928         (si_lower): New.
17929         (si_upper): Likewise.
17931 2015-07-16  David S. Miller  <davem@davemloft.net>
17933         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17935 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17937         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17938         buffer.
17939         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17940         fail output information.
17942 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17945         and strstr-ppc64..
17946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17947         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17948         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17949         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17950         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17952 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17954         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17955         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17956         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17957         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17959 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17961         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17962         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17963         rtld_hidden_proto.
17964         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17966 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17968         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17969         the test can fail.
17971         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17973         [BZ #18676]
17974         * elf/tst-nodelete-opened.c: New test case.
17975         * elf/tst-nodelete-opened-lib.c: New test case module.
17976         * elf/Makefile (tests, modules-names): Use them.
17977         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17978         early.
17980 2015-07-15  David S. Miller  <davem@davemloft.net>
17982         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17983         futex-intenal.h
17984         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17985         * sysdeps/sparc/sparc64/Makefile: Likewise.
17986         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17987         Remove space from macro define.
17988         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17990 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17992         [BZ #17475]
17993         * locale/iso-639.def: Update Bhili and Tulu language codes as
17994         per iso639-3.
17996 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17998         * elf/tst-leaks1.c (main): Converted to ...
17999         (do_test): ... this.
18000         (TEST_FUNCTION): New macro.
18001         Include test-skeleton.c.
18002         * localedata/tst-langinfo.c (main): Converted to ...
18003         (do_test): ... this.
18004         (TEST_FUNCTION): New macro.
18005         Include test-skeleton.c.
18006         * math/test-fpucw.c (main): Converted to ...
18007         (do_test): ... this.
18008         (TEST_FUNCTION): New macro.
18009         Include test-skeleton.c.
18010         * math/test-tgmath.c (main): Converted to ...
18011         (do_test): ... this.
18012         (TEST_FUNCTION): New macro.
18013         Include test-skeleton.c.
18014         * math/test-tgmath2.c (main): Converted to ...
18015         (do_test): ... this.
18016         (TEST_FUNCTION): New macro.
18017         Include test-skeleton.c.
18018         * setjmp/tst-setjmp.c (main): Converted to ...
18019         (do_test): ... this.
18020         (TEST_FUNCTION): New macro.
18021         Include test-skeleton.c.
18022         * stdio-common/tst-sscanf.c (main): Converted to ...
18023         (do_test): ... this.
18024         (TEST_FUNCTION): New macro.
18025         Include test-skeleton.c.
18026         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18027         (do_test): ... this.
18028         (TEST_FUNCTION): New macro.
18029         Include test-skeleton.c.
18031         * elf/tst-audit9.c (main): Converted to ...
18032         (do_test): ... this.
18033         (TEST_FUNCTION): New macro.
18034         Include test-skeleton.c.
18036 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18038         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18040 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18042         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18043         New variable.
18045 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18047         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18049 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18051         * sysdeps/generic/dl-fileid.h: New file.
18052         * sysdeps/posix/dl-fileid.h: New file.
18053         * sysdeps/nacl/dl-fileid.h: New file.
18054         * include/link.h: Include <dl-fileid.h>.
18055         (struct link_map): Replace l_dev and l_ino with l_file_id.
18056         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18057         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18058         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18060 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18062         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18064 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18066         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18067         Add iff $CXX is set.
18068         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18069         Likewise.
18070         (tst-nodelete-zmodiff): Likewise.
18071         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18073 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18077 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18079         * sysdeps/aarch64/fpu/math_private.h
18080         (define math_opt_barrier): Add AArch64 version.
18081         (math_force_eval): Likewise.
18083 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18085         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18087 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18089         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18090         %ld with %jd and cast to intmax_t.
18091         (do_test_length_zero): Likewise.
18093 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18095         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18097 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18099         * sysdeps/tile/libm-test-ulps: Regenerated.
18101         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18102         Comment out the whole function, not just its body.
18104 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18106         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18107         locks.
18109         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18111 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18113         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18114         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18116 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18118         * sysdeps/nptl/futex-internal.h: New file.
18119         * sysdeps/nacl/futex-internal.h: New file.
18120         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18121         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18122         error checking.
18123         (setxid_unmark_thread): Likewise.
18124         (__nptl_setxid): Likewise.
18125         (__wait_lookup_done): Likewise.
18126         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18127         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18128         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18129         * nptl/pthread_once.c (clear_once_control): Likewise.
18130         (__pthread_once_slow): Likewise.
18131         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18132         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18133         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18134         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18135         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18136         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18137         Likewise.
18138         (__pthread_rwlock_rdlock): Likewise.
18139         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18140         Likewise.
18141         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18142         Likewise.
18143         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18144         Likewise.
18145         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18146         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18147         Likewise.
18148         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18149         __ASSUME_PRIVATE_FUTEX check.
18150         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18151         Check that shared futexes are supported.
18152         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18153         wrappers with error checking.
18154         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18155         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18156         * nptl/pthread_barrierattr_setpshared.c
18157         (pthread_barrierattr_setpshared): Check that shared futexes are
18158         supported.
18159         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18160         Likewise.
18161         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18162         Likewise.
18163         * nptl/sem_init.c (futex_private_if_supported): Remove.
18164         (__new_sem_init): Adapt and check that shared futexes are supported.
18165         * nptl/sem_open.c (sem_open): Likewise.
18166         * nptl/sem_post.c (futex_wake): Remove.
18167         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18168         (do_futex_wait): Use futex wrappers with error checking.
18169         * nptl/sem_wait.c: Include lowlevellock.h.
18170         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18171         Use futex_supports_pshared.
18172         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18173         Use futex wrappers with error checking.
18174         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18175         Likewise.
18176         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18177         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18178         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18179         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18180         (futex_wake): Likewise.
18181         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18182         (do_futex_wait): Use futex wrappers with error checking.
18183         (__new_sem_wait_slow): Update EINTR handling.
18184         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18186 2015-07-09  Martin Sebor  <msebor@redhat.com>
18188         [BZ #18435]
18189         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18190         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18191         * nptl/Makefile (test-xfail-tst-once5): Define.
18193 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18195         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18196         * elf/dl-minimal.c: For readability, reorder some definitions and
18197         introduce more page breaks.  Include <stdio.h>.
18198         (__libc_fatal): New function.
18200         * include/unistd.h: Add rtld_hidden_proto for _exit.
18201         * posix/_exit.c: Add rtld_hidden_def.
18202         * sysdeps/mach/hurd/_exit.c: Likewise.
18203         * sysdeps/nacl/_exit.c: Likewise.
18204         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18205         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18207 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18209         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18210         bndmov encoding with zero displacement.
18212 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18213             H.J. Lu  <hongjiu.lu@intel.com>
18215         [BZ #18134]
18216         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18217         * sysdeps/i386/configure: Regenerated.
18218         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18219         (_dl_runtime_profile): Save and restore Intel MPX return bound
18220         registers when calling _dl_call_pltexit.  Add
18221         PRESERVE_BND_REGS_PREFIX before return.
18222         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18223         (LRV_BND1_OFFSET): Likewise.
18224         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18225         lrv_bnd1.
18226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18227         typo in bndmov encoding.
18228         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18229         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18230         branch instructions to preserve bounds.
18232 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18235         [GLIBC_2.22]: Add fmemopen.
18237 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18239         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18240         returns an error, also try to use host port from __mach_host_self for
18241         the __vm_wire call.
18242         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18244 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18246         [BZ #18400]
18247         [BZ #18648]
18248         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18249         Fix pr_uid and pr_gid members.
18250         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18251         definition to elf_greg_t.
18253 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18255         [BZ #18383]
18256         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18257         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18258         * sysdeps/arm/configure: Regenerated.
18259         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18260         (test-xfail-tst-tlsalign-static): Variable removed.
18262         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18263         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18264         rather than explicit 'ln -s'.
18266         * resolv/rpc/netdb.h: New file.
18267         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18269 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18271         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18272         length buffers.
18273         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18274         test-skeleton.c.
18276         [BZ #6544]
18277         [BZ #11216]
18278         [BZ #12836]
18279         [BZ #13151]
18280         [BZ #13152]
18281         [BZ #14292]
18282         * include/stdio.h (fmemopen): Remove hidden prototype.
18283         (__fmemopen): Add new hidden prototype.
18284         * libio/Makefile: Add oldfmemopen object.
18285         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18286         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18287         compliance.
18288         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18289         symbol compatibility.
18290         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18291         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18292         fmemopen.
18293         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18294         on append and read mode.
18295         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18296         fmemopen.
18297         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18298         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18299         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18300         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18301         Likewise.
18302         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18303         [GLIBC_2.22]: Likewise.
18304         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18305         Likewise.
18306         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18307         Likewise.
18308         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18309         [GLIBC_2.22]: Likewise.
18310         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18311         [GLIBC_2.22]: Likewise.
18312         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18313         [GLIBC_2.22]: Likewise.
18314         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18315         [GLIBC_2.22]: Likewise.
18316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18317         [GLIBC_2.22]: Likewise.
18318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18319         [GLIBC_2.22]: Likewise.
18320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18321         [GLIBC_2.22]: Likewise.
18322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18323         Likewise.
18324         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18325         Likewise.
18326         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18327         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18328         [GLIBC_2.22]: Likewise.
18329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18330         [GLIBC_2.22]: Likewise.
18331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18332         [GLIBC_2.22]: Likewise.
18333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18334         [GLIBC_2.22]: Likewise.
18335         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18336         Likewise.
18337         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18338         Likewise.
18339         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18340         Likewise.
18341         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18342         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18344 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18346         [BZ #18643]
18347         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18348         IPV6_PATHMTU, and IPV6_DONTFRAG.
18350 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18352         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18353         and _IO_UNBUFFERED.
18354         * libio/oldfileops.c: Likewise.
18355         * libio/wfileops.c: Likewise.
18357 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18359         * nscd/selinux.c: Delete selinux/flask.h include.
18361 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18363         [BZ #18641]
18364         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18365         (putpwent): Likewise.
18366         (getpwnam): Likewise.
18367         (getpwent_r): Likewise.
18368         (getpwuid_r): Likewise.
18369         (getpwnam_r): Likewise.
18370         (fgetpwent_r): Likewise.
18372 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18374         [BZ #18557]
18375         * inet/rcmd.c (__validuser2_sa): Check user first to
18376         short-circuit host check.
18378 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18379             Mikhail Ilin  <m.ilin@samsung.com>
18381         [BZ #17833]
18382         * elf/Makefile (tests): Add tst-nodelete.
18383         (modules-names): Add tst-nodelete-uniquemod.
18384         (tst-nodelete-uniquemod.so-no-z-defs): New.
18385         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18386         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18387         ($(objpfx)tst-nodelete): Likewise.
18388         ($(objpfx)tst-nodelete.out): Likewise.
18389         (LDFLAGS-tst-nodelete): Likewise.
18390         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18391         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18392         implement forced object deletion.
18393         (_dl_close): Pass false to _dl_close_worker.
18394         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18395         * elf/tst-nodelete.cc: New file.
18396         * elf/tst-nodeletelib.cc: Likewise.
18397         * elf/tst-znodeletelib.cc: Likewise.
18398         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18400 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18402         [BZ #18508]
18403         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18404         Depend on $(libdl).
18405         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18406         is not called infinitely times.
18407         (backtrace_helper): New function.
18408         (trace_arg): New struct.
18409         (st1): Enlarge stack size.
18410         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18411         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18412         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18413         Likewise.
18415 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18417         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18419 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18421         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18422         Include sys/types.h instead of bits/types.h.
18423         Remove inclusion of bits/wordsize.h.
18425 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18427         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18428         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18429         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18430         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18431         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18432         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18434 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18436         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18437         link-defines.sym.
18438         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18439         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18440         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18441         and LR_SIZE.
18442         * sysdeps/i386/link-defines.sym: New file.
18444 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18446         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18447         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18448         ($(objpfx)tst-audit3): New rule.
18449         ($(objpfx)tst-audit3.out): Likewise.
18450         * sysdeps/i386/tst-audit3.c: New file.
18451         * sysdeps/i386/tst-audit3.h: Likewise.
18452         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18453         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18455 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18457         [BZ #18633]
18458         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18459         pointer in C code.
18460         (__strcat_c): Likewise.
18461         (__strcat_g): Likewise.
18463 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18465         [BZ #18592]
18466         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18468 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18470         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18471         New function.  (__ieee754_sqrtf): New function.
18472         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18473         New function.
18474         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18475         New function.
18477 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18479         * sysdeps/ieee754/support.c: Remove unused file.
18481 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18483         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18484         registers instead of d ones so the layout is kernel abi compatible.
18485         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18486         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18487         Likewise.
18489 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18491         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18493 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #18619]
18496         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18497         and return argument in case of subnormal argument.
18499 2015-07-01  Martin Sebor  <msebor@redhat.com>
18501         [BZ #18435]
18502         * nptl/Makefile: Add tst-once5.cc.
18503         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18504         Remove macro redefinitions.
18505         * nptl/tst-once5.cc: New test.
18507 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18509         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18511         * sysdeps/arm/libm-test-ulps: Regenerated.
18513         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18514         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18516 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18518         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18519         lll_lock_wait_private and lll_futex_wake probes.
18521         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18523         Likewise.
18524         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18525         atomic_spin_nop.
18526         * sysdeps/x86_64/bits/atomic.h: Likewise.
18527         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18528         to atomic_spin_nop and move ...
18529         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18530         ... here and ...
18531         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18532         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18533         atomic_spin_nop instead of BUSY_WAIT_NOP.
18534         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18535         Likewise.
18536         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18537         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18538         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18539         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18540         instead of atomic_delay.
18542 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18544         [BZ #18613]
18545         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18546         X_ADJ not X when adjusting exponent.
18547         (__ieee754_gamma_r): Do intermediate computations in
18548         round-to-nearest then adjust overflowing and underflowing results
18549         as needed.
18550         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18551         of X_ADJ not X when adjusting exponent.
18552         (__ieee754_gammaf_r): Do intermediate computations in
18553         round-to-nearest then adjust overflowing and underflowing results
18554         as needed.
18555         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18556         log of X_ADJ not X when adjusting exponent.
18557         (__ieee754_gammal_r): Do intermediate computations in
18558         round-to-nearest then adjust overflowing and underflowing results
18559         as needed.  Use 1.0L not 1.0f as numerator of division.
18560         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18561         log of X_ADJ not X when adjusting exponent.
18562         (__ieee754_gammal_r): Do intermediate computations in
18563         round-to-nearest then adjust overflowing and underflowing results
18564         as needed.  Use 1.0L not 1.0f as numerator of division.
18565         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18566         of X_ADJ not X when adjusting exponent.
18567         (__ieee754_gammal_r): Do intermediate computations in
18568         round-to-nearest then adjust overflowing and underflowing results
18569         as needed.  Use 1.0L not 1.0f as numerator of division.
18570         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18571         to auto-libm-test-in.
18572         (tgamma_test): Use ALL_RM_TEST.
18573         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18574         tests of tgamma with spurious-overflow.
18575         * math/auto-libm-test-out: Regenerated.
18576         * math/gen-libm-have-vector-test.sh: Do not check for START.
18577         * sysdeps/i386/fpu/libm-test-ulps: Update.
18578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18580         [BZ #18612]
18581         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18582         arguments, just return 0.5 times the argument, with underflow
18583         forced as needed.
18584         * math/auto-libm-test-in: Add more tests of j1.
18585         * math/auto-libm-test-out: Regenerated.
18587         [BZ #16559]
18588         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18589         (__ieee754_j1): Force underflow exception for small results.
18590         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18591         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18592         (__ieee754_j1f): Force underflow exception for small results.
18593         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18594         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18596         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18597         (__ieee754_j1l): Force underflow exception for small results.
18598         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18599         * math/auto-libm-test-in: Add more tests of j1 and jn.
18600         * math/auto-libm-test-out: Regenerated.
18602         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18603         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18604         (PF_MPLS): Likewise.
18605         (AF_IB): Likewise.
18606         (AF_MPLS): Likewise.
18607         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18608         value and macro.
18609         (MS_RMT_MASK): Include MS_LAZYTIME.
18611 2015-06-26  Mel Gorman  <mgorman@suse.de>
18613         [BZ #18502]
18614         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18615         already minimal.
18617 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18619         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18620         (DT_MIPS_NUM): Update.
18621         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18622         DT_MIPS_RLD_MAP_REL.
18624 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18626         [BZ #16559]
18627         [BZ #18602]
18628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18629         round-to-nearest internally then recompute results that
18630         underflowed to zero in the original rounding mode.
18631         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18632         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18633         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18635         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18641         * NEWS: Fixed description of link with vector math library.
18643 2015-06-25  Andreas Schwab  <schwab@suse.de>
18645         [BZ #18549]
18646         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18647         * libio/test-fmemopen.c (do_test): Add test for it.
18649 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18651         [BZ #17841]
18652         * Makeconfig (no-pie-ldflag): New.
18653         (+link): Set to $(+link-pie) if default to PIE.
18654         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18655         * config.make.in (build-pie-default): New.
18656         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18657         is default.  AC_SUBST.
18658         * configure: Regenerated.
18659         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18661 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18663         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18664         to 'unsigned int'.
18666         * resolv/gai_misc.h (struct waitlist): Change type of field
18667         counterp to 'volatile unsigned int *'.
18668         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18669         FUTEXADDR and OLDVAL.
18670         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18671         Give local variable TOTAL type 'volatile unsigned int'.
18672         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18673         * resolv/gai_suspend.c (gai_suspend):
18674         Give local variable CNTR type 'unsigned int'.
18676         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18677         counterp to 'volatile unsigned int *'.
18678         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18679         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18680         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18681         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18682         Give local variable TOTAL type 'volatile unsigned int'.
18683         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18685 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18687         [BZ #18383]
18688         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18689         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18690         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18691         comment for i386/x86-64.
18692         (test-xfail-tst-tlsalign-extern-static): Removed.
18694 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18696         * math/test-double.h: New file.
18697         * math/test-float.h: Likewise.
18698         * math/test-ldouble.h: Likewise.
18699         * math/test-math-inline.h: Likewise.
18700         * math/test-math-no-inline.h: Likewise.
18701         * math/test-math-scalar.h: Likewise.
18702         * math/test-math-vector.h: Likewise.
18703         * math/test-vec-loop.h: Remove file.  Contents moved into
18704         test-math-vector.h.
18705         * math/libm-test.inc (MATHCONST): Do not document macro.
18706         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18707         and test-math-scalar.h.
18708         (FUNC): Remove macro.
18709         (FUNC_TEST): Likewise.
18710         (FLOAT): Likewise.
18711         (MATHCONST): Likewise.
18712         (PRINTF_EXPR): Likewise.
18713         (PRINTF_XEXPR): Likewise.
18714         (PRINTF_NEXPR): Likewise.
18715         (TEST_DOUBLE): Likewise.
18716         (TEST_MATHVEC): Likewise.
18717         (__NO_MATH_INLINES): Likewise.
18718         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18719         and 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         (__NO_MATH_INLINES): Likewise.
18730         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18731         and test-math-scalar.h.
18732         (FUNC): Remove macro.
18733         (FUNC_TEST): Likewise.
18734         (FLOAT): Likewise.
18735         (MATHCONST): Likewise.
18736         (PRINTF_EXPR): Likewise.
18737         (PRINTF_XEXPR): Likewise.
18738         (PRINTF_NEXPR): Likewise.
18739         (TEST_DOUBLE): Likewise.
18740         (TEST_MATHVEC): Likewise.
18741         (TEST_INLINE): Likewise.
18742         (__NO_MATH_INLINES): Likewise.
18743         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18744         test-math-scalar.h.
18745         (FUNC): Remove macro.
18746         (FUNC_TEST): Likewise.
18747         (FLOAT): Likewise.
18748         (MATHCONST): Likewise.
18749         (PRINTF_EXPR): Likewise.
18750         (PRINTF_XEXPR): Likewise.
18751         (PRINTF_NEXPR): Likewise.
18752         (TEST_FLOAT): Likewise.
18753         (TEST_MATHVEC): Likewise.
18754         (TEST_INLINE): Likewise.
18755         (__NO_MATH_INLINES): Likewise.
18756         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18757         and test-math-scalar.h.
18758         (FUNC): Remove macro.
18759         (FUNC_TEST): Likewise.
18760         (FLOAT): Likewise.
18761         (MATHCONST): Likewise.
18762         (PRINTF_EXPR): Likewise.
18763         (PRINTF_XEXPR): Likewise.
18764         (PRINTF_NEXPR): Likewise.
18765         (TEST_LDOUBLE): Likewise.
18766         (TEST_MATHVEC): Likewise.
18767         (TEST_INLINE): Likewise.
18768         (__NO_MATH_INLINES): Likewise.
18769         * math/test-ldouble.c: Include test-ldouble.h,
18770         test-math-no-inline.h and test-math-scalar.h.
18771         (FUNC): Remove macro.
18772         (FUNC_TEST): Likewise.
18773         (FLOAT): Likewise.
18774         (MATHCONST): Likewise.
18775         (PRINTF_EXPR): Likewise.
18776         (PRINTF_XEXPR): Likewise.
18777         (PRINTF_NEXPR): Likewise.
18778         (TEST_LDOUBLE): Likewise.
18779         (TEST_MATHVEC): Likewise.
18780         (__NO_MATH_INLINES): Likewise.
18781         * math/test-double-vlen2.h: Include test-double.h,
18782         test-math-no-inline.h and test-math-vector.h.
18783         (FLOAT): Remove macro.
18784         (FUNC): Likewise.
18785         (MATHCONST): Likewise.
18786         (PRINTF_EXPR): Likewise.
18787         (PRINTF_XEXPR): Likewise.
18788         (PRINTF_NEXPR): Likewise.
18789         (TEST_DOUBLE): Likewise.
18790         (TEST_MATHVEC): Likewise.
18791         (__NO_MATH_INLINES): Likewise.
18792         (CNCT): Likewise.
18793         (CONCAT): Likewise.
18794         (WRAPPER_NAME): Likewise.
18795         (WRAPPER_DECL): Likewise.
18796         (WRAPPER_DECL_ff): Likewise.
18797         (WRAPPER_DECL_fFF): Likewise.
18798         (VECTOR_WRAPPER): Likewise.
18799         (VECTOR_WRAPPER_ff): Likewise.
18800         (VECTOR_WRAPPER_fFF): Likewise.
18801         (VEC_LEN): New macro.
18802         * math/test-double-vlen4.h: Include test-double.h,
18803         test-math-no-inline.h and test-math-vector.h.
18804         (FLOAT): Remove macro.
18805         (FUNC): Likewise.
18806         (MATHCONST): Likewise.
18807         (PRINTF_EXPR): Likewise.
18808         (PRINTF_XEXPR): Likewise.
18809         (PRINTF_NEXPR): Likewise.
18810         (TEST_DOUBLE): Likewise.
18811         (TEST_MATHVEC): Likewise.
18812         (__NO_MATH_INLINES): Likewise.
18813         (CNCT): Likewise.
18814         (CONCAT): Likewise.
18815         (WRAPPER_NAME): Likewise.
18816         (WRAPPER_DECL): Likewise.
18817         (WRAPPER_DECL_ff): Likewise.
18818         (WRAPPER_DECL_fFF): Likewise.
18819         (VECTOR_WRAPPER): Likewise.
18820         (VECTOR_WRAPPER_ff): Likewise.
18821         (VECTOR_WRAPPER_fFF): Likewise.
18822         (VEC_LEN): New macro.
18823         * math/test-double-vlen8.h: Include test-double.h,
18824         test-math-no-inline.h and test-math-vector.h.
18825         (FLOAT): Remove macro.
18826         (FUNC): Likewise.
18827         (MATHCONST): Likewise.
18828         (PRINTF_EXPR): Likewise.
18829         (PRINTF_XEXPR): Likewise.
18830         (PRINTF_NEXPR): Likewise.
18831         (TEST_DOUBLE): Likewise.
18832         (TEST_MATHVEC): Likewise.
18833         (__NO_MATH_INLINES): Likewise.
18834         (CNCT): Likewise.
18835         (CONCAT): Likewise.
18836         (WRAPPER_NAME): Likewise.
18837         (WRAPPER_DECL): Likewise.
18838         (WRAPPER_DECL_ff): Likewise.
18839         (WRAPPER_DECL_fFF): Likewise.
18840         (VECTOR_WRAPPER): Likewise.
18841         (VECTOR_WRAPPER_ff): Likewise.
18842         (VECTOR_WRAPPER_fFF): Likewise.
18843         (VEC_LEN): New macro.
18844         * math/test-float-vlen4.h: Include test-float.h,
18845         test-math-no-inline.h and test-math-vector.h.
18846         (FLOAT): Remove macro.
18847         (FUNC): Likewise.
18848         (MATHCONST): Likewise.
18849         (PRINTF_EXPR): Likewise.
18850         (PRINTF_XEXPR): Likewise.
18851         (PRINTF_NEXPR): Likewise.
18852         (TEST_FLOAT): Likewise.
18853         (TEST_MATHVEC): Likewise.
18854         (__NO_MATH_INLINES): Likewise.
18855         (CNCT): Likewise.
18856         (CONCAT): Likewise.
18857         (WRAPPER_NAME): Likewise.
18858         (WRAPPER_DECL): Likewise.
18859         (WRAPPER_DECL_ff): Likewise.
18860         (WRAPPER_DECL_fFF): Likewise.
18861         (VECTOR_WRAPPER): Likewise.
18862         (VECTOR_WRAPPER_ff): Likewise.
18863         (VECTOR_WRAPPER_fFF): Likewise.
18864         (VEC_LEN): New macro.
18865         * math/test-float-vlen8.h: Include test-float.h,
18866         test-math-no-inline.h and test-math-vector.h.
18867         (FLOAT): Remove macro.
18868         (FUNC): Likewise.
18869         (MATHCONST): Likewise.
18870         (PRINTF_EXPR): Likewise.
18871         (PRINTF_XEXPR): Likewise.
18872         (PRINTF_NEXPR): Likewise.
18873         (TEST_FLOAT): Likewise.
18874         (TEST_MATHVEC): Likewise.
18875         (__NO_MATH_INLINES): Likewise.
18876         (CNCT): Likewise.
18877         (CONCAT): Likewise.
18878         (WRAPPER_NAME): Likewise.
18879         (WRAPPER_DECL): Likewise.
18880         (WRAPPER_DECL_ff): Likewise.
18881         (WRAPPER_DECL_fFF): Likewise.
18882         (VECTOR_WRAPPER): Likewise.
18883         (VECTOR_WRAPPER_ff): Likewise.
18884         (VECTOR_WRAPPER_fFF): Likewise.
18885         (VEC_LEN): New macro.
18886         * math/test-float-vlen16.h: Include test-float.h,
18887         test-math-no-inline.h and test-math-vector.h.
18888         (FLOAT): Remove macro.
18889         (FUNC): Likewise.
18890         (MATHCONST): Likewise.
18891         (PRINTF_EXPR): Likewise.
18892         (PRINTF_XEXPR): Likewise.
18893         (PRINTF_NEXPR): Likewise.
18894         (TEST_FLOAT): Likewise.
18895         (TEST_MATHVEC): Likewise.
18896         (__NO_MATH_INLINES): Likewise.
18897         (CNCT): Likewise.
18898         (CONCAT): Likewise.
18899         (WRAPPER_NAME): Likewise.
18900         (WRAPPER_DECL): Likewise.
18901         (WRAPPER_DECL_ff): Likewise.
18902         (WRAPPER_DECL_fFF): Likewise.
18903         (VECTOR_WRAPPER): Likewise.
18904         (VECTOR_WRAPPER_ff): Likewise.
18905         (VECTOR_WRAPPER_fFF): Likewise.
18906         (VEC_LEN): New macro.
18907         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18908         test-vec-loop.h.
18909         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18911         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18912         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18913         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18914         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18915         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18917 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18919         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18920         (__getlogin_r): ... this.
18922 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18924         [BZ #18594]
18925         * math/s_ccosh.c (__ccosh): Compare with least normal value
18926         instead of comparing class with FP_SUBNORMAL.
18927         * math/s_ccoshf.c (__ccoshf): Likewise.
18928         * math/s_ccoshl.c (__ccoshl): Likewise.
18929         * math/s_cexp.c (__cexp): Likewise.
18930         * math/s_cexpf.c (__cexpf): Likewise.
18931         * math/s_cexpl.c (__cexpl): Likewise.
18932         * math/s_csin.c (__csin): Likewise.
18933         * math/s_csinf.c (__csinf): Likewise.
18934         * math/s_csinh.c (__csinh): Likewise.
18935         * math/s_csinhf.c (__csinhf): Likewise.
18936         * math/s_csinhl.c (__csinhl): Likewise.
18937         * math/s_csinl.c (__csinl): Likewise.
18938         * math/s_ctan.c (__ctan): Likewise.
18939         * math/s_ctanf.c (__ctanf): Likewise.
18940         * math/s_ctanh.c (__ctanh): Likewise.
18941         * math/s_ctanhf.c (__ctanhf): Likewise.
18942         * math/s_ctanhl.c (__ctanhl): Likewise.
18943         * math/s_ctanl.c (__ctanl): Likewise.
18944         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18945         csin, csinh, ctan and ctanh.
18946         * math/auto-libm-test-out: Regenerated.
18947         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18948         * sysdeps/i386/fpu/libm-test-ulps: Update.
18949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18951 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18953         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18954         return value is wrong, print the expected value too.
18956 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18958         [BZ #18585]
18959         * elf/readlib.c (is_gdb_python_file): New.
18960         (process_file): Don't issue errors on filenames with -gdb.py
18961         suffix.
18963 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18965         * math/auto-libm-test-in: Add more tests of csin and csinh.
18966         * math/auto-libm-test-out: Regenerated.
18967         * math/libm-test.inc (csin_test_data): Remove tests moved to
18968         auto-libm-test-in.
18969         (csinh_test_data): Likewise.
18971         [BZ #18593]
18972         * math/s_csin.c (__csin): Negate before rather than after possibly
18973         overflowing multiplication.
18974         * math/s_csinf.c (__csinf): Likewise.
18975         * math/s_csinh.c (__csinh): Likewise.
18976         * math/s_csinhf.c (__csinhf): Likewise.
18977         * math/s_csinhl.c (__csinhl): Likewise.
18978         * math/s_csinl.c (__csinl): Likewise.
18979         * math/auto-libm-test-in: Add some tests of csin and csinh.
18980         * math/auto-libm-test-out: Regenerated.
18981         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18982         (csinh_test_data): Likewise.
18983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18985         [BZ #18586]
18986         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18987         underflow exception for small results.
18989 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18991         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18993         variable and included header.
18994         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18995         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18998         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18999         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19000         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19001         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19002         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19003         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19004         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19005         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19006         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19007         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19008         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19009         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19011 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #16526]
19014         [BZ #16538]
19015         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19016         (__sin): Force underflow exception for arguments with small
19017         absolute value.
19018         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19019         (__kernel_sinf): Force underflow exception for arguments with
19020         small absolute value.
19021         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19022         (__kernel_sincosl): Force underflow exception for arguments with
19023         small absolute value.
19024         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19025         (__kernel_sinl): Force underflow exception for arguments with
19026         small absolute value.
19027         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19028         (__kernel_sincosl): Force underflow exception for arguments with
19029         small absolute value.
19030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19031         (__kernel_sinl): Force underflow exception for arguments with
19032         small absolute value.
19033         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19034         (__kernel_sinl): Force underflow exception for arguments with
19035         small absolute value.
19036         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19037         (__kernel_sinf): Force underflow exception for arguments with
19038         small absolute value.
19039         * math/auto-libm-test-in: Add more tests of sin and sincos.
19040         * math/auto-libm-test-out: Regenerated.
19042         [BZ #18245]
19043         [BZ #18583]
19044         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19045         (__kernel_standard_l): Use feholdexcept and fesetenv around
19046         conversion to double instead of special-casing overflow and
19047         underflow.
19048         * math/libm-test.inc (fmod_test_data): Add more tests.
19049         (remainder_test_data): Likewise.
19050         (sqrt_test_data): Likewise.
19052 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19054         [BZ #17403]
19055         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19056         atomic_read_barrier, atomic_write_barrier): Define.
19057         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19058         atomic_read_barrier, atomic_write_barrier): Define.
19060 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19062         * math/Makefile [$(PERL) != no]
19063         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19064         dependency on libm-test.stmp below the inclusion of Rules.
19066 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19068         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19070         and included header.
19071         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19072         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19079         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19080         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19081         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19082         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19083         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19084         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19085         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19086         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19087         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19088         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19089         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19091 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19093         [BZ #18371]
19094         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19095         intermediate but not final result might underflow.
19096         * math/s_csqrtf.c (__csqrtf): Likewise.
19097         * math/s_csqrtl.c (__csqrtl): Likewise.
19098         * math/auto-libm-test-in: Add more tests of csqrt.
19099         * math/auto-libm-test-out: Regenerated.
19100         * sysdeps/i386/fpu/libm-test-ulps: Update.
19102         [BZ #18219]
19103         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19104         threshold on absolute value of exponent for which scaling is used.
19105         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19106         * math/auto-libm-test-in: Add more tests of exp2.
19107         * math/auto-libm-test-out: Regenerated.
19109 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19111         [BZ #17977]
19112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19113         when initializing interface list, based on the bug analysis
19114         and the patch proposed by Eric Newton.
19115         * resolv/tst-res_hconf_reorder.c: New test.
19116         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19117         tst-res_hconf_reorder.
19118         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19119         and $(shared-thread-library).
19120         (tst-res_hconf_reorder-ENV): New variable.
19122         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19123         in comment.
19125 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19127         [BZ #16353]
19128         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19129         (__expm1): Force underflow exception for arguments with small
19130         absolute value.
19131         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19132         (__expm1f): Force underflow exception for arguments with small
19133         absolute value.
19134         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19135         (__expm1): Force underflow exception for arguments with small
19136         absolute value.
19137         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19138         (__expm1f): Force underflow exception for arguments with small
19139         absolute value.
19140         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19141         Check for small arguments before calling __expm1.
19142         * math/auto-libm-test-in: Do not mark underflow exceptions as
19143         possibly missing for bug 16353.
19144         * math/auto-libm-test-out: Regenerated.
19146 2015-06-22  Andreas Schwab  <schwab@suse.de>
19148         [BZ #18513]
19149         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19150         PTR queries.
19152 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19154         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19156         * string/strcoll_l.c: Remove unused struct element idxnow.
19158 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19160         [BZ #18569]
19161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19162         underflow and return argument in case of subnormal argument.
19163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19164         Likewise.
19165         * math/auto-libm-test-in: Add more tests of expm1.
19166         * math/auto-libm-test-out: Regenerated.
19168         [BZ #16361]
19169         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19170         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19171         tiny results.
19172         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19173         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19174         tiny results.
19175         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19176         mark underflow exceptions as possibly missing for bug 16361.
19177         * math/auto-libm-test-out: Regenerated.
19179 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19181         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19182         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19183         Remove variable.
19184         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19185         (test-xfail-XOPEN2K8/utmpx.h/conform).
19187         * conform/conformtest.pl ($xerrors): New variable.
19188         (note_error): New function.
19189         (compiletest): New argument $xfail.  Use not_error.
19190         (runtest): Likewise.
19191         (top level): Handle xfail- lines.  Update calls to compiletest and
19192         runtest.  Handle xfail- and optional- in headers listed with
19193         allow-header.
19194         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19195         (O_EXEC): Likewise.
19196         (O_SEARCH): Likewise.
19197         * conform/data/stropts.h-data (ioctl): Likewise.
19198         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19199         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19200         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19201         (msghdr.msg_controllen): Likewise.
19202         (cmsghdr.cmsg_len): Likewise.
19203         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19204         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19205         variable.
19206         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19207         (test-xfail-XPG4/stropts.h/conform): Likewise.
19208         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19209         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19210         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19211         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19212         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19213         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19214         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19215         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19216         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19217         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19218         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19219         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19220         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19221         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19222         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19223         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19224         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19225         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19226         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19228 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19230         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19231         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19232         definitions for proper unfolding of __MATHDECL_VEC.
19234 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19236         * benchtests/bench-strcoll.c:
19237         Include string.h.
19238         (main): Remove unused variable res.
19240 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19242         * timezone/Makefile (%/UTC %/Universal):
19243         Generate test-result files for UTC and Universal.
19245 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19247         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19249 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19251         [BZ #16350]
19252         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19253         for arguments with small absolute value.
19254         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19255         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19256         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19257         (__asinh): Force underflow exception for arguments with small
19258         absolute value.
19259         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19260         (__asinhf): Force underflow exception for arguments with small
19261         absolute value.
19262         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19263         (__asinhl): Force underflow exception for arguments with small
19264         absolute value.
19265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19266         (__asinhl): Force underflow exception for arguments with small
19267         absolute value.
19268         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19269         (__asinhl): Force underflow exception for arguments with small
19270         absolute value.
19271         * math/auto-libm-test-in: Do not mark underflow exceptions as
19272         possibly missing for bug 16350.
19273         * math/auto-libm-test-out: Regenerated.
19275         * include/bits/ipc.h: Remove file.
19276         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19277         variable.
19278         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19279         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19280         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19281         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19282         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19283         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19284         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19285         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19286         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19288         * math/auto-libm-test-in: Remove spurious underflow allowance for
19289         tests of cexp.
19290         * math/auto-libm-test-out: Regenerated.
19292         [BZ #18558]
19293         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19294         unconditional definition.
19295         (MCAST_BLOCK_SOURCE): Likewise.
19296         (MCAST_UNBLOCK_SOURCE): Likewise.
19297         (MCAST_LEAVE_GROUP): Likewise.
19298         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19299         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19300         (MCAST_MSFILTER): Likewise.
19301         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19302         Remove variable.
19303         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19304         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19305         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19306         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19307         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19309 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19311         * NEWS: Mention addition of x86_64 vector sincosf.
19312         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19313         * math/test-float-vlen4.h: Likewise.
19314         * math/test-float-vlen8.h: Likewise.
19315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19316         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19318         * sysdeps/x86_64/fpu/Versions: New versions added.
19319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19321         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19322         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19323         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19324         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19325         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19326         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19327         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19328         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19329         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19330         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19331         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19332         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19333         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19334         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19335         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19336         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19337         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19338         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19341         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19342         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19344         * NEWS: Mention addition of x86_64 vector sincos.
19345         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19346         * math/math.h (__MATHDECL_VEC): New macro.
19347         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19348         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19349         declaration under condition.
19350         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19351         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19352         TEST_VEC_LOOP change.
19353         * math/test-double-vlen4.h: Likewise.
19354         * math/test-double-vlen8.h: Likewise.
19355         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19356         * math/test-float-vlen4.h: Likewise.
19357         * math/test-float-vlen8.h: Likewise.
19358         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19359         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19361         * sysdeps/x86_64/fpu/Versions: New versions added.
19362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19363         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19364         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19368         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19369         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19370         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19371         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19372         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19373         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19374         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19375         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19376         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19377         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19378         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19379         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19381         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19382         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19383         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19384         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19385         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19388         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19389         redirections for powf.
19390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19391         * sysdeps/x86_64/fpu/Versions: New versions added.
19392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19394         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19395         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19396         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19399         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19400         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19401         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19402         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19403         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19404         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19405         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19406         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19407         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19408         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19409         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19410         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19411         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19414         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19415         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19416         * math/test-float-vlen16.h: Fixed 2 argument macro.
19417         * math/test-float-vlen4.h: Likewise.
19418         * math/test-float-vlen8.h: Likewise.
19419         * NEWS: Mention addition of x86_64 vector powf.
19421 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19423         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19424         and redefine.
19425         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19426         and redefine.
19427         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19431         [BZ #18553]
19432         * resource/getpriority.c (getpriority): Rename to __getpriority
19433         and define as weak alias of __getpriority.
19434         * resource/setpriority.c (setpriority): Rename to __setpriority
19435         and define as weak alias of __setpriority.
19436         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19437         __getpriority and define as weak alias of __getpriority.
19438         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19439         __setpriority and define as weak alias of __setpriority.
19440         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19441         strong name.
19442         (setpriority): Use __setpriority as strong name.
19443         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19444         __getpriority and define as weak alias of __getpriority.
19445         * include/sys/resource.h (__getpriority): Declare.  Use
19446         libc_hidden_proto.
19447         (__setpriority): Likewise.
19448         (getpriority): Don't use libc_hidden_proto.
19449         (setpriority): Likewise.
19450         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19451         getpriority.  Call __setpriority instead of setpriority.
19452         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19453         Remove variable.
19455         [BZ #18547]
19456         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19457         as weak alias of __getttynam.  Use prototype function definition.
19458         Call __setttyent, __getttyent and __endttyent instead of
19459         setttyent, getttyent and endttyent.
19460         (getttyent): Rename to __getttyent and define as weak alias of
19461         __getttyent.  Call __setttyent instead of setttyent.  Call
19462         __fgets_unlocked instead of fgets_unlocked.
19463         (setttyent): Rename to __setttyent and define as weak alias of
19464         __setttyent.
19465         (endttyent): Rename to __endttyent and define as weak alias of
19466         __endttyent.
19467         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19468         (__setttyent): Likewise.
19469         (__endttyent): Likewise.
19470         (getttyent): Don't use libc_hidden_proto.
19471         (setttyent): Likewise.
19472         (endttyent): Likewise.
19473         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19474         __endttyent instead of setttyent, getttyent and endttyent.
19475         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19476         Remove variable.
19478         [BZ #18546]
19479         * socket/recv.c (__recv): Use libc_hidden_def.
19480         * socket/socket.c (__socket): Likewise.
19481         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19482         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19483         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19484         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19485         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19486         libc_hidden_def.
19487         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19488         libc_hidden_weak.
19489         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19490         Use libc_hidden_proto.
19491         (__recv): Likewise.
19492         * socket/Versions (libc): Export __recv and __socket at version
19493         GLIBC_PRIVATE.
19494         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19495         instead of recv.
19496         (init_mq_netlink): Call __socket instead of socket.
19497         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19498         Remove variable.
19500         [BZ #18545]
19501         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19502         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19503         hidden_weak.
19504         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19505         define as alias of __mq_timedsend.  Use hidden_weak.
19506         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19507         __mq_timedsend as strong name.
19508         (mq_timedreceive): Use __mq_timedreceive as strong name.
19509         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19510         (__mq_timedreceive): Likewise.
19511         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19512         __mq_timedreceive instead of mq_timedreceive.
19513         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19514         instead of mq_timedsend.
19515         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19516         Remove variable.
19518         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19519         hidden_def and hidden_weak instead of libc_hidden_def and
19520         libc_hidden_weak.
19521         (top level): Refer to hidden_def in comment.
19522         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19523         macro.  Use it instead of libc_hidden_def.
19524         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19525         specify __GI_* name explicitly.
19526         (mq_timedreceive): Likewise.
19527         (mq_setattr): Likewise.
19529         [BZ #18544]
19530         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19531         __pthread_barrier_init and define as weak alias of
19532         __pthread_barrier_init.
19533         * sysdeps/sparc/nptl/pthread_barrier_init.c
19534         (pthread_barrier_init): Likewise.
19535         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19536         __pthread_barrier_wait and define as weak alias of
19537         __pthread_barrier_wait.
19538         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19539         (pthread_barrier_wait): Likewise.
19540         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19541         (pthread_barrier_wait): Likewise.
19542         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19543         (pthread_barrier_wait): Likewise.
19544         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19545         (pthread_barrier_wait): Likewise.
19546         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19547         __pthread_barrier_wait at version GLIBC_PRIVATE.
19548         * include/pthread.h (__pthread_barrier_init): Declare.
19549         (__pthread_barrier_wait): Likewise.
19550         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19551         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19552         (helper_thread): Likewise.
19553         (init_mq_netlink): Call __pthread_barrier_init instead of
19554         pthread_barrier_init.
19556         [BZ #18542]
19557         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19558         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19559         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19560         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19561         vswscanf.
19562         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19563         Remove variable.
19565         [BZ #18540]
19566         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19567         strong alias of _IO_fflush.  Use libc_hidden_def.
19568         * libio/iofflush_u.c (fflush_unlocked): Rename to
19569         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19570         Use libc_hidden_weak.
19571         * include/stdio.h (__fflush_unlocked): Declare.  Use
19572         libc_hidden_proto.
19573         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19574         fflush_unlocked.
19575         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19576         Remove variable.
19578         [BZ #18539]
19579         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19580         define as weak alias of __addseverity.
19581         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19582         Remove variable.
19583         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19584         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19585         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19587         [BZ #18536]
19588         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19589         (__tfind): Likewise.
19590         (__tdelete): Likewise.
19591         (__twalk): Likewise.
19592         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19593         __twalk to GLIBC_PRIVATE.
19594         * include/search.h (__tsearch): Use libc_hidden_proto.
19595         (__tfind): Likewise.
19596         (__tdelete): Likewise.
19597         (__twalk): Likewise.
19598         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19599         Call __tdelete instead of tdelete.
19600         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19601         tfind.  Call __tsearch instead of tsearch.
19602         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19603         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19604         Remove variable.
19605         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19607         [BZ #18534]
19608         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19609         (dprintf): Define as a weak alias of __dprintf, not a strong
19610         alias.
19611         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19612         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19613         dprintf.
19614         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19615         Remove variable.
19616         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19617         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19619         [BZ #18533]
19620         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19621         not a strong alias.
19622         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19623         Remove variable.
19625         [BZ #18532]
19626         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19627         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19628         (in6addr_loopback): Rename to __in6addr_loopback and define as
19629         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19630         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19631         libc_hidden_proto.
19632         (__in6addr_any): Likewise.
19633         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19634         in6addr_any.
19635         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19636         variable.
19637         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19639 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19641         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19642         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19643         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19644         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19645         redirections for pow.
19646         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19647         * sysdeps/x86_64/fpu/Versions: New versions added.
19648         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19649         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19650         build of SSE, AVX2 and AVX512 IFUNC versions.
19651         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19652         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19653         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19654         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19655         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19658         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19659         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19660         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19661         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19662         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19663         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19664         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19665         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19668         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19669         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19670         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19671         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19672         * NEWS: Mention addition of x86_64 vector pow.
19674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19675         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19676         redirections for expf.
19677         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19678         * sysdeps/x86_64/fpu/Versions: New versions added.
19679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19680         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19681         build of SSE, AVX2 and AVX512 IFUNC versions.
19682         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19685         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19686         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19687         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19688         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19689         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19690         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19691         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19692         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19693         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19694         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19695         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19696         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19697         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19699         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19700         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19701         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19702         * NEWS: Mention addition of x86_64 vector expf.
19704         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19705         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19707         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19708         redirections for exp.
19709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19710         * sysdeps/x86_64/fpu/Versions: New versions added.
19711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19713         build of SSE, AVX2 and AVX512 IFUNC versions.
19714         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19715         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19716         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19717         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19718         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19719         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19720         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19721         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19722         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19723         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19724         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19725         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19726         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19727         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19728         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19730         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19731         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19732         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19733         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19734         * NEWS: Mention addition of x86_64 vector exp.
19736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19737         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19738         redirections for logf.
19739         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19740         * sysdeps/x86_64/fpu/Versions: New versions added.
19741         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19742         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19743         build of SSE, AVX2 and AVX512 IFUNC versions.
19744         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19745         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19749         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19750         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19751         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19752         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19753         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19754         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19755         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19756         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19757         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19758         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19759         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19760         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19762         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19763         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19764         * NEWS: Mention addition of x86_64 vector logf.
19766         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19767         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19768         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19769         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19770         redirections for log.
19771         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19772         * sysdeps/x86_64/fpu/Versions: New versions added.
19773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19774         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19775         build of SSE, AVX2 and AVX512 IFUNC versions.
19776         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19777         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19778         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19779         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19780         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19781         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19782         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19783         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19784         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19785         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19786         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19787         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19788         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19789         test.
19790         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19791         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19792         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19793         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19794         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19795         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19796         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19797         * NEWS: Mention addition of x86_64 vector log.
19799 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19801         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19802         cfi_adjust_cfa_offset argument.
19803         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19804         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19806         [BZ #18034]
19807         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19808         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19809         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19810         ordering using ldar.
19811         (_dl_tlsdesc_dynamic): Likewise.
19812         (_dl_tlsdesc_return_lazy): Likewise.
19813         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19814         relaxed atomics instead of volatile and synchronize with release store.
19815         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19816         volatile.
19817         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19819 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19821         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19822         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19824         * sysdeps/x86_64/fpu/Versions: New versions added.
19825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19826         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19827         build of SSE, AVX2 and AVX512 IFUNC versions.
19828         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19829         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19830         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19831         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19832         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19834         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19835         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19836         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19837         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19838         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19839         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19840         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19841         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19843         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19846         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19847         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19848         * NEWS: Mention addition of x86_64 vector sinf.
19850 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19852         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19853         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19854         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19855         Remove variable.
19856         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19857         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19859 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19861         [BZ #18530]
19862         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19863         strong alias of _IO_fputs.  Use libc_hidden_def.
19864         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19865         and define as weak alias of __fputs_unlocked.  Use
19866         libc_hidden_weak.
19867         * include/stdio.h (__fputs_unlocked): Declare.  Use
19868         libc_hidden_proto.
19869         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19870         fputs_unlocked.
19872         [BZ #18529]
19873         * resolv/netdb.h [__USE_POSIX]: Change condition to
19874         [__USE_XOPEN2K].
19875         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19876         not expect.
19877         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19878         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19879         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19880         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19881         [XPG4 || UNIX98] (AI_ALL): Likewise.
19882         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19883         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19884         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19885         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19886         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19887         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19888         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19889         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19890         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19891         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19892         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19893         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19894         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19895         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19896         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19897         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19898         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19899         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19900         [XPG4 || UNIX98] (gai_strerror): Likewise.
19901         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19902         [XPG4 || UNIX98] (getnameinfo): Likewise.
19904         [BZ #18528]
19905         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19906         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19907         __USE_XOPEN2K8].
19908         (getgrent): Likewise.
19909         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19910         expect.
19911         [XPG3 || POSIX2008] (endgrent): Likewise.
19912         [XPG3] (setgrent): Likewise.
19913         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19914         variable.
19915         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19917         [BZ #18527]
19918         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19919         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19920         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19921         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19922         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19923         * include/unistd.h (__getlogin_r): Declare.  Use
19924         libc_hidden_proto.
19925         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19926         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19927         variable.
19928         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19929         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19930         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19932 2015-06-12  Martin Sebor  <msebor@redhat.com>
19934         [BZ #18512]
19935         * Makerules (check-install-supported): New target.
19936         (install): Add check-install-supported as a dependency.
19937         * manual/install.texi (Installing the C Library): Document
19938         that overriding prefix and exec_prefix is not supported.
19939         Mention DESTDIR.
19940         * INSTALL: Regenerate from the above.
19942 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19944         [BZ #18519]
19945         * posix/Versions (libc): Export __libc_pread at version
19946         GLIBC_PRIVATE.
19947         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19948         instead of pread.
19949         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19950         variable.
19952         [BZ #18522]
19953         * misc/efgcvt_r.c
19954         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19955         (cvt_symbol): Use weak_alias instead of strong_alias.
19956         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19957         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19958         Remove variable.
19959         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19960         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19962         [BZ #18520]
19963         * inet/herrno.c (h_errno): Rename to __h_errno.
19964         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19965         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19966         to __h_errno instead of h_errno.
19967         * nptl/herrno.c (h_errno): Rename to __h_errno.
19968         (__h_errno_location): Refer to __h_errno not h_errno.
19969         * resolv/Versions (h_errno): Rename to __h_errno.
19970         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19971         Remove variable.
19972         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19974 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19976         * configure.ac: More strict check for AVX512 assembler support.
19977         * configure: Regenerated.
19979         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19980         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19981         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19982         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19984         * sysdeps/x86_64/fpu/Versions: New versions added.
19985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19987         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19988         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19989         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19992         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19994         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19995         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19996         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19997         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19998         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19999         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20000         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20001         test.
20002         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20004         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20005         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20006         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20007         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20008         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20009         * NEWS: Mention addition of x86_64 vector sin.
20011 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20013         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20014         comment.
20016 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20018         [BZ #18479]
20019         * nptl/pt-interp.c: New file.
20020         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20021         Add pt-interp.
20022         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20023         $(common-objpfx)runtime-linker.h.
20025 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20027         * Makeconfig (+interp): Remove unused variable.
20028         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20029         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20030         $(elf-objpfx)runtime-linker.h.
20031         ($(elf-objpfx)runtime-linker.h): Rename to
20032         $(common-objpfx)runtime-linker.h and move ...
20033         * Makerules [$(build-shared) = yes]: ... here.
20034         * elf/interp.c: Include <runtime-linker.h> instead of
20035         <elf/runtime-linker.h>.
20037 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20039         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20040         (__gettimeofday_syscall): Remove vsyscall fallback.
20041         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20042         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20043         Add syscall fallback function.
20044         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20045         if vDSO is not present.
20046         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20047         fallback function.
20048         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20049         present.
20050         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20051         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20053 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #18497]
20056         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20057         of wcscmp.
20058         (wcscmp): Define as weak alias of WCSCMP.
20059         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20060         wcscoll.
20061         (USE_HIDDEN_DEF): Define.
20062         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20063         __wcscoll.  Don't use libc_hidden_weak.
20064         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20065         wcscmp.
20066         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20067         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20068         __GI_wcscmp.
20069         (weak_alias): Undefine and redefine.
20070         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20071         __wcscmp and define as weak alias of __wcscmp.
20072         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20073         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20074         (__wcscoll): Likewise.
20075         (wcscmp): Don't use libc_hidden_proto.
20076         (wcscoll): Likewise.
20077         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20078         wcscoll.
20079         * posix/regexec.c (check_node_accept_bytes): Likewise.
20080         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20081         variable.
20082         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20083         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20085         [BZ #18507]
20086         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20087         __fstatvfs and define as weak alias of __fstatvfs.  Use
20088         libc_hidden_weak.
20089         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20090         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20091         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20092         Define as alias of __fstatvfs, not fstatvfs.
20093         (fstatvfs64): Likewise.
20094         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20095         Define as alias of __statvfs, not statvfs.
20096         (statvfs64): Likewise.
20097         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20098         Remove variable.
20100 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20103         (HAVE_GETCPU_VSYSCALL): Define.
20104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20105         (HAVE_GETCPU_VSYSCALL): Likewise.
20106         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20107         * sysdeps/unix/sysv/linux/sched_getcpu.c
20108         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20109         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20110         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20111         prototype.
20112         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20113         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20114         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20116         Define.
20117         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20118         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20120         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20122 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20124         * sysdeps/x86_64/fpu/Makefile: New file.
20125         * sysdeps/x86_64/fpu/Versions: New file.
20126         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20127         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20128         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20129         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20130         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20131         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20132         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20134         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20135         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20136         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20138         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20140         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20141         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20142         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20143         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20144         * sysdeps/x86_64/configure: Regenerated.
20145         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20146         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20147         * manual/install.texi (Configuring and compiling): Document
20148         --disable-mathvec.
20149         * INSTALL: Regenerated.
20150         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20152         * math/Makefile: Added rules for vector tests.
20153         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20154         declaration under condition.
20155         * math/test-double-vlen2.h: New file.
20156         * math/test-double-vlen4.h: New file.
20157         * math/test-double-vlen8.h: New file.
20158         * math/test-vec-loop.h: Added initialization macro.
20159         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20161         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20162         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20163         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20164         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20165         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20166         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20167         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20168         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20169         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20172         * sysdeps/x86_64/fpu/Versions: New versions added.
20173         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20176         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20177         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20180         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20182         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20183         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20184         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20185         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20187         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20188         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20189         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20190         * NEWS: Mention addition of x86_64 vector cosf.
20192         * math/Makefile: Added CFLAGS for new tests.
20193         * math/test-float-vlen16.h: New file.
20194         * math/test-float-vlen4.h: New file.
20195         * math/test-float-vlen8.h: New file.
20196         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20197         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20198         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20199         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20200         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20201         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20202         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20204         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20205         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20206         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20208 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20210         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20211         * locale/programs/ld-ctype.c: Likewise.
20213 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20215         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20216         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20217         bit_ZMM16_31_state): New macro.
20218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20219         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20221 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20223         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20225 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20227         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20229 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #18498]
20232         * libio/memstream.c (open_memstream): Rename to __open_memstream
20233         and define as weak alias of __open_memstream.
20234         * include/stdio.h (__open_memstream): Declare.  Use
20235         libc_hidden_proto.
20236         (open_memstream): Don't use libc_hidden_proto.
20237         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20238         open_memstream.
20239         * posix/getopt.c (_getopt_internal_r): Likewise.
20240         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20241         variable.
20242         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20243         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20244         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20246         [BZ #18496]
20247         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20248         instead of wcrtomb.
20250         [BZ #18483]
20251         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20252         [__USE_XOPEN2K8].  Remove redundant #endif.
20253         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20254         Remove redundant #if.
20255         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20256         Remove variable.
20257         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20258         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20260         [BZ #18495]
20261         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20262         (__iswlower): Likewise.
20263         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20264         (__iswlower): Likewise.
20265         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20266         instead of towlower.
20267         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20268         instead of iswlower.  Call __towupper instead of towupper.
20269         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20270         instead of iswalnum.
20272 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20274         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20275         errors to stderr.
20277 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20279         [BZ #15661]
20280         [BZ #17322]
20281         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20282         Check for overflow properly.  Check for O_APPEND.  Ignore large
20283         file system block sizes.  Add comments about problems.
20284         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20285         * manual/filesys.texi (Storage Allocation): New node.
20287 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20289         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20290         cancellable syscalls.
20291         (SYS_ify): Add guard to no redefine it.
20292         (INLINE_SYSCALL): Likewise.
20293         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20294         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20295         SYSCALL_CANCEL instead.
20296         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20297         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20298         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20299         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20300         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20301         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20302         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20303         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20304         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20305         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20306         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20307         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20308         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20309         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20310         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20312         Likewise.
20313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20314         (__libc_pread64): Likewise.
20315         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20316         (__libc_preadv): Likewise.
20317         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20318         (__libc_readv64): Likewise.
20319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20320         (__libc_pwrite): Likewise.
20321         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20322         (__libc_pwrite64): Likewise.
20323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20324         (__libc_pwritev): Likewise.
20325         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20326         (__libc_pwritev64): Likewise.
20327         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20328         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20329         (sync_file_range): Likewise.
20330         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20331         Likewise.
20332         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20333         Likewise.
20334         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20335         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20336         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20337         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20338         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20339         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20340         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20341         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20343         Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20345         (__libc_read64): Likewise.
20346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20347         Likewise.
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20349         Likewise.
20350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20351         Likewise.
20352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20353         Likewise.
20354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20355         (__libc_pread64): Likewise.
20356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20357         Likewise.
20358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20359         (__libc_pwrite64): Likewise.
20360         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20361         (sync_file_range): Likewise.
20362         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20363         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20364         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20365         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20366         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20367         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20368         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20369         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20370         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20371         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20372         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20373         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20374         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20375         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20376         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20377         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20378         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20379         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20380         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20381         Likewise.
20382         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20383         Likewise.
20384         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20385         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20386         Likewise.
20387         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20388         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20389         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20390         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20391         Likewise.
20392         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20393         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20394         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20395         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20396         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20398 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20400         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20401         Include dl-vdso.
20402         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20403         Use VDSO routines for gettimeofday, clock_gettime if
20404         available.
20405         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20406         Declare VDSO symbols.
20407         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20408         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20409         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20410         * sysdeps/unix/sysv/linux/arm/Versions: Add
20411         __vdso_clock_gettime.
20413 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20415         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20416         be an inline implementation regardless of library is built within.
20417         (open_not_cancel_2): Likewise.
20418         (__read_nocancel): Likewise.
20419         (__write_nocancel): Likewise.
20420         (openat_not_cancel): Likewise.
20421         (openat_not_cancel_3): Likewise.
20422         (openat64_not_cancel): Likewise.
20423         (openat64_not_cancel_3): Likewise.
20424         (__close_nocancel): Likewise.
20425         (pause_not_cancel): Likewise.
20426         (nanosleep_not_cancel): Likewise.
20427         (sigsuspend_not_cancel): Likewise.
20429 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20431         [BZ #14958]
20432         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20433         wake-up.
20434         (__pthread_rwlock_rdlock_slow): Likewise.
20435         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20436         Likewise.
20437         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20438         Likewise.
20439         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20440         * nptl/tst-rwlock16.c: New file.
20441         * nptl/Makefile (tests): Add new test.
20443 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20445         [BZ #18324]
20446         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20447         missing wake-up of readers.
20448         * nptl/tst-rwlock15.c: New file.
20449         * nptl/Makefile (tests): Add new test.
20451 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20453         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20454         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20455         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20456         and __nacl_supply_interface_rtld.
20457         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20458         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20459         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20460         Add __nacl_supply_interface_rtld.
20461         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20463 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20465         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20466         isfinite.
20467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20468         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20470 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20472         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20473         __signbit* with standard C99 macros.
20474         * math/e_exp10l.c: Likewise.
20475         * math/e_exp2l.c: Likewise.
20476         * math/e_scalb.c: Likewise.
20477         * math/e_scalbf.c: Likewise.
20478         * math/e_scalbl.c: Likewise.
20479         * math/s_ldexp.c: Likewise.
20480         * math/s_ldexpf.c: Likewise.
20481         * math/s_ldexpl.c: Likewise.
20482         * math/w_atan2.c: Likewise.
20483         * math/w_atan2f.c: Likewise.
20484         * math/w_atan2l.c: Likewise.
20485         * math/w_cosh.c: Likewise.
20486         * math/w_coshf.c: Likewise.
20487         * math/w_coshl.c: Likewise.
20488         * math/w_exp10.c: Likewise.
20489         * math/w_exp10f.c: Likewise.
20490         * math/w_exp10l.c: Likewise.
20491         * math/w_exp2.c: Likewise.
20492         * math/w_exp2f.c: Likewise.
20493         * math/w_exp2l.c: Likewise.
20494         * math/w_fmod.c: Likewise.
20495         * math/w_fmodf.c: Likewise.
20496         * math/w_fmodl.c: Likewise.
20497         * math/w_hypot.c: Likewise.
20498         * math/w_hypotf.c: Likewise.
20499         * math/w_hypotl.c: Likewise.
20500         * math/w_jnl.c: Likewise.
20501         * math/w_lgamma.c: Likewise.
20502         * math/w_lgamma_r.c: Likewise.
20503         * math/w_lgammaf.c: Likewise.
20504         * math/w_lgammaf_r.c: Likewise.
20505         * math/w_lgammal.c: Likewise.
20506         * math/w_lgammal_r.c: Likewise.
20507         * math/w_pow.c: Likewise.
20508         * math/w_powf.c: Likewise.
20509         * math/w_powl.c: Likewise.
20510         * math/w_remainder.c: Likewise.
20511         * math/w_remainderf.c: Likewise.
20512         * math/w_remainderl.c: Likewise.
20513         * math/w_scalb.c: Likewise.
20514         * math/w_scalbf.c: Likewise.
20515         * math/w_scalbl.c: Likewise.
20516         * math/w_scalbln.c: Likewise.
20517         * math/w_scalblnf.c: Likewise.
20518         * math/w_scalblnl.c: Likewise.
20519         * math/w_sinh.c: Likewise.
20520         * math/w_sinhf.c: Likewise.
20521         * math/w_sinhl.c: Likewise.
20522         * math/w_tgamma.c: Likewise.
20523         * math/w_tgammaf.c: Likewise.
20524         * math/w_tgammal.c: Likewise.
20525         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20526         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20527         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20528         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20529         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20530         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20531         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20532         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20533         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20534         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20535         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20536         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20537         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20538         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20539         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20540         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20541         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20542         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20543         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20546         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20547         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20548         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20549         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20550         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20551         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20552         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20553         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20554         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20555         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20556         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20557         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20558         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20559         * stdio-common/printf_fp.c: Likewise.
20560         * stdio-common/printf_fphex.c: Likewise.
20561         * stdio-common/printf_size.c: Likewise.
20563 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20565         [BZ #18470]
20566         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20567         strnlen.
20568         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20569         Remove variable.
20570         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20571         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20572         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20573         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20574         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20575         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20576         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20577         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20578         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20579         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20581         [BZ #18468]
20582         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20583         weak alias of __wmemchr.  Use libc_hidden_weak.
20584         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20585         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20586         instead of wmemchr.
20588 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20590         [BZ #18383]
20591         * elf/tst-tlsalign-extern.c: New file.
20592         * elf/tst-tlsalign-extern-static.c: New file.
20593         * elf/tst-tlsalign-vars.c: New file.
20594         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20595         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20596         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20597         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20598         (test-xfail-tst-tlsalign-extern-static): New variable.
20600 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20602         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20603         Use variable name _sc_err instead of err.
20604         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20605         instead of ret.
20606         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20607         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20608         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20609         (INLINE_SYSCALL): Likewise.
20611         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20612         * include/string.h (__strnlen): Use libc_hidden_proto.
20613         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20614         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20615         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20616         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20617         (libc_hidden_def): Undefine and redefine.
20618         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20619         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20620         __GI_strnlen.
20621         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20622         libc_hidden_def.
20623         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20625         [BZ #18469]
20626         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20627         weak alias of __towlower.  Use libc_hidden_weak.
20628         (towupper): Rename to __towupper and define as weak alias of
20629         __towupper.  Use libc_hidden_weak.
20630         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20631         (__towupper): Likewise.
20632         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20633         __towlower instead of towlower.
20635 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20637         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20638         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20640 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20642         * sysdeps/aarch64/libm-test-ulps: Update.
20644 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20646         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20647         Define.
20648         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20650         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20651         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20652         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20653         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20654         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20656 2015-06-01  Martin Sebor  <msebor@redhat.com>
20658         [BZ #18116]
20659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20660         (__setcontext): Use extended four-operand version of mtsf whenever
20661         possible.
20662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20663         (__novec_swapcontext): Likewise.
20665 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20667         * benchtests/scripts/compare_bench.py: New file.
20668         * benchtests/scripts/import_bench.py (mean): New function.
20669         (split_list): Likewise.
20670         (do_for_all_timings): Likewise.
20671         (compress_timings): Likewise.
20673         * benchtests/scripts/import_bench.py: New file.
20674         * benchtests/scripts/validate_benchout.py: Import import_bench
20675         instead of jsonschema.
20676         (validate_bench): Remove function.
20677         (main): Use import_bench.
20679 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20681         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20682         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20684 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20688 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20690         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20691         set THREAD_SELF->tid to a magic value and futex-wake it.
20692         Pass its address to the thread_exit system call.
20693         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20694         bit is clear.
20695         * sysdeps/nacl/lowlevellock.h: New file.
20696         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20698         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20699         Add TIMEOUT to current time, don't subtract it.
20701 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20703         [BZ #2981]
20704         [BZ #18422]
20705         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20706         ($(objpfx)tst-audit2.out): Also depend on
20707         $(objpfx)tst-auditmod9b.so.
20708         * elf/tst-audit2.c: Include <dlfcn.h>.
20709         (calloc_called): New.
20710         (calloc): Allow to be called more than once.
20711         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20713 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20715         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20716         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20718 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20720         * stdlib/monetary.h: Fix comment.
20722 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20724         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20725         Avoid using variables in #defines that might cause shadowing.
20726         (INTERNAL_VSYSCALL_CALL): Likewise.
20728 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20730         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20732         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20733         * nptl/lll_timedlock_wait.c: ... to this new file.
20734         * nptl/Makefile (libpthread-routines): Add it.
20735         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20736         * nptl/lll_timedwait_tid.c: ... to this new file.
20737         * nptl/Makefile (libpthread-routines): Add it.
20738         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20739         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20740         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20741         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20742         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20743         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20744         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20745         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20746         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20747         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20749 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20751         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20752         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20753         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20754         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20755         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20757         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20759         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20760         * sysdeps/unix/sysv/linux/tile/sysdep.h
20761         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20762         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20763         using vDSO syscall macro.
20765 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20767         [BZ #17293]
20768         * uk_UA: Fix sorting order for Ukrainian locale
20770 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20772         * stdlib/monetary.h: Fix comment.
20774 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20776         [BZ #18234]
20777         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20778         st_mtim and st_ctim members.
20779         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20780         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20781         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20782         (struct stat64): Likewise.
20783         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20784         (struct stat64): Likewise.
20785         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20786         (struct stat64): Likewise.
20788 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20790         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20791         Define and include sysdep-vdso.h.
20792         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20793         Likewise.
20794         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20795         Likewise.
20796         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20797         Define with VDSO_SYMBOL and use PTR_MANGLE.
20798         (__vdso_clock_gettime): Likewise.
20799         (__vdso_clock_getres): Likewise.
20800         (_libc_vdso_platform_setup): Likewise.
20801         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20802         Likewise.
20803         (_libc_vdso_platform_setup): Likewise.
20804         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20805         Likewise.
20806         (__vdso_clock_gettime): Likewise.
20807         (__vdso_clock_getres): Likewise.
20808         (__vdso_get_tbfreq): Likewise.
20809         (__vdso_getcpu): Likewise.
20810         (__vdso_time): Likewise.
20811         (__vdso_sigtramp_rt64): Likewise.
20812         (__vdso_signtramp32): Likewise.
20813         (__vdso_sigtramp_rt32): Likewise.
20814         (_libc_vdso_platform_setup): Likewise.
20815         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20816         Likewise.
20817         (__vdso_clock_gettime): Likewise.
20818         (__vdso_clock_getres): Likewise.
20819         (_libc_vdso_platform_setup): Likewise.
20820         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20821         Likewise.
20822         (__vdso_clock_gettime): Likewise.
20823         (_libc_vdso_platform_setup): Likewise.
20824         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20825         Likewise.
20826         (__vdso_getcpu): Likewise.
20827         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20828         Use VDSO_SYMBOL macro to define.
20829         (__vdso_clock_gettime): Likewise.
20830         (__vdso_clock_getres): Likewise.
20831         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20832         Likewise.
20833         (__vdso_clock_gettime): Likewise.
20834         (__vdso_clock_getres): Likewise.
20835         (__vdso_get_tbfreq): Likewise.
20836         (__vdso_getcpu): Likewise.
20837         (__vdso_time): Likewise.
20838         (__vdso_sigtramp_rt64): Likewise.
20839         (__vdso_signtramp32): Likewise.
20840         (__vdso_sigtramp_rt32): Likewise.
20841         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20842         Likewise.
20843         (__vdso_clock_gettime): Likewise.
20844         (__vdso_clock_getres): Likewise.
20845         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20846         Likewise.
20847         (__vdso_clock_gettime): Likewise.
20848         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20849         Likewise.
20850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20851         macro.
20852         (INTERNAL_VSYSCALL): Likewise.
20853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20854         Remove macro.
20855         (INTERNAL_VSYSCALL): Likewise.
20856         (INTERNAL_VSYSCALL_NCS): Likewise.
20857         (INTERNAL_VSYSCALL_CALL): New macro.
20858         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20859         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20860         Likewise.
20861         (INTERNAL_VSYSCALL): Likewise.
20862         (INTERNAL_VSYSCALL_NCS): Likewise.
20863         (INTERNAL_VSYSCALL_CALL): New macro.
20864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20866         (INLINE_VSYSCALL): Remove macro.
20867         (INTERNAL_VSYSCALL): Remove macro.
20868         (INTERNAL_VSYSCALL_NCS): Remove macro.
20869         (INTERNAL_VSYSCALL_CALL): New macro.
20870         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20871         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20872         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20873         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20874         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20876         (INLINE_VSYSCALL): Remove macro.
20877         (INTERNAL_VSYSCALL): Likewise.
20878         (INTERNAL_VSYSCALL_NCS): Likewise.
20879         (INTERNAL_VSYSCALL_CALL): New macro.
20880         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20881         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20882         PTR_DEMANGLE on vDSO pointer.
20883         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20884         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20885         macro.
20886         (INTERNAL_SYSCALL): Likewise.
20887         (INTERNAL_VSYSCALL_NCS): Remove macro.
20888         (INTERNAL_VSYSCALL_CALL): New macro.
20889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20890         Remove macro.
20891         (INTERNAL_VSYSCALL): Likewise.
20892         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20893         sysdep-vdso.h instead of libc-vdso.h.
20894         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20895         definition.
20896         (INLINE_VSYSCALL): Likewise.
20897         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20898         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20899         definition.
20900         (INLINE_VSYSCALL): Likewise.
20901         (INTERNAL_VSYSCALL): Likewise.
20902         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20903         * sysdeps/unix/sysv/linux/timespec_get.c
20904         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20905         (timespec_get): Use ANSI prototype.
20906         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20907         and definition for Linux.
20909 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20911         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20912         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20914 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20916         [BZ #2981]
20917         [BZ #18410]
20918         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20919         for missing DT_PLTRELSZ.
20921 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20923         Remove obsolete aliases that broke 'locale -a'
20924         [BZ #18412]
20925         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20926         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20927         breaking some applications that use 'locale -a' output.
20928         Change the encoding of this file from Latin-1 to ASCII to avoid
20929         other potential problems with people grepping this file.
20931 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20933         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20934         -fasynchronous-unwind-tables.
20935         (CFLAGS-sendto.c): Likewise.
20936         (CFLAGS-sendmsg.c): Likewise.
20937         (CFLAGS-connect.c): Likewise.
20938         (CFLAGS-recvmsg.c): Likewise.
20939         (CFLAGS-recvfrom.c): Likewise.
20940         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20941         (SOCKETCALL): New macro: non-cancellable socketcall.
20942         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20943         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20944         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20945         * sysdeps/unix/sysv/linux/accept.c: New file.
20946         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20947         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20948         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20949         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20950         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20951         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20952         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20953         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20954         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20955         * sysdeps/unix/sysv/linux/send.c: Likewise.
20956         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20957         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20958         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20959         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20960         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20961         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20962         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20963         prototype.
20964         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20965         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20966         instead of __internal_xxx function.
20967         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20968         prototype.
20969         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20970         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20971         instead of __internal_xxx function.
20972         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20973         prototype.
20974         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20975         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20976         instead of __internal_xxx function.
20977         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20978         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20979         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20980         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20981         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20982         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20983         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20984         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20985         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20986         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20987         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20988         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20989         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20990         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20991         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20992         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20993         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20994         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20995         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20996         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20999         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21000         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21001         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21002         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21003         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21004         * sysdeps/unix/sysv/linux/send.S: Likewise.
21005         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21006         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21007         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21008         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21009         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21010         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21011         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21012         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21013         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21014         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21015         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21016         socketcall is implemented in GLIBC.
21018 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21020         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21021         (__fma): Ignore uninitialized warnings around packing.
21022         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21023         (__fmaf): Ignore uninitialized warnings around packing.
21024         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21025         (__fmal): Ignore uninitialized warnings around packing.
21027         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21028         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21029         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21030         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21032         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21033         switch statement into default case.
21034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21036         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21037         a conditional in forcing "inexact".
21038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21039         Likewise.
21041 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21043         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21044         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21045         for each INTERNAL_SYSCALL use.
21047 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21049         [BZ #438]
21050         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21051         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21052         variable.
21054         [BZ #18444]
21055         * string/basename.c (basename): Rename to __basename and define as
21056         weak alias of __basename.  Use libc_hidden_weak.
21057         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21058         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21059         __basename instead of basename.
21060         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21061         Remove variable.
21062         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21064 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21066         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21067         (_IO_JUMPS_FILE_plus): New.
21068         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21069         _IO_CAST_FIELD_ACCESS.
21070         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21071         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21072         * libio/freopen.c (freopen): Likewise.
21073         * libio/freopen64.c (freopen64): Likewise.
21074         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21075         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21076         * libio/iofwide.c (_IO_fwide): Likewise.
21077         * libio/memstream.c (open_memstream): Likewise.
21078         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21079         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21080         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21082 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21084         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21085         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21086         NADJ.
21087         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21088         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21089         NADJ.
21090         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21091         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21092         NADJ.
21094         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21095         (p == 4) case.
21097         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21098         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21099         Remove variable.
21100         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21101         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21102         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21104 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21106         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21107         Adjust jump table label generation macros.
21109 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21111         * stdio-common/vfprintf.c (vfprintf): Move local variables
21112         args_malloced, specs, specs_malloced, and the code after
21113         do_positional to the printf_positional function.
21114         (printf_positional): New function.
21116 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21118         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21119         function.
21120         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21121         STEP4_TABLE, process_arg): Move macro definitions
21122         out of the vfprintf function.  (Cosmetic change only.)
21124 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21126         * benchtests/Makefile (stdio-common-bench): Define.
21127         (benchset): Add stdio-common-bench.
21128         * sprintf-inputs: New file.
21129         * sprintf-source.c: New file.
21131 2015-05-21  Andreas Schwab  <schwab@suse.de>
21133         [BZ #13028]
21134         [BZ #17053]
21135         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21136         of struct __res_state.
21137         * resolv/res_send.c (__libc_res_nsend): Likewise.
21138         (get_nsaddr): New function.
21139         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21140         statp directly.
21142 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21144         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21145         -D_POSIX_C_SOURCE=199506L.
21147         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21149         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21150         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21151         Do not mention otherwise.
21152         [POSIX] (_XOPEN_VERSION): Do not expect.
21153         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21154         [POSIX] (_POSIX2_C_BIND): Likewise.
21155         [POSIX] (_POSIX2_VERSION): Likewise.
21156         [POSIX] (_XOPEN_XPG2): Likewise.
21157         [POSIX] (_XOPEN_XPG3): Likewise.
21158         [POSIX] (_XOPEN_XPG4): Likewise.
21159         [POSIX] (_XOPEN_UNIX): Likewise.
21160         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21161         [POSIX] (_POSIX_BARRIERS): Likewise.
21162         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21163         [POSIX] (_POSIX_CPUTIME): Likewise.
21164         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21165         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21166         [POSIX] (_POSIX_SHELL): Likewise.
21167         [POSIX] (_POSIX_SPAWN): Likewise.
21168         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21169         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21170         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21171         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21172         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21173         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21174         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21175         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21176         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21177         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21178         [POSIX] (_POSIX2_PBS): Likewise.
21179         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21180         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21181         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21182         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21183         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21184         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21185         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21186         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21187         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21188         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21189         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21190         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21191         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21192         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21193         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21194         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21195         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21196         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21197         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21198         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21199         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21200         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21201         [POSIX] (_SC_2_C_BIND): Likewise.
21202         [POSIX] (_SC_2_C_VERSION): Likewise.
21203         [POSIX] (_SC_2_PBS): Likewise.
21204         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21205         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21206         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21207         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21208         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21209         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21210         [POSIX] (_SC_BARRIERS): Likewise.
21211         [POSIX] (_SC_BASE): Likewise.
21212         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21213         [POSIX] (_SC_DEVICE_IO): Likewise.
21214         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21215         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21216         [POSIX] (_SC_FD_MGMT): Likewise.
21217         [POSIX] (_SC_FIFO): Likewise.
21218         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21219         [POSIX] (_SC_FILE_LOCKING): Likewise.
21220         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21221         [POSIX] (_SC_IOV_MAX): Likewise.
21222         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21223         [POSIX] (_SC_NETWORKING): Likewise.
21224         [POSIX] (_SC_PAGE_SIZE): Likewise.
21225         [POSIX] (_SC_PASS_MAX): Likewise.
21226         [POSIX] (_SC_PIPE): Likewise.
21227         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21228         [POSIX] (_SC_REGEXP): Likewise.
21229         [POSIX] (_SC_SHELL): Likewise.
21230         [POSIX] (_SC_SIGNALS): Likewise.
21231         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21232         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21233         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21234         [POSIX] (_SC_USER_GROUPS): Likewise.
21235         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21236         [POSIX] (_SC_STREAMS): Likewise.
21237         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21238         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21239         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21240         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21241         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21242         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21243         [POSIX] (_PC_FILESIZEBITS): Likewise.
21244         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21245         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21246         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21247         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21248         [POSIX] (uid_t): Likewise.
21249         [POSIX] (gid_t): Likewise.
21250         [POSIX] (off_t): Likewise.
21251         [POSIX] (pid_t): Likewise.
21252         [POSIX] (cuserid): Allow.
21253         (_SC_2_CHAR_TERM): Require constant.
21254         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21255         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21256         variable.
21258 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21260         * sysdeps/nacl/pthread-pids.h: New file.
21261         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21262         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21264         * nptl/pthread-pids.h: New file.
21265         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21266         * nptl/nptl-init.c: Include <pthread-pids.h>.
21267         (__pthread_initialize_minimal_internal):
21268         Call __pthread_initialize_pids instead of set_tid_address syscall.
21270         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21271         * sysdeps/posix/usleep.c: ... here.
21273 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21275         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21276         call_pselect6 object.
21277         [$(subdir) = io]: Remove call_sync_file_range object.
21278         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21279         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21280         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21281         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21283 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21285         * math/s_cproj.c: Add include "math_private.h".
21286         * math/s_cprojf.c: Likewise.
21287         * math/s_cprojl.c: Likewise.
21289 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21291         [BZ #18244]
21292         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21293         high mantissa bit when testing whether P is a NaN.
21294         * math/libm-test.inc (remainder_test_data): Add more tests.
21295         (remquo_test_data): Likewise.
21297         [BZ #18049]
21298         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21299         below -32, return the argument, with underflow if subnormal.
21300         * math/auto-libm-test-in: Add more tests of atanh.
21301         * math/auto-libm-test-out: Regenerated.
21303 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21305         [BZ #18434]
21306         * nptl/tst-sem15.c: New file.
21307         * nptl/Makefile (tests): Add it.
21308         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21309         s/<</>>/ to fix typo in EOVERFLOW check.
21310         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21312 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314         * manual/strings.texi (envz_remove): Fix typo in safety
21315         annotations.
21317 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21318             Steve Ellcey  <sellcey@imgtec.com>
21320         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21321         in order to avoid strict alias warnings.
21322         (iruserok_af): Ditto for ra.
21324 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21326         [BZ #17581]
21327         * malloc/hooks.c
21328         (magicbyte): Convert to a function and avoid returning 0x01.
21329         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21330         (mem2chunk_check): Fix unsigned comparisons to zero.
21331         Hoist defs of sz and magic.
21333 2015-05-19  Richard Henderson  <rth@redhat.com>
21335         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21337         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21339 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21341         [BZ #16159]
21342         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21343         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21344         (reused_arena): Find a non-corrupt arena.
21345         (heap_trim): Pass arena to unlink.
21346         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21347         malloc_printerr.
21348         (top_check): Likewise.
21349         (free_check): Likewise.
21350         (realloc_check): Likewise.
21351         * malloc/malloc.c (malloc_printerr): Add arena argument.
21352         (unlink): Likewise.
21353         (munmap_chunk): Adjust.
21354         (ARENA_CORRUPTION_BIT): New macro.
21355         (arena_is_corrupt): Likewise.
21356         (set_arena_corrupt): Likewise.
21357         (sysmalloc): Use mmap if there are no usable arenas.
21358         (_int_malloc): Likewise.
21359         (__libc_malloc): Don't fail if arena_get returns NULL.
21360         (_mid_memalign): Likewise.
21361         (__libc_calloc): Likewise.
21362         (__libc_realloc): Adjust for additional argument to
21363         malloc_printerr.
21364         (_int_free): Likewise.
21365         (malloc_consolidate): Likewise.
21366         (_int_realloc): Likewise.
21367         (_int_memalign): Don't touch corrupt arenas.
21368         * malloc/tst-malloc-backtrace.c: New test case.
21370         * Makefile (summarize-tests): Fix return value on success.
21372         * manual/string.texi (Envz Functions): Add envz_remove.
21374 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21376         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21377         (invalid_name): New function, broken out of ...
21378         (__opendirat): ... here.  Call it.
21379         (need_isdir_precheck): New function, broken out of ...
21380         (__opendirat): ... here.  Call it.
21381         Use __fxstatat64, not __xstatat64.
21382         (opendir_oflags): New function, broken out of ...
21383         (__opendirat): ... here.  Call it.
21384         (opendir_tail): New function, broken out of ...
21385         (__opendirat): ... here.  Call it.
21386         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21387         opendir_tail, rather than punting to __opendirat.
21388         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21390 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21392         * .gitignore: Ignore generated *.pyc.
21394 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21396         * include/stdio.h: Define __need_wint_t.
21397         * test-skeleton.c: Avoid `for' loop initial declaration.
21398         * nptl/tst-initializers1.c: Use test-skeleton.c.
21400 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21402         [BZ #18418]
21403         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21405 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21407         [BZ #16352]
21408         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21409         (__ieee754_atanh): Force underflow exception for results with
21410         small absolute value.
21411         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21412         (__ieee754_atanhf): Force underflow exception for results with
21413         small absolute value.
21414         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21415         (__ieee754_atanh): Force underflow exception for results with
21416         small absolute value.
21417         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21418         (__ieee754_atanhf): Force underflow exception for results with
21419         small absolute value.
21420         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21421         (__ieee754_atanhl): Force underflow exception for results with
21422         small absolute value.
21423         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21424         (__ieee754_atanhl): Force underflow exception for results with
21425         small absolute value.
21426         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21427         (__ieee754_atanhl): Force underflow exception for results with
21428         small absolute value.
21429         * math/auto-libm-test-in: Do not allow missing underflow
21430         exceptions from atanh.
21431         * math/auto-libm-test-out: Regenerated.
21433         [BZ #18221]
21434         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21435         2**-28 as threshold for returning x or +/- 1/x.
21436         * math/auto-libm-test-in: Add more tests of tan.
21437         * math/auto-libm-test-out: Regenerated.
21439         [BZ #18220]
21440         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21441         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21442         * math/auto-libm-test-in: Add another test of lgamma.
21443         * math/auto-libm-test-out: Regenerated.
21445 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21447         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21448         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21449         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21450         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21451         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21452         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21453         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21456         (log1): Use fabs.  (my_log2): Use fabs.
21457         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21458         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21460         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21462         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21463         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21464         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21465         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21466         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21467         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21469 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #18217]
21472         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21473         as threshold for returning 1 - x.
21474         * math/auto-libm-test-in: Add more tests of erfc.
21475         * math/auto-libm-test-out: Regenerated.
21477 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21479         [BZ #18196]
21480         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21481         threshold for large arguments.
21482         * math/auto-libm-test-in: Add another test of atan.
21483         * math/auto-libm-test-out: Regenerated.
21485         [BZ #16339]
21486         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21487         (__log1p): Force underflow exception for results with small
21488         absolute value.
21489         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21490         (__log1pf): Force underflow exception for results with small
21491         absolute value.
21492         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21493         (__log1p): Force underflow exception for results with small
21494         absolute value.
21495         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21496         (__log1pf): Force underflow exception for results with small
21497         absolute value.
21498         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21499         (__log1pl): Force underflow exception for results with small
21500         absolute value.
21501         * math/auto-libm-test-in: Do not allow missing underflow
21502         exceptions from log1p.
21503         * math/auto-libm-test-out: Regenerated.
21505 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21506             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21508         [BZ #16704]
21509         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21511 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21513         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21514         (libmvec): New variable.
21515         * configure.ac: Added option for mathvec build.
21516         * configure: Regenerated.
21517         * mathvec/Depend: New file.
21518         * mathvec/Makefile: New file.
21519         * shlib-versions: Added libmvec.
21520         * math/Makefile: Added rule for libm.so installation.
21522         * bits/math-vector.h: New file.
21523         * bits/libm-simd-decl-stubs.h: New header.
21524         * math/Makefile (headers): Added new header
21525         libm-simd-decl-stubs.h.
21526         * math/math.h (__MATHCALL_VEC): New macro.
21528         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21529         for conditions in testing functions.
21530         * math/Makefile: Added call of libm-have-vector-test.sh.
21531         * math/libm-test.inc (HAVE_VECTOR): New macros.
21533         * math/libm-test.inc: START refactored.
21534         * math/test-double.c (TEST_MATHVEC): Add define.
21535         * math/test-float.c: Likewise.
21536         * math/test-idouble.c: Likewise.
21537         * math/test-ifloat.c: Likewise.
21538         * math/test-ildoubl.c: Likewise.
21539         * math/test-ldouble.c: Likewise.
21540         * sysdeps/generic/math-tests-arch.h
21541         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21542         architecture check.
21544         * math/test-double.c (FUNC_TEST): New macro.
21545         * math/test-float.c: Likewise.
21546         * math/test-idouble.c: Likewise.
21547         * math/test-ifloat.c: Likewise.
21548         * math/test-ildoubl.c: Likewise.
21549         * math/test-ldouble.c: Likewise.
21550         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21552 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21554         * sysdeps/nacl/fdopendir.c: New file.
21556         * dirent/scandir-tail.c: New file.
21557         * dirent/scandir64-tail.c: New file.
21558         * dirent/Makefile (routines): Add them.
21559         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21560         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21561         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21562         [!SCANDIR] (SCANDIR_TAIL): New macro.
21563         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21564         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21565         (SCANDIRAT): Macro removed.
21566         (SCANDIR_TAIL): New macro.
21567         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21568         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21569         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21570         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21571         (READDIR): Macro removed.
21572         (SCANDIR_TAIL): New macro.
21573         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21574         (SCANDIR_TAIL): New macro.
21576         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21577         * dirent/scandir-cancel.c: ... to this new file.
21578         * dirent/Makefile (routines): Add it.
21579         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21580         * sysdeps/unix/sysv/linux/i386/scandir64.c
21581         (SKIP_SCANDIR_CANCEL): Macro removed.
21582         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21584         * dirent/tst-scandir.c: New file.
21585         * dirent/tst-scandir64.c: New file.
21586         * dirent/Makefile (tests): Add them.
21588 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21590         [BZ #18409]
21591         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21593 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21595         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21596         list.
21598 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21600         * benchtests/bench-strcoll.c: New benchmark.
21601         * benchtests/Makefile: Generate locales and run benchmark.
21602         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21603         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21604         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21605         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21606         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21607         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21608         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21609         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21610         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21611         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21612         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21613         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21614         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21615         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21616         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21617         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21618         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21619         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21620         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21621         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21622         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21623         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21624         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21625         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21627 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21629         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21630         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21632 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21634         * posix/uname-values.h: New file.
21635         * posix/uname.c: Include that instead of <config-name.h>.
21636         * sysdeps/nacl/uname-values.h: New file.
21637         * sysdeps/arm/nacl/uname-values.h: New file.
21639 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21641         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21642         splitting into fields.
21644 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21646         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21647         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21648         * locale/localeinfo.h: Add enum collation_encoding_type.
21649         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21650         * programs/ld-collate.c (collate_output): Add encoding type info.
21651         * string/strcoll_l.c (STRDIFF): New function.
21652         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21653         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21655 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21657         [BZ #18397]
21658         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21659         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21660         <fpu_control.h> instead of <math/fpu_control.c>.
21661         * sysdeps/mips/mips32/fpu/Makefile: New file.
21663 2015-05-11  Andreas Schwab  <schwab@suse.de>
21665         [BZ #18007]
21666         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21667         nss_endgrent.
21668         (_nss_compat_endgrent): Call nss_endgrent.
21669         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21670         nss_endpwent.
21671         (_nss_compat_endpwent): Call nss_endpwent.
21672         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21673         needent, call nss_setspent only if non-zero.
21674         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21675         (internal_endspent): Don't call nss_endspent.
21676         (_nss_compat_endspent): Call nss_endspent.
21677         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21678         Remove.  All uses removed.
21679         (internal_setent): Remove parameter stayopen, add parameter
21680         stream.  Use it instead of global variable.
21681         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21682         (internal_endent, internal_getent): Add parameter stream.  Use it
21683         instead of global variable.
21684         (CONCAT(_nss_files_end,ENTNAME))
21685         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21686         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21687         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21688         uses removed.
21689         (internal_setent, internal_endent): Add parameter stream.  Use it
21690         instead of global variable.
21691         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21692         stream.
21693         (get_next_alias): Add parameter stream.
21694         (_nss_files_getaliasent_r): Pass global stream.
21695         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21696         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21697         (_nss_files_gethostbyname4_r): Pass local stream to
21698         internal_setent, internal_getent and internal_endent.  Remove
21699         locking.
21701 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21703         * tst-strfmon1.c (tests): Update expected currency symbol.
21705 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21707         * sysdeps/nacl/gethostname.c: New file.
21709 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21711         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21712         and sinh.
21713         * math/auto-libm-test-out: Regenerated.
21714         * sysdeps/i386/fpu/libm-test-ulps: Update.
21715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21717 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21719         [BZ #18125]
21720         * stdlib/tst-setcontext3.c: New file.
21721         * stdlib/tst-setcontext3.sh: New file.
21722         * stdlib/Makefile (tests): Add tst-setcontext3.
21723         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21724         to verify test program created output file.
21725         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21726         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21727         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21728         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21730 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21732         [BZ #18383]
21733         * elf/tst-tlsalign.c: New file.
21734         * elf/tst-tlsalign-static.c: New file.
21735         * elf/tst-tlsalign-lib.c: New file.
21736         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21737         (tests-static): Add tst-tlsalign-static.
21738         (modules-names): Add tst-tlsalign-lib.
21739         (test-xfail-tst-tlsalign): New variable.
21740         (test-xfail-tst-tlsalign-static): New variable.
21742         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21743         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21745 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21747         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21748         csqrt, erfc, sin and sincos.
21749         * math/auto-libm-test-out: Regenerated.
21750         * sysdeps/i386/fpu/libm-test-ulps: Update.
21751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21753 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21755         * sysdeps/aarch64/libm-test-ulps: Update.
21757 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21759         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21760         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21761         * math/auto-libm-test-out: Regenerated.
21762         * sysdeps/i386/fpu/libm-test-ulps: Update.
21763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21765 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21767         [BZ #18265]
21768         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21769         (wcsncpy): Likewise.
21771 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21773         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21774         Assume __ASSUME_FALLOCATE is always true.
21775         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21776         (__posix_fallocate64_l64): Likweise.
21777         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21778         (posix_fallocate): Likewise.
21779         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21780         (__posix_fallocate64_l64): Likewise.
21781         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21782         [!__ASSUME_FALLOCATE]: Add comment.
21784 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21786         * sysdeps/unix/sysv/linux/i386/Makefile
21787         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21788         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21789         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21790         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21791         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21792         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21793         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21795 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21797         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21798         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21799         tgamma.
21800         * math/auto-libm-test-out: Regenerated.
21801         * sysdeps/i386/fpu/libm-test-ulps: Update.
21802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21804 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21806         * math/auto-libm-test-in: Add more tests of tgamma.
21807         * math/auto-libm-test-out: Regenerated.
21808         * sysdeps/i386/fpu/libm-test-ulps: Update.
21809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21811         * math/auto-libm-test-in: Add more tests of tanh.
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         * math/auto-libm-test-in: Add more tests of tan.
21817         * math/auto-libm-test-out: Regenerated.
21818         * sysdeps/i386/fpu/libm-test-ulps: Update.
21819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21821         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21822         * math/auto-libm-test-out: Regenerated.
21823         * sysdeps/i386/fpu/libm-test-ulps: Update.
21824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21826         * math/auto-libm-test-in: Add another test of pow.
21827         * math/auto-libm-test-out: Regenerated.
21828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21830         * math/auto-libm-test-in: Add more tests of lgamma.
21831         * math/auto-libm-test-out: Regenerated.
21832         * sysdeps/i386/fpu/libm-test-ulps: Update.
21833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21835         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21836         log1p.
21837         * math/auto-libm-test-out: Regenerated.
21838         * sysdeps/i386/fpu/libm-test-ulps: Update.
21839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21841 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21843         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21844         Elf64_Chdr structs and ELFCOMPRESS constants.
21846 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21848         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21849         expm1.
21850         * math/auto-libm-test-out: Regenerated.
21851         * sysdeps/i386/fpu/libm-test-ulps: Update.
21852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854         * math/auto-libm-test-in: Add more tests of erf and erfc.
21855         * math/auto-libm-test-out: Regenerated.
21856         * sysdeps/i386/fpu/libm-test-ulps: Update.
21857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21861         * config.h.in (HAVE_AARCH64_BE): Add.
21863 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21865         * math/auto-libm-test-in: Add more tests of csqrt.
21866         * math/auto-libm-test-out: Regenerated.
21867         * sysdeps/i386/fpu/libm-test-ulps: Update.
21868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21870         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21871         * math/auto-libm-test-out: Regenerated.
21872         * sysdeps/i386/fpu/libm-test-ulps: Update.
21873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21875         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21877 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21879         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21880         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21882         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21883         (euidaccess, eaccess): Define as weak aliases.
21885         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21886         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21887         but __suseconds_t is often 'long int' so some sources assume that
21888         type is being used (e.g. they use %ld to print tv_usec).
21890 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21892         [BZ #18007]
21893         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21894         (CVE-2014-8121)
21895         * nss/tst-nss-getpwent.c: New file.
21896         * nss/Makefile (tests): Add new test.
21898 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21900         [BZ #18346]
21901         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21902         exponents less than 48 as cases where high part of mantissa needs
21903         examining to determine whether argument is integral.
21904         * math/libm-test.inc (round_test_data): Add more tests.
21906 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21908         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21910 2015-04-27  David S. Miller  <davem@davemloft.net>
21912         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21913         __tls_get_addr.
21914         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21916 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21918         [BZ#18333]
21919         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21921 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21923         [BZ#18333]
21924         * time/tzset.c (parse_tzname): Return error on memory allocation
21925         failure.
21926         * test-skeleton.c (struct temp_name_list): Change type of name
21927         member to non-const.
21928         (add_temp_file): Create a copy of the file name.
21929         (delete_temp_files): Deallocate memory.
21930         (create_temp_file): Add comment.
21932 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21934         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21935         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21937 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21939         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21940         * sysdeps/arm/configure: Regenerated.
21942 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21944         [BZ #17715]
21945         * time/tzfile.c (__tzfile_read): Check for large values of
21946         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21947         * time/tzset.c (__tzstring_len): New function, based on the old
21948         __tzstring function.
21949         (__tzstring): Call __tzstring_len.
21950         (parse_tzname): New helper function extracted from
21951         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21952         the input string.
21953         (parse_offset): New helper function extracted from
21954         __tzset_parse_tz.  Replace switch with fallthrough with
21955         initialization before sscanf.
21956         (parse_rule): Likewise.
21957         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21958         new-style function definition.
21959         * timezone/Makefile (tests): Add tst-tzset.
21960         (tst-tzset.out): Dependencies on time zone files.
21961         (tst-tzset-ENV): Set TZDIR.
21962         (testdata/XT%): Copy crafted time zone files.
21963         * timezone/README: Mention crafted time zone files.
21964         * timezone/testdata/XT1, timezone/testdata/XT2,
21965         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21966         files.
21967         * timezone/tst-tzset.c: New test.
21969 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21971         * Makeconfig (+gccwarn): Remove -Winline.
21973 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21975         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21977 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21979         * NEWS: Mention sysconf() cache information support for s390.
21980         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21982 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21984         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21985         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21986         (__nearbyint): Likewise.
21987         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21988         (copysignl): Likewise.
21990 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21992         [BZ #18287]
21993         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21994         based on padding.  (CVE-2015-1781)
21996 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21998         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21999         libc-vdso.h.
22000         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22001         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22002         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22003         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22004         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22005         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22007         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22008         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22009         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22010         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22011         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22012         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22013         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22014         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22015         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22016         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22018         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22019         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22020         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22021         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22022         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22024 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22026         * stdlib/setenv.c (__add_to_environ):
22027         Dump core quickly if setenv (..., NULL, ...) is called.
22028         This time, do it the right way, and pacify GCC with a pragma.
22030 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22032         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22033         IMAP->l_prev cannot be null, and #if out the code for the contrary
22034         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22035         believe that NS (&_dl_ns[NSID]) could point outside the array.
22037         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22038         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22039         before using NSID as an index.
22041 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22043         [BZ #17825]
22044         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22045         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22046         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22048 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22050         Add preliminary port to Google Native Client on ARM.
22051         * abi-tags (.*-.*-nacl.*): New entry.
22052         * sysdeps/arm/nacl: New directory.
22053         * sysdeps/nacl: New directory.
22055 2015-04-16  David S. Miller  <davem@davemloft.net>
22057         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22058         lowlevellock-futex.h
22060 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22062         * sysdeps/tile/configure.ac: New file.
22063         * sysdeps/tile/configure: Regenerated.
22065 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22067         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22068         conditionals for weak_alias and libc_hidden_weak.
22069         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22070         libc_hidden_weak and weak_alias.
22071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22072         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22073         and weak_alias for static one.
22075 2015-04-15  David S. Miller  <davem@davemloft.net>
22077         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22079 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22081         [BZ #18206]
22082         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22083           Use signed comparision instead of substraction to avoid
22084           overflow bug.
22085         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22086           Take the sign of ret.
22087         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22088           Do not expect precise return values. Only the sign matters.
22089         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22090         * wcsmbs/test-wcsncmp.c: New File.
22091         * string/test-strncmp.c: Add wcsncmp support.
22093 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22095         [BZ #6792]
22096         * math/w_log1p.c: New file.
22097         * math/w_log1pf.c: Likewise.
22098         * math/w_log1pl.c: Likewise.
22099         * math/Makefile (libm-calls): Add w_log1p.
22100         * math/s_log1pl.c (log1pl): Remove weak_alias.
22101         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22102         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22103         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22104         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22105         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22106         [NO_LONG_DOUBLE] (log1pl): Likewise.
22107         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22109         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22110         (log1p): Remove long_double_symbol.
22111         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22112         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22113         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22114         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22115         remove weak_alias for corresponding log1p function.
22116         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22117         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22118         * sysdeps/ia64/fpu/w_log1p.c: New file.
22119         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22120         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22121         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22123 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #18247]
22126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22127         decimal exponent by 1.
22128         * stdlib/tst-strtod-round-data: Add more tests.
22129         * stdlib/tst-strtod-round.c (tests): Regenerated.
22131 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22133         * math/auto-libm-test-in: Add more tests of clog and clog10.
22134         * math/auto-libm-test-out: Regenerated.
22135         * sysdeps/i386/fpu/libm-test-ulps: Update.
22136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22138 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22140         * Makeconfig (module-cppflags): Exclude all .v.i files.
22141         (skip-module-cppflags): Variable removed.
22143         * configure.ac (libc_config_ok): Initialize before reading
22144         preconfigure scripts, not after.
22145         * configure: Regenerated.
22147         * test-skeleton.c (TIMEOUT): Move #define to top level.
22148         (main): Grok environment variable TEST_DIRECT.  If set, print
22149         test expectation details into that file and then behave as if
22150         given --direct.
22152 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22154         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22155         warning on 32-bit.
22157 2015-04-08  David S. Miller  <davem@davemloft.net>
22159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22161 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22163         * math/auto-libm-test-in: Add more tests of atanh.
22164         * math/auto-libm-test-out: Regenerated.
22165         * sysdeps/i386/fpu/libm-test-ulps: Update.
22166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22168         * math/auto-libm-test-in: Add more tests of atan.
22169         * math/auto-libm-test-out: Regenerated.
22170         * sysdeps/i386/fpu/libm-test-ulps: Update.
22171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22173 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22175         * elf/pldd.c (main): Rewrite to use struct
22176         scratch_buffer instead of extend_alloca.
22177         * elf/pldd-xx.c (find_maps): Likewise.
22178         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22179         <alloca.h>.
22180         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22181         scratch_buffer instead of extend_alloca.
22182         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22183         grp/compat-initgroups.c.
22184         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22185         Rewrite to use struct scratch_buffer instead of extend_alloca.
22186         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22187         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22189 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22191         * math/auto-libm-test-in: Add more tests of cbrt.
22192         * math/auto-libm-test-out: Regenerated.
22193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22195         * math/auto-libm-test-in: Add more tests of cabs.
22196         * math/auto-libm-test-out: Regenerated.
22197         * sysdeps/i386/fpu/libm-test-ulps: Update.
22198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22200         [BZ #18210]
22201         [BZ #18211]
22202         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22203         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22204         computations.
22205         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22206         clog10.
22207         * math/auto-libm-test-out: Regenerated.
22208         * sysdeps/i386/fpu/libm-test-ulps: Update.
22209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22211         [BZ #18197]
22212         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22213         (atan): Set FE_TONEAREST mode for internal computations.
22214         * math/auto-libm-test-in: Add more tests of atan.
22215         * math/auto-libm-test-out: Regenerated.
22217 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22219         [BZ #17930]
22220         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22222 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22224         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22226 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22228         * include/scratch_buffer.h: New file.
22229         * malloc/scratch_buffer_grow.c: Likewise.
22230         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22231         * malloc/scratch_buffer_set_array_size.c: Likewise.
22232         * malloc/tst-scratch_buffer.c: Likewise.
22233         * malloc/Makefile (routines): Add scratch_buffer_grow.
22234         (tests): Add test case.
22235         * malloc/Versions (GLIBC_PRIVATE): Export
22236         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22237         __libc_scratch_buffer_set_array_size.
22239 2015-04-06  Richard Henderson  <rth@redhat.com>
22241         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22242         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22244         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22245         unsigned int before printing.
22247 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22249         [BZ #17596]
22250         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22251         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22253 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22255         * include/libc-internal.h (libc_max_align_t): Define.
22257 2015-04-02  Andreas Schwab  <schwab@suse.de>
22259         [BZ #16850]
22260         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22262 2015-04-02  Mel Gorman  <mgorman@suse.de>
22264         [BZ #17195]
22265         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22266         as well as the main arena.
22268 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22270         [BZ #18185]
22271         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22272         sharing L2 cache to 2 for Silvermont/Knights Landing.
22274 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22276         [BZ #17711]
22277         * config.make.in (have-protected-data): New.
22278         * configure.ac: Check linker support for protected data symbol.
22279         * configure: Regenerated.
22280         * elf/Makefile (modules-names): Add tst-protected1moda and
22281         tst-protected1modb if $(have-protected-data) is yes.
22282         (tests): Add tst-protected1a and tst-protected1b if
22283         $(have-protected-data) is yes.
22284         ($(objpfx)tst-protected1a): New.
22285         ($(objpfx)tst-protected1b): Likewise.
22286         (tst-protected1modb.so-no-z-defs): Likewise.
22287         * elf/tst-protected1a.c: New file.
22288         * elf/tst-protected1b.c: Likewise.
22289         * elf/tst-protected1mod.h: Likewise.
22290         * elf/tst-protected1moda.c: Likewise.
22291         * elf/tst-protected1modb.c: Likewise.
22293 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22295         [BZ #17711]
22296         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22297         indicates it is called from do_lookup_x on relocation against
22298         protected data, skip the data definion in the executable from
22299         copy reloc.
22300         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22301         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22302         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22303         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22304         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22305         otherwise to 0.
22306         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22307         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22308         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22309         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22310         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22311         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22313 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22315         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22316         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22318 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22320         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22321         THREAD_SETMEM_NC.
22322         * sysdeps/x86_64/nptl/tls.h: Ditto.
22324 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22326         * dlfcn/tststatic.c (main): Converted to ...
22327         (do_test): ... this.
22328         (TEST_FUNCTION): New macro.
22329         Include test-skeleton.c.
22331 2015-03-26  Alan Modra  <amodra@gmail.com>
22333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22334         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22335         zero for undefined weak.
22336         (elf_machine_plt_conflict): Similarly.
22338 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22340         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22341         atanh.
22342         * math/auto-libm-test-out: Regenerated.
22343         * sysdeps/i386/fpu/libm-test-ulps: Update.
22344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22346         * math/auto-libm-test-in: Add another test of asin.
22347         * math/auto-libm-test-out: Regenerated.
22348         * sysdeps/i386/fpu/libm-test-ulps: Update.
22349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22352         Remove macro.
22353         (LLL_EBX_REG): Likewise.
22354         (LLL_ENTER_KERNEL): Likewise.
22356         * math/auto-libm-test-in: Add more tests of asin.
22357         * math/auto-libm-test-out: Regenerated.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361         [BZ #18138]
22362         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22363         libc_do_syscall_args): New structure.
22364         (INTERNAL_SYSCALL_MAIN_0): New macro.
22365         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22366         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22367         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22368         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22369         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22370         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22371         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22372         Replace conditional definitions by conditional definitions of ....
22373         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22374         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22375         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22376         (libpthread-sysdep_routines): Add libc-do-syscall.
22377         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22379         to __NR_futex not 240.
22381 2015-03-25  Alan Modra  <amodra@gmail.com>
22383         * NEWS: Advertise TLS optimization.
22384         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22385         (DT_PPC_NUM): Increment.
22386         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22387         (CHECK_STATIC_TLS): Use here.
22388         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22389         TLS descriptors.
22390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22391         * sysdeps/powerpc/dl-tls.c: New file.
22392         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22393         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22394         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22395         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22400 2015-03-25  Alan Modra  <amodra@gmail.com>
22402         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22403         for overlapping .opd entries" to "support...".
22404         * sysdeps/powerpc/powerpc64/configure: Regenerate
22406 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22408         * math/auto-libm-test-in: Add more tests of acos.
22409         * math/auto-libm-test-out: Regenerated.
22410         * sysdeps/i386/fpu/libm-test-ulps: Update.
22411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22413         * math/auto-libm-test-in: Add more tests of expm1.
22414         * math/auto-libm-test-out: Regenerated.
22415         * sysdeps/i386/fpu/libm-test-ulps: Update.
22416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22418 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22420         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22421         * math/auto-libm-test-out: Regenerated.
22422         * sysdeps/i386/fpu/libm-test-ulps: Update.
22423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22425         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22428         * math/auto-libm-test-in: Add more tests of log2.
22429         * math/auto-libm-test-out: Regenerated.
22430         * sysdeps/i386/fpu/libm-test-ulps: Update.
22431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22433 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22435         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22436         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22437         _IO_IS_APPENDING bit in READ_WRITE instead.
22439 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22441         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22442         (__determine_cpumask_size): Replace extend_alloca with a
22443         variable-length array.  Do not treat res == 0 as an error.
22445 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22447         [BZ #18100]
22448         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22449         and integer overflow.
22450         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22451         (main): Add integer overflow tests.
22452         * manual/pattern.texi (Calling Wordexp): Document additional use
22453         for WRDE_SYNTAX.
22455 2015-03-23  Alan Modra  <amodra@gmail.com>
22457         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22458         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22459         and false branch of conditional.
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22461         Likewise.
22463 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22465         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22466         libc-modules.h
22467         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22468         unused declaration of _hurd_intr_rpc_msg_in_trap.
22469         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22470         defined instead of whether it is non-zero.
22471         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22472         input constraint instead of both input and output constraint.  Use ecx
22473         clobber instead of %ecx.
22474         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22475         mutex_unlock): Use a statement expression instead of an expression list.
22476         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22477         type to vm_size_t instead of vm_address_t.
22478         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22479         defined instead of whether it is non-zero.
22480         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22481         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22482         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22483         comparisons with mapaddr.
22484         * nscd/nscd-client.h: Include <time.h>.
22485         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22486         9th parameter to __vm_region instead of int.
22487         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22488         * scripts/check-local-headers.sh (exclude): Add device/,
22489         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22490         cthreads.h.
22492 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22494         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22495         to account for alignment padding.
22496         * sysdeps/arm/memmove.S: Likewise.
22498 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22500         * sysdeps/unix/sysv/linux/generic/README: New file.
22502 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22504         [BZ #18138]
22505         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22506         (futex_abstimed_wait)
22507         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22508         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22509         of lll_futex_timed_wait.
22511 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22513         [BZ #17542]
22514         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22516 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22518         [BZ #17090]
22519         [BZ #17620]
22520         [BZ #17621]
22521         [BZ #17628]
22522         * NEWS: Update.
22523         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22524         entries with Static TLS too.  Skip entries past the end of the
22525         allocated DTV, from Alan Modra.
22526         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22527         Static TLS DTV entry set up from...
22528         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22529         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22530         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22531         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22532         for Static TLS.
22533         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22534         that the slot we find is associated with the given map before
22535         using its generation count.
22536         * nptl_db/db_info.c: Include ldsodefs.h.
22537         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22538         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22539         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22540         (link_map::l_tls_offset): New struct field.
22541         (dtv_t::counter): Likewise.
22542         (rtld_global): New struct.
22543         (_rtld_global): New rtld variable.
22544         (dl_tls_dtv_slotinfo_list): New rtld global field.
22545         (dtv_slotinfo_list): New struct.
22546         (dtv_slotinfo): Likewise.
22547         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22548         (td_lookup): Rename to...
22549         (td_mod_lookup): ... this.  Use new mod parameter instead of
22550         LIBPTHREAD_SO.
22551         * nptl_db/td_thr_tlsbase.c: Include link.h.
22552         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22553         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22554         addresses even if the DTV is out of date or missing them.
22555         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22556         index zero-length arrays.
22557         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22558         (td_lookup): Make it a macro implemented in terms of...
22559         (td_mod_lookup): ... this declaration.
22560         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22561         (DB_MAIN_VARIABLE): Likewise.
22563 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22565         [BZ #18134]
22566         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22568 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22570         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22572 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22574         [BZ #18128]
22575         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22576         (atomic_add, atomic_increment_and_test)
22577         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22579 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22581         * stdlib/setenv.c (__add_to_environ):
22582         Dump core quickly if setenv (..., NULL, ...) is called.
22584 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22586         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22587         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22588         all the necessary asm magic in one place.
22589         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22590         using those.
22592 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22594         [BZ #14906]
22595         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22596         traced file mtime. Use consistent log message.
22597         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22598         (register_traced_file): Call install_watches. Always set mtime.
22599         (invalidate_cache): Iterate over all trace files. Call install_watches.
22600         (inotify_check_files): Don't inline. Handle watching parent
22601         directories and configuration file movement in and out.
22602         (handle_inotify_events): New function.
22603         (main_loop_poll): Call handle_inotify_events.
22604         (main_loop_epoll): Likewise.
22605         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22606         (struct traced_file): Use array of inotify fds. Add parent directory,
22607         and basename.
22608         (struct database_dyn): Remove unused file_mtime.
22609         (init_traced_file): New inline function.
22610         (define_traced_file): New macro.
22611         * nss/nss_db/db-init.c: Use define_traced_file.
22612         (_nss_db_init): Use init_traced_file.
22613         * nss/nss_files/files-init.c: Use define_traced_file.
22614         (_nss_files_init): Use init_traced_file.
22616 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22618         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22619         [_LIBC]: Do not include <stdlib.h>.
22620         [!_LIBC] (abort): Remove declaration.
22621         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22622         _FP_STATIC_ASSERT instead of conditionally calling abort.
22623         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22624         (_FP_EXTEND_CNAN): Likewise.
22625         (FP_TRUNC): Likewise.
22626         (__FP_CLZ): Likewise.
22627         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22629 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22631         * manual/string.texi (XPG basename): Fix prototype.
22633 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22635         [BZ #18080]
22636         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22637         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22638         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22639         (__setcontext): Likewise.
22640         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22641         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22642         Call rt_sigprocmask syscall one time to set new signal mask
22643         and retrieve the current signal mask instead of two calls.
22644         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22645         (__swapcontext): Likewise.
22646         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22647         * stdlib/tst-setcontext2.c: New file.
22649 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22651         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22653 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22655         [BZ #18093]
22656         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22657         the wrong size.
22659 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22661         [BZ #18043]
22662         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22664 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22666         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22667         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22668         Remove define.
22669         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22670         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22671         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22672         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22673         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22674         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22675         define.
22676         * nptl_db/td_symbol_list.c (td_lookup): Remove
22677         HAVE_ASM_GLOBAL_DOT_NAME code.
22678         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22679         HAVE_ASM_GLOBAL_DOT_NAME check.
22680         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22681         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22682         (DOT_LABEL): Remove define.
22683         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22684         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22685         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22686         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22687         (__TLS_GET_ADDR): Likewise.
22688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22689         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22691 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22693         [BZ #18111]
22694         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22695         (_FPU_SETCW): Initialize cw from fpsr before storing.
22696         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22697         (fesetexceptflag): Rewrite using fpu_control.h.
22698         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22700 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22702         [BZ #18110]
22703         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22704         asms.
22705         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22707 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22709         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22710         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22711         abort.
22712         (_FP_FMA): Likewise.
22713         (_FP_DIV): Likewise.
22715 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22717         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22718         with 0 in that case.
22719         * Makefile (summarize-tests): New canned sequence, factored out of
22720         commands for targets tests and xtests.  Display summary lines that
22721         don't start with PASS: or XFAIL: rather than ones that do start with
22722         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22723         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22724         do start with ERROR: or FAIL:.
22725         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22726         (except for [$(build-shared) = yes]).
22727         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22728         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22729         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22730         * nptl/Makefile: Revert 2015-03-04 changes.
22731         [$(CXX) empty] (tests-unsupported): New variable.
22732         * debug/Makefile: Likewise.
22734         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22735         gnulib file.  Replace __attribute with __attribute__ throughout.
22737 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22739         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22741 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22743         [BZ #18104]
22744         * math/auto-libm-test-in: Add another test of pow.
22745         * math/auto-libm-test-out: Regenerated.
22747 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22749         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22750         $(config-cflags-nofma).
22752 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22754         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22755         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22756         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22757         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22758         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22759         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22760         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22761         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22762         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22763         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22764         Add comment on closing #endif.
22766 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22768         * posix/wordexp.c (CHAR_IN_SET): New macro.
22769         (parse_param): Use it.
22771 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22773         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22775 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22777         [BZ #18043]
22778         * posix/wordexp.c (parse_param): Fix buffer overflow.
22779         * posix/wordexp-test.c (test_case): Add test case.
22781 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22783         [BZ #18042]
22784         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22785         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22787 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22789         [BZ #18043]
22790         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22791         (do_bz18043): Delete.
22792         (at_page_end): New.
22793         (testit): Refactor to have words at the edge of unreadable page.
22795 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22797         [BZ #16734]
22798         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22799         Cleanup read-only streams as well.
22800         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22802 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22804         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22805         <bits/libc-lockP.h>
22807 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22809         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22810         on [__KERNEL__].
22811         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22812         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22813         * soft-fp/op-common.h (_FP_DECL): Likewise.
22815 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22817         * elf/ifuncdep2.c (global): Replace
22818         __attribute__((visibility("protected"))) with
22819         asm (".protected global").
22820         * elf/ifuncmod1.c (global): Likewise.
22821         * elf/ifuncmod5.c (global): Likewise.
22823 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22825         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22826         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22828 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22830         * manual/install.texi (Configuring and compiling):
22831         Document test-wrapper-env-only.
22832         * INSTALL: Regenerated.
22834 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22836         [BZ #18043]
22837         * posix/wordexp.c (parse_param): Fix buffer overflow.
22838         * posix/wordexp-test.c (do_bz18043): Add test case.
22840 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22842         * time/tst-strptime2.c (do_test): Ensure failing tests are
22843         reported correctly.
22844         * time/tst-strptime3.c (do_test): Likewise.
22846 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22848         Fix aio_error thread-safety.
22849         * sysdeps/pthread/aio_error.c: New file
22850         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22851         synchronization.
22853 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22855         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22856         (group_number, vfprintf): Use it.
22857         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22858         (JUMP, REF): Use it.
22859         (WORK_BUFFER_SIZE): New enum constant.
22860         (process_arg, vfprintf): Use it.
22862 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22864         * manual/errno.texi (Error Messages): Complete example function
22865         by adding missing #define.
22866         (program_invocation_name): Add statement indicating GNU
22867         extension and reference which header file declares the variable.
22868         (program_invocation_short_name): Likewise.
22870 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22872         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22873         compatibility note.
22875 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22877         * Makeconfig (test-wrapper-env-only): New variable.
22878         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22879         then use that with $(test-wrapper-env-only) rather than using
22880         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22882 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22884         [BZ #18082]
22885         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22886         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22887         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22888         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22889         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22890         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22891         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22892         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22893         Likewise.
22894         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22895         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22896         Likewise.
22897         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22898         Likewise.
22899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22900         Likewise.
22901         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22902         Likewise.
22903         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22905         Likewise.
22906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22907         Likewise.
22908         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22909         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22911 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22913         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22914         (ETH_ALEN): New macro.
22915         (struct ether_addr): Use it for length of ether_addr_octet.
22917         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22918         (setdb): Don't call __nss_configure_lookup for "rpc".
22919         (do_test): Don't call test_rpc.
22920         (output_rpcent, test_rpc): Functions moved ...
22921         * sunrpc/test-rpcent.c: ... to this new file.
22922         * sunrpc/Makefile (tests): Add it.
22924         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22925         __xpg_sigpause.
22926         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22927         * nptl/tst-signal6.c: Likewise.
22928         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22929         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22931         * configure.ac (libc_cv_cxx_link_ok): New check.
22932         Reset CXX to empty if it fails to link.
22933         * configure: Regenerated.
22934         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22935         bug-atexit3-lib only if $(CXX) is nonempty.
22936         * nptl/Makefile (tests): Likewise for tst-cancel24.
22937         (tests, tests-static): Likewise for tst-cancel24-static.
22938         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22939         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22940         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22941         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22943 2015-03-04  Andreas Schwab  <schwab@suse.de>
22945         [BZ #17631]
22946         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22947         for non-GCC compilers.
22948         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22949         Likewise.
22951 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22953         [BZ #17776]
22954         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22955         integer before bitwise and assembly operations.
22956         (feclearexcept): Likewise.
22957         * math/test-fenvinline.c: New file.
22958         * math/Makefile: Add test-fenvinline test.
22960 2015-03-03  Alan Modra  <amodra@gmail.com>
22962         [BZ #16512]
22963         * scripts/localplt.awk: Strip off symbol version.
22964         * NEWS: Mention bug fix.
22966 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22968         * sysdeps/pthread/timer_routines.c
22969         (timer_free_list, thread_free_list, thread_active_list): Make static.
22971 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22973         [BZ #17779]
22974         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22975         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22976         Undefine.
22977         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22978         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22979         Likewise.
22980         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22981         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22982         Likewise.
22984 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22986         [BZ #18036]
22987         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22988         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22990 2015-03-02  Andreas Schwab  <schwab@suse.de>
22992         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22993         variable name.
22995 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22997         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22998         Return error status.
23000 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23002         [BZ #15969]
23003         * locale/findlocale.c (_nl_find_locale): Introduce const
23004         version of loc_name and drop unsafe type casts.
23006 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23008         * dlfcn/tststatic2.c (main): Converted to ...
23009         (do_test): ... this.
23010         (TEST_FUNCTION): New macro.
23011         Include test-skeleton.c.
23013 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23015         [BZ #17711]
23016         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23017         (tests-pie): Add vismain.
23018         (CFLAGS-vismain.c): New.
23019         * elf/vismain.c: Add comments for PIE requirement.
23021 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23023         [BZ #18046]
23024         [BZ #18047]
23025         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23026         0x1p-56L as threshold for just returning the argument.
23027         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23028         0x1p-32L as threshold for just returning the argument.
23029         * math/auto-libm-test-in: Add more tests of atanh.
23030         * math/auto-libm-test-out: Regenerated.
23031         * sysdeps/i386/fpu/libm-test-ulps: Update.
23032         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23034 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23036         * string/bcopy.c (bcopy): Call memmove for performance.
23038 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23040         * string/bzero.c (__bzero): Call memset for performance.
23042 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23044         [BZ #18068]
23045         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23046         to 00100000.
23048 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23050         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23052 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23054         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23055         (__kernel_standard): Use CSTR macro when setting exc.name.
23056         * sysdeps/ieee754/Makefile [$(subdir) = math]
23057         (CFLAGS-k_standard.c): Remove variable.
23059         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23060         setting p and q from "else if" to "else".
23061         (qzero): Likewise.
23062         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23063         (qone): Likewise.
23064         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23065         (qzerof): Likewise.
23066         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23067         (qonef): Likewise.
23068         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23069         (qzero): Likewise.
23070         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23071         (qone): Likewise.
23073         [BZ #18038]
23074         [BZ #18039]
23075         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23076         return pi/2 for arguments below 0x1p-113L.
23077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23078         return pi/2 for arguments below 0x1p-106L.
23079         * math/auto-libm-test-in: Add more tests of acos.
23080         * math/auto-libm-test-out: Regenerated.
23082         [BZ #16351]
23083         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23084         (MO): New macro.
23085         (__ieee754_asin): Force underflow exception for results with small
23086         absolute value.
23087         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23088         (MO): New macro.
23089         (__ieee754_asinf): Force underflow exception for results with
23090         small absolute value.
23091         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23092         (__ieee754_asin): Force underflow exception for results with small
23093         absolute value.
23094         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23095         (__ieee754_asinf): Force underflow exception for results with
23096         small absolute value.
23097         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23098         (__ieee754_asinl): Force underflow exception for results with
23099         small absolute value.
23100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23101         (__ieee754_asinl): Force underflow exception for results with
23102         small absolute value.
23103         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23104         (__ieee754_asinl): Force underflow exception for results with
23105         small absolute value.
23106         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23107         Include <math.h>.
23108         * math/auto-libm-test-in: Do not mark underflow exceptions as
23109         possibly missing for bug 16351.
23110         * math/auto-libm-test-out: Regenerated.
23112         [BZ #18030]
23113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23114         of power of 2 down when low part has opposite sign.
23115         * math/libm-test.inc (logb_test_data): Add more tests.
23117 2015-02-26  Andreas Schwab  <schwab@suse.de>
23119         [BZ #18032]
23120         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23121         over collating symbol inside a bracket expression.  Minor cleanup.
23122         * posix/tst-fnmatch3.c (do_test): Add test case.
23124 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23126         [BZ #18029]
23127         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23128         Adjust exponent of power of 2 down when low part has opposite
23129         sign.
23130         * math/libm-test.inc (ilogb_test_data): Add more tests.
23132 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23134         [BZ #15969]
23135         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23136         the previous change.
23138         [BZ #15969]
23139         * locale/findlocale.c (_nl_find_locale): Retry archive search
23140         after alias expansion.
23142 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23144         * iconv/tst-iconv3.c (main): Converted to ...
23145         (do_test): ... this.
23146         (TEST_FUNCTION): New macro.
23147         Include test-skeleton.c.
23149         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23150         (convert): Make function static.
23151         (test_unalign): Likewise.  Add const to argument pointee types.
23152         (main): Replace with static function do_test.
23153         Print "Succeeded." only if RET is zero.
23154         (TEST_FUNCTION): New macro.
23155         Include test-skeleton.c.
23157         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23158         returns a null pointer.
23160 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23163         to __memcpy_ppc only for static builds.
23165 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23167         [BZ #18020]
23168         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23169         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23170         * math/auto-libm-test-in: Add more tests of asinh.
23171         * math/auto-libm-test-out: Regenerated.
23172         * sysdeps/i386/fpu/libm-test-ulps: Update.
23173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23175 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23177         [BZ #15850]
23178         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23179         and ip6_mtuinfo definitions here.
23180         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23181         in this define too.  Update comment.
23183 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23185         * elf/sprof.c (load_shobj): Tweak error message to match others.
23187 2015-02-24  Kevin Easton  <kevin@guarana.org>
23189         [BZ #16145] (partial fix)
23190         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23191         to reduce lock contention.
23193 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23195         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23196         (struct timex): Update time comment.
23197         (ADJ_SETOFFSET): Define.
23199 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23201         [BZ #18019]
23202         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23203         2**56 not 2**28 as threshold for log (2x) formula.
23204         * math/auto-libm-test-in: Add more tests of acosh.
23205         * math/auto-libm-test-out: Regenerated.
23206         * sysdeps/i386/fpu/libm-test-ulps: Update.
23207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23209 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23211         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23212         parenthesis around the buf assignment.
23213         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23215 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23217         [BZ #16783]
23218         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23219         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23220         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23221         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23222         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23223         * math/libm-test.inc (scalb_test_data): Add more tests.
23225 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23227         [BZ #17916]
23228         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23229         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23231 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23233         [BZ #17523]
23234         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23235         * io/bits/fcntl2.h (open): Use it.
23236         (openat): Likewise.
23237         * io/open.c (__libc_open): Likewise.
23238         * io/open64.c (__libc_open64): Likewise.
23239         * io/open64_2.c (__open64_2): Likewise.
23240         * io/open_2.c (__open_2): Likewise.
23241         * io/openat.c (__openat): Likewise.
23242         * io/openat64.c (__openat64): Likewise.
23243         * io/openat64_2.c (__openat64_2): Likewise.
23244         * io/openat_2.c (__openat_2): Likewise.
23245         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23246         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23247         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23248         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23249         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23250         (__open_nocancel): Likewise.
23251         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23252         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23253         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23255 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23257         [BZ #14841]
23258         * resolv/gethnamaddr.c (getanswer): Skip logging if
23259         RES_USE_DNSSEC is set.
23260         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23262 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23264         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23266 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23268         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23269         201304L, for Unicode 7.
23271 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23273         [BZ #17836]
23274         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23275         shared library.  Add gmon-start.os otherwise.
23276         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23277         $(objpfx)gmon-start.os if builing shared library.
23278         ($(objpfx)g$(static-start-installed-name)): Likewise.
23280 2015-02-23  Andreas Schwab  <schwab@suse.de>
23282         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23284 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23286         [BZ #17269]
23287         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23288         (enlarge_userbuf): Likewise.
23290 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23292         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23293         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23294         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23295         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23297 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23299         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23300         expression inside statement expression.
23302 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23304         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23305         <sysdeps/nptl/lowlevellock.h> and remove macros and
23306         functions that are now defined there.
23307         (SYS_futex): Remove.
23308         (lll_compare_and_swap): Remove.
23309         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23311 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23313         [BZ #17999]
23314         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23315         instead of scandirat.
23316         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23317         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23318         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23319         __scandirat.
23320         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23321         (__scandirat): Declare.  Use libc_hidden_proto.
23322         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23323         Remove variable.
23324         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23326 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23328         [BZ #15319]
23329         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23330         (MO): New macro.
23331         (__ieee754_atan2): For results with small absolute value, force
23332         underflow exception and remove excess range and precision from
23333         return value.
23334         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23335         (MO): New macro.
23336         (__ieee754_atan2f): For results with small absolute value, force
23337         underflow exception and remove excess range and precision from
23338         return value.
23339         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23340         (MO): New macro.
23341         (__atan): For results with small absolute value, force underflow
23342         exception and remove excess range and precision from return value.
23343         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23344         (MO): New macro.
23345         (__atanf): For results with small absolute value, force underflow
23346         exception and remove excess range and precision from return value.
23347         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23348         <math.h>.
23349         (__ieee754_atan2): Force underflow exception for results with
23350         small absolute value.
23351         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23352         <math_private.h>.
23353         (atan): Force underflow exception for results with small absolute
23354         value.
23355         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23356         (__atanf): Force underflow exception for results with small
23357         absolute value.
23358         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23359         <math.h>.
23360         (__atanl): Force underflow exception for results with small
23361         absolute value.
23362         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23363         (__atanl): Force underflow exception for results with small
23364         absolute value.
23365         * sysdeps/x86/fpu/bits/mathinline.h
23366         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23367         (__ieee754_atan2): Only define inline for long double.
23368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23369         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23370         * math/auto-libm-test-in: Do not mark underflow exceptions as
23371         possibly missing for bug 15319.  Add more tests of atan2.
23372         * math/auto-libm-test-out: Regenerated.
23373         * math/libm-test.inc (casin_test_data): Do not mark underflow
23374         exceptions as possibly missing for bug 15319.
23375         (casinh_test_data): Likewise.
23376         * sysdeps/i386/fpu/libm-test-ulps: Update.
23378 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23380         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23381         * sysdeps/mips/bits/endian.h: Fix comments.
23383 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23385         [BZ #17996]
23386         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23387         (hdestroy_r): Likewise.
23388         (hsearch_r): Likewise.
23389         (__hcreate_r): Declare and use libc_hidden_proto.
23390         (__hdestroy_r): Likewise.
23391         (__hsearch_r): Likewise.
23392         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23393         (hcreate): Call __hcreate_r instead of hcreate_r.
23394         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23395         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23396         as weak alias of __hcreate_r.
23397         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23398         __hdestroy_r.
23399         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23400         __hsearch_r.
23401         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23402         Remove variable.
23403         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23404         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23405         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23406         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23408 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23410         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23411         arena_lock into a single arena_get.
23413 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23415         * dl-reloc.c: Inlucde libc-internal.h.
23416         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23417         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23418         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23419         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23420         (grow_heap): Likewise.
23421         * malloc/malloc.c: Include libc-internal.h.
23422         (do_check_malloc): Call powerof2.
23423         (sysmalloc): Use pagesize. Call ALIGN_UP.
23424         (systrim): Use pagesize.
23425         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23426         (__libc_valloc): Use pagesize.
23427         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23429 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23431         [BZ #17991]
23432         * include/sys/resource.h (__getrlimit64): Declare.  Use
23433         libc_hidden_proto.
23434         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23435         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23436         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23437         getrlimit64.
23438         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23439         __getrlimit64.
23440         [!getrlimit64] (getrlimit64): Define as weak alias of
23441         __getrlimit64.  Use libc_hidden_weak.
23442         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23443         using __getrlimit64 not __new_getrlimit64.
23444         (__GI_getrlimit64): Likewise.
23445         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23446         Likewise.
23447         (__GI_getrlimit64): Likewise.
23448         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23450         (getrlimit): Add __getrlimit64 alias.
23451         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23452         Likewise.
23453         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23454         Remove variable.
23455         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23456         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23458 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23460         * libio/fileops.c: Add missing sys/mman.h
23461         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23463 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23465         * manual/math.texi (Errors in Math Functions): Clarify goals
23466         regarding inexact and underflow exceptions.
23468 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23470         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23471         * sysdeps/mips/memset.S: Ditto.
23473 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23475         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23477 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23479         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23480         (__v1longjmp): Remove versioned symbol.
23481         (__v1siglongjmp): Remove alias and versioned symbol.
23482         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23483         (__v2siglongjmp): Likewise.
23485 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23487         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23489 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23491         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23493 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23495         [BZ #17987]
23496         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23497         zero result does not depend on the sign resulting from
23498         subtraction.
23499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23500         Likewise.
23501         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23502         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23503         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23504         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23505         * math/libm-test.inc (remquo_test_data): Add more tests.
23507 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23509         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23510         Problem reported by J William Piggott.
23512 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23514         [BZ #17978]
23515         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23516         products 4 * y and 2 * y where those would overflow.
23517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23518         Likewise.
23519         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23520         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23521         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23522         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23523         * math/libm-test.inc (remquo_test_data): Add more tests.
23525         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23527         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23528         [defined _COMPILING_NEWLIB].
23529         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23530         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23532         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23533         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23535 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23537         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23538         acquired.
23540 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23542         [BZ #17792]
23543         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23544         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23545         HOST_STACK_END_ADDR): Likewise.
23547 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23549         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23550         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23551         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23553 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23555         * sysdeps/generic/c++-types.data: New file.
23556         * sysdeps/generic/ld.abilist: New file.
23557         * sysdeps/generic/libBrokenLocale.abilist: New file.
23558         * sysdeps/generic/libanl.abilist: New file.
23559         * sysdeps/generic/libc.abilist: New file.
23560         * sysdeps/generic/libcrypt.abilist: New file.
23561         * sysdeps/generic/libdl.abilist: New file.
23562         * sysdeps/generic/libm.abilist: New file.
23563         * sysdeps/generic/libpthread.abilist: New file.
23564         * sysdeps/generic/libresolv.abilist: New file.
23565         * sysdeps/generic/librt.abilist: New file.
23567 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23569         [BZ #17569]
23570         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23571         Compute absolute value of x as modified by fmod, not original
23572         value of x.
23573         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23574         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23575         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23576         RUN_TEST_ffI_f1_mod8.
23577         (remquo_test_data): Add more tests.
23579 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23581         * sysdeps/init_array/pt-crti.S: New file.
23583 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23585         [BZ #17967]
23586         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23587         __builtin_fmaf instead of relying on contraction of a * b + c.
23589 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23591         [BZ #17969]
23592         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23593         node.
23595 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23597         [BZ #17964]
23598         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23599         __builtin_fma instead of relying on contraction of a * b + c.
23601 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23603         * Makeconfig (ASFLAGS): Add -Werror=undef.
23604         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23605         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23606         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23608         * Makeconfig (after-link): New variable.
23609         (+link-pie, +link-pie-tests): Use it.
23610         (+link-static, +link-static-tests): Likewise.
23611         (+link, +link-tests): Likewise.
23612         * Makerules (build-module, build-module-asneeded): Likewise.
23613         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23614         Likewise.
23615         * elf/Makefile ($(objpfx)ld.so): Likewise.
23617 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23619         [BZ #17965]
23620         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23621         both struct timeval and struct timespec.
23623 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23625         [BZ #16560]
23626         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23627         and redefine.
23628         (__ieee754_exp2l): Do not multiply small fractional parts by
23629         M_LN2l.
23630         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23631         small argument.
23632         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23633         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23634         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23635         * math/auto-libm-test-in: Add more tests of exp2.
23636         * math/auto-libm-test-out: Regenerated.
23638 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23640         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23641         unaligned path.
23643 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23645         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23646         little endian.
23648 2015-02-12  Andreas Schwab  <schwab@suse.de>
23650         [BZ #15790]
23651         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23652         Filter out elision flags from value returned in kind.
23653         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23654         * nptl/tst-pthread-mutexattr.c: New file.
23656 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23658         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23659         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23660         into gnu-gnu, and update comment to refer to abi-tags.
23662 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23664         [BZ #15467]
23665         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23666         (__sincos): Set errno to EDOM for infinite argument.
23667         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23668         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23669         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23670         (__sincosl): Set errno to EDOM for infinite argument.
23671         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23672         (__sincosl): Set errno to EDOM for infinite argument.
23673         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23674         (__sincosl): Set errno to EDOM for infinite argument.
23675         * math/libm-test.inc (sincos_test_data): Test errno setting.
23677 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23679         * string/strxfrm_l.c: Remove #define STRCMP.
23680         * string/strcoll_l.c: Remove #define STRLEN.
23681         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23682         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23684 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23686         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23687         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23688         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23689         * sysdeps/mips/mips64/Makefile: ... here.
23690         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23691         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23692         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23693         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23694         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23695         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23696         * sysdeps/mips/mips64/n64/Implies: Likewise.
23698 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23700         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23701         <sys/time.h>, <string.h>, and <errno.h>.
23702         (dest_offset, dest_address, value, zero): Remove unused variables.
23703         (ldouble): Remove typedef.
23704         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23705         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23706         1).  Fix code style.
23707         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23708         (check): Function removed.
23709         (CHECK): New macro.
23710         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23711         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23712         Don't call set_sigaction_FP and remove_sigaction_FP here.
23713         (ldouble_test): Just use 'long double' as macro argument, no need for
23714         the 'ldouble' typedef.
23715         (do_test): Set up SIGFPE handler at start, using plain signal rather
23716         than sigaction.  Fix code style.
23718 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23720         [BZ #17949]
23721         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23722         jump label.
23724 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23726         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23727         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23729         * sysdeps/powerpc/configure.ac: Remove file.
23730         * sysdeps/powerpc/configure: Likewise.
23732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23733         [sysdep_routines]: Remove wordcopy-power6 object.
23734         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23735         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23736         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23737         (__memmove_ppc32): Likewise.
23738         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23739         file.
23740         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23741         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23742         Remove preprocessor.
23744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23745         [sysdep_routines]: Remove wide chars objects.
23746         [wcsmbs]: New rule for wide char objects.
23748         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23749         Remove wordcopy-power6 obejct.
23750         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23751         Use local call for wordcopy and memcpy symbols.
23752         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23754         implementation for loader.
23755         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23757         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23758         Remove wordcopy-power7 object.
23759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23761         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23762         (_wordcopy_fwd_dest_aligned): Likewise.
23763         (_wordcopy_bwd_aligned): Likewise.
23764         (_wordcopy_bwd_dest_aligned): Likewise.
23766         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23767         Rewrite to call __memmove_ppc instead of include default
23768         implementation.
23770         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23771         Remove wide chars objects.
23772         [wcsmbs]: New rule for wide char objects.
23774 2015-02-09  Andreas Schwab  <schwab@suse.de>
23776         [BZ #17912]
23777         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23778         in terms of __O_DIRECTORY.
23780 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23782         * time/getdate.c: Include <stdbool.h>.
23783         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23784         call PTR_MANGLE.
23785         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23786         PTR_DEMANGLE.
23788 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23790         Add ersatz _Static_assert on older C hosts
23791         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23792         pre-C11 C platform that is not known to support _Static_assert.
23794 2015-02-07  Richard Braun  <rbraun@sceen.net>
23796         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23797         sigstate.
23798         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23800 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23802         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23803         priority against unexistent AIO_PRIO_DELTA_MAX.
23804         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23805         instead of int.
23806         * misc/fchflags.c (fchflags): Likewise.
23807         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23808         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23809         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23810         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23811         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23812         Declare macros.
23813         [__USE_MISC] (chflags, fchflags): Declare functions.
23814         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23815         EINVAL when nfds is greater than FD_SETSIZE.
23816         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23817         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23818         45.
23819         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23820         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23821         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23822         MACH_RCV_TIMED_OUT.
23823         * hurd/hurd/signal.h (_hurd_self_sigstate,
23824         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23825         Explicit casts from void *.
23826         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23827         * abi-tags: Rename gnu-gnu os into gnu.
23829         [BZ #4719]
23830         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23831         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23832         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23833         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23834         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23835         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23837         [BZ #17944]
23838         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23839         duplicates ADDR->sun_path with sockaddr LEN limitation.
23840         * sysdeps/mach/hurd/connect.c: Include <string.h>
23841         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23842         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23843         * sysdeps/mach/hurd/sendto.c: Likewise.
23844         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23845         implementing it by hand.
23847 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23849         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23850         Use sfi_breg on ldr.
23851         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23852         Likewise.
23854         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23855         it's defined.
23856         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23857         Test SIGSETXID only if it's defined.
23859         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23861         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23862         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23864         * nptl/tst-align2.c: Moved ...
23865         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23866         * nptl/Makefile (tests): Remove tst-align2.
23867         * sysdeps/unix/sysv/linux/Makefile
23868         [$(subdir) = nptl] (tests): Add tst-align-clone.
23869         * nptl/tst-getpid1.c: Moved ...
23870         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23871         * nptl/tst-getpid2.c: Moved ...
23872         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23873         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23874         * sysdeps/unix/sysv/linux/Makefile
23875         [$(subdir) = nptl] (tests): ... here.
23876         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23877         * sysdeps/unix/sysv/linux/Makefile
23878         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23880         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23881         Drop trailing \n from perror argument.  Use return rather than exit.
23883         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23884         on [SA_SIGINFO].
23885         * nptl/tst-cancel21.c (do_test): Likewise.
23886         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23887         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23888         [!SA_SIGINFO]: Make it a stub test.
23890         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23891         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23893         * posix/tst-getlogin.c: Move to ...
23894         * login/tst-getlogin.c: ... here.
23895         * posix/Makefile (tests): Move tst-getlogin to ...
23896         * login/Makefile (tests): ... here.
23898         * libio/tst-atime.c (do_test): Move local variables SV and E
23899         inside [ST_NOATIME] conditional.
23901         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23903         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23905         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23906         (wait_code): New function replaces macro.
23907         Call nanosleep rather than syscall.
23909         * nptl/pt-system.c: Rewritten.  Put everything under
23910         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23911         Use IFUNC to redirect when possible.
23913         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23914         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23915         Use IFUNC to redirect when possible.
23917         * nptl/pt-fork.c: Rewritten.  Put everything under
23918         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23919         Use IFUNC to redirect when possible.
23920         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23922         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23923         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23924         unconditionally nowadays.  This included the only reference to
23925         __vdso_clock_gettime that appears outside libc proper.
23926         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23927         Remove version set (containing only __vdso_clock_gettime).
23928         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23929         Add attribute_hidden.
23930         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23931         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23932         libc_hidden_data_def.
23933         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23934         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23936         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23937         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23938         setrpcent, and getrpcport to ...
23939         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23940         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23941         getrpcbynumber_r, and getrpcent_r to ...
23942         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23943         * inet/getrpcbyname.c: Moved ...
23944         * sunrpc/getrpcbyname.c: ... here.
23945         * inet/getrpcbyname_r.c: Moved ...
23946         * sunrpc/getrpcbyname_r.c: ... here.
23947         * inet/getrpcbynumber.c: Moved ...
23948         * sunrpc/getrpcbynumber.c: ... here.
23949         * inet/getrpcbynumber_r.c: Moved ...
23950         * sunrpc/getrpcbynumber_r.c: ... here.
23951         * inet/getrpcent.c: Moved ...
23952         * sunrpc/getrpcent.c: ... here.
23953         * inet/getrpcent_r.c: Moved ...
23954         * sunrpc/getrpcent_r.c: ... here.
23955         * inet/Makefile (routines): Move those to ...
23956         * sunrpc/Makefile (routines): ... here.
23957         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23958         the $(subdirs) list.
23959         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23960         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23961         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23962         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23964         * elf/Makefile (routines): Include $(all-dl-routines), not just
23965         $(dl-routines).
23966         (rtld-routines): Likewise.  Use = rather than :=.
23967         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23968         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23969         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23970         * sysdeps/arm/Makefile: Likewise.
23971         * sysdeps/i386/Makefile: Likewise.
23972         * sysdeps/x86_64/Makefile: Likewise.
23973         * sysdeps/hppa/Makefile [$(subdir) = elf]
23974         (sysdep_routines, sysdep-rtld-routines): Don't add
23975         $(sysdep-dl-routines) to these.
23976         * sysdeps/ia64/Makefile: Likewise.
23977         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23978         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23979         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23980         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23981         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23982         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23983         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23984         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23985         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23986         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23987         these; sysdep-dl-routines alone is enough.
23989 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23991         [BZ #17932]
23992         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23993         where multiplication results in zero and third argument is finite
23994         and nonzero.
23995         * math/auto-libm-test-in: Add more tests of fma.
23996         * math/auto-libm-test-out: Regenerated.
23998         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23999         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24000         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24001         (_FP_CMP_EQ): Likewise.
24002         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24004         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24005         extra argument CHECK_NAN.  Redefine as wrapper around
24006         _FP_EXTEND_CNAN.
24008 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24010         * version.h (RELEASE): Set to "stable".
24011         (VERSION): Set to "2.21"
24012         * include/features.h (__GLIBC_MINOR__): Set to 21.
24014         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24016 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24017             Paul Eggert  <eggert@cs.ucla.edu>
24019         [BZ #16618]
24020         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24021         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24022         size in bytes. Store needed elements in wpmax. Use needed size
24023         in bytes for extend_alloca.
24025 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24027         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24028         binutls 2.25, and texinfo 5.2.
24029         * INSTALL: Regenerate.
24030         * sysdeps/nios2/configure: Regenerate.
24031         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24032         * manual/contrib.texi: Update.
24033         * po/be.po: Update.
24034         * po/bg.po: Update.
24035         * po/ca.po: Update.
24036         * po/cs.po: Update.
24037         * po/da.po: Update.
24038         * po/de.po: Update.
24039         * po/el.po: Update.
24040         * po/eo.po: Update.
24041         * po/es.po: Update.
24042         * po/fi.po: Update.
24043         * po/fr.po: Update.
24044         * po/gl.po: Update.
24045         * po/hr.po: Update.
24046         * po/hu.po: Update.
24047         * po/ia.po: Update.
24048         * po/id.po: Update.
24049         * po/it.po: Update.
24050         * po/ja.po: Update.
24051         * po/ko.po: Update.
24052         * po/lt.po: Update.
24053         * po/nb.po: Update.
24054         * po/nl.po: Update.
24055         * po/pl.po: Update.
24056         * po/pt_BR.po: Update.
24057         * po/ru.po: Update.
24058         * po/rw.po: Update.
24059         * po/sk.po: Update.
24060         * po/sl.po: Update.
24061         * po/sv.po: Update.
24062         * po/tr.po: Update.
24063         * po/uk.po: Update.
24064         * po/vi.po: Update.
24065         * po/zh_CN.po: Update.
24066         * po/zh_TW.po: Update.
24068         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24069         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24070         * sysdeps/hppa/dl-irel.h: Remove #warning.
24071         * sysdeps/hppa/entry.h: Provide prototype for
24072         __canonicalize_funcptr_for_compare and cast argument.
24073         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24074         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24075         * sysdeps/hppa/sotruss-lib.c: New file.
24076         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24077         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24078         (atomic_compare_and_exchange_bool_acq): Likewise.
24079         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24080         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24082         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24083         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24084         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24086 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24088         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24089         called function in non-PIC case.
24091 2015-01-31  David S. Miller  <davem@davemloft.net>
24093         * sysdeps/sparc/sparc32/bits/atomic.h
24094         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24095         unlock not after it.
24096         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24097         volatile register usage warnings from the compiler.
24099         * sysdeps/sparc/nptl/sem_init.c: Delete.
24100         * sysdeps/sparc/nptl/sem_post.c: Delete.
24101         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24102         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24103         * sysdeps/sparc/sparc32/sem_init.c: New file.
24104         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24105         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24106         padding explicitly initialized.
24107         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24108         padding for in-semaphore spinlock.
24109         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24110         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24111         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24112         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24113         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24114         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24115         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24116         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24117         version.
24118         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24119         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24121 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24123         [BZ #17801]
24124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24125         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24126         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24127         New.
24128         (index_AVX_Fast_Unaligned_Load): Likewise.
24129         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24130         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24131         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24132         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24133         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24134         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24135         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24136         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24137         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24139 2015-01-29  Andreas Schwab  <schwab@suse.de>
24141         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24143 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24145         [BZ #17892]
24146         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24148 2015-01-28  Martin Sebor  <msebor@redhat.com>
24150         * math/README.libm-test: Clarify. Add "How to read the test output."
24152 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24154         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24155         Define to 0.
24157 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24159         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24160         (__HAVE_64B_ATOMICS): Define to 0.
24162 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24164         [BZ #17885]
24165         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24166         value to set as new flag.
24168         [BZ #16576]
24169         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24170         and use _ARCH_PPCSQ instead.
24171         (__ieee754_sqrt): Likewise.
24172         (__ieee754_sqrtf): Likewise.
24173         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24174         _ARCH_PPCSQ is defined.
24175         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24176         fsqrt instruction.
24177         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24178         _ARCH_PPCSQ is defined.
24179         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24180         fsqrts instruction.
24181         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24183 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24185         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24186         bug (GCC BZ #64739).
24188 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24190         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24191         Mark _retval as used.
24192         (lll_futex_wake_unlock): Likewise.
24193         (lll_futex_timed_wait_requeue_pi): Likewise.
24195         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24196         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24197         register variables.
24199         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24200         libm_hidden_def.
24202         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24203         (__bswap_64): Mark as __always_inline.
24205 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24207         [BZ #15378]
24208         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24209         when none of the search directories exist.
24211 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24213         [BZ #17869]
24214         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24215         power8 in .machine directive.
24217         [BZ #17868]
24218         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24219         set dependency from opd value.
24221 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24224         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24225         architecture.
24227 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24229         [BZ #17870]
24230         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24231         with uint64_t.
24232         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24233         (uint64_t) 1.
24234         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24235         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24236         Replace 1UL with (uint64_t) 1.
24237         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24238         int with uint64_t.
24240 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24242         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24243         (if_freenameindex): Likewise.
24245         * resource/getrlimit64.c: Add missing libc_hidden_def.
24247 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24249         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24250         __label__.
24251         (_FP_FMA): Likewise.
24252         (_FP_TO_INT_ROUND): Likewise.
24253         (_FP_FROM_INT): Likewise.
24255 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24257         [BZ #16418]
24258         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24259         Make code racy and cancel safe.
24261 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24263         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24264         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24265         attribution.
24267         * pwd/tst-getpw.c: Rewrite.
24269         [BZ #17702]
24270         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24271         (modules-names): Add moddummy1 and moddummy2.
24272         ($(objpfx)tst-rec-dlopen): Define.
24273         * dlfcn/moddummy1.c: New file.
24274         * dlfcn/moddummy2.c: New file.
24275         * dlfcn/tst-rec-dlopen.c: New file.
24276         * elf/dl-cache.c (_dl_load_cache_lookup):
24277         Return char*. Copy result with alloca/strcpy/strdup.
24278         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24279         returns char*. Free cached. If not saving realname
24280         free cached.
24281         * elf/dl-open.c (dl_open_worker): Do not assert that
24282         _r_debug->r_state is RT_CONSISTENT.
24283         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24284         returns char*.
24286 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24287             Carlos O'Donell  <carlos@redhat.com>
24289         [BZ #12674]
24290         * nptl/sem_waitcommon.c: New file.
24291         * nptl/sem_wait.c: Include sem_waitcommon.c.
24292         (__sem_wait_cleanup, do_futex_wait): Remove.
24293         (__new_sem_wait): Adapt.
24294         (__new_sem_trywait): New function.
24295         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24296         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24297         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24298         (sem_timedwait): Adapt.
24299         * nptl/sem_post.c (__new_sem_post): Adapt.
24300         (futex_wake): New function.
24301         (__old_sem_post): Add release MO fence.
24302         * nptl/sem_open.c (sem_open): Adapt.
24303         * nptl/sem_init.c (__new_sem_init): Adapt.
24304         (futex_private_if_supported): New function.
24305         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24306         (__old_sem_getvalue): Add using previous code.
24307         * sysdeps/nptl/internaltypes.h: Adapt.
24308         * nptl/tst-sem13.c (do_test): Adapt.
24309         * nptl/tst-sem11.c (main): Adapt.
24310         * nptl/sem_trywait.c: Remove.
24311         * nptl/DESIGN-sem.txt: Remove.
24312         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24313         (gen-as-const-headers): Remove structsem.sym.
24314         * nptl/structsem.sym: Remove.
24315         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24316         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24317         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24318         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24319         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24320         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24321         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24322         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24323         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24324         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24325         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24326         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24327         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24328         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24329         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24330         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24331         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24332         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24333         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24334         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24335         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24336         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24338 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24340         * INSTALL: Regenerated.
24342         * po/libc.pot: Regenerated.
24344 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24345             Sandra Loosemore  <sandra@codesourcery.com>
24346             Andrew Jenner  <andrew@codesourcery.com>
24347             Joseph Myers  <joseph@codesourcery.com>
24348             Nathan Sidwell  <nathan@codesourcery.com>
24350         * NEWS: Mention new Nios II port.
24351         * sysdeps/nios2/Implies: New file.
24352         * sysdeps/nios2/Makefile: New file.
24353         * sysdeps/nios2/Subdirs: New file.
24354         * sysdeps/nios2/Versions: New file.
24355         * sysdeps/nios2/__longjmp.S: New file.
24356         * sysdeps/nios2/abort-instr.h: New file.
24357         * sysdeps/nios2/backtrace.c: New file.
24358         * sysdeps/nios2/bits/endian.h: New file.
24359         * sysdeps/nios2/bits/fenv.h: New file.
24360         * sysdeps/nios2/bits/link.h: New file.
24361         * sysdeps/nios2/bits/setjmp.h: New file.
24362         * sysdeps/nios2/bsd-_setjmp.S: New file.
24363         * sysdeps/nios2/bsd-setjmp.S: New file.
24364         * sysdeps/nios2/configure: New generated file.
24365         * sysdeps/nios2/configure.ac: New file.
24366         * sysdeps/nios2/crti.S: New file.
24367         * sysdeps/nios2/crtn.S: New file.
24368         * sysdeps/nios2/dl-init.c: New file.
24369         * sysdeps/nios2/dl-machine.h: New file.
24370         * sysdeps/nios2/dl-sysdep.h: New file.
24371         * sysdeps/nios2/dl-tls.h: New file.
24372         * sysdeps/nios2/dl-trampoline.S: New file.
24373         * sysdeps/nios2/gccframe.h: New file.
24374         * sysdeps/nios2/gmp-mparam.h: New file.
24375         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24376         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24377         * sysdeps/nios2/ldsodefs.h: New file.
24378         * sysdeps/nios2/libc-tls.c: New file.
24379         * sysdeps/nios2/libm-test-ulps: New file.
24380         * sysdeps/nios2/machine-gmon.h: New file.
24381         * sysdeps/nios2/math-tests.h: New file.
24382         * sysdeps/nios2/math_private.h: New file.
24383         * sysdeps/nios2/memusage.h: New file.
24384         * sysdeps/nios2/nptl/Makefile: New file.
24385         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24386         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24387         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24388         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24389         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24390         * sysdeps/nios2/nptl/tls.h: New file.
24391         * sysdeps/nios2/preconfigure: New file.
24392         * sysdeps/nios2/s_fma.c: New file.
24393         * sysdeps/nios2/s_fmaf.c: New file.
24394         * sysdeps/nios2/setjmp.S: New file.
24395         * sysdeps/nios2/sfp-machine.h: New file.
24396         * sysdeps/nios2/sotruss-lib.c: New file.
24397         * sysdeps/nios2/stackguard-macros.h: New file.
24398         * sysdeps/nios2/stackinfo.h: New file.
24399         * sysdeps/nios2/start.S: New file.
24400         * sysdeps/nios2/sysdep.h: New file.
24401         * sysdeps/nios2/tls-macros.h: New file.
24402         * sysdeps/nios2/tst-audit.h: New file.
24403         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24404         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24405         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24406         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24407         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24408         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24409         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24410         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24411         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24412         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24413         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24414         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24415         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24416         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24417         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24418         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24419         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24420         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24421         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24422         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24423         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24424         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24425         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24426         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24427         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24428         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24429         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24430         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24431         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24432         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24433         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24434         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24435         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24436         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24437         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24438         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24439         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24440         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24441         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24442         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24443         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24444         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24445         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24446         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24448 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24450         [BZ #17844]
24451         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24452         (getutent): Use weak_alias in non SHARED case
24453         and default_symbol_version in SHARED case.
24454         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24455         (getutent_r, pututline): Likewise.
24456         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24457         (getutid): Likewise.
24458         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24459         (getutid_r): Likewise.
24460         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24461         (getutline): Likewise.
24462         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24463         (getutline_r): Likewise.
24464         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24465         (updwtmp): Likewise.
24467 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24469         [BZ #17848]
24470         * sysdeps/s390/s390-32/memcmp.S
24471         (memcmp_g5): Rename to __memcmp_g5.
24472         * sysdeps/s390/s390-32/memcpy.S
24473         (memcpy_g5): Rename to __memcpy_g5.
24474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24475         (memcpy_mvcle) Rename to __memcpy_mvcle.
24476         * sysdeps/s390/s390-32/memset.S
24477         (memset_g5): Rename to __memset_g5.
24478         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24479         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24480         and use prefixed functions.
24481         * sysdeps/s390/s390-32/multiarch/memcmp.S
24482         (memcmp_z196): Rename to __memcmp_z196.
24483         (memcmp_z10): Rename to __memcmp_z10.
24484         (memcmp): Set alias to __memcmp_g5.
24485         (bcmp): Set alias to __memcmp_g5.
24486         * sysdeps/s390/s390-32/multiarch/memcpy.S
24487         (memcpy_z196): Rename to __memcpy_z196.
24488         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24489         (memcpy_z10): Rename to __memcpy_z10.
24490         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24491         (memcpy): Set alias to __memcpy_g5.
24492         * sysdeps/s390/s390-32/multiarch/memset.S
24493         (memset_z196): Rename to __memset_z196.
24494         Jump to __memset_mvcle instead of memset_mvcle.
24495         (memset_z10): Rename to __memset_z10.
24496         Jump to __memset_mvcle instead of memset_mvcle.
24497         (memset_mvcle) Rename to __memset_mvcle.
24498         (memset): Set alias to __memset_g5.
24499         * sysdeps/s390/s390-64/memcmp.S
24500         (memcmp_z900): Rename to __memcmp_z900.
24501         * sysdeps/s390/s390-64/memcpy.S
24502         (memcpy_z900): Rename to __memcpy_z900.
24503         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24504         (memcpy_mvcle) Rename to __memcpy_mvcle.
24505         * sysdeps/s390/s390-64/memset.S
24506         (memset_z900): Rename to __memset_z900.
24507         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24508         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24509         and use prefixed functions.
24510         * sysdeps/s390/s390-64/multiarch/memcmp.S
24511         (memcmp_z196): Rename to __memcmp_z196.
24512         (memcmp_z10): Rename to __memcmp_z10.
24513         (memcmp): Set alias to __memcmp_z900.
24514         (bcmp): Set alias to __memcmp_z900.
24515         * sysdeps/s390/s390-64/multiarch/memcpy.S
24516         (memcpy_z196): Rename to __memcpy_z196.
24517         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24518         (memcpy_z10): Rename to __memcpy_z10.
24519         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24520         (memcpy): Set alias to __memcpy_z900.
24521         * sysdeps/s390/s390-64/multiarch/memset.S
24522         (memset_z196): Rename to __memset_z196.
24523         Jump to __memset_mvcle instead of memset_mvcle.
24524         (memset_z10): Rename to __memset_z10.
24525         Jump to __memset_mvcle instead of memset_mvcle.
24526         (memset_mvcle) Rename to __memset_mvcle.
24527         (memset): Set alias to __memset_z900.
24529 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24531         [BZ #17748]
24532         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24533         __fesetenv instead of fesetenv.
24535 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24537         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24538         macro.
24540 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24542         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24543         regression on LE.
24545         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24546         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24548         strncmp-power8 object.
24549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24550         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24551         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24552         * NEWS: Update.
24554 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24555             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24557         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24558         trailing byte check.
24560 2015-01-13  David S. Miller  <davem@davemloft.net>
24562         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24564 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24566         * login/logout.c (logout): Use memset rather than bzero.
24567         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24568         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24569         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24570         (_gethtbyaddr): Likewise.
24571         * locale/programs/simple-hash.c (bcopy): Macro removed.
24573 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24576         Add strcmp-power8 object.
24577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24578         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24579         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24580         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24581         __strcmp_power8 implementation.
24582         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24583         * NEWS: Update.
24585         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24586         Add strncpy-power8 and stpncpy-power8 objects.
24587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24588         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24589         implementations.
24590         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24591         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24592         __stpncpy_power8 implementation.
24593         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24594         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24595         __strncpy_power8 implementation.
24596         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24597         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24598         * NEWS: Update.
24600         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24601         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24602         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24604         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24605         strncat-power8 object.
24606         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24607         __strcat_power8 implementation.
24608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24609         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24610         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24611         optimized strcat for power8.
24613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24614         strcpy-power8 and stpcpy-power8 objects.
24615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24616         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24617         implementations.
24618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24619         multiarch stpcpy implementation for POWER8.
24620         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24621         multiarch strcpy implementation for POWER8.
24622         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24623         __strcpy_power8 function.
24624         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24625         stpcpy for POWER8.
24626         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24627         strcpy for POWER8.
24628         * NEWS: Update.
24630 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24632         [BZ #16009]
24633         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24634         weights and rules. Use do_xfrm_cached if data fits in cache,
24635         do_xfrm otherwise.  Moved former main loop to...
24636         * (do_xfrm_cached): New function.
24637         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24638         find_idx, find_position and stack_push.
24639         * (find_idx): New function.
24640         * (find_position): Likewise.
24641         * localedata/sort-test.sh: Added test run for do_xfrm.
24642         * localedata/xfrm-test.c (main): Added command line option
24643         -nocache to run the test with strings that are too large for
24644         the STRXFRM cache.
24646 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24648         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24649         variable to lll_futex_wake call, not the value itself.
24651 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24653         [BZ #17803]
24654         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24655         twom64.  Adjust value to 0x1p-64L.
24656         (__scalblnl): Only return standard underflowing result for K <=
24657         -64 not K <= -63; adjust exponent for underflowing result by 64
24658         not 63.
24659         * math/libm-test.inc (scalbn_test_data): Add more tests.
24660         (scalbln_test_data): Likewise.
24662         [BZ #17834]
24663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24664         0x1p63L.
24665         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24666         not HX.
24667         * math/libm-test.inc (scalbn_test_data): Add more tests.
24668         (scalbln_test_data): Likewise.
24670 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24671             Stefani Seibold  <stefani@seibold.net>
24673         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24674         (sysdep_routines): Add dl-vdso here, ...
24675         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24676         (sysdep_routines): ... not here.
24677         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24678         fallback when vDSO is not presented.
24679         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24680         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24681         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24682         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24683         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24684         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24685         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24686         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24687         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24689         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24690         fallback configurable symbol when vDSO is not available.
24691         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24692         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24693         be able to redefine fallback symbol when vDSO is not available.
24694         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24695         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24697 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24699         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24700         (TLS_INIT_TP): Add tm_capable initialization.
24701         (TLS_DEFINE_INIT_TP): Likewise.
24702         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24703         TCB.
24704         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24705         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24706         calculation.
24707         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24708         transactoion is lock elision is built and TCB tm_capable is set.
24709         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24711         (INTERNAL_SYSCALL_NCS): Likewise.
24712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24713         (INTERNAL_SYSCALL_NCS): Likewise.
24714         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24716         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24717         for powerpc.
24718         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24719         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24720         and remove it for 32 bits case.
24721         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24723         initialization.
24724         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24725         Disable lock elision with rdlocks if elision is not available.
24727         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24728         (sysdep_routines): Add lock elision objects.
24729         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24730         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24731         [pthread_mutex_t] (__elision): Add field.
24732         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24733         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24734         elision definitions for powerpc.
24735         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24736         implementation of lock elision for powerpc.
24737         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24738         implementation of timed lock elision for powerpc.
24739         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24740         implementation of trylock with lock elision for powerpc.
24741         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24742         implementaion of unlock for lock elision for powerpc.
24743         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24744         automatic enable lock elision for mutexes.
24745         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24746         transaction execution definitions for powerpc.
24747         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24748         definitions.
24749         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24750         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24751         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24752         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24753         * NEWS: Update.
24755 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24757         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24758         for #include of <shm-directory.h>.
24760 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24763         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24765 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24767         [BZ #17791]
24768         * NEWS: Mention bug fix.
24769         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24770         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24771         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24773 2015-01-09  Torvald Riegel <triegel@redhat.com>
24775         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24777 2015-01-09  Torvald Riegel <triegel@redhat.com>
24779         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24781 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24783         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24784         pointer and cast to uintptr_t.
24786 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24788         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24789         removed.
24790         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24792 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24794         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24795         of 0.
24797 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24799         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24800         <nptl/pthreadP.h> instead.
24801         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24803         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24804         already defined.
24805         [__SIGRTMIN] (init): Function removed.
24806         [__SIGRTMIN] (initialized): Variable removed.
24807         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24808         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24809         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24810         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24811         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24812         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24813         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24814         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24815         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24816         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24817         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24818         * sysdeps/nptl/allocrtsig.c: New file.
24819         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24820         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24821         * sysdeps/generic/testrtsig.h: File removed.
24823         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24824         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24826         * nptl/nptl-init.c (pthread_functions): Conditionalize
24827         .ptr__nptl_setxid initialization on [SIGSETXID].
24829         * sysdeps/nptl/sys/procfs.h: New file.
24830         * nptl_db/Makefile (headers): Add it.
24831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24833         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24834         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24835         * nptl/pthread_attr_setaffinity.c: Include it.
24836         * nptl/pthread_setattr_default_np.c: Likewise.
24837         * nptl/check-cpuset.h: New file.
24839 2015-01-08  Richard Henderson  <rth@redhat.com>
24841         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24842         (CFLAGS-tst-execstack-prog.c): Likewise.
24843         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24845 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24846             Sandra Loosemore  <sandra@codesourcery.com>
24847             Andrew Jenner  <andrew@codesourcery.com>
24848             Joseph Myers  <joseph@codesourcery.com>
24849             Nathan Sidwell  <nathan@codesourcery.com>
24851         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24852         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24853         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24854         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24855         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24856         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24857         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24858         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24859         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24860         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24861         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24862         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24863         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24864         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24865         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24866         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24867         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24869 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24871         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24872         timespec struct member in syscall macro.
24873         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24874         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24875         first timeval struct member in syscall macro.
24876         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24878 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24880         [BZ #17748]
24881         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24882         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24883         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24884         __feupdateenv and define as weak alias of __feupdateenv.  Use
24885         libm_hidden_weak.
24886         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24887         libm_hidden_def.
24888         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24889         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24890         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24891         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24892         libm_hidden_def.
24893         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24894         __feupdateenv and define as weak alias of __feupdateenv.  Use
24895         libm_hidden_weak.
24896         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24897         libm_hidden_def.
24898         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24899         __feupdateenv and define as weak alias of __feupdateenv.  Use
24900         libm_hidden_weak.
24901         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24902         libm_hidden_def.
24903         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24904         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24905         (__feupdateenv): Likewise.
24906         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24907         __feupdateenv and define as weak alias of __feupdateenv.  Use
24908         libm_hidden_weak.
24909         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24910         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24911         libm_hidden_def.
24912         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24913         function.
24914         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24915         libm_hidden_def.
24916         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24917         __feupdateenv instead of feupdateenv.
24918         (default_libc_feupdateenv_test): Likewise.
24919         (libc_feresetround_ctx): Likewise.
24921 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24923         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24924         prototype.
24926 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24928         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24929         COLL_SYM in a couple of places to avoid uninitialized variable
24930         wanings on tilegx gcc 4.8.2.
24932 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24934         * sysdeps/aarch64/strcpy.S: New file.
24935         * sysdeps/aarch64/stpcpy.S: New file.
24936         * NEWS: Updated.
24938 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24940         * sysdeps/aarch64/strrchr.S: New file.
24941         * NEWS: Updated.
24943 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24945         [BZ #17658]
24946         * stdlib/setenv.c: Fix memory leak when setting large,
24947         duplicate string.
24949 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24951         [BZ #17273]
24952         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24953         and tabs from buffer before parsing fstab entry.
24954         * misc/tst-mntent.c (main): Add test for mount entry with
24955         trailing spaces and tabs.
24957 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24959         [BZ #17748]
24960         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24961         * math/fesetround.c (fesetround): Rename to __fesetround and
24962         define as weak alias of __fesetround.  Use libm_hidden_weak.
24963         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24964         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24965         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24966         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24967         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24968         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24969         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24970         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24971         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24972         __fesetround_inline.
24973         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24974         __fesetround_inline instead of __fesetround.
24975         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24976         __fesetround and define as weak alias of __fesetround.  Use
24977         libm_hidden_weak.  Call __fesetround_inline instead of
24978         __fesetround.
24979         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24980         __fesetround and define as weak alias of __fesetround.  Use
24981         libm_hidden_weak.
24982         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24983         Likewise.
24984         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24986         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24987         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24988         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24989         __fesetround and define as weak alias of __fesetround.  Use
24990         libm_hidden_weak.
24991         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24992         __fesetround instead of fesetround.
24993         (default_libc_feholdexcept_setround): Likewise.
24994         (libc_feholdsetround_ctx): Likewise.
24995         (libc_feholdsetround_noex_ctx): Likewise.
24997         [BZ #17748]
24998         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24999         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25000         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25001         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25002         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25003         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25004         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25005         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25006         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25007         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25008         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25009         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25010         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25011         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25012         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25013         libm_hidden_def.
25014         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25015         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25016         Likewise.
25017         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25018         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25019         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25020         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25021         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25022         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25023         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25024         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25025         __fesetenv instead of fesetenv.
25026         (libc_feresetround_noex_ctx): Likewise.
25027         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25028         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25029         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25030         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25031         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25032         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25033         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25034         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25035         (__feupdateenv): Likewise.
25036         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25037         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25038         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25039         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25041 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25043         [BZ #17806]
25044         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25045         addresses have been freed.
25047 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25049         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25050         and nservall.
25052 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25054         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25055         Clean up check_pf allocation pattern. addresses
25057 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25059         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25060         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25061         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25062         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25063         * nptl/pthread_join.c (pthread_join): Likewise.
25064         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25065         * sysdeps/posix/waitid.c (__waitid): Likewise.
25066         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25067         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25068         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25069         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25071         Likewise.
25072         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25073         (__libc_pread64): Likewise.
25074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25075         (__libc_pwrite): Likewise.
25076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25077         (__libc_pwrite64): Likewsie.
25078         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25079         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25080         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25081         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25082         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25083         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25084         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25086         Likewise.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25088         (__libc_pread64): Likewise.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25090         Likewise.
25091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25092         (__libc_pwrite64): Likewise.
25093         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25094         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25095         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25096         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25097         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25098         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25099         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25100         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25101         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25102         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25103         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25104         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25105         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25106         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25107         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25108         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25109         Likewise.
25111 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25113         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25114         (CFLAGS-test-double.c): Likewise.
25115         (CFLAGS-test-ldouble.c): Likewise.
25116         (CPPFLAGS-test-ifloat.c): Likewise.
25117         (CPPFLAGS-test-idouble.c): Likewise.
25118         (CPPFLAGS-test-ildoubl.c): Likewise.
25119         (CFLAGS-test-test-fenv.c): Remove variable.
25120         (CFLAGS-test-misc.c): Likewise.
25122 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25124         [BZ #17797]
25125         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25126         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25127         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25128         CLOCKS_PER_SEC == 1000000.
25129         * time/clocktest.c (main): Replace %ld with %jd and cast to
25130         intmax_t.
25132 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25134         * sysdeps/generic/unwind-resume.h: New file.
25135         * sysdeps/gnu/unwind-resume.c: Include it.
25136         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25137         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25138         argument list.
25139         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25140         global rather than static.
25141         (_Unwind_Resume): Update user.
25142         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25143         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25144         rather than static.  Add __attribute__ ((cold)).
25145         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25146         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25147         * sysdeps/arm/arm-unwind-resume.S: New file.
25148         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25149         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25150         * sysdeps/arm/Makefile [$(subdir) = csu]
25151         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25152         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25153         Add rt-arm-unwind-resume.
25154         [$(subdir) = nptl]
25155         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25156         Add pt-arm-unwind-resume.
25157         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25158         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25160 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25162         [BZ #17748]
25163         * include/fenv.h (__feholdexcept): Declare.  Use
25164         libm_hidden_proto.
25165         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25166         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25167         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25168         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25169         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25170         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25171         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25172         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25173         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25174         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25175         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25176         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25177         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25178         (feholdexcept): Likewise.
25179         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25180         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25181         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25182         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25183         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25184         __feholdexcept instead of feholdexcept.
25185         (default_libc_feholdexcept_setround): Likewise.
25187 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25189         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25190         to avoid using stl/str to align destination.
25192 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25194         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25196 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25198         [BZ #17796]
25199         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25200         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25201         Define as weak alias not strong alias.
25203 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25205         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25206         bltzal with addiupc.
25207         (RTLD_START): Ditto.
25209 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25211         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25212         for __vdso_* functions in declarations.
25213         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25214         definitions.
25215         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25216         INTERNAL_VSYSCALL): Use struct return types to check for error.
25218         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25219         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25220         function with cast from llround().
25221         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25222         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25223         Define.
25225 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25227         [BZ #17793]
25228         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25229         Define as weak alias not strong alias.
25231         [BZ #17635]
25232         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25233         ...
25234         * ctype/ctype-extn.c: ... here.
25235         (__isblank_l): Move to ...
25236         * ctype/ctype-c99_l.c: ... here.  New file.
25237         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25238         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25239         Remove variable.
25240         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25241         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25242         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25243         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25244         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25246         [BZ #17777]
25247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25248         (posix_fadvise64): Define as weak alias not strong alias.
25249         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25250         (posix_fallocate64): Likewise.
25251         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25252         Remove variable.
25253         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25254         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25255         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25256         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25257         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25259 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25261         [BZ #16191]
25262         * NEWS: Mention bug fix.
25263         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25264         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25265         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25266         (HOST_STACK_END_ADDR): Likewise.
25268 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25270         [BZ #17748]
25271         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25272         * math/fegetround.c (fegetround): Rename to __fegetround and
25273         define as weak alias of __fegetround.  Use libm_hidden_weak.
25274         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25275         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25276         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25277         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25278         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25279         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25280         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25281         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25282         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25283         Undefine after rather than before function definition; use
25284         parentheses around function name in definition.
25285         (__fegetround): Also undefine macro after function definition.
25286         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25287         __fegetround and define as weak alias of __fegetround.  Use
25288         libm_hidden_weak.  Do not undefine as macro.
25289         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25290         Likewise.
25291         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25292         __fegetround and define as weak alias of __fegetround.  Use
25293         libm_hidden_weak.
25294         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25295         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25296         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25297         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25298         __fegetround and define as weak alias of __fegetround.  Use
25299         libm_hidden_weak.
25300         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25301         __fegetround instead of fegetround.
25303         [BZ #17782]
25304         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25305         Condition macro definition on [__USE_MISC].
25307         [BZ #17781]
25308         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25309         (struct sigaction): Change type of sa_flags field to int.
25311         [BZ #17780]
25312         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25313         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25314         __glibc_reserved0.
25316         * nptl/version.c (banner): Use single year in copyright notice.
25318         * NEWS: Update copyright dates.
25319         * catgets/gencat.c (print_version): Likewise.
25320         * csu/version.c (banner): Likewise.
25321         * debug/catchsegv.sh: Likewise.
25322         * debug/pcprofiledump.c (print_version): Likewise.
25323         * debug/xtrace.sh (do_version): Likewise.
25324         * elf/ldconfig.c (print_version): Likewise.
25325         * elf/ldd.bash.in: Likewise.
25326         * elf/pldd.c (print_version): Likewise.
25327         * elf/sotruss.sh: Likewise.
25328         * elf/sprof.c (print_version): Likewise.
25329         * iconv/iconv_prog.c (print_version): Likewise.
25330         * iconv/iconvconfig.c (print_version): Likewise.
25331         * locale/programs/locale.c (print_version): Likewise.
25332         * locale/programs/localedef.c (print_version): Likewise.
25333         * login/programs/pt_chown.c (print_version): Likewise.
25334         * malloc/memusage.sh (do_version): Likewise.
25335         * malloc/memusagestat.c (print_version): Likewise.
25336         * malloc/mtrace.pl: Likewise.
25337         * manual/libc.texinfo: Likewise.
25338         * nptl/version.c (banner): Likewise.
25339         * nscd/nscd.c (print_version): Likewise.
25340         * nss/getent.c (print_version): Likewise.
25341         * nss/makedb.c (print_version): Likewise.
25342         * posix/getconf.c (main): Likewise.
25343         * scripts/test-installation.pl: Likewise.
25344         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25346 2015-01-02  Will Newton  <will.newton@linaro.org>
25348         * sysdeps/arm/armv7/configure: Removed.
25349         * sysdeps/arm/armv7/configure.ac: Likewise.
25351 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25353         * All files with FSF copyright notices: Update copyright dates
25354         using scripts/update-copyrights.
25355         * intl/plural.c: Regenerated.
25356         * locale/programs/charmap-kw.h: Likewise.
25357         * locale/programs/locfile-kw.h: Likewise.
25359 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25361         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25363 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #17748]
25366         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25367         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25368         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25369         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25370         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25371         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25372         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25373         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25374         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25375         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25376         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25377         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25378         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25379         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25380         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25381         libm_hidden_def.
25382         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25383         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25384         Likewise.
25385         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25386         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25388         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25389         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25390         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25391         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25392         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25393         __fegetenv instead of fegetenv.
25394         (libc_feholdsetround_noex_ctx): Likewise.
25396 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25398         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25399         (Elf_MIPS_ABIFlags_v0): New structure.
25400         (EF_MIPS_FP64): Define.
25401         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25402         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25403         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25404         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25405         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25406         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25407         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25408         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25409         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25410         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25411         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25412         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25413         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25414         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25415         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25416         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25417         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25418         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25419         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25420         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25421         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25422         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25423         field.
25424         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25425         EF_MIPS_FP64.
25426         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25427         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25428         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25429         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25430         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25431         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25432         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25433         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25434         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25435         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25436         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25437         record the current FP ABI extension.
25438         (mips-mode-switch): Define to show if kernel headers support mode
25439         switching.
25440         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25441         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25442         supported SYSV ABI version to 3.
25443         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25444         feature.
25446 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25447             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25449         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25450         path.
25451         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25453 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25455         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25456         __fegetround and redefine to call __fegetround.  Remove condition
25457         on [!__NO_MATH_INLINES].
25458         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25459         function.
25460         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25461         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25462         Remove macro.
25463         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25464         instead of <fenv_libc.h>.
25465         (__llrintl): Call fegetround instead of __fegetround.
25466         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25467         instead of <fenv_libc.h>.
25468         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25469         (__lrintl): Call fegetround instead of __fegetround.
25470         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25471         instead of <fenv_libc.h>.
25472         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25473         (__rintl): Call fegetround instead of __fegetround.
25475 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25477         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25478         arrays.
25480 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25482         [BZ #17775]
25483         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25484         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25485         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25487 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25489         * sysdeps/i386/tls-macros.h: Include <features.h>.
25490         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25491         (TLS_IE): Likewise.
25492         (TLS_LD): Likewise.
25493         (TLS_GD): Likewise.
25494         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25495         define for GCC >= 5.0.
25497 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25499         * math/test-fenv.c (test_single_exception, set_single_exc,
25500         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25501         feexcp_mask_test, feenable_test, fe_single_test): Add
25502         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25503         case where they are not used.
25504         * math/libm-test.inc: Likewise.
25505         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25506         unused in the absence of FP rounding/exception support.
25507         * stdio-common/tst-printf-round.c: Likewise.
25508         * stdlib/tst-strtod-round.c: Likewise.
25509         * stdlib/tst-strtod-underflow.c: Likewise.
25511 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25513         [BZ #17723]
25514         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25515         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25516         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25517         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25518         libm_hidden_weak.
25519         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25520         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25521         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25522         libm_hidden_def.
25523         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25524         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25525         libm_hidden_weak.
25526         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25527         Likewise.
25528         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25529         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25530         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25531         libm_hidden_weak.
25532         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25533         libm_hidden_def.
25534         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25535         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25536         (__feraiseexcept): Likewise.
25537         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25538         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25539         libm_hidden_weak.
25540         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25541         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25542         libm_hidden_def.
25543         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25544         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25545         Use libm_hidden_def.
25546         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25547         libm_hidden_def.
25548         (feraiseexcept): Define as weak not strong alias.  Use
25549         libm_hidden_weak.
25550         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25551         New inline function.  Factored out of ...
25552         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25553         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25554         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25555         feraiseexcept.
25556         * math/w_acos.c (__acos): Likewise.
25557         * math/w_asin.c (__asin): Likewise.
25558         * math/w_ilogb.c (__ilogb): Likewise.
25559         * math/w_j0.c (y0): Likewise.
25560         * math/w_j1.c (y1): Likewise.
25561         * math/w_jn.c (yn): Likewise.
25562         * math/w_log.c (__log): Likewise.
25563         * math/w_log10.c (__log10): Likewise.
25564         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25565         * sysdeps/aarch64/fpu/math_private.h
25566         (libc_feupdateenv_test_aarch64): Likewise.
25567         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25568         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25569         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25570         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25571         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25572         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25573         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25574         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25575         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25576         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25578 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25580         [BZ #17732]
25581         * io/test-utime.c (main): Replace %ld with %jd and cast to
25582         intmax_t.
25583         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25584         * nptl/tst-mutex5.c: Include <stdint.h>.
25585         (do_test): Replace %ld with %jd and cast to intmax_t.
25586         * posix/tst-regex.c (run_test): Likewise.
25587         (run_test_backwards): Likewise.
25588         * rt/tst-clock.c: Include <stdint.h>.
25589         (clock_test): Replace %ld with %jd and cast to intmax_t.
25590         * rt/tst-cpuclock1.c: Include <stdint.h>.
25591         (do_test): Replace %lu with %ju and cast to uintmax_t.
25592         * rt/tst-cpuclock2.c: Include <stdint.h>.
25593         (do_test): Replace %lu with %ju and cast to uintmax_t.
25594         * rt/tst-mqueue1.c: Include <stdint.h>.
25595         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25596         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25597         intmax_t.
25598         * rt/tst-mqueue4.c (do_test): Likewise.
25599         * rt/tst-timer4.c: Include <stdint.h>.
25600         (check_ts): Replace %ld with %jd and cast to intmax_t.
25601         (do_test): Likewise.
25602         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25603         and cast to intmax_t.
25604         * sysdeps/pthread/tst-timer.c (main): Likewise.
25605         * time/clocktest.c (main): Likewise.
25606         * time/tst-posixtz.c (do_test): Likewise.
25607         * timezone/tst-timezone.c (main): Likewise.
25609 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25610             H.J. Lu  <hongjiu.lu@intel.com>
25612         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25613         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25614         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25615         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25616         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25617         version if bit_Fast_Unaligned_Load is set.
25618         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25619         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25620         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25621         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25622         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25624         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25625         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25626         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25627         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25628         to 4.
25629         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25630         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25631         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25632         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25634 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25636         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25637         instead of #if to avoid a Wundef warning.
25638         * stdlib/tst-limits.c (do_test): Likewise.
25640         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25641         parallel other exception macros.
25642         (fegetenv): Convert from macro to extern inline so that it applies
25643         retroactively to inline functions already seen by the compiler.
25644         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25646         * posix/Makefile (before-compile): Use $(objpfx) for
25647         posix-conf-vars-def.h.
25649 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25651         * posix/getconf.c (main): Use size_t for type of I.
25652         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25653         NSPEC.
25655         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25656         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25657         * posix/posix-envs.def: Likewise.
25658         * sysdeps/posix/sysconf.c: Likewise.
25659         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25660         (specs): Remove array.
25661         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25662         array.
25664         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25665         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25666         (__sysconf): Use CONF_IS_* macros.
25668         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25669         ($(objpfx)posix-conf-vars-def.h): New target.
25670         * posix/posix-conf-vars.list: New file.
25671         * posix/posix-conf-vars.h: New file.
25672         * posix/confstr.c: Include posix-conf-vars.h.
25673         (confstr): Use CONF_IS_* macros.
25674         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25675         CONF_IS_* macros.
25676         * scripts/gen-posix-conf-vars.awk: New file.
25678 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25680         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25681         fegetround): Add no-op macros to avoid linknamespace issues.
25683         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25684         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25686         * sysdeps/unix/sysv/linux/tile/sysdep.h
25687         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25688         assembly-specific section to avoid a redefinition warning.
25690         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25691         long before casting to pointer to avoid a cast warning.
25693 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25695         * sysdeps/tile/tilegx/Implies: New file.
25697 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25699         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25701 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25703         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25705 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25708         not define.
25709         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25710         <kernel-features.h>.
25711         (__utimes) [__NR_utimes]: Make code unconditional.
25712         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25713         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25714         (__ASSUME_UTIMES): Do not undefine.
25715         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25716         (__ASSUME_UTIMES): Likewise.
25717         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25718         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25719         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25720         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25722 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25724         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25726 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25728         [BZ #17747]
25729         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25730         alias to weak alias for j0l, y0l.
25731         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25732         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25734         [BZ #17746]
25735         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25736         conversion.
25738 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25740         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25741         to zero if not already defined.
25743 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25745         [BZ #17724]
25746         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25747         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25748         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25749         (char *) casts added.
25750         * sysdeps/ieee754/k_standardf.c: New file.
25751         * sysdeps/ieee754/k_standardl.c: Likewise.
25752         * math/Makefile (libm-support): Remove k_standard.
25753         (libm-calls): Add k_standard.
25755 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25757         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25758         Optimize to avoid an unnecessary FPCR read.
25760 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25762         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25763         Optimize to reduce FPCR/FPSR accesses.
25765 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25767         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25768         Call libc_fetestexcept_aarch64.
25770 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25772         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25773         Call libc_fesetround_aarch64.
25775 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25777         [BZ #17733]
25778         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25779         (__bind): Do not define as weak alias.
25780         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25781         define.
25782         (__getsockname): Do not define as weak alias.
25784 2014-12-22  Will Newton  <will.newton@linaro.org>
25786         * manual/install.texi: Document that we require bison 2.7
25787         or above.
25788         * INSTALL: Regenerate.
25789         * configure.ac: Use AC_CHECK_PROG_VER instead of
25790         AC_PATH_PROG when checking for bison and check for
25791         version 2.7 or above.
25792         * configure: Regenerate.
25794 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25796         [BZ #17745]
25797         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25798         * sysdeps/tile/ffsll.c (ffsll): To here.
25800         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25802 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25804         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25805         if not defined.
25806         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25807         definition.
25808         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25809         hidden ___tls_get_addr.
25810         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25811         hidden __tls_get_addr.
25812         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25813         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25814         Likewise.
25816 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25818         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25819         _dl_init call.
25821 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25823         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25824         from "call _dl_init@PLT".
25825         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25827 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25829         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25830         guarantees.
25832 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25834         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25836 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25838         [BZ #17744]
25839         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25840         strnlen.
25842 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25844         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25845         of multu on MIPSr6.
25846         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25847         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25848         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25849         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25850         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25852 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25854         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25855         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25856         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25857         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25858         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25859         mips32r6/mips64r6.
25860         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25862 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25864         * string/strncat.c (STRNCAT): Simplify implementation.
25866 2014-12-19  David S. Miller  <davem@davemloft.net>
25868         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25869         access the quad as both a long double and as a series of 4 words.
25871         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25872         link_map->l_info array access.
25874 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25876         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25878         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25879         * math/atest-exp2.c (TIMEOUT): Likewise.
25880         * math/atest-sincos.c (TIMEOUT): Likewise.
25882 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25884         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25885         -Wno-error with -fno-builtin-lround.
25887 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25889         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25890         Contains futex constants and functions moved over from ...
25891         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25892         <lowlevellock-futex.h>.
25893         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25894         (lll_timedwait_tid): Add comments and parentheses around macro
25895         arguments.
25897 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25900         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25901         (__lll_private_flag): Remove.
25902         (lll_futex_wait): Likewise.
25903         (lll_futex_timed_wait): Likewise.
25904         (lll_futex_wake): Likewise.
25905         (lll_futex_requeue): Likewise.
25906         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25907         (__lll_timedwait_tid): Spell out argument names.
25908         (lll_timedwait_tid): Add comments and parentheses around macro
25909         arguments.
25910         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25911         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25913 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25915         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25916         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25917         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25918         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25919         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25920         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25921         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25922         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25923         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25924         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25925         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25926         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25927         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25928         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25929         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25930         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25931         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25932         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25933         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25935 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25937         * sysdeps/x86_64/x32/Makefile: New file.
25939 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25941         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25942         1L with (mp_limb_t) 1.
25944 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25946         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25947         * nptl/libc_pthread_init.c: ... here.
25948         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25949         * nptl/register-atfork.c: ... here.
25951         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25952         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25953         Use assert_perror to check its return value.
25954         (__gai_create_helper_thread): Likewise.
25956         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25958         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25960 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25962         [BZ #17725]
25963         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25964         __profil_counter.
25965         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25966         Likewise.
25967         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25968         Likewise.
25969         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25970         Likewise.
25971         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25972         (profil_counter): Likewise.
25973         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25974         (profil_counter): Likewise.
25975         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25976         Likewise.
25977         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25978         Likewise.
25979         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25980         (profil_counter): Likewise.
25981         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25982         Likewise.
25983         [!__profil_counter] (profil_counter): Define as weak alias of
25984         __profil_counter.
25985         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25986         (profil_counter): Rename to __profil_counter.
25987         [!__profil_counter] (profil_counter): Define as weak alias of
25988         __profil_counter.
25989         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25990         (profil_counter): Rename to __profil_counter.
25991         [!__profil_counter] (profil_counter): Define as weak alias of
25992         __profil_counter.
25993         * sysdeps/posix/profil.c: Update comment referring to
25994         profil_counter.
25995         (__profil): Use __profil_counter instead of profil_counter.
25996         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25997         __profil_counter.  Use __profil_counter_ushort and
25998         __profil_counter_uint in definitions.
25999         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26000         instead of profil_counter_uint and profil_counter_ushort.
26002         [BZ #17722]
26003         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26004         define as weak alias of __inet_makeaddr.
26005         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26006         as weak alias of __inet_addr.
26007         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26008         as weak alias of __inet_pton.  Use libc_hidden_weak.
26009         * include/arpa/inet.h (__inet_pton): Declare.  Use
26010         libc_hidden_proto.
26011         (inet_makeaddr): Don't use libc_hidden_proto.
26012         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26013         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26014         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26015         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26016         Remove variable.
26017         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26018         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26020 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26022         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26024 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26026         * stdio-common/bug-vfprintf-nargs.c (do_test):
26027         Cast value to intptr_t to avoid format warning
26028         for usage with PRIdPTR printing macro.
26030 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26032         * libio/tst-widetext.c (do_test):
26033         Use format type %td instead of %Zd for ptrdiff_t
26034         in order to avoid format warning.
26036 2014-12-17  Andreas Schwab  <schwab@suse.de>
26038         * nscd/mem.c (gc): Add size_t cast to match printf format.
26040 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26042         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26043         (init): Apply PTR_MANGLE to pointers before storing them.
26044         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26045         before using them.
26047 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26049         [BZ #17719]
26050         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26051         define as weak alias of __memrchr.
26052         (__memrchr): Do not define as strong alias of memrchr.
26053         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26054         Remove variable.
26055         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26056         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26057         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26059         [BZ #17717]
26060         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26061         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26062         (if_indextoname): Rename to __if_indextoname and define as weak
26063         alias of __if_indextoname.  Use libc_hidden_weak.
26064         (if_freenameindex): Rename to __if_freenameindex and define as
26065         weak alias of __if_freenameindex.
26066         (if_nameindex): Rename to __if_nameindex and define as weak alias
26067         of __if_nameindex.
26068         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26069         __if_nametoindex and define as weak alias of __if_nametoindex.
26070         Use libc_hidden_weak.
26071         (if_freenameindex): Rename to __if_freenameindex and define as
26072         weak alias of __if_freenameindex.
26073         (if_nameindex): Rename to __if_nameindex and define as weak alias
26074         of __if_nameindex.
26075         (if_indextoname): Rename to __if_indextoname and define as weak
26076         alias of __if_indextoname.  Use libc_hidden_weak.
26077         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26078         __if_nametoindex and define as weak alias of __if_nametoindex.
26079         Use libc_hidden_weak.
26080         (if_freenameindex): Rename to __if_freenameindex and define as
26081         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26082         (if_nameindex_netlink): Use __if_freenameindex instead of
26083         if_freenameindex.
26084         (if_nameindex): Rename to __if_nameindex and define as weak alias
26085         of __if_nameindex.  Use libc_hidden_weak.
26086         (if_indextoname): Rename to __if_indextoname and define as weak
26087         alias of __if_indextoname.  Use libc_hidden_weak.
26088         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26089         libc_hidden_proto.
26090         [!_ISOMAC] (__if_freenameindex): Likewise.
26091         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26092         if_nametoindex.
26093         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26094         variable.
26095         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26096         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26097         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26098         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26099         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26100         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26101         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26103         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26104         Remove variable.
26105         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26106         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26108 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26110         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26111         subscript above bounds'
26113         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26114         bounds.
26116 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26118         * libio/tst-fopenloc.c: Use test-skeleton.c.
26120         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26121         (entry): Rename to ITEM.
26122         (do_test, comp): Adjust.
26124         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26126 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26128         * string/tester.c: Include <libc-internal.h>.
26129         (test_memset): Ignore -Wmemset-transposed-args.
26131 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26133         * misc/tst-mntent2.c (do_test): Fix warning.
26135 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26137         * elf/tst-unique4lib.cc(a): Mark as used.
26139 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26141         [BZ #17630]
26142         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26143         names.
26145 2014-12-16  Allan McRae  <allan@archlinux.org>
26147         * stdio-common/Makefile (tests): Re-add bug26.
26149 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26151         [BZ #17657]
26152         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26153         static array.
26155 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26157         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26158         (__lll_lock_wait): Likewise.
26159         (__lll_timedlock_wait): Likewise.
26160         (__lll_timedwait_tid): Likewise.
26161         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26162         (__lll_robust_timedlock_wait): Likewise.
26163         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26164         (lll_cond_trylock): Likewise.
26165         (__lll_lock): Likewise.
26166         (__lll_robust_lock): Likewise.
26167         (__lll_cond_lock): Likewise.
26168         (lll_robust_cond_lock): Likewise.
26169         (__lll_timedlock): Likewise.
26170         (__lll_robust_timedlock): Likewise.
26171         (__lll_unlock): Likewise.
26172         (__lll_robust_unlock): Likewise.
26173         (lll_wait_tid): Likewise.
26174         (lll_timedwait_tid): Likewise.
26176 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26178         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26180 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26182         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26184 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26186         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26187         * stdio-common/tst-sprintf.c: Likewise.
26189 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26191         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26193 2014-12-15  Jeff Law  <law@redhat.com>
26195         [BZ #16617]
26196         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26197         on the heap.  (CVE-2012-3406)
26198         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26199         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26200         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26202 2014-12-15  Will Newton  <will.newton@linaro.org>
26204         * manual/install.texi: Bump required version of texinfo
26205         to 4.7 from 4.5.
26206         * INSTALL: Regenerated.
26207         * configure.ac: Check for makeinfo version 4.7 and above.
26208         * configure: Regenerated.
26210 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26212         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26213         PREFIX, string constant to insert between directory and name.
26214         * sysdeps/posix/shm_open.c: Update caller.
26215         * sysdeps/posix/shm_unlink.c: Likewise.
26216         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26217         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26218         (SEM_SHM_PREFIX): New macro.
26219         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26220         [$(have-thread-library) = no].
26221         * nptl/Makefile (libpthread-routines): Add shm-directory.
26222         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26223         * sysdeps/nptl/shm-directory.h: New file.
26224         * sysdeps/posix/shm-directory.c
26225         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26226         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26227         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26228         INTERNAL_SYSCALL.
26229         (__where_is_shmfs): Function removed.
26230         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26231         Variables removed.
26232         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26233         Use SHM_GET_NAME.
26234         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26236         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26237         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26238         unconditional for use inside libpthread.
26239         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26241 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26243         * nptl/pthread_getaffinity.c: New file.
26244         * nptl/pthread_setaffinity.c: New file.
26245         * nptl/pthread_getname.c: New file.
26246         * nptl/pthread_setname.c: New file.
26248         * nptl/pthread_create.c (START_THREAD_DEFN)
26249         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26251 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26252             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26254         * resolv/res_send.c (send_vc): Disable warning resplen may
26255         be used uninitialized.
26257 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26259         * nptl/tst-mutex6.c
26260         (ATTR_NULL): New define checks ATTR against NULL.
26261         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26262         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26264 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26266         [BZ #17581]
26267         * malloc/hooks.c
26268         (mem2mem_check): Revert my previous change.
26269         (malloc_check_get_size): Revert my previous change.
26270         (mem2chunk_check): Revert my previous change.
26272 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26274         * sysdeps/posix/shm-directory.c: New file.
26275         * sysdeps/posix/shm-directory.h: New file.
26276         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26277         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26278         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26279         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26280         Transmute EPERM to EACCES.
26281         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26282         from ...
26283         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26284         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26286 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26288         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26289         pointer and cast to uintptr_t.
26290         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26291         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26292         Add cast to avoid warning.
26293         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26295 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26297         * nptl/semaphore.h: Move to ...
26298         * sysdeps/pthread/semaphore.h: ... here.
26299         * Makefile (installed-headers): Change nptl/semaphore.h to
26300         sysdeps/pthread/semaphore.h.
26302 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26304         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26305         generated error format strings.
26307         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26308         -Wformat-extra-args warnings for scanf formats.
26309         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26310         test of zero-length format (duh).
26311         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26312         corner-case scanf format test.
26313         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26314         generated fprintf format string.
26315         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26316         corner-case sprintf format tests.
26317         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26318         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26319         -Wformat-extra-args warnings throughout.
26320         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26321         (CFLAGS-scanf4.c): Likewise.
26322         (CFLAGS-scanf7.c): Likewise.
26323         (CFLAGS-tst-sprintf.c): Likewise.
26324         (CFLAGS-tst-printf.c): Likewise.
26325         (CFLAGS-tst-printfsz.c): Likewise.
26327 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26329         * include/cpio.h: New file.
26330         * include/fmtmsg.h: Likewise.
26332         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26333         corresponding format argument to size_t.
26334         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26335         arguments.
26336         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26337         corresponding format argument to size_t.
26338         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26339         arguments.
26340         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26341         corresponding format argument to size_t.
26342         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26343         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26344         (CFLAGS-tst-mbswcs2.c): Likewise.
26345         (CFLAGS-tst-mbswcs3.c): Likewise.
26346         (CFLAGS-tst-mbswcs4.c): Likewise.
26347         (CFLAGS-tst-mbswcs5.c): Likewise.
26348         (CFLAGS-tst-trans.c): Likewise.
26350 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26352         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26353         rather than assuming they won't contain any '%'s.
26355 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26357         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26358         inhibit_loop_to_libcall to avoid recursive calls.
26359         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26360         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26362 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26364         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26365         prototype.
26367 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26369         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26370         integer value instead of boolean.
26372 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26374         * malloc/malloc.c: Fix powerof2 check.
26376 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26378         * locale/programs/locfile.h (maybe_swap_uint32):
26379         Remove inline and add unused attribute.
26381 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26384         Truncating assembler expression to a .long expression.
26386 2014-12-11  Andreas Schwab  <schwab@suse.de>
26388         * elf/rtld.c (struct map_args): Constify str member.
26389         (do_preload): Constify fname argument.
26391 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26394         constants definition.
26396 2014-12-11  Andreas Schwab  <schwab@suse.de>
26398         [BZ #16657]
26399         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26400         FORCE_ELISION instead of DO_ELISION.
26401         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26402         Remove.
26403         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26404         Likewise.
26406         * iconvdata/gconv-modules: Remove duplicate entry.
26408 2014-12-11  Will Newton  <will.newton@linaro.org>
26410         Merge gettext 0.19.3 into intl/.
26412         This involves a number of cosmetic changes to comments
26413         and ANSI function definitions and prototypes throughout
26414         all the files. The gettext copyright header is used but
26415         with the date ranges taken from the glibc copy.
26417         * NEWS: Add gettext merge to 2.21.
26418         * intl/bindtextdom.c: Switch to gettext copyright.
26419         Use ANSI definitions and prototypes.
26420         Use gl_* locking primitives rather than __libc_* ones.
26421         Use __builtin_expect rather than __glibc_likely/unlikely.
26422         * intl/dcgettext.c: Switch to gettext copyright.
26423         Use ANSI definitions and prototypes.
26424         * intl/dcigettext.c: Switch to gettext copyright.
26425         Use ANSI definitions and prototypes.
26426         (INTDIV0_RAISES_SIGFPE): New define.
26427         Use gl_* locking primitives rather than __libc_* ones.
26428         Include eval-plural.h instead of plural-eval.c.
26429         Use __builtin_expect rather than __glibc_likely/unlikely.
26430         * intl/dcngettext.c: Switch to gettext copyright.
26431         Use ANSI definitions and prototypes.
26432         * intl/dgettext.c: Likewise.
26433         * intl/dngettext.c: Likewise.
26434         * intl/plural-eval.c: Renamed to...
26435         * intl/eval-plural.h: ...this.
26436         * intl/explodename.c: Switch to gettext copyright.
26437         Use ANSI definitions and prototypes.
26438         (_nl_explode_name): Use strchr instead of __rawmemchr.
26439         * intl/finddomain.c: Switch to gettext copyright.
26440         Use ANSI definitions and prototypes.
26441         Use gl_* locking primitives rather than __libc_* ones.
26442         (_nl_find_domain): Use malloc rather than alloca for
26443         allocation of temporary locale name.
26444         * intl/gettext.c: Switch to gettext copyright.
26445         Use ANSI definitions and prototypes.
26446         * intl/gettextP.h: Switch to gettext copyright.
26447         Use ANSI definitions and prototypes.
26448         Use gl_* locking primitives rather than __libc_* ones.
26449         * intl/gmo.h: Switch to gettext copyright.
26450         (struct sysdep_string): Move struct segment_pair outside of
26451         struct definition.
26452         * intl/hash-string.c: Use ANSI definitions and prototypes.
26453         * intl/hash-string.h: Switch to gettext copyright.
26454         Use ANSI definitions and prototypes.
26455         * intl/l10nflist.c: Switch to gettext copyright.
26456         Use ANSI definitions and prototypes.
26457         (_nl_normalize_codeset): Avoid integer overflow.
26458         * intl/loadinfo.h: Switch to gettext copyright.
26459         Use ANSI definitions and prototypes.
26460         (LIBINTL_DLL_EXPORTED): New define.
26461         (PATH_SEPARATOR): New define.
26462         * intl/loadmsgcat.c: Switch to gettext copyright.
26463         * intl/localealias.c: Switch to gettext copyright.
26464         Use ANSI definitions and prototypes.
26465         (_nl_expand_alias): Use PATH_SEPARATOR.
26466         * intl/ngettext.c: Switch to gettext copyright.
26467         Use ANSI definitions and prototypes.
26468         * intl/plural-exp.c: Likewise.
26469         * intl/plural-exp.h: Switch to gettext copyright.
26470         Use ANSI definitions and prototypes.
26471         (struct expression): Move definition of enum operator outside
26472         of struct definition.
26473         * intl/plural.c: Regenerate.
26474         * intl/plural.y: Switch to gettext copyright.
26475         Use ANSI definitions and prototypes.
26476         Port to bison 3.0.
26477         * intl/textdomain.c: Switch to gettext copyright.
26478         Use ANSI definitions and prototypes.
26479         Use gl_* locking primitives rather than __libc_* ones.
26481 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26483         * debug/warning-nop.c: Add used atrribute.
26485 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26487         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26489         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26490         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26491         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26493 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26494             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26496         [BZ #17634]
26497         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26498         Undefine after defining function.  Define as weak alias of
26499         __wcschr.  Use libc_hidden_weak.
26500         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26501         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26502         (libc_hidden_def): Also define __GI___wcschr alias.
26503         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26504         __wcschr and define as weak alias of __wcschr.
26505         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26506         __wcschr.
26507         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26508         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26509         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26510         libc_hidden_weak.  Do not use libc_hidden_def.
26511         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26512         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26513         __GI___wcschr alias.
26514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26515         [IS_IN (libc)] (wcschr): Define as macro expanding to
26516         __redirect_wcschr.
26517         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26518         [IS_IN (libc)] (__wcschr_power6): Likewise.
26519         [IS_IN (libc)] (__wcschr_power7): Likewise.
26520         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26521         instead of wcschr.
26522         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26523         __libc_wcschr.
26524         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26525         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26526         __wcschr and define as weak alias of __wcschr.  Use
26527         libc_hidden_builtin_def.
26528         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26529         as weak alias of __wcschr.  Use libc_hidden_weak.
26530         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26531         wcschr.
26532         * time/era.c (_nl_init_era_entries): Likewise.
26533         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26534         variable.
26535         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26536         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26538 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26540         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26541         format for long int variable.
26543 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26545         [BZ #10672]
26546         * manual/search.texi: (Array Sort Function): Remove claim how to make
26547         qsort stable.
26549 2014-12-10  Andreas Schwab  <schwab@suse.de>
26551         [BZ #12847]
26552         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26553         user-controlled locks.
26555 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26557         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26558         register.
26560 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26562         * configure.ac (--disable-werror): New configure option.
26563         (enable_werror): New AC_SUBST.
26564         * configure: Regenerated.
26565         * config.make.in (enable-werror): New variable.
26566         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26567         -Wno-error=undef.
26568         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26569         * manual/install.texi (Configuring and compiling): Document
26570         --disable-werror.
26571         * INSTALL: Regenerated.
26572         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26573         (CFLAGS-tst-chk2.c): Likewise.
26574         (CFLAGS-tst-chk3.c): Likewise.
26575         (CFLAGS-tst-chk4.cc): Likewise.
26576         (CFLAGS-tst-chk5.cc): Likewise.
26577         (CFLAGS-tst-chk6.cc): Likewise.
26578         (CFLAGS-tst-lfschk1.c): Likewise.
26579         (CFLAGS-tst-lfschk2.c): Likewise.
26580         (CFLAGS-tst-lfschk3.c): Likewise.
26581         (CFLAGS-tst-lfschk4.cc): Likewise.
26582         (CFLAGS-tst-lfschk5.cc): Likewise.
26583         (CFLAGS-tst-lfschk6.cc): Likewise.
26585         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26586         (main): Disable -Wdeprecated-declarations around calls to
26587         register_printf_function.
26589         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26590         (do_test): Disable -Wdiv-by-zero around some calls to
26591         fwrite_unlocked and fread_unlocked.
26593         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26594         (DIAG_POP_NEEDS_COMMENT): Likewise.
26595         (_DIAG_STR1): Likewise.
26596         (_DIAG_STR): Likewise.
26597         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26598         * stdio-common/bug21.c: Include <libc-internal.h>.
26599         (do_test): Disable -Wformat around call to sscanf.
26600         * stdio-common/scanf14.c: Include <libc-internal.h>.
26601         (main): Disable -Wformat around some calls to scanf functions.
26603 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26605         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26607 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26609         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26610         stack variable alignment.
26612 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26614         [BZ #17682]
26615         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26616         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26617         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26618         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26619         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26620         __getrlimit instead of getrlimit.
26621         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26622         __gettimeofday instead of gettimeofday.
26623         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26624         Likewise.
26625         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26626         Likewise.
26627         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26628         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26629         Remove variable.
26630         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26631         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26633 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26635         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26636         for wide-character tests.
26638 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26640         * io/openat64.c: #include <libc-internal.h>
26641         (__openat64): Prototypify.  Use ignore_value on MODE.
26642         * io/openat.c: Likewise.
26643         * misc/reboot.c: #include <libc-internal.h>
26644         (reboot): Prototypify.  Use ignore_value on HOWTO.
26645         * misc/ptrace.c: #include <libc-internal.h>
26646         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26648 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26650         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26651         XPG4, UNIX98 and XOPEN2K.
26652         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26653         Remove variable.
26654         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26656 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26658         * libio/fileops.c: Use ISO C style for function definitions.
26659         * libio/iofopen.c: Likewise.
26660         * libio/wfileops.c: Likewise.
26662         [BZ #17653]
26663         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26664         offset on EOF.
26665         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26666         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26667         (fgets_func): Function pointer to fgets and fgetws.
26668         (do_ftell_test): Add test to verify ftell value after read
26669         EOF.
26670         (do_test): Set fgets_func.
26672         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26673         O_TRUNC flag for w and w+ modes.
26674         (do_rewind_test): Likewise.
26675         (do_ftell_test): Likewise.
26676         (do_write_test): Likewise.
26678         [BZ #17647]
26679         * libio/fileops.c (do_ftell): Seek only when there are
26680         unflushed writes.
26681         * libio/wfileops.c (do_ftell_wide): Likewise.
26682         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26683         test case.
26684         (do_one_test): Call it.
26686 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26688         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26689         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26690         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26691         Remove variable.
26692         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26693         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26694         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26696 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26698         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26699         Remove variable.
26700         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26702         [BZ #17668]
26703         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26704         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26705         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26706         __freeifaddrs.  Use libc_hidden_weak.
26707         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26708         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26709         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26710         __freeifaddrs.  Use libc_hidden_weak.
26711         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26712         __getifaddrs and define as weak alias of __getifaddrs.  Use
26713         libc_hidden_weak.
26714         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26715         __freeifaddrs.  Use libc_hidden_weak.
26716         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26717         Remove variable.
26718         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26719         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26721 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26723         [BZ #17601]
26724         * sysdeps/mips/start.S (__start): Use indirect jump to call
26725         __libc_start_main.
26727 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26729         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26731         * nptl/tst-mutex1.c: Include <stdbool.h>.
26732         [!ATTR] (ATTR_NULL): New macro.
26733         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26734         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26735         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26737         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26738         to char *.
26740         [BZ #17665]
26741         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26742         Change conditional to [__USE_MISC].
26744         [BZ #17664]
26745         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26746         fgets_unlocked.
26747         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26748         __fgets_unlocked.
26749         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26750         fgets_unlocked.
26751         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26752         Remove variable.
26753         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26754         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26755         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26756         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26757         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26758         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26759         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26760         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26761         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26763         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26765 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26768         Remove strpbrk objects.
26769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26770         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26771         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26772         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26773         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26774         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26777         Remove strcspn objects.
26778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26779         (__libc_ifunc_impl_list): Remove strcspn implementation.
26780         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26781         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26782         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26783         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26786         Remove strspn objetcs.
26787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26788         (__libc_ifunc_impl_list): Remove strspn implementation.
26789         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26790         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26791         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26792         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26794 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26796         [BZ #17581]
26797         * malloc/hooks.c
26798         (mem2mem_check): Add a terminator to the chain of checking blocks.
26799         (malloc_check_get_size): Use it here.
26800         (mem2chunk_check): Ditto.
26802 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26804         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26805         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26807 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26809         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26811         * nptl/nptl-init.c: Include libc-internal.h.
26812         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26814         * elf/ldconfig.c (search_dir): Expand comment.
26816 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26818         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26819         variable.
26820         (linknamespace-symlist-stdlibs-tests): Likewise.
26821         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26822         instead of $(objpfx)symlist-stdlibs.
26823         (linknamespace-libs-isoc): New variable.
26824         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26825         (linknamespace-libs-ISO): New variable.
26826         (linknamespace-libs-ISO99): Likewise.
26827         (linknamespace-libs-ISO11): Likewise.
26828         (linknamespace-libs-XPG3): Likewise.
26829         (linknamespace-libs-XPG4): Likewise.
26830         (linknamespace-libs-POSIX): Likewise.
26831         (linknamespace-libs-UNIX98): Likewise.
26832         (linknamespace-libs-XOPEN2K): Likewise.
26833         (linknamespace-libs-POSIX2008): Likewise.
26834         (linknamespace-libs-XOPEN2K8): Likewise.
26835         ($(objpfx)symlist-stdlibs): Replace by
26836         $(linknamespace-symlist-stdlibs-tests).  Use
26837         $(linknamespace-libs-$*) as set of libraries.
26838         ($(linknamespace-header-tests)): Update dependencies.  Use
26839         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26840         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26841         * conform/linknamespace.pl: Remove comment about considering
26842         definitions of symbols from irrelevant libraries.
26844 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26846         [BZ #13862]
26847         * elf/dl-tls.c: Include <atomic.h>.
26848         (oom): Remove #ifdef SHARED/#endif.
26849         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26850         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26851         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26852         big enough.
26853         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26854         * nptl/Makefile (tests): Add tst-stack4.
26855         (modules-names): Add tst-stack4mod.
26856         ($(objpfx)tst-stack4): New.
26857         (tst-stack4mod.sos): Likewise.
26858         ($(objpfx)tst-stack4.out): Likewise.
26859         ($(tst-stack4mod.sos)): Likewise.
26860         (clean): Likewise.
26861         * nptl/tst-stack4.c: New file.
26862         * nptl/tst-stack4mod.c: Likewise.
26864 2014-11-27  J. Brown  <jb999@gmx.de>
26866         * sysdeps/x86/bits/string.h: Add recent CPUs.
26868 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26870         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26871         sigblock.
26873         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26874         feof.
26876         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26877         variable.
26879 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26881         * nscd/connections.c: Include libc-internal.h because of macro
26882         usage ignore_value.
26884 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26886         * string/bits/string3.h (__warn_memset_zero_len): Don't
26887         declare for gcc newer than 5.0.
26888         (memset): Don't test for zero-length __LEN for gcc newer than
26889         5.0.
26891 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26893         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26894         size_t for %zu format.
26896         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26897         difference, not %ju.
26899 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26901         * include/libc-internal.h (ignore_value): New macro.
26902         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26903         with ignore_value.
26905         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26906         definition.
26908         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26909         pthread_cleanup_push to void *.
26911         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26912         Undefine.
26914         [BZ #16619]
26915         [BZ #16740]
26916         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26917         instead of 1L << 52.
26919         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26920         * libio/bug-rewind2.c (do_test): Likewise.
26922         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26923         * debug/test-strcpy_chk-ifunc.c: Likewise.
26924         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26925         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26926         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26927         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26928         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26929         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26930         * Rules [$(multi-arch) = no] (tests): Do not filter out
26931         $(tests-ifunc).
26932         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26933         * debug/Makefile (tests-ifunc): Remove variable.
26934         (tests): Do not add $(tests-ifunc).
26935         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26936         (tests): Do not add $(tests-ifunc).
26937         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26938         [TEST_IFUNC]: Remove conditionals.
26939         * string/test-string.h (TEST_IFUNC): Remove macro.
26940         [TEST_IFUNC]: Remove conditionals.
26942         * string/test-strchr.c [!WIDE] (L): New macro.
26943         [WIDE] (L): Likewise.
26944         (check1): Use CHAR instead of char.  Use L on string and character
26945         constants.
26947 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26949         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26950         tests.
26951         * sysdeps/powerpc/bits/atomic.h
26952         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26953         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26954         (atomic_exchange_and_add_acq): Likewise.
26955         (atomic_exchange_and_add_rel): Likewise.
26956         * sysdeps/powerpc/powerpc32/bits/atomic.h
26957         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26958         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26959         * sysdeps/powerpc/powerpc64/bits/atomic.h
26960         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26961         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26963 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26965         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26966         Change synchronization of __sched_fifo_min_prio and
26967         __sched_fifo_max_prio.
26968         * nptl/pthread_mutexattr_getprioceiling.c
26969         (pthread_mutexattr_getprioceiling): Likewise.
26970         * nptl/pthread_mutexattr_setprioceiling.c
26971         (pthread_mutexattr_setprioceiling): Likewise.
26972         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26973         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26974         Likewise.
26976 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26978         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26979         void.
26981 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26983         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26984         third argument const.
26986 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26988         fnmatch: work around GCC compiler warning bug with uninit var
26989         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26990         This works around a bug with x86-64 GCC 4.9.2 and earlier
26991         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26992         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26993         used uninitialized in this function [-Wmaybe-uninitialized]".
26995 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26997         * posix/bug-regex31.c (main): Return RES not 0.
26999 2014-11-25  Anton Blanchard <anton@samba.org>
27001         * sysdeps/powerpc/bits/atomic.h
27002         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27004 2014-11-24  Sterling Augustine  <saugustine@google.com>
27006         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27008 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27010         [BZ #17608]
27011         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27013 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27015         [BZ #17633]
27016         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27017         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27018         variable.
27019         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27020         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27022 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27024         * string/strncpy.c (strncpy): Improve performance by using memset.
27026 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27028         * string/strcpy.c (strcpy):
27029         Improve performance by using strlen and memcpy.
27031 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27033         * string/strcoll_l.c (get_next_seq): __always_inline.
27034         * string/strcoll_l.c (do_compare): __always_inline.
27036 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27038         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27039         defined.
27040         * include/mqueue.h: Likewise.
27041         * include/stdlib.h: Likewise.
27043         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27044         (get_null_defines): Adjust.
27045         * sunrpc/Makefile: Adjust comment.
27046         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27047         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27048         (CFLAGS-interp.c): Likewise.
27049         (CFLAGS-ldconfig.c): Likewise.
27050         (CPPFLAGS-.os): Likewise.
27051         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27052         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27053         * extra-modules.mk (extra-modules.mk): Likewise.
27054         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27055         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27056         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27057         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27058         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27059         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27060         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27061         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27062         * iconvdata/Makefile (CPPFLAGS): Likewise.
27063         (cpp-srcs-left): Add libof for all iconvdata routines.
27064         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27065         * include/assert.h: Likewise.
27066         * include/ctype.h: Likewise.
27067         * include/errno.h: Likewise.
27068         * include/libc-symbols.h: Likewise.
27069         * include/math.h: Likewise.
27070         * include/netdb.h: Likewise.
27071         * include/resolv.h: Likewise.
27072         * include/stdio.h: Likewise.
27073         * include/stdlib.h: Likewise.
27074         * include/string.h: Likewise.
27075         * include/sys/stat.h: Likewise.
27076         * include/wctype.h: Likewise.
27077         * intl/l10nflist.c: Likewise.
27078         * libidn/idn-stub.c: Likewise.
27079         * libio/libioP.h: Likewise.
27080         * nptl/libc_multiple_threads.c: Likewise.
27081         * nptl/pthreadP.h: Likewise.
27082         * posix/regex_internal.h: Likewise.
27083         * resolv/res_hconf.c: Likewise.
27084         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27085         * sysdeps/arm/memmove.S: Likewise.
27086         * sysdeps/arm/sysdep.h: Likewise.
27087         * sysdeps/generic/_itoa.h: Likewise.
27088         * sysdeps/generic/symbol-hacks.h: Likewise.
27089         * sysdeps/gnu/errlist.awk: Likewise.
27090         * sysdeps/gnu/errlist.c: Likewise.
27091         * sysdeps/i386/i586/memcpy.S: Likewise.
27092         * sysdeps/i386/i586/memset.S: Likewise.
27093         * sysdeps/i386/i686/memcpy.S: Likewise.
27094         * sysdeps/i386/i686/memmove.S: Likewise.
27095         * sysdeps/i386/i686/mempcpy.S: Likewise.
27096         * sysdeps/i386/i686/memset.S: Likewise.
27097         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27098         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27099         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27100         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27101         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27102         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27103         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27104         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27105         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27107         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27108         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27109         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27110         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27111         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27112         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27113         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27114         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27115         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27116         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27117         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27118         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27119         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27120         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27121         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27122         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27123         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27124         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27125         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27126         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27127         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27128         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27130         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27132         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27133         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27134         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27135         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27136         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27137         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27138         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27139         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27140         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27141         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27142         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27143         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27144         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27145         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27146         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27147         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27148         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27149         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27150         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27151         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27152         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27153         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27154         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27155         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27157         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27158         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27159         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27160         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27161         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27162         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27163         * sysdeps/posix/closedir.c: Likewise.
27164         * sysdeps/posix/opendir.c: Likewise.
27165         * sysdeps/posix/readdir.c: Likewise.
27166         * sysdeps/posix/rewinddir.c: Likewise.
27167         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27169         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27170         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27171         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27173         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27177         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27178         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27179         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27181         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27182         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27183         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27184         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27185         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27186         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27188         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27189         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27190         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27195         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27203         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27204         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27205         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27206         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27207         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27208         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27209         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27211         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27212         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27213         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27215         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27216         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27217         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27218         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27219         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27221         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27224         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27225         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27226         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27227         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27230         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27231         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27232         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27233         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27234         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27235         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27236         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27237         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27238         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27239         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27240         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27241         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27242         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27243         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27244         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27245         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27246         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27247         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27248         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27249         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27250         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27251         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27252         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27253         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27254         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27255         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27257         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27258         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27259         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27262         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27263         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27265         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27266         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27267         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27268         * sysdeps/unix/alpha/sysdep.S: Likewise.
27269         * sysdeps/unix/alpha/sysdep.h: Likewise.
27270         * sysdeps/unix/make-syscalls.sh: Likewise.
27271         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27273         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27274         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27275         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27276         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27277         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27278         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27279         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27280         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27282         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27284         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27285         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27286         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27287         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27288         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27289         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27290         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27291         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27292         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27293         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27294         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27295         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27296         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27300         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27301         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27305         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27309         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27310         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27311         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27312         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27313         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27314         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27315         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27318         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27321         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27322         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27323         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27324         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27325         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27327         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27328         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27329         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27330         * sysdeps/x86_64/memcpy.S: Likewise.
27331         * sysdeps/x86_64/memmove.c: Likewise.
27332         * sysdeps/x86_64/memset.S: Likewise.
27333         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27334         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27335         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27336         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27337         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27339         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27340         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27341         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27342         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27343         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27344         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27345         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27348         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27349         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27350         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27351         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27352         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27353         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27354         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27355         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27356         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27357         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27358         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27359         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27360         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27361         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27362         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27363         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27364         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27365         * sysdeps/x86_64/strcmp.S: Likewise.
27367         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27369         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27370         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27371         * elf/rtld-Rules: Likewise.
27372         * elf/setup-vdso.h: Likewise.
27373         * include/assert.h: Likewise.
27374         * include/bits/stdlib-float.h: Likewise.
27375         * include/errno.h: Likewise.
27376         * include/sys/stat.h: Likewise.
27377         * include/unistd.h: Likewise.
27378         * sysdeps/aarch64/setjmp.S: Likewise.
27379         * sysdeps/alpha/setjmp.S: Likewise.
27380         * sysdeps/arm/__longjmp.S: Likewise.
27381         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27382         * sysdeps/arm/setjmp.S: Likewise.
27383         * sysdeps/arm/sysdep.h: Likewise.
27384         * sysdeps/generic/_itoa.h: Likewise.
27385         * sysdeps/generic/dl-sysdep.h: Likewise.
27386         * sysdeps/generic/ldsodefs.h: Likewise.
27387         * sysdeps/i386/dl-tls.h: Likewise.
27388         * sysdeps/i386/setjmp.S: Likewise.
27389         * sysdeps/m68k/setjmp.c: Likewise.
27390         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27391         * sysdeps/mach/hurd/opendir.c: Likewise.
27392         * sysdeps/posix/getcwd.c: Likewise.
27393         * sysdeps/posix/opendir.c: Likewise.
27394         * sysdeps/posix/profil.c: Likewise.
27395         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27396         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27397         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27398         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27399         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27400         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27401         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27402         * sysdeps/s390/dl-tls.h: Likewise.
27403         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27404         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27405         * sysdeps/sh/sh3/setjmp.S: Likewise.
27406         * sysdeps/sh/sh4/setjmp.S: Likewise.
27407         * sysdeps/unix/alpha/sysdep.h: Likewise.
27408         * sysdeps/unix/arm/sysdep.S: Likewise.
27409         * sysdeps/unix/i386/sysdep.S: Likewise.
27410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27411         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27412         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27413         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27414         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27415         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27416         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27417         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27418         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27419         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27420         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27421         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27428         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27429         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27433         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27434         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27437         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27438         * sysdeps/x86_64/setjmp.S: Likewise.
27440         * include/math.h: Use IS_IN instead of IS_IN_libm.
27441         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27442         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27443         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27444         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27453         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27456         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27457         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27459         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27460         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27461         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27462         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27463         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27464         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27465         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27466         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27467         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27468         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27469         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27470         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27471         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27472         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27473         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27475         Likewise.
27476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27477         Likewise.
27478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27479         Likewise.
27480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27481         Likewise.
27482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27483         Likewise.
27484         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27485         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27486         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27487         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27488         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27489         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27495         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27496         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27497         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27498         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27499         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27500         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27501         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27502         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27503         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27504         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27506         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27507         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27508         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27510         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27512         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27513         * nptl/pthreadP.h: Likewise.
27514         * nptl_db/structs.def: Likewise.
27515         * sysdeps/arm/sysdep.h: Likewise.
27516         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27517         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27518         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27519         * sysdeps/unix/alpha/sysdep.h: Likewise.
27520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27522         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27523         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27524         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27525         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27527         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27528         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27529         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27530         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27531         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27532         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27533         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27538         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27541         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27542         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27543         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27544         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27545         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27547         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27548         * nptl/pthreadP.h: Likewise.
27549         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27550         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27551         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27552         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27553         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27554         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27555         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27556         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27557         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27558         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27559         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27560         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27562         Likewise.
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27564         Likewise.
27565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27567         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27570         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27571         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27572         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27574         * dlfcn/dladdr.c: Use IS_IN.
27575         * dlfcn/dladdr1.c: Likewise.
27576         * dlfcn/dlclose.c: Likewise.
27577         * dlfcn/dlerror.c: Likewise.
27578         * dlfcn/dlinfo.c: Likewise.
27579         * dlfcn/dlmopen.c: Likewise.
27580         * dlfcn/dlopen.c: Likewise.
27581         * dlfcn/dlsym.c: Likewise.
27582         * dlfcn/dlvsym.c: Likewise.
27584         * include/ifaddrs.h: Use IS_IN.
27585         * inet/check_pf.c: Likewise.
27586         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27587         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27589         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27590         IS_IN_ldconfig.
27591         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27592         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27594         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27595         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27596         IS_IN (libc).
27598         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27600         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27601         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27602         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27603         * include/libc-symbols.h (IS_IN_LIB): New macro.
27604         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27605         * include/netdb.h: Likewise.
27606         * include/stap-probe.h: Remove all uses of IN_LIB.
27608         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27609         instead of IN_MODULE.
27610         * include/libc-symbols.h (IN_MODULE): Define using
27611         MODULE_NAME.
27612         (PASTE_NAME, PASTE_NAME1): New macros.
27613         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27614         of IN_LIB.
27615         (STAP_PROBE_ASM): Likewise.
27617 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27619         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27620         __mach_init in dlopened libc.
27622 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27624         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27625         * sysdeps/arm/preconfigure: Regenerate.
27627 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27629         * nptl/pthread_create.c (__pthread_create_2_1): Set
27630         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27631         when copying values from IATTR into PD.
27633 2014-11-21  Will Newton  <will.newton@linaro.org>
27634             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27636         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27637         Refactor inline-asm.  Also add comment.
27639         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27640         ElfW macro instead of hardcoded Elf64 types.
27641         (la_aarch64_gnu_pltenter): Likewise.
27642         * sysdeps/aarch64/dl-machine.h
27643         (elf_machine_runtime_setup): Use ElfW(Addr).
27645         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27646         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27647         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27648         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27649         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27650         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27651         (R_AARCH64_TLS_DTPMOD): This.
27652         (R_AARCH64_TLS_DTPREL64): Rename to ...
27653         (R_AARCH64_TLS_DTPREL): This.
27654         (R_AARCH64_TLS_TPREL64): Rename to ...
27655         (R_AARCH64_TLS_TPREL): This.
27656         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27657         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27658         R_AARCH64_TLS_TPREL64.
27659         (elf_machine_rela): Likewise.
27661 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27663         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27664         by setting it to 0.  64b atomics are not supported currently.
27666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27668         [BZ #16469]
27669         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27670         search domain names.
27672 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27674         [BZ #16469]
27675         * NEWS: Update.
27676         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27677         trailing dot.
27678         * posix/tst-getaddrinfo5.c: New.
27679         * posix/Makefile (tests): Add it.
27681 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27683         [BZ #14498]
27684         * NEWS: Fixed.
27685         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27686         after parsing line but before break_if_match.
27687         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27688         if there is a protocol mismatch.
27690 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27692         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27693         because the potential race is on the user-supplied stream.
27695 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27697         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27698         string literal if not passed a buffer.
27699         * manual/job.texi (ctermid): Update reasoning, note deviation
27700         from posix, suggest mtasurace when not passed a buffer, for
27701         future non-preliminary safety notes.
27703 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27705         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27706         of not passing it a buffer.
27707         Reported by Peng Haitao.
27709 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27711         * manual/Makefile ($(objpfx)stamp-summary): Require
27712         check-safety.sh to pass.
27713         * manual/check-safety.sh: Wish for verification that every
27714         @deftypefn and @deftypefun is followed by a @safety remark.
27716 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27718         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27720         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27721         PTHREAD_CANCEL_ASYNCHRONOUS.
27722         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27723         send SIGCANCEL.
27725         * nptl/default-sched.h: New file.
27726         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27727         * nptl/pthread_create.c: Include it.
27728         (__pthread_create_2_1): Use collect_default_sched instead of making
27729         Linux syscalls here directly.
27731 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27733         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27734         __pthread_once): Use C11 atomics.
27736 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27738         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27740 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27742         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27743         atomic_thread_fence_acquire, atomic_thread_fence_release,
27744         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27745         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27746         atomic_compare_exchange_weak_relaxed,
27747         atomic_compare_exchange_weak_acquire,
27748         atomic_compare_exchange_weak_release,
27749         atomic_exchange_acquire, atomic_exchange_release,
27750         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27751         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27752         atomic_fetch_and_acquire,
27753         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27755 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27757         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27758         USE_ATOMIC_COMPILER_BUILTINS): Define.
27759         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27761         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27763         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27764         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27765         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27767         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27769         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27771         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27773         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27775         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27776         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27777         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27779         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27781         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27782         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27783         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27785         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27787         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27789         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27791         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27793         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27794         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27795         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27797         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27800 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27802         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27803         the sched_priority value here.  It was already checked when the user
27804         called pthread_attr_setschedparam.
27806         * nptl/tst-bad-schedattr.c: New file.
27807         * nptl/Makefile (tests): Add it.
27809 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27810             Florian Weimer  <fweimer@redhat.com>
27811             Joseph Myers  <joseph@codesourcery.com>
27812             Adam Conrad  <adconrad@0c3.net>
27813             Andreas Schwab  <schwab@suse.de>
27814             Brooks  <bmoses@google.com>
27816         [BZ #17625]
27817         * wordexp-test.c (__dso_handle): Add prototype.
27818         (__register_atfork): Likewise.
27819         (__app_register_atfork): New function.
27820         (registered_forks): New global.
27821         (register_fork): New function.
27822         (test_case): Add 3 new tests for WRDE_CMDSUB.
27823         (main): Call __app_register_atfork.
27824         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27825         fork count is non-zero fail the test.
27826         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27827         is set.
27828         (parse_dollars): Remove check for WRDE_NOCMD.
27829         (parse_dquote): Likewise.
27831 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27833         * Makeconfig (built-modules): List non-library modules to be
27834         built.
27835         (module-cppflags): Include libc-modules.h for
27836         everything except shlib-versions.v.i.
27837         (CPPFLAGS): Use it.
27838         (before-compile): Add libc-modules.h.
27839         ($(common-objpfx)libc-modules.h,
27840         $(common-objpfx)libc-modules.stmp): New targets.
27841         (common-generated): Add libc-modules.h and libc-modules.stmp.
27842         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27843         * include/libc-symbols.h: Don't include libc-modules.h.
27844         * include/libc-modules.h: Remove file.
27845         * scripts/gen-libc-modules.awk: New script to generate
27846         libc-modules.h.
27847         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27848         Depend on libc-modules.stmp.
27850         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27852         * Makeconfig (in-module): Get value of libof set for the
27853         translation unit.
27854         (CPPFLAGS): Use $(in-module).
27855         * Makerules: Don't suffix routine names for nonlib.
27856         * include/libc-modules.h: New file.
27857         * include/libc-symbols.h: Include libc-modules.h
27858         (IS_IN): New macro to replace IS_IN_* macros.
27859         * elf/Makefile: Set libof-* for each routine.
27860         * elf/rtld-Rules: Likewise.
27861         * extra-modules.mk: Likewise.
27862         * iconv/Makefile: Likewise.
27863         * iconvdata/Makefile: Likewise.
27864         * locale/Makefile: Likewise.
27865         * malloc/Makefile: Likewise.
27866         * nss/Makefile: Likewise.
27867         * sysdeps/gnu/Makefile: Likewise.
27868         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27869         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27870         * sysdeps/s390/s390-64/Makefile: Likewise.
27871         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27872         CPPFLAGS for nscd instead of nonlib.
27874 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27876         * nptl/createthread.c: New file.
27878         * nptl/createthread.c: Moved ...
27879         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27881         * nptl/createthread.c: Add proper top-line comment.
27882         (do_clone): Folded into ...
27883         (create_thread): ... here.  Take new arguments STOPPED_START and
27884         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27885         increment __nptl_threads, do event-reporting logic, do
27886         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27887         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27888         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27889         just send SIGCANCEL.
27890         * nptl/pthread_create.c: Forward-declare create_thread before
27891         including createthread.c.
27892         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27893         declaration, and new macro START_THREAD_SELF to replace argument.
27894         Remove return statement.
27895         (report_thread_creation): New function.
27896         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27897         synchronization logic, and __nptl_nthreads increment here, around
27898         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27899         PD->parent_cancelhandling here, before create_thread.  When
27900         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27901         __deallocate_stack, and ENOMEM translation here.
27903 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27905         [BZ #17616]
27906         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27907         (mptwo): Rename to __mptwo.
27908         (__inv): Use __mptwo instead of mptwo.
27909         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27910         (mptwo): Rename to __mptwo.
27911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27912         of mpone and __mptwo instead of mptwo.
27913         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27914         instead of mpone.
27915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27916         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27917         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27918         of mpone and __mptwo instead of mptwo.
27919         (__mpranred): Use __mpone instead of mpone.
27920         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27921         variable.
27922         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27923         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27924         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27925         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27926         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27927         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27928         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27929         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27930         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27931         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27932         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27933         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27934         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27935         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27936         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27937         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27938         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27939         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27940         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27942 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27944         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27945         replace BSD Handler xref with BSD Signal Handling.
27947 2014-11-17  Richard Henderson  <rth@redhat.com>
27949         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27950         (_FP_PACK_RAW_2): Remove.
27951         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27952         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27953         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27954         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27955         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27956         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27957         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27958         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27959         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27960         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27961         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27962         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27963         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27964         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27965         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27966         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27968 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27970         * signal/signal.h [__USE_MISC]
27971         (struct sigvec): Remove type.
27972         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27973         (sigvec): Remove declaration.
27974         * sysdeps/posix/sigvec.c: Moved ...
27975         * signal/sigvec.c: ... here, replacing old file.
27976         (struct sigvec): New type, copied from old signal.h definition.
27977         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27978         (__sigvec): Convert definition to prototype.
27979         (sigvec): Replace weak_alias with compat_symbol.
27980         * signal/Versions (libc: GLIBC_2.21): New version set.
27981         * include/signal.h: Remove __sigvec declaration.
27982         * sysdeps/unix/bsd/sigvec.c: Remove file.
27983         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27984         * manual/signal.texi (BSD Handler): Remove subsection.
27985         Move siginterrupt up to ...
27986         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27987         (Blocking in BSD): Fold subsection into its parent.
27988         * NEWS: Mention sigvec removal.
27990 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27992         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27993         (DLA_FMS): Make definition conditional only on [__FMA4__].
27994         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27995         definition.
27997         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27998         Make definition conditional only on [PROF].
27999         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28000         definition.
28001         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28002         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28004         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28005         !__GNUC__].
28006         * include/signal.h (__sigpause): Move declaration above call to
28007         libc_hidden_proto.
28008         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28009         variable.
28010         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28011         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28013 2014-11-14  David S. Miller  <davem@davemloft.net>
28015         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28016         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28018 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28020         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28021         * configure: Regenerated.
28022         * manual/install.texi (Tools for Compilation): Document a
28023         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28024         compiler verified to work.
28025         * INSTALL: Regenerated.
28027         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28028         redeclare with asm name.
28029         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28030         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28031         including <string.h>.
28032         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28033         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28034         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28035         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28036         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28038         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28040 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28042         * stdlib/strtol.c (__strtol): Use prototype definition.
28044         [BZ #17594]
28045         * stdlib/strtol.c (SYM__): New macro.
28046         (SYM__1): Likewise.
28047         (__strtol): Likewise.
28048         (strtol): Rename to __strtol and define as weak alias of
28049         __strtol.  Use libc_hidden_weak.
28051 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28053         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28054         Use numbered labels in inline assembly.
28056 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28058         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28059         Add setjmp LIBC_PROBE.
28060         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28061         Likewise.
28062         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28063         Add longjmp, longjmp_target LIBC_PROBE.
28064         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28065         Likewise.
28067 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28070         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28071         to get rid of unused variable warning.
28073 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28075         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28076         Check for unwind_backtrace ==  NULL only in SHARED case.
28077         (__backchain_backtrace): Compile only in SHARED case.
28078         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28079         Likewise.
28080         (__backchain_backtrace): Declare as static.
28082 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28084         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28085         (__libc_multiple_threads_ptr): Variable moved ...
28086         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28088 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28090         * conform/GlibcConform.pm: New file.
28091         * conform/conformtest.pl: Use GlibcConform module.
28092         * conform/linknamespace.pl: New file.
28093         * conform/list-header-symbols.pl: Likewise.
28094         * conform/Makefile (linknamespace-symlists-base): New variable.
28095         (linknamespace-symlists-tests): Likewise.
28096         (linknamespace-header-base): Likewise.
28097         (linknamespace-header-tests): Likewise.
28098         (tests-special): Add new tests.
28099         ($(linknamespace-symlists-tests)): New rule.
28100         (linknamespace-libs): New variable.
28101         ($(objpfx)symlist-stdlibs): New rule.
28102         ($(linknamespace-header-tests)): Likewise.
28103         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28104         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28105         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28106         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28107         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28108         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28109         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28110         (test-xfail-ISO/math.h/linknamespace): Likewise.
28111         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28112         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28113         (test-xfail-ISO/time.h/linknamespace): Likewise.
28114         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28115         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28116         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28117         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28118         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28119         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28120         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28121         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28122         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28123         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28124         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28125         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28126         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28127         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28128         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28129         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28130         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28131         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28132         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28133         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28134         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28135         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28136         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28137         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28138         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28139         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28140         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28141         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28142         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28143         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28144         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28145         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28146         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28147         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28148         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28149         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28150         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28151         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28152         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28153         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28154         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28155         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28156         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28157         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28158         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28159         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28160         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28161         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28162         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28163         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28164         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28165         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28166         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28167         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28168         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28169         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28170         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28171         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28172         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28173         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28174         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28175         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28176         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28177         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28178         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28179         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28180         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28181         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28182         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28183         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28184         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28185         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28186         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28187         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28188         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28189         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28190         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28191         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28192         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28193         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28194         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28195         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28196         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28197         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28198         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28199         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28200         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28201         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28202         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28203         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28204         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28205         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28206         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28207         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28208         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28209         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28210         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28211         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28212         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28213         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28214         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28215         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28216         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28217         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28218         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28219         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28220         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28221         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28222         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28223         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28224         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28225         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28226         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28227         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28228         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28229         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28230         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28231         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28232         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28233         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28234         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28235         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28236         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28237         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28238         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28239         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28240         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28241         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28242         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28243         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28244         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28245         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28246         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28247         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28248         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28249         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28250         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28251         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28252         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28253         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28254         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28255         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28256         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28257         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28258         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28259         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28260         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28261         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28262         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28263         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28265         [BZ #17589]
28266         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28267         of fgets_unlocked.
28269         [BZ #17585]
28270         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28271         (memmem): Rename to __memmem and define as weak alias of
28272         __memmem.  Use libc_hidden_weak.
28273         (__memmem): Use libc_hidden_def.
28274         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28275         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28276         memmem.
28278         [BZ #17582]
28279         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28280         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28281         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28282         and define as weak alias of __fgets_unlocked.  Use
28283         libc_hidden_weak.
28284         (__fgets_unlocked): Use libc_hidden_def.
28285         * include/stdio.h (__fgets_unlocked): Declare.  Use
28286         libc_hidden_proto.
28287         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28288         __fgets_unlocked instead of fgets_unlocked.
28289         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28290         (GET_NPROCS_CONF_PARSER): Likewise.
28291         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28292         (GET_NPROCS_CONF_PARSER): Likewise.
28294         [BZ #17574]
28295         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28296         weak alias of __wmemset.  Use libc_hidden_weak.
28297         (__wmemset): Use libc_hidden_def.
28298         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28299         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28300         of wmemset.
28302         [BZ #17573]
28303         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28304         with asm name __mempcpy.
28305         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28307         [BZ #17572]
28308         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28309         and define as weak alias of __rawmemchr.
28310         (__rawmemchr): Do not define as strong alias of rawmemchr.
28312         [BZ #17571]
28313         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28314         alias of __qsort_r.
28315         (qsort): Call __qsort_r instead of qsort_r.
28316         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28317         (__qsort_r): Declare.  Call libc_hidden_proto.
28318         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28319         instead of qsort_r.
28320         * nscd/gai.c (__qsort_r): Define to qsort_r.
28321         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28322         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28323         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28325         [BZ #17570]
28326         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28327         define as weak alias of __malloc_info.
28329         [BZ #17584]
28330         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28331         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28332         (__rewinddir): Use libc_hidden_def.
28333         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28334         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28335         (__rewinddir): Use libc_hidden_def.
28336         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28337         weak alias of __rewinddir.  Don't use libc_hidden_def.
28338         (__rewinddir): Use libc_hidden_def.
28339         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28340         (__rewinddir): Use libc_hidden_proto.
28341         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28342         rewinddir.
28343         (__getcwd): Use __rewinddir instead of rewinddir.
28345         [BZ #17583]
28346         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28347         alias of __fileno.  Use libc_hidden_weak.
28348         (__fileno): Use libc_hidden_def.
28349         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28350         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28351         alias of __ftello.
28352         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28353         __ftello.
28354         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28355         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28356         libc_hidden_def.
28357         (fread_unlocked): Don't use libc_hidden_ver.
28358         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28359         and define as weak alias of __fread_unlocked.  Don't use
28360         libc_hidden_def.
28361         (__fread_unlocked): Use libc_hidden_def.
28362         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28363         (ftello): Don't use libc_hidden_proto.
28364         (__ftello): Declare.  Use libc_hidden_proto.
28365         (fread_unlocked): Don't use libc_hidden_proto.
28366         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28367         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28368         and __ftello instead of fileno, fread_unlocked and ftello.
28370 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28372         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28373         GOT12.
28374         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28375         Likewise.
28376         (_dl_start_user): Likewise.
28377         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28379 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28380             Siddhesh Poyarekar  <siddhesh@redhat.com>
28382         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28383         Move argv and envp down instead of moving argc up.
28384         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28386 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28388         [BZ #17506]
28389         * test-skeleton.c (main): Return successful if one of
28390         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28391         * string/tst-strcoll-overflow.c: Define expected status.
28393 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28395         [BZ #17475]
28396         * locale/iso-639.def: Define Bhili and Tulu language codes.
28398 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28400         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28402 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28404         [BZ #17555]
28405         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28407 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28409         * configure.ac: Updated check of minimal required version to
28410         2.22.
28411         * manual/install.texi (Tools for Compilation): Updated version
28412         number.
28413         * configure: Regenerated.
28414         * INSTALL: Likewise.
28416 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28418         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28419         __tls_get_addr.
28421 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28423         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28424         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28425         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28426         libc_hidden_weak.
28427         (waitpid): Define as alias of __waitpid.
28428         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28429         __waitpid.
28430         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28431         libc_hidden_weak.
28432         (waitpid): Define as alias of __waitpid.
28433         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28434         __libc_waitpid alias.
28435         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28436         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28437         Likewise.
28438         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28439         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28440         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28441         alias.
28442         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28443         __waitpid.
28444         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28445         libc_hidden_weak.
28446         (waitpid): Define as alias of __waitpid.
28448 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28450         * manual/llio.texi: Add comment that write safety has been
28451         fixed in Linux.
28453         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28454         (localplt-build-dso): Add elf/ld.so.
28455         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28456         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28457         and free for ld.so.
28458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28459         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28461         Likewise.
28462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28463         Likewise.
28464         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28465         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28466         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28467         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28468         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28469         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28470         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28471         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28472         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28473         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28474         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28476 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28478         [BZ #14132]
28479         * include/libc-symbols.h (INTUSE): Remove macro.
28480         (INTDEF): Likewise.
28481         (INTVARDEF): Likewise.
28482         (_INTVARDEF): Likewise.
28483         (INTDEF2): Likewise.
28484         (INTVARDEF2): Likewise.
28485         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28486         rtld_hidden_def instead of INTVARDEF.
28487         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28488         (_dl_starting_up_internal): Remove declaration.
28489         (_dl_starting_up): Use rtld_hidden_proto.
28490         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28491         declaration.
28492         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28493         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28494         _dl_starting_up.
28495         * elf/dl-writev.h (_dl_writev): Likewise.
28496         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28497         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28498         _dl_starting_up_internal.
28500 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28502         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28503         test-skeleton.c.
28505 2014-11-05  Will Newton  <will.newton@linaro.org>
28507         * benchtests/Makefile: (bench-malloc): Add malloc thread
28508         scalability benchmark.
28509         * benchtests/bench-malloc-threads.c: New file.
28511 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28513         * sysdeps/aarch64/strchrnul.S: New file.
28515 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28517         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28518         definition.
28519         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28520         Likwise.
28521         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28522         Likewise.
28523         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28524         Likewise.
28525         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28526         Likewise.
28527         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28528         Likewise.
28530 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28532         * catgets/test-gencat.c: Use test-skeleton.c.
28533         * catgets/tst-catgets.c: Likewise.
28534         * csu/tst-empty.c: Likewise.
28535         * elf/tst-audit2.c: Likewise.
28536         * elf/tst-global1.c: Likewise.
28537         * elf/tst-pathopt.c: Likewise.
28538         * elf/tst-piemod1.c: Likewise.
28539         * elf/tst-tls10.c: Likewise.
28540         * elf/tst-tls11.c: Likewise.
28541         * elf/tst-tls12.c: Likewise.
28542         * gnulib/tst-gcc.c: Likewise.
28543         * iconvdata/tst-e2big.c: Likewise.
28544         * iconvdata/tst-loading.c: Likewise.
28545         * iconv/tst-iconv1.c: Likewise.
28546         * iconv/tst-iconv2.c: Likewise.
28547         * inet/test-inet6_opt.c: Likewise.
28548         * inet/tst-gethnm.c: Likewise.
28549         * inet/tst-network.c: Likewise.
28550         * inet/tst-ntoa.c: Likewise.
28551         * intl/tst-codeset.c: Likewise.
28552         * intl/tst-gettext2.c: Likewise.
28553         * intl/tst-gettext3.c: Likewise.
28554         * intl/tst-ngettext.c: Likewise.
28555         * intl/tst-translit.c: Likewise.
28556         * io/test-stat.c: Likewise.
28557         * libio/test-fmemopen.c: Likewise.
28558         * libio/tst-freopen.c: Likewise.
28559         * libio/tst-sscanf.c: Likewise.
28560         * libio/tst-ungetwc1.c: Likewise.
28561         * libio/tst-ungetwc2.c: Likewise.
28562         * libio/tst-widetext.c: Likewise.
28563         * localedata/tst-ctype.c: Likewise.
28564         * localedata/tst-digits.c: Likewise.
28565         * localedata/tst-leaks.c: Likewise.
28566         * localedata/tst-mbswcs1.c: Likewise.
28567         * localedata/tst-mbswcs2.c: Likewise.
28568         * localedata/tst-mbswcs3.c: Likewise.
28569         * localedata/tst-mbswcs4.c: Likewise.
28570         * localedata/tst-mbswcs5.c: Likewise.
28571         * localedata/tst-setlocale.c: Likewise.
28572         * localedata/tst-trans.c: Likewise.
28573         * localedata/tst-wctype.c: Likewise.
28574         * localedata/tst-xlocale1.c: Likewise.
28575         * login/tst-grantpt.c: Likewise.
28576         * malloc/tst-calloc.c: Likewise.
28577         * malloc/tst-malloc.c: Likewise.
28578         * malloc/tst-mallocstate.c: Likewise.
28579         * malloc/tst-mcheck.c: Likewise.
28580         * malloc/tst-mtrace.c: Likewise.
28581         * malloc/tst-obstack.c: Likewise.
28582         * math/atest-exp2.c: Likewise.
28583         * math/atest-exp.c: Likewise.
28584         * math/atest-sincos.c: Likewise.
28585         * math/test-matherr.c: Likewise.
28586         * math/test-misc.c: Likewise.
28587         * math/test-powl.c: Likewise.
28588         * math/tst-definitions.c: Likewise.
28589         * misc/tst-dirname.c: Likewise.
28590         * misc/tst-efgcvt.c: Likewise.
28591         * misc/tst-fdset.c: Likewise.
28592         * misc/tst-hsearch.c: Likewise.
28593         * misc/tst-mntent2.c: Likewise.
28594         * nptl/tst-sem7.c: Likewise.
28595         * nptl/tst-sem8.c: Likewise.
28596         * nptl/tst-sem9.c: Likewise.
28597         * nss/test-netdb.c: Likewise.
28598         * posix/tst-fnmatch.c: Likewise.
28599         * posix/tst-getlogin.c: Likewise.
28600         * posix/tst-gnuglob.c: Likewise.
28601         * posix/tst-mmap.c: Likewise.
28602         * pwd/tst-getpw.c: Likewise.
28603         * resolv/tst-inet_ntop.c: Likewise.
28604         * rt/tst-timer.c: Likewise.
28605         * stdio-common/test-fseek.c: Likewise.
28606         * stdio-common/test-popen.c: Likewise.
28607         * stdio-common/test-vfprintf.c: Likewise.
28608         * stdio-common/tst-cookie.c: Likewise.
28609         * stdio-common/tst-fileno.c: Likewise.
28610         * stdio-common/tst-gets.c: Likewise.
28611         * stdio-common/tst-obprintf.c: Likewise.
28612         * stdio-common/tst-perror.c: Likewise.
28613         * stdio-common/tst-sprintf2.c: Likewise.
28614         * stdio-common/tst-sprintf3.c: Likewise.
28615         * stdio-common/tst-sprintf.c: Likewise.
28616         * stdio-common/tst-swprintf.c: Likewise.
28617         * stdio-common/tst-tmpnam.c: Likewise.
28618         * stdio-common/tst-unbputc.c: Likewise.
28619         * stdio-common/tst-wc-printf.c: Likewise.
28620         * stdlib/tst-environ.c: Likewise.
28621         * stdlib/tst-fmtmsg.c: Likewise.
28622         * stdlib/tst-limits.c: Likewise.
28623         * stdlib/tst-rand48-2.c: Likewise.
28624         * stdlib/tst-rand48.c: Likewise.
28625         * stdlib/tst-random2.c: Likewise.
28626         * stdlib/tst-random.c: Likewise.
28627         * stdlib/tst-strtol.c: Likewise.
28628         * stdlib/tst-strtoll.c: Likewise.
28629         * stdlib/tst-tls-atexit.c: Likewise.
28630         * stdlib/tst-xpg-basename.c: Likewise.
28631         * string/test-ffs.c: Likewise.
28632         * string/tst-bswap.c: Likewise.
28633         * string/tst-inlcall.c: Likewise.
28634         * string/tst-strtok.c: Likewise.
28635         * string/tst-strxfrm.c: Likewise.
28636         * sysdeps/x86_64/tst-audit10.c: Likewise.
28637         * sysdeps/x86_64/tst-audit3.c: Likewise.
28638         * sysdeps/x86_64/tst-audit4.c: Likewise.
28639         * sysdeps/x86_64/tst-audit5.c: Likewise.
28640         * time/tst-ftime_l.c: Likewise.
28641         * time/tst-getdate.c: Likewise.
28642         * time/tst-mktime3.c: Likewise.
28643         * time/tst-mktime.c: Likewise.
28644         * time/tst-posixtz.c: Likewise.
28645         * time/tst-strptime2.c: Likewise.
28646         * time/tst-strptime3.c: Likewise.
28647         * wcsmbs/tst-btowc.c: Likewise.
28648         * wcsmbs/tst-mbrtowc.c: Likewise.
28649         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28650         * wcsmbs/tst-wchar-h.c: Likewise.
28651         * wcsmbs/tst-wcpncpy.c: Likewise.
28652         * wcsmbs/tst-wcrtomb.c: Likewise.
28653         * wcsmbs/tst-wcsnlen.c: Likewise.
28654         * wcsmbs/tst-wcstof.c: Likewise.
28656 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28658         [BZ #14132]
28659         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28660         INTDEF.
28661         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28662         declaration.
28663         (_dl_mcount): Use rtld_hidden_proto.
28664         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28665         _dl_mcount.
28666         * elf/rtld.c (_rtld_global_ro): Likewise.
28668         [BZ #14132]
28669         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28670         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28671         of _dl_init_internal.
28672         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28673         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28674         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28675         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28676         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28677         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28678         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28679         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28680         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28681         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28682         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28683         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28684         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28685         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28686         * sysdeps/tile/dl-start.S (_start): Likewise.
28687         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28688         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28690         [BZ #14132]
28691         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28692         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28693         (rtld_progname): Make macro definition unconditional.
28694         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28695         INTDEF.
28696         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28697         (dl_main): Likewise.
28698         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28699         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28700         instead of _dl_argv_internal.
28701         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28702         __GI__dl_argv instead of INTUSE(_dl_argv).
28703         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28704         __GI__dl_argv instead of _dl_argv_internal.
28706         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28707         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28708         macro.
28709         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28710         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28711         New macro.
28712         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28713         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28714         macro.
28715         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28716         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28718 2014-11-04  Andreas Schwab  <schwab@suse.de>
28720         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28722 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28724         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28725         mtvsrd instruction in binary form.
28727 2014-11-03  Andreas Schwab  <schwab@suse.de>
28729         [BZ #17522]
28730         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28731         for less than MB_LEN_MAX use a local buffer of that size.
28732         * libio/tst-fputws.c: New file.
28733         * libio/Makefile (tests): Add tst-fputws.
28735 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28737         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28738         the size of the fpu_fr.fpu_dregs[] array.
28740 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28742         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28743         (__nanosleep): Do not define as alias.
28744         (nanosleep): Define as alias of __nanosleep.
28745         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28746         __libc_nanosleep name.
28748 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28750         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28751         install.texi in comment.
28753 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28755         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28756         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28757         ... add here and use lwsync or sync ...
28758         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28759         ... and add here using lwsync.
28761 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28763         * elf/dl-machine-reject-phdr.h: New file.
28764         * elf/dl-load.c: #include that.
28765         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28766         if that returned true.
28768 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28770         [BZ #17496]
28771         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28772         gen-as-const-headers chunk.  Add a big scare comment after the last
28773         safe place to touch before-compile.
28775 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28777         * manual/install.texi (Tools for Compilation): Update autoconf
28778         version requirements.
28779         * INSTALL: Regenerated.
28781         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28782         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28783         (__libc_pselect): Likewise.
28785         [BZ #14138]
28786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28791 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28793         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28794         correct barrier instruction.
28795         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28796         Likewise.
28797         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28798         Likewise.
28800 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28802         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28803         after defining inlines.  Instead, just use parens to defeat macro
28804         expansion of __isctype in its declaration.
28806 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28808         * include/sys/uio.h (__libc_readv): Remove declaration.
28809         (__libc_writev): Likewise.
28810         * misc/readv.c (__libc_readv): Rename to __readv.
28811         (__readv): Do not define as alias.
28812         (readv): Define as alias of __readv.
28813         * misc/writev.c (__libc_writev): Rename to __writev.
28814         (__writev): Do not define as alias.
28815         (writev): Define as alias of __writev.
28816         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28817         (__readv): Do not define as alias.
28818         (readv): Define unconditionally as alias of __readv.
28819         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28820         (__writev): Do not define as alias.
28821         (writev): Define unconditionally as alias of __writev.
28822         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28823         name.
28824         (writev): Do not define __libc_writev name.
28826 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28828         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28829         (convert_charseq): New function, broken out of ...
28830         (use_from_charmap): ... here.  Call it.
28831         (use_to_charmap): Use convert_charseq and free instead of duplicating
28832         its code with a variable-length stack struct.
28834 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28836         * include/fcntl.h (__libc_creat): Remove declaration.
28837         * io/creat.c (__libc_creat): Rename to creat.
28838         (creat): Do not define as alias.
28839         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28840         of creat instead of __libc_creat.
28841         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28842         to creat.
28843         (creat): Do not define as alias.
28844         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28845         __libc_creat.
28846         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28847         __libc_creat name.
28848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28849         Likewise.
28851 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28853         * manual/llio.texi: Add comments discussing why write() may be
28854         considered MT-unsafe on Linux.
28856 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28858         * dl-load.c (local_strdup): Remove.
28859         (expand_dynamic_string_token): Use __strdup.
28860         (decompose_rpath): Likewise.
28861         (_dl_map_object): Likewise.
28863 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28865         [BZ #14132]
28866         * sysdeps/generic/unwind-dw2-fde.c
28867         (__register_frame_info_bases_internal): Do not declare.
28868         (__register_frame_info_table_bases_internal): Likewise.
28869         (__deregister_frame_info_bases_internal): Likewise.
28870         (__register_frame_info_bases): Declare and use hidden_proto before
28871         definition.  Use hidden_def instead of INTDEF.
28872         (__register_frame_info_table_bases): Likewise.
28873         (__deregister_frame_info_bases): Likewise.
28874         (__register_frame_info): Do not use INTUSE.
28875         (__register_frame): Likewise.
28876         (__register_frame_info_table): Likewise.
28877         (__register_frame_table): Likewise.
28878         (__deregister_frame_info): Likewise.
28879         (__deregister_frame): Likewise.
28881 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28884         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28885         not undefine.
28886         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28887         Likewise.
28888         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28889         Likewise.
28891 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28893         [BZ #14138]
28894         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28895         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28896         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28897         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28898         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28899         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28900         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28901         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28902         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28903         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28904         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28905         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28906         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28907         syscall.
28908         (setfsuid): Likewise.
28909         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28910         (setfsuid): Likewise.
28911         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28912         (setfsuid): Likewise.
28913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28914         Likewise.
28915         (setfsuid): Likewise.
28916         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28917         (setfsuid): Likewise.
28918         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28919         Likewise.
28920         (setfsuid): Likewise.
28922 2014-10-27  Andreas Schwab  <schwab@suse.de>
28924         [BZ #17501]
28925         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28926         check for Slow_SSE4_2 feature bit.
28927         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28928         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28929         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28930         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28932 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28934         * configure.ac: Validate compiler version with a empirical test of
28935         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28936         $CC -v output.
28937         * configure: Regenerated.
28939         * inet/htons.c (htons): Prototypify.
28940         * inet/htonl.c (htonl): Likewise.
28942 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28944         * string/strncat.c (strncat): Improve performance by using strlen.
28946 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28948         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28950 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28952         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28953         Call libc_fetestexcept_aarch64.
28955 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28957         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28958         Call libc_feholdexcept_aarch64.
28960 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28962         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28963         Call get_rounding_mode.
28965 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28967         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28968         Simplify logic.
28970 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28972         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28973         Simplify logic.
28975 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28977         [BZ #14138]
28978         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28979         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28980         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28981         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28982         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28983         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28984         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28985         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28986         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28987         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28988         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28989         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28990         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28991         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28992         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28993         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28994         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28995         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28996         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28997         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28998         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28999         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29000         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29001         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29002         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29003         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29004         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29005         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29006         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29007         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29008         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29009         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29010         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29011         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29012         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29013         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29014         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29015         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29016         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29017         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29018         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29019         syscall.
29020         (geteuid): Likewise.
29021         (getgid): Likewise.
29022         (getuid): Likewise.
29023         (getresgid): Likewise.
29024         (getresuid): Likewise.
29025         (getgroups): Likewise.
29026         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29027         (geteuid): Likewise.
29028         (getgid): Likewise.
29029         (getuid): Likewise.
29030         (getresgid): Likewise.
29031         (getresuid): Likewise.
29032         (getgroups): Likewise.
29033         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29034         (geteuid): Likewise.
29035         (getgid): Likewise.
29036         (getuid): Likewise.
29037         (getresgid): Likewise.
29038         (getresuid): Likewise.
29039         (getgroups): Likewise.
29040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29041         Likewise.
29042         (geteuid): Likewise.
29043         (getgid): Likewise.
29044         (getuid): Likewise.
29045         (getresgid): Likewise.
29046         (getresuid): Likewise.
29047         (getgroups): Likewise.
29048         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29049         (geteuid): Likewise.
29050         (getgid): Likewise.
29051         (getuid): Likewise.
29052         (getresgid): Likewise.
29053         (getresuid): Likewise.
29054         (getgroups): Likewise.
29055         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29056         Likewise.
29057         (geteuid): Likewise.
29058         (getgid): Likewise.
29059         (getuid): Likewise.
29060         (getgroups): Likewise.
29062         [BZ #14138]
29063         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29064         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29065         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29066         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29067         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29068         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29069         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29070         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29071         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29072         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29073         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29074         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29075         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29076         __chown.
29077         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29078         (lchown): Likewise.
29079         (fchown): Likewise.
29080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29081         Likewise.
29082         (lchown): Likewise.
29083         (fchown): Likewise.
29084         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29085         (lchown): Likewise.
29086         (fchown): Likewise.
29087         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29088         Likewise.
29089         (lchown): Likewise.
29090         (fchown): Likewise.
29092 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29094         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29095         Simplify logic.
29097 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29099         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29100         Cleanup logic.
29102 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29104         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29105         Remove unused include.
29107 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29109         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29110         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29111         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29112         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29114 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29115             Helge Deller <deller@gmx.de>
29117         [BZ #17508]
29118         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29119         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29120         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29122 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29124         [BZ #14132]
29125         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29126         Remove macro definition.
29127         (__ashrdi3_v_glibc20): Likewise.
29128         (__lshrdi3_v_glibc20): Likewise.
29129         (__cmpdi2_v_glibc20): Likewise.
29130         (__ucmpdi2_v_glibc20): Likewise.
29131         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29132         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29133         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29134         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29135         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29136         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29138 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29140         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29141         old GNU extension [0] syntax.
29142         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29143         alloca rather than an array member with variable length.
29144         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29145         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29146         (parse_opt): ... here.  Likewise use alloca there.
29147         Validate the -i argument before checking for rootness.
29148         (send_shutdown): New function, broken out of ...
29149         (parse_opt): ... here.
29151 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29153         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29154         macro to get at the _rt_local_ro field.
29155         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29156         ([PIC] case) or _dl_hwcap ([!PIC] case).
29157         * sysdeps/arm/setjmp.S: Likewise.
29159         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29160         * sysdeps/arm/configure.ac: New check to define it.
29161         * sysdeps/arm/configure: Regenerated.
29162         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29163         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29164         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29165         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29166         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29167         Use move/movt pair instead of a load.
29168         (LDST_GLOBAL): Macro removed.
29169         (LDR_GLOBAL): New macro replaces it.
29170         (LDR_HIDDEN): New macro.
29171         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29172         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29174         * setjmp/tst-setjmp-static.c: New file.
29175         * setjmp/Makefile (tests): Add it.
29176         (tests-static): New variable.
29178 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29180         [BZ #17485]
29181         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29183 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29185         [BZ #14132]
29186         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29188 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29190         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29192 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29194         * io/fts.c (dirent_not_directory): New function.
29195         (fts_build): Call it.
29197 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29199         * nptl/version.c (__nptl_main): Use normal __write rather than
29200         INTERNAL_SYSCALL.
29201         (banner): Update copyright years.
29203         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29204         gettimeofday.
29205         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29206         * nptl/pthread_cond_timedwait.c: Likewise.
29207         * nptl/pthread_mutex_timedlock.c: Likewise.
29208         * nptl/sem_timedwait.c: Likewise.
29210         * sysdeps/nptl/bits/libc-lock.h
29211         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29212         (__libc_lock_init_recursive): Return void, not 0.
29213         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29214         (__libc_rwlock_init): Likewise.
29215         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29217 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29219         [BZ #15215]
29220         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29221         (__pthread_once_slow): ... here.
29222         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29223         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29225 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29227         [BZ #15215]
29228         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29229         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29230         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29231         * nptl/pthread_once.c (__pthread_once): Likewise.
29232         Update comments.
29234 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29236         [BZ #14138]
29237         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29238         name.
29239         (writev): Use __libc_writev as strong name.
29240         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29241         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29243 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29245         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29247         * sysdeps/i386/nptl/tls.h
29248         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29249         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29250         New macros.
29251         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29252         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29253         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29254         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29255         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29256         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29258         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29259         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29260         on [__NR_futex].
29261         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29262         broken out of ...
29263         (__pthread_mutex_init): ... here.  Call it.
29264         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29265         Conditionalize PI cases on [__NR_futex].
29266         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29267         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29268         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29270         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29271         conditional on [SIGSETXID].
29272         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29273         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29274         is defined.  Likewise for SIGSETXID.
29275         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29276         Conditionalize definitions on [SIGSETXID].
29277         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29278         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29279         unblocking on [SIGCANCEL].
29281         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29282         [__NR_set_robust_list].
29284 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29286         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29287         (do_compare): Likewise.
29289 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29291         [BZ #15884]
29292         * string/strcoll_l.c: Don't include stdio.h.
29293         (coll_seq): Remove members idxarr and rulearr.
29294         (get_next_seq_cached): Remove function.
29295         (get_next_seq): Likewise.
29296         (get_next_seq_nocache): Rename to get_next_seq.
29297         (do_compare): Remove function.
29298         (do_compare_nocache): Rename to do_compare.
29299         (STRCOLL): Remove weight and rules cache.
29301 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29303         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29304         * sysdeps/arm/sfp-machine.h: ... to here.
29305         * sysdeps/arm/Implies: Remove arm/soft-fp.
29307 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29309         * conform/data/sys/utsname.h-data (*_t): Allow.
29310         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29311         [POSIX] (WEXITED): Do not expect constant.
29312         [POSIX] (WSTOPPED): Likewise.
29313         [POSIX] (WNOHANG): Likewise.
29314         [POSIX] (WNOWAIT): Likewise.
29315         [POSIX] (siginfo_t): Do not expect type or elements.
29316         [POSIX] (pid_t): Do not expect type.
29317         [POSIX] (signal.h): Do not allow header.
29318         [POSIX] (sys/resource.h): Likewise.
29319         [POSIX] (si_*): Do not allow pattern.
29320         [POSIX] (W*): Likewise.
29321         [POSIX] (P_*): Likewise.
29322         [POSIX] (BUS_*): Likewise.
29323         [POSIX] (CLD_*): Likewise.
29324         [POSIX] (FPE_*): Likewise.
29325         [POSIX] (ILL_*): Likewise.
29326         [POSIX] (POLL_*): Likewise.
29327         [POSIX] (SEGV_*): Likewise.
29328         [POSIX] (SI_*): Likewise.
29329         [POSIX] (TRAP_*): Likewise.
29330         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29331         variable.
29333 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29335         [BZ #12926]
29336         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29337         infinite loop when __recvmsg returns 0.
29339 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29341         * CANCEL-FCT-WAIVE: Remove file.
29342         * CANCEL-FILE-WAIVE: Likewise.
29344         [BZ #14132]
29345         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29346         instead of INTVARDEF.
29347         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29348         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29349         rtld_hidden_data_def instead of INTVARDEF.
29350         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29351         * elf/dl-deps.c (expand_dst): Likewise.
29352         * elf/dl-load.c (_dl_dst_count): Likewise.
29353         (_dl_dst_substitute): Likewise.
29354         (decompose_rpath): Likewise.
29355         (_dl_init_paths): Likewise.
29356         (open_path): Likewise.
29357         (_dl_map_object): Likewise.
29358         * elf/rtld.c (dl_main): Likewise.
29359         (process_dl_audit): Likewise.
29360         (process_envvars): Likewise.
29361         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29362         Remove declaration.
29363         (__libc_enable_secure): Use rtld_hidden_proto.
29365 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29367         * elf/dl-load.c
29368         (add_path): New function broken out of _dl_rtld_di_serinfo.
29369         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29371 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29373         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29374         parentheses around macro arguments.
29375         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29386         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29387         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29390         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29391         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29404         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29409         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29410         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29411         Likewise.
29412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29419         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29420         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29422         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29423         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29424         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29433         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29436         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29437         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29438         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29439         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29440         (_FP_FRAC_SRS_1): Likewise.
29441         (_FP_FRAC_CLZ_1): Likewise.
29442         (_FP_MUL_MEAT_1_imm): Likewise.
29443         (_FP_MUL_MEAT_1_wide): Likewise.
29444         (_FP_MUL_MEAT_1_hard): Likewise.
29445         (_FP_SQRT_MEAT_1): Likewise.
29446         (_FP_FRAC_ASSEMBLE_1): Likewise.
29447         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29448         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29449         (__FP_CLZ_2): Likewise.
29450         (_FP_MUL_MEAT_2_wide): Likewise.
29451         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29452         (_FP_MUL_MEAT_2_gmp): Likewise.
29453         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29454         (_FP_SQRT_MEAT_2): Likewise.
29455         (_FP_FRAC_ASSEMBLE_2): Likewise.
29456         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29457         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29458         (_FP_FRAC_CLZ_4): Likewise.
29459         (_FP_MUL_MEAT_4_wide): Likewise.
29460         (_FP_MUL_MEAT_4_gmp): Likewise.
29461         (_FP_SQRT_MEAT_4): Likewise.
29462         (_FP_FRAC_ASSEMBLE_4): Likewise.
29463         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29464         * soft-fp/op-common.h (_FP_CMP): Likewise.
29465         (_FP_CMP_EQ): Likewise.
29466         (_FP_CMP_UNORD): Likewise.
29467         (_FP_TO_INT): Likewise.
29468         (_FP_FROM_INT): Likewise.
29469         [!__FP_CLZ] (__FP_CLZ): Likewise.
29470         (_FP_DIV_HELP_imm): Likewise.
29471         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29472         Likewise.
29473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29476         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29478         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29482         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29484         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29485         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29486         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29487         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29488         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29489         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29502         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29503         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29504         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29505         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29506         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29507         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29508         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29509         (FP_UNPACK_RAW_SP): Likewise.
29510         (FP_PACK_RAW_S): Likewise.
29511         (FP_PACK_RAW_SP): Likewise.
29512         (FP_UNPACK_S): Likewise.
29513         (FP_UNPACK_SP): Likewise.
29514         (FP_UNPACK_SEMIRAW_S): Likewise.
29515         (FP_UNPACK_SEMIRAW_SP): Likewise.
29516         (FP_PACK_S): Likewise.
29517         (FP_PACK_SP): Likewise.
29518         (FP_PACK_SEMIRAW_S): Likewise.
29519         (FP_PACK_SEMIRAW_SP): Likewise.
29520         (_FP_SQRT_MEAT_S): Likewise.
29521         (FP_CMP_S): Likewise.
29522         (FP_CMP_EQ_S): Likewise.
29523         (FP_CMP_UNORD_S): Likewise.
29524         (FP_TO_INT_S): Likewise.
29525         (FP_FROM_INT_S): Likewise.
29527         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29529         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29530         (FP_EX_INVALID_IMZ): Likewise.
29531         (FP_EX_INVALID_IMZ_FMA): Likewise.
29532         (FP_EX_INVALID_ISI): Likewise.
29533         (FP_EX_INVALID_ZDZ): Likewise.
29534         (FP_EX_INVALID_IDI): Likewise.
29535         (FP_EX_INVALID_SQRT): Likewise.
29536         (FP_EX_INVALID_CVI): Likewise.
29537         (FP_EX_INVALID_VC): Likewise.
29538         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29539         "invalid" exceptions.
29540         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29541         (_FP_ADD_INTERNAL): Likewise.
29542         (_FP_MUL): Likewise.
29543         (_FP_FMA): Likewise.
29544         (_FP_DIV): Likewise.
29545         (_FP_CMP_CHECK_NAN): Likewise.
29546         (_FP_SQRT): Likewise.
29547         (_FP_TO_INT): Likewise.
29548         (FP_EXTEND): Likewise.
29550 2014-10-09  Allan McRae  <allan@archlinux.org>
29552         * po/fr.po: Update French translation from translation project.
29554 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29556         [BZ #14132]
29557         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29558         of INTDEF.
29559         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29560         (__cxa_atexit): Use libc_hidden_proto.
29561         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29563         [BZ #14132]
29564         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29565         declaration.
29566         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29567         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29568         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29569         [!_ISOMAC] (__iswctype_internal): Likewise.
29570         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29571         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29572         alias.
29573         (fcntl): Remove __fcntl_internal alias.
29574         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29575         __connect_internal alias.
29576         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29577         Likewise.
29579         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29580         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29581         FP_DENORM_ZERO.
29582         (_FP_CHECK_FLUSH_ZERO): New macro.
29583         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29584         (_FP_CMP): Likewise.
29585         (_FP_CMP_EQ): Likewise.
29586         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29587         FP_DENORM_ZERO.
29588         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29589         (FP_TRUNC): Likewise.
29591         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29592         treated as invalid conversion, not as normal exponent.
29594         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29595         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29596         (_FP_CMP_EQ): Likewise.
29597         (_FP_CMP_UNORD): Likewise.
29598         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29599         (FP_CMP_EQ_D): Likewise.
29600         (FP_CMP_UNORD_D): Likewise.
29601         * soft-fp/extended.h (FP_CMP_E): Likewise.
29602         (FP_CMP_EQ_E): Likewise.
29603         (FP_CMP_UNORD_E): Likewise.
29604         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29605         (FP_CMP_EQ_Q): Likewise.
29606         (FP_CMP_UNORD_Q): Likewise.
29607         * soft-fp/single.h (FP_CMP_S): Likewise.
29608         (FP_CMP_EQ_S): Likewise.
29609         (FP_CMP_UNORD_S): Likewise.
29610         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29611         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29612         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29613         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29614         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29615         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29616         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29617         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29618         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29619         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29620         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29621         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29622         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29623         to FP_CMP_Q.
29624         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29625         FP_CMP_Q.
29626         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29627         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29628         FP_CMP_EQ_Q.
29629         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29630         FP_CMP_Q.
29631         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29632         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29633         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29634         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29635         FP_CMP_EQ_Q.
29636         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29637         FP_CMP_Q.
29638         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29639         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29640         FP_CMP_EQ_Q.
29641         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29642         FP_CMP_Q.
29643         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29644         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29645         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29646         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29647         FP_CMP_EQ_Q.
29649         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29650         a subnormal result, set the underflow exception if trapping on
29651         underflow is enabled.
29652         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29653         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29654         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29655         redefine to 0.
29656         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29657         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29658         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29659         * soft-fp/extendxftf2.c (__extendxftf2): Use
29660         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29662         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29663         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29664         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29665         FP_HANDLE_EXCEPTIONS.
29666         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29667         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29668         FP_HANDLE_EXCEPTIONS.
29669         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29670         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29671         FP_HANDLE_EXCEPTIONS.
29672         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29673         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29674         FP_HANDLE_EXCEPTIONS.
29676 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29678         [BZ #14132]
29679         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29680         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29681         use INTUSE.
29682         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29683         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29684         Remove alias.
29685         (__adjtimex): Define using libc_hidden_ver.
29686         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29687         Remove declaration.
29688         (ntp_gettime): Call __adjtimex directly.
29689         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29690         Remove declaration.
29691         (ntp_gettimex): Call __adjtimex directly.
29692         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29693         __adjtimex_internal alias.
29695 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29697         [BZ #17460]
29698         * nscd/nscd.c (more_help): Rewrite list of tables collection
29699         using xstrdup and asprintf.
29701         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29703 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29704             Roland McGrath  <roland@hack.frob.com>
29706         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29707         (do_lookup_unique): ... local function 'enter' here; update callers.
29709 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29711         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29712         compat_symbol calls on [SHARED].
29713         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29714         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29715         Remove.
29716         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29717         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29718         (oldsetrlimit): Remove.
29719         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29721         (lchown): New syscall entry.
29722         (oldsetrlimit): Remove.
29723         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29725         (oldsetrlimit): Remove.
29726         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29728         [BZ #14138]
29729         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29730         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29731         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29732         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29733         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29734         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29735         (fchown): Likewise.
29736         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29737         (fchown): Likewise.
29738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29739         Likewise.
29741 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29743         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29744         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29745         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29746         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29747         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29748         Likewise.
29749         (__old_sem_post): Likewise.
29751 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29753         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29754         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29755         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29756         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29757         Use INLINE_VSYSCALL macro.
29758         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29759         __vdso_clock_gettime.
29760         * sysdeps/unix/sysv/linux/tile/init-first.c
29761         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29762         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29763         __vdso_clock_gettime.
29765         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29766         to set up frame more cleanly.
29768         * sysdeps/tile/memcmp.c: New file.
29770         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29772         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29773         * sysdeps/tile/tilegx/strcasestr.c: New file.
29774         * sysdeps/tile/tilegx/strnlen.c: New file.
29775         * sysdeps/tile/tilegx/strstr.c: New file.
29777         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29779 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29781         * nptl/tst-setuid3.c: Write errors to stdout.
29783 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29785         * elf/dl-deps.c
29786         (preload): New functions broken out of _dl_map_object_deps.
29787         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29789 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29791         [BZ #14138]
29792         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29793         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29795 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29797         * sysdeps/mips/strcmp.S: New.
29799 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29801         [BZ #14138]
29802         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29803         (linkat): Likewise.
29804         (mkdirat): Likewise.
29805         (readlinkat): Likewise.
29806         (renameat): Likewise.
29807         (symlinkat): Likewise.
29808         (unlinkat): Likewise.
29809         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29810         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29811         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29812         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29813         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29814         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29815         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29817 2014-09-30  Will Newton  <will.newton@linaro.org>
29819         * math/math.h: Define long double math functions if
29820         _LIBC_TEST is defined.
29821         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29823         * localedata/Makefile: Move assignment to tests-special
29824         into an ifdef testing run-built-tests.
29825         * timezone/Makefile: Likewise.
29827 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29829         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29830         with $(BASH) not $(SHELL).
29832 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29833             Matthew LeGendre  <legendre1@llnl.gov>
29835         [BZ #17411]
29836         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29837         l_reloc_result.
29839 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29841         * stdio-common/printf_fp.c
29842         (hack_digit): New function, broken out of ...
29843         (__printf_fp): ... local function here.  Update call sites.
29844         hack_digit now takes an additional parameter that is a pointer
29845         to a struct of the referenced locals.  Those locals moved inside
29846         the struct and references updated.
29848 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29850         * aclocal.m4: Require autoconf 2.69.
29851         * configure: Regenerated.
29852         * sysdeps/aarch64/configure: Likewise.
29853         * sysdeps/alpha/configure: Likewise.
29854         * sysdeps/arm/armv7/configure: Likewise.
29855         * sysdeps/arm/configure: Likewise.
29856         * sysdeps/ia64/configure: Likewise.
29857         * sysdeps/mach/configure: Likewise.
29858         * sysdeps/mips/configure: Likewise.
29859         * sysdeps/s390/configure: Likewise.
29860         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29863         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29864         file.
29865         * sysdeps/ia64/configure.ac: Likewise.
29867 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29870         specify symbol version for ld.so.  Do not include entry for
29871         libpthread.
29872         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29873         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29874         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29876         [BZ #14171]
29877         * Makeconfig [$(build-shared) = yes]
29878         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29879         makefiles.
29880         [$(build-shared) = yes && $(soversions.mk-done) = t]
29881         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29882         [$(build-shared) = yes && $(soversions.mk-done) = t]
29883         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29884         to Makerules.
29885         [$(build-shared) = yes && $(soversions.mk-done) = t]
29886         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29887         here.
29888         [$(build-shared) = yes && $(soversions.mk-done) = t]
29889         (common-generated): Don't append gnu/lib-names.h and
29890         gnu/lib-names.stmp here.
29891         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29892         (lib-names-h-abi): New variable.
29893         [$(build-shared) = yes && $(soversions.mk-done) = t]
29894         (lib-names-stmp-abi): Likewise.
29895         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29896         abi-variants] (before-compile): Append
29897         $(common-objpfx)$(lib-names-h-abi).
29898         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29899         abi-variants] (common-generated): Append gnu/lib-names.h.
29900         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29901         abi-variants] (install-others-nosubdir): Depend on
29902         $(inst_includedir)/$(lib-names-h-abi).
29903         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29904         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29905         [$(build-shared) = yes && $(soversions.mk-done) = t]
29906         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29907         [$(build-shared) = yes && $(soversions.mk-done) = t]
29908         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29909         [$(build-shared) = yes && $(soversions.mk-done) = t]
29910         (common-generated): Append $(lib-names-h-abi) and
29911         $(lib-names-stmp-abi).
29912         * scripts/lib-names.awk: Do not handle multi being set.
29913         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29914         Remove variable.
29915         (abi-lp64_be-ld-soname): Likewise.
29916         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29917         Likewise.
29918         (abi-hard-ld-soname): Likewise.
29919         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29920         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29921         Remove variable.
29922         (abi-o32_hard-ld-soname): Likewise.
29923         (abi-o32_soft_2008-ld-soname): Likewise.
29924         (abi-o32_hard_2008-ld-soname): Likewise.
29925         (abi-n32_soft-ld-soname): Likewise.
29926         (abi-n32_hard-ld-soname): Likewise.
29927         (abi-n32_soft_2008-ld-soname): Likewise.
29928         (abi-n32_hard_2008-ld-soname): Likewise.
29929         (abi-n64_soft-ld-soname): Likewise.
29930         (abi-n64_hard-ld-soname): Likewise.
29931         (abi-n64_soft_2008-ld-soname): Likewise.
29932         (abi-n64_hard_2008-ld-soname): Likewise.
29933         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29934         Likewise.
29935         (abi-64-v2-ld-soname): Likewise.
29936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29937         ld.so entries.
29938         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29939         variable.
29940         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29941         entry.
29942         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29943         variable.
29944         (abi-64-ld-soname): Likewise.
29945         (abi-x32-ld-soname): Likewise.
29946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29947         entry.
29948         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29950 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29952         [BZ #14138]
29953         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29954         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29955         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29956         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29957         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29958         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29959         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29960         syscall entry for GLIBC_2.2 symbol version.
29961         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29962         Likewise.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29964         (setrlimit): Likewise.
29965         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29966         Likewise.
29968 2014-09-23  Will Newton  <will.newton@linaro.org>
29970         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29971         _LINUX_ARM_SYSDEP_H include guard too.
29972         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29973         define.
29975 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29977         * sysdeps/unix/sysv/linux/eventfd.c:
29978         Make first argument unsigned.
29979         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29980         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29982 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29984         [BZ #16852]
29985         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29986         * socket/sys/socket.h: Likewise.
29987         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29989 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29991         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29993 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29995         * time/tst-ftime.c: New test.
29996         * time/Makefile (tests): Add tst-ftime.
29998 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30000         * soft-fp/extended.h: Fix comment formatting.
30001         * soft-fp/op-1.h: Likewise.
30002         * soft-fp/op-2.h: Likewise.
30003         * soft-fp/op-4.h: Likewise.
30004         * soft-fp/op-8.h: Likewise.
30005         * soft-fp/op-common.h: Likewise.
30006         * soft-fp/soft-fp.h: Likewise.
30008         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30010 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30012         [BZ #6652]
30013         * Makeconfig (soversions-default-setname): Remove variable.
30014         ($(common-objpfx)soversions.i): Don't pass default_setname to
30015         soversions.awk.
30016         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30017         oldest_abi to abi-versions.awk.
30018         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30019         * config.make.in (oldest-abi): Remove variable.
30020         * configure.ac (--enable-oldest-abi): Remove configure option.
30021         * configure: Regenerated.
30022         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30023         text.
30024         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30025         * scripts/soversions.awk: Do not handle default_setname variable.
30026         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30027         variable.
30028         * sysdeps/mach/hurd/configure: Regenerated.
30029         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30030         variable.
30031         * sysdeps/unix/sysv/linux/configure: Regenerated.
30033 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30035         * elf/Makefile (CFLAGS-interp.c): Remove.
30036         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30037         path string.
30038         * elf/interp.c: Include generated runtime-linker.h
30040         * Makerules (lib%.so): Don't include $(+interp) in
30041         prerequisites.
30042         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30043         * dlfcn/eval.c: Remove file.
30045         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30046         macros.
30048         [BZ #17266]
30049         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30050         4.2 and newer.
30052         [BZ #17370]
30053         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30055 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30056             Jakub Jelinek  <jakub@redhat.com>
30058         [BZ #17266]
30059         * libio/stdio.h: Check definition of __fortify_function
30060         instead of __extern_always_inline to include bits/stdio2.h.
30061         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30062         check if __extern_always_inline is defined.
30063         [__USE_MISC || __USE_XOPEN]: Likewise.
30064         [__USE_ISOC99] Likewise.
30065         * misc/sys/cdefs.h (__fortify_function): Define only if
30066         __extern_always_inline is defined.
30067         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30068         __extern_always_inline and __extern_inline only for g++-4.3
30069         and newer or a compatible gcc.
30071 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30073         [BZ #17371]
30074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30075         last change to handle zero prefix length.
30077 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30080         _SC_REGEX_VERSION.
30082         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30083         _POSIX_RAW_SOCKETS.
30085 2014-09-13  Allan McRae  <allan@archlinux.org>
30087         * po/ru.po: Update Russian translation from translation project.
30089 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30091         * locale/programs/locale.c (show_locale_vars): Inline local function
30092         into its sole call site.  Clean up some style nits.
30093         (print_item): New function, broken out of ...
30094         (show_info): ... local function here.  Clean up style nits.
30096         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30097         out of ...
30098         (set_class_defaults): ... local function set_default here.
30099         Define set_default as a macro locally to pass constant parameters.
30100         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30101         rather than a shared local.
30103         * stdlib/rpmatch.c (try): New function, broken out of ...
30104         (rpmatch): ... local function here.  Also, prototypify definition.
30106 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30108         * scripts/soversions.awk: Do not handle configuration names.
30109         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30110         vendor and os variables to soversions.awk.
30111         * configure.ac: Do not modify gnu-* host_os.
30112         * configure: Regenerated
30113         * shlib-versions: Remove first column with configuration names.
30114         * nptl/shlib-versions: Likewise.
30115         * nptl_db/shlib-versions: Likewise.
30116         * sysdeps/hppa/shlib-versions: Likewise.
30117         * sysdeps/m68k/shlib-versions: Likewise.
30118         * sysdeps/mach/hurd/shlib-versions: Likewise.
30119         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30120         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30121         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30122         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30123         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30124         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30125         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30126         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30128         Likewise.
30129         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30130         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30131         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30132         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30133         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30134         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30136         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30139         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30141         Regenerated.
30142         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30144         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30146         * shlib-versions: Remove OS-specific entries.  Moved to files in
30147         sysdeps.
30148         * sysdeps/mach/hurd/shlib-versions: New file.
30149         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30151         * nptl/shlib-versions: Remove architecture-specific entries.
30152         Moved to files in sysdeps.
30153         * shlib-versions: Likewise.
30154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30155         file.
30156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30157         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30158         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30159         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30161         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30162         (UDP_NO_CHECK6_RX): Likewise.
30164 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30166         * sysdeps/posix/sysconf.c (__sysconf): Spell
30167         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30169 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30171         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30172         loading.
30173         * iconv/Versions (__gconv_transliterate): Export for use from
30174         gconv modules.
30175         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30176         (struct __gconv_trans_data, __gconv_trans_fct,
30177         __gconv_trans_context_fct, __gconv_trans_query_fct,
30178         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30179         definitions.
30180         (struct __gconv_step_data): Remove __trans member.
30181         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30182         longer hidden.  Remove unused trans_data argument.
30183         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30184         (__gconv_translit_find): Remove declaration.
30185         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30186         prototype.
30187         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30188         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30189         trans_data argument.  Add hidden definition.
30190         (__gconv_translit_find): Remove.
30191         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30192         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30193         * iconv/skeleton.c: Remove transliteration initialization.
30194         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30195         __gconv_step_data initialization.
30196         * libio/iofwide.c (__libio_translit_): Remove.
30197         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30198         * wcsmbs/btowc.c (__btowc): Likewise.
30199         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30200         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30201         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30202         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30203         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30204         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30205         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30206         * wcsmbs/wctob.c (wctob): Likewise.
30208 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30210         [BZ #16194]
30211         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30212         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30213         register usage.
30214         * sysdeps/x86/Makefile: Adjust.
30216 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30217             Roland McGrath  <roland@hack.frob.com>
30219         * locale/weight.h: Add include guard.
30220         (findidx): Make static rather than auto; take new parameters
30221         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30222         * locale/weightwc.h: Likewise.
30223         * posix/fnmatch_loop.c
30224         (FCT): Change type of EXTRA from int32_t to wint_t.
30225         Don't include either header inside the function.
30226         Call FINDIDX rather than findidx, and pass new arguments.
30227         #undef FINDIDX at the end of the file.
30228         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30229         FINDIDX before including fnmatch_loop.c for the non-wide version.
30230         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30231         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30232         for the wide version.
30233         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30234         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30235         Pass new arguments to findidx.
30236         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30237         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30238         Don't #include it inside the function.  Pass new arguments to findidx.
30239         * posix/regex_internal.h
30240         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30241         (re_string_elem_size_at): Don't #include it inside the function.
30242         Pass new arguments to findidx.
30243         * string/strcoll_l.c: #include WEIGHT_H at top level.
30244         (get_next_seq): Don't #include it inside the function.
30245         Pass new arguments to findidx.
30246         (get_next_seq_nocache): Likewise.
30247         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30248         (STRXFRM): Don't #include it inside the function.
30249         Pass new arguments to findidx.
30251 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30253         [BZ #17344]
30254         * malloc/malloc.c (unlink): Turn asserts into a call to
30255         malloc_printerr.
30257 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30259         [BZ #17370]
30260         * libio/wfileops (do_ftell_wide): Free OUT.
30262 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30266 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30268         [BZ #17363]
30269         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30270         group if the current group is empty.
30272 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30274         * benchtests/bench-memset.c (test_main): Add more test from size
30275         from 32 to 512 bytes.
30276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30277         Add POWER8 memset object.
30278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30279         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30280         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30281         implementation.
30282         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30283         Likewise.
30284         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30285         multiarch POWER8 memset optimization.
30286         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30287         POWER8 memset optimization.
30289         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30290         Remove bzero multiarch objects.
30291         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30292         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30293         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30294         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30295         Remove define.
30296         [__bzero]: Redefine to specific name.
30297         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30298         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30299         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30300         define.
30301         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30302         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30304 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30306         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30307         warnings into errors.
30309         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30310         __cxa_thread_atexit_impl prototype.
30312 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30314         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30315         Fix capitalization of error message.
30317 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30319         * sysdeps/mips/preconfigure: Modify ABI tests.
30321 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30323         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30325 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30326             Carlos O'Donell  <carlos@systemhalted.org>
30328         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30329         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30330         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30331         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30332         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30333         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30334         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30335         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30336         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30337         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30341         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30342         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30343         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30344         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30345         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30347         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30348         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30349         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30350         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30351         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30352         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30353         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30354         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30355         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30356         Deconditionalize the code that was previously under [RESET_PID].
30357         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30358         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30359         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30360         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30361         include sysdep.h.
30363 2014-09-08  Allan McRae  <allan@archlinux.org>
30365         * version.h (RELEASE): Set to "development".
30366         (VERSION): Set to "2.20.90"
30368 2014-09-07  Allan McRae  <allan@archlinux.org
30370         * version.h (RELEASE): Set to "stable".
30371         (VERSION): Set to "2.20"
30372         * include/features.h (__GLIBC_MINOR__): Set to 20.
30374         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30375         Liebler.
30377         * po/ko.po: Update Korean translation from translation project.
30379 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30381         [BZ #17354]
30382         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30383         macro for handling signed relocations.
30385 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30387         [BZ #17325]
30388         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30389         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30390         assert.
30391         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30392         * iconvdata/ibm935.c (BODY): Likewise.
30393         * iconvdata/ibm937.c (BODY): Likewise.
30394         * iconvdata/ibm939.c (BODY): Likewise.
30395         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30396         assert.
30397         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30398         script.
30399         * iconvdata/run-iconv-test.sh: New test loop for checking for
30400         decoder crashers.
30402 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30404         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30405         libm_hidden_ver.
30407 2014-09-01  Allan McRae  <allan@archlinux.org>
30409         * po/eo.po: Update Esperanto translation from translation project.
30411         * po/ca.po: Update Catalan translation from translation project.
30413 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30415         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30416         __proc_dostop call.
30418 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30420         [BZ #17319]
30421         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30422         to call set_thread_area instead of hand written asm.
30423         (__NR_set_thread_area): Removed define.
30424         (TLS_FLAG_WRITABLE): Likewise.
30425         (__ASSUME_SET_THREAD_AREA): Remove check.
30426         (TLS_EBX_ARG): Remove define.
30427         (TLS_LOAD_EBX): Likewise.
30429 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30431         Simplify atomicity of socket creation in bind.
30433         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30434         looking up the name after linking the file.
30436 2014-08-27  Allan McRae  <allan@archlinux.org>
30438         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30440 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30442         [BZ #17187]
30443         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30444         trans_compare, open_translit, __gconv_translit_find):
30445         Remove module loading code.
30447 2014-08-26  Allan McRae  <allan@archlinux.org>
30449         * po/vi.po: Update Vietnamese translation from translation project.
30451         * po/uk.po: Update Ukrainian translation from translation project.
30453         * po/fr.po: Update French translation from translation project.
30455         * po/ru.po: Update Russian translation from translation project.
30457         * po/pl.po: Update Polish translation from translation project.
30459         * po/cs.po: Update Czech translation from translation project.
30461         * po/de.po: Update German translation from translation project.
30463         * po/bg.po: Update Bulgarian translation from translation project.
30465         * po/sv.po: Update Sweedish translation from translation project.
30467         * po/nl.po: Update Dutch translation from translation project.
30469         * po/es.po: Update Spanish translation from translation project.
30471 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30475         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30476         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30477         (CPPFLAGS-iconvconfig): Likewise.
30478         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30480         * include/libc-symbols.h: Remove unnecessary check for
30481         NOT_IN_libc.
30482         * nptl/pthreadP.h: Likewise.
30483         * sysdeps/aarch64/setjmp.S: Likewise.
30484         * sysdeps/alpha/setjmp.S: Likewise.
30485         * sysdeps/arm/sysdep.h: Likewise.
30486         * sysdeps/i386/setjmp.S: Likewise.
30487         * sysdeps/m68k/setjmp.c: Likewise.
30488         * sysdeps/posix/getcwd.c: Likewise.
30489         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30491         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30492         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30493         * sysdeps/sh/sh3/setjmp.S: Likewise.
30494         * sysdeps/sh/sh4/setjmp.S: Likewise.
30495         * sysdeps/unix/alpha/sysdep.h: Likewise.
30496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30498         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30504         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30507         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30509         * sysdeps/x86_64/setjmp.S: Likewise.
30511 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30513         [BZ #17263]
30514         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30515         <stdint.h>.
30516         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30517         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30519 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30521         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30523         [BZ #17262]
30524         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30525         and __x86_64__ when disabling x87 inline functions.
30527 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30529         [BZ #17259]
30530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30531         asm statement with __cpuid_count.
30533 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30535         * configure.ac: Change __ehdr_start code to dereference the struct.
30536         Run readelf on the output to look for relocations.
30537         * configure: Regenerated.
30539 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30541         [BZ #17261]
30542         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30543         value to 0.
30544         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30546 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30548         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30550 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30552         [BZ #16892]
30553         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30554         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30556 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30558         * malloc/malloc.c: Fix typo in comment.
30560 2014-08-09  Allan McRae  <allan@archlinux.org>
30562         * Regenerate libc.po.
30564 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30566         * intl/tst-gettext2.sh: Check every lang file for creation.
30568 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30570         * sysdeps/aarch64/fpu/math_private.h
30571         (libc_feholdsetround_noex_aarch64_ctx): New function.
30573 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30575         * sysdeps/arm/armv6/strcpy.S (strcpy):
30576         Fix performance issue in misaligned cases.
30578 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30580         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30581         Move definition from termios.h.
30582         (struct termio): Likewise.
30583         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30584         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30585         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30586         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30587         Likewise.
30588         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30589         Move definition to ioctl-types.h
30590         (struct termio): Likewise.
30591         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30592         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30593         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30594         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30595         Likewise.
30597 2014-08-05  Richard Henderson  <rth@redhat.com>
30599         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30600         exceptions.
30601         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30602         Add fraiseexcpt.
30603         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30604         Use __feraiseexcept.
30605         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30606         Protect libm symbols with IS_IN_libm.
30608         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30610 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30612         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30614 2014-08-04  Will Newton  <will.newton@linaro.org>
30616         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30617         file.
30619 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30621         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30622         variants for each function.
30624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30626         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30627         appended ...
30628         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30629         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30630         appended ...
30631         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30632         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30633         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30634         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30635         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30636         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30637         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30638         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30639         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30640         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30641         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30643         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30644         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30645         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30646         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30647         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30648         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30649         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30651         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30652         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30653         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30654         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30655         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30656         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30657         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30658         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30659         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30660         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30661         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30662         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30663         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30664         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30665         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30666         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30667         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30668         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30670         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30671         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30673         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30674         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30675         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30676         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30677         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30679         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30681         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30682         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30683         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30684         Update #include.
30685         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30686         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30688 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30690         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30691         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30692         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30693         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30694         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30695         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30697 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30699         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30700         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30701         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30702         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30704 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30706         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30707         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30708         (__libc_vfork): Define function under this name.
30709         (__vfork): Define as an alias.
30710         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30711         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30713 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30715         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30716         that was previously under [RESET_PID].
30717         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30719 2014-08-04  Andreas Schwab  <schwab@suse.de>
30721         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30723 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30725         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30726         (main): Likewise.
30728 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30730         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30732 2014-08-01  Richard Henderon  <rth@redhat.com>
30734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30735         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30736         typo in exact zero test.
30737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30741 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30743         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30744         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30745         * sysdeps/arm/sysdep.h: ... here.
30746         [!__ASSEMBLER__]: Include <stdint.h>.
30748 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30750         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30751         (HAVE_WCTYPE_H): Likewise.
30752         (HAVE_ISWCTYPE): Likewise.
30753         (ENABLE_NLS): Likewise.
30754         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30755         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30757         * posix/regex_internal.c: Check if DEBUG is defined and is
30758         set.
30760         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30761         (HAVE_MBSRTOWCS): Likewise.
30762         * posix/fnmatch.c: Include string.h unconditionally.
30764 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30766         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30767         reversal.
30769 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30771         * sysdeps/generic/safe-fatal.h: New file.
30772         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30773         * nptl/forward.c: Include it.
30774         (__pthread_unwind): Use __safe_fatal as default action, rather
30775         than a bogus use of INTERNAL_SYSCALL that could never work.
30777         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30778         * configure.ac (libc_cv_builtin_trap): New test.
30779         * configure: Regenerated.
30780         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30781         (ABORT_INSTRUCTION): Define using __builtin_trap.
30783         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30784         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30785         * sysdeps/nptl/nptl-signals.h: New file.
30786         * nptl/pthreadP.h: Include <nptl-signals.h>.
30788 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30790         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30791         (ONE_DIRECTION): Define.
30792         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30793         (ONE_DIRECTION): Define.
30794         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30795         (ONE_DIRECTION): Define.
30797 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30799         * sysdeps/s390/Makefile: Delete file.
30800         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30801         * sysdeps/s390/__longjmp.c: Delete file.
30802         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30803         Remove fields __flags and __reserved.
30804         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30805         and add versioning.
30806         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30807         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30808         * sysdeps/s390/rtld-setjmp.S: Likewise.
30809         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30810         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30811         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30812         * sysdeps/s390/s390-32/setjmp.S: ... here.
30813         Add versioning.
30814         (__sigsetjmp): Remove setting __flags field.
30815         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30816         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30817         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30818         * sysdeps/s390/s390-64/setjmp.S: ... here.
30819         Add versioning.
30820         (__sigsetjmp): Remove setting __flags field.
30821         * sysdeps/s390/setjmp.S: Delete file.
30822         * sysdeps/s390/sigjmp.c: Likewise.
30823         * sysdeps/s390/v1-longjmp.c: Likewise.
30824         * sysdeps/s390/v1-setjmp.h: Likewise.
30825         * sysdeps/s390/v1-sigjmp.c: Likewise.
30826         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30827         Remove v1-longjmp_chk.
30828         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30829         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30830         Include debug/longjmp_chk.c and add versioning.
30831         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30832         Include nptl/pt-longjmp.c and add versioning.
30833         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30834         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30835         Include __longjmp.c.
30836         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30837         Move to ...
30838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30839         (__getcontext): Remove setting __flags field.
30840         Add versioning.
30841         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30842         Don't restore upper high grps.
30843         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30844         Likewise.
30845         (__swapcontext): Remove setting uc_flags field.
30846         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30847         Delete file.
30848         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30849         Include __longjmp.c.
30850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30851         Move to ...
30852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30853         (__getcontext): Remove setting __flags field.
30854         Add versioning.
30855         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30856         (__swapcontext): Remove setting uc_flags field.
30857         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30859         Remove fields uc_high_gprs and __reserved.
30860         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30861         New file with reverted content.
30862         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30863         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30864         Regenerated.
30865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30866         Regenerated.
30868 2014-07-31  Andreas Schwab  <schwab@suse.de>
30870         * config.h.in (HAVE_IFUNC): Define to 0.
30871         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30872         definedness.
30874 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30877         memmove-avx-unaligned, memcpy-avx-unaligned and
30878         mempcpy-avx-unaligned.
30879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30880         Add tests for AVX memcpy functions.
30881         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30882         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30883         memcpy_chk.
30884         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30885         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30886         memmove_chk.
30887         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30889         mempcpy_chk.
30890         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30891         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30892         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30894 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30896         [BZ #17213]
30897         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30898         powerpc64le.
30900 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30902         [BZ #16839]
30903         * manual/llio.texi: Add section about open file description locks.
30904         * manual/examples/ofdlocks.c: Example of open file description
30905         lock usage.
30906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30907         F_OFD_SETLK, and F_OFD_SETLKW.
30909 2014-07-23  Allan McRae  <allan@archlinux.org>
30911         * po/es.po: Update Spanish translation from translation project.
30913 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30915         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30917 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30919         [BZ #17078]
30920         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30921         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30922         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30924 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30926         [BZ #17088]
30927         * math/fesetenv.c (__fesetenv)
30928         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30929         * math/feupdateenv.c (__feupdateenv)
30930         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30932         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30933         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30934         (__ASSUME_SOCKETCALL): Do not define.
30936         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30937         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30938         (__ASSUME_SOCKETCALL): Do not define.
30939         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30940         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30941         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30942         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30943         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30944         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30945         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30946         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30949         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30950         (__ASSUME_SOCKETCALL): Do not define.
30951         (__ASSUME_IPC64): Define unconditionally.
30952         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30953         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30954         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30955         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30956         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30957         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30958         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30959         Likewise.
30961         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30962         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30963         (__ASSUME_SOCKETCALL): Do not define.
30964         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30965         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30966         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30967         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30968         (__ASSUME_REQUEUE_PI): Define unconditionally.
30969         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30970         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30971         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30972         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30973         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30974         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30976         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30977         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30978         (__ASSUME_SOCKETCALL): Do not define.
30979         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30980         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30981         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30982         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30983         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30984         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30986         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30987         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30988         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30989         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30990         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30991         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30993         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30994         (__ASSUME_GETCPU_SYSCALL): Likewise.
30996         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30997         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30998         cases for individual architectures.
30999         * sysdeps/gnu/configure: Regenerated.
31000         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31001         LIBC_SLIBDIR_RTLDDIR.
31002         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31003         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31004         LIBC_SLIBDIR_RTLDDIR.
31005         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31007         LIBC_SLIBDIR_RTLDDIR.
31008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31009         Regenerated.
31010         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31011         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31012         file.
31013         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31014         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31015         file.
31016         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31017         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31018         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31019         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31021         * sysdeps/aarch64/shlib-versions: Move to ...
31022         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31023         * sysdeps/alpha/shlib-versions: Move to ...
31024         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31025         * sysdeps/arm/shlib-versions: Move to ...
31026         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31027         * sysdeps/hppa/shlib-versions: Move all contents except for
31028         libgcc_s entry to ...
31029         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31030         entry from ...
31031         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31032         * sysdeps/ia64/shlib-versions: Move to ...
31033         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31034         entry from ...
31035         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31036         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31037         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31038         * sysdeps/microblaze/shlib-versions: Move to ...
31039         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31040         * sysdeps/mips/shlib-versions: Move to ...
31041         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31042         entry from ...
31043         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31044         * sysdeps/tile/shlib-versions: Move to ...
31045         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31046         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31047         from ...
31048         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31049         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31050         entry from ...
31051         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31053 2014-07-17  Will Newton  <will.newton@linaro.org>
31055         * sysdeps/arm/bits/atomic.h
31056         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31057         (__arch_compare_and_exchange_bool_16_int): Likewise.
31058         (__arch_compare_and_exchange_bool_64_int): Likewise.
31060         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31061         into an #else block.
31063 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31065         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31066         just Linux configurations.  Test empirically that the compiler sets
31067         __ARM_EABI__, rather than using the tuple to decide.
31068         * sysdeps/arm/preconfigure: Regenerated.
31069         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31070         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31071         contents appended ...
31072         * sysdeps/arm/configure.ac: ... here.
31073         * sysdeps/arm/configure: Regenerated.
31075 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31077         * nptl/pthread_kill.c: New file.
31078         * nptl/pthread_sigmask.c: New file.
31079         * nptl/pthread_sigqueue.c: New file.
31081         * sysdeps/nptl/lowlevellock.h: New file.
31082         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31083         * sysdeps/nptl/lowlevellock-futex.h: New file.
31085         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31086         Remove dead declarations.
31088 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31090         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31091         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31092         config-cflags-avx2.
31093         * sysdeps/x86_64/configure.ac: Likewise.
31094         * sysdeps/i386/configure: Regenerated.
31095         * sysdeps/x86_64/configure: Likewise.
31096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31097         memset-avx2 only if config-cflags-avx2 is yes.
31098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31099         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31100         defined.
31101         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31102         only if HAVE_AVX2_SUPPORT is defined.
31103         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31105 2014-07-14  Alan Modra  <amodra@gmail.com>
31107         [BZ #17153]
31108         * elf/elf.h (DT_PPC64_NUM): Correct value.
31109         * NEWS: Add to fixed bug list.
31111 2014-07-13  Jim Meyering  <meyering@fb.com>
31113         [BZ 17150]
31114         regex: don't deref NULL upon heap allocation failure
31115         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31116         failure in one more place.
31117         To trigger the segfault, configure grep -with-included-regex,
31118         build it, and run these commands:
31119         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31121 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31123         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31125 2014-07-11  Richard Henderson  <rth@redhat.com>
31127         * sysdeps/aarch64/libm-test-ulps: Update.
31129 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31131         [BZ #17135]
31132         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31133         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31134         (__nptl_setxid): Initialize error member.  Call
31135         __nptl_setxid_error.
31136         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31137         * nptl/descr.h (struct xid_command): Add error member.
31138         * nptl/tst-setuid3.c: New file.
31139         * nptl/Makefile (tests): Add it.
31141 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31143         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31144         New define.
31145         (__lll_trylock): Use __lll_base_trylock.
31146         (__lll_cond_trylock): Likewise.
31148 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31150         * nptl/pthread_create.c (start_thread): Use atomic_or and
31151         lll_futex_wake directly rather than lll_robust_dead.
31152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31153         (lll_robust_dead): Macro removed.
31154         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31155         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31156         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31157         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31158         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31159         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31160         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31161         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31162         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31165         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31166         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31167         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31170         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31171         Use atomic_compare_and_exchange_val_acq directly rather than
31172         lll_robust_trylock.
31173         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31174         (__lll_robust_trylock, lll_robust_trylock): Removed.
31175         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31176         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31177         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31178         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31179         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31180         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31181         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31182         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31183         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31184         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31186         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31187         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31190 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31192         * manual/locale.texi (Locale Names): New section documenting
31193         locale name syntax.  Adjust menu and node chaining accordingly.
31194         (Choosing Locale): Reference Locale Names, Locale Categories.
31195         Mention setting LC_ALL=C.  Reflect that name syntax is now
31196         documented.
31197         (Locale Categories): New section title.  Reference Locale Names.
31198         LC_ALL is an environment variable, but not a category.
31199         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31200         description, now in Locale Name.  Reference that section.  Locale
31201         name syntax is now documented.
31203 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31205         [BZ #17137]
31206         * locale/findlocale.c (name_present, valid_locale_name): New
31207         functions.
31208         (_nl_find_locale): Use the loc_name variable to store name
31209         candidates.  Call name_present and valid_locale_name to check and
31210         validate locale names.  Return an error if the locale is invalid.
31212 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31214         * locale/setlocale.c (setlocale): Use strdup for allocating
31215         composite name copy.
31217 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31219         Sync up with gnulib.
31220         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31221         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31222         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31223         and _GL_ARG_NONNULL.
31224         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31225         [!_LIBC]: Include code for Windows and Cygwin.
31226         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31227         Include prototype for int strerror_r.
31228         [!_LIBC] (is_open): New function.
31229         (flush_stdout): New function.
31230         (print_errno_message): Use it.
31231         (error): Likewise.
31232         (error_at_line): Likewise.
31233         (error_tail) Add function attribute macros.  Use
31234         __builtin_expect.
31236         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31238         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31240         * io/ftw.c: Include sys/param.h unconditionally.
31242         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31244         [BZ #17125]
31245         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31246         libc_freeres_ptr.
31247         (freecache): New function to free CACHE on exit.
31249         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31250         initialization.
31252 2014-07-09  David S. Miller  <davem@davemloft.net>
31254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31256         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31257         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31258         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31259         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31260         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31261         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31262         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31263         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31264         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31265         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31266         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31267         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31268         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31270 2014-07-09  Andreas Schwab  <schwab@suse.de>
31272         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31273         output.
31274         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31275         (do_test): Likewise.
31277         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31279 2014-07-09  Will Newton  <will.newton@linaro.org>
31281         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31282         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31283         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31284         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31285         * sysdeps/hppa/start.S (_start): Likewise.
31287 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31289         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31291         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31292         defined.
31294 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31296         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31297         after checking that it is non-NULL.
31299         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31301 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31303         * sysdeps/powerpc/memmove.c: Remove file.
31304         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31305         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31307         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31308         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31309         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31310         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31311         string memmove instead of removed powerpc one.
31313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31314         [weak_alias]: Fix compiler warning due trailing data.
31315         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31316         [weak_alias]: Likewise.
31317         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31318         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31321         (__libc_ifunc_impl_list): Add memmove functions.
31323 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31326         Remove code.
31327         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31328         Likewise.
31329         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31330         Likewise.
31331         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31332         Likewise.
31333         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31334         Likewise.
31335         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31336         Likewise.
31337         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31338         Likewise.
31339         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31340         Likewise.
31341         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31342         Likewise.
31343         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31344         Likewise.
31345         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31346         Likewise.
31347         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31348         Likewise.
31349         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31350         Likewise.
31351         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31352         Likewise.
31353         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31354         Likewise.
31355         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31356         Likewise.
31357         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31358         Likewise.
31360 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31363         to avoid alignment traps in non-cacheable memory.
31364         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31367         multiarch objects.
31368         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31369         file: multiarch power7 memmove.
31370         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31371         multiarch default memmove.
31372         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31373         multiarch memove for powerpc32/power4.
31375         * string/bcopy.c: Use full path to include memmove.c.
31376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31377         multiarch objects.
31378         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31379         bcopy for powerpc64.
31380         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31381         bcopy for powerpc64.
31382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31383         and memmove implementations.
31384         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31385         optimized multiarch memmove for POWER7/powerpc64.
31386         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31387         default multiarch memmove for powerpc64.
31388         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31389         multiarch for powerpc64.
31390         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31391         for POWER7/powerpc64.
31392         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31393         memmove for POWER7/powerpc64.
31395         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31396         glibc default one.
31398         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31399         __ELF_NATIVE_CLASS equal to 64.
31401 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31403         * sysdeps/nptl/lowlevellock.h: File removed.
31405         * NEWS: NPTL is no longer an add-on!
31406         * nptl/internaltypes.h: Moved ...
31407         * sysdeps/nptl/internaltypes.h: ... here.
31408         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31409         * sysdeps/nptl/fork.c: Likewise.
31410         * sysdeps/nptl/gai_misc.h: Likewise.
31411         * sysdeps/nptl/librt-cancellation.c: Likewise.
31412         * sysdeps/nptl/jmp-unwind.c: Likewise.
31413         * sysdeps/nptl/setxid.h: Likewise.
31414         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31415         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31416         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31417         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31418         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31419         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31420         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31421         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31422         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31423         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31424         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31425         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31426         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31427         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31428         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31429         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31430         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31431         * nptl/Makeconfig: Moved ...
31432         * sysdeps/nptl/Makeconfig: ... here.
31433         * nptl/configure: File removed.
31434         * nptl/ANNOUNCE: File removed.
31435         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31436         * sysdeps/unix/sysv/linux/configure: Regenerated.
31438         * nptl/Makefile (routines): Add libc_pthread_init,
31439         libc_multiple_threads, register-atfork and unregister-atfork.
31440         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31441         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31442         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31443         pthread-pi-defines.sym, structsem.sym.
31444         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31445         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31446         [$(subdir) = nptl] (tests): Add tst-setgetname.
31447         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31448         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31449         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31450         [!LIBC_SIGACTION]: Remove aliases.
31451         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31452         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31453         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31454         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31455         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31456         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31457         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31458         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31460         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31461         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31462         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31463         __libc_allocate_rtsig_private.
31464         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31465         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31466         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31467         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31468         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31469         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31470         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31471         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31472         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31473         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31474         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31475         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31476         * nptl/internaltypes.h: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31478         * sysdeps/nptl/jmp-unwind.c: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31480         * nptl/libc-lowlevellock.c: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31482         * nptl/libc_multiple_threads.c: ... here.
31483         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31484         * nptl/libc_pthread_init.c: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31486         * nptl/lowlevelbarrier.sym: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31488         * nptl/lowlevelcond.sym: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31490         * nptl/lowlevellock.c: ... here.
31491         * nptl/lowlevellock.h: Moved ...
31492         * sysdeps/nptl/lowlevellock.h: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31494         * nptl/lowlevelrobustlock.c: ... here.
31495         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31496         * nptl/lowlevelrobustlock.sym: ... here.
31497         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31498         * nptl/lowlevelrwlock.sym: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31500         * nptl/pt-fork.c: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31502         * nptl/pthread-pi-defines.sym: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31504         * nptl/pthread_attr_getaffinity.c: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31506         * nptl/pthread_attr_setaffinity.c: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31508         * nptl/pthread_mutex_cond_lock.c: ... here.
31509         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31510         Update #include.
31511         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31512         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31513         * nptl/pthread_once.c: ... here, replacing old file.
31514         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31515         * nptl/pthread_yield.c: ... here.
31516         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31517         * nptl/register-atfork.c: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31519         * nptl/sem_post.c: ... here.
31520         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31521         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31522         * nptl/sem_timedwait.c: ... here.
31523         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31524         * nptl/sem_trywait.c: ... here.
31525         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31526         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31527         * nptl/sem_wait.c: ... here.
31528         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31529         * nptl/structsem.sym: ... here.
31530         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31531         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31532         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31533         * nptl/unregister-atfork.c: ... here.
31534         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31535         * nptl/unwindbuf.sym: ... here.
31536         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31537         * sysdeps/nptl/fork.c: ... here.
31538         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31539         * sysdeps/nptl/fork.h: ... here.
31540         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31541         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31542         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31543         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31544         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31545         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31546         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31547         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31548         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31549         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31550         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31551         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31552         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31553         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31554         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31555         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31556         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31557         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31558         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31559         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31560         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31561         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31562         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31563         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31564         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31565         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31566         * sysdeps/unix/sysv/linux/raise.c: ... here.
31567         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31568         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31569         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31570         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31571         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31572         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31573         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31574         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31575         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31576         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31577         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31578         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31579         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31580         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31581         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31583 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31585         * sysdeps/generic/memcopy.h: Add comment for
31586         MEMCPY_OK_FOR_FWD_MEMMOVE.
31588 2014-07-04  Will Newton  <will.newton@linaro.org>
31590         * string/memchr.c: Merge from gnulib.
31591         [_LIBC]: Remove conditionals.
31592         (__ptr_t): Remove define.
31593         (LONG_MAX_32_BITS): Likewise.
31594         (LONG_MAX): Likewise.
31595         (MEMCHR): Use ANSI prototype and optimize algorithm.
31597         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31599 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31601         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31602         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31604         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31605         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31606         in a bare environment with no <stdlib.h> installed.
31607         * sysdeps/nptl/configure: Regenerated.
31609         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31611         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31612         AC_EGREP_CPP for kernel header checks, so they only succeed if
31613         including <linux/version.h> actually works right.
31614         * sysdeps/unix/sysv/linux/configure: Regenerated.
31616         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31617         value so it's not diagnosed as unused.
31619         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31620         thing) with "ifeq ($(subdir),rt)".
31622 2014-07-03  Richard Henderson  <rth@redhat.com>
31624         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31625         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31626         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31628         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31629         (math_force_eval): New.
31631         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31632         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31634         * sysdeps/alpha/fpu/s_round.c: Remove file.
31635         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31637         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31638         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31639         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31640         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31641         (_dl_start, print_statistics): Likewise.
31642         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31643         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31645         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31646         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31647         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31648         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31650         (HP_SMALL_TIMING_AVAIL): Define.
31651         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31653         (HP_SMALL_TIMING_AVAIL): Define.
31654         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31655         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31657         * sysdeps/aarch64/hp-timing.h: New file.
31659         * sysdeps/generic/hp-timing.h: Remove dead comment.
31660         * sysdeps/generic/hp-timing-common.h: New file.
31661         * sysdeps/alpha/hp-timing.h: Include it.
31662         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31663         * sysdeps/i386/i686/hp-timing.h: Likewise.
31664         * sysdeps/ia64/hp-timing.h: Likewise.
31665         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31666         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31668         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31669         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31670         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31671         (hp_timing_t): New.
31673         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31674         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31675         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31676         * elf/rtld.c (_dl_start_final): Likewise.
31677         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31678         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31679         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31680         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31681         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31683         (HP_TIMING_DIFF_INIT): Remove.
31684         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31686         (HP_TIMING_DIFF_INIT): Remove.
31687         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31688         * sysdeps/i386/i686/hp-timing.c: Remove file.
31689         * sysdeps/x86_64/hp-timing.c: Remove file.
31690         * sysdeps/ia64/hp-timing.c: Remove file.
31691         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31692         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31693         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31694         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31696         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31697         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31698         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31699         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31701         (HP_TIMING_ACCUM): Remove.
31702         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31703         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31704         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31706         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31707         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31708         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31709         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31710         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31713         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31715         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31717 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31719         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31721 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31723         Sync up with gettext.
31724         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31725         [_MSC_VER]: Include malloc.h
31726         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31727         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31728         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31729         TEMP_FAILURE_RETRY.  Cast return of alloca.
31730         [!_LIBC] Call gl_rwlock_init.
31731         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31733 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31735         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31736         before checking its value.
31738 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31740         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31742         * debug/memcpy_chk.c: Don't include pagecopy.h.
31743         * debug/mempcpy_chk.c: Likewise.
31744         * string/memcpy.c: Likewise.
31745         * string/memmove.c: Likewise.
31746         * sysdeps/powerpc/memmove.c: Likewise.
31747         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31748         definition of PAGE_COPY_FWD_MAYBE here...
31749         * sysdeps/generic/pagecopy.h: ... from here.
31750         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31752 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31753             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31757         optimizations.
31758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31759         (__libc_ifunc_impl_list): Likewise.
31760         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31761         multiarch strcat for PPC64.
31762         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31765 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31767         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31769 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31771         * intl/loadmsgcat.c: Remove declaration of
31772         get_sysdep_segment_value.
31773         (get_sysdep_segment_value): Use ISO C style.
31774         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31775         semicolon.  Fix typo and formatting in comment.
31776         (_nl_unload_domain): Use ISO C style.
31778         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31780 2014-07-02  Will Newton  <will.newton@linaro.org>
31782         * malloc/obstack.c: Merge from gnulib master.
31783         [HAVE_CONFIG_H]: Remove conditional code.
31784         [!_LIBC]: Include config.h.
31785         [!ELIDE_CODE]: Don't include inttypes.h, include
31786         stdint.h unconditionally.
31787         (print_and_abort): Mark as _Noreturn.
31788         (_obstack_allocated_p): Mark as __attribute_pure__.
31789         (obstack_free): Rename to __obstack_free.
31790         [!__attribute__]: Remove conditional code.
31791         * malloc/obstack.h: Merge from gnulib master.
31792         [__cplusplus]: Move conditional down.
31793         [!__attribute_pure__]: Define __attribute_pure__ here
31794         if it is not already defined.
31795         (_obstack_memory_used): Mark as __attribute_pure__.
31796         [!__obstack_free]: Define as obstack_free.
31797         [__GNUC__]: Remove check for ancient NeXT gcc.
31799 2014-07-02  Will Newton  <will.newton@linaro.org>
31800             Paul Eggert  <eggert@cs.ucla.edu>
31802         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31804 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31806         * resolv/gethnamaddr.c: Add comment warning that the file is
31807         not maintained.
31809 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31811         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31812         entries.
31814         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31815         entry for aio_cancel and aio_cancel64.
31816         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31817         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31818         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31819         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31820         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31821         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31822         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31823         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31824         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31825         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31826         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31827         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31828         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31830 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31832         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31833         * nptl/pthread_mutex_lock.c: Likewise.
31834         * nptl/pthread_mutex_timedlock.c: Likewise.
31835         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31837 2014-07-01  Richard henderson  <rth@redhat.com>
31839         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31840         (__isnan, __isnanl): Remove.
31841         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31843         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31845 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31847         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31849 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31851         * resolv/nss_dns/dns-host.c (getanswer_r)
31852         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31854 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31857         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31858         undefine.
31859         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31860         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31862 2014-07-01  Roland McGrath <roland@hack.frob.com>
31864         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31865         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31867         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31868         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31870         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31871         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31872         ... here.
31873         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31874         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31876         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31877         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31878         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31879         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31881         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31882         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31883         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31884         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31885         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31886         Moved ...
31887         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31888         ... here.
31889         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31890         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31891         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31892         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31893         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31894         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31895         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31896         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31897         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31898         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31899         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31900         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31901         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31902         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31903         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31904         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31905         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31906         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31907         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31908         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31909         ... here.
31910         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31911         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31912         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31913         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31914         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31915         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31916         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31917         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31919 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31921         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31922         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31923         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31924         Add sysdep.
31926 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31930 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31932         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31933         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31935         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31937         * sysdeps/arm/libm-test-ulps: Regenerated.
31939 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31940             Roland McGrath <roland@hack.frob.com>
31942         * test-skeleton.c (signal_handler): Kill the whole process group
31943         before killing the child individually.
31944         (main): Report any failure on `setpgid'.
31946 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31948         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31949         from _TLS_H to _ARM_NPTL_TLS_H.
31950         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31951         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31953 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31955         [BZ #16539]
31956         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31957         (__expm1l): Return argument unchanged when small but not
31958         subnormal.
31960         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31961         include macro name.
31962         (_FP_UNPACK_RAW_1_P): Likewise.
31963         (_FP_PACK_RAW_1): Likewise.
31964         (_FP_PACK_RAW_1_P): Likewise.
31965         (_FP_MUL_MEAT_1_wide): Likewise.
31966         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31967         (_FP_MUL_MEAT_1_hard): Likewise.
31968         (_FP_DIV_MEAT_1_imm): Likewise.
31969         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31970         (_FP_DIV_MEAT_1_udiv): Likewise.
31971         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31972         (_FP_UNPACK_RAW_2): Likewise.
31973         (_FP_UNPACK_RAW_2_P): Likewise.
31974         (_FP_PACK_RAW_2): Likewise.
31975         (_FP_PACK_RAW_2_P): Likewise.
31976         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31977         (_FP_MUL_MEAT_2_wide): Likewise.
31978         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31979         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31980         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31981         (_FP_MUL_MEAT_2_gmp): Likewise.
31982         (_FP_DIV_MEAT_2_udiv): Likewise.
31983         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31984         (_FP_FRAC_SRL_4): Likewise.
31985         (_FP_FRAC_SRST_4): Likewise.
31986         (_FP_FRAC_SRS_4): Likewise.
31987         (_FP_UNPACK_RAW_4): Likewise.
31988         (_FP_UNPACK_RAW_4_P): Likewise.
31989         (_FP_PACK_RAW_4): Likewise.
31990         (_FP_PACK_RAW_4_P): Likewise.
31991         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31992         (_FP_MUL_MEAT_4_wide): Likewise.
31993         (_FP_MUL_MEAT_4_gmp): Likewise.
31994         (umul_ppppmnnn): Likewise.
31995         (_FP_DIV_MEAT_4_udiv): Likewise.
31996         (__FP_FRAC_ADD_4): Likewise.
31997         (__FP_FRAC_SUB_3): Likewise.
31998         (__FP_FRAC_SUB_4): Likewise.
31999         (__FP_FRAC_DEC_3): Likewise.
32000         (__FP_FRAC_DEC_4): Likewise.
32001         (__FP_FRAC_ADDI_4): Likewise.
32002         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32003         (_FP_FRAC_SRL_8): Likewise.
32004         (_FP_FRAC_SRS_8): Likewise.
32006         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32007         include macro name.
32008         (FP_UNPACK_RAW_EP): Likewise.
32009         (FP_PACK_RAW_E): Likewise.
32010         (FP_PACK_RAW_EP): Likewise.
32011         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32012         (_FP_ISSIGNAN): Likewise.
32013         (_FP_ADD_INTERNAL): Likewise.
32014         (_FP_FMA): Likewise.
32015         (_FP_CMP): Likewise.
32016         (_FP_SQRT): Likewise.
32017         (_FP_TO_INT): Likewise.
32018         (_FP_FROM_INT): Likewise.
32019         (FP_EXTEND): Likewise.
32020         (_FP_DIV_MEAT_N_loop): Likewise.
32022 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32024         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32025         throughout.
32027 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32029         [BZ #17097]
32030         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32031         result with correct sign in case of exponents that produce
32032         overflow except for X very close to 1.
32034 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32036         mktime: merge #if/#ifdef usage from glibc
32037         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32038         as that works with both Glibc's and Gnulib's style.
32039         See thread starting at Siddhesh Poyarekar's bug report at:
32040         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32042 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32045         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32046         * sysdeps/tile/tilegx/memmove.c: Remove file.
32048 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32050         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32051         abi-name definition.
32052         * scripts/soversions.awk: Do not handle or generate ABI lines.
32053         * shlib-versions: Remove ABI entries.
32054         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32055         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32057 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32060         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32061         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32062         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32064         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32066         Moved ...
32067         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32068         ... here.
32069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32070         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32074         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32076         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32082         Moved ...
32083         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32087         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32089         Moved ...
32090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32092         Moved ...
32093         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32095         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32097         Moved ...
32098         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32100         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32102         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32104         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32106         Moved ...
32107         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32109         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32110         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32111         Moved ...
32112         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32114         Moved ...
32115         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32117         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32119         Moved ...
32120         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32121         ... here.
32122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32123         Identical file removed.
32124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32125         Moved ...
32126         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32128         Identical file removed.
32129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32130         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32132         Moved ...
32133         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32135         Identical file removed.
32136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32137         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32139         Identical file removed.
32140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32141         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32142         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32143         Identical file removed.
32144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32145         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32147         Identical file removed.
32148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32149         Moved ...
32150         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32152         Identical file removed.
32153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32154         Moved ...
32155         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32156         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32157         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32159         Identical file removed.
32160         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32161         Moved ...
32162         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32163         ... here.
32164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32165         Identical file removed.
32166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32167         Moved ...
32168         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32170         Identical file removed.
32171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32172         Moved ...
32173         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32175         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32177         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32178         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32179         Moved ...
32180         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32181         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32182         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32184         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32185         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32186         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32187         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32188         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32190 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32192         [BZ #17092]
32193         * nscd/nscd.c (monitor_child): Return exit status of child
32194         instead of return value from wait syscall.
32196 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32198         * configure.ac (libc_commonpagesize): Remove variable.
32199         (libc_relro_required): Likewise.
32200         (libc_cv_z_relro): Remove configure test.
32201         * configure: Regenerated.
32202         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32203         variable.
32204         (libc_relro_required): Likewise.
32205         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32206         (libc_relro_required): Likewise.
32207         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32208         (libc_relro_required): Likewise.
32209         * sysdeps/arm/preconfigure: Regenerated.
32210         * sysdeps/ia64/preconfigure: Remove file.
32211         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32212         variable.
32213         (libc_relro_required): Likewise.
32215         [BZ #16561]
32216         [BZ #16562]
32217         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32218         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32219         recompute overflowing results in original rounding mode.
32220         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32221         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32222         recompute overflowing results in original rounding mode.
32223         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32224         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32225         recompute overflowing results in original rounding mode.
32226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32227         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32228         recompute overflowing results in original rounding mode.
32229         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32230         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32231         recompute overflowing results in original rounding mode.
32232         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32233         (libc_feholdsetround_ctx): New macro.
32234         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32235         * sysdeps/i386/fpu/libm-test-ulps: Update.
32236         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32238 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32240         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32241         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32242         corresponding .cpsetup call.
32244 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32246         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32247         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32248         * sysdeps/arm/Makefile [$(subdir) = csu]
32249         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32250         (static-only-routines): Add aeabi_read_tp here.
32251         (shared-only-routines): Add libc-aeabi_read_tp here.
32252         (CFLAGS-libc-start.c): Add -fexceptions here.
32253         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32254         (sysdep_routines, static-only-routines, shared-only-routines):
32255         Don't add to these here.
32256         (CFLAGS-libc-start.c): Likewise.
32258         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32259         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32260         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32261         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32262         * sysdeps/arm/Makefile [$(subdir) = rt]
32263         (librt-sysdep_routines, librt-shared-only-routines):
32264         Append rt-aeabi_unwind_cpp_pr1 here.
32265         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32266         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32267         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32268         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32269         Append nptl-aeabi_unwind_cpp_pr1 here.
32270         (tests): Filter out tst-cleanupx4 here.
32271         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32272         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32273         Don't do those here.
32275 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32277         * scripts/list-sources.sh: Do not handle ports specially.
32279 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32281         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32282         * sysdeps/arm/feupdateenv.c: Likewise.
32284         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32286 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32288         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32289         trailing whitespace removed.
32290         * scripts/config.guess: Update to version 2014-03-23.
32291         * scripts/config.sub: Update to version 2014-05-01
32292         * scripts/install-sh: Update to version 2013-12-25.23.
32293         * scripts/move-if-change: Update from gnulib.
32295 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32297         * debug/memmove_chk.c: Remove pagecopy.h include.
32299 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32301         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32302         identical to gnulib mktime.
32304 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32306         * configure.ac: Do not test for machine being rs6000.  Do not test
32307         for powerpc*-*soft.
32308         * configure: Regenerated.
32310         [BZ #11505]
32311         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32312         test.
32313         * configure: Regenerated.
32314         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32315         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32316         Remove configure test.
32317         * sysdeps/arm/configure: Regenerated.
32318         * sysdeps/nptl/configure.ac: Do not check
32319         libc_cv_asm_cfi_directives.
32320         * sysdeps/nptl/configure: Regenerated.
32321         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32322         * sysdeps/x86_64/nptl/configure: Remove generated file.
32323         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32324         unconditional.
32325         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32327 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32329         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32330         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32331         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32332         it is defined.
32334         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32335         instead of whether it is defined.
32336         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32337         * sysdeps/hppa/dl-machine.h: Likewise.
32338         * sysdeps/ia64/dl-machine.h: Likewise.
32339         * sysdeps/m68k/dl-machine.h: Likewise.
32340         * sysdeps/microblaze/dl-machine.h: Likewise.
32341         * sysdeps/mips/dl-machine.: Likewise.
32342         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32343         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32344         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32345         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32346         * sysdeps/sh/dl-machine.h: Likewise.
32347         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32348         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32349         * sysdeps/tile/dl-machine.h: Likewise.
32350         * sysdeps/x86_64/dl-machine.h: Likewise.
32352         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32353         code.
32354         (verify_persistent_db): Likewise.
32356 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32359         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32361         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32363         Moved ...
32364         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32365         ... here.
32366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32367         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32369         Identical file removed.
32370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32373         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32375         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32377         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32379         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32381         Moved ...
32382         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32384         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32386         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32388         Moved ...
32389         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32391         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32393         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32395         Identical file removed.
32396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32397         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32399         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32401         Moved ...
32402         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32403         ... here.
32404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32405         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32407         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32409         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32415         Moved ...
32416         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32418         Moved ...
32419         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32421         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32423         Moved ...
32424         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32426         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32428         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32429         folded into ...
32430         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32431         * sysdeps/unix/sysv/linux/s390/Versions
32432         (libpthread: GLIBC_2.19): New version set.
32433         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32434         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32435         (librt: GLIBC_2.3.3): New version set.
32436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32437         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32438         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32439         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32440         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32441         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32442         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32443         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32444         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32445         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32446         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32447         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32448         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32449         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32450         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32451         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32452         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32453         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32454         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32455         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32456         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32457         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32458         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32459         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32460         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32461         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32462         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32463         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32464         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32465         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32466         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32467         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32472         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32474         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32475         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32476         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32478         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32480         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32482         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32483         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32484         (__libc_vfork): Define the function under this name.
32485         [!NOT_IN_libc] (__vfork): Make this an alias.
32486         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32488         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32489         (__libc_vfork): Define the function under this name.
32490         [!NOT_IN_libc] (__vfork): Make this an alias.
32491         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32492         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32495         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32496         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32498         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32499         code that was previously under [RESET_PID].
32500         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32501         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32504         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32505         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32506         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32507         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32508         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32509         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32510         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32511         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32512         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32515         Moved ...
32516         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32517         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32518         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32519         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32520         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32521         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32522         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32523         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32524         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32526         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32527         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32528         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32529         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32530         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32531         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32532         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32533         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32534         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32535         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32536         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32537         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32538         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32539         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32540         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32541         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32542         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32543         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32544         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32546 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32548         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32549         that was previously under [RESET_PID].
32550         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32552 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32554         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32555         not undefine and redefine.
32556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32557         [O_CLOEXEC]: Make code unconditional.
32558         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32559         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32560         <kernel-features.h>.
32561         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32562         conditional variable definition.
32563         (shm_open) [O_CLOEXEC]: Make code unconditional.
32564         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32565         code.
32567         * configure.ac (USE_REGPARMS): Don't define here.
32568         * configure: Regenerated.
32569         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32570         * sysdeps/i386/configure: Regenerated.
32572         * nptl/createthread.c: Don't include kernel-features.h.
32573         * nptl/pthread_cancel.c: Likewise.
32574         * nptl/pthread_condattr_setclock.c: Likewise.
32575         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32576         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32577         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32578         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32579         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32580         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32581         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32584         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32585         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32586         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32587         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32588         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32589         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32590         * nscd/gai.c: Likewise.
32591         * nss/nss_db/db-open.c: Likewise.
32592         * sysdeps/generic/ldsodefs.h: Likewise.
32593         * sysdeps/sh/nptl/tls.h: Likewise.
32594         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32595         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32596         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32597         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32598         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32599         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32600         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32601         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32602         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32603         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32604         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32605         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32606         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32607         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32608         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32609         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32610         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32611         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32612         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32613         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32616         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32617         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32622         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32623         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32624         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32625         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32626         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32627         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32628         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32629         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32630         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32631         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32632         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32633         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32634         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32635         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32636         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32637         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32638         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32639         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32640         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32641         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32642         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32643         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32644         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32645         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32646         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32647         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32648         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32649         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32650         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32651         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32674         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32675         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32676         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32677         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32678         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32679         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32680         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32681         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32682         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32683         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32684         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32685         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32686         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32687         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32688         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32689         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32690         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32691         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32692         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32693         * sysdeps/unix/sysv/linux/system.c: Likewise.
32694         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32695         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32696         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32697         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32698         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32699         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32700         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32702         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32703         * configure: Regenerated.
32704         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32706         * configure.ac (base_machine): Do not set specially for particular
32707         machines here.
32708         * configure: Regenerated.
32709         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32710         settings from configure.ac.
32711         * sysdeps/i386/preconfigure: New file.
32712         * sysdeps/s390/preconfigure: Likewise.
32713         * sysdeps/sh/preconfigure: Likewise.
32714         * sysdeps/sparc/preconfigure: Likewise.
32716 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32718         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32719         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32720         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32721         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32722         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32723         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32724         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32725         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32726         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32727         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32728         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32729         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32730         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32731         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32732         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32733         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32735         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32736         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32738         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32739         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32740         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32741         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32742         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32743         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32744         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32745         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32746         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32747         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32748         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32749         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32750         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32751         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32752         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32753         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32754         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32755         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32756         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32757         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32759         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32761         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32762         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32763         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32764         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32765         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32766         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32767         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32768         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32769         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32770         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32771         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32772         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32773         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32774         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32775         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32778         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32780         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32782         Moved ...
32783         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32784         ... here.
32785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32788         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32790         Moved ...
32791         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32793         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32795         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32797         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32805         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32807         Moved ...
32808         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32810         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32812         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32814         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32816         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32818         Moved ...
32819         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32820         ... here.
32821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32822         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32824         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32826         Moved ...
32827         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32829         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32831         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32833         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32835         Moved ...
32836         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32838         Moved ...
32839         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32841         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32843         Moved ...
32844         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32846         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32848         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32850 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32852         * timezone/checktab.awk: Update from tzcode 2014e.
32853         * timezone/private.h: Likewise.
32854         * timezone/tzfile.h: Likewise.
32855         * timezone/zdump.c: Likewise.
32856         * timezone/zic.c: Likewise.
32858         * sysdeps/unix/sysv/linux/kernel-features.h
32859         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32860         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32861         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32862         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32863         Remove conditional code.
32865 2014-06-25  Will Newton  <will.newton@linaro.org>
32867         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32868         (_dl_arm_cap_flags): Add HWCAP2 values.
32869         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32870         (_DL_HWCAP_COUNT): Increase to 37.
32871         (_DL_HWCAP_LAST): New define.
32872         (_DL_HWCAP2_LAST): New define.
32873         (_dl_procinfo): Add support for printing
32874         AT_HWCAP2 entries.
32875         (_dl_string_hwcap): Use _dl_hwcap_string.
32877 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32881 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32883         * README: Do not mention ports directory.
32885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32886         Remove macro.
32887         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32888         <kernel-features.h>.
32889         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32890         conditional variable definition.
32891         (__futimes): Update comment.
32892         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32893         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32895         [BZ #16560]
32896         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32897         arguments close to 0.
32898         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32899         Likewise.
32900         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32901         Likewise.
32902         * math/auto-libm-test-in: Add more tests of exp10.
32903         * math/auto-libm-test-out: Regenerated.
32904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32906         * sysdeps/unix/sysv/linux/kernel-features.h
32907         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32908         * sysdeps/unix/sysv/linux/readv.c: Do not include
32909         <kernel-features.h>.
32910         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32911         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32912         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32913         unconditional.
32914         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32915         conditional code.
32916         * sysdeps/unix/sysv/linux/writev.c: Do not include
32917         <kernel-features.h>.
32918         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32919         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32920         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32921         unconditional.
32922         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32923         conditional code.
32925 2014-06-25  Will Newton  <will.newton@linaro.org>
32927         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32928         comment changes throughout the file.  Remove checks
32929         for HAVE_*_H definitions that are not required.
32930         (__gen_tempname): Call abort if an unknown kind value is
32931         passed.
32933 2014-06-25  Andreas Schwab  <schwab@suse.de>
32935         [BZ #17086]
32936         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32937         scalbln, scalblnf, scalblnl in libc.
32939 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32941         [BZ #17086]
32942         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32943         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32944         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32946 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32948         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32949         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32950         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32951         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32952         Update #include.
32953         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32954         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32955         Update #include.
32956         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32957         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32958         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32959         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32960         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32961         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32962         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32963         * sysdeps/x86/bits/semaphore.h: ... here.
32964         * sysdeps/x86/nptl/elide.h: Moved ...
32965         * sysdeps/x86/elide.h: ... here.
32966         * sysdeps/x86_64/nptl/Implies: File removed.
32967         * sysdeps/i386/nptl/Implies: File removed.
32969 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32971         [BZ #16539]
32972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32973         return the argument for normal arguments with exponent below -64.
32974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32975         Likewise.
32976         * math/auto-libm-test-in: Add another test of expm1.
32977         * math/auto-libm-test-out: Regenerated.
32979         [BZ #16287]
32980         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32981         calling __erfcl for arguments at least 16.
32982         * math/auto-libm-test-in: Add more tests of erf.
32983         * math/auto-libm-test-out: Regenerated.
32985         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32986         individual architectures.
32987         * sysdeps/unix/sysv/linux/configure: Regenerated.
32988         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32989         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32990         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32991         (ldd_rewrite_script): Define variable.
32992         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32994         file.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32996         generated file.
32997         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32998         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32999         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33000         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33001         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33002         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33003         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33004         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33006 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33008         [BZ #17084]
33009         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33010         Rename member __data.d to __data.__elision_data.
33012 2014-06-24  Wilco  <wdijkstr@arm.com>
33014         * NEWS: Add 16918 to fixed bug list.
33016 2014-06-24  Wilco  <wdijkstr@arm.com>
33018         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33020 2014-06-24  Wilco  <wdijkstr@arm.com>
33022         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33023         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33024         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33025         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33026         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33027         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33028         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33029         Use _FPU_MASK_RM.
33031 2014-06-24  Wilco  <wdijkstr@arm.com>
33033         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33035 2014-06-24  Wilco  <wdijkstr@arm.com>
33037         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33038         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33039         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33040         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33042 2014-06-24  Wilco  <wdijkstr@arm.com>
33044         [BZ #16918]
33045         * sysdeps/arm/feupdateenv.c (feupdateenv):
33046         Rewrite to reduce FPSCR accesses and fix return value.
33048 2014-06-24  Wilco  <wdijkstr@arm.com>
33050         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33051         Optimize to avoid unnecessary FPSCR writes.
33052         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33053         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33054         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33055         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33057 2014-06-24  Wilco  <wdijkstr@arm.com>
33059         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33060         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33061         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33062         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33063         Call libc_fetestexcept_vfp.
33064         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33065         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33066         __SOFTFP__ ifdef so that they can be built for softfp.
33068 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33070         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33071         argument type signed char.
33073         * Makerules (check-abi): Dump diff of symlist if the test
33074         fails.
33076 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33078         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33079         using abort.
33081         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33082         Remove unused variable ST.
33084 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33086         [BZ #16354]
33087         [BZ #17061]
33088         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33089         small arguments before calling __expm1.
33090         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33091         small arguments before calling __expm1f.
33092         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33093         small arguments before calling __expm1l.
33094         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33095         Likewise.
33096         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33097         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33098         spurious underflow for some cosh tests.
33099         * math/auto-libm-test-out: Regenerated.
33100         * sysdeps/i386/fpu/libm-test-ulps: Update.
33102         [BZ #17050]
33103         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33104         (__ieee754_y1): Set errno if return value overflows.
33105         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33106         (__ieee754_y1f): Set errno if return value overflows.
33107         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33108         (__ieee754_y1l): Set errno if return value overflows.
33109         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33110         (__ieee754_y1l): Set errno if return value overflows.
33111         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33112         * math/auto-libm-test-out: Regenerated.
33114         * math/gen-auto-libm-tests.c: Document use of
33115         ignore-zero-inf-sign.
33116         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33117         (input_flags): Add ignore-zero-inf-sign.
33118         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33119         * math/gen-libm-test.pl (generate_testfile): Handle
33120         ignore-zero-inf-sign.
33121         * math/auto-libm-test-in: Mark some cpow tests with
33122         ignore-zero-inf-sign and some with xfail-rounding.
33123         * math/auto-libm-test-out: Regenerated.
33124         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33125         * sysdeps/i386/fpu/libm-test-ulps: Update.
33126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33128         [BZ #16315]
33129         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33130         overflowing or underflowing operations take place with sign of
33131         result.
33132         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33133         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33134         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33135         (__ieee754_pow): Recompute overflowing and underflowing results in
33136         original rounding mode.
33137         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33138         (__powl_helper): Allow negative argument X and scale negated value
33139         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33140         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33141         overflowing or underflowing operations take place with sign of
33142         result.
33143         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33144         Include <math.h>.
33145         * math/auto-libm-test-in: Add more tests of pow.
33146         * math/auto-libm-test-out: Regenerated.
33147         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33148         (pow_tonearest_test_data): Remove.
33149         (pow_test_tonearest): Likewise.
33150         (pow_towardzero_test_data): Likewise.
33151         (pow_test_towardzero): Likewise.
33152         (pow_downward_test_data): Likewise.
33153         (pow_test_downward): Likewise.
33154         (pow_upward_test_data): Likewise.
33155         (pow_test_upward): Likewise.
33156         (main): Don't call removed functions.
33157         * sysdeps/i386/fpu/libm-test-ulps: Update.
33158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33160 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33163         Moved ...
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33166         Moved ...
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33169         Moved ...
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33172         Moved ...
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33175         File removed.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33177         File removed.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33179         File removed.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33181         File removed.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33183         File removed.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33185         File removed.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33187         File removed.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33189         File removed.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33191         File removed.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33193         File removed.
33194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33195         File removed.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33197         File removed.
33198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33199         Moved ...
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33202         Moved ...
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33204         ... here.
33205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33206         Moved ...
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33209         Moved ...
33210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33212         Moved ...
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33215         Moved ...
33216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33218         Moved ...
33219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33221         Moved ...
33222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33224         Moved ...
33225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33228         ... here.
33229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33230         Moved ...
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33233         Moved ...
33234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33235         ... here.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33237         Moved ...
33238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33239         ... here.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33241         Moved ...
33242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33243         ... here.
33244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33245         Moved ...
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33248         Moved ...
33249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33253         Moved ...
33254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33255         ... here.
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33257         Moved ...
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33259         ... here.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33261         Moved ...
33262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33264         Moved ...
33265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33267         Moved ...
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33270         Moved ...
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33273         Moved ...
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33275         ... here.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33277         Moved ...
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33280         Moved ...
33281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33283         Moved ...
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33286         Moved ...
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33291         Moved ...
33292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33294         Moved ...
33295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33297         Moved ...
33298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33299         ... here.
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33301         Moved ...
33302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33303         ... here.
33304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33305         Moved ...
33306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33307         ... here.
33308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33309         Moved ...
33310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33312         Moved ...
33313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33315         Moved ...
33316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33318         Moved ...
33319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33320         ... here.
33321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33322         Moved ...
33323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33324         ... here.
33325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33326         Moved ...
33327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33328         ... here.
33329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33330         Moved ...
33331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33333         Moved ...
33334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33336 2014-06-23  Will Newton  <will.newton@linaro.org>
33337             Wilco  <wdijkstr@arm.com>
33339         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33340         implementation.  Include get-rounding-mode.h.
33341         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33342         [!libc_feholdsetround_noex_ctx]: Define
33343         libc_feholdsetround_noex_ctx.
33344         [!libc_feholdsetround_noexf_ctx]: Define
33345         libc_feholdsetround_noexf_ctx.
33346         [!libc_feholdsetround_noexl_ctx]: Define
33347         libc_feholdsetround_noexl_ctx.
33348         (libc_feholdsetround_ctx): New function.
33349         (libc_feresetround_ctx): New function.
33350         (libc_feholdsetround_noex_ctx): New function.
33351         (libc_feresetround_noex_ctx): New function.
33353 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33355         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33356         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33357         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33358         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33359         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33360         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33362         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33363         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33364         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33365         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33366         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33367         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33369         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33373         Moved ...
33374         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33375         ... here.
33376         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33381         Moved ...
33382         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33383         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33384         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33385         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33388         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33390         Moved ...
33391         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33393         Moved ...
33394         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33398         Moved ...
33399         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33400         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33401         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33402         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33403         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33404         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33405         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33407         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33409         Moved ...
33410         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33411         ... here.
33412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33413         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33415         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33417         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33418         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33419         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33420         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33421         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33422         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33423         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33425         Moved ...
33426         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33427         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33428         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33429         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33430         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33432         Moved ...
33433         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33434         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33435         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33436         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33437         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33439         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33440         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33441         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33442         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33443         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33444         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33445         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33446         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33448         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33449         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33450         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33451         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33452         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33453         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33454         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33455         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33456         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33457         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33460         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33461         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33462         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33463         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33464         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33465         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33466         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33468 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33470         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33471         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33472         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33473         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33474         (IPV6_PMTUDISC_INTERFACE): Likewise.
33475         (IPV6_PMTUDISC_OMIT): Likewise.
33477 2014-06-23  Andreas Schwab  <schwab@suse.de>
33479         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33480         Remove unused errout label.
33482 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33484         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33485         macro: hardware supports Vector Crypto instructions.
33487 2014-06-23  Will Newton  <will.newton@linaro.org>
33489         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33490         rather than __builtin_expect.
33492         * elf/dl-lookup.c (undefined_msg): Remove variable.
33493         (_dl_lookup_symbol_x): Replace undefined_msg with string
33494         literal.
33496         * elf/dl-lookup.c (do_lookup_unique): New function.
33497         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33498         to a separate function.
33500 2014-06-23  Andreas Schwab  <schwab@suse.de>
33502         [BZ #17079]
33503         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33504         before reading the next line.
33506 2014-06-23  Will Newton  <will.newton@linaro.org>
33508         * test-skeleton.c (signal_handler): Use printf and %m
33509         rather than perror.  Use printf rather than fprintf to
33510         stderr.  Use puts rather than fputs to stderr.
33511         (main): Likewise.
33513 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33515         * nscd/nscd.c (thread_info_t): Remove typedef.
33516         (thread_info): Remove variable.
33518 2014-06-21  Allan McRae  <allan@archlinux.org>
33520         * NEWS: Mention CVE-2014-4043.
33522 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33524         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33525         * nptl/smp.h: ... here.
33527         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33529         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33530         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33531         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33532         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33534         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33535         * nptl/stack-aliasing.h: New file.
33536         * sysdeps/i386/i686/stack-aliasing.h: New file.
33537         * sysdeps/i386/i686/nptl/Makefile: File removed.
33538         * sysdeps/x86_64/stack-aliasing.h: New file.
33539         * sysdeps/x86_64/nptl/Makefile
33540         (CFLAGS-pthread_create.c): Variable removed.
33542         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33543         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33544         old file.
33545         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33546         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33547         old file.
33549 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33551         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33552         (__ASSUME_SIGFRAME_V2): Remove macro.
33553         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33554         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33555         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33556         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33557         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33558         Declare as function.  Remove conditional macro definitions.
33559         (__default_rt_sa_restorer): Likewise.
33560         (__default_sa_restorer_v1): Remove declaration.
33561         (__default_sa_restorer_v2): Likewise.
33562         (__default_rt_sa_restorer_v1): Likewise.
33563         (__default_rt_sa_restorer_v2): Likewise.
33564         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33565         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33566         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33568 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33570         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33571         (libpthread-routines): Add sysdep.
33572         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33573         * sysdeps/unix/sysv/linux/sparc/Versions
33574         (libpthread: GLIBC_2.3.3): New version set.
33575         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33576         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33577         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33578         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33579         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33580         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33581         Moved ...
33582         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33583         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33584         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33585         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33586         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33587         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33588         * sysdeps/sparc/nptl/sem_init.c: ... here.
33589         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33590         * sysdeps/sparc/nptl/sem_post.c: ... here.
33591         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33592         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33593         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33594         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33595         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33596         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33597         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33598         (libpthread-routines): Add cpu_relax.
33599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33600         File removed.
33601         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33602         (librt: GLIBC_2.3.3): New version set.
33603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33604         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33605         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33606         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33609         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33611         Moved ...
33612         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33614         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33616         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33618         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33620         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33622         Moved ...
33623         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33624         Update #include.
33625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33626         Moved ...
33627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33628         Update #include.
33629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33630         Moved ...
33631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33632         Update #include.
33633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33634         Moved ...
33635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33636         Update #include.
33637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33638         Moved ...
33639         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33640         Update #include.
33641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33642         Moved ...
33643         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33644         Update #include.
33645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33646         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33652         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33654         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33656         Moved ...
33657         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33659         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33661         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33663 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33665         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33666         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33667         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33668         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33669         * nscd/nscd.c: Likewise.
33670         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33671         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33672         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33673         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33675         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33676         <kernel-features.h>.
33677         (init_mq_netlink): Remove conditional have_sock_cloexec
33678         definitions.  Remove code conditional on have_sock_cloexec < 0.
33679         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33680         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33681         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33682         <kernel-features.h>.
33683         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33684         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33686 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33689         Add tests for memset_chk and memset.
33691         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33692         with AVX2_Usable.
33694 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33696         [BZ #16046]
33697         * elf/tst-dl-iter-static.c: New file.
33698         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33700         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33701         error.
33703 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33705         * sysdeps/unix/sysv/linux/kernel-features.h
33706         (__ASSUME_F_GETOWN_EX): Remove macro.
33707         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33708         <kernel-features.h>.
33709         (miss_F_GETOWN_EX): Remove variable or macro.
33710         (do_fcntl): Do not check miss_F_GETOWN_EX.
33711         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33714         Remove macro.
33715         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33716         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33717         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33719         * sysdeps/unix/sysv/linux/kernel-features.h
33720         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33721         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33722         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33723         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33725 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33727         [BZ #17075]
33728         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33729         Fix calculation of the symbol's value.
33730         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33731         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33732         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33733         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33734         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33735         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33736         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33737         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33738         (modules-names): Add `tst-armtlsdescmod',
33739         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33740         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33741         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33742         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33743         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33744         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33745         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33746         ($(objpfx)tst-armtlsdescloc): New dependency.
33747         ($(objpfx)tst-armtlsdescextnow): Likewise.
33748         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33749         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33750         TLS scheme support.
33751         * sysdeps/arm/configure: Regenerate.
33753 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33755         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33756         (__atfct_seterrno_2): Likewise.
33757         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33758         <kernel-features.h>.
33759         (__ASSUME_ATFCTS): Do not undefine and redefine.
33760         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33761         (__have_atfcts): Remove conditional definition.
33762         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33763         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33764         unreachable if [__ASSUME_ATFCTS].
33765         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33766         not undefine and redefine.
33767         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33768         <kernel-features.h>.
33769         (faccessat) [__NR_faccessat]: Make code unconditional.
33770         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33771         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33772         <kernel-features.h>.
33773         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33774         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33775         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33776         <kernel-features.h>.
33777         (fchownat) [__NR_fchownat]: Make code unconditional.
33778         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33779         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33780         <kernel-features.h>.
33781         (futimesat) [__NR_futimesat]: Make code unconditional.
33782         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33783         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33784         <kernel-features.h>.
33785         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33786         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33787         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33788         <kernel-features.h>.
33789         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33790         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33791         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33792         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33793         <kernel-features.h>.
33794         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33795         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33796         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33797         <kernel-features.h>.
33798         (linkat) [__NR_linkat]: Make code unconditional.
33799         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33800         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33801         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33802         <kernel-features.h>.
33803         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33804         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33805         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33806         <kernel-features.h>.
33807         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33808         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33809         * sysdeps/unix/sysv/linux/openat.c: Do not include
33810         <kernel-features.h>.
33811         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33812         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33813         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33814         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33815         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33816         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33817         <kernel-features.h>.
33818         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33819         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33820         result of INLINE_SYSCALL directly, not via int variable.
33821         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33822         <kernel-features.h>.
33823         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33824         (renameat) [__NR_renameat]: Make code unconditional.
33825         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33826         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33827         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33828         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33829         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33830         (__ASSUME_ATFCTS): Do not undefine and redefine.
33831         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33832         <kernel-features.h>.
33833         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33834         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33835         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33836         <kernel-features.h>.
33837         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33838         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33839         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33840         (__ASSUME_ATFCTS): Do not undefine and redefine.
33841         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33842         <kernel-features.h>.
33843         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33844         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33845         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33846         <kernel-features.h>.
33847         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33848         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33850 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33852         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33854 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33856         [BZ #17069]
33857         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33858         constructed tree before returning error.
33859         * posix/bug-regexp36.c: Expand test case.
33861 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33863         [BZ #6803]
33864         * math/libm-test.inc (scalbln_test_date):
33865         Add errno expectations.
33866         * math/w_scalblnf.c: New File.
33867         Add wrapper which checks for setting errno to ERANGE.
33868         Add weak_alias for corresponding scalbln function.
33869         * math/w_scalbln.c: Likewise.
33870         * math/w_scalblnl.c: Likewise.
33871         * math/Makefile (libm-calls): Add w_scalbln.
33872         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33873         Remove weak_alias for corresponding scalbln function.
33874         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33876         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33878         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33879         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33880         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33881         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33882         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33883         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33884         Remove long_double_symbol for scalblnl function in libm, libc.
33885         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33886         Add wrapper which checks for setting errno to ERANGE.
33887         Add long_double_symbol for scalblnl function in libm, libc.
33888         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33889         Remove long_double_symbol for scalblnl in libm.
33890         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33891         Add wrapper which checks for setting errno to ERANGE.
33892         Add long_double_symbol for scalblnl function in libm.
33893         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33894         Do not use wrapper because of own implementation.
33896 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33898         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33899         3 bytes for __pad1 for x32.
33900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33902 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33903             H.J. Lu  <hongjiu.lu@intel.com>
33905         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33906         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33907         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33908         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33909         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33911 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33913         [BZ #17069]
33914         * posix/regcomp.c (parse_expression): Deallocate partially
33915         constructed tree before returning error.
33916         * posix/Makefile.c (tests): Add bug-regex36.
33917         (generated): Add bug-regex36.mtrace.
33918         (tests-special): Add $(objpfx)bug-regex36-mem.out
33919         (bug-regex36-ENV): New variable.
33920         ($(objpfx)bug-regex36-mem.out): New rule.
33921         * posix/bug-regex36.c: New file.
33923 2014-06-19  Will Newton  <will.newton@linaro.org>
33925         * malloc/malloc.c (systrim): If extra is zero then return
33926         early.
33928 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33930         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33932 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33934         * sysdeps/aarch64/strchr.S: New file.
33936 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33938         [BZ #17022]
33939         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33940         from arguments -2 or below.
33941         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33942         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33944 2014-06-18  Andreas Schwab  <schwab@suse.de>
33946         [BZ #17062]
33947         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33948         of a bracket expr not to run off the end of the string.
33949         * posix/Makefile (tests): Add tst-fnmatch3.
33950         * posix/tst-fnmatch3.c: New file.
33952 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33954         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33955         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33956         [$(cross-compiling) = no]: Likewise.
33957         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33958         [$(cross-compiling) = no]: Likewise.
33960 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33962         [BZ #17031]
33963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33964         double, adjusted for any remainder from the high double.
33965         * math/libm-test.inc (nearbyint): Add tests.
33966         (rint): Likewise.
33968 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33970         * nptl/sysdeps/powerpc/Makefile: Moved ...
33971         * sysdeps/powerpc/nptl/Makefile: ... here.
33972         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33973         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33974         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33975         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33976         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33977         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33978         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33979         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33980         * nptl/sysdeps/powerpc/tls.h: Moved ...
33981         * sysdeps/powerpc/nptl/tls.h: ... here.
33983 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33985         [BZ #16681]
33986         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33987         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33988         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33989         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33990         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33991         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33992         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33993         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33994         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33996 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33998         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34000 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34002         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34003         defined operator.
34005         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34006         $TIMEOUTFACTOR.
34008 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34010         [BZ #17058]
34011         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34012         non-executed part of the test.
34014 2014-06-16  Andreas Schwab  <schwab@suse.de>
34016         * string/bits/string2.h (strdup, strndup): Update feature guard.
34018 2014-06-14  David S. Miller  <davem@davemloft.net>
34020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34022 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34024         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34025         that was previously under [RESET_PID].
34026         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34028         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34029         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34030         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34031         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34032         (__libc_vfork): New strong alias.
34033         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34035 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34037         * sysdeps/generic/elide.h: New file.
34039 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34041         * Makefile (installed-headers): Adjust path of pthread.h header.
34043 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34045         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34046         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34047         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34048         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34050         * nptl/sysdeps/s390/Makefile: Moved ...
34051         * sysdeps/s390/nptl/Makefile: ... here.
34052         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34053         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34054         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34055         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34056         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34057         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34058         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34059         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34060         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34061         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34062         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34063         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34064         * nptl/sysdeps/s390/tls.h: Moved ...
34065         * sysdeps/s390/nptl/tls.h: ... here.
34067         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34068         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34070 2014-06-13  David S. Miller  <davem@davemloft.net>
34072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34075         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34079         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34080         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34081         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34082         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34083         Remove RESET_PID cpp guards.
34084         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34085         Remove RESET_PID cpp guards.
34086         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34088 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34090         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34091         __sp to uintptr_t.
34093 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34096         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34097         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34102         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34103         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34107         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34108         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34112         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34113         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34114         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34116         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34117         (pthread_rwlock_rdlock): Add elision.
34118         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34119         (pthread_rwlock_wrlock): Add elision.
34120         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34121         (pthread_rwlock_trywrlock): Add elision.
34122         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34123         (pthread_rwlock_tryrdlock): Add elision.
34124         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34125         (pthread_rwlock_tryrdlock): Add elision unlock.
34126         * nptl/sysdeps/pthread/pthread.h:
34127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34128         (PTHREAD_RWLOCK_INITIALIZER,
34129         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34130         Handle new elision field.
34131         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34132         * sysdeps/arm/nptl/bits/pthreadtypes.h
34133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34134         * sysdeps/sh/nptl/bits/pthreadtypes.h
34135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34136         * sysdeps/tile/nptl/bits/pthreadtypes.h
34137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34138         * sysdeps/a/nptl/bits/pthreadtypes.h
34139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34140         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34142         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34144         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34146         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34148         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34150         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34151         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34152         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34153         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34154         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34156         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34157         (elision_init): Set try_xbegin to zero when no RTM.
34158         * sysdeps/x86/nptl/bits/pthreadtypes.h
34159         (pthread_rwlock_t): Change __pad1 to __rwelision.
34160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34162 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34164         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34165         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34166         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34167         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34169 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34171         [BZ #16996]
34172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34173         that the cached result has been set before returning it.
34175 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34177         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34178         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34179         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34180         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34181         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34182         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34184         * nptl/sysdeps/sparc/Makefile: Moved ...
34185         * sysdeps/sparc/nptl/Makefile: ... here.
34186         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34187         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34188         * nptl/sysdeps/sparc/tls.h: Moved ...
34189         * sysdeps/sparc/nptl/tls.h: ... here.
34190         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34191         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34192         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34193         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34194         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34195         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34196         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34197         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34198         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34199         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34200         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34201         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34202         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34203         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34204         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34205         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34206         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34208         Update #include.
34209         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34211         Update #include.
34212         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34214         Update #include.
34215         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34217         Update #include.
34219         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34221         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34222         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34224         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34225         (struct list_links): Type removed.
34226         (struct thread_node, struct timer_node): Replace struct list_links
34227         with struct list_head.
34228         (list_unlink_ip): Likewise.
34229         * sysdeps/pthread/timer_routines.c
34230         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34231         (list_append, list_insbefore): Likewise.
34232         (list_init): Function removed.
34233         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34234         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34235         * sysdeps/pthread/Makefile: ... here, new file.
34237         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34238         * sysdeps/nptl/Implies: ... here.
34239         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34240         * nptl/sysdeps/pthread/list.h: Moved ...
34241         * include/list.h: ... here.
34242         * nptl/sysdeps/pthread/createthread.c: Moved ...
34243         * nptl/createthread.c: ... here.
34244         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34245         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34246         * nptl/pt-longjmp.c: ... here.
34247         * nptl/sysdeps/pthread/Makefile: Moved ...
34248         * sysdeps/nptl/Makefile: ... here.
34249         * nptl/sysdeps/pthread/Subdirs: Moved ...
34250         * sysdeps/nptl/Subdirs: ... here.
34251         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34252         * sysdeps/nptl/aio_misc.h: ... here.
34253         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34254         * sysdeps/nptl/bits/libc-lock.h: ... here.
34255         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34256         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34257         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34258         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34259         * nptl/sysdeps/pthread/configure: Moved ...
34260         * sysdeps/nptl/configure: ... here.
34261         * nptl/sysdeps/pthread/configure.ac: Moved ...
34262         * sysdeps/nptl/configure.ac: ... here.
34263         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34264         * sysdeps/nptl/gai_misc.h: ... here.
34265         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34266         * sysdeps/nptl/librt-cancellation.c: ... here.
34267         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34268         * sysdeps/nptl/malloc-machine.h: ... here.
34269         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34270         * sysdeps/nptl/pthread-functions.h: ... here.
34271         * nptl/sysdeps/pthread/pthread.h: Moved ...
34272         * sysdeps/nptl/pthread.h: ... here.
34273         * nptl/sysdeps/pthread/setxid.h: Moved ...
34274         * sysdeps/nptl/setxid.h: ... here.
34275         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34276         * sysdeps/nptl/sigfillset.c: ... here.
34277         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34278         * sysdeps/nptl/tcb-offsets.h: ... here.
34279         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34280         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34281         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34282         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34283         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34284         * sysdeps/pthread/allocalim.h: ... here.
34285         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34286         * sysdeps/pthread/bits/sigthread.h: ... here.
34287         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34288         * sysdeps/pthread/flockfile.c: ... here.
34289         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34290         * sysdeps/pthread/ftrylockfile.c: ... here.
34291         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34292         * sysdeps/pthread/funlockfile.c: ... here.
34293         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34294         * sysdeps/pthread/posix-timer.h: ... here.
34295         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34296         * sysdeps/pthread/timer_create.c: ... here.
34297         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34298         * sysdeps/pthread/timer_delete.c: ... here.
34299         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34300         * sysdeps/pthread/timer_getoverr.c: ... here.
34301         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34302         * sysdeps/pthread/timer_gettime.c: ... here.
34303         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34304         * sysdeps/pthread/timer_routines.c: ... here.
34305         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34306         * sysdeps/pthread/timer_settime.c: ... here.
34307         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34308         * sysdeps/pthread/tst-timer.c: ... here.
34309         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34310         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34312         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34313         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34315         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34316         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34317         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34318         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34319         Update #include target.
34320         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34321         * sysdeps/i386/i686/nptl/Makefile: ... here.
34322         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34323         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34324         Update #include target.
34325         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34326         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34327         * nptl/sysdeps/i386/Makefile: Moved ...
34328         * sysdeps/i386/nptl/Makefile: ... here.
34329         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34330         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34331         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34332         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34333         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34334         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34335         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34336         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34337         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34338         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34339         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34340         * nptl/sysdeps/i386/tls.h: Moved ...
34341         * sysdeps/i386/nptl/tls.h: ... here.
34343         * sysdeps/sh/Makefile [$(subdir) = csu]
34344         (gen-as-const-headers): Add tcb-offsets.sym.
34345         * nptl/sysdeps/sh/Makefile: File removed.
34346         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34347         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34348         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34349         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34350         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34351         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34352         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34353         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34354         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34355         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34356         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34357         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34358         * nptl/sysdeps/sh/tls.h: Moved ...
34359         * sysdeps/sh/nptl/tls.h: ... here.
34360         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34361         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34362         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34363         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34364         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34365         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34366         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34367         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34368         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34369         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34371         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34373         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34375         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34377         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34379         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34380         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34381         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34385         Moved ...
34386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34392         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34394         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34395         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34396         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34397         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34398         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34399         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34400         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34401         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34402         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34403         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34405         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34406         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34407         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34409 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34411         * posix/spawn_faction_addopen.c: Include string.h.
34413 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34415         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34416         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34417         * nptl/sysdeps/x86_64/Makefile: Moved ...
34418         * sysdeps/x86_64/nptl/Makefile: ... here.
34419         * nptl/sysdeps/x86_64/configure: Moved ...
34420         * sysdeps/x86_64/nptl/configure: ... here.
34421         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34422         * sysdeps/x86_64/nptl/configure.ac: ... here.
34423         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34424         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34425         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34426         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34427         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34428         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34429         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34430         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34431         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34432         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34433         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34434         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34435         * nptl/sysdeps/x86_64/tls.h: Moved ...
34436         * sysdeps/x86_64/nptl/tls.h: ... here.
34437         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34438         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34439         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34440         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34442         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34444 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34448 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34450         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34451         type.
34452         [POSIX] (off_t): Likewise.
34453         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34454         [POSIX] (S_ISBLK): Require macro.
34455         [POSIX] (S_ISCHR): Likewise.
34456         [POSIX] (S_ISDIR): Likewise.
34457         [POSIX] (S_ISFIFO): Likewise.
34458         [POSIX] (S_ISREG): Likewise.
34459         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34460         optional-macro.
34461         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34462         type.
34463         [POSIX] (time_t): Likewise.
34464         [POSIX] (timer_t): Likewise.
34466 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34468         [BZ #17048]
34469         * posix/spawn_int.h (struct __spawn_action): Make the path string
34470         non-const to support deallocation.
34471         * posix/spawn_faction_addopen.c
34472         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34473         * posix/spawn_faction_destroy.c
34474         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34475         path in all spawn_do_open actions.
34476         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34477         posix_spawn_file_actions_addopen.
34479 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34481         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34482         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34483         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34484         conditional code always true.
34485         (__libc_vfork): New alias.
34487 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34489         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34490         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34492         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34494         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34495         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34497         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34498         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34500         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34501         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34503 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34505         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34506         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34507         multiarch strcmp for PPC64.
34508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34509         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34511         multiarch optimizations.
34512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34513         (__libc_ifunc_impl_list): Likewise.
34515 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34517         * benchtests/scripts/validate_benchout.py: New script.
34518         * benchtests/Makefile (bench-func): Call it.
34519         * benchtests/scripts/benchout.schema.json: New file.
34521 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34523         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34524         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34525         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34526         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34527         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34528         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34529         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34530         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34531         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34532         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34533         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34534         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34535         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34536         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34537         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34538         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34540         Moved ...
34541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34542         ... here.
34543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34544         Moved ...
34545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34547         Moved ...
34548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34549         ... here.
34550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34551         Moved ...
34552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34553         ... here.
34554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34555         Moved ...
34556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34558         Moved ...
34559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34560         ... here.
34561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34562         Moved ...
34563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34564         ... here.
34565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34566         Moved ...
34567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34569         Moved ...
34570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34571         ... here.
34572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34573         Moved ...
34574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34575         ... here.
34576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34577         Moved ...
34578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34579         ... here.
34580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34581         Moved ...
34582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34584         Moved ...
34585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34586         ... here.
34587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34588         Moved ...
34589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34590         ... here.
34591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34592         Moved ...
34593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34594         ... here.
34595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34596         Moved ...
34597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34599         Moved ...
34600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34601         ... here.
34602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34603         Moved ...
34604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34605         ... here.
34606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34607         Moved ...
34608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34610         Moved ...
34611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34612         ... here.
34613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34617         Moved ...
34618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34620         Moved ...
34621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34622         ... here.
34623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34624         Moved ...
34625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34626         ... here.
34627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34628         Moved ...
34629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34630         ... here.
34631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34632         Moved ...
34633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34635         Moved ...
34636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34637         ... here.
34638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34639         Moved ...
34640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34641         ... here.
34642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34643         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34645         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34647         Moved ...
34648         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34649         ... here.
34650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34651         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34653         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34655         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34657         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34658         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34659         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34661         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34663         Moved ...
34664         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34666         Moved ...
34667         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34669         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34671         Moved ...
34672         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34673         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34674         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34675         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34676         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34677         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34678         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34680 2014-06-10  Wilco  <wdijkstr@arm.com>
34682         * math/test-fenv-return.c: New file.
34683         * math/Makefile: Add new test test-fenv-return.
34685 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34687         [BZ #17042]
34688         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34689         when x - 1 is zero.
34690         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34691         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34692         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34693         0.0L for an argument of 1.0L.
34694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34695         Likewise.
34696         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34697         value when x - 1 is zero.
34698         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34699         * sysdeps/i386/fpu/libm-test-ulps: Update.
34700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34702 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34704         [BZ #15119]
34705         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34707 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34709         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34710         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34712 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34714         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34715         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34717         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34718         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34720         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34721         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34723         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34724         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34726         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34727         if not already defined.
34728         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34729         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34730         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34731         (TLS_INIT_TP): Use it.
34732         (TLS_DEFINE_INIT_TP): New macro.
34733         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34735 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34737         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34738         constant.
34739         [POSIX] (IXANY): Likewise.
34740         [POSIX] (OLCUC): Likewise.
34741         [POSIX || POSIX2008] (CBAUD): Do not allow.
34742         [POSIX || POSIX2008] (DEFECHO): Likewise.
34743         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34744         [POSIX || POSIX2008] (ECHOKE): Likewise.
34745         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34746         [POSIX || POSIX2008] (EXTA): Likewise.
34747         [POSIX || POSIX2008] (EXTB): Likewise.
34748         [POSIX || POSIX2008] (FLUSHO): Likewise.
34749         [POSIX || POSIX2008] (LOBLK): Likewise.
34750         [POSIX || POSIX2008] (PENDIN): Likewise.
34751         [POSIX || POSIX2008] (SWTCH): Likewise.
34752         [POSIX || POSIX2008] (VDISCARD): Likewise.
34753         [POSIX || POSIX2008] (VDSUSP): Likewise.
34754         [POSIX || POSIX2008] (VLNEXT): Likewise.
34755         [POSIX || POSIX2008] (VREPRINT): Likewise.
34756         [POSIX || POSIX2008] (VSTATUS): Likewise.
34757         [POSIX || POSIX2008] (VWERASE): Likewise.
34758         (B*): Change to B[0123456789]*.
34759         * conform/data/time.h-data [POSIX || UNIX98]
34760         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34761         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34762         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34763         [POSIX] (tm_*): Do not allow.
34765 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34767         * Makefile (install): Don't set LANGUAGE.
34768         * Makefile.in (install): Likewise.
34769         * assert/Makefile (test-assert-ENV): Remove variable.
34770         (test-assert-perr-ENV): Likewise.
34771         * elf/Makefile (neededtest4-ENV): Likewise.
34772         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34773         [$(cross-compiling) = no]: Don't set LANGUAGE.
34774         * io/ftwtest-sh (LANG): Remove variable.
34775         * libio/Makefile (tst-widetext-ENV): Likewise.
34776         * manual/install.texi (Running make install): Don't refer to
34777         environment settings for make install.
34778         * INSTALL: Regenerated.
34779         * nptl/tst-tls6.sh: Don't set LANG.
34780         * posix/globtest.sh (LANG): Remove variable.
34781         * string/Makefile (tester-ENV): Likewise.
34782         (inl-tester-ENV): Likewise.
34783         (noinl-tester-ENV): Likewise.
34784         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34785         [$(cross-compiling) = no]: Don't set LANGUAGE.
34786         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34787         without explicit environment settings.
34789 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34791         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34792         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34794         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34796 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34798         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34799         other files in the crypt directory.
34800         * crypt/crypt.c: Remove duplicate includes.
34801         * crypt/crypt-entry.c: Likewise.
34802         * crypt/crypt_util.c: Likewise.
34804 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34806         * Makeconfig (run-program-env): New variable.
34807         (run-program-prefix-before-env): Likewise.
34808         (run-program-prefix-after-env): Likewise.
34809         (run-program-prefix): Define in terms of new variables.
34810         (built-program-cmd-before-env): New variable.
34811         (built-program-cmd-after-env): Likewise.
34812         (built-program-cmd): Define in terms of new variables.
34813         (test-program-prefix-before-env): New variable.
34814         (test-program-prefix-after-env): Likewise.
34815         (test-program-prefix): Define in terms of new variables.
34816         (test-program-cmd-before-env): New variable.
34817         (test-program-cmd-after-env): Likewise.
34818         (test-program-cmd): Define in terms of new variables.
34819         * Rules (make-test-out): Use $(run-program-env).
34820         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34821         (help): Do not mention environment variables.  Mention
34822         --timeoutfactor option.
34823         (timeoutfactor): New variable.
34824         (blacklist_exports): Remove function.
34825         (exports): Remove variable.
34826         (command): Do not include ${exports}.
34827         * manual/install.texi (Configuring and compiling): Do not mention
34828         test wrappers preserving environment variables.  Mention that last
34829         assignment to a variable must take precedence.
34830         * INSTALL: Regenerated.
34831         * benchtests/Makefile (run-bench): Use $(run-program-env).
34832         * catgets/Makefile ($(objpfx)test1.cat): Use
34833         $(built-program-cmd-before-env), $(run-program-env) and
34834         $(built-program-cmd-after-env).
34835         ($(objpfx)test2.cat): Do not specify environment variables
34836         explicitly.
34837         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34838         $(run-program-env) and $(built-program-cmd-after-env).
34839         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34840         $(run-program-env) and $(test-program-cmd-after-env).
34841         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34842         explicitly.
34843         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34844         run_program_env and test_program_cmd_after_env arguments.
34845         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34846         * elf/tst-pathopt.sh: Use run_program_env argument.
34847         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34848         $(test-wrapper-env) and $(run-program-env).
34849         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34850         run_program_env arguments.
34851         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34852         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34853         $(test-program-prefix-before-env), $(run-program-env) and
34854         $(test-program-prefix-after-env).
34855         ($(objpfx)tst-gettext2.out): Likewise.
34856         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34857         run_program_env and test_program_prefix_after_env arguments.
34858         * intl/tst-gettext2.sh: Likewise.
34859         * intl/tst-gettext4.sh: Do not set environment variables
34860         explicitly.
34861         * intl/tst-gettext6.sh: Likewise.
34862         * intl/tst-translit.sh: Likewise.
34863         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34864         $(test-program-prefix-before-env), $(run-program-env) and
34865         $(test-program-prefix-after-env).
34866         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34867         run_program_env and test_program_prefix_after_env arguments.
34868         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34869         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34870         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34871         explicitly with each use of ${test_wrapper_env}.
34872         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34873         $(test-program-prefix-before-env), $(run-program-env) and
34874         $(test-program-prefix-after-env).
34875         * posix/tst-getconf.sh: Do not set environment variables
34876         explicitly.
34877         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34878         run_program_env and test_program_prefix_after_env arguments.
34879         * stdio-common/tst-printf.sh: Do not set environment variables
34880         explicitly.
34881         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34882         $(test-program-prefix-before-env), $(run-program-env) and
34883         $(test-program-prefix-after-env).
34884         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34885         run_program_env and test_program_prefix_after_env arguments.
34886         Split $test calls into $test_pre and $test.
34887         * timezone/Makefile (build-testdata): Use
34888         $(built-program-cmd-before-env), $(run-program-env) and
34889         $(built-program-cmd-after-env).
34891 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34893         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34894         strlen for non SHARED builds.
34896 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34898         * nptl/allocatestack.c (check_list): Inlined function...
34899         (__reclaim_stacks): ... here.
34901 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34903         [BZ #15698]
34904         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34905         memory overrun.
34907 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34909         * Rules (make-test-out): Include
34910         LOCPATH=$(common-objpfx)localedata in default environment.
34911         * debug/Makefile (tst-chk1-ENV): Remove variable.
34912         (tst-chk2-ENV): Likewise.
34913         (tst-chk3-ENV): Likewise.
34914         (tst-chk4-ENV): Likewise.
34915         (tst-chk5-ENV): Likewise.
34916         (tst-chk6-ENV): Likewise.
34917         (tst-lfschk1-ENV): Likewise.
34918         (tst-lfschk2-ENV): Likewise.
34919         (tst-lfschk3-ENV): Likewise.
34920         (tst-lfschk4-ENV): Likewise.
34921         (tst-lfschk5-ENV): Likewise.
34922         (tst-lfschk6-ENV): Likewise.
34923         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34924         (tst-iconv7-ENV): Likewise.
34925         * intl/Makefile (LOCPATH-ENV): Likewise.
34926         (tst-codeset-ENV): Likewise.
34927         (tst-gettext3-ENV): Likewise.
34928         (tst-gettext5-ENV): Likewise.
34929         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34930         (tst-fopenloc-ENV): Likewise.
34931         (tst-fgetws-ENV): Remove variable.
34932         (tst-ungetwc1-ENV): Likewise.
34933         (tst-ungetwc2-ENV): Likewise.
34934         (bug-ungetwc2-ENV): Likewise.
34935         (tst-swscanf-ENV): Likewise.
34936         (bug-ftell-ENV): Likewise.
34937         (tst-fgetwc-ENV): Likewise.
34938         (tst-fseek-ENV): Likewise.
34939         (tst-ftell-partial-wide-ENV): Likewise.
34940         (tst-ftell-active-handler-ENV): Likewise.
34941         (tst-ftell-append-ENV): Likewise.
34942         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34943         (tst-regexloc-ENV): Likewise.
34944         (bug-regex1-ENV): Likewise.
34945         (tst-regex-ENV): Likewise.
34946         (tst-regex2-ENV): Likewise.
34947         (bug-regex5-ENV): Likewise.
34948         (bug-regex6-ENV): Likewise.
34949         (bug-regex17-ENV): Likewise.
34950         (bug-regex18-ENV): Likewise.
34951         (bug-regex19-ENV): Likewise.
34952         (bug-regex20-ENV): Likewise.
34953         (bug-regex22-ENV): Likewise.
34954         (bug-regex23-ENV): Likewise.
34955         (bug-regex25-ENV): Likewise.
34956         (bug-regex26-ENV): Likewise.
34957         (bug-regex30-ENV): Likewise.
34958         (bug-regex32-ENV): Likewise.
34959         (bug-regex33-ENV): Likewise.
34960         (bug-regex34-ENV): Likewise.
34961         (bug-regex35-ENV): Likewise.
34962         (tst-rxspencer-ENV): Likewise.
34963         (tst-rxspencer-no-utf8-ENV): Likewise.
34964         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34965         (tst-sscanf-ENV): Likewise.
34966         (tst-swprintf-ENV): Likewise.
34967         (tst-swscanf-ENV): Likewise.
34968         (test-vfprintf-ENV): Likewise.
34969         (scanf13-ENV): Likewise.
34970         (bug14-ENV): Likewise.
34971         (tst-grouping-ENV): Likewise.
34972         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34973         (tst-strtod3-ENV): Likewise.
34974         (tst-strtod4-ENV): Likewise.
34975         (tst-strtod5-ENV): Likewise.
34976         (testmb2-ENV): Likewise./
34977         * string/Makefile (tst-strxfrm-ENV): Likewise.
34978         (tst-strxfrm2-ENV): Likewise.
34979         (bug-strcoll1-ENV): Likewise.
34980         (test-strcasecmp-ENV): Likewise.
34981         (test-strncasecmp-ENV): Likewise.
34982         * time/Makefile (tst-strptime-ENV): Likewise.
34983         (tst-ftime_l-ENV): Likewise.
34984         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34985         (tst-mbrtowc-ENV): Likewise.
34986         (tst-wcrtomb-ENV): Likewise.
34987         (tst-mbrtowc2-ENV): Likewise.
34988         (tst-c16c32-1-ENV): Likewise.
34989         (tst-mbsnrtowcs-ENV): Likewise.
34991 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34993         * manual/resource.texi (How to get information about the memory
34994         subsystem?): Fix typo.
34995         Reported by Peon de la Parra Ivan <peon@keba.com>
34997 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34999         [BZ #16882]
35000         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35001         (pthread_spin_lock): Branch out of spin loop to proper location.
35002         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35003         (pthread_spin_lock): Likewise.
35005         * nptl/tst-spin4.c: New test.
35006         * nptl/Makefile (tests): Add tst-spin4.
35008 2014-06-03  Andreas Schwab  <schwab@suse.de>
35010         [BZ #15946]
35011         * resolv/res_send.c (send_dg): Reload file descriptor after
35012         calling reopen.
35014 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35016         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35018 2014-06-03  Richard Henderson  <rth@redhat.com>
35020         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35021         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35022         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35023         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35024         in the SAVE_PID block.
35025         (__libc_vfork): New alias.
35026         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35028         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35029         child in registers, not on the stack.  Remove RESET_PID conditionals.
35030         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35032 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35034         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35036 2014-06-03  Wilco  <wdijkstr@arm.com>
35038         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35039         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35040         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35041         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35042         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35043         Likewise.
35045 2014-06-03  Wilco  <wdijkstr@arm.com>
35047         * sysdeps/aarch64/fpu/math_private.h
35048         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35049         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35050         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35051         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35052         Fix declarations.
35054 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35056         * crypt/crypt-private.h: Include ufc-crypt.h.
35057         (__b64_from_24bit): Declare extern.
35058         * crypt/crypt_util.c(__b64_from_24bit): New function.
35059         (b64t): New static const variable.
35060         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35061         (b64t): Remove variable.
35062         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35063         * crypt/sha256-crypt.c: Include crypt-private.h.
35064         (b64t): Remove variable.
35065         (__sha256_crypt_r): Remove b64_from_24bit and replace
35066         with __b64_from_24bit.
35067         * crypt/sha512-crypt.c: Likewise.
35069 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35071         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35072         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35073         Label the code __libc_vfork rather than __vfork.
35074         [!NOT_IN_libc] (vfork): Define as weak alias.
35075         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35076         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35077         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35079 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35081         * malloc/malloc.c (malloc_info): Fix format specifier for
35082         n_mmaps.
35084 2014-06-02  Wilco  <wdijkstr@arm.com>
35086         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35087         FPCR write.
35089 2014-06-02  Wilco  <wdijkstr@arm.com>
35091         [BZ #17009]
35092         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35093         Rewrite to reduce FPCR/FPSR accesses.
35095 2014-06-01  David S. Miller  <davem@davemloft.net>
35097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35099 2014-05-31  David S. Miller  <davem@davemloft.net>
35101         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35102         to occur in round to nearest mode when |x| >= 2.0
35104 2014-05-30  Richard Henderson  <rth@twiddle.net>
35106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35107         (PSEUDO_RET_NOERRNO): Remove.
35108         (ret): Don't redefine.
35109         (ret_NOERRNO): Define in terms of ret.
35110         (ret_ERRVAL): Likewise.
35112         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35113         use of PSEUDO_RET; perform the error check directly.
35115 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35117         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35118         with __int128_t.
35120 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35122         * malloc/malloc (malloc_info): Fix formatting.
35124 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35125             Roland McGrath  <roland@hack.frob.com>
35127         * malloc/malloc (malloc_info): Also print mmapped statistics.
35129 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35131         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35132         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35134 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35136         * malloc/malloc.c (malloc_info): Inline mi_arena.
35138 2014-05-29  Richard Henderson  <rth@twiddle.net>
35140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35141         Remove comma before expanding ASM_ARGS_##nr.
35142         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35143         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35144         of ASM_ARGS_##nr.
35145         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35146         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35147         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35148         (ASM_ARGS_1): Add leading comma.
35150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35151         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35152         to __errno_location.
35153         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35154         Remove the expected plt for __errno_location.
35156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35157         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35158         call to __read_tp.
35160         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35161         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35162         it and break it down.
35163         (DOCARGS_0, DOCARGS_1): Do nothing.
35164         (DOCARGS_2): Update to store into the new stack frame.
35165         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35166         (UNDOCARGS_1): Update to restore from the new stack frame.
35167         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35168         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35171         (SINGLE_THREAD_P): New parameter for result regno.
35172         (PSEUDO): Update to match; use cbz instead of beq.
35174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35175         Use ENTRY to define the _nocancel entry point.  Share the syscall
35176         and syscall error check paths with the cancel path.
35177         (PSEUDO_END): New.
35179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35180         whitespace; tabs before and after asm mnemonics.
35182 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35184         [BZ #15132]
35185         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35186         Call fstat64 or stat64 internally, depending on arguments passed.
35187         Replace stat buffer argument with file descriptor argument.
35188         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35189         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35190         Pass fd to __internal_statvfs instead of calling fstat64.
35191         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35192         Pass fd to __internal_statvfs64 instead of calling fstat64.
35193         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35194         Pass -1 to __internal_statvfs instead of calling stat64.
35195         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35196         Pass -1 to __internal_statvfs64 instead of calling stat64.
35198 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35200         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35201         that was previously under [RESET_PID].
35202         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35204         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35205         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35207 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35209         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35211         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35212         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35214 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35216         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35218 2014-05-27  Andreas Schwab  <schwab@suse.de>
35220         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35221         TLS_INIT_TP macro.
35222         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35223         * elf/rtld.c (init_tls, dl_main): Likewise.
35224         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35225         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35226         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35227         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35228         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35229         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35230         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35231         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35232         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35233         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35234         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35235         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35236         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35237         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35238         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35239         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35240         * sysdeps/generic/tls.h: Update description.
35242 2014-05-27  Will Newton  <will.newton@linaro.org>
35244         [BZ #16990]
35245         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35246         and restore r2 rather than just restoring.
35248 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35250         [BZ #16724]
35251         * libio/tst-ftell-append.c: New test case.
35252         * libio/Makefile (tests): Add test case.
35253         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35254         append mode.
35255         * libio/wfileops.c (do_ftell_wide): Likewise.
35257 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35261         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35262         ...
35263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35265         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35266         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35268         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35269         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35272         Moved ...
35273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35275         Moved ...
35276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35277         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35278         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35279         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35280         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35282         ...
35283         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35284         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35285         Moved ...
35286         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35287         here.
35288         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35289         ...
35290         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35292         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35295         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35296         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35297         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35300         merge into ...
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35303         ...
35304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35306         ...
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35309         Moved ...
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35311         here.
35312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35313         Moved ...
35314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35316         Moved ...
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35320         conditional [RESET_PID].
35321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35323         removed.
35324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35325         removed.
35327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35328         <tcb-offsets.h>.
35329         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35330         (__libc_vfork): New strong alias.
35331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35332         removed.
35333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35334         Removed.
35336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35337         <tcb-offsets.h>.
35338         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35339         (__libc_vfork): New strong alias.
35340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35341         removed.
35342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35343         removed.
35345 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35347         * malloc/malloc.c (mi_arena): New function.
35348         (malloc_info): Remove nested function mi_arena. Call non-nosted
35349         function mi_arena.
35351 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35353         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35354         by insrwi.
35355         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35356         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35357         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35358         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35359         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35360         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35361         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35363 2014-05-26  Andreas Schwab  <schwab@suse.de>
35365         [BZ #16984]
35366         * locale/programs/repertoire.c (repertoire_read): Add slash
35367         between I18NPATH element and file name.
35368         * locale/programs/locfile.c (locfile_read): Likewise.
35370 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35372         * nptl/pthread_mutexattr_settype.c
35373         (__pthread_mutexattr_settype):
35374         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35376 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35378         * nptl/tst-mutex5 (do_test):
35379         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35381 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35383         * benchtests/README: Document 'init' directive.
35384         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35385         BENCH_INIT.
35386         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35387         (parse_file): Recognize 'init' directive.
35389 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35391         [BZ #16796]
35392         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35393         alignment of struct pthread.
35395 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35397         [BZ #16878]
35398         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35399         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35400         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35401         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35403 2014-05-25  Richard Henderson  <rth@twiddle.net>
35405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35406         (SINGLE_THREAD_P_PIC): Remove.
35407         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35408         (SINGLE_THREAD_P_PIC): Remove.
35410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35411         branch to syscall error ...
35412         (PSEUDO): ... here.
35413         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35414         from __local_syscall_error to .Lsyscall_error.
35415         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35416         (SYSCALL_ERROR): Update label name.
35418         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35419         Do not use DOARGS/UNDOARGS.
35420         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35421         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35422         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35423         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35424         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35427         block comment.
35429         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35430         define if !NOT_IN_libc.
35431         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35432         define with non-default symbol versions.
35434 2014-05-23  Richard Henderson  <rth@twiddle.net>
35436         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35437         (vfork, __vfork): Define via compat_symbol.
35439         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35440         [!HAVE_IFUNC] (vfork_compat): Remove.
35441         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35443 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35445         [BZ #16978]
35446         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35447         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35448         variable.
35450 2014-05-23  Richard Henderson  <rth@twiddle.net>
35452         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35453         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35454         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35455         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35457         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35458         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35459         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35460         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35461         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35462         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35463         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35464         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35465         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35466         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35467         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35468         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35469         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35470         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35471         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35472         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35473         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35474         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35475         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35476         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35477         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35478         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35479         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35480         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35481         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35482         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35483         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35484         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35485         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35486         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35487         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35488         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35489         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35490         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35492         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35493         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35494         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35495         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35496         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35497         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35498         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35499         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35500         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35501         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35502         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35504         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35506         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35507         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35508         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35510         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35512         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35514         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35515         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35516         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35517         before exiting on error.
35518         (__libc_vfork): New strong alias.
35519         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35520         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35522         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35523         that was previously under [RESET_PID].
35524         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35526         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35528 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35530         [BZ #16977]
35531         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35532         value when x - 1 is zero.
35533         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35534         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35535         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35536         0.0L for an argument of 1.0L.
35537         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35538         Likewise.
35539         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35540         value when x - 1 is zero.
35541         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35542         * sysdeps/i386/fpu/libm-test-ulps: Update.
35543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35545 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35547         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35548         alphasort and versionsort.
35550 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35552         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35553         macro.
35554         [copysignf]: Likewise.
35556 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35558         * crypt/md5-crypt.c: Fix formatting.
35560 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35562         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35563         (b64_from_24bit): New function.
35565 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35567         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35568         libc_hidden_builtin_def to ifunc.
35569         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35570         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35572 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35574         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35575         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35577 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35579         * nscd/Depend (linuxthreads): Remove.
35580         (nptl): Add.
35581         * resolv/Depend (linuxthreads): Remove.
35582         * rt/Depend (linuxthreads): Remove.
35584         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35585         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35586         $(common-objpfx)elf/.
35587         (link-libc-before-gnulib): Likewise.
35588         (elfobjdir): Remove variable.
35589         * Makefile (install): Use $(elf-objpfx) instead of
35590         $(common-objpfx)elf/.
35591         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35592         $(elfobjdir)/.
35593         (link-libc-deps): Likewise.
35594         ($(common-objpfx)libc.so): Likewise.
35595         ($(common-objpfx)linkobj/libc.so): Likewise.
35596         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35597         instead of $(common-objpfx)elf/.
35598         (symbolic-link-list): Likewise.
35599         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35600         [$(cross-compiling) = no]: Likewise.
35601         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35602         $(elfobjdir)/.
35603         (static-gnulib-arch): Likewise.
35604         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35605         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35606         $(common-objpfx)elf/.
35608 2014-05-21  Richard Henderson  <rth@redhat.com>
35610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35611         (SINGLE_THREAD_P): Use the correct width load.  Fold
35612         into the ldr offset.
35614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35615         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35617 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35619         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35620         (libgcc_s_resume): Use __attribute_used__.
35621         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35622         Likewise.
35624 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35626         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35627         optimization when used with float constants.
35629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35631 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35633         [BZ #16915]
35634         * locale/nl_langinfo_l.c: Make direct reference to every
35635         _nl_current_CATEGORY symbol.
35636         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35637         (tests-static): Add tst-langinfo-static.
35638         (tests-special): Add tst-langinfo-static.out.
35639         ($(objpfx)tst-langinfo.out): Redirect output.
35640         ($(objpfx)tst-langinfo-static.out): New.
35641         * localedata/tst-langinfo.sh: Send output to stdout.
35642         * localedata/tst-langinfo-static.c: New file.
35644         [BZ #16965]
35645         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35646         when the shift amount is modulo the limb size.
35648 2014-05-20  Richard Henderson  <rth@redhat.com>
35650         [BZ #16967]
35651         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35652         Change type of sa_flags from unsigned int to int.
35654         [BZ #16966]
35655         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35657         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35659 2014-05-20  Will Newton  <will.newton@linaro.org>
35661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35662         Test the return value of the system call in the nocancel case.
35664 2014-05-20  Will Newton  <will.newton@linaro.org>
35665             Yvan Roux  <yvan.roux@linaro.org>
35667         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35668         #include of asm/ptrace.h.
35669         (PTRACE_GET_THREAD_AREA): Remove #undef.
35670         (PTRACE_GETHBPREGS): Likewise.
35671         (PTRACE_SETHBPREGS): Likewise.
35672         (struct user_regs_struct): New structure.
35673         (struct user_fpsimd_struct): New structure.
35674         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35675         #include of asm/ptrace.h and second #include of sys/user.h.
35676         (PTRACE_GET_THREAD_AREA): Remove #undef.
35677         (PTRACE_GETHBPREGS): Likewise.
35678         (PTRACE_SETHBPREGS): Likewise.
35679         (ELF_NGREG): Use new struct user_regs_struct.
35680         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35682 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35685         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35687 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35689         [BZ #16958]
35690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35691         membar to avoid block loads/stores to overlap previous stores.
35693 2014-05-17  Richard Henderson  <rth@redhat.com>
35695         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35696         Create the __##syscall_name##_nocancel entry point.
35697         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35698         Remove; let the sysdep-cancel.h code create it.
35700 2014-05-17  David S. Miller  <davem@davemloft.net>
35702         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35703         Protect with __USE_GNU.
35704         (TIOCSET_TEMPT): Likewise.
35705         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35706         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35707         these are already provided in bits/ioctl-types.h
35709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35711         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35712         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35714         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35715         Use wait4 regardless of [__NR_waitpid].
35717 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35719         PR libgcc/60166
35720         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35721         (_FP_NANSIGN_Q): Set the quiet bit.
35723 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35725         * benchtests/Makefile
35726         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35727         not $(common-objpfx)math/libm.so.
35728         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35729         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35730         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35731         $(common-objpfx)dlfcn/libdl.so.
35732         ($(objpfx)tst-audit8): Depend on $(libm), not
35733         $(common-objpfx)math/libm.so.
35734         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35735         not $(common-objpfx)dlfcn/libdl.so.
35736         * math/Makefile
35737         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35738         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35739         [$(build-shared) = yes].
35740         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35741         $(common-objpfx)nptl/libpthread.so.
35742         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35743         $(common-objpfx)math/libm.so$(libm.so-version) or
35744         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35745         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35746         $(common-objpfx)dlfcn/libdl.so.
35747         * setjmp/Makefile (link-libm): Remove variable.
35748         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35749         * stdio-common/Makefile (link-libm): Remove variable.
35750         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35751         * stdlib/Makefile (link-libm): Remove variable.
35752         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35753         ($(objpfx)tst-strtod-round): Likewise.
35754         ($(objpfx)tst-tininess): Likewise.
35755         ($(objpfx)tst-strtod-underflow): Likewise.
35756         ($(objpfx)tst-strtod6): Likewise.
35757         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35758         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35759         $(common-objpfx)dlfcn/libdl.so.
35761 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35764         BSD terminal modes definitions.
35766 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35768         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35769         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35771         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35772         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35773         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35774         Don't do #include_next.
35775         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35776         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35777         Don't do #include_next.
35778         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35779         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35780         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35781         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35783 2014-05-16  Allan McRae  <allan@archlinux.org>
35785         * po/sv.po: Update Swedish translation from translation project.
35787         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35788         in sed expression.
35790 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35792         [BZ #16917]
35793         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35794         errno if the TIOCGPTN ioctl fails with an error different than
35795         EINVAL.
35796         * login/tst-ptsname.c: New file.
35797         * login/Makefile (tests): Add tst-ptsname.
35799         [BZ #16943]
35800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35801         and prlimit64.
35803 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35805         [BZ #16849]
35806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35807         herrno to return EAI_AGAIN.
35809 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35811         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35812         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35813         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35814         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35815         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35816         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35817         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35818         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35819         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35820         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35821         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35822         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35823         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35824         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35825         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35826         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35827         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35828         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35829         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35830         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35831         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35832         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35833         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35834         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35835         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35836         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35837         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35838         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35839         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35840         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35842         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35844         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35846         Moved ...
35847         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35849         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35851         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35853         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35855         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35857         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35859         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35861         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35863         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35865         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35867         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35869         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35871         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35873         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35875         Moved ...
35876         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35878         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35880         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35882         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35884         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35888         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35890         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35892         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35894         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35896         Moved ...
35897         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35899         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35901         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35902         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35903         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35904         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35905         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35907         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35908         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35909         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35910         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35911         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35912         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35913         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35914         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35915         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35916         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35917         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35918         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35919         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35920         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35921         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35922         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35923         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35924         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35925         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35926         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35927         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35928         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35929         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35930         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35931         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35933         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35934         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35936         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35937         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35938         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35939         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35940         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35942         Moved ...
35943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35945         Moved ...
35946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35948         Moved ...
35949         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35951         Moved ...
35952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35953         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35954         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35955         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35958         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35959         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35960         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35962         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35963         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35968         Moved ...
35969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35970         ... here.
35971         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35972         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35973         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35974         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35975         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35976         Moved ...
35977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35978         ... here.
35979         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35980         Moved ...
35981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35982         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35983         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35984         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35985         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35987         Moved ...
35988         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35990         Moved ...
35991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35993         Moved ...
35994         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35996         Moved ...
35997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35998         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35999         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36000         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36001         Moved ...
36002         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36003         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36004         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36005         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36007         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36008         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36010         Moved ...
36011         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36013         Moved ...
36014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36015         ... here.
36016         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36017         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36018         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36019         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36020         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36021         Moved ...
36022         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36023         ... here.
36024         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36025         Moved ...
36026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36027         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36028         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36029         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36030         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36031         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36032         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36033         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36034         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36036         Moved ...
36037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36039         Moved ...
36040         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36042         Moved ...
36043         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36045         Moved ...
36046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36047         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36048         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36049         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36050         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36054         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36055         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36056         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36058         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36059         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36061         Moved ...
36062         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36064         Moved ...
36065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36066         ... here.
36067         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36068         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36069         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36070         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36072         Moved ...
36073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36074         ... here.
36075         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36076         Moved ...
36077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36078         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36079         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36080         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36081         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36082         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36083         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36084         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36085         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36086         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36087         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36089         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36090         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36092         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36093         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36095         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36096         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36097         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36098         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36099         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36100         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36101         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36102         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36103         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36104         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36105         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36106         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36107         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36108         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36109         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36111         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36113         Moved ...
36114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36118         Moved ...
36119         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36121         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36122         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36123         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36127         Moved ...
36128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36130         Moved ...
36131         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36132         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36133         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36134         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36135         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36137         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36138         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36139         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36140         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36141         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36142         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36143         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36144         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36145         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36146         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36147         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36149         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36150         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36151         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36152         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36153         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36155         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36156         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36157         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36158         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36159         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36160         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36161         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36162         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36163         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36164         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36169         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36170         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36171         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36172         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36174         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36175         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36176         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36177         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36178         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36179         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36180         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36181         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36182         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36184         Update #include.
36185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36186         Likewise.
36187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36188         Likewise.
36189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36190         Likewise.
36191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36192         Likewise.
36193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36194         Likewise.
36195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36196         Likewise.
36197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36198         Likewise.
36199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36200         Likewise.
36201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36202         Likewise.
36203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36211         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36215         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36217         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36220         that was previously under [RESET_PID].
36221         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36222         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36223         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36225         * sysdeps/i386/nptl/Implies: New file.
36226         * sysdeps/x86_64/nptl/Implies: New file.
36227         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36228         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36229         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36230         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36232         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36233         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36234         (__libc_vfork): New strong alias.
36235         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36236         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36238         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36239         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36240         (__libc_vfork): New strong alias.
36241         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36242         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36244         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36245         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36246         (__libc_vfork): New strong alias.
36247         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36248         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36249         * nptl/pt-vfork.c: New file.
36250         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36251         (libpthread: GLIBC_2.20): New version set (empty).
36253 2014-05-14  Will Newton  <will.newton@linaro.org>
36255         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36256         rather than #if.
36258 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36260         [BZ #16564]
36261         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36262         arguments with exponent 65 or above.
36263         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36264         arguments 0x1p113L or above.
36265         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36266         to arguments 0x1p107L or above.
36267         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36268         positive arguments with exponent 65 or above.
36269         * math/auto-libm-test-in: Add more tests of log1p.
36270         * math/auto-libm-test-out: Regenerated.
36272         [BZ #16928]
36273         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36274         non-finite arguments is +0.
36275         * math/s_cacosf.c (__cacosf): Likewise.
36276         * math/s_cacosl.c (__cacosl): Likewise.
36277         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36278         * sysdeps/i386/fpu/libm-test-ulps: Update.
36279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36281         [BZ #16927]
36282         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36283         value.
36284         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36285         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36286         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36287         for explicit high bit of mantissa when testing for argument equal
36288         to 1.
36289         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36290         * sysdeps/i386/fpu/libm-test-ulps: Update.
36291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36293         [BZ #16516]
36294         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36295         (__erf): Scale by 16 instead of 8 in potentially underflowing
36296         case.  Ensure exception if result actually underflows.
36297         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36298         (__erff): Scale by 16 instead of 8 in potentially underflowing
36299         case.  Ensure exception if result actually underflows.
36300         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36301         (efx8): Remove variable.
36302         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36303         case.  Ensure exception if result actually underflows.
36304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36305         (efx8): Remove variable.
36306         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36307         case.  Ensure exception if result actually underflows.
36308         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36309         (efx8): Remove variable.
36310         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36311         case.  Ensure exception if result actually underflows.
36312         * math/auto-libm-test-in: Add more tests of erf.
36313         * math/auto-libm-test-out: Regenerated.
36315 2014-05-14  Andreas Schwab  <schwab@suse.de>
36317         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36318         Remove code conditionalized on USE___THREAD.
36320         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36321         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36322         not definedness.
36324 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36327         Define unconditionally.
36328         (__ASSUME_O_CLOEXEC): Likewise.
36329         (__ASSUME_SOCK_CLOEXEC): Likewise.
36330         (__ASSUME_IN_NONBLOCK): Likewise.
36331         (__ASSUME_PIPE2): Likewise.
36332         (__ASSUME_EVENTFD2): Likewise.
36333         (__ASSUME_SIGNALFD4): Likewise.
36334         (__ASSUME_DUP3): Likewise.
36335         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36336         (__ASSUME_DUP3): Do not define.
36337         (__ASSUME_EVENTFD2): Likewise.
36338         (__ASSUME_IN_NONBLOCK): Likewise.
36339         (__ASSUME_O_CLOEXEC): Likewise.
36340         (__ASSUME_PIPE2): Likewise.
36341         (__ASSUME_SIGNALFD4): Likewise.
36342         (__ASSUME_SOCK_CLOEXEC): Likewise.
36343         (__ASSUME_UTIMES): Undefine.
36344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36345         (__ASSUME_UTIMES): Do not define.
36346         (__ASSUME_O_CLOEXEC): Likewise.
36347         (__ASSUME_SOCK_CLOEXEC): Likewise.
36348         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36349         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36350         0x020621].
36351         (__ASSUME_PIPE2): Likewise.
36352         (__ASSUME_EVENTFD2): Likewise.
36353         (__ASSUME_SIGNALFD4): Likewise.
36354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36355         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36356         Do not define.
36357         (__ASSUME_EVENTFD2): Likewise.
36358         (__ASSUME_SIGNALFD4): Likewise.
36359         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36360         (__ASSUME_32BITUIDS): Likewise.
36361         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36362         (__ASSUME_IPC64): Likewise.
36363         (__ASSUME_ST_INO_64_BIT): Likewise.
36364         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36365         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36366         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36367         (__ASSUME_UTIMES): Do not define.
36368         (__ASSUME_PSELECT): Likewise.
36369         (__ASSUME_PPOLL): Likewise.
36370         (__ASSUME_O_CLOEXEC): Likewise.
36371         (__ASSUME_SOCK_CLOEXEC): Likewise.
36372         (__ASSUME_IN_NONBLOCK): Likewise.
36373         (__ASSUME_PIPE2): Likewise.
36374         (__ASSUME_EVENTFD2): Likewise.
36375         (__ASSUME_SIGNALFD4): Likewise.
36376         (__ASSUME_DUP3): Likewise.
36377         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36378         (__ASSUME_UTIMES): Likewise.
36379         (__ASSUME_O_CLOEXEC): Likewise.
36380         (__ASSUME_SOCK_CLOEXEC): Likewise.
36381         (__ASSUME_IN_NONBLOCK): Likewise.
36382         (__ASSUME_PIPE2): Likewise.
36383         (__ASSUME_EVENTFD2): Likewise.
36384         (__ASSUME_SIGNALFD4): Likewise.
36385         (__ASSUME_DUP3): Likewise.
36386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36387         (__ASSUME_UTIMES): Likewise.
36388         (__ASSUME_O_CLOEXEC): Likewise.
36389         (__ASSUME_SOCK_CLOEXEC): Likewise.
36390         (__ASSUME_IN_NONBLOCK): Likewise.
36391         (__ASSUME_PIPE2): Likewise.
36392         (__ASSUME_EVENTFD2): Likewise.
36393         (__ASSUME_SIGNALFD4): Likewise.
36394         (__ASSUME_DUP3): Likewise.
36395         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36396         Likewise.
36397         (__ASSUME_UTIMES): Likewise.
36398         (__ASSUME_EVENTFD2): Likewise.
36399         (__ASSUME_SIGNALFD4): Likewise.
36400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36401         (__ASSUME_O_CLOEXEC): Likewise.
36402         (__ASSUME_SOCK_CLOEXEC): Likewise.
36403         (__ASSUME_IN_NONBLOCK): Likewise.
36404         (__ASSUME_PIPE2): Likewise.
36405         (__ASSUME_EVENTFD2): Likewise.
36406         (__ASSUME_SIGNALFD4): Likewise.
36407         (__ASSUME_DUP3): Likewise.
36408         (__ASSUME_UTIMES): Undefine.
36410         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36411         feclearexcept.  Remove symbol versioning code.
36412         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36413         symbol versioning code.
36414         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36415         symbol versioning code.
36416         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36417         feupdateenv.  Remove symbol versioning code.
36418         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36419         fegetexceptflag.  Remove symbol versioning code.
36420         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36421         fesetexceptflag.  Remove symbol versioning code.
36422         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36423         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36424         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36425         (__posix_fadvise64_l32): Remove prototype.
36426         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36427         code.
36429 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36431         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36432         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36433         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36434         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36436 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36438         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36439         current working directory
36441 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36443         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36444         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36445         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36446         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36447         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36448         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36449         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36450         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36452         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36453         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36454         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36455         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36456         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36457         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36458         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36459         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36460         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36462         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36464         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36465         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36466         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36467         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36468         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36469         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36470         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36471         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36472         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36473         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36474         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36475         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36476         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36477         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36478         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36479         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36480         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36481         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36482         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36483         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36484         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36486         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36487         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36489         * sysdeps/unix/sysv/linux/arm/Makefile
36490         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36491         Add rt-aeabi_unwind_cpp_pr1.
36492         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36493         Add nptl-aeabi_unwind_cpp_pr1.
36494         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36495         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36496         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36497         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36498         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36499         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36501         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36502         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36503         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36504         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36506         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36507         Deconditionalize the code that was previously under [RESET_PID].
36508         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36510         * sysdeps/generic/exit-thread.h: New file.
36511         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36512         * include/unistd.h (__exit_thread): Remove declaration.
36513         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36514         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36515         * csu/libc-start.c: Include <exit-thread.h>.
36516         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36517         * nptl/pthread_create.c: Include <exit-thread.h>.
36518         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36519         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36520         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36521         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36522         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36523         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36524         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36525         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36526         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36527         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36528         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36529         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36530         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36531         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36532         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36533         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36534         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36536 2014-05-13  Andreas Schwab  <schwab@suse.de>
36538         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36540 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36542         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36543         (__ASSUME_UTIMES): Do not condition on kernel version.
36544         (__ASSUME_PSELECT): Define unconditionally.
36545         (__ASSUME_PPOLL): Likewise.
36546         (__ASSUME_ATFCTS): Likewise.
36547         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36548         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36549         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36550         (__ASSUME_UTIMENSAT): Define unconditionally.
36551         (__ASSUME_PRIVATE_FUTEX): Likewise.
36552         (__ASSUME_FALLOCATE): Likewise.
36553         (__ASSUME_O_CLOEXEC): Likewise.
36554         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36555         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36556         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36557         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36558         (__ASSUME_IN_NONBLOCK): Likewise.
36559         (__ASSUME_PIPE2): Likewise.
36560         (__ASSUME_EVENTFD2): Likewise.
36561         (__ASSUME_SIGNALFD4): Likewise.
36562         (__ASSUME_DUP3): Likewise.
36563         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36564         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36565         (__ASSUME_AT_RANDOM): Likewise.
36566         (__ASSUME_PREADV): Likewise.
36567         (__ASSUME_PWRITEV): Likewise.
36568         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36569         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36570         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36571         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36572         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36573         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36574         (__ASSUME_O_CLOEXEC): Define unconditionally.
36575         (__ASSUME_PSELECT): Do not undefine conditionally.
36576         (__ASSUME_PPOLL): Likewise.
36577         (__ASSUME_ATFCTS): Likewise.
36578         (__ASSUME_SET_ROBUST_LIST): Likewise.
36579         (__ASSUME_UTIMENSAT): Likewise.
36580         (__ASSUME_FDATASYNC): Define unconditionally.
36581         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36582         (__ASSUME_SIGFRAME_V2): Likewise.
36583         )__ASSUME_EVENTFD2): Likewise.
36584         (__ASSUME_SIGNALFD4): Likewise.
36585         (__ASSUME_PSELECT): Do not undefine conditionally.
36586         (__ASSUME_PPOLL): Likewise.
36587         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36588         (__ASSUME_PSELECT): Define unconditionally.
36589         (__ASSUME_PPOLL): Likewise.
36590         (__ASSUME_O_CLOEXEC): Likewise.
36591         (__ASSUME_SOCK_CLOEXEC): Likewise.
36592         (__ASSUME_IN_NONBLOCK): Likewise.
36593         (__ASSUME_PIPE2): Likewise.
36594         (__ASSUME_EVENTFD2): Likewise.
36595         (__ASSUME_SIGNALFD4): Likewise.
36596         (__ASSUME_DUP3): Likewise.
36597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36598         (__ASSUME_O_CLOEXEC): Likewise.
36599         (__ASSUME_SOCK_CLOEXEC): Likewise.
36600         (__ASSUME_IN_NONBLOCK): Likewise.
36601         (__ASSUME_PIPE2): Likewise.
36602         (__ASSUME_EVENTFD2): Likewise.
36603         (__ASSUME_SIGNALFD4): Likewise.
36604         (__ASSUME_DUP3): Likewise.
36605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36606         (__ASSUME_EVENTFD2): Likewise.
36607         (__ASSUME_SIGNALFD4): Likewise.
36608         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36610 2014-05-12  Andreas Schwab  <schwab@suse.de>
36612         [BZ #16932]
36613         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36614         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36615         than maximum RPC packet size.
36616         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36617         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36618         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36619         (_nss_nis_getservbyport_r): Likewise.
36621 2014-05-12  Will Newton  <will.newton@linaro.org>
36623         * malloc/Makefile (tests): Add tst-mallopt.
36624         * malloc/tst-mallopt.c: New file.
36626 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36628         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36629         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36631 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36633         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36634         (tst-tlsmod6.so): Likewise.
36636 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36638         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36640 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36642         [BZ #16064]
36643         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36644         and <dl-procinfo.h>.
36645         (__fegetenv): Save SSE state in envp->__eip if supported.
36646         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36647         envp->__eip if supported.
36648         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36649         and <dl-procinfo.h>.
36650         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36651         __data_offset and __data_selector in environment to 0.  Set SSE
36652         state if supported.
36653         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36654         test-fenv-sse.
36655         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36656         -mfpmath=sse.
36657         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36659 2014-05-09  Will Newton  <will.newton@linaro.org>
36661         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36662         and libc_relro_required for ARM.
36663         * sysdeps/arm/preconfigure: Regenerate.
36665 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36666             Stefan Liebler  <stli@linux.vnet.ibm.com>
36668         * config.make.in (enable-lock-elision): New Makefile variable.
36669         * configure.ac: Likewise.
36670         * configure: Regenerate.
36671         * sysdeps/s390/configure.ac:
36672         Add check for gcc transactions support.
36673         * sysdeps/s390/configure: Regenerate.
36674         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36675         Build elision files if enabled.
36676         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36677         Add lock elision support for s390.
36678         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36679         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36680         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36681         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36682         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36683         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36685         Likewise.
36686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36687         Likewise.
36688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36689         Likewise.
36690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36691         Likewise.
36692         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36693         (__lll_timedlock_elision, __lll_lock_elision)
36694         (__lll_unlock_elision, __lll_trylock_elision)
36695         (lll_timedlock_elision, lll_lock_elision)
36696         (lll_unlock_elision, lll_trylock_elision): Add.
36697         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36698         (pthread_mutex_t): Add lock elision support for s390.
36700 2014-05-14  Wilco  <wdijkstr@arm.com>
36702         * sysdeps/arm/fclrexcpt.c: Cleanup.
36703         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36704         * sysdeps/arm/feenablxcpt.c: Cleanup.
36705         * sysdeps/arm/fegetenv.c: Cleanup.
36706         * sysdeps/arm/fegetexcept.c: Cleanup.
36707         * sysdeps/arm/fegetround.c: Cleanup.
36708         * sysdeps/arm/feholdexcpt.c: Cleanup.
36709         * sysdeps/arm/fesetenv.c: Cleanup.
36710         * sysdeps/arm/fesetround.c: Cleanup.
36711         * sysdeps/arm/feupdateenv.c: Cleanup.
36712         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36713         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36714         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36715         * sysdeps/arm/ftestexcept.c: Cleanup.
36716         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36717         * sysdeps/arm/setfpucw.c: Cleanup.
36719 2014-05-09  Will Newton  <will.newton@linaro.org>
36721         * sysdeps/arm/armv7/strcmp.S: New file.
36722         * NEWS: Mention addition of ARMv7 optimized strcmp.
36724 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36726         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36727         look for %.ac rather than %.in.
36729         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36730         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36731         * sysdeps/mach/hurd/configure: Regenerated.
36732         * sysdeps/unix/sysv/linux/configure: Regenerated.
36734         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36736 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36738         [BZ# 16922]
36739         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36740         (LONG_SUB): Ditto.
36741         (PTR_SUB): Ditto.
36743 2014-05-07  Andreas Schwab  <schwab@suse.de>
36745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36746         when skipping over non-matching result from nscd.
36748 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36750         [BZ #16876]
36751         * nptl/sockperf.c (client): Check socket return value.
36753         [BZ #16877]
36754         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36755         nscd security class.
36757 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36759         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36760         * sysdeps/arm/unwind.h: ... here.
36762 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36764         [BZ# 16916]
36765         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36766         Define.
36768 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36770         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36771         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36772         multiarch strncpy for PPC64.
36773         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36774         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36776         multiarch optimizations.
36777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36778         (__libc_ifunc_impl_list): Likewise.
36779         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36781         multiarch stpncpy for PPC64.
36782         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36783         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36785 2014-05-06  Andreas Schwab  <schwab@suse.de>
36787         [BZ #16912]
36788         * gmon/mcount.c (_MCOUNT_DECL): Use
36789         atomic_compare_and_exchange_bool_acq instead of
36790         catomic_compare_and_exchange_bool_acq.
36792 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36794         * elf/Makefile (others, install-bin): Remove pldd.
36795         (pldd-modules): Variable removed.
36796         ($(objpfx)pldd): Target removed.
36797         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36798         (others, install-bin): Append pldd here.
36799         ($(objpfx)pldd): New target.
36801         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36802         to 0, so the first #if test emitted later doesn't see it undefined.
36803         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36804         * sysdeps/gnu/errlist.c: Regenerated.
36806 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36809         [libc_hidden_builtin_def]: Define to empty value.
36810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36811         [libc_hidden_builtin_def]: Likewise.
36812         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36813         [libc_hidden_builtin_def]: Likewise.
36814         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36815         [libc_hidden_builtin_def]: Likewise.
36816         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36817         __redirect_memcpy and define ifunc as default hidden symbol.
36818         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36819         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36821 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36823         * locale/iso-4217.def: Reintroduce XDR currency.
36825 2014-05-04  Allan McRae  <allan@archlinux.org>
36827         * po/eo.po: Update Esperanto translation from translation project.
36829 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36831         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36832         and FEATURE_INDEX_MAX to 1.
36833         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36835 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36837         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36838         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36839         * iconvdata/big5.c (ONE_DIRECTION): Define.
36840         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36841         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36842         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36843         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36844         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36845         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36846         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36847         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36848         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36849         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36850         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36851         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36852         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36853         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36854         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36855         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36856         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36857         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36858         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36859         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36860         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36861         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36862         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36863         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36864         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36865         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36866         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36867         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36868         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36869         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36870         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36871         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36872         * iconvdata/johab.c (ONE_DIRECTION): Define.
36873         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36874         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36875         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36876         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36877         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36878         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36879         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36880         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36881         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36882         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36884 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36886         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36887         (_IO_JUMPS_OFFSET): Define to 0.
36889         * nptl/sysdeps/pthread/bits/libc-lock.h
36890         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36891         (__libc_lock_define_initialized_recursive): Always define using
36892         initializer.  Modern compilers treat uninitialized (implicit zero) and
36893         explicit zero initializers the same (i.e. put the datum in bss).
36895 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36897         * nscd/nscd-client.h: Include <string.h>.
36899 2014-05-01  David S. Miller  <davem@davemloft.net>
36901         [BZ #16885]
36902         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36903         multiple zero bytes exist at the end of a string.
36904         Reported by Aurelien Jarno <aurelien@aurel32.net>
36906         * string/test-strcmp.c (check): Add explicit test for situations where
36907         there are multiple zero bytes after the first.
36909 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36911         [BZ #16890]
36912         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36913         when compiling wprintf.
36914         * stdio-common/tstdiomisc.c (t3): New function.
36915         (main): Call it.
36917 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36919         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36920         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36921         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36922         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36924 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36926         * stdlib/longlong.h: Updated from GCC.
36928 2014-05-01  Will Newton  <will.newton@linaro.org>
36929             Bernard Ogden  <bernie.ogden@linaro.org>
36931         * NEWS: Update fixed bug list.
36933         [BZ #15119]
36934         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36936 2014-04-30  David S. Miller  <davem@davemloft.net>
36938         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36939         (libc_feholdexcept_setround_sparc_ctx): New function.
36940         (libc_fesetenv_sparc_ctx): Likewise.
36941         (libc_feupdateenv_sparc_ctx): Likewise.
36942         (libc_feholdsetround_sparc_ctx): Likewise.
36943         (libc_feholdexcept_setround_ctx): Define.
36944         (libc_feholdexcept_setroundf_ctx): Likewise.
36945         (libc_feholdexcept_setroundl_ctx): Likewise.
36946         (libc_fesetenv_ctx): Likewise.
36947         (libc_fesetenvf_ctx): Likewise.
36948         (libc_fesetenvl_ctx): Likewise.
36949         (libc_feupdateenv_ctx): Likewise.
36950         (libc_feupdateenvf_ctx): Likewise.
36951         (libc_feupdateenvl_ctx): Likewise.
36952         (libc_feresetround_ctx): Likewise.
36953         (libc_feresetroundf_ctx): Likewise.
36954         (libc_feresetroundl_ctx): Likewise.
36955         (libc_feholdsetround_ctx): Likewise.
36956         (libc_feholdsetroundf_ctx): Likewise.
36957         (libc_feholdsetroundl_ctx): Likewise.
36959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36960         with __USE_GNU instead of XOPEN cpp guards.
36962         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36963         0.
36965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36966         with XOPEN cpp guards.
36968 2014-04-30  Julian Brown  <julian@codesourcery.com>
36970         [BZ #16888]
36971         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36972         handling.
36974 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36976         [BZ #9894]
36977         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36978         Change to 2.6.32.
36979         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36980         * sysdeps/unix/sysv/linux/configure: Regenerated.
36981         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36982         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36983         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36984         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36985         * README: Update reference to required Linux kernel version.
36986         * manual/install.texi (Linux): Update reference to required Linux
36987         kernel headers version.
36988         * INSTALL: Regenerated.
36990         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36991         header inclusion.
36992         [POSIX] (limits.h): Likewise.
36993         [POSIX] (math.h): Likewise.
36994         [POSIX] (sys/wait.h): Likewise.
36995         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36996         function.
36997         [POSIX] (stddef.h): Do not allow header inclusion.
36999 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37003 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37005         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37006         Return immediately after lll_futex_wake.
37008 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37010         [BZ #16791]
37011         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37012         structure.
37013         (datahead_init_pos): Call datahead_init_common early.
37014         (datahead_init_neg): Likewise.
37016         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37017         datahead_init_neg): New functions.
37018         * nscd/aicache.c (addhstaiX): Use them.
37019         * nscd/grpcache.c (cache_addgr): Likewise.
37020         * nscd/hstcache.c (cache_addhst): Likewise.
37021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37022         * nscd/netgroupcache.c (do_notfound): Likewise.
37023         (addgetnetgrentX): Likewise.
37024         (addinnetgrX): Likewise.
37025         * nscd/pwdcache.c (cache_addpw): Likewise.
37026         * nscd/servicescache.c (cache_addserv): Likewise.
37028 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37029             Atsushi Onoe  <atsushi@onoe.org>
37031         [BZ #14308]
37032         [BZ #12994]
37033         [BZ #13651]
37034         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37035         one response is valid.
37036         * resolv/res_send.c (send_dg): Check for validity of other
37037         response if the current response is a referral.
37039 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37041         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37043 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37045         [BZ #16823]
37046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37047         Always divide by positive zero when computing -Inf result.
37048         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37049         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37051 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37053         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37054         FPSCR if value do not change.
37055         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37056         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37057         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37059         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37060         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37061         function.
37063 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37065         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37066         * sysdeps/unix/sysv/linux/hppa: Move directory from
37067         ports/systeps/unix/sysv/linux/hppa.
37068         * README: Update listing for hppa-*-linux-gnu.
37070 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37072         [BZ #16754]
37073         * manual/stdio.texi (Hook functions): Fix types of stream hook
37074         functions.
37075         [BZ #16854]
37076         * socket/sys/socket.h: Fix typo in comment.
37078 2014-04-28  Wilco  <wdijkstr@arm.com>
37080         * sysdeps/arm/fenv_private.h: New file.
37081         * sysdeps/arm/math_private.h: New file.
37082         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37084 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37086         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37087         with __int128_t.
37088         (La_x86_64_retval): Likewise.
37090 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37092         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37093         fpsr if value didn't change.
37094         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37095         to fpcr if value didn't change.
37096         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37097         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37098         fpsr or fpcr if value didn't change.
37099         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37100         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37101         fpcr if value didn't change.
37102         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37103         to fpsr if value didn't change.
37105 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37107         * nptl/tst-sem3.c: Use test-skeleton.c
37108         (main): Rename to do_test.  Use return instead of
37109         exit.
37110         * nptl/tst-sem4.c: Use test-skeleton.c
37111         (main): Rename to do_test.
37113 2014-04-22  David S. Miller  <davem@davemloft.net>
37115         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37116         (struct sigaction): New struct member __glibc_reserved0, change
37117         type of sa_flags to int.
37119 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37121         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37122         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37124 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37126         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37127         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37129 2014-04-22  Will Newton  <will.newton@linaro.org>
37130             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37132         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37133         (__longjmp): Add longjmp and longjmp_target SystemTap
37134         probes.
37135         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37136         (__sigsetjmp): Add setjmp SystemTap probe.
37138 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37140         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37141         match manual order.
37143 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37145         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37147         * sysdeps/powerpc/fpu/fenv_private.h
37148         (libc_feholdexcept_setroundl_ctx): Define to
37149         libc_feholdexcept_setround_ppc_ctx.
37150         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37151         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37152         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37153         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37155 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37157         * sysdeps/aarch64/math-tests.h: New file.
37159 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37161         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37162         New.
37163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37164         Check and set bit_AVX2_Usable.
37165         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37166         macro.
37167         (bit_AVX2): Likewise.
37168         (index_AVX2_Usable): Likewise.
37169         (CPUID_AVX2): Likewise.
37170         (HAS_AVX2): Likewise.
37172 2014-04-17  Will Newton  <will.newton@linaro.org>
37174         * manual/setjmp.texi (System V contexts): Add note that
37175         calling setcontext on a context created by a call to a
37176         signal handler is undefined.  Update text to note that
37177         setcontext from a signal handler is possible but not
37178         recommended.
37180         [BZ #16629]
37181         * stdlib/tst-setcontext.c: Include signal.h.
37182         (main): Check that the signal stack before and
37183         after swapcontext is the same.
37185         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37186         Re-implement to restore registers in user code and avoid
37187         rt_sigreturn system call.
37189 2014-04-17  Wilco  <wdijkstr@arm.com>
37191         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37192         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37193         * math/test-fenv.c: Skip exception trap tests on targets which only
37194         support non-stop mode.
37196 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37197             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37199         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37200         (libc_feholdsetround_aarch64_ctx)
37201         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37202         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37203         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37204         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37205         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37206         (libc_feresetround_noexl_ctx): Define.
37208 2014-04-16  Richard Henderson  <rth@redhat.com>
37210         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37212         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37213         unwind tables.
37215         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37216         const from the non-libc, non-ldso copy.
37218         * sysdeps/alpha/libm-test-ulps: Regenerate.
37220 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37221             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37223         * sysdeps/aarch64/fpu/math_private.h: New file.
37225 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37227         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37229 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37231         [BZ #16275]
37232         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37233         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37234         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37235         Intel MPX bound registers before _dl_profile_fixup.
37236         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37237         registers after _dl_profile_fixup.  Save and restore bound
37238         registers bnd0/bnd1 when calling _dl_call_pltexit.
37239         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37240         (LR_BND_OFFSET): Likewise.
37241         (LRV_BND0_OFFSET): Likewise.
37242         (LRV_BND1_OFFSET): Likewise.
37244 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37246         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37247         to...
37248         * sysdeps/mach/hurd/i386/tls.h: ... here.
37249         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37250         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37251         fields.
37253 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37255         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37257 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37259         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37261 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37263         [BZ #14770]
37264         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37265         * sysdeps/s390/configure: Regenerate.
37267         [BZ #16824]
37268         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37269         Set round-to-nearest internally to reduce error accumulation.
37271 2014-04-16  Alan Modra  <amodra@gmail.com>
37273         [BZ #16740]
37274         [BZ #16619]
37275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37276         * math/libm-test.inc (frexp_test_data): Add tests.
37277         * NEWS: Update fixed bug list.
37279 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37281         * benchtests/Makefile: Depend on libraries in build directory.
37282         (bench-math): Separate out math tests.
37283         (bench-pthread): Separate out pthread tests.
37284         (bench): Include math and pthread tests.
37286 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37288         [BZ #16831]
37289         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37290         _dl_debug_initialize.
37292         * configure.ac: Remove SELinux header check.
37293         * configure: Regenerate.
37294         * nscd/selinux.c (perms): Array of const char* to permission names.
37295         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37296         default policy. Call string_to_security_class and string_to_av_perm to
37297         translate strings. Enforce default policy and call avs_has_perm with
37298         results of translated strings.
37300 2014-04-13  David S. Miller  <davem@davemloft.net>
37302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37304 2014-04-12  Allan McRae  <allan@archlinux.org>
37306         [BZ #16838]
37307         * manual/string.texi (Collation Functions): Fix qsort argument
37308         order in example.
37309         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37311 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37313         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37314         Make the test a no-op if there are no exceptions defined.
37316 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37318         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37319         enable-hardcoded-path-in-tests
37321 2014-04-11  Will Newton  <will.newton@linaro.org>
37323         * benchtests/Makefile (extra-objs): Add json-lib.o.
37324         (bench-func): Tidy up JSON output.
37325         * benchtests/bench-skeleton.c: Include json-lib.h.
37326         (main): Use JSON library functions to do output of
37327         benchmark results.
37328         * benchtests/bench-timing-type.c (main): Output the
37329         timing type simply, leaving formatting to the user.
37330         * benchtests/json-lib.c: New file.
37331         * benchtests/json-lib.h: Likewise.
37333 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37335         [BZ #15215]
37336         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37337         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37338         memory barriers.  Add comments.
37339         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37340         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37341         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37342         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37343         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37344         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37346 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37348         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37349         * sysdeps/s390/s390-64/configure.ac: ... this ...
37350         * sysdeps/s390/configure.ac: ... to here.
37351         * sysdeps/s390/s390-32/configure: Delete file.
37352         * sysdeps/s390/s390-64/configure: Delete file.
37353         * sysdeps/s390/configure: Regenerate.
37355 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37357         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37359 2014-04-11  Will Newton  <will.newton@linaro.org>
37361         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37362         to zero if it is not defined elsewhere.  (mtrim): Test
37363         the value of MALLOC_DEBUG with #if rather than #ifdef.
37365 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37367         * benchtests/pthread_once-inputs: New file.
37368         * benchtests/pthread_once-source.c: New file.
37369         * benchtests/README: Update documentation.
37371 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37372             H.J. Lu  <hongjiu.lu@intel.com>
37374         [BZ #16275]
37375         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37376         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37377         * sysdeps/x86_64/configure: Regenerated.
37378         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37379         macro.
37380         (REGISTER_SAVE_RAX): Likewise.
37381         (REGISTER_SAVE_RCX): Likewise.
37382         (REGISTER_SAVE_RDX): Likewise.
37383         (REGISTER_SAVE_RSI): Likewise.
37384         (REGISTER_SAVE_RDI): Likewise.
37385         (REGISTER_SAVE_R8): Likewise.
37386         (REGISTER_SAVE_R9): Likewise.
37387         (REGISTER_SAVE_BND0): Likewise.
37388         (REGISTER_SAVE_BND1): Likewise.
37389         (REGISTER_SAVE_BND2): Likewise.
37390         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37391         bound registers when calling _dl_fixup.
37393 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37395         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37396         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37397         of its definition.
37398         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37399         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37400         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37401         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37402         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37403         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37404         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37406 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37408         [BZ #15514]
37409         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37410         pathconf(_PC_NAME_MAX).
37412 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37414         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37415         Remove macro usage.
37416         (__PTHREAD_SPINS): Move definition to ...
37417         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37418         (__PTHREAD_SPINS): ... here.
37419         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37420         (__PTHREAD_SPIN): Likewise.
37421         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37422         (__PTHREAD_SPIN): Likewise.
37423         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37424         (__PTHREAD_SPIN): Likewise.
37425         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37426         (__PTHREAD_SPIN): Likewise.
37427         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37428         (__PTHREAD_SPIN): Likewise.
37429         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37430         (__PTHREAD_SPIN): Likewise.
37431         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37432         (__PTHREAD_SPIN): Likewise.
37433         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37434         (__PTHREAD_SPIN): Likewise.
37435         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37436         (__PTHREAD_SPIN): Likewise.
37437         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37438         (__PTHREAD_SPIN): Likewise.
37439         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37440         (__PTHREAD_SPIN): Likewise.
37441         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37442         (__PTHREAD_SPIN): Likewise.
37444         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37445         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37446         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37447         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37448         imply folder.
37449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37450         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37451         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37452         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37453         correct imply path.
37454         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37455         strlen symbol for non multi-arch builds.
37456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37457         missing hidden_def and weak_alias.
37459 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37461         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37463 2014-04-07  Will Newton  <will.newton@linaro.org>
37465         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37466         and contents.  [!_LIBC] Remove #ifndef and contents.
37467         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37468         * string/memccpy.c (__memccpy): Use ANSI prototype.
37469         * string/memfrob.c (memfrob): Likewise.
37470         * string/strcoll.c (STRCOLL): Likewise.
37471         * string/strlen.c (strlen): Likewise.
37472         * string/strtok.c (STRTOK): Likewise.
37473         * string/strcat.c: Remove unused #include of memcopy.h.
37474         (strcat): Use ANSI prototype.
37475         * string/strchr.c: Remove unused #include of memcopy.h.
37476         (strchr): Use ANSI prototype.
37477         * string/strcmp.c: Remove unused #include of memcopy.h.
37478         (strcmp): Use ANSI prototype.
37479         * string/strcpy.c: Remove unused #include of memcopy.h.
37480         (strcpy): Use ANSI prototype.
37482 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37484         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37485         * config.make.in (config-extra-cppflags): Set it from
37486         libc_extra_cppflags.
37487         * configure.ac (libc_extra_cflags): Make it accumulate over
37488         configure fragments.
37489         (libc_extra_cppflags): New flag.
37490         * configure. Regenerate.
37491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37492         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37493         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37496         [BZ #16815]
37497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37498         result for FE_DOWNWARD rounding mode.
37499         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37500         Likewise.
37501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37503 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37505         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37506         in function argument name.
37508 2014-04-03  David Svoboda  <svoboda@cert.org>
37510         [BZ #5666]
37511         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37512         explicitly.
37514 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37516         * elf/dl-unmap-segments.h: New file.
37517         * sysdeps/generic/ldsodefs.h
37518         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37519         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37520         * elf/dl-fptr.c: Likewise.
37521         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37522         * sysdeps/aarch64/tlsdesc.c: Likewise.
37523         * sysdeps/arm/tlsdesc.c: Likewise.
37524         * sysdeps/i386/tlsdesc.c: Likewise.
37525         * sysdeps/tile/dl-runtime.c: Likewise.
37526         * sysdeps/x86_64/tlsdesc.c: Likewise.
37527         * elf/dl-load.h: New file.
37528         * elf/dl-load.c: Include it.
37529         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37530         Macros moved to dl-load.h.
37531         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37532         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37533         Use _dl_unmap_segments in place of __munmap.
37534         Break out segment-mapping loop into ...
37535         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37537 2014-04-03  Will Newton  <will.newton@linaro.org>
37539         * elf/dl-lookup.c (do_lookup_x): Remove comment
37540         referring to nested function and move variable
37541         declarations down to before first use.
37543 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37545         [BZ #16799]
37546         [BZ #16800]
37547         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37548         with 0 numerator.
37549         * math/s_catanf.c (__catanf): Likewise.
37550         * math/s_catanh.c (__catanh): Likewise.
37551         * math/s_catanhf.c (__catanhf): Likewise.
37552         * math/s_catanhl.c (__catanhl): Likewise.
37553         * math/s_catanl.c (__catanl): Likewise.
37554         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37555         by positive zero when computing -Inf result.
37556         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37557         (catanh_test): Likewise.
37558         * sysdeps/i386/fpu/libm-test-ulps: Update.
37559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37561         [BZ #16789]
37562         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37563         instead of using underflowing value in computing result.
37564         * math/s_clog10.c (__clog10): Likewise.
37565         * math/s_clog10f.c (__clog10f): Likewise.
37566         * math/s_clog10l.c (__clog10l): Likewise.
37567         * math/s_clogf.c (__clogf): Likewise.
37568         * math/s_clogl.c (__clogl): Likewise.
37569         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37570         (clog10_test): Likewise.
37571         * sysdeps/i386/fpu/libm-test-ulps: Update.
37572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37574 2014-04-02  Alan Modra  <amodra@gmail.com>
37576         [BZ #16739]
37577         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37578         output when value is near a power of two.  Use int64_t for lx and
37579         remove casts.  Use decimal rather than hex exponent constants.
37580         Don't use long double multiplication when double will suffice.
37581         * math/libm-test.inc (nextafter_test_data): Add tests.
37582         * NEWS: Add 16739 and 16786 to bug list.
37584         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37586         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37588 2014-04-01  Will Newton  <will.newton@linaro.org>
37590         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37591         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37593 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37595         [BZ #13347]
37596         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37597         * nptl/tst-setuid2.c: New file.
37598         * nptl/Makefile (xtests): Add tst-setuid2.
37600 2014-04-01  Alan Modra  <amodra@gmail.com>
37602         [BZ #16786]
37603         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37605 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37607         [BZ #6803]
37608         [BZ #6804]
37609         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37610         set errno as appropriate.
37611         * math/w_scalbf.c (__scalbf): Likewise.
37612         * math/w_scalbl.c (__scalbl): Likewise.
37613         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37614         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37615         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37616         Add more NaN tests.
37618         [BZ #16349]
37619         * math/w_atan2.c: Include <errno.h>.
37620         (__atan2): Set errno for result underflowing to zero.
37621         * math/w_atan2f.c: Include <errno.h>.
37622         (__atan2f): Set errno for result underflowing to zero.
37623         * math/w_atan2l.c: Include <errno.h>.
37624         (__atan2l): Set errno for result underflowing to zero.
37625         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37626         tests.
37627         * math/auto-libm-test-out: Regenerated.
37629 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37631         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37632         Encode instruction correctly in little endian.
37633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37634         Likewise.
37635         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37636         Likewise.
37637         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37638         Likewise.
37639         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37640         Likewise.
37642 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37644         [BZ #9894]
37645         * sysdeps/unix/sysv/linux/kernel-features.h
37646         [__sparc__ && !__arch64__ && !__sparc_v9__]
37647         (__ASSUME_SET_ROBUST_LIST): Do not define.
37648         [__sparc__ && !__arch64__ && !__sparc_v9__]
37649         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37650         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37651         Likewise.
37652         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37653         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37654         (__ASSUME_REQUEUE_PI): Likewise.
37655         (__ASSUME_SET_ROBUST_LIST): Likewise.
37656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37657         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37658         Undefine.
37659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37660         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37661         Likewise.
37662         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37663         Likewise.
37664         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37665         Likewise.
37666         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37667         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37668         Undefine.
37669         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37670         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37671         Likewise.
37673         [BZ #16648]
37674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37675         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37676         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37678 2014-03-31  Will Newton  <will.newton@linaro.org>
37680         * benchtests/Makefile (bench): Add ffs and ffsll to list
37681         of tests.
37682         * benchtests/ffs-inputs: New file.
37683         * benchtests/ffsll-inputs: Likewise.
37685 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37687         [BZ #16770]
37688         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37689         too large before casting to int.
37690         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37691         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37692         * math/libm-test.inc (scalb_test_data): Add more tests.
37694 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37696         * benchtests/Makefile (DETAILED_OPT): New make option.
37697         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37698         set.
37699         * benchtests/bench-skeleton.c: Include stdbool.h.
37700         (main): Store and print timings per input.
37701         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37702         member to each argument value.
37703         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37704         (_print_arg_data): Initialize per-input timing to 0.
37706         * benchtests/Makefile (timing-type): New binary.
37707         (bench-clean): Also remove bench-timing-type.
37708         (bench): New target for timing-type.
37709         (bench-func): Print output in JSON format.
37710         * benchtests/bench-skeleton.c (main): Print output in JSON
37711         format.
37712         * benchtests/bench-timing-type.c: New file.
37713         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37714         (TIMING_PRINT_STATS): Remove.
37715         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37716         name separately.
37718         * benchtests/bench-modf.c: Remove.
37719         * benchtests/modf-inputs: New inputs file.
37721 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37723         [BZ #16362]
37724         * math/s_clog10.c (M_PI_LOG10E): New macro.
37725         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37726         imaginary parts are 0.
37727         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37728         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37729         imaginary parts are 0.
37730         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37731         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37732         imaginary parts are 0.
37733         * math/libm-test.inc (clog10_test_data): Update expected results
37734         for when real and imaginary parts are 0.
37736 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37738         * elf/dl-load.c: Finish conversion of __builtin_expect into
37739         __glibc_{un}likely.
37741 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37743         [BZ #16348]
37744         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37745         1+x for argument with exponent below -67.
37746         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37747         Likewise.
37748         * math/auto-libm-test-in: Add more tests of exp.
37749         * math/auto-libm-test-out: Regenerated.
37751 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         [BZ #16759]
37754         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37755         (nscd_getnetgrent): Use it.
37757         [BZ #16760]
37758         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37759         of stpcpy.
37761 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37763         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37764         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37765         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37766         (lll_robust_unlock): Remove out of line section. Use cfi
37767         intrinsics.
37768         (LLL_STUB_UNWIND_INFO*): Remove.
37769         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37770         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37771         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37772         (lll_robust_unlock): Remove out of line section. Use cfi
37773         intrinsics.
37774         (LLL_STUB_UNWIND_INFO*): Remove.
37776 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37778         [BZ #16758]
37779         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37780         blank values.
37782 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37784         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37786 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37788         [BZ #16198]
37789         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37790         fnstenv.
37791         * math/test-fenv-preserve.c: New file.
37792         * math/Makefile (tests): Add test-fenv-preserve.
37794 2014-03-26  Will Newton <will.newton@linaro.org>
37796         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37798 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37800         * scripts/versionlist.awk: Partition the version sets and emit all
37801         GLIBC_* (sorted) before all others (sorted).
37803 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37805         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37806         GLIBC_2.2.5 version.
37808 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37810         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37811         calls.
37813         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37814         previous change.
37816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37818 2014-03-25  Andreas Schwab  <schwab@suse.de>
37820         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37821         label to be used after in6ailist is initialized.
37823 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37825         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37826         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37828 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37830         [BZ #16357]
37831         [BZ #16599]
37832         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37833         min_plus_half.
37834         (fp_formats): Update initializers.
37835         (init_fp_formats): Initialize new field.
37836         (output_for_one_input_case): Allow underflow for results up to
37837         min_plus_half.
37838         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37839         * math/auto-libm-test-in: Don't mark some underflows from asin and
37840         atanh as spurious.
37841         * math/auto-libm-test-out: Regenerated.
37842         * sysdeps/i386/fpu/libm-test-ulps: Update.
37843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37845 2014-03-25  Andreas Schwab  <schwab@suse.de>
37847         * libio/Makefile (tst-ftell-partial-wide-ENV)
37848         (tst-ftell-active-handler-ENV): Define.
37850 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37852         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37854 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37856         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37858 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37860         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37861         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37862         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37864 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37866         [BZ #16634]
37867         * elf/dl-load.c (open_verify): Add mode parameter.
37868         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37869         (open_path): Change from boolean 'secure' to complete flag 'mode'
37870         (_dl_map_object): Adjust.
37871         * elf/Makefile (tests): Add tst-dlopen-aout.
37872         * elf/tst-dlopen-aout.c: New test.
37874 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37876         [BZ #16714]
37877         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37878         (struct stat): Rename member pad0 to __glibc_reserved0.
37880         [BZ #16712]
37881         * sysdeps/s390/s390-32/bits/wordsize.h
37882         (__WORDSIZE32_SIZE_ULONG): New define.
37883         * sysdeps/s390/s390-64/bits/wordsize.h
37884         (__WORDSIZE32_SIZE_ULONG): Likewise.
37885         * sysdeps/generic/stdint.h (SIZE_MAX):
37886         Define as UL if __WORDSIZE32_SIZE_ULONG.
37888         [BZ #16713]
37889         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37890         (__glibc_reserved0): New variable.
37891         (sa_flags): Change type to int.
37893         * posix/Makefile (before-compile): Use += before-compile instead
37894         of a :=.
37896         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37897         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37899 2014-03-20  Andreas Schwab  <schwab@suse.de>
37901         [BZ #16743]
37902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37903         non-matching result from nscd.
37905 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37907         * scripts/bench.py: Moved to ...
37908         * benchtests/scripts/bench.py: ... here.
37909         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37911 2014-03-24  Andreas Schwab  <schwab@suse.de>
37913         [BZ #16002]
37914         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37915         alloca_account and account alloca use for struct in6ailist.
37917 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37919         [BZ #16284]
37920         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37921         rounding mode to recompute results that overflow to infinity or
37922         underflow to zero.
37923         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37924         bug 16284.
37925         * math/auto-libm-test-out: Regenerated.
37926         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37927         (ccosh_test): Likewise.
37928         (csin_test_data): Use plus_oflow.
37929         (csin_test): Use ALL_RM_TEST.
37930         (csinh_test_data): Use plus_oflow.
37931         (csinh_test): Use ALL_RM_TEST.
37932         * sysdeps/i386/fpu/libm-test-ulps: Update.
37933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37935 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37937         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37938         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37939         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37941         [BZ #16731]
37942         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37943         when x - 1 is zero.
37944         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37945         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37946         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37948         argument is 1.
37949         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37950         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37951         zero.
37952         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37953         * sysdeps/i386/fpu/libm-test-ulps: Update.
37954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37956 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37958         * scripts/bench.pl: Remove file.
37959         * scripts/bench.py: New benchmark script.
37960         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37961         * benchtests/README: Mention python dependency.
37962         * scripts/pylintrc: New file.
37963         * scripts/pylint: New file.
37965         * bits/mathdef.h: Use #ifdef instead of #if.
37966         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37967         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37968         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37969         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37970         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37971         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37973 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37974             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37976         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37978         and strpbrk-ppc64 objects.
37979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37980         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37982         multiarch strpbrk for POWER7.
37983         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37984         multiarch strpbrk for PPC64.
37985         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37986         ifunc selector.
37987         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37988         strpbrk for POWER7.
37990 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37992         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37993         (atan_test): Likewise.
37994         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37995         (atanh_test): Use ALL_RM_TEST.
37996         (atan2_test_data): Likewise.
37997         (cabs_test): Likewise.
37998         (cacosh_test): Likewise.
37999         (carg_test): Likewise.
38000         (casin_test): Likewise.
38001         (casinh_test): Likewise.
38002         (cbrt_test): Likewise.
38003         (csqrt_test): Likewise.
38004         (erf_test): Likewise.
38005         (erfc_test): Likewise.
38006         (pow10_test): Likewise.
38007         (exp2_test): Likewise.
38008         (hypot_test): Likewise.
38009         (j0_test): Likewise.
38010         (j1_test): Likewise.
38011         (lgamma_test): Likewise.
38012         (gamma_test): Likewise.
38013         (sincos_test): Likewise.
38014         (tanh_test): Likewise.
38015         (y0_test): Likewise.
38016         (y1_test): Likewise.
38017         * sysdeps/i386/fpu/libm-test-ulps: Update.
38018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38020 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38024         and strcspn-ppc64 objects.
38025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38026         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38027         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38028         multiarch strcspn for POWER7.
38029         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38030         multiarch strcspn for PPC64.
38031         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38032         ifunc selector.
38033         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38034         strcspn for POWER7.
38036 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38038         * math/gen-libm-test.pl (generate_testfile): Expect only function
38039         name as argument to AUTO_TESTS_* and pass results for all rounding
38040         modes to parse_args.
38041         (parse_auto_input): Separate inputs of automatic tests from
38042         outputs before storing in %auto_tests.
38043         * math/libm-test.inc (acos_test_data): Update call to
38044         AUTO_TESTS_f_f.
38045         (acos_test): Use ALL_RM_TEST.
38046         (acos_tonearest_test_data): Remove.
38047         (acos_test_tonearest): Likewise.
38048         (acos_towardzero_test_data): Likewise.
38049         (acos_test_towardzero): Likewise.
38050         (acos_downward_test_data): Likewise.
38051         (acos_test_downward): Likewise.
38052         (acos_upward_test_data): Likewise.
38053         (acos_test_upward): Likewise.
38054         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38055         (asin_test_data): Likewise.
38056         (asin_test): Use ALL_RM_TEST.
38057         (asin_tonearest_test_data): Remove.
38058         (asin_test_tonearest): Likewise.
38059         (asin_towardzero_test_data): Likewise.
38060         (asin_test_towardzero): Likewise.
38061         (asin_downward_test_data): Likewise.
38062         (asin_test_downward): Likewise.
38063         (asin_upward_test_data): Likewise.
38064         (asin_test_upward): Likewise.
38065         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38066         (atan_test_data): Likewise.
38067         (atanh_test_data): Likewise.
38068         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38069         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38070         (carg_test_data): Likewise.
38071         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38072         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38073         (ccosh_test_data): Likewise.
38074         (cexp_test_data): Likewise.
38075         (clog_test_data): Likewise.
38076         (clog10_test_data): Likewise.
38077         (cos_test_data): Update call to AUTO_TESTS_f_f.
38078         (cos_test): Use ALL_RM_TEST.
38079         (cos_tonearest_test_data): Remove.
38080         (cos_test_tonearest): Likewise.
38081         (cos_towardzero_test_data): Likewise.
38082         (cos_test_towardzero): Likewise.
38083         (cos_downward_test_data): Likewise.
38084         (cos_test_downward): Likewise.
38085         (cos_upward_test_data): Likewise.
38086         (cos_test_upward): Likewise.
38087         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38088         (cosh_test): Use ALL_RM_TEST.
38089         (cosh_tonearest_test_data): Remove.
38090         (cosh_test_tonearest): Likewise.
38091         (cosh_towardzero_test_data): Likewise.
38092         (cosh_test_towardzero): Likewise.
38093         (cosh_downward_test_data): Likewise.
38094         (cosh_test_downward): Likewise.
38095         (cosh_upward_test_data): Likewise.
38096         (cosh_test_upward): Likewise.
38097         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38098         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38099         (ctan_test_data): Likewise.
38100         (ctan_test): Use ALL_RM_TEST.
38101         (ctan_tonearest_test_data): Remove.
38102         (ctan_test_tonearest): Likewise.
38103         (ctan_towardzero_test_data): Likewise.
38104         (ctan_test_towardzero): Likewise.
38105         (ctan_downward_test_data): Likewise.
38106         (ctan_test_downward): Likewise.
38107         (ctan_upward_test_data): Likewise.
38108         (ctan_test_upward): Likewise.
38109         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38110         (ctanh_test): Use ALL_RM_TEST.
38111         (ctanh_tonearest_test_data): Remove.
38112         (ctanh_test_tonearest): Likewise.
38113         (ctanh_towardzero_test_data): Likewise.
38114         (ctanh_test_towardzero): Likewise.
38115         (ctanh_downward_test_data): Likewise.
38116         (ctanh_test_downward): Likewise.
38117         (ctanh_upward_test_data): Likewise.
38118         (ctanh_test_upward): Likewise.
38119         (erf_test_data): Update call to AUTO_TESTS_f_f.
38120         (erfc_test_data): Likewise.
38121         (exp_test_data): Likewise.
38122         (exp_test): Use ALL_RM_TEST.
38123         (exp_tonearest_test_data): Remove.
38124         (exp_test_tonearest): Likewise.
38125         (exp_towardzero_test_data): Likewise.
38126         (exp_test_towardzero): Likewise.
38127         (exp_downward_test_data): Likewise.
38128         (exp_test_downward): Likewise.
38129         (exp_upward_test_data): Likewise.
38130         (exp_test_upward): Likewise.
38131         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38132         (exp10_test): Use ALL_RM_TEST.
38133         (exp10_tonearest_test_data): Remove.
38134         (exp10_test_tonearest): Likewise.
38135         (exp10_towardzero_test_data): Likewise.
38136         (exp10_test_towardzero): Likewise.
38137         (exp10_downward_test_data): Likewise.
38138         (exp10_test_downward): Likewise.
38139         (exp10_upward_test_data): Likewise.
38140         (exp10_test_upward): Likewise.
38141         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38142         (expm1_test_data): Likewise.
38143         (expm1_test): Use ALL_RM_TEST.
38144         (expm1_tonearest_test_data): Remove.
38145         (expm1_test_tonearest): Likewise.
38146         (expm1_towardzero_test_data): Likewise.
38147         (expm1_test_towardzero): Likewise.
38148         (expm1_downward_test_data): Likewise.
38149         (expm1_test_downward): Likewise.
38150         (expm1_upward_test_data): Likewise.
38151         (expm1_test_upward): Likewise.
38152         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38153         (fma_test): Use ALL_RM_TEST.
38154         (fma_towardzero_test_data): Remove.
38155         (fma_test_towardzero): Likewise.
38156         (fma_downward_test_data): Likewise.
38157         (fma_test_downward): Likewise.
38158         (fma_upward_test_data): Likewise.
38159         (fma_test_upward): Likewise.
38160         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38161         (j0_test_data): Update call to AUTO_TESTS_f_f.
38162         (j1_test_data): Likewise.
38163         (jn_test_data): Update call to AUTO_TESTS_if_f.
38164         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38165         (log_test_data): Update call to AUTO_TESTS_f_f.
38166         (log10_test_data): Likewise.
38167         (log1p_test_data): Likewise.
38168         (log2_test_data): Likewise.
38169         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38170         (pow_tonearest_test_data): Likewise.
38171         (sin_test_data): Update call to AUTO_TESTS_f_f.
38172         (sin_test): Use ALL_RM_TEST.
38173         (sin_tonearest_test_data): Remove.
38174         (sin_test_tonearest): Likewise.
38175         (sin_towardzero_test_data): Likewise.
38176         (sin_test_towardzero): Likewise.
38177         (sin_downward_test_data): Likewise.
38178         (sin_test_downward): Likewise.
38179         (sin_upward_test_data): Likewise.
38180         (sin_test_upward): Likewise.
38181         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38182         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38183         (sinh_test): Use ALL_RM_TEST.
38184         (sinh_tonearest_test_data): Remove.
38185         (sinh_test_tonearest): Likewise.
38186         (sinh_towardzero_test_data): Likewise.
38187         (sinh_test_towardzero): Likewise.
38188         (sinh_downward_test_data): Likewise.
38189         (sinh_test_downward): Likewise.
38190         (sinh_upward_test_data): Likewise.
38191         (sinh_test_upward): Likewise.
38192         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38193         (sqrt_test): Use ALL_RM_TEST.
38194         (sqrt_tonearest_test_data): Remove.
38195         (sqrt_test_tonearest): Likewise.
38196         (sqrt_towardzero_test_data): Likewise.
38197         (sqrt_test_towardzero): Likewise.
38198         (sqrt_downward_test_data): Likewise.
38199         (sqrt_test_downward): Likewise.
38200         (sqrt_upward_test_data): Likewise.
38201         (sqrt_test_upward): Likewise.
38202         (tan_test_data): Update call to AUTO_TESTS_f_f.
38203         (tan_test): Use ALL_RM_TEST.
38204         (tan_tonearest_test_data): Remove.
38205         (tan_test_tonearest): Likewise.
38206         (tan_towardzero_test_data): Likewise.
38207         (tan_test_towardzero): Likewise.
38208         (tan_downward_test_data): Likewise.
38209         (tan_test_downward): Likewise.
38210         (tan_upward_test_data): Likewise.
38211         (tan_test_upward): Likewise.
38212         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38213         (tgamma_test_data): Likewise.
38214         (y0_test_data): Likewise.
38215         (y1_test_data): Likewise.
38216         (yn_test_data): Update call to AUTO_TESTS_if_f.
38217         (main): Do not call removed functions.
38219 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38221         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38222         (ldexp_test_data): Remove.
38223         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38224         scalbn_test_data.
38225         (scalb_test): Use ALL_RM_TEST.
38227 2014-03-19  Andreas Schwab  <schwab@suse.de>
38229         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38231 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38233         [BZ #16649]
38234         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38235         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38236         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38238         (__ASSUME_PREADV): Undefine.
38239         (__ASSUME_PWRITEV): Likewise.
38241 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38243         * bits/mman-linux.h: Add comment about non-Linux use.
38244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38245         bits/mman-linux.h resting place.
38247         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38248         * bits/mman-linux.h: ... here.
38250 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38252         * conform/conformtest.pl: Add standard definition when calling C
38253         preprocessor on data files.
38254         (checknamespace): Remove unused variable.
38256 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38258         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38259         minus_oflow, plus_uflow and minus_uflow in expected results.
38260         * math/libm-test.inc (scalbn_test_data): Add more tests of
38261         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38262         minus_uflow.
38263         (scalbn_test): Use ALL_RM_TEST.
38264         (scalbln_test_data): Add more tests of negative arguments.  Use
38265         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38266         (scalbln_test): Use ALL_RM_TEST.
38268 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38270         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38272 2014-03-18  Will Newton  <will.newton@linaro.org>
38274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38275         inaccurate comment.
38277 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38279         * Makerules [!subdir] (check-abi): Exit with error status if a
38280         test failed.
38282 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38284         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38285         for rint.  Include results for all rounding modes.
38286         (nearbyint_test): Use ALL_RM_TEST.
38287         (rint_test_data): Include all tests used for nearbyint.
38289 2014-03-17  Will Newton  <will.newton@linaro.org>
38291         * nptl/sysdeps/pthread/pthread.h: Revert previous
38292         change.
38294         * sysdeps/generic/ldsodefs.h: Revert previous
38295         change.
38297         * libio/genops.c: Revert previous change.
38298         * libio/libioP.h: Likewise.
38299         * stdio-common/vfprintf.c: Likewise.
38301         * sysdeps/generic/math_private.h: Revert previous
38302         change.
38304         * sysdeps/generic/math_private.h: Check whether
38305         HAVE_RM_CTX is defined with #ifdef rather
38306         than #if.
38308         * argp/argp-fmtstream.h: Check whether
38309         __STRICT_ANSI__ is defined with #ifdef rather
38310         than #if.
38311         * argp/argp.h: Likewise.
38313         * libio/genops.c: Check whether
38314         _IO_JUMPS_OFFSET is defined with #ifdef rather
38315         than #if.
38316         * libio/libioP.h: Likewise.
38317         * stdio-common/vfprintf.c: Likewise.
38319         * sysdeps/generic/ldsodefs.h: Check whether
38320         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38321         than #if.
38323         * nptl/sysdeps/pthread/pthread.h: Check
38324         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38325         its value.
38327 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38329         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38330         setting O_APPEND.
38331         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38332         test case.
38334         [BZ #16680]
38335         * libio/fileops.c (_IO_file_open): Seek to end of file but
38336         don't cache the offset.
38337         (get_file_offset): Remove function.
38338         (do_ftell): Use cached offset when available.
38339         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38340         don't cache the offset.
38341         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38342         case.
38343         (do_one_test): Call it.
38344         (do_ftell_test): Fix up expected old offset for a+ mode.
38345         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38346         available.
38348         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38349         up test status with function return status.
38350         (do_write_test): Likewise.
38351         (do_append_test): Likewise.
38353         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38354         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38355         Remove.
38357 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38359         * math/gen-libm-test.pl (parse_args): Handle results specified for
38360         each rounding mode separately.
38361         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38362         tests and results from lrint_tonearest_test_data,
38363         lrint_towardzero_test_data, lrint_downward_test_data and
38364         lrint_upward_test_data.
38365         (lrint_test): Use ALL_RM_TEST.
38366         (lrint_tonearest_test_data): Remove.
38367         (lrint_test_tonearest): Likewise.
38368         (lrint_towardzero_test_data): Likewise.
38369         (lrint_test_towardzero): Likewise.
38370         (lrint_downward_test_data): Likewise.
38371         (lrint_test_downward): Likewise.
38372         (lrint_upward_test_data): Likewise.
38373         (lrint_test_upward): Likewise.
38374         (llrint_test_data): Merge in per-rounding-mode tests and results
38375         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38376         llrint_downward_test_data and llrint_upward_test_data.
38377         (llrint_test): Use ALL_RM_TEST.
38378         (llrint_tonearest_test_data): Remove.
38379         (llrint_test_tonearest): Likewise.
38380         (llrint_towardzero_test_data): Likewise.
38381         (llrint_test_towardzero): Likewise.
38382         (llrint_downward_test_data): Likewise.
38383         (llrint_test_downward): Likewise.
38384         (llrint_upward_test_data): Likewise.
38385         (llrint_test_upward): Likewise.
38386         (rint_test_data): Merge in per-rounding-mode tests and results
38387         from rint_tonearest_test_data, rint_towardzero_test_data,
38388         rint_downward_test_data and rint_upward_test_data.  Add
38389         per-rounding-mode results for tests not in those arrays.
38390         (rint_test): Use ALL_RM_TEST.
38391         (rint_tonearest_test_data): Remove.
38392         (rint_test_tonearest): Likewise.
38393         (rint_towardzero_test_data): Likewise.
38394         (rint_test_towardzero): Likewise.
38395         (rint_downward_test_data): Likewise.
38396         (rint_test_downward): Likewise.
38397         (rint_upward_test_data): Likewise.
38398         (rint_test_upward): Likewise.
38399         (main): Don't call removed functions.
38401 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38403         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38404         "Compiled on ..." crapola.  It is anti-useful.
38406 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38408         * scripts/evaluate-test.sh: Handle fourth argument to determine
38409         whether test run should stop on failure.
38410         * Makeconfig (stop-on-test-failure): New variable.
38411         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38412         $(stop-on-test-failure).
38413         * Makefile (tests): Give a summary of results from testing and
38414         exit with failure status if they include an ERROR or FAIL.
38415         (xtests): Likewise.
38416         * manual/install.texi (Configuring and compiling): Mention
38417         stop-on-test-failure=y.
38418         * INSTALL: Regenerated.
38420 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38422         * scripts/versionlist.awk: New file.
38423         * Makerules [$(build-shared) = yes]
38424         (postclean-generated): Add Versions.def, not Versions.def.v and
38425         Versions.def.v.i.
38426         ($(common-objpfx)Versions.def.v.i): Target removed.
38427         ($(common-objpfx)Versions.def): New target.
38428         ($(common-objpfx)Versions.all): Depend on that rather that
38429         $(common-objpfx)Versions.def.v.
38430         * Versions.def: File removed.
38432         * Makeconfig (+gccwarn): Add -Wundef.
38433         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38434         a dl-sysdep.h breaking its contract.
38435         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38436         * include/stackinfo.h: New file.
38437         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38438         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38439         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38440         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38441         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38442         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38443         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38444         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38445         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38446         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38447         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38448         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38449         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38450         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38451         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38453 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38455         [BZ #16707]
38456         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38457         implementation.
38458         * math/libm-test.inc (round_test_data): Add more tests.
38460         [BZ #16706]
38461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38462         implementation.
38463         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38465         [BZ #16701]
38466         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38467         implementation.
38468         * math/libm-test.inc (ceil_test_data): Add more tests.
38470         * math/libm-test.inc (trunc_test_data): Add more tests related to
38471         BZ#16414.
38473 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38475         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38476         with #if rather than #ifdef.
38477         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38479 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38481         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38482         first.  Disable AVX-512 GCC support if assembler doesn't support
38483         it.
38484         * sysdeps/x86_64/configure: Regenerated.
38486 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38488         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38489         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38490         (__old_pthread_attr_setstack): Likewise.
38491         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38492         [!_STACK_GROWS_DOWN]: Likewise.
38494 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38496         * config.make.in (have-bash2): Delete.
38497         * configure.ac (libc_cv_have_bash2): Delete.
38498         * configure: Regenerate.
38499         * elf/Makefile (common-ldd-rewrite): Rename to ...
38500         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38501         (sh-ldd-rewrite): Delete.
38502         (bash-ldd-rewrite): Delete.
38503         (have-bash2): Delete checks.
38504         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38505         ldd-rewrite.
38507         * config.make.in (have-ksh): Delete.
38508         (KSH): Delete.
38509         * configure.ac (libc_cv_have_ksh): Delete.
38510         * configure: Regenerate.
38512         * elf/Makefile: Delete $(have-ksh) check.
38513         ($(objpfx)sotruss): Change KSH to BASH.
38514         * elf/sotruss.ksh: Rename to ...
38515         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38516         function style to match POSIX.  Drop ksh vim mode setting.
38518         * manual/time.texi (Specifying the Time Zone with TZ): Change
38519         Tuesday to Thursday.
38521         * debug/tst-longjmp_chk2.c: Update header comment.
38522         (stackoverflow_handler): Add comment.  Call assert on pass value.
38524 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38526         [BZ #16194]
38527         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38528         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38529         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38530         (La_x86_64_vector): Add zmm.
38531         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38532         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38533         ($(objpfx)tst-audit10): New target.
38534         ($(objpfx)tst-audit10.out): Likewise.
38535         (tst-audit10-ENV): New.
38536         (AVX512-CFLAGS): Likewise.
38537         (CFLAGS-tst-audit10.c): Likewise.
38538         (CFLAGS-tst-auditmod10a.c): Likewise.
38539         (CFLAGS-tst-auditmod10b.c): Likewise.
38540         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38541         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38542         * sysdeps/x86_64/configure: Regenerated.
38543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38544         AVX-512 zmm register support.
38545         (_dl_x86_64_save_sse): Likewise.
38546         (_dl_x86_64_restore_sse): Likewise.
38547         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38548         size vector registers.
38549         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38550         (ZMM_SIZE): Likewise.
38551         * sysdeps/x86_64/tst-audit10.c: New file.
38552         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38553         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38555 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38557         * configure.ac (HAVE_EHDR_START): New check.
38558         * configure: Regenerated.
38559         * config.h.in (HAVE_EHDR_START): New #undef.
38560         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38561         assuming the lowest-addressed segment maps the start of the file.
38563 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38565         * INSTALL: Regenerated.
38567 2014-03-13  Will Newton  <will.newton@linaro.org>
38569         * manual/setjmp.texi (System V contexts): Improve
38570         clarity and grammar of documentation.
38572 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38574         [BZ #16381]
38575         * elf/Makefile (tests): Add tst-pie2.
38576         (tests-pie): Add tst-pie2.
38577         * elf/tst-pie2.c: New file.
38578         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38579         for ET_EXEC.
38580         * elf/rtld.c (map_doit): Load executable as lt_executable.
38581         (dl_main): Likewise.
38583 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38585         [BZ #16642]
38586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38587         (__ASSUME_PSELECT): Undefine.
38589 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38591         [BZ #16689]
38592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38593         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38594         static build.
38595         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38596         selector for static builds.
38598 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38600         [BZ #16695]
38601         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38602         key in the buffer.
38604 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38606         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38607         IFUNC selector for static builds.
38609 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38611         * sysdeps/mips/math_private.h [__mips_hard_float]
38612         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38613         libc_feresetround_mips_ctx.
38614         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38615         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38616         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38618         [BZ #16677]
38619         * math/s_nextafter.c (__nextafter): Do not return value from
38620         overflowing computation.
38621         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38622         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38623         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38624         Likewise.
38625         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38626         Likewise.
38627         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38628         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38630 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38632         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38633         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38634         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38635         the new mov targetting sp.
38637 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38639         [BZ #16683]
38640         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38641         Define it for static builds as well.
38642         (NO_BZERO_IMPL): Likewise.
38644 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38646         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38647         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38648         multiarch strspn for PPC64.
38649         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38650         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38652         (__libc_ifunc_impl_list): Likewise.
38653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38654         multiarch optimizations
38655         * string/strspn.c (strspn): Using macro to redefine symbol name.
38657 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38658             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38660         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38661         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38662         multiarch strncat for PPC64.
38663         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38664         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38666         (__libc_ifunc_impl_list): Likewise.
38667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38668         multiarch optimizations
38670 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38672         [BZ #16639]
38673         * nscd/nscd.service: Make service type forking.
38675 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38677         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38678         sign in non default rounding modes.
38679         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38681 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38683         * math/libm-test.inc (ALL_RM_TEST): New macro.
38684         (ceil_test): Use ALL_RM_TEST.
38685         (cimag_test): Likewise.
38686         (conj_test): Likewise.
38687         (copysign_test): Likewise.
38688         (cproj_test): Likewise.
38689         (creal_test): Likewise.
38690         (fabs_test): Likewise.
38691         (floor_test): Likewise.
38692         (fmax_test): Likewise.
38693         (fmin_test): Likewise.
38694         (fmod_test): Likewise.
38695         (fpclassify_test): Likewise.
38696         (frexp_test): Likewise.
38697         (ilogb_test): Likewise.
38698         (isfinite_test): Likewise.
38699         (finite_test): Likewise.
38700         (isgreater_test): Likewise.
38701         (isgreaterequal_test): Likewise.
38702         (isinf_test): Likewise.
38703         (isless_test): Likewise.
38704         (islessequal_test): Likewise.
38705         (islessgreater_test): Likewise.
38706         (isnan_test): Likewise.
38707         (isnormal_test): Likewise.
38708         (issignaling_test): Likewise.
38709         (isunordered_test): Likewise.
38710         (logb_test): Likewise.
38711         (logb_downward_test_data): Remove.
38712         (logb_test_downward): Likewise.
38713         (lround_test): Use ALL_RM_TEST.
38714         (llround_test): Likewise.
38715         (modf_test): Likewise.
38716         (nexttoward_test): Likewise.
38717         (remainder_test): Likewise.
38718         (drem_test): Likewise.
38719         (remainder_tonearest_test_data): Likewise.
38720         (remainder_test_tonearest): Likewise.
38721         (drem_test_tonearest): Likewise.
38722         (remainder_towardzero_test_data): Likewise.
38723         (remainder_test_towardzero): Likewise.
38724         (drem_test_towardzero): Likewise.
38725         (remainder_downward_test_data): Likewise.
38726         (remainder_test_downward): Likewise.
38727         (drem_test_downward): Likewise.
38728         (remainder_upward_test_data): Likewise.
38729         (remainder_test_upward): Likewise.
38730         (drem_test_upward): Likewise.
38731         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38732         (round_test): Use ALL_RM_TEST.
38733         (signbit_test): Likewise.
38734         (trunc_test): Likewise.
38735         (significand_test): Likewise.
38736         (main): Don't call removed functions.
38738 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38740         [BZ #16674]
38741         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38742         || __USE_XOPEN2K8].
38743         (ILL_ILLOPN): Likewise.
38744         (ILL_ILLADR): Likewise.
38745         (ILL_ILLTRP): Likewise.
38746         (ILL_PRVOPC): Likewise.
38747         (ILL_PRVREG): Likewise.
38748         (ILL_COPROC): Likewise.
38749         (ILL_BADSTK): Likewise.
38750         (FPE_INTDIV): Likewise.
38751         (FPE_INTOVF): Likewise.
38752         (FPE_FLTDIV): Likewise.
38753         (FPE_FLTOVF): Likewise.
38754         (FPE_FLTUND): Likewise.
38755         (FPE_FLTRES): Likewise.
38756         (FPE_FLTINV): Likewise.
38757         (FPE_FLTSUB): Likewise.
38758         (SEGV_MAPERR): Likewise.
38759         (SEGV_ACCERR): Likewise.
38760         (BUS_ADRALN): Likewise.
38761         (BUS_ADRERR): Likewise.
38762         (BUS_OBJERR): Likewise.
38763         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38764         (TRAP_TRACE): Likewise.
38765         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38766         __USE_XOPEN2K8].
38767         (CLD_KILLED): Likewise.
38768         (CLD_DUMPED): Likewise.
38769         (CLD_TRAPPED): Likewise.
38770         (CLD_STOPPED): Likewise.
38771         (CLD_CONTINUED): Likewise.
38772         (POLL_IN): Likewise.
38773         (POLL_OUT): Likewise.
38774         (POLL_MSG): Likewise.
38775         (POLL_ERR): Likewise.
38776         (POLL_PRI): Likewise.
38777         (POLL_HUP): Likewise.
38778         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38779         Likewise.
38780         (ILL_ILLOPN): Likewise.
38781         (ILL_ILLADR): Likewise.
38782         (ILL_ILLTRP): Likewise.
38783         (ILL_PRVOPC): Likewise.
38784         (ILL_PRVREG): Likewise.
38785         (ILL_COPROC): Likewise.
38786         (ILL_BADSTK): Likewise.
38787         (FPE_INTDIV): Likewise.
38788         (FPE_INTOVF): Likewise.
38789         (FPE_FLTDIV): Likewise.
38790         (FPE_FLTOVF): Likewise.
38791         (FPE_FLTUND): Likewise.
38792         (FPE_FLTRES): Likewise.
38793         (FPE_FLTINV): Likewise.
38794         (FPE_FLTSUB): Likewise.
38795         (SEGV_MAPERR): Likewise.
38796         (SEGV_ACCERR): Likewise.
38797         (BUS_ADRALN): Likewise.
38798         (BUS_ADRERR): Likewise.
38799         (BUS_OBJERR): Likewise.
38800         (BUS_MCEERR_AR): Likewise.
38801         (BUS_MCEERR_AO): Likewise.
38802         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38803         (TRAP_TRACE): Likewise.
38804         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38805         __USE_XOPEN2K8].
38806         (CLD_KILLED): Likewise.
38807         (CLD_DUMPED): Likewise.
38808         (CLD_TRAPPED): Likewise.
38809         (CLD_STOPPED): Likewise.
38810         (CLD_CONTINUED): Likewise.
38811         (POLL_IN): Likewise.
38812         (POLL_OUT): Likewise.
38813         (POLL_MSG): Likewise.
38814         (POLL_ERR): Likewise.
38815         (POLL_PRI): Likewise.
38816         (POLL_HUP): Likewise.
38817         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38818         (ILL_ILLOPN): Likewise.
38819         (ILL_ILLADR): Likewise.
38820         (ILL_ILLTRP): Likewise.
38821         (ILL_PRVOPC): Likewise.
38822         (ILL_PRVREG): Likewise.
38823         (ILL_COPROC): Likewise.
38824         (ILL_BADSTK): Likewise.
38825         (FPE_INTDIV): Likewise.
38826         (FPE_INTOVF): Likewise.
38827         (FPE_FLTDIV): Likewise.
38828         (FPE_FLTOVF): Likewise.
38829         (FPE_FLTUND): Likewise.
38830         (FPE_FLTRES): Likewise.
38831         (FPE_FLTINV): Likewise.
38832         (FPE_FLTSUB): Likewise.
38833         (SEGV_MAPERR): Likewise.
38834         (SEGV_ACCERR): Likewise.
38835         (BUS_ADRALN): Likewise.
38836         (BUS_ADRERR): Likewise.
38837         (BUS_OBJERR): Likewise.
38838         (BUS_MCEERR_AR): Likewise.
38839         (BUS_MCEERR_AO): Likewise.
38840         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38841         (TRAP_TRACE): Likewise.
38842         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38843         __USE_XOPEN2K8].
38844         (CLD_KILLED): Likewise.
38845         (CLD_DUMPED): Likewise.
38846         (CLD_TRAPPED): Likewise.
38847         (CLD_STOPPED): Likewise.
38848         (CLD_CONTINUED): Likewise.
38849         (POLL_IN): Likewise.
38850         (POLL_OUT): Likewise.
38851         (POLL_MSG): Likewise.
38852         (POLL_ERR): Likewise.
38853         (POLL_PRI): Likewise.
38854         (POLL_HUP): Likewise.
38855         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38856         Likewise.
38857         (ILL_ILLOPN): Likewise.
38858         (ILL_ILLADR): Likewise.
38859         (ILL_ILLTRP): Likewise.
38860         (ILL_PRVOPC): Likewise.
38861         (ILL_PRVREG): Likewise.
38862         (ILL_COPROC): Likewise.
38863         (ILL_BADSTK): Likewise.
38864         (ILL_BADIADDR): Likewise.
38865         (ILL_BREAK): Likewise.
38866         (FPE_INTDIV): Likewise.
38867         (FPE_INTOVF): Likewise.
38868         (FPE_FLTDIV): Likewise.
38869         (FPE_FLTOVF): Likewise.
38870         (FPE_FLTUND): Likewise.
38871         (FPE_FLTRES): Likewise.
38872         (FPE_FLTINV): Likewise.
38873         (FPE_FLTSUB): Likewise.
38874         (FPE_DECOVF): Likewise.
38875         (FPE_DECDIV): Likewise.
38876         (FPE_DECERR): Likewise.
38877         (FPE_INVASC): Likewise.
38878         (FPE_INVDEC): Likewise.
38879         (SEGV_MAPERR): Likewise.
38880         (SEGV_ACCERR): Likewise.
38881         (SEGV_PSTKOVF): Likewise.
38882         (BUS_ADRALN): Likewise.
38883         (BUS_ADRERR): Likewise.
38884         (BUS_OBJERR): Likewise.
38885         (BUS_MCEERR_AR): Likewise.
38886         (BUS_MCEERR_AO): Likewise.
38887         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38888         (TRAP_TRACE): Likewise.
38889         (TRAP_BRANCH): Likewise.
38890         (TRAP_HWBKPT): Likewise.
38891         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38892         __USE_XOPEN2K8].
38893         (CLD_KILLED): Likewise.
38894         (CLD_DUMPED): Likewise.
38895         (CLD_TRAPPED): Likewise.
38896         (CLD_STOPPED): Likewise.
38897         (CLD_CONTINUED): Likewise.
38898         (POLL_IN): Likewise.
38899         (POLL_OUT): Likewise.
38900         (POLL_MSG): Likewise.
38901         (POLL_ERR): Likewise.
38902         (POLL_PRI): Likewise.
38903         (POLL_HUP): Likewise.
38904         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38905         (ILL_ILLOPN): Likewise.
38906         (ILL_ILLADR): Likewise.
38907         (ILL_ILLTRP): Likewise.
38908         (ILL_PRVOPC): Likewise.
38909         (ILL_PRVREG): Likewise.
38910         (ILL_COPROC): Likewise.
38911         (ILL_BADSTK): Likewise.
38912         (FPE_INTDIV): Likewise.
38913         (FPE_INTOVF): Likewise.
38914         (FPE_FLTDIV): Likewise.
38915         (FPE_FLTOVF): Likewise.
38916         (FPE_FLTUND): Likewise.
38917         (FPE_FLTRES): Likewise.
38918         (FPE_FLTINV): Likewise.
38919         (FPE_FLTSUB): Likewise.
38920         (SEGV_MAPERR): Likewise.
38921         (SEGV_ACCERR): Likewise.
38922         (BUS_ADRALN): Likewise.
38923         (BUS_ADRERR): Likewise.
38924         (BUS_OBJERR): Likewise.
38925         (BUS_MCEERR_AR): Likewise.
38926         (BUS_MCEERR_AO): Likewise.
38927         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38928         (TRAP_TRACE): Likewise.
38929         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38930         __USE_XOPEN2K8].
38931         (CLD_KILLED): Likewise.
38932         (CLD_DUMPED): Likewise.
38933         (CLD_TRAPPED): Likewise.
38934         (CLD_STOPPED): Likewise.
38935         (CLD_CONTINUED): Likewise.
38936         (POLL_IN): Likewise.
38937         (POLL_OUT): Likewise.
38938         (POLL_MSG): Likewise.
38939         (POLL_ERR): Likewise.
38940         (POLL_PRI): Likewise.
38941         (POLL_HUP): Likewise.
38942         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38943         (ILL_ILLOPN): Likewise.
38944         (ILL_ILLADR): Likewise.
38945         (ILL_ILLTRP): Likewise.
38946         (ILL_PRVOPC): Likewise.
38947         (ILL_PRVREG): Likewise.
38948         (ILL_COPROC): Likewise.
38949         (ILL_BADSTK): Likewise.
38950         (FPE_INTDIV): Likewise.
38951         (FPE_INTOVF): Likewise.
38952         (FPE_FLTDIV): Likewise.
38953         (FPE_FLTOVF): Likewise.
38954         (FPE_FLTUND): Likewise.
38955         (FPE_FLTRES): Likewise.
38956         (FPE_FLTINV): Likewise.
38957         (FPE_FLTSUB): Likewise.
38958         (SEGV_MAPERR): Likewise.
38959         (SEGV_ACCERR): Likewise.
38960         (BUS_ADRALN): Likewise.
38961         (BUS_ADRERR): Likewise.
38962         (BUS_OBJERR): Likewise.
38963         (BUS_MCEERR_AR): Likewise.
38964         (BUS_MCEERR_AO): Likewise.
38965         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38966         (TRAP_TRACE): Likewise.
38967         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38968         __USE_XOPEN2K8].
38969         (CLD_KILLED): Likewise.
38970         (CLD_DUMPED): Likewise.
38971         (CLD_TRAPPED): Likewise.
38972         (CLD_STOPPED): Likewise.
38973         (CLD_CONTINUED): Likewise.
38974         (POLL_IN): Likewise.
38975         (POLL_OUT): Likewise.
38976         (POLL_MSG): Likewise.
38977         (POLL_ERR): Likewise.
38978         (POLL_PRI): Likewise.
38979         (POLL_HUP): Likewise.
38980         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38981         (ILL_ILLOPN): Likewise.
38982         (ILL_ILLADR): Likewise.
38983         (ILL_ILLTRP): Likewise.
38984         (ILL_PRVOPC): Likewise.
38985         (ILL_PRVREG): Likewise.
38986         (ILL_COPROC): Likewise.
38987         (ILL_BADSTK): Likewise.
38988         (FPE_INTDIV): Likewise.
38989         (FPE_INTOVF): Likewise.
38990         (FPE_FLTDIV): Likewise.
38991         (FPE_FLTOVF): Likewise.
38992         (FPE_FLTUND): Likewise.
38993         (FPE_FLTRES): Likewise.
38994         (FPE_FLTINV): Likewise.
38995         (FPE_FLTSUB): Likewise.
38996         (SEGV_MAPERR): Likewise.
38997         (SEGV_ACCERR): Likewise.
38998         (BUS_ADRALN): Likewise.
38999         (BUS_ADRERR): Likewise.
39000         (BUS_OBJERR): Likewise.
39001         (BUS_MCEERR_AR): Likewise.
39002         (BUS_MCEERR_AO): Likewise.
39003         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39004         (TRAP_TRACE): Likewise.
39005         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39006         __USE_XOPEN2K8].
39007         (CLD_KILLED): Likewise.
39008         (CLD_DUMPED): Likewise.
39009         (CLD_TRAPPED): Likewise.
39010         (CLD_STOPPED): Likewise.
39011         (CLD_CONTINUED): Likewise.
39012         (POLL_IN): Likewise.
39013         (POLL_OUT): Likewise.
39014         (POLL_MSG): Likewise.
39015         (POLL_ERR): Likewise.
39016         (POLL_PRI): Likewise.
39017         (POLL_HUP): Likewise.
39018         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39019         (ILL_ILLOPN): Likewise.
39020         (ILL_ILLADR): Likewise.
39021         (ILL_ILLTRP): Likewise.
39022         (ILL_PRVOPC): Likewise.
39023         (ILL_PRVREG): Likewise.
39024         (ILL_COPROC): Likewise.
39025         (ILL_BADSTK): Likewise.
39026         (ILL_DBLFLT): Likewise.
39027         (ILL_HARDWALL): Likewise.
39028         (FPE_INTDIV): Likewise.
39029         (FPE_INTOVF): Likewise.
39030         (FPE_FLTDIV): Likewise.
39031         (FPE_FLTOVF): Likewise.
39032         (FPE_FLTUND): Likewise.
39033         (FPE_FLTRES): Likewise.
39034         (FPE_FLTINV): Likewise.
39035         (FPE_FLTSUB): Likewise.
39036         (SEGV_MAPERR): Likewise.
39037         (SEGV_ACCERR): Likewise.
39038         (BUS_ADRALN): Likewise.
39039         (BUS_ADRERR): Likewise.
39040         (BUS_OBJERR): Likewise.
39041         (BUS_MCEERR_AR): Likewise.
39042         (BUS_MCEERR_AO): Likewise.
39043         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39044         (TRAP_TRACE): Likewise.
39045         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39046         __USE_XOPEN2K8].
39047         (CLD_KILLED): Likewise.
39048         (CLD_DUMPED): Likewise.
39049         (CLD_TRAPPED): Likewise.
39050         (CLD_STOPPED): Likewise.
39051         (CLD_CONTINUED): Likewise.
39052         (POLL_IN): Likewise.
39053         (POLL_OUT): Likewise.
39054         (POLL_MSG): Likewise.
39055         (POLL_ERR): Likewise.
39056         (POLL_PRI): Likewise.
39057         (POLL_HUP): Likewise.
39058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39059         (ILL_ILLOPN): Likewise.
39060         (ILL_ILLADR): Likewise.
39061         (ILL_ILLTRP): Likewise.
39062         (ILL_PRVOPC): Likewise.
39063         (ILL_PRVREG): Likewise.
39064         (ILL_COPROC): Likewise.
39065         (ILL_BADSTK): Likewise.
39066         (FPE_INTDIV): Likewise.
39067         (FPE_INTOVF): Likewise.
39068         (FPE_FLTDIV): Likewise.
39069         (FPE_FLTOVF): Likewise.
39070         (FPE_FLTUND): Likewise.
39071         (FPE_FLTRES): Likewise.
39072         (FPE_FLTINV): Likewise.
39073         (FPE_FLTSUB): Likewise.
39074         (SEGV_MAPERR): Likewise.
39075         (SEGV_ACCERR): Likewise.
39076         (BUS_ADRALN): Likewise.
39077         (BUS_ADRERR): Likewise.
39078         (BUS_OBJERR): Likewise.
39079         (BUS_MCEERR_AR): Likewise.
39080         (BUS_MCEERR_AO): Likewise.
39081         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39082         (TRAP_TRACE): Likewise.
39083         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39084         __USE_XOPEN2K8].
39085         (CLD_KILLED): Likewise.
39086         (CLD_DUMPED): Likewise.
39087         (CLD_TRAPPED): Likewise.
39088         (CLD_STOPPED): Likewise.
39089         (CLD_CONTINUED): Likewise.
39090         (POLL_IN): Likewise.
39091         (POLL_OUT): Likewise.
39092         (POLL_MSG): Likewise.
39093         (POLL_ERR): Likewise.
39094         (POLL_PRI): Likewise.
39095         (POLL_HUP): Likewise.
39096         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39097         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39099         [BZ #16670]
39100         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39101         before #include of <time.h>.
39102         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39103         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39104         (test-xfail-UNIX98/sched.h/conform): Likewise.
39106 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39108         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39109         error absence of trapping exception support.
39110         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39112 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39114         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39115         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39116         * timezone/Makefile (testdata): Move definition above include of
39117         Rules.
39118         (test-zones): New variable.
39119         (tests-special): Add zone files.
39120         (build-testdata): Use $(evaluate-test).
39122         * elf/Makefile (tests-special): Rename tests to end with .out.
39123         ($(objpfx)noload-mem): Likewise.
39124         ($(objpfx)tst-leaks1-mem): Likewise.
39125         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39126         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39127         $(objpfx)test-iconvconfig.out.
39128         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39129         set -e inside subshell and redirect output to file.
39130         * iconvdata/Makefile (generated): Rename tests to end with .out.
39131         Correct type.
39132         (tests-special): Rename tests to end with .out.
39133         ($(objpfx)mtrace-tst-loading): Likewise.
39134         * intl/Makefile (generated): Likewise.
39135         (tests-special): Likewise.
39136         ($(objpfx)mtrace-tst-gettext): Likewise.
39137         * misc/Makefile (generated): Likewise.
39138         (tests-special): Likewise.
39139         ($(objpfx)tst-error1-mem): Likewise.
39140         * nptl/Makefile (tests-special): Likewise.
39141         ($(objpfx)tst-stack3-mem): Likewise.
39142         (generated): Likewise.
39143         * posix/Makefile (generated): Likewise.
39144         (tests-special): Likewise.
39145         (xtests-special): Likewise.
39146         ($(objpfx)tst-fnmatch-mem): Likewise.
39147         ($(objpfx)bug-regex2-mem): Likewise.
39148         ($(objpfx)bug-regex14-mem): Likewise.
39149         ($(objpfx)bug-regex21-mem): Likewise.
39150         ($(objpfx)bug-regex31-mem): Likewise.
39151         ($(objpfx)tst-vfork3-mem): Likewise.
39152         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39153         ($(objpfx)tst-pcre-mem): Likewise.
39154         ($(objpfx)tst-boost-mem): Likewise.
39155         ($(objpfx)bug-ga2-mem): Likewise.
39156         ($(objpfx)bug-glob2-mem): Likewise.
39157         * resolv/Makefile (generate): Likewise.
39158         (tests-special): Likewise.
39159         (xtests-special): Likewise.
39160         (generated): Likewise.
39161         ($(objpfx)mtrace-tst-leaks): Likewise.
39162         ($(objpfx)mtrace-tst-leaks2): Likewise.
39164         * scripts/merge-test-results.sh: New file.
39165         * Makefile (tests-special-notdir): New variable.
39166         (tests): Run merge-test-results.sh.
39167         (xtests): Likewise.
39168         * Rules (tests-special-notdir): New variable.
39169         (xtests-special-notdir): Likewise.
39170         (tests): Run merge-test-results.sh
39171         (xtests): Likewise.
39173         * Makeconfig (test-xfail-name): New variable.
39174         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39175         compute variable name for expected failures.
39176         * conform/Makefile (conformtest-headers-data): New variable.
39177         (conformtest-standards): Likewise.
39178         (conformtest-headers-ISO): Likewise.
39179         (conformtest-headers-ISO99): Likewise.
39180         (conformtest-headers-ISO11): Likewise.
39181         (conformtest-headers-POSIX): Likewise.
39182         (conformtest-headers-XPG3): Likewise.
39183         (conformtest-headers-XPG4): Likewise.
39184         (conformtest-headers-UNIX98): Likewise.
39185         (conformtest-headers-XOPEN2K): Likewise.
39186         (conformtest-headers-POSIX2008): Likewise.
39187         (conformtest-headers-XOPEN2K8): Likewise.
39188         (conformtest-header-list-base): Likewise.
39189         (conformtest-header-list-tests): Likewise.
39190         (conformtest-header-base): Likewise.
39191         (conformtest-header-tests): Likewise.
39192         (tests-special): Add $(conformtest-header-list-tests).  If
39193         [$(fast-check) && !$(cross-compiling)], add
39194         $(conformtest-header-tests) instead of
39195         $(objpfx)run-conformtest.out.
39196         (generated): Add $(conformtest-header-list-base).  If
39197         [$(fast-check) && !$(cross-compiling)], add
39198         $(conformtest-header-base).  Remove previous setting.
39199         ($(conformtest-header-list-tests)): New target.
39200         (test-xfail-run-conformtest): Remove variable.
39201         ($(objpfx)run-conformtest.out): Remove target.
39202         (test-xfail-ISO11/complex.h/conform): New variable.
39203         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39204         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39205         (test-xfail-XPG3/varargs.h/conform): Likewise.
39206         (test-xfail-XPG4/varargs.h/conform): Likewise.
39207         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39208         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39209         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39210         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39211         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39212         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39213         (test-xfail-XPG3/ftw.h/conform): Likewise.
39214         (test-xfail-XPG3/grp.h/conform): Likewise.
39215         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39216         (test-xfail-XPG3/limits.h/conform): Likewise.
39217         (test-xfail-XPG3/pwd.h/conform): Likewise.
39218         (test-xfail-XPG3/search.h/conform): Likewise.
39219         (test-xfail-XPG3/signal.h/conform): Likewise.
39220         (test-xfail-XPG3/stdio.h/conform): Likewise.
39221         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39222         (test-xfail-XPG3/string.h/conform): Likewise.
39223         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39224         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39225         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39226         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39227         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39228         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39229         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39230         (test-xfail-XPG3/termios.h/conform): Likewise.
39231         (test-xfail-XPG3/time.h/conform): Likewise.
39232         (test-xfail-XPG3/unistd.h/conform): Likewise.
39233         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39234         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39235         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39236         (test-xfail-XPG4/netdb.h/conform): Likewise.
39237         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39238         (test-xfail-XPG4/signal.h/conform): Likewise.
39239         (test-xfail-XPG4/stdio.h/conform): Likewise.
39240         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39241         (test-xfail-XPG4/stropts.h/conform): Likewise.
39242         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39243         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39244         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39245         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39246         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39247         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39248         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39249         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39250         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39251         (test-xfail-XPG4/termios.h/conform): Likewise.
39252         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39253         (test-xfail-XPG4/unistd.h/conform): Likewise.
39254         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39255         (test-xfail-POSIX/sched.h/conform): Likewise.
39256         (test-xfail-POSIX/signal.h/conform): Likewise.
39257         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39258         (test-xfail-POSIX/tar.h/conform): Likewise.
39259         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39260         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39261         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39262         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39263         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39264         (test-xfail-UNIX98/sched.h/conform): Likewise.
39265         (test-xfail-UNIX98/signal.h/conform): Likewise.
39266         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39267         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39268         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39269         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39270         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39271         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39272         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39273         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39274         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39275         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39276         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39277         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39278         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39279         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39280         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39281         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39282         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39283         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39284         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39285         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39286         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39287         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39288         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39289         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39290         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39291         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39292         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39293         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39294         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39295         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39296         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39297         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39298         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39299         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39300         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39301         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39302         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39303         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39304         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39305         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39306         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39307         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39308         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39309         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39310         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39311         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39312         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39313         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39314         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39315         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39316         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39317         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39318         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39319         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39320         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39321         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39322         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39323         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39324         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39325         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39326         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39327         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39328         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39329         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39330         (conformtest-cc-flags): Likewise.
39331         ($(conformtest-header-tests): New target.
39332         * conform/check-header-lists.sh: New file.
39333         * conform/run-conformtest.sh: Remove.
39335         * conform/conformtest.pl: Allow ' and \ in values given for
39336         constants.
39337         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39338         inclusion.
39339         [POSIX] (sys/types.h): Likewise.
39340         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39341         inclusion.
39342         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39343         inclusion.
39344         * conform/data/signal.h-data (SIGIO): Remove expectation.
39345         [XPG3] (SIGBUS): Do not expect.
39346         [POSIX || XPG3] (SIGPOLL): Likewise.
39347         [POSIX || XPG3] (SIGPROF): Likewise.
39348         [POSIX || XPG3] (SIGSYS): Likewise.
39349         [XPG3] (SIGTRAP): Likewise.
39350         [POSIX || XPG3] (SIGURG): Likewise.
39351         [POSIX || XPG3] (SIGVTALRM): Likewise.
39352         [POSIX || XPG3] (SIGXCPU): Likewise.
39353         [POSIX || XPG3] (SIGXFSZ): Likewise.
39354         [POSIX] (SA_SIGINFO): Expect.
39355         [XPG3] (siginfo_t): Do not expect type or contents.
39356         [POSIX] (si_pid): Do not expect element.
39357         [POSIX] (si_uid): Likewise.
39358         [POSIX] (si_addr): Likewise.
39359         [POSIX] (si_status): Likewise.
39360         [POSIX] (si_band): Likewise.
39361         [XPG4] (si_value): Likewise.
39362         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39363         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39364         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39365         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39366         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39367         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39368         [POSIX || XPG3] (ILL_COPROC): Likewise.
39369         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39370         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39371         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39372         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39373         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39374         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39375         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39376         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39377         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39378         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39379         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39380         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39381         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39382         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39383         [POSIX || XPG3] (CLD_EXITED): Likewise.
39384         [POSIX || XPG3] (CLD_KILLED): Likewise.
39385         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39386         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39387         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39388         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39389         [POSIX || XPG3] (POLL_IN): Likewise.
39390         [POSIX || XPG3] (POLL_OUT): Likewise.
39391         [POSIX || XPG3] (POLL_MSG): Likewise.
39392         [POSIX || XPG3] (POLL_ERR): Likewise.
39393         [POSIX || XPG3] (POLL_PRI): Likewise.
39394         [POSIX || XPG3] (POLL_HUP): Likewise.
39395         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39396         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39397         (SIG*): Do not allow.
39398         [XPG3] (si_*): Likewise.
39399         [XPG3] (SI_*): Likewise.
39400         [XPG3 || XPG4] (sigev_*): Likewise.
39401         [XPG3 || XPG4] (SIGEV_*): Likewise.
39402         [XPG3 || XPG4] (sival_*): Likewise.
39403         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39404         [POSIX || XPG3] (BUS_*): Likewise.
39405         [POSIX || XPG3] (CLD_*): Likewise.
39406         [POSIX || XPG3] (FPE_*): Likewise.
39407         [POSIX || XPG3] (ILL_*): Likewise.
39408         [POSIX || XPG3] (POLL_*): Likewise.
39409         [POSIX || XPG3] (SEGV_*): Likewise.
39410         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39411         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39412         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39413         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39414         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39415         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39416         Specify type and value.
39417         (TVERSLEN): Likewise.
39418         (REGTYPE): Likewise.
39419         (AREGTYPE): Likewise.
39420         (LNKTYPE): Likewise.
39421         (SYMTYPE): Likewise.
39422         (CHRTYPE): Likewise.
39423         (BLKTYPE): Likewise.
39424         (DIRTYPE): Likewise.
39425         (FIFOTYPE): Likewise.
39426         (CONTTYPE): Likewise.
39427         (TSUID): Likewise.
39428         (TSGID): Likewise.
39429         (TSVTX): Likewise.
39430         (TUREAD): Likewise.
39431         (TUWRITE): Likewise.
39432         (TUEXEC): Likewise.
39433         (TGREAD): Likewise.
39434         (TGWRITE): Likewise.
39435         (TGEXEC): Likewise.
39436         (TOREAD): Likewise.
39437         (TOWRITE): Likewise.
39438         (TOEXEC): Likewise.
39439         [POSIX] (TSVTX): Expect constant.
39441 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39443         * Makefile (tests): Change dependencies to ....
39444         (tests-special): ... additions to this variable.
39445         (tests): Depend on $(tests-special).
39446         * Makerules (check-abi-list): New variable.
39447         (check-abi): Depend on $(check-abi-list).
39448         [$(subdir) = elf] (tests-special): Add
39449         $(objpfx)check-abi-libc.out.
39450         [$(build-shared) = yes && subdir] (tests-special): Add
39451         $(check-abi-list).
39452         [$(build-shared) = yes && subdir] (tests): Do not depend on
39453         check-abi.
39454         * Rules (tests): Depend on $(tests-special).
39455         (xtests): Depend on $(xtests-special).
39456         * catgets/Makefile (tests): Change dependencies to ....
39457         (tests-special): ... additions to this variable.
39458         * conform/Makefile (tests): Change dependencies to ....
39459         (tests-special): ... additions to this variable.
39460         * elf/Makefile (tests): Change dependencies to ....
39461         (tests-special): ... additions to this variable.
39462         * grp/Makefile (tests): Change dependencies to ....
39463         (tests-special): ... additions to this variable.
39464         * iconv/Makefile (xtests): Change dependencies to ....
39465         (xtests-special): ... additions to this variable.
39466         * iconvdata/Makefile (tests): Change dependencies to ....
39467         (tests-special): ... additions to this variable.
39468         * intl/Makefile (tests): Change dependencies to ....
39469         (tests-special): ... additions to this variable.  Also add
39470         $(objpfx)tst-gettext.out.
39471         * io/Makefile (tests): Change dependencies to ....
39472         (tests-special): ... additions to this variable.
39473         * libio/Makefile (tests): Change dependencies to ....
39474         (tests-special): ... additions to this variable.
39475         * malloc/Makefile (tests): Change dependencies to ....
39476         (tests-special): ... additions to this variable.
39477         * misc/Makefile (tests): Change dependencies to ....
39478         (tests-special): ... additions to this variable.
39479         * nptl/Makefile (tests): Change dependencies to ....
39480         (tests-special): ... additions to this variable.
39481         * nptl_db/Makefile (tests): Change dependencies to ....
39482         (tests-special): ... additions to this variable.
39483         * posix/Makefile (tests): Change dependencies to ....
39484         (tests-special): ... additions to this variable.
39485         (xtests): Change dependencies to ....
39486         (xtests-special): ... additions to this variable.
39487         * resolv/Makefile (tests): Change dependencies to ....
39488         (tests-special): ... additions to this variable.
39489         (xtests): Change dependencies to ....
39490         (xtests-special): ... additions to this variable.
39491         * stdio-common/Makefile (tests): Change dependencies to ....
39492         (tests-special): ... additions to this variable.
39493         (do-tst-unbputc): Remove target.
39494         (do-tst-printf): Likewise.
39495         * stdlib/Makefile (tests): Change dependencies to ....
39496         (tests-special): ... additions to this variable.
39497         * string/Makefile (tests): Change dependencies to ....
39498         (tests-special): ... additions to this variable.
39499         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39500         (tests-special): ... additions to this variable.
39502         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39503         whole file.
39504         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39505         whole file.
39506         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39507         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39509         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39510         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39511         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39512         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39513         * conform/data/libgen.h-data [XPG3]: Likewise.
39514         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39515         * conform/data/ndbm.h-data [XPG3]: Likewise.
39516         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39517         * conform/data/netdb.h-data [XPG3]: Likewise.
39518         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39519         * conform/data/poll.h-data [XPG3]: Likewise.
39520         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39521         * conform/data/strings.h-data [XPG3]: Likewise.
39522         * conform/data/stropts.h-data [XPG3]: Likewise.
39523         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39524         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39525         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39526         Likewise.
39527         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39528         * conform/data/sys/time.h-data [XPG3]: Likewise.
39529         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39530         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39531         * conform/data/sys/un.h-data [XPG3]: Likewise.
39532         * conform/data/syslog.h-data [XPG3]: Likewise.
39533         * conform/data/ucontext.h-data [XPG3]: Likewise.
39534         * conform/data/utmpx.h-data [XPG3]: Likewise.
39535         * conform/data/varargs.h-data [UNIX98]: Enable file.
39537         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39539         * math/libm-test.inc (struct test_f_f_data): Move expected results
39540         into structure for each rounding mode.
39541         (struct test_ff_f_data): Likewise.
39542         (struct test_ff_f_data_nexttoward): Likewise.
39543         (struct test_fi_f_data): Likewise.
39544         (struct test_fl_f_data): Likewise.
39545         (struct test_if_f_data): Likewise.
39546         (struct test_fff_f_data): Likewise.
39547         (struct test_c_f_data): Likewise.
39548         (struct test_f_f1_data): Likewise.
39549         (struct test_fF_f1_data): Likewise.
39550         (struct test_ffI_f1_data): Likewise.
39551         (struct test_c_c_data): Likewise.
39552         (struct test_cc_c_data): Likewise.
39553         (struct test_f_i_data): Likewise.
39554         (struct test_ff_i_data): Likewise.
39555         (struct test_f_l_data): Likewise.
39556         (struct test_f_L_data): Likewise.
39557         (struct test_fFF_11_data): Likewise.
39558         (RM_): New macro.
39559         (RM_FE_DOWNWARD): Likewise.
39560         (RM_FE_TONEAREST): Likewise.
39561         (RM_FE_TOWARDZERO): Likewise.
39562         (RM_FE_UPWARD): Likewise.
39563         (RUN_TEST_LOOP_f_f): Update references to expected results.
39564         (RUN_TEST_LOOP_2_f): Likewise.
39565         (RUN_TEST_LOOP_fff_f): Likewise.
39566         (RUN_TEST_LOOP_c_f): Likewise.
39567         (RUN_TEST_LOOP_f_f1): Likewise.
39568         (RUN_TEST_LOOP_fF_f1): Likewise.
39569         (RUN_TEST_LOOP_fI_f1): Likewise.
39570         (RUN_TEST_LOOP_ffI_f1): Likewise.
39571         (RUN_TEST_LOOP_c_c): Likewise.
39572         (RUN_TEST_LOOP_cc_c): Likewise.
39573         (RUN_TEST_LOOP_f_i): Likewise.
39574         (RUN_TEST_LOOP_f_i_tg): Likewise.
39575         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39576         (RUN_TEST_LOOP_f_b): Likewise.
39577         (RUN_TEST_LOOP_f_b_tg): Likewise.
39578         (RUN_TEST_LOOP_f_l): Likewise.
39579         (RUN_TEST_LOOP_f_L): Likewise.
39580         (RUN_TEST_LOOP_fFF_11): Likewise.
39581         * math/gen-libm-test.pl (parse_args): Output four copies of
39582         expected results for each test.
39584         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39585         (__ASSUME_UTIMES): Remove.
39586         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39587         (__ASSUME_UTIMES): Likewise.
39589         * math/gen-auto-libm-tests.c: Update comment on output format.
39590         (output_for_one_input_case): Generate before-rounding and
39591         after-rounding information as conditions on output flags not
39592         floating-point format.
39593         * math/auto-libm-test-out: Regenerated.
39594         * math/gen-libm-test.pl (cond_value): New function.
39595         (or_cond_value): Use cond_value.
39596         (generate_testfile): Handle conditional exceptions.
39598 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39600         * math/libm-test.inc (max_valid_error): New variable.
39601         (init_max_error): Take new argument specifying whether function
39602         results are exactly determined.  Set max_valid_error and bound
39603         other variables for errors based on this argument.
39604         (set_max_error): Do not record results above max_valid_error.
39605         (check_float_internal): Only accept errors of up to 0.5ulps if
39606         also at most max_valid_error.
39607         (START): Take new argument EXACT and pass it to init_max_error.
39608         (acos_test): Update call to START.
39609         (acos_test_tonearest): Likewise.
39610         (acos_test_towardzero): Likewise.
39611         (acos_test_downward): Likewise.
39612         (acos_test_upward): Likewise.
39613         (acosh_test): Likewise.
39614         (asin_test): Likewise.
39615         (asin_test_tonearest): Likewise.
39616         (asin_test_towardzero): Likewise.
39617         (asin_test_downward): Likewise.
39618         (asin_test_upward): Likewise.
39619         (asinh_test): Likewise.
39620         (atan_test): Likewise.
39621         (atanh_test): Likewise.
39622         (atan2_test): Likewise.
39623         (cabs_test): Likewise.
39624         (cacos_test): Likewise.
39625         (cacosh_test): Likewise.
39626         (carg_test): Likewise.
39627         (casin_test): Likewise.
39628         (casinh_test): Likewise.
39629         (catan_test): Likewise.
39630         (catanh_test): Likewise.
39631         (cbrt_test): Likewise.
39632         (ccos_test): Likewise.
39633         (ccosh_test): Likewise.
39634         (ceil_test): Likewise.
39635         (cexp_test): Likewise.
39636         (cimag_test): Likewise.
39637         (clog_test): Likewise.
39638         (clog10_test): Likewise.
39639         (conj_test): Likewise.
39640         (copysign_test): Likewise.
39641         (cos_test): Likewise.
39642         (cos_test_tonearest): Likewise.
39643         (cos_test_towardzero): Likewise.
39644         (cos_test_downward): Likewise.
39645         (cos_test_upward): Likewise.
39646         (cosh_test): Likewise.
39647         (cosh_test_tonearest): Likewise.
39648         (cosh_test_towardzero): Likewise.
39649         (cosh_test_downward): Likewise.
39650         (cosh_test_upward): Likewise.
39651         (cpow_test): Likewise.
39652         (cproj_test): Likewise.
39653         (creal_test): Likewise.
39654         (csin_test): Likewise.
39655         (csinh_test): Likewise.
39656         (csqrt_test): Likewise.
39657         (ctan_test): Likewise.
39658         (ctan_test_tonearest): Likewise.
39659         (ctan_test_towardzero): Likewise.
39660         (ctan_test_downward): Likewise.
39661         (ctan_test_upward): Likewise.
39662         (ctanh_test): Likewise.
39663         (ctanh_test_tonearest): Likewise.
39664         (ctanh_test_towardzero): Likewise.
39665         (ctanh_test_downward): Likewise.
39666         (ctanh_test_upward): Likewise.
39667         (erf_test): Likewise.
39668         (erfc_test): Likewise.
39669         (exp_test): Likewise.
39670         (exp_test_tonearest): Likewise.
39671         (exp_test_towardzero): Likewise.
39672         (exp_test_downward): Likewise.
39673         (exp_test_upward): Likewise.
39674         (exp10_test): Likewise.
39675         (exp10_test_tonearest): Likewise.
39676         (exp10_test_towardzero): Likewise.
39677         (exp10_test_downward): Likewise.
39678         (exp10_test_upward): Likewise.
39679         (pow10_test): Likewise.
39680         (exp2_test): Likewise.
39681         (expm1_test): Likewise.
39682         (expm1_test_tonearest): Likewise.
39683         (expm1_test_towardzero): Likewise.
39684         (expm1_test_downward): Likewise.
39685         (expm1_test_upward): Likewise.
39686         (fabs_test): Likewise.
39687         (fdim_test): Likewise.
39688         (floor_test): Likewise.
39689         (fma_test): Likewise.
39690         (fma_test_towardzero): Likewise.
39691         (fma_test_downward): Likewise.
39692         (fma_test_upward): Likewise.
39693         (fmax_test): Likewise.
39694         (fmin_test): Likewise.
39695         (fmod_test): Likewise.
39696         (fpclassify_test): Likewise.
39697         (frexp_test): Likewise.
39698         (hypot_test): Likewise.
39699         (ilogb_test): Likewise.
39700         (isfinite_test): Likewise.
39701         (finite_test): Likewise.
39702         (isgreater_test): Likewise.
39703         (isgreaterequal_test): Likewise.
39704         (isinf_test): Likewise.
39705         (isless_test): Likewise.
39706         (islessequal_test): Likewise.
39707         (islessgreater_test): Likewise.
39708         (isnan_test): Likewise.
39709         (isnormal_test): Likewise.
39710         (issignaling_test): Likewise.
39711         (isunordered_test): Likewise.
39712         (j0_test): Likewise.
39713         (j1_test): Likewise.
39714         (jn_test): Likewise.
39715         (ldexp_test): Likewise.
39716         (lgamma_test): Likewise.
39717         (gamma_test): Likewise.
39718         (lrint_test): Likewise.
39719         (lrint_test_tonearest): Likewise.
39720         (lrint_test_towardzero): Likewise.
39721         (lrint_test_downward): Likewise.
39722         (lrint_test_upward): Likewise.
39723         (llrint_test): Likewise.
39724         (llrint_test_tonearest): Likewise.
39725         (llrint_test_towardzero): Likewise.
39726         (llrint_test_downward): Likewise.
39727         (llrint_test_upward): Likewise.
39728         (log_test): Likewise.
39729         (log10_test): Likewise.
39730         (log1p_test): Likewise.
39731         (log2_test): Likewise.
39732         (logb_test): Likewise.
39733         (logb_test_downward): Likewise.
39734         (lround_test): Likewise.
39735         (llround_test): Likewise.
39736         (modf_test): Likewise.
39737         (nearbyint_test): Likewise.
39738         (nextafter_test): Likewise.
39739         (nexttoward_test): Likewise.
39740         (pow_test): Likewise.
39741         (pow_test_tonearest): Likewise.
39742         (pow_test_towardzero): Likewise.
39743         (pow_test_downward): Likewise.
39744         (pow_test_upward): Likewise.
39745         (remainder_test): Likewise.
39746         (drem_test): Likewise.
39747         (remainder_test_tonearest): Likewise.
39748         (drem_test_tonearest): Likewise.
39749         (remainder_test_towardzero): Likewise.
39750         (drem_test_towardzero): Likewise.
39751         (remainder_test_downward): Likewise.
39752         (drem_test_downward): Likewise.
39753         (remainder_test_upward): Likewise.
39754         (drem_test_upward): Likewise.
39755         (remquo_test): Likewise.
39756         (rint_test): Likewise.
39757         (rint_test_tonearest): Likewise.
39758         (rint_test_towardzero): Likewise.
39759         (rint_test_downward): Likewise.
39760         (rint_test_upward): Likewise.
39761         (round_test): Likewise.
39762         (scalb_test): Likewise.
39763         (scalbn_test): Likewise.
39764         (scalbln_test): Likewise.
39765         (signbit_test): Likewise.
39766         (sin_test): Likewise.
39767         (sin_test_tonearest): Likewise.
39768         (sin_test_towardzero): Likewise.
39769         (sin_test_downward): Likewise.
39770         (sin_test_upward): Likewise.
39771         (sincos_test): Likewise.
39772         (sinh_test): Likewise.
39773         (sinh_test_tonearest): Likewise.
39774         (sinh_test_towardzero): Likewise.
39775         (sinh_test_downward): Likewise.
39776         (sinh_test_upward): Likewise.
39777         (sqrt_test): Likewise.
39778         (sqrt_test_tonearest): Likewise.
39779         (sqrt_test_towardzero): Likewise.
39780         (sqrt_test_downward): Likewise.
39781         (sqrt_test_upward): Likewise.
39782         (tan_test): Likewise.
39783         (tan_test_tonearest): Likewise.
39784         (tan_test_towardzero): Likewise.
39785         (tan_test_downward): Likewise.
39786         (tan_test_upward): Likewise.
39787         (tanh_test): Likewise.
39788         (tgamma_test): Likewise.
39789         (trunc_test): Likewise.
39790         (y0_test): Likewise.
39791         (y1_test): Likewise.
39792         (yn_test): Likewise.
39793         (significand_test): Likewise.
39795         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39796         individual tests in comment.
39797         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39798         (prev_max_error): New variable.
39799         (prev_real_max_error): Likewise.
39800         (prev_imag_max_error): Likewise.
39801         (compare_ulp_data): Don't refer to test names in comment.
39802         (find_test_ulps): Remove function.
39803         (find_function_ulps): Likewise.
39804         (find_complex_function_ulps): Likewise.
39805         (init_max_error): Take function name as argument.  Look up ulps
39806         for that function.
39807         (print_ulps): Remove function.
39808         (print_max_error): Use prev_max_error instead of calling
39809         find_function_ulps.
39810         (print_complex_max_error): Use prev_real_max_error and
39811         prev_imag_max_error instead of calling find_complex_function_ulps.
39812         (check_float_internal): Take max_ulp parameter instead of calling
39813         find_test_ulps.  Don't call print_ulps.
39814         (check_float): Update call to check_float_internal.
39815         (check_complex): Update calls to check_float_internal.
39816         (START): Pass argument to init_max_error.
39817         * math/gen-libm-test.pl (%results): Don't include "kind"
39818         information.
39819         (parse_ulps): Don't handle ulps of individual tests.
39820         (print_ulps_file): Likewise.
39821         (output_ulps): Likewise.
39822         * math/README.libm-test: Update.
39823         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39824         individual tests.
39825         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39826         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39827         * sysdeps/arm/libm-test-ulps: Likewise.
39828         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39829         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39830         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39831         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39832         * sysdeps/microblaze/libm-test-ulps: Likewise.
39833         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39834         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39835         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39836         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39837         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39838         * sysdeps/sh/libm-test-ulps: Likewise.
39839         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39840         * sysdeps/tile/libm-test-ulps: Likewise.
39841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39843 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39845         * math/libm-test.inc (print_complex_max_error): Check separately
39846         whether real and imaginary errors are within allowed range and
39847         pass 0 to print_complex_function_ulps instead of value within
39848         allowed range.
39850 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39852         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39853         formatting.
39854         (get_handles_fopen): Likewise.
39855         (do_write_test): Likewise.
39857         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39859         * libio/fileops.c (do_ftell): Use cached offset when
39860         available.
39861         * libio/iofwide.c (do_ftell_wide): Likewise.
39862         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39863         _IO_file_attach.
39864         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39866         [BZ #16532]
39867         * libio/libioP.h (get_file_offset): New function.
39868         * libio/fileops.c (get_file_offset): Likewise.
39869         (do_ftell): Likewise.
39870         (_IO_new_file_seekoff): Split out ftell logic.
39871         * libio/wfileops.c (do_ftell_wide): Likewise.
39872         (_IO_wfile_seekoff): Split out ftell logic.
39873         * libio/tst-ftell-active-handler.c: New test case.
39874         * libio/Makefile (tests): Add it.
39876 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39878         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39879         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39881 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39883         [BZ #16639]
39884         * nscd/connections.c (nscd_init): Call do_exit.
39885         (start_threads): Call do_exit and notify_parent.
39886         (begin_drop_privileges): Call do_exit.
39887         (finish_drop_privileges): Likewise.
39888         * nscd/selinux.c (preserve_capabilities): Likewise.
39889         (install_real_capabilities): Likewise.
39890         (nscd_selinux_enabled): Likewise.
39891         (avc_create_thread): Likewise.
39892         (avc_alloc_lock): Likewise.
39893         (nscd_avc_init): Likewise.
39894         * nscd/nscd.c (parent_fd): New static variable.
39895         (main): Create a pipe between parent and child processes.
39896         Skip closing parent_fd.
39897         (monitor_child): New function.
39898         (do_exit): Likewise.
39899         (notify_parent): Likewise.
39900         * nscd/nscd.h (notify_parent): Likewise.
39901         (do_exit): Likewise.
39903 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39905         * malloc/malloc.c (__libc_calloc): Revert last change.
39907 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39911 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39913         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39915         implementation.
39916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39917         (__libc_ifunc_impl_list): Likewise.
39918         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39919         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39920         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39921         * string/strrchr.c: Define STRRCHR.
39923 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39925         * benchtest/bench-strtok.c (simple_strtok): Delete.
39926         (strtok_string): Use as benchmark.
39927         * string/strtok (STRTOK): New macro.
39929 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39931         * manual/threads.texi: Add header and standard comments to all
39932         functions.
39934         * elf/dl-lookup.c (check_match): New function.
39935         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39936         (do_lookup_x): Remove nested function check_match. Use non-nested
39937         function check_match.
39939 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39941         * csu/Makefile (generated, before-compile): Use += rather than =.
39942         * catgets/Makefile (generated, generated-dirs): Likewise.
39943         * debug/Makefile (generated): Likewise.
39944         * dlfcn/Makefile (generated): Likewise.
39945         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39946         * iconvdata/Makefile (before-compile, generated): Likewise.
39947         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39948         * libio/Makefile (generated): Likewise.
39949         * malloc/Makefile (generated): Likewise.
39950         * manual/Makefile (generated, generated-dirs): Likewise.
39951         * misc/Makefile (generated): Likewise.
39952         * posix/Makefile (generated): Likewise.
39953         * resolv/Makefile (generated): Likewise.
39954         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39955         * timezone/Makefile (generated, generated-dirs): Likewise.
39957         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39959 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39962         power8 implementation.
39963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39964         file: POWER8 llround ifunc implementation.
39965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39966         (__lllround): Add POWER8 implementation.
39967         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39968         POWER8 llround implementation.
39970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39971         power8 implementation.
39972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39973         file: POWER8 llrint ifunc implementation.
39974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39975         Add POWER8 implementation.
39976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39977         POWER8 llrint implementation.
39979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39980         power8 implementation.
39981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39982         file: POWER8 finite ifunc implementation.
39983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39984         Add POWER8 implementation.
39985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39986         Likewise.
39987         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39988         POWER8 finite implementation.
39989         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39992         power8 implementation.
39993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39994         file: POWER8 isinf ifunc implementation.
39995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39996         POWER8 implementation.
39997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39998         Likewise.
39999         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40000         isinf implementation.
40001         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40003         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40004         (INIT_ARCH): Add hwcap2 initialization.
40005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40006         power8 implementation.
40007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40008         file: POWER8 isnan ifunc implementation.
40009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40010         POWER8 implementation.
40011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40012         Likewise.
40013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40014         isnan implementation.
40015         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40017 2014-02-27  Joey Ye  <joey.ye@arm.com>
40019         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40020         (_FP_NANFRAC_Q): Set to zero.
40022 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40024         [BZ #16623]
40025         * math/auto-libm-test-in: New test inputs.
40026         * math/auto-libm-test-out: Regenerate.
40027         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40028         and DA.
40029         (__cos): Likewise.
40030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40032 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40034         * scripts/evaluate-test.sh: Take new argument indicating whether
40035         failure is expected.
40036         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40037         indicating whether failure is expected.
40038         * conform/Makefile (test-xfail-run-conformtest): New variable.
40039         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40040         level.
40041         * posix/Makefile (test-xfail-annexc): New variable.
40042         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40044 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40046         * argp/Makefile: Include Makeconfig immediately after defining
40047         subdir.
40048         * assert/Makefile: Likewise.
40049         * benchtests/Makefile: Likewise.
40050         * catgets/Makefile: Likewise.
40051         * conform/Makefile: Likewise.
40052         * crypt/Makefile: Likewise.
40053         * csu/Makefile: Likewise.
40054         (all): Remove target.
40055         * ctype/Makefile: Include Makeconfig immediately after defining
40056         subdir.
40057         * debug/Makefile: Likewise.
40058         * dirent/Makefile: Likewise.
40059         * dlfcn/Makefile: Likewise.
40060         * gmon/Makefile: Likewise.
40061         * gnulib/Makefile: Likewise.
40062         * grp/Makefile: Likewise.
40063         * gshadow/Makefile: Likewise.
40064         * hesiod/Makefile: Likewise.
40065         * hurd/Makefile: Likewise.
40066         (all): Remove target.
40067         * iconvdata/Makefile: Include Makeconfig immediately after
40068         defining subdir.
40069         * inet/Makefile: Likewise.
40070         * intl/Makefile: Likewise.
40071         * io/Makefile: Likewise.
40072         * libio/Makefile: Likewise.
40073         (all): Remove target.
40074         * locale/Makefile: Include Makeconfig immediately after defining
40075         subdir.
40076         * login/Makefile: Likewise.
40077         * mach/Makefile: Likewise.
40078         (all): Remove target.
40079         * malloc/Makefile: Include Makeconfig immediately after defining
40080         subdir.
40081         (all): Remove target.
40082         * manual/Makefile: Include Makeconfig immediately after defining
40083         subdir.
40084         * math/Makefile: Likewise.
40085         * misc/Makefile: Likewise.
40086         * nis/Makefile: Likewise.
40087         * nss/Makefile: Likewise.
40088         * po/Makefile: Likewise.
40089         (all): Remove target.
40090         * posix/Makefile: Include Makeconfig immediately after defining
40091         subdir.
40092         * pwd/Makefile: Likewise.
40093         * resolv/Makefile: Likewise.
40094         * resource/Makefile: Likewise.
40095         * rt/Makefile: Likewise.
40096         * setjmp/Makefile: Likewise.
40097         * shadow/Makefile: Likewise.
40098         * signal/Makefile: Likewise.
40099         * socket/Makefile: Likewise.
40100         * soft-fp/Makefile: Likewise.
40101         * stdio-common/Makefile: Likewise.
40102         * stdlib/Makefile: Likewise.
40103         * streams/Makefile: Likewise.
40104         * string/Makefile: Likewise.
40105         * sunrpc/Makefile: Likewise.
40106         (all): Remove target.
40107         * sysvipc/Makefile: Include Makeconfig immediately after defining
40108         subdir.
40109         * termios/Makefile: Likewise.
40110         * time/Makefile: Likewise.
40111         * timezone/Makefile: Likewise.
40112         (all): Remove target.
40113         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40114         subdir.
40115         * wctype/Makefile: Likewise.
40117 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40119         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40120         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40121         (libc_feholdexcept_setround_mips): Ditto.
40122         (libc_feholdsetround): New.
40123         (libc_feholdsetroundf): New.
40124         (libc_feholdsetroundl): New.
40125         (libc_feupdateenv_test_mips): New.
40126         (libc_feupdateenv_test): New.
40127         (libc_feupdateenv_testf): New.
40128         (libc_feupdateenv_testl): New.
40129         (libc_feresetround): New.
40130         (libc_feresetroundf): New.
40131         (libc_feresetroundl): New.
40132         (libc_fetestexcept_mips): New.
40133         (libc_fetestexcept): New.
40134         (libc_fetestexceptf): New.
40135         (libc_fetestexceptl): New.
40136         (HAVE_RM_CTX): New.
40137         (libc_feholdexcept_setround_mips_ctx): New.
40138         (libc_feholdexcept_setround_ctx): New.
40139         (libc_feholdexcept_setroundf_ctx): New.
40140         (libc_feholdexcept_setroundl_ctx): New.
40141         (libc_fesetenv_mips_ctx): New.
40142         (libc_fesetenv_ctx): New.
40143         (libc_fesetenv_ctxf): New.
40144         (libc_fesetenv_ctxl): New.
40145         (libc_feupdateenv_mips_ctx): New.
40146         (libc_feupdateenv_ctx): New.
40147         (libc_feupdateenvf_ctx): New.
40148         (libc_feupdateenvl_ctx): New.
40149         (libc_feholdsetround_mips_ctx): New.
40150         (libc_feholdsetround_ctx): New.
40151         (libc_feholdsetroundf_ctx): New.
40152         (libc_feholdsetroundl_ctx): New.
40153         (libc_feresetround_mips_ctx): New.
40154         (libc_feresetround_ctx): New.
40155         (libc_feresetroundf_ctx): New.
40156         (libc_feresetroundl_ctx): New.
40158 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40160         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40162         * manual/ipc.texi: New file.
40163         * manual/Makefile (chapters): Add ipc.
40164         * manual/job.texi: Add "Inter-Process Communication" to next.
40165         * manual/process.texi: Add "Inter-Process Communication" to prev.
40167 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40171 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40173         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40175         * manual/arith.texi: Fix spaces after sentences.
40176         * manual/charset.texi: Likewise.
40177         * manual/errno.texi: Likewise.
40178         * manual/install.texi: Likewise.
40179         * manual/llio.texi: Likewise.
40180         * manual/locale.texi: Likewise.
40181         * manual/maint.texi: Likewise.
40182         * manual/math.texi: Likewise.
40183         * manual/memory.texi: Likewise.
40184         * manual/message.texi: Likewise.
40185         * manual/probes.texi: Likewise.
40186         * manual/resource.texi: Likewise.
40187         * manual/signal.texi: Likewise.
40188         * manual/socket.texi: Likewise.
40189         * manual/stdio.texi: Likewise.
40190         * manual/string.texi: Likewise.
40191         * manual/time.texi: Likewise.
40192         * manual/users.texi: Likewise.
40194 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40196         [BZ #16632]
40197         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40198         _DEFAULT_SOURCE is defined.
40200 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40201             Carlos O'Donell  <carlos@redhat.com>
40203         [BZ #16613]
40204         * elf/dl-tls.c (_dl_count_modids): New function.
40205         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40206         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40207         audit library and increment generation counter.
40208         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40209         * elf/tst-audit9.c: New file.
40210         * elf/tst-auditmod9a.c: New file.
40211         * elf/tst-auditmod9b.c: New file.
40212         * elf/Makefile: Add rules to build and run tst-audit9.
40214 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40216         [BZ #15347]
40217         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40219 2014-02-25  Will Newton  <will.newton@linaro.org>
40221         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40222         (__longjmp): Restore sp and lr before restoring callee
40223         saved registers.  Add longjmp and longjmp_target
40224         SystemTap probe point.
40225         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40226         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40227         Define to zero to match jmpbuf layout.
40228         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40229         (__sigsetjmp): Save sp and lr before saving callee
40230         saved registers.  Add setjmp SystemTap probe point.
40232 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40236 2014-02-24  Andreas Schwab  <schwab@suse.de>
40238         [BZ #15804]
40239         * elf/pldd.c (wait_for_ptrace_stop): New function.
40240         (main): Call it after attaching.
40242 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40244         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40245         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40246         Versions files is now verboten.
40247         * hurd/Versions (libc: GLIBC_2.0):
40248         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40249         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40250         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40251         * mach/Versions: Likewise.
40253         * csu/Versions: Remove unused %include.
40254         * resolv/Versions: Likewise.
40256 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40258         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40259         ($(objpfx)check-local-headers.out): Likewise.
40260         ($(objpfx)begin-end-check.out): Likewise.
40261         * Makerules (check-abi-%.out): Likewise.
40262         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40263         ($(objpfx)test2.cat): Likewise.
40264         ($(objpfx)de/libc.cat): Likewise.
40265         ($(objpfx)test-gencat.out): Likewise.
40266         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40267         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40268         ($(objpfx)noload-mem): Likewise.
40269         ($(objpfx)tst-pathopt.out): Likewise.
40270         ($(objpfx)tst-rtld-load-self.out): Likewise.
40271         ($(objpfx)tst-array1-cmp.out): Likewise.
40272         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40273         ($(objpfx)tst-array2-cmp.out): Likewise.
40274         ($(objpfx)tst-array3-cmp.out): Likewise.
40275         ($(objpfx)tst-array4-cmp.out): Likewise.
40276         ($(objpfx)tst-array5-cmp.out): Likewise.
40277         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40278         ($(objpfx)check-textrel.out): Likewise.
40279         ($(objpfx)check-execstack.out): Likewise.
40280         ($(objpfx)check-localplt.out): Likewise.
40281         ($(objpfx)order2-cmp.out): Likewise.
40282         ($(objpfx)tst-leaks1-mem): Likewise.
40283         ($(objpfx)tst-leaks1-static-mem): Likewise.
40284         ($(objpfx)tst-initorder-cmp.out): Likewise.
40285         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40286         ($(objpfx)tst-unused-dep.out): Likewise.
40287         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40288         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40289         * iconv/Makefile (test-iconvconfig): Likewise.
40290         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40291         ($(objpfx)iconv-test.out): Likewise.
40292         ($(objpfx)tst-tables.out): Likewise.
40293         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40294         ($(objpfx)tst-gettext.out): Likewise.
40295         ($(objpfx)tst-translit.out): Likewise.
40296         ($(objpfx)tst-gettext2.out): Likewise.
40297         ($(objpfx)tst-gettext4.out): Likewise.
40298         ($(objpfx)tst-gettext6.out): Likewise.
40299         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40300         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40301         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40302         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40303         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40304         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40305         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40306         ($(objpfx)wordexp-tst.out): Likewise.
40307         ($(objpfx)annexc.out): Likewise.
40308         ($(objpfx)tst-fnmatch-mem): Likewise.
40309         ($(objpfx)bug-regex2-mem): Likewise.
40310         ($(objpfx)bug-regex14-mem): Likewise.
40311         ($(objpfx)bug-regex21-mem): Likewise.
40312         ($(objpfx)bug-regex31-mem): Likewise.
40313         ($(objpfx)tst-vfork3-mem): Likewise.
40314         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40315         ($(objpfx)tst-pcre-mem): Likewise.
40316         ($(objpfx)tst-boost-mem): Likewise.
40317         ($(objpfx)tst-getconf.out): Likewise.
40318         ($(objpfx)bug-ga2-mem): Likewise.
40319         ($(objpfx)bug-glob2-mem): Likewise.
40320         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40321         ($(objpfx)mtrace-tst-leaks2): Likewise.
40322         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40323         ($(objpfx)tst-printf.out): Likewise.
40324         ($(objpfx)tst-setvbuf1.out): Likewise.
40325         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40326         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40327         ($(objpfx)tst-fmtmsg.out): Likewise.
40328         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40329         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40331         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40332         * bits/sigaction.h [__USE_MISC]: Likewise.
40333         * bits/waitstatus.h: Update #endif comments.
40334         * ctype/ctype.h: Likewise.
40335         * dirent/dirent.h: Likewise.
40336         [__USE_MISC]: Remove redundant conditionals.
40337         * grp/grp.h: Update #endif comments.
40338         [__USE_GNU]: Remove redundant conditionals.
40339         [__USE_MISC]: Likewise.
40340         * inet/netinet/in.h [__USE_GNU]: Likewise.
40341         * io/sys/stat.h [__USE_MISC]: Likewise.
40342         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40343         * libio/bits/stdio.h: Update #endif comments.
40344         [__USE_MISC]: Remove redundant conditionals.
40345         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40346         * libio/stdio.h: Update #endif comments.
40347         [__USE_MISC]: Remove redundant conditionals.
40348         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40349         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40350         * math/math.h: Update #else and #endif comments.
40351         [__USE_MISC]: Remove redundant conditionals.
40352         * misc/sys/uio.h: Update #endif comments.
40353         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40354         * posix/glob.h [__USE_MISC]: Likewise.
40355         * posix/sys/types.h: Update #endif comments.
40356         [__USE_MISC]: Remove redundant conditionals.
40357         * posix/sys/wait.h: Update #endif comments.
40358         [__USE_MISC]: Remove redundant conditionals.
40359         * posix/unistd.h: Update #endif comments.
40360         [__USE_MISC]: Remove redundant conditionals.
40361         * pwd/pwd.h [__USE_GNU]: Likewise.
40362         [__USE_MISC]: Likewise.
40363         * resolv/netdb.h [__USE_GNU]: Likewise.
40364         * signal/signal.h: Update #endif comments.
40365         [__USE_MISC]: Remove redundant conditionals.
40366         * stdlib/stdlib.h: Update #else and #endif comments.
40367         [__USE_MISC]: Remove redundant conditionals.
40368         [__USE_GNU]: Likewise.
40369         * string/bits/string2.h [__USE_MISC]: Likewise.
40370         * string/string.h: Update #endif comments.
40371         [__USE_MISC]: Remove redundant conditionals.
40372         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40373         Likewise.
40374         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40375         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40376         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40377         Likewise.
40378         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40379         Likewise.
40380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40381         comments.
40382         [__USE_MISC]: Remove redundant conditionals.
40383         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40384         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40385         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40386         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40387         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40388         Likewise.
40389         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40390         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40391         Likewise.
40392         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40393         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40394         Likewise.
40395         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40396         Likewise.
40397         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40398         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40399         Likewise.
40400         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40401         Likewise.
40402         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40403         * sysdeps/x86/bits/string.h: Update #endif comments.
40404         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40405         conditionals.
40406         * time/sys/time.h: Update #endif comments.
40407         * time/time.h: Likewise.
40408         [__USE_MISC]: Remove redundant conditionals.
40410 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40412         [BZ #16600]
40413         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40415 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40417         * Versions.def (librt): Add GLIBC_2.17.
40419 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40421         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40422         synonym for _SYS_AUXV_H to allow direct inclusion.
40423         * sysdeps/sparc/bits/hwcap.h: Likewise.
40424         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40425         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40426         * sysdeps/sparc/sysdep.h: Likewise.
40428 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40430         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40432 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40434         * benchtests/bench-strrchr.c: Print length instead of position.
40436 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40438         [BZ #16611]
40439         * sysdeps/unix/sysv/linux/kernel-features.h
40440         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40441         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40442         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40443         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40444         Likewise.
40445         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40446         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40447         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40448         (__ASSUME_SENDMMSG): Define instead of using previous
40449         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40451         (__ASSUME_SENDMMSG_SYSCALL): Define.
40452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40453         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40454         Likewise.
40455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40457         Likewise.
40458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40459         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40460         Likewise.
40461         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40462         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40463         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40464         [__ASSUME_SENDMMSG]: Change conditionals to
40465         [__ASSUME_SENDMMSG_SOCKETCALL].
40466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40467         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40468         Define.
40469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40470         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40471         Likewise.
40472         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40473         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40474         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40475         [!__ASSUME_SENDMMSG]: Change conditional to
40476         [!__ASSUME_SENDMMSG_SOCKETCALL].
40477         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40478         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40479         Define.
40481         [BZ #16610]
40482         * sysdeps/unix/sysv/linux/kernel-features.h
40483         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40484         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40485         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40486         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40487         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40488         [__i386__ || __sparc__]
40489         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40490         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40491         (__ASSUME_RECVMMSG): Define instead of using previous
40492         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40493         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40494         (__ASSUME_RECVMMSG_SYSCALL): Define.
40495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40497         Likewise.
40498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40500         Likewise.
40501         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40503         Likewise.
40504         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40505         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40506         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40507         [__ASSUME_RECVMMSG]: Change condition to
40508         [__ASSUME_RECVMMSG_SOCKETCALL].
40509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40511         Define.
40512         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40513         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40514         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40515         Likewise.
40516         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40517         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40518         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40519         [!__ASSUME_RECVMMSG]: Change condition to
40520         [!__ASSUME_RECVMMSG_SOCKETCALL].
40521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40522         (__ASSUME_RECVMMSG_SYSCALL): Define.
40524         [BZ #16609]
40525         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40526         __powerpc__ || __s390__ || __sh__ || __sparc__]
40527         (__ASSUME_SOCKETCALL): Define.
40528         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40529         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40530         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40531         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40532         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40533         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40534         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40535         (__ASSUME_ACCEPT4): Define instead of using previous
40536         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40537         __powerpc__ || __sparc__ || __s390__)] condition.
40538         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40539         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40540         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40541         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40542         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40543         [!__ASSUME_ACCEPT4]: Change condition to
40544         [!__ASSUME_ACCEPT4_SOCKETCALL].
40545         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40546         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40547         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40549         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40550         __ASSUME_ACCEPT4_SYSCALL.
40551         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40552         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40553         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40554         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40555         __ASSUME_ACCEPT4_SYSCALL.
40556         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40557         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40558         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40559         [__ASSUME_ACCEPT4]: Change condition to
40560         [__ASSUME_ACCEPT4_SOCKETCALL].
40561         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40562         (__ASSUME_SOCKETCALL): Define.
40563         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40565         (__ASSUME_SOCKETCALL): Define.
40566         (__ASSUME_ACCEPT4): Remove.
40567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40568         Define.
40569         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40570         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40571         Likewise.
40572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40573         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40575         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40576         macro.
40577         (HWCAP_ARM_LPAE): Likewise.
40578         (HWCAP_ARM_EVTSTRM): Likewise.
40579         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40580         Add vpfd32, lpae and evtstrm.
40581         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40582         Increase to 22.
40584 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40586         * math/auto-libm-test-in: Add tests of clog10.
40587         * math/auto-libm-test-out: Regenerated.
40588         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40589         * sysdeps/i386/fpu/libm-test-ulps: Update.
40590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40592 2014-02-18  Andreas Schwab  <schwab@suse.de>
40594         [BZ #16574]
40595         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40596         Store non-zero if the second buffer was newly allocated.
40597         (send_dg): Likewise.
40598         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40599         to send_vc and send_dg.
40600         (res_nsend): Pass NULL for ansp2_malloced.
40601         * resolv/res_query.c (__libc_res_nquery): Add parameter
40602         answerp2_malloced and pass it down to __libc_res_nsend.
40603         (res_nquery): Pass additional NULL to __libc_res_nquery.
40604         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40605         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40606         second answer buffer if answerp2_malloced was set.
40607         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40608         (__libc_res_nquerydomain): Add parameter
40609         answerp2_malloced and pass it down to __libc_res_nquery.
40610         (res_nquerydomain): Pass additional NULL to
40611         __libc_res_nquerydomain.
40612         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40613         additional NULL to __libc_res_nsend and __libc_res_nquery.
40614         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40615         additional NULL to __libc_res_nsearch.
40616         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40617         parameter of __libc_res_nsearch to check for separately allocated
40618         second buffer.
40619         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40620         __libc_res_nquery.
40621         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40622         additional NULL to __libc_res_nquery.
40623         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40624         __libc_res_nsearch.
40625         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40626         * include/resolv.h: Update prototypes of __libc_res_nquery,
40627         __libc_res_nsearch, __libc_res_nsend.
40629 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40631         * math/auto-libm-test-in: Add tests of fma.
40632         * math/auto-libm-test-out: Regenerated.
40633         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40634         (fma_towardzero_test_data): Likewise.
40635         (fma_downward_test_data): Likewise.
40636         (fma_upward_test_data): Likewise.
40637         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40638         mpc_mode.
40639         (rounding_modes): Add values for new field.
40640         (func_calc_method): Add value mpfr_fff_f.
40641         (func_calc_desc): Add mpfr_fff_f union field.
40642         (test_function): Add field exact_args.
40643         (FUNC): Add macro argument EXACT_ARGS.
40644         (FUNC_mpfr_f_f): Update call to FUNC.
40645         (FUNC_mpfr_f_f): Likewise.
40646         (FUNC_mpfr_ff_f): Likewise.
40647         (FUNC_mpfr_if_f): Likewise.
40648         (FUNC_mpc_c_f): Likewise.
40649         (FUNC_mpc_c_c): Likewise.
40650         (test_functions): Add fma.  Update calls to FUNC.
40651         (handle_input_arg): Add argument exact_args.
40652         (add_test): Update call to handle_input_arg.
40653         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40654         (output_for_one_input_case): Update call to calc_generic_results.
40655         Recalculate exact zero results in each rounding mode.
40657         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40658         non-negative before setting low bit.
40659         * math/auto-libm-test-in: Mark one asin test possibly having
40660         spurious underflow.
40661         * math/auto-libm-test-out: Regenerated.
40662         * sysdeps/i386/fpu/libm-test-ulps: Update.
40663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40665 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40667         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40668         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40669         ports/sysdeps/unix/sysv/linux/microblaze.
40670         * README: Add missing listing for microblaze*-*-linux-gnu.
40672 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40674         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40675         duplicate code
40677 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40679         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40680         * sysdeps/unix/sysv/linux/ia64: Move directory from
40681         ports/sysdeps/unix/sysv/linux/ia64.
40682         * README: Update listing for ia64-*-linux-gnu.
40684 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40685             Joseph Myers  <joseph@codesourcery.com>
40687         * Makeconfig (test-name): New variable.
40688         (evaluate-test): Likewise.
40689         * Makerules (do-test-clean): Remove .test-result files.
40690         (common-mostlyclean): Likewise.
40691         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40692         * scripts/evaluate-test.sh: New file.
40694 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40696         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40697         separate $(objpfx)tst-fopenloc-cmp.out and
40698         $(objpfx)tst-fopenloc-mem.out targets.
40699         (tests): Update dependencies.
40700         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40701         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40702         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40703         (tst-rxspencer-no-utf8-ARGS): New variable.
40704         (tst-rxspencer-no-utf8-ENV): Likewise.
40705         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40706         instead of $(objpfx)tst-rxspencer-mem.
40707         ($(objpfx)tst-rxspencer-mem): Change target to
40708         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40709         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40710         * posix/tst-rxspencer-no-utf8.c: New file.
40712         * elf/Makefile ($(objpfx)order.out): Remove rule.
40713         [$(run-built-tests) = yes] (tests): Depend on
40714         $(objpfx)order-cmp.out.
40715         ($(objpfx)order-cmp.out): New rule.
40716         [$(run-built-tests) = yes] (tests): Depend on
40717         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40718         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40719         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40720         $(objpfx)tst-array5-static-cmp.out.
40721         ($(objpfx)tst-array1.out): Remove rule.
40722         ($(objpfx)tst-array1-cmp.out): New rule.
40723         ($(objpfx)tst-array1-static.out): Remove rule.
40724         ($(objpfx)tst-array1-static-cmp.out): New rule.
40725         ($(objpfx)tst-array2.out): Remove rule.
40726         ($(objpfx)tst-array2-cmp.out): New rule.
40727         ($(objpfx)tst-array3.out): Remove rule.
40728         ($(objpfx)tst-array3-cmp.out): New rule.
40729         ($(objpfx)tst-array4.out): Remove rule.
40730         ($(objpfx)tst-array4-cmp.out): New rule.
40731         ($(objpfx)tst-array5.out): Remove rule.
40732         ($(objpfx)tst-array5-cmp.out): New rule.
40733         ($(objpfx)tst-array5-static.out): Remove rule.
40734         ($(objpfx)tst-array5-static-cmp.out): New rule.
40735         [$(run-built-tests) = yes] (tests): Depend on
40736         $(objpfx)order2-cmp.out.
40737         ($(objpfx)order2.out): Remove rule.
40738         ($(objpfx)order2-cmp.out): New rule.
40739         ($(objpfx)tst-initorder.out): Remove rule.
40740         [$(run-built-tests) = yes] (tests): Depend on
40741         $(objpfx)tst-initorder-cmp.out.
40742         ($(objpfx)tst-initorder-cmp.out): New rule.
40743         ($(objpfx)tst-initorder2.out): Remove rule.
40744         [$(run-built-tests) = yes] (tests): Depend on
40745         $(objpfx)tst-initorder2-cmp.out.
40746         ($(objpfx)tst-initorder2-cmp.out): New rule.
40747         [$(run-built-tests) = yes] (tests): Depend on
40748         $(objpfx)tst-unused-dep-cmp.out.
40749         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40750         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40751         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40752         on $(objpfx)tst-setvbuf1-cmp.out.
40753         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40754         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40755         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40756         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40757         ($(objpfx)tst-svc.out): Remove rule.
40758         ($(objpfx)tst-svc-cmp.out): New rule.
40760 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40762         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40763         * ctype/ctype.h [__USE_MISC]: Likewise.
40764         * dirent/dirent.h [__USE_MISC]: Likewise.
40765         * grp/grp.h [__USE_MISC]: Likewise.
40766         * io/fcntl.h [__USE_MISC]: Likewise.
40767         * io/sys/stat.h [__USE_MISC]: Likewise.
40768         * libio/stdio.h [__USE_MISC]: Likewise.
40769         * posix/unistd.h [__USE_MISC]: Likewise.
40770         * pwd/pwd.h [__USE_MISC]: Likewise.
40771         * stdlib.h [__USE_MISC]: Likewise.
40772         * string/bits/string2.h [__USE_MISC]: Likewise.
40773         * string/string.h [__USE_MISC]: Likewise.
40774         * time/time.h [__USE_MISC]: Likewise.
40776 2014-02-13  Andreas Schwab  <schwab@suse.de>
40778         [BZ #16574]
40779         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40780         second answer buffer if it was separately allocated.
40782 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40784         * sysdeps/mips/math-tests.h: Include <features.h>.
40785         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40786         (ROUNDING_TESTS_long_double): Do not define.
40787         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40788         (EXCEPTION_TESTS_long_double): Likewise.
40789         * sysdeps/mips/mips64/libm-test-ulps: Update.
40791         * include/features.h (__USE_BSD): Remove macro definitions.
40792         (__USE_SVID): Likewise.
40793         (_BSD_SOURCE): Likewise.
40794         (_SVID_SOURCE): Likewise.
40795         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40796         from definition of _DEFAULT_SOURCE.
40797         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40798         [_DEFAULT_SOURCE].
40799         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40800         * bits/mman.h [__USE_BSD]: Likewise.
40801         * bits/termios.h [__USE_BSD]: Likewise.
40802         * bits/waitstatus.h [__USE_BSD]: Likewise.
40803         * ctype/ctype.h [__USE_SVID]: Likewise.
40804         * dirent/dirent.h [__USE_BSD]: Likewise.
40805         * grp/grp.h [__USE_SVID]: Likewise.
40806         [__USE_BSD]: Likewise.
40807         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40808         * io/fcntl.h [__USE_BSD]: Likewise.
40809         * io/ftw.h [__USE_BSD]: Likewise.
40810         * io/sys/stat.h [__USE_BSD]: Likewise.
40811         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40812         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40813         * libio/stdio.h [__USE_SVID]: Likewise.
40814         [__USE_BSD]: Likewise.
40815         * math/math.h [__USE_SVID]: Likewise.
40816         [__USE_BSD]: Likewise.
40817         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40818         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40819         * misc/search.h [__USE_SVID]: Likewise.
40820         * misc/sys/mman.h [__USE_BSD]: Likewise.
40821         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40822         * misc/sys/uio.h [__USE_BSD]: Likewise.
40823         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40824         * posix/glob.h [__USE_BSD]: Likewise.
40825         * posix/regex.h [__USE_BSD]: Likewise.
40826         * posix/sys/types.h [__USE_BSD]: Likewise.
40827         [__USE_SVID]: Likewise.
40828         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40829         * posix/sys/wait.h [__USE_BSD]: Likewise.
40830         [__USE_SVID]: Likewise.
40831         * posix/unistd.h [__USE_BSD]: Likewise.
40832         [__USE_SVID]: Likewise.
40833         * pwd/pwd.h [__USE_SVID]: Likewise.
40834         * resolv/netdb.h [__USE_BSD]: Likewise.
40835         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40836         * signal/signal.h [__USE_BSD]: Likewise.
40837         [__USE_SVID]: Likewise.
40838         * socket/sys/socket.h [__USE_BSD]: Likewise.
40839         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40840         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40841         [__USE_SVID]: Likewise.
40842         * string/bits/string2.h [__USE_BSD]: Likewise.
40843         [__USE_SVID]: Likewise.
40844         * string/bits/string3.h [__USE_BSD]: Likewise.
40845         * string/endian.h [__USE_BSD]: Likewise.
40846         * string/string.h [__USE_SVID]: Likewise.
40847         [__USE_BSD]: Likewise.
40848         * string/strings.h [__USE_BSD]: Likewise.
40849         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40850         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40851         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40852         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40853         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40854         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40855         Likewise.
40856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40857         Likewise.
40858         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40859         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40860         Likewise.
40861         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40862         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40863         Likewise.
40864         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40865         Likewise.
40866         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40867         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40868         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40869         Likewise.
40870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40871         Likewise.
40872         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40873         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40874         * termios/termios.h [__USE_BSD]: Likewise.
40875         * time/sys/time.h [__USE_BSD]: Likewise.
40876         * time/time.h [__USE_BSD]: Likewise.
40877         [__USE_SVID]: Likewise.
40879         * Makefile (subdir_targets): Remove subdir_lint.out.
40881         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40882         (do-tst-printf): Likewise.
40883         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40884         $(objpfx)tst-printf.out.
40886         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40888         * Makerules (check-abi-%): Change target to
40889         $(objpfx)check-abi-%.out.
40890         (check-abi target): Update dependencies.
40891         (check-abi-pattern variable): Redirect output of diff to $@.
40892         (check-abi variable): Likewise.
40893         * elf/Makefile (check-abi): Update dependencies.
40895         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40896         unused.
40897         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40898         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40899         subnormal range.
40900         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40901         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40902         value has largest subnormal exponent.
40903         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40904         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40905         * sysdeps/aarch64/soft-fp/sfp-machine.h
40906         (_FP_TININESS_AFTER_ROUNDING): New macro.
40907         * sysdeps/alpha/soft-fp/sfp-machine.h
40908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40909         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40910         Likewise.
40911         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40913         * sysdeps/mips/soft-fp/sfp-machine.h
40914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40915         * sysdeps/powerpc/soft-fp/sfp-machine.h
40916         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40917         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40918         Likewise.
40919         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40920         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40921         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40922         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40923         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40924         Likewise.
40926 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40928         [BZ #16545]
40929         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40930         model 1.
40932 2014-02-12  Richard Henderson  <rth@redhat.com>
40934         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40935         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40936         * sysdeps/unix/sysv/linux/alpha: Move directory from
40937         ports/sysdeps/unix/sysv/linux/alpha.
40938         * README: Update listing for alpha-*-linux-gnu.
40940 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40942         * include/features.h: Update comment documenting feature test
40943         macros.
40944         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40945         _DEFAULT_SOURCE.
40946         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40947         (_SVID_SOURCE): Likewise.
40948         (_DEFAULT_SOURCE): Update description of default features.
40949         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40950         with _GNU_SOURCE.
40951         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40952         (S_ISVTX): Likewise.
40953         * manual/math.texi (Mathematical Constants): Likewise.
40954         * manual/signal.texi (Interrupted Primitives): Likewise.
40955         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40956         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40957         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40958         Don't refer to _SVID_SOURCE in warning text.
40960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40962         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40963         already defined.
40964         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40965         * sysdeps/mips/dl-lookup.c: Remove.
40966         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40968 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40970         [BZ #16447]
40971         * math/auto-libm-test-in: Add testcase for expl.
40972         * math/auto-libm-test-out: Regenerate.
40973         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40974         calculation of unsafe.
40975         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40977 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40979         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40980         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40981         ports/sysdeps/unix/sysv/linux/aarch64.
40982         * README: Update listing for aarch64*-*-linux-gnu.
40984 2014-02-11  Will Newton  <will.newton@linaro.org>
40986         * manual/probes.texi (Mathematical Function Probes): Use
40987         "triggered" instead of "hit".
40989         * manual/probes.texi (Internal Probes): Add documentation
40990         of setjmp, longjmp and longjmp_target probes.
40992         * include/stap-probe.h: Add comment about probe argument
40993         format.
40995         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40996         definition.  (tr_where, tr_freehook, tr_mallochook,
40997         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40999 2014-02-11  David S. Miller  <davem@davemloft.net>
41001         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41002         processing int_tests.
41004 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41006         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41007         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41008         * sysdeps/unix/sysv/linux/mips: Move directory from
41009         ports/sysdeps/unix/sysv/linux/mips.
41010         * README: Update listing for mips-*-linux-gnu and
41011         mips64-*-linux-gnu.
41013 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41015         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41016         * sysdeps/unix/sysv/linux/m68k: Move directory from
41017         ports/sysdeps/unix/sysv/linux/m68k.
41018         * README: Update listing for m68k-*-linux-gnu.
41020 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41022         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41023         * sysdeps/unix/sysv/linux/generic: Move directory from
41024         ports/sysdeps/unix/sysv/linux/generic.
41025         * sysdeps/unix/sysv/linux/tile: Move directory from
41026         ports/sysdeps/unix/sysv/linux/tile.
41027         * README: Update listing for tile*-*-linux-gnu.
41029 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41031         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41032         __builtin_expect.
41033         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41034         * catgets/open_catalog.c (__open_catalog): Likewise.
41035         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41036         * debug/confstr_chk.c: Likewise.
41037         * debug/fread_chk.c (__fread_chk): Likewise.
41038         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41039         * debug/getgroups_chk.c: Likewise.
41040         * debug/mbsnrtowcs_chk.c: Likewise.
41041         * debug/mbsrtowcs_chk.c: Likewise.
41042         * debug/mbstowcs_chk.c: Likewise.
41043         * debug/memcpy_chk.c: Likewise.
41044         * debug/memmove_chk.c: Likewise.
41045         * debug/mempcpy_chk.c: Likewise.
41046         * debug/memset_chk.c: Likewise.
41047         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41048         * debug/strcat_chk.c (__strcat_chk): Likewise.
41049         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41050         * debug/strncat_chk.c (__strncat_chk): Likewise.
41051         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41052         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41053         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41054         * debug/wcpncpy_chk.c: Likewise.
41055         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41056         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41057         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41058         * debug/wcsncpy_chk.c: Likewise.
41059         * debug/wcsnrtombs_chk.c: Likewise.
41060         * debug/wcsrtombs_chk.c: Likewise.
41061         * debug/wcstombs_chk.c: Likewise.
41062         * debug/wmemcpy_chk.c: Likewise.
41063         * debug/wmemmove_chk.c: Likewise.
41064         * debug/wmempcpy_chk.c: Likewise.
41065         * debug/wmemset_chk.c: Likewise.
41066         * dirent/scandirat.c (SCANDIRAT): Likewise.
41067         * dlfcn/dladdr1.c (dladdr1): Likewise.
41068         * dlfcn/dladdr.c (dladdr): Likewise.
41069         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41070         * dlfcn/dlerror.c (__dlerror): Likewise.
41071         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41072         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41073         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41074         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41075         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41076         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41077         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41078         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41079         Likewise.
41080         * elf/dl-conflict.c: Likewise.
41081         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41082         * elf/dl-dst.h: Likewise.
41083         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41084         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41085         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41086         * elf/dl-init.c (call_init, _dl_init): Likewise.
41087         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41088         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41089         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41090         Likewise.
41091         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41092         Likewise.
41093         * elf/dl-minimal.c (__libc_memalign): Likewise.
41094         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41095         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41096         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41097         * elf/dl-sym.c (do_sym): Likewise.
41098         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41099         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41100         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41101         * elf/dl-writev.h (_dl_writev): Likewise.
41102         * elf/ldconfig.c (search_dir): Likewise.
41103         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41104         (dl_main): Likewise.
41105         * elf/setup-vdso.h (setup_vdso): Likewise.
41106         * grp/compat-initgroups.c (compat_call): Likewise.
41107         * grp/fgetgrent.c (fgetgrent): Likewise.
41108         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41109         * grp/putgrent.c (putgrent): Likewise.
41110         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41111         Likewise.
41112         * hurd/hurdinit.c: Likewise.
41113         * iconvdata/8bit-gap.c (struct): Likewise.
41114         * iconvdata/ansi_x3.110.c : Likewise.
41115         * iconvdata/big5.c : Likewise.
41116         * iconvdata/big5hkscs.c : Likewise.
41117         * iconvdata/cp1255.c: Likewise.
41118         * iconvdata/cp1258.c : Likewise.
41119         * iconvdata/cp932.c : Likewise.
41120         * iconvdata/euc-cn.c: Likewise.
41121         * iconvdata/euc-jisx0213.c : Likewise.
41122         * iconvdata/euc-jp.c: Likewise.
41123         * iconvdata/euc-jp-ms.c : Likewise.
41124         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41125         * iconvdata/gb18030.c : Likewise.
41126         * iconvdata/gbbig5.c (const): Likewise.
41127         * iconvdata/gbgbk.c: Likewise.
41128         * iconvdata/gbk.c : Likewise.
41129         * iconvdata/ibm1364.c : Likewise.
41130         * iconvdata/ibm930.c : Likewise.
41131         * iconvdata/ibm932.c: Likewise.
41132         * iconvdata/ibm933.c : Likewise.
41133         * iconvdata/ibm935.c : Likewise.
41134         * iconvdata/ibm937.c : Likewise.
41135         * iconvdata/ibm939.c : Likewise.
41136         * iconvdata/ibm943.c: Likewise.
41137         * iconvdata/iso_11548-1.c: Likewise.
41138         * iconvdata/iso-2022-cn.c : Likewise.
41139         * iconvdata/iso-2022-cn-ext.c : Likewise.
41140         * iconvdata/iso-2022-jp-3.c: Likewise.
41141         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41142         * iconvdata/iso-2022-kr.c : Likewise.
41143         * iconvdata/iso646.c (gconv_end): Likewise.
41144         * iconvdata/iso_6937-2.c : Likewise.
41145         * iconvdata/iso_6937.c : Likewise.
41146         * iconvdata/iso8859-1.c: Likewise.
41147         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41148         * iconvdata/shift_jisx0213.c : Likewise.
41149         * iconvdata/sjis.c : Likewise.
41150         * iconvdata/t.61.c : Likewise.
41151         * iconvdata/tcvn5712-1.c : Likewise.
41152         * iconvdata/tscii.c: Likewise.
41153         * iconvdata/uhc.c : Likewise.
41154         * iconvdata/unicode.c (gconv_end): Likewise.
41155         * iconvdata/utf-16.c (gconv_end): Likewise.
41156         * iconvdata/utf-32.c (gconv_end): Likewise.
41157         * iconvdata/utf-7.c (base64): Likewise.
41158         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41159         * iconv/gconv_close.c (__gconv_close): Likewise.
41160         * iconv/gconv_open.c (__gconv_open): Likewise.
41161         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41162         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41163         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41164         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41165         (ucs4le_internal_loop_single): Likewise.
41166         * iconv/iconv.c (iconv): Likewise.
41167         * iconv/iconv_close.c: Likewise.
41168         * iconv/loop.c (SINGLE): Likewise.
41169         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41170         * include/atomic.h: Likewise.
41171         * inet/inet6_option.c (option_alloc): Likewise.
41172         * intl/bindtextdom.c (set_binding_values): Likewise.
41173         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41174         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41175         * intl/localealias.c (read_alias_file): Likewise.
41176         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41177         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41178         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41179         * libio/fmemopen.c (fmemopen): Likewise.
41180         * libio/iofgets.c (_IO_fgets): Likewise.
41181         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41182         * libio/iofgetws.c (fgetws): Likewise.
41183         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41184         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41185         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41186         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41187         * locale/findlocale.c (_nl_find_locale): Likewise.
41188         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41189         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41190         Likewise.
41191         * locale/setlocale.c (setlocale): Likewise.
41192         * login/programs/pt_chown.c (main): Likewise.
41193         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41194         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41195         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41196         (mmap, mmap64, mremap, munmap): Likewise.
41197         * math/e_exp2l.c: Likewise.
41198         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41199         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41200         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41201         * math/s_catan.c (__catan): Likewise.
41202         * math/s_catanf.c (__catanf): Likewise.
41203         * math/s_catanh.c (__catanh): Likewise.
41204         * math/s_catanhf.c (__catanhf): Likewise.
41205         * math/s_catanhl.c (__catanhl): Likewise.
41206         * math/s_catanl.c (__catanl): Likewise.
41207         * math/s_ccosh.c (__ccosh): Likewise.
41208         * math/s_ccoshf.c (__ccoshf): Likewise.
41209         * math/s_ccoshl.c (__ccoshl): Likewise.
41210         * math/s_cexp.c (__cexp): Likewise.
41211         * math/s_cexpf.c (__cexpf): Likewise.
41212         * math/s_cexpl.c (__cexpl): Likewise.
41213         * math/s_clog10.c (__clog10): Likewise.
41214         * math/s_clog10f.c (__clog10f): Likewise.
41215         * math/s_clog10l.c (__clog10l): Likewise.
41216         * math/s_clog.c (__clog): Likewise.
41217         * math/s_clogf.c (__clogf): Likewise.
41218         * math/s_clogl.c (__clogl): Likewise.
41219         * math/s_csin.c (__csin): Likewise.
41220         * math/s_csinf.c (__csinf): Likewise.
41221         * math/s_csinh.c (__csinh): Likewise.
41222         * math/s_csinhf.c (__csinhf): Likewise.
41223         * math/s_csinhl.c (__csinhl): Likewise.
41224         * math/s_csinl.c (__csinl): Likewise.
41225         * math/s_csqrt.c (__csqrt): Likewise.
41226         * math/s_csqrtf.c (__csqrtf): Likewise.
41227         * math/s_csqrtl.c (__csqrtl): Likewise.
41228         * math/s_ctan.c (__ctan): Likewise.
41229         * math/s_ctanf.c (__ctanf): Likewise.
41230         * math/s_ctanh.c (__ctanh): Likewise.
41231         * math/s_ctanhf.c (__ctanhf): Likewise.
41232         * math/s_ctanhl.c (__ctanhl): Likewise.
41233         * math/s_ctanl.c (__ctanl): Likewise.
41234         * math/w_pow.c: Likewise.
41235         * math/w_powf.c: Likewise.
41236         * math/w_powl.c: Likewise.
41237         * math/w_scalb.c (sysv_scalb): Likewise.
41238         * math/w_scalbf.c (sysv_scalbf): Likewise.
41239         * math/w_scalbl.c (sysv_scalbl): Likewise.
41240         * misc/error.c (error_tail): Likewise.
41241         * misc/pselect.c (__pselect): Likewise.
41242         * nis/nis_callback.c (__nis_create_callback): Likewise.
41243         * nis/nis_call.c (__nisfind_server): Likewise.
41244         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41245         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41246         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41247         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41248         * nis/nis_lookup.c (nis_lookup): Likewise.
41249         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41250         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41251         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41252         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41253         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41254         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41255         * nis/nss_compat/compat-initgroups.c (add_group)
41256         (internal_getgrent_r): Likewise.
41257         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41258         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41259         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41260         (internal_getspnam_r): Likewise.
41261         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41262         (_nss_nis_getaliasbyname_r): Likewise.
41263         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41264         (_nss_nis_getntohost_r): Likewise.
41265         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41266         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41267         (_nss_nis_getgrgid_r): Likewise.
41268         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41269         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41270         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41271         (_nss_nis_gethostbyname4_r): Likewise.
41272         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41273         (initgroups_netid): Likewise.
41274         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41275         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41276         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41277         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41278         (_nss_nis_getprotobynumber_r): Likewise.
41279         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41280         (_nss_nis_getsecretkey): Likewise.
41281         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41282         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41283         (_nss_nis_getpwuid_r): Likewise.
41284         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41285         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41286         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41287         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41288         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41289         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41290         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41291         Likewise.
41292         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41293         (_nss_nisplus_getntohost_r): Likewise.
41294         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41295         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41296         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41297         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41298         Likewise.
41299         * nis/nss_nisplus/nisplus-initgroups.c
41300         (_nss_nisplus_initgroups_dyn): Likewise.
41301         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41302         (_nss_nisplus_getnetbyaddr_r): Likewise.
41303         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41304         (_nss_nisplus_getprotobynumber_r): Likewise.
41305         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41306         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41307         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41308         Likewise.
41309         * nis/nss_nisplus/nisplus-service.c
41310         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41311         (_nss_nisplus_getservbyport_r): Likewise.
41312         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41313         (_nss_nisplus_getspnam_r): Likewise.
41314         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41315         Likewise.
41316         * nscd/aicache.c (addhstaiX): Likewise.
41317         * nscd/cache.c (cache_search, prune_cache): Likewise.
41318         * nscd/connections.c (register_traced_file, send_ro_fd)
41319         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41320         (main_loop_epoll): Likewise.
41321         * nscd/grpcache.c (addgrbyX): Likewise.
41322         * nscd/hstcache.c (addhstbyX): Likewise.
41323         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41324         * nscd/mem.c (gc, mempool_alloc): Likewise.
41325         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41326         (addinnetgrX): Likewise.
41327         * nscd/nscd-client.h (__nscd_acquire_maplock)
41328         (__nscd_drop_map_ref): Likewise.
41329         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41330         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41331         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41332         Likewise.
41333         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41334         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41335         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41336         (__nscd_get_map_ref): Likewise.
41337         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41338         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41339         Likewise.
41340         * nscd/pwdcache.c (addpwbyX): Likewise.
41341         * nscd/selinux.c (preserve_capabilities): Likewise.
41342         * nscd/servicescache.c (addservbyX): Likewise.
41343         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41344         * posix/fnmatch.c (fnmatch): Likewise.
41345         * posix/getopt.c (_getopt_internal_r): Likewise.
41346         * posix/glob.c (glob, glob_in_dir): Likewise.
41347         * posix/wordexp.c (exec_comm_child): Likewise.
41348         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41349         (getanswer_r, gaih_getanswer_slice): Likewise.
41350         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41351         * resolv/res_init.c: Likewise.
41352         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41353         * resolv/res_query.c (__libc_res_nquery): Likewise.
41354         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41355         Likewise.
41356         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41357         * stdio-common/perror.c (perror): Likewise.
41358         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41359         * stdio-common/tmpnam.c (tmpnam): Likewise.
41360         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41361         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41362         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41363         Likewise.
41364         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41365         * stdlib/putenv.c (putenv): Likewise.
41366         * stdlib/setenv.c (__add_to_environ): Likewise.
41367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41368         * stdlib/strtol_l.c (INTERNAL): Likewise.
41369         * string/memmem.c (memmem): Likewise.
41370         * string/strerror.c (strerror): Likewise.
41371         * string/strnlen.c (__strnlen): Likewise.
41372         * string/test-memmem.c (simple_memmem): Likewise.
41373         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41374         * sunrpc/pm_getport.c (__get_socket): Likewise.
41375         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41376         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41377         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41378         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41379         Likewise.
41380         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41382         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41383         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41384         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41385         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41386         Likewise.
41387         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41388         Likewise.
41389         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41390         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41391         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41392         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41393         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41395         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41396         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41397         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41398         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41399         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41400         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41401         Likewise.
41402         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41403         Likewise.
41404         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41405         Likewise.
41406         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41407         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41408         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41409         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41410         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41411         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41412         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41413         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41414         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41415         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41416         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41418         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41419         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41422         Likewise.
41423         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41424         Likewise.
41425         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41426         Likewise.
41427         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41428         Likewise.
41429         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41431         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41432         Likewise.
41433         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41434         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41435         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41436         * sysdeps/posix/sleep.c: Likewise.
41437         * sysdeps/posix/tempname.c: Likewise.
41438         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41439         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41440         Likewise.
41441         * sysdeps/powerpc/powerpc32/dl-machine.h
41442         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41443         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41445         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41446         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41447         Likewise.
41448         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41449         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41450         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41451         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41452         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41453         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41454         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41455         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41456         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41457         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41458         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41459         (elf_machine_lazy_rel): Likewise.
41460         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41461         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41462         (elf_machine_lazy_rel): Likewise.
41463         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41464         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41465         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41466         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41467         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41468         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41469         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41471         Likewise.
41472         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41473         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41474         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41475         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41476         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41477         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41478         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41479         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41480         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41481         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41482         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41483         Likewise.
41484         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41485         (__posix_fallocate64_l64): Likewise.
41486         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41487         (posix_fallocate): Likewise.
41488         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41489         Likewise.
41490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41491         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41492         (getifaddrs_internal): Likewise.
41493         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41494         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41495         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41497         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41498         (__posix_fallocate64_l64): Likewise.
41499         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41500         Likewise.
41501         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41502         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41503         (__get_clockfreq): Likewise.
41504         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41505         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41506         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41509         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41510         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41511         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41512         Likewise.
41513         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41514         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41515         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41516         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41517         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41518         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41519         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41520         Likewise.
41521         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41522         (posix_fallocate): Likewise.
41523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41524         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41525         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41526         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41527         (elf_machine_rela, elf_machine_rela_relative)
41528         (elf_machine_lazy_rel): Likewise.
41529         * time/asctime.c (asctime_internal): Likewise.
41530         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41531         * time/tzset.c (__tzset_parse_tz): Likewise.
41532         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41533         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41534         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41535         * wcsmbs/wcsmbsload.h: Likewise.
41537         [BZ #15894]
41538         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41540         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41541         (arena_get2): Remove THREAD_STATS conditionals.
41542         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41543         (__malloc_stats, int): Likewise.
41545 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41547         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41548         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41550         * manual/setjmp.texi: Fix typos/grammar errors.
41552         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41553         Only return early when n is <= 0.  Delete unused return statement.
41555         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41556         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41557         * debug/tst-longjmp_chk3.c: New file.
41559         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41560         (test_main): Replace code with set_fortify_handler call.
41561         * debug/test-strcpy_chk.c: Likewise.
41562         * debug/tst-chk1.c: Likewise.
41563         * debug/tst-longjmp_chk.c: Likewise.
41564         * test-skeleton.c: Include fcntl.h & paths.h
41565         (set_fortify_handler): Define.
41567         * debug/tst-longjmp_chk.c: Add header comment and include
41568         ../test-skeleton.c.
41569         (do_test): Mark static.
41570         (TEST_FUNCTION): Define.
41572         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41573         (IP_PMTUDISC_INTERFACE): Likewise.
41574         (IP_MULTICAST_IF): Likewise.
41575         (IP_MULTICAST_TTL): Likewise.
41576         (IP_MULTICAST_LOOP): Likewise.
41577         (IP_ADD_MEMBERSHIP): Likewise.
41578         (IP_DROP_MEMBERSHIP): Likewise.
41579         (IP_UNBLOCK_SOURCE): Likewise.
41580         (IP_BLOCK_SOURCE): Likewise.
41581         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41582         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41583         (IP_MSFILTER): Likewise.
41584         (MCAST_JOIN_GROUP): Likewise.
41585         (MCAST_BLOCK_SOURCE): Likewise.
41586         (MCAST_UNBLOCK_SOURCE): Likewise.
41587         (MCAST_LEAVE_GROUP): Likewise.
41588         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41589         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41590         (MCAST_MSFILTER): Likewise.
41591         (IP_MULTICAST_ALL): Likewise.
41592         (IP_UNICAST_IF): Likewise.
41594         * timezone/Makefile: Delete $(have-ksh) check.
41595         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41596         * timezone/tzselect.ksh: Add +x mode bits.
41598         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41599         (ANON_INODE_FS_MAGIC): Likewise.
41600         (BDEVFS_MAGIC): Likewise.
41601         (BINFMTFS_MAGIC): Likewise.
41602         (BTRFS_TEST_MAGIC): Likewise.
41603         (CRAMFS_MAGIC_WEND): Likewise.
41604         (DEBUGFS_MAGIC): Likewise.
41605         (ECRYPTFS_SUPER_MAGIC): Likewise.
41606         (EXT3_SUPER_MAGIC): Likewise.
41607         (EXT4_SUPER_MAGIC): Likewise.
41608         (FUTEXFS_SUPER_MAGIC): Likewise.
41609         (HOSTFS_SUPER_MAGIC): Likewise.
41610         (HUGETLBFS_MAGIC): Likewise.
41611         (MINIX3_SUPER_MAGIC): Likewise.
41612         (MTD_INODE_FS_MAGIC): Likewise.
41613         (NILFS_SUPER_MAGIC): Likewise.
41614         (OPENPROM_SUPER_MAGIC): Likewise.
41615         (PIPEFS_MAGIC): Likewise.
41616         (PSTOREFS_MAGIC): Likewise.
41617         (QNX6_SUPER_MAGIC): Likewise.
41618         (RAMFS_MAGIC): Likewise.
41619         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41620         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41621         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41622         (SECURITYFS_MAGIC): Likewise.
41623         (SELINUX_MAGIC): Likewise.
41624         (SMACK_MAGIC): Likewise.
41625         (SOCKFS_MAGIC): Likewise.
41626         (SQUASHFS_MAGIC): Likewise.
41627         (STACK_END_MAGIC): Likewise.
41628         (TMPFS_MAGIC): Likewise.
41629         (USBDEVICE_SUPER_MAGIC): Likewise.
41630         (V9FS_MAGIC): Likewise.
41631         (XENFS_SUPER_MAGIC): Likewise.
41632         (CRAMFS_MAGIC): Fix typo in comment.
41633         (EXT2_SUPER_MAGIC): Update comment.
41634         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41636 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41638         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41639         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41640         * sysdeps/unix/sysv/linux/arm: Move directory from
41641         ports/sysdeps/unix/sysv/linux/arm.
41642         * README: Update listing for arm-*-linux-gnueabi.
41644         * README: Remove mention of am33.
41646 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41648         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41649         than the comma operator, to avoid "rhs of comma has no effect"
41650         compiler warnings.
41651         (__sigfillset, __sigandset, __sigorset): Likewise.
41652         * include/signal.h (__sigemptyset): Likewise.
41653         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41655 2014-02-07  Allan McRae  <allan@archlinux.org>
41657         * version.h (RELEASE): Set to "development".
41658         (VERSION): Set to "2.19.90"
41659         * NEWS: Add 2.20 section.
41661 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41663         [BZ #16529]
41664         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41666 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41668         * manual/contrib.texi: Update entry for Carlos O'Donell,
41669         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41671 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41673         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41675         * sysdeps/unix/sysv/linux/kernel-features.h
41676         [__LINUX_KERNEL_VERSION >= 0x020621]
41677         (__ASSUME_PROC_PID_TASK_COMM): Define.
41679 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41681         [BZ #16398]
41682         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41683         conversion when destination buffer does not have enough space.
41684         * libio/tst-ftell-partial-wide.c: New test case.
41685         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41687         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41688         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41689         Leonard and Allan McRae.
41691 2014-02-04  David S. Miller  <davem@davemloft.net>
41693         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41694         32-bit.
41696 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41699         New file
41700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41701         New file
41702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41703         New file.
41704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41705         New file.
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41707         New file.
41708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41709         New file.
41710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41711         New file.
41712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41713         New file.
41714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41715         New file.
41716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41717         New file.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41719         New file.
41720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41721         New file.
41722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41723         New file.
41725 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41727         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41728         * shlib-versions: Likewise.
41730 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41733         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41734         (abilist-pattern): New variable, set to %-le.abilist.
41736         * Makerules (abilist-pattern): New variable.
41737         (vpath): Use $(abilist-pattern) in place of %.abilist.
41738         (check-abi-% pattern rule): Likewise.
41739         (check-abi, update-abi): Likewise.
41741 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41745 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41747         * manual/startup.texi: Add next, previous, and top entries for
41748         the `Program Arguments' and `Environment Variables' nodes.
41750 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41752         * manual/macros.texi: Add comments before MTASC-safety macros.
41754         * manual/users.texi: Document MTASC-safety properties.
41756         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41757         (pthread_getspecific, pthread_setspecific): Format with
41758         @deftypefun, and add @safety note.
41759         * manual/signal.texi: Move comments that analyze the above
41760         functions to their home place.
41762 2014-02-03  Allan McRae  <allan@archlinux.org>
41764         * po/sl.po: Update Slovenian translation from translation project.
41766 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41768         * manual/time.texi (timegm): Add missing blank after @c.
41769         Reported by Joseph Myers <joseph@codesourcery.com>.
41771 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41773         * manual/check-safety.sh: New.
41774         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41776         * manual/terminal.texi: Document MTASC-safety properties.
41778         * manual/filesys.texi: Document MTASC-safety properties.
41780         * manual/errno.texi: Document MTASC-safety properties.
41782         * manual/intro.texi: Document safety identifiers and
41783         conditionals.
41785         * manual/string.texi (wcstok): Fix prototype.
41786         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41788         * manual/time.texi: Document MTASC-safety properties.
41790         * manual/string.texi: Document MTASC-safety properties.
41792         * manual/threads.texi: Document MTASC-safety properties.
41794         * manual/stdio.texi: Document MTASC-safety properties.
41796         * manual/syslog.texi: Document MTASC-safety properties.
41798         * manual/sysinfo.texi: Document MTASC-safety properties.
41800         * manual/startup.texi: Document MTASC-safety properties.
41802         * manual/socket.texi: Document MTASC-safety properties.
41804         * manual/signal.texi: Document MTASC-safety properties.
41806 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41808         * manual/setjmp.texi: Document MTASC-safety properties.
41810         * manual/search.texi: Document MTASC-safety properties.
41812         * manual/resource.texi: Document MTASC-safety properties.
41814         * manual/process.texi: Document MTASC-safety properties.
41816         * manual/platform.texi: Document MTASC-safety properties.
41818         * manual/pipe.texi: Document MTASC-safety properties.
41820         * manual/pattern.texi: Document MTASC-safety properties.
41822         * manual/message.texi: Document MTASC-safety properties.
41824         [BZ #12751]
41825         * manual/memory.texi: Document MTASC-safety properties.
41827         * manual/math.texi: Document MTASC-safety properties.
41829         * manual/locale.texi: Document MTASC-safety properties.
41831         * manual/llio.texi: Document MTASC-safety properties.
41833         * manual/libdl.texi: New.
41835         * manual/lang.texi: Document MTASC-safety properties.
41837         * manual/job.texi: Document MTASC-safety properties.
41839         * manual/getopt.texi: Document MTASC-safety properties.
41841         * manual/ctype.texi: Document MTASC-safety properties.
41843 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41845         [BZ #16046]
41846         * csu/libc-tls.c (static_map): Remove variable.
41847         (__libc_setup_tls): Use main executable's link map for TLS data.
41848         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41849         casing for LM_ID_BASE and GL(dl_nns).
41850         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41851         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41852         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41853         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41854         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41855         member.
41856         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41857         l_phnum members.
41859 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41861         * manual/debug.texi: Document MTASC-safety properties.
41863 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41865         [BZ #16510]
41866         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41867         of __x86_64__ when disabling x87 inline functions.
41869 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41871         * manual/charset.texi: Document MTASC-safety properties.
41873         * manual/crypt.texi: Document MTASC-safety properties.
41875         * manual/conf.texi: Document MTASC-safety properties.
41877         * manual/arith.texi: Document MTASC-safety properties.
41879         * manual/argp.texi: Document MTASC-safety properties.
41881         * manual/macros.texi: Introduce macros to document multi
41882         thread, asynchronous signal and asynchronous cancellation
41883         safety properties.
41884         * manual/intro.texi: Introduce the properties themselves.
41886 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41888         * sysdeps/sh/sh4/Makefile: New file.
41890 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41892         * math/gen-libm-test.pl ($srcdir): New variable.
41893         ($auto_input): Use it.
41895 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41897         [BZ #16506]
41898         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41899         access beyond array bounds when parsing netgroups file.
41901         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41902         the old buffer before realloc.
41904 2014-01-27  Allan McRae  <allan@archlinux.org>
41906         * po/fr.po: Update French translation from translation project.
41908 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41910         * sysdeps/sh/libm-test-ulps: Regenerate.
41912 2014-01-24  David S. Miller  <davem@davemloft.net>
41914         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41916 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41918         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41919         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41921 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41923         [BZ #16474]
41924         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41925         string pointers after reallocation.
41927 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41929         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41930         __SH4A__ instead of __SH_FPU_ANY__.
41932 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41934         * sysdeps/sh/fpu_control.h: New file.
41935         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41936         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41937         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41938         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41939         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41940         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41941         * sysdeps/sh/sys/ucontext.h: Remove.
41942         * sysdeps/sh/sys: Remove directory.
41944 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41946         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41947         s390/sys/ucontext.h.
41948         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41949         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41951 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41953         [BZ #15605]
41954         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41956 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41958         [BZ#16431]
41959         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41960         Adjust the vDSO correctly for internal calls.
41961         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41963 2014-01-20  Allan McRae  <allan@archlinux.org>
41965         * po/ca.po: Update Catalan translation from translation project.
41967 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41969         * sysdeps/s390/sotruss-lib.c: New file.
41971 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41973         [BZ#16430]
41974         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41975         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41976         local calls issues by not having a PLT stub required for IFUNC calls.
41977         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41979 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41981         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41982         * math/test-fpucw-static.c: Likewise.
41984 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41986         [BZ #16453]
41987         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41989 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41991         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41992         implementation for powerpc.
41994 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41996         [BZ #14782]
41997         * sysdeps/posix/system.c (__libc_system): Do not enable
41998         asynchronous cancellation.
42000 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42002         [BZ #16427]
42003         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42004         handling only for numbers special also in the IEEE case.
42006 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42010 2014-01-11  Allan McRae  <allan@archlinux.org>
42012         * po/bg.po: Update Bulgarian translation from translation project.
42014         * po/de.po: Update German translation from translation project.
42016 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42018         * sysdeps/generic/gcc-compat.h: New file.
42020 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42022         * benchtests/asin-inputs: Correct slow inputs.
42023         * benchtests/acos-inputs: Likewise.
42025 2014-01-10  Allan McRae  <allan@archlinux.org>
42027         * po:sv.po: Update Swedish translation from translation project.
42029         * po/vi.po: Update Vietnamese translation from translation project.
42031         * po/eo.po: Update Esperanto translation from translation project.
42033         * po/cs.po: Update Czech translation from translation project.
42035         * po/nl.po: Update Dutch translation from translation project.
42037         * po/pl.po: Update Polish translation from translation project.
42039         * po/ru.po: Update Russian translation from translation project.
42041         * po/uk.po: Update Ukrainian translation from translation project.
42043 2014-01-08  Brooks Moses  <bmoses@google.com>
42045         * elf/dl-load.c: Fix comment typo.
42047 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42049         * po/header.pot: Rename to...
42050         * po/pot.header: ... this.
42051         * po/Makefile: Use pot.header.
42053 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42054             Maxim Kuvyrkov  <maxim@kugelworks.com>
42056         [BZ #16394]
42057         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42058         SRC and DEST against LEN.
42060 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42062         [BZ #16414]
42063         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42064         implementation.
42065         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42067 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42071 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42073         [BZ #16408]
42074         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42075         for large positive arguments.
42077 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42079         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42081         * math/auto-libm-test-in: Mark various tests with
42082         xfail-rounding:ldbl-128ibm.
42083         * math/auto-libm-test-out: Regenerated.
42085         [BZ #16407]
42086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42087         Increase overflow threshold.
42089 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42091         [BZ #14286]
42092         * stdio-common/vfprintf.c: Check for integer overflow.
42094 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42096         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42097         the first argument and return value of __tls_get_addr_internal.
42099 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42101         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42102         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42104 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42106         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42107         * sysdeps/s390/rtld-global-offsets.sym: New file.
42108         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42109         GLIBC_2.19 symbol.
42110         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42112         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42113         ... this.
42114         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42116         ... this.
42117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42118         Regenerate.
42119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42120         Regenerate.
42121         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42122         halfs of GPRs for high_gprs contexts.
42123         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42124         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42125         field.
42126         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42127         uc_flags field.
42128         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42129         64 bit versions:
42130         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42131         for high GPRs (uc_high_gprs) and for future extensions
42132         (__reserved).
42133         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42134         for future extensions (__reserved).
42135         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42136         64 bit versions:
42137         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42138         SC_HIGHGPRS offset definition.
42139         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42140         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42142         * Versions.def: Add GLIBC_2.19 for libpthread.
42143         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42144         siglongjmp for libpthread with GLIBC_2.19 symver.
42145         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42146         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42147         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42148         * sysdeps/s390/__longjmp.c: New file.
42149         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42150         * sysdeps/s390/longjmp.c: New file.
42151         * sysdeps/s390/setjmp.S: New file.
42152         * sysdeps/s390/sigjmp.S: New file.
42153         * sysdeps/s390/v1-longjmp.c: New file.
42154         * sysdeps/s390/v1-setjmp.h: New file.
42155         * sysdeps/s390/v1-sigjmp.c: New file.
42156         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42157         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42158         GLIBC_2.19 version.
42159         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42160         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42161         versioned symbols for ____longjmp_chk.
42162         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42163         Likewise.
42164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42165         Regenerate.
42166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42167         Regenerate.
42168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42169         Regenerate.
42170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42171         Regenerate.
42172         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42173         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42174         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42175         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42176         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42177         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42178         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42179         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42180         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42181         * sysdeps/s390/rtld-__longjmp.c: New file.
42182         * sysdeps/s390/rtld-setjmp.S: New file.
42184 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42186         [BZ #16400]
42187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42188         Return -__logl (x) for small positive arguments without evaluating
42189         a polynomial.
42191 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42193         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42194         Rename to ...
42195         (__ptrace_peeksiginfo_args): ... this.
42196         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42200 2014-01-06  Allan McRae  <allan@archlinux.org>
42202         * inet/netinet/in.h: Fix typo in comment.
42204 2014-01-05  Andreas Jaeger  <aj@suse.de>
42206         * sysdeps/i386/fpu/libm-test-ulps: Update.
42208 2014-01-05  Allan McRae  <allan@archlinux.org>
42210         * po/libc.pot: Regenerated.
42212         * malloc/memusagestat.c: Fix gettext call formatting.
42214 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42216         * nscd/nscd.c: Improve usage() output.
42218 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42220         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42221         * sysdeps/unix/sysv/linux/configure: Regenerated.
42222         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42223         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42225 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42227         [BZ #16390]
42228         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42229         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42231 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42234         extra tokens at end of #undef directive.
42235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42236         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42237         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42239 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42241         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42243         * math/auto-libm-test-in: Mark various tests with
42244         xfail-rounding:ldbl-128ibm.
42245         * math/auto-libm-test-out: Regenerated.
42247 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42249         [BZ #16386]
42250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42251         numbers with subnormal high part when calculating exponent.
42253         [BZ #16385]
42254         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42255         fabs.
42257         [BZ #16384]
42258         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42259         M_LN2l.
42260         (__ieee754_acoshl): Use __log1pl not __log1p.
42262 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42264         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42265         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42266         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42267         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42268         (reused_arena, arena_get2): Convert to GNU style.
42269         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42270         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42271         (memalign_check, __malloc_set_state): Likewise.
42272         * malloc/mallocbug.c (main): Likewise.
42273         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42274         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42275         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42276         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42277         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42278         (__posix_memalign, malloc_info): Likewise.
42279         * malloc/malloc.h: Likewise.
42280         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42281         (mallochook, memalignhook, reallochook, mabort): Likewise.
42282         * malloc/mcheck.h: Likewise.
42283         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42284         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42285         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42286         * malloc/morecore.c (__default_morecore): Likewise.
42287         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42288         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42289         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42290         (print_and_abort): Likewise.
42291         * malloc/obstack.h: Likewise.
42292         * malloc/set-freeres.c (__libc_freeres): Likewise.
42293         * malloc/tst-mallocstate.c (main): Likewise.
42294         * malloc/tst-mtrace.c (main): Likewise.
42295         * malloc/tst-realloc.c (do_test): Likewise.
42297 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42299         [BZ #16366]
42300         * nscd/netgroupcache.c (do_notfound): New function.
42301         (addgetnetgrentX): Use it.
42303         [BZ # 16365]
42304         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42305         NSS_STATUS_NOTFOUND.
42307 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42309         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42312 2014-01-01  Allan McRae  <allan@archlinux.org>
42314         * scripts/update-copyrights: Update configure input file suffix.
42316         * NEWS: Update copyright year.
42317         * catgets/gencat.c: Likewise.
42318         * csu/version.c: Likewise.
42319         * debug/catchsegv.sh: Likewise.
42320         * debug/pcprofiledump.c: Likewise.
42321         * debug/xtrace.sh: Likewise.
42322         * elf/ldconfig.c: Likewise.
42323         * elf/ldd.bash.in: Likewise.
42324         * elf/pldd.c: Likewise.
42325         * elf/sotruss.ksh: Likewise.
42326         * elf/sprof.c: Likewise.
42327         * iconv/iconv_prog.c: Likewise.
42328         * iconv/iconvconfig.c: Likewise.
42329         * locale/programs/locale.c: Likewise.
42330         * locale/programs/localedef.c: Likewise.
42331         * login/programs/pt_chown.c: Likewise.
42332         * malloc/memusage.sh: Likewise.
42333         * malloc/memusagestat.c: Likewise.
42334         * malloc/mtrace.pl: Likewise.
42335         * manual/libc.texinfo: Likewise.
42336         * nscd/nscd.c: Likewise.
42337         * nss/getent.c: Likewise.
42338         * nss/makedb.c: Likewise.
42339         * posix/getconf.c: Likewise.
42340         * scripts/test-installation.pl: Likewise.
42342         * All files with FSF copyright notices: Update copyright dates
42343         using scripts/update-copyrights.
42344         * intl/plural.c: Regenerated.
42345         * locale/programs/charmap-kw.h: Likewise.
42346         * locale/programs/locfile-kw.h: Likewise.
42348 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42350         * sysdeps/unix/sysv/linux/configure: Regenerated.
42351         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42352         the linux/fanotify.h header.
42353         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42354         HAVE_LINUX_FANOTIFY_H is defined.
42356 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42358         * benchtests/cos-inputs: New inputs.
42359         * benchtests/sin-inputs: Likewise.
42361         * benchtests/atan-inputs: New inputs. Fix name of multiple
42362         precision fallback inputs.
42364         * benchtests/atanh-inputs: New inputs.
42365         * benchtests/tanh-inputs: Likewise.
42367         * benchtests/acosh-inputs: New inputs.
42368         * benchtests/asinh-inputs: Likewise.
42370         * benchtests/cosh-inputs: New inputs.
42371         * benchtests/sinh-inputs: Likewise.
42373         * benchtests/acos-inputs: Add more inputs.
42374         * benchtests/asin-inputs: Likewise.
42376 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42378         [BZ #16375]
42379         * manual/arith.texi: Fix spelling.
42380         * manual/charset.texi: Likewise.
42381         * manual/errno.texi: Likewise.
42382         * manual/filesys.texi: Likewise.
42383         * manual/lang.texi: Likewise.
42384         * manual/llio.texi: Likewise.
42385         * manual/locale.texi: Likewise.
42386         * manual/message.texi: Likewise.
42387         * manual/resource.texi: Likewise.
42388         * manual/search.texi: Likewise.
42389         * manual/setjmp.texi: Likewise.
42390         * manual/stdio.texi: Likewise.
42391         * manual/string.texi: Likewise.
42392         * manual/sysinfo.texi: Likewise.
42393         * manual/time.texi: Likewise.
42395 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42397         * po/sl.po: New file.
42399 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42401         * .gitignore: Add core/.gdbinit/.gdb_history.
42403 2013-12-27  Allan McRae  <allan@archlinux.org>
42405         [BZ #16369]
42406         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42407         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42409 2013-12-24  Brooks Moses  <bmoses@google.com>
42411         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42412         all compilers that claim C++98 compliance, not just GCC.
42413         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42414         Likewise.
42416 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42418         * NEWS: Restore accidentally deleted bug-fix entries.
42420 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42421             Ondřej Bílka  <neleai@seznam.cz>
42423         [BZ #15073]
42424         * malloc/malloc.c (_int_free): Perform sanity check only if we
42425         have_lock.
42427 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42429         [BZ #12986]
42430         * manual/stdio.texi (String Input Conversions): Clarify that character
42431         classes are not supported.
42433 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42437 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42439         [BZ #16337]
42440         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42441         Calculate results for small negative arguments directly rather
42442         than using reflection formula with special underflow handling.
42444         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42445         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42446         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42447         (fchflags): Likewise.
42448         (revoke): Likewise.
42449         (setlogin): Likewise.
42450         (sigaltstack): Likewise.
42451         (wait4): Likewise.
42452         (sigblock): Remove.
42453         (sigsetmask): Likewise.
42454         (wait3): Likewise.
42455         (waitpid): Likewise.
42456         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42457         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42458         file.
42459         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42460         * sysdeps/unix/bsd/Makefile: ... here.
42461         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42462         * sysdeps/unix/bsd/Versions: ... here.
42463         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42464         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42465         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42466         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42467         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42468         * sysdeps/unix/bsd/sigblock.c: ... here.
42469         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42470         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42471         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42472         * sysdeps/unix/bsd/sigvec.c: ... here.
42473         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42474         * sysdeps/unix/bsd/tcdrain.c: ... here.
42475         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42476         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42477         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42478         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42479         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42480         * sysdeps/unix/bsd/wait.c: ... here.
42481         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42482         * sysdeps/unix/bsd/wait3.c: ... here.
42483         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42484         * sysdeps/unix/bsd/waitpid.c: ... here.
42486 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42488         [BZ #16356]
42489         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42490         round-to-nearest for [!USE_AS_EXPM1L].
42491         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42492         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42493         more tests of exp and exp10.  Expect some exp10 tests to miss
42494         exceptions or fail in directed rounding modes.
42495         * math/auto-libm-test-out: Regenerated.
42496         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42497         (exp10_test_tonearest): New function.
42498         (exp10_towardzero_test_data): New array.
42499         (exp10_test_towardzero): New function.
42500         (exp10_downward_test_data): New array.
42501         (exp10_test_downward): New function.
42502         (exp10_upward_test_data): New array.
42503         (exp10_test_upward): New function.
42504         (main): Call the new functions.
42505         * sysdeps/i386/fpu/libm-test-ulps: Update.
42506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42508 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42510         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42511         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42512         * math/auto-libm-test-out: Regenerated.
42513         * math/libm-test.inc (acosh_test_data): Add more tests.
42514         (atanh_test_data): Likewise.
42515         (ceil_test_data): Likewise.
42516         (copysign_test_data): Likewise.
42517         * sysdeps/i386/fpu/libm-test-ulps: Update.
42518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42520         * timezone/checktab.awk: Update from tzcode 2013i.
42521         * timezone/private.h: Likewise.
42522         * timezone/scheck.c: Likewise.
42523         * timezone/tzfile.h: Likewise.
42524         * timezone/tzselect.ksh: Likewise.
42525         * timezone/zdump.c: Likewise.
42526         * timezone/zic.c: Likewise.
42528         * math/auto-libm-test-in: Add tests of cpow.
42529         * math/auto-libm-test-out: Regenerated.
42530         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42531         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42532         mpc_cc_c.
42533         (func_calc_desc): Add mpc_cc_c union field.
42534         (test_functions): Add cpow.
42535         (special_fill_2pi): New function.
42536         (special_real_inputs): Add 2pi.
42537         (calc_generic_results): Handle mpc_cc_c.
42538         * sysdeps/i386/fpu/libm-test-ulps: Update.
42539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42541         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42542         csqrt, ctan and ctanh.
42543         * math/auto-libm-test-out: Regenerated.
42544         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42545         (TEST_COND_x86): Likewise.
42546         (ccos_test_data): Use AUTO_TESTS_c_c.
42547         (ccosh_test_data): Likewise.
42548         (cexp_test_data): Likewise.
42549         (clog_test_data): Likewise.
42550         (csqrt_test_data): Likewise.
42551         (ctan_test_data): Likewise.
42552         (ctan_tonearest_test_data): Likewise.
42553         (ctan_towardzero_test_data): Likewise.
42554         (ctan_downward_test_data): Likewise.
42555         (ctan_upward_test_data): Likewise.
42556         (ctanh_test_data): Likewise.
42557         (ctanh_tonearest_test_data): Likewise.
42558         (ctanh_towardzero_test_data): Likewise.
42559         (ctanh_downward_test_data): Likewise.
42560         (ctanh_upward_test_data): Likewise.
42561         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42562         mpc_c_c.
42563         (func_calc_desc): Add mpc_c_c union field.
42564         (FUNC_mpc_c_c): New macro.
42565         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42566         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42567         ctanh.
42568         (special_fill_min_subnorm_p120): New function.
42569         (special_real_inputs): Add min_subnorm_p120.
42570         (calc_generic_results): Handle mpc_c_c.
42571         * sysdeps/i386/fpu/libm-test-ulps: Update.
42572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42574 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42576         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42577         (do_sin_slow): New functions.
42578         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42579         (cslow2, csloww1, csloww2): Use the new functions.
42581         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42582         Use M to change sign of result instead of X.  Assume X is
42583         positive.
42584         (csloww1): Likewise.
42585         (__sin): Adjust.
42586         (__cos): Adjust.
42588         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42589         arguments A and DA.
42590         (__sin): Adjust.
42591         (__cos): Likewise.
42593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42594         (__cos): Likewise.
42595         (sloww1): Don't adjust sign of DX.
42596         (csloww1): Likewise.
42597         (sloww2): Use X directly and don't adjust sign of DX.
42598         (csloww2): Likewise.
42600 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42602         * math/auto-libm-test-in: Add tests of cabs and carg.
42603         * math/auto-libm-test-out: Regenerated.
42604         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42605         (carg_test_data): Likewise.
42606         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42607         mpc_c_f.
42608         (func_calc_desc): Add mpc_c_f union field.
42609         (test_functions): Add cabs and carg.
42610         (calc_generic_results): Handle mpc_c_f.
42612         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42613         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42614         as a macro and a compat symbol.
42615         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42616         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42617         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42618         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42619         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42621         not use .hidden.
42622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42623         Likewise.
42624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42625         Likewise.
42626         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42627         Likewise.
42628         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42629         Likewise.
42630         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42631         Likewise.
42632         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42633         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42634         from GLIBC_2.3.2.
42636 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42640 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42642         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42643         trailing whitespace removed.
42644         * scripts/config.guess: Update to version 2013-11-29.
42645         * scripts/config.sub: Update to version 2013-10-01.
42647         * math/auto-libm-test-in: Add tests of sincos.
42648         * math/auto-libm-test-out: Regenerated.
42649         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42651         mpfr_f_11.
42652         (func_calc_desc): Add mpfr_f_11 union field.
42653         (test_functions): Add sincos.
42654         (calc_generic_results): Handle mpfr_f_11.
42655         * sysdeps/i386/fpu/libm-test-ulps: Update.
42656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658 2013-12-19  Andreas Schwab  <schwab@suse.de>
42660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42661         CALL_MCOUNT.
42662         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42663         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42664         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42666 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42668         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42669         * sysdeps/i386/fpu/libm-test-ulps: Update.
42670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42672         [BZ #16293]
42673         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42674         round-to-nearest mode when using frndint.
42675         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42676         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42677         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42678         Likewise.
42679         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42680         sinh test to fail.
42681         * math/auto-libm-test-out: Regenerated.
42682         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42683         (TEST_COND_x86): Likewise.
42684         (expm1_tonearest_test_data): New array.
42685         (expm1_test_tonearest): New function.
42686         (expm1_towardzero_test_data): New array.
42687         (expm1_test_towardzero): New function.
42688         (expm1_downward_test_data): New array.
42689         (expm1_test_downward): New function.
42690         (expm1_upward_test_data): New array.
42691         (expm1_test_upward): New function.
42692         (main): Run the new test functions.
42693         * sysdeps/i386/fpu/libm-test-ulps: Update.
42694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42696         * include/features.h: Update comment documenting feature test
42697         macros.  Mention _DEFAULT_SOURCE in comment.
42698         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42699         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42700         _BSD_SOURCE and _SVID_SOURCE.
42701         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42702         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42703         !_SVID_SOURCE]: Likewise.
42704         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42705         (__USE_POSIX_IMPLICITLY): Define.
42706         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42707         (_POSIX_SOURCE): Undefine and redefine.
42708         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42709         (_POSIX_C_SOURCE): Likewise.
42710         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42711         (Feature Test Macros): Update documentation of default features.
42713 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42715         * benchtests/Makefile: Add bench-strtok.
42716         * benchtests/bench-strtok.c: New file: strtok benchtest.
42718 2013-12-19  Allan McRae  <allan@archlinux.org>
42720         * manual/install.texi: Suppress menu for plain text output.
42721         * INSTALL: Regenerated.
42723 2013-12-18  Brooks Moses  <bmoses@google.com>
42725         [BZ #15846]
42726         * misc/getauxval.c: Include errno.h.
42727         (__getauxval): Set errno to ENOENT if the requested type is not
42728         found.
42729         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42730         don't declare with __attribute_const__.
42731         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42732         * manual/startup.texi: Document that getauxval sets errno.
42734 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42736         * math/auto-libm-test-in: Add tests of jn and yn.
42737         * math/auto-libm-test-out: Regenerated.
42738         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42739         (yn_test_data): Likewise.
42740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42741         mpfr_if_f.
42742         (func_calc_desc): Add mpfr_if_f union field.
42743         (FUNC_mpfr_if_f): New macro.
42744         (test_functions): Add jn and yn.
42745         (calc_generic_results): Assert type of second input for
42746         mpfr_ff_f.  Handle mpfr_if_f.
42747         (output_for_one_input_case): Disable all checking for arguments
42748         fitting floating-point types in case of an integer argument.
42749         * sysdeps/i386/fpu/libm-test-ulps: Update.
42750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42753         Don't expect fegetround reference in libm.so.
42755 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42757         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42758         $(config-cflags-nofma).
42760 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42762         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42763         * math/auto-libm-test-out: Regenerated.
42765         [BZ #16338]
42766         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42767         to determine exponent and adjust argument to have exponent of -1.
42768         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42769         log2.
42770         * math/auto-libm-test-out: Regenerated.
42771         * sysdeps/i386/fpu/libm-test-ulps: Update.
42772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42774 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42776         * manual/probes.texi: Remove cases when per-thread arenas are
42777         disabled.
42779 2013-12-18  Andreas Schwab  <schwab@suse.de>
42781         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42782         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42783         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42784         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42785         * sysdeps/i386/i686/multiarch/Makefile: Update.
42786         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42788 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42790         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42791         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42793 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42795         [BZ #15968]
42796         Support TZ transition times < 00:00:00.
42797         This is needed for version-3 tz-format files; it supports time
42798         stamps past 2037 for America/Godthab (the only entry in the tz
42799         database for which this change is relevant).
42800         * manual/time.texi (TZ Variable): Document transition times
42801         from -167:59:59 through -00:00:01.
42802         * time/tzset.c (tz_rule): Time of day is now signed.
42803         (__tzset_parse_tz): Parse negative time of day.
42805         Document TZ transition times >= 25:00:00.
42806         * manual/time.texi (TZ Variable): Document transition times from
42807         25:00:00 through 167:59:59.  These are already supported, and this
42808         support will help with version-3 tz-format files.
42810         * manual/time.texi (TZ Variable): Modernize North America example
42811         to reflect current (i.e., 2007-and-later) daylight saving rules.
42813         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42815 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42817         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42818         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42821         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42822         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42823         * sysdeps/unix/bsd/clock.c: Likewise.
42824         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42825         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42826         * sysdeps/unix/bsd/init-posix.c: Likewise.
42827         * sysdeps/unix/bsd/poll.c: Likewise.
42828         * sysdeps/unix/bsd/ptsname.c: Likewise.
42829         * sysdeps/unix/bsd/seekdir.c: Likewise.
42830         * sysdeps/unix/bsd/setegid.c: Likewise.
42831         * sysdeps/unix/bsd/seteuid.c: Likewise.
42832         * sysdeps/unix/bsd/setgid.c: Likewise.
42833         * sysdeps/unix/bsd/setrgid.c: Likewise.
42834         * sysdeps/unix/bsd/setruid.c: Likewise.
42835         * sysdeps/unix/bsd/setsid.c: Likewise.
42836         * sysdeps/unix/bsd/setuid.c: Likewise.
42837         * sysdeps/unix/bsd/sigaction.c: Likewise.
42838         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42839         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42840         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42841         * sysdeps/unix/bsd/telldir.c: Likewise.
42842         * sysdeps/unix/bsd/times.c: Likewise.
42843         * sysdeps/unix/bsd/usleep.c: Likewise.
42845         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42846         ($(objpfx)libbsd-compat.a): Remove rule.
42848         * include/features.h (__FAVOR_BSD): Do not define.
42849         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42850         features conflicting with POSIX.
42851         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42852         (_BSD_SOURCE): Remove description of not being a subset of other
42853         feature test macros.
42854         * manual/job.texi (getpgrp): Do not document BSD version.
42855         (getpgid): Do not document by reference to BSD getpgrp.
42856         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42857         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42858         * signal/signal.h [__FAVOR_BSD]: Likewise.
42859         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42860         instead of making contents conditional on [__FAVOR_BSD].
42861         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42863 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42867 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42869         [BZ #16314]
42870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42871         values below 2**-450, not 2**-500.
42872         * math/auto-libm-test-in: Don't allow spurious underflow from
42873         hypot.
42874         * math/auto-libm-test-out: Regenerated.
42876         [BZ #16316]
42877         [BZ #16330]
42878         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42879         values of ha and hb and sort them after adjusting subnormal
42880         arguments.
42881         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42882         Likewise.
42883         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42884         values of ea and eb and sort them after adjusting subnormal
42885         arguments.
42886         * math/auto-libm-test-in: Do not expect some hypot tests of
42887         subnormals to fail.  Add more hypot tests.
42888         * math/auto-libm-test-out: Regenerated.
42890 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42892         [BZ #13304]
42893         * sysdeps/sh/s_fma.c: New file.
42894         * sysdeps/sh/s_fmaf.c: New file.
42895         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42896         version.
42897         * sysdeps/sh/Implies: Add sh/soft-fp.
42899 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42901         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42902         level of indirection to members `objname', `errstring', `malloced'.
42903         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42904         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42905         it as the __longjmp argument (just pass 1 instead).
42906         (_dl_catch_error): Initialize C with argument pointers and address of
42907         volatile local ERRCODE rather than copying values out of C at return.
42909 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42911         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42912         * math/auto-libm-test-out: Regenerated.
42913         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42914         (hypot_test_data): Likewise.
42915         (pow_test_data): Likewise.
42916         (pow_tonearest_test_data): Likewise.
42917         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42918         mpfr_ff_f.
42919         (func_calc_desc): Add mpfr_ff_f union field.
42920         (FUNC_mpfr_ff_f): New macro.
42921         (test_functions): Add atan2, hypot and pow.
42922         (special_fill_min): New function.
42923         (special_fill_minus_min): Likewise.
42924         (special_fill_min_subnorm): Likewise.
42925         (special_fill_minus_min_subnorm): Likewise.
42926         (special_real_inputs): Add min, -min, min_subnorm and
42927         -min_subnorm.
42928         (calc_generic_results): Handle mpfr_ff_f.
42929         * sysdeps/i386/fpu/libm-test-ulps: Update.
42930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42932 2013-12-16  Will Newton  <will.newton@linaro.org>
42934         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42935         (Aligned Memory Blocks): Add documentation for aligned_alloc
42936         and suggest it as an alternative to posix_memalign.
42937         (Hooks for Malloc): Document __memalign_hook is also called
42938         for aligned_alloc.  (Summary of Malloc): Add summary for
42939         aligned alloc.  Document __memalign_hook is also called
42940         for aligned_alloc.
42942 2013-12-16  Will Newton  <will.newton@linaro.org>
42944         * manual/memory.texi (Malloc Examples): Clarify default
42945         alignment documentation.  Suggest posix_memalign rather
42946         than memalign or valloc.
42947         (Aligned Memory Blocks): Remove suggestion to use memalign
42948         or valloc.  Remove obsolete comment about BSD.
42949         Document memalign errno values and mark the function obsolete.
42950         Document posix_memalign returned error codes.  Mark valloc
42951         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42952         called for posix_memalign and valloc.
42953         (Summary of Malloc): Add posix_memalign to function summary.
42954         __memalign_hook is also called for posix_memalign and valloc.
42956 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42958         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42959         TAYLOR_SIN.
42960         (__sin): Adjust.
42961         (__cos): Likewise.
42962         (sloww): Use mynumber union.  Expand ternary operator into
42963         if-else statements.
42964         (cslow): use mynumber union.
42966 2013-12-16  Allan McRae  <allan@archlinux.org>
42968         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42969         * configure: Regenerated.
42971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42973         [BZ #14120]
42974         * configure.ac: Added --enable-maintainer-mode. Check for
42975         autoconf when enabled.
42976         * configure: Regenerated.
42978         * nscd/nscd.service: New file.
42979         * nscd/nscd.tmpfiles: New file.
42981 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42983         [BZ #12100]
42984         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42985         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42986         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42987         (strstr): Add __strstr_sse2_unaligned ifunc.
42988         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42989         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42990         (strcasestr): Remove __strcasestr_sse42 ifunc.
42991         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42995 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42997         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42998         * sysdeps/sh/bits/fenv.h: ... here.
42999         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43001 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43003         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43006         hypotf multiarch implementations.
43007         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43009         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43010         multiarch hypot for PPC64.
43011         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43012         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43014         multiarch hypotf for PPC64.
43016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43017         modff multiarch implementations.
43018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43021         multiarch modf for PPC64.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43025         multiarch modff for PPC64.
43027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43028         and logl multiarch implementations.
43029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43032         multiarch logb for PPC64.
43033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43036         multiarch logb for PPC64.
43037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43040         multiarch logb for PPC64.
43042         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43043         isinff multiarch implementation.
43044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43045         file.
43046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43048         multiarch isinf for PPC64.
43049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43050         file.
43051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43052         multiarch isinff for PPC64.
43054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43055         finitef multiarch implementation.
43056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43057         file.
43058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43060         multiarch finite for PPC64.
43061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43062         file.
43063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43064         multiarch finitef for PPC64.
43066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43067         lrint multiarch implementation.
43068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43069         file.
43070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43072         multiarch llrint for PPC64.
43073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43074         multiarch lrint for PPC64.
43076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43077         copysignf multiarch implementation.
43078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43079         file.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43081         file.
43082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43083         multiarch copysign for PPC64.
43084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43085         multiarch copysignf for PPC64.
43087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43088         multiarch implementation.
43089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43090         file.
43091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43092         file.
43093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43094         file.
43095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43096         file.
43097         multiarch llround for PPC64.
43098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43099         multiarch trunc for PPC64.
43100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43101         multiarch truncf for PPC64.
43103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43104         multiarch implementation.
43105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43106         file.
43107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43108         file.
43109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43110         file.
43111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43112         file.
43113         multiarch llround for PPC64.
43114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43115         multiarch round for PPC64.
43116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43117         multiarch roundf for PPC64.
43119         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43120         multiarch implementation.
43121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43122         file.
43123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43124         file.
43125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43126         file.
43127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43128         file.
43129         multiarch llround for PPC64.
43130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43131         multiarch floor for PPC64.
43132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43133         multiarch floorf for PPC64.
43135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43136         multiarch implementation.
43137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43138         file.
43139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43140         file.
43141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43142         file.
43143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43144         file.
43145         multiarch llround for PPC64.
43146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43147         multiarch ceil for PPC64.
43148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43149         multiarch ceilf for PPC64.
43151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43152         multiarch implementation.
43153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43154         file.
43155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43156         file.
43157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43158         file.
43159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43160         multiarch llround for PPC64.
43161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43162         multiarch lround for PPC64.
43164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43165         multiarch implementation.
43166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43169         file.
43170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43173         multiarch isnan for PPC64.
43174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43175         multiarch isnanf for PPC64.
43177         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43178         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43179         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43180         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43181         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43184         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43185         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43186         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43187         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43190         multiarch implementations.
43191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43192         (__libc_ifunc_impl_list): Likewise.
43193         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43196         multiarch stpcpy for PPC64.
43198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43199         multiarch implementations.
43200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43201         (__libc_ifunc_impl_list): Likewise.
43202         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43203         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43204         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43205         multiarch strcpy for PPC64.
43207         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43208         redefine function name.
43209         (_wordcopy_fwd_dest_aligned): Likewise.
43210         (_wordcopy_bwd_aligned): Likewise.
43211         (_wordcopy_bwd_dest_aligned): Likewise.
43212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43213         multiarch implementations.
43214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43215         (__libc_ifunc_impl_list): Likewise.
43216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43217         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43220         multiarch wcscpy for PPC64.
43222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43223         multiarch implementations.
43224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43225         (__libc_ifunc_impl_list): Likewise.
43226         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43227         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43228         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43230         multiarch wcscpy for PPC64.
43232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43233         multiarch implementations.
43234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43235         (__libc_ifunc_impl_list): Likewise.
43236         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43237         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43238         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43239         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43240         multiarch wcsrchr for PPC64.
43242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43243         multiarch implementations.
43244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43245         (__libc_ifunc_impl_list): Likewise.
43246         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43247         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43248         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43249         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43250         multiarch wcschr for PPC64.
43252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43253         multiarch implementations.
43254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43255         (__libc_ifunc_impl_list): Likewise.
43256         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43257         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43258         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43259         multiarch strchrnul for PPC64.
43261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43262         implementations.
43263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43264         (__libc_ifunc_impl_list): Likewise.
43265         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43266         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43267         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43268         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43269         strchr for PPC64.
43271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43272         implementations.
43273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43274         (__libc_ifunc_impl_list): Likewise.
43275         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43276         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43277         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43278         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43279         strncmp for PPC64.
43281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43282         multiarch implementations.
43283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43284         (__libc_ifunc_impl_list): Likewise.
43285         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43286         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43287         strncasecmp for PPC64.
43288         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43289         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43290         multiarch strncasecmp_l for PPC64.
43292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43293         multiarch implementations.
43294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43295         (__libc_ifunc_impl_list): Likewise.
43296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43297         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43298         multiarch strcasecmp for PPC64.
43299         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43300         file.
43301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43302         multiarch strcasecmp_l for PPC64.
43304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43305         implementations.
43306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43307         (__libc_ifunc_impl_list): Likewise.
43308         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43309         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43310         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43311         strnlen for PPC64.
43313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43314         implementations.
43315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43316         (__libc_ifunc_impl_list): Likewise.
43317         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43318         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43319         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43320         strlen for PPC64.
43322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43323         implementations.
43324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43325         (__libc_ifunc_impl_list): Likewise.
43326         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43327         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43328         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43329         rawmemrchr for PPC64.
43331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43332         implementation.
43333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43334         (__libc_ifunc_impl_list): Likewise.
43335         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43336         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43337         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43338         memrchr for PPC64.
43340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43341         implementation.
43342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43343         (__libc_ifunc_impl_list): Likewise.
43344         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43345         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43346         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43347         memchr for PPC64.
43349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43350         implementation.
43351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43352         (__libc_ifunc_impl_list): Likewise.
43353         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43354         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43355         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43356         mempcpy for PPC64.
43358         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43359         avoid cretion of __bzero symbol.
43360         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43361         Likewise.
43362         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43363         Likewise.
43364         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43365         Likewise.
43366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43367         multiarch implementations.
43368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43369         (__libc_ifunc_impl_list): Likewise.
43370         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43371         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43372         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43373         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43374         bzero for PPC32.
43375         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43376         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43377         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43378         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43379         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43380         memset for PPC64.
43381         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43383         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43385         implementations.
43386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43387         (__libc_ifunc_impl_list): Likewise.
43388         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43389         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43390         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43391         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43392         memcmp for PPC64.
43394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43395         multiarch for POWER/PPC64.
43396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43397         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43398         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43400         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43401         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43402         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43403         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43404         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43405         memcpy for PPC64.
43407         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43408         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43409         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43410         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43411         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43412         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43413         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43414         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43415         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43416         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43417         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43418         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43419         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43420         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43421         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43430 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43432         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43434 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43436         * benchtests/Makefile (bench): Add exp2 and log2.
43437         (LDLIBS-bench-exp2): Add -lm.
43438         (LDLIBS-bench-log2): Likewise.
43439         * benchtests/exp2-inputs: New inputs file.
43440         * benchtests/log2-inputs: New inputs file.
43441         * benchtests/log-inputs: Add new inputs.
43442         * benchtests/tan-inputs: Likewise.
43444 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43446         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43447         definition...
43448         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43449         (csloww2): ... from here.
43451         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43452         instead of structures.
43453         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43454         (POLYNOMIAL): Likewise.
43455         (TAYLOR_SLOW): Likewise.
43456         (__sin): Likewise.
43457         (__cos): Likewise.
43458         (slow1): Likewise.
43459         (slow2): Likewise.
43460         (sloww): Likewise.
43461         (sloww1); Likewise.
43462         (sloww2): Likewise.
43463         (bsloww1): Likewise.
43464         (bsloww2): Likewise.
43465         (cslow2): Likewise.
43466         (csloww): Likewise.
43467         (csloww1): Likewise.
43468         (csloww2): Likewise.
43470 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43472         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43473         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43474         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43475         * malloc/hooks.c (realloc_check): Likewise.
43477         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43478         * malloc/arena.c: Remove PER_THREAD conditional.
43479         [!PER_THREAD]: Remove code.
43480         (ptmalloc_unlock_all2): Likewise.
43481         (ptmalloc_init): Likewise.
43482         (_int_new_arena): Likewise.
43483         (arena_get2): Likewise.
43484         * malloc/hooks.c (__malloc_get_state): Likewise.
43485         (__malloc_set_state): Likewise.
43486         * malloc/malloc.c: Likewise.
43487         (struct malloc_state): Likewise.
43488         (struct malloc_par): Likewise.
43489         (__libc_realloc): Likewise.
43490         (__libc_mallopt): Likewise.
43492 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43494         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43496 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43498         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43499         macro to a function.  Check for zero perturb_byte.
43500         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43502         * malloc/malloc.c: (force_reg): Remove.
43503         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43504         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43505         force_reg by atomic_forced_read.
43506         * malloc/arena.c (ptmalloc_init): Likewise.
43507         * malloc/hooks.c (top_check): Likewise.
43509 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43513 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43517 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43519         * math/auto-libm-test-in: Add tests of lgamma.
43520         * math/auto-libm-test-out: Regenerated.
43521         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43522         (M_LOG_2_SQRT_PIl): Likewise.
43523         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43524         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43525         mpfr_f_f1.
43526         (func_calc_desc): Add mpfr_f_f1 union field.
43527         (ARGS1): New macro.
43528         (ARGS2): Likewise.
43529         (ARGS3): Likewise.
43530         (ARGS4): Likewise.
43531         (RET1): Likewise.
43532         (RET2): Likewise.
43533         (CALC): Likewise.
43534         (FUNC): Likewise.
43535         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43536         (test_functions): Add lgamma.
43537         (calc_generic_results): Handle mpfr_f_f1.
43538         * sysdeps/i386/fpu/libm-test-ulps: Update.
43539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43541 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43543         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43544         __mpn_add_n for PowerPC64/POWER7.
43545         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43546         __mpn_sub_n for PowerPC64/POWER7.
43548         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43549         __mpn_addmul_1 for PowerPC64.
43550         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43551         __mpn_submul_1 for PowerPC64.
43552         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43553         for PowerPC64.
43554         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43555         for PowerPC64.
43557 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43559         [BZ #15089]
43560         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43562 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43564         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43566         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43567         add multiarch folders.
43568         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43569         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43570         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43571         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43572         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43573         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43574         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43575         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43576         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43577         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43578         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43587         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43589         New file.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43591         New file.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43593         multiarch __ieee754_hypot for PowerPC32.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43595         New file.
43596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43597         New file.
43598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43599         multiarch __ieee754_hypotf for PowerPC32.
43601         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43602         long_double_symbol only if __logbl is defined.
43603         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43604         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43605         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43606         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43608         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43609         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43610         path for implementation.
43611         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43612         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43614         logb, and logbl multiarch implementations for PowerPC32.
43615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43616         file.
43617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43618         file.
43619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43620         multiarch logb for PowerPC32.
43621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43622         file.
43623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43624         file.
43625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43626         multiarch logbf for PowerPC32.
43627         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43629         file.
43630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43631         multiarch logbl implementation for PowerPC32.
43633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43634         and modff multiarch implementations.
43635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43636         New file.
43637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43638         New file.
43639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43640         multiarch modf for PowerPC32.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43642         New file.
43643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43644         New file.
43645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43646         multiarch modff for PowerPC32.
43648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43649         and lrintf multiarch implementations.
43650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43651         New file.
43652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43653         New file.
43654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43655         multiarch lrint for PowerPC32.
43656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43657         file: multiarch lrintf for PowerPC32.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43660         and lroundf multiarch implementations.
43661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43662         New file.
43663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43664         New file.
43665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43666         New file.
43667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43668         multiarch lround for PowerPC32.
43669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43670         file: multiarch lroundf for PowerPC32.
43672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43673         copysign and copysignf multiarch implementations.
43674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43675         New file.
43676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43677         New file.
43678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43679         file: multiarch copysign for PowerPC32.
43680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43681         file: multiarch copysignf for PowerPC32.
43683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43684         and truncf multiarch implementations.
43685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43686         New file.
43687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43688         file.
43689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43690         multiarch trunc for PowerPC32.
43691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43692         New file.
43693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43694         New file.
43695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43696         multiarch truncf for PowerPC32.
43698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43699         and roundf multiarch implementations.
43700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43701         New file.
43702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43703         file.
43704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43705         multiarch round for PowerPC32.
43706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43707         New file.
43708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43709         New file.
43710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43711         multiarch roundf for PowerPC32.
43713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43714         and floorf multiarch implementations.
43715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43716         New file.
43717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43718         file.
43719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43720         multiarch floor for PowerPC32.
43721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43722         New file.
43723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43724         New file.
43725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43726         multiarch floorf for PowerPC32.
43728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43729         and ceilf multiarch implementations.
43730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43731         New file.
43732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43733         file.
43734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43735         multiarch ceil for PowerPC32.
43736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43737         New file.
43738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43739         file.
43740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43741         multiarch ceilf for PowerPC32.
43743         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43744         is defined.
43745         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43746         FINITEF is defined.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43748         and finitef multiarch implementations.
43749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43750         New file.
43751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43752         file.
43753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43754         multiarch finite for PowerPC32.
43755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43756         New file.
43757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43758         file: multiarch finitef for PowerPC32.
43760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43761         and isinff multiarch implementations.
43762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43765         file.
43766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43767         multiarch isinf for PowerPC32.
43768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43769         New file.
43770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43771         multiarch isinff for PowerPC32.
43773         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43774         alias when __isnan is defined.
43775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43776         and isnanf multiarch implementations.
43777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43778         file.
43779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43780         file.
43781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43782         file.
43783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43784         file.
43785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43786         multiarch isnan for PowerPC32.
43787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43788         New file.
43789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43790         New file.
43791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43792         multiarch isnanf for PowerPC32.
43794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43795         and sqrtf multiarch implementations.
43796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43797         file.
43798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43799         file.
43800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43801         multiarch sqrt for PowerPC32.
43802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43803         file.
43804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43805         file.
43806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43807         multiarch sqrtf for PowerPC32.
43809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43810         and llroundf multiarch implementations.
43811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43812         New file.
43813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43814         New file.
43815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43816         New file.
43817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43818         file: multiarch llround for PowerPC32.
43819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43820         file: multiarch llroundf for PowerPC32.
43822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43823         multiarch PowerPC32 fpu implementations.
43824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43825         New file.
43826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43827         New file.
43828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43829         multiarch llrint for PowerPC32.
43830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43831         New file.
43832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43833         New file.
43834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43835         file.
43837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43839         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43840         file.
43841         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43842         file.
43843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43844         file.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43846         multiarch wordcopy for PPC32.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43848         wordcopy objects.
43849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43850         (__libc_ifunc_impl_list): Likewise.
43851         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43852         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43853         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43854         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43855         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43856         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43858         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43860         file.
43861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43862         file.
43863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43864         file.
43865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43866         multiarch wcscpy for PPC32.
43867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43868         multiarch objects.
43869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43870         (__libc_ifunc_impl_list): Likewise.
43871         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43872         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43873         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43874         sysdeps/powerpc/power6/wcscpy.c.
43876         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43878         file.
43879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43880         file.
43881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43882         file.
43883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43884         multiarch wcsrchr for PPC32.
43885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43886         multiarch objects.
43887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43888         (__libc_ifunc_impl_list): Likewise.
43889         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43890         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43891         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43892         sysdeps/powerpc/power6/wcsrchr.c.
43894         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43895         file.
43896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43897         file.
43898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43900         multiarch wcschr for PPc32.
43901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43902         multiarch objects.
43903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43904         (__libc_ifunc_impl_list): Likewise.
43905         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43906         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43907         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43908         sysdeps/powerpc/power6/wcschr.c.
43910         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43911         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43912         file.
43913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43914         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43915         file: multiarch strchr for PPC32.
43916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43917         multiarch objects.
43918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43919         (__libc_ifunc_impl_list): Likewise.
43921         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43922         name.
43923         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43924         file.
43925         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43926         file.
43927         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43928         multiarch strchrnul for PPC32.
43929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43930         multiarch objects.
43931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43932         (__libc_ifunc_impl_list): Likewise.
43934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43935         file.
43936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43937         multiarch strncasecmp for PPC32.
43938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43939         file.
43940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43941         multiarch strncasecmp_l for PPC32.
43942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43943         strncasecmp multiarch objects.
43944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43945         (__libc_ifunc_impl_list): Likewise.
43947         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43948         file.
43949         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43950         multiarch strncasecmp for PPC32.
43951         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43952         New file.
43953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43954         multiarch strcasecmp_l for PPC32.
43955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43956         multiarch objects.
43957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43958         (__libc_ifunc_impl_list): Likewise.
43960         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43961         file.
43962         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43963         file.
43964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43965         multiarch strncmp for PPC32.
43966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43967         multiarch objects.
43968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43969         (__libc_ifunc_impl_list): Likewise.
43971         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43972         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43973         file.
43974         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43975         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43977         multiarch objects.
43978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43979         (__libc_ifunc_impl_list): Likewise.
43981         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43982         file.
43983         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43984         file.
43985         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43987         multiarch objects.
43988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43989         (__libc_ifunc_impl_list): Likewise.
43991         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43992         file.
43993         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43994         file.
43995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43996         multiarch rawmemchr for PPC32.
43997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43998         multiarch objects.
43999         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44000         (__libc_ifunc_impl_list): Likewise.
44002         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44003         file.
44004         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44005         file.
44006         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44007         file: memrchr multiarch for PPC32.
44008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44009         multiarch objects.
44010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44011         (__libc_ifunc_impl_list): Likewise.
44013         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44015         file.
44016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44017         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44018         multiarch memchr for PPC32.
44019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44020         multiarch objects.
44021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44022         (__libc_ifunc_impl_list): Likewise.
44024         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44025         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44026         file.
44027         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44028         file.
44029         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44030         file: multiarch mempcpy for PPC32.
44031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44032         multiarch objects.
44033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44034         (__libc_ifunc_impl_list): Likewise.
44036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44037         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44039         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44040         multiarch bzero for PPC32.
44041         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44042         file.
44043         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44044         file.
44045         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44046         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44047         file: multiarch memset for PPC32.
44048         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44050         memset multiarch objects.
44051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44052         (__libc_ifunc_impl_list): Likewise.
44054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44055         file.
44056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44058         memcmp for PPC32.
44059         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44061         multiarch objects.
44062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44063         (__libc_ifunc_impl_list): Likewise.
44065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44068         file.
44069         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44070         file.
44071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44072         file.
44073         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44074         multiarch memcpy for PPC32.
44075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44076         multiarch objects.
44077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44078         (__libc_ifunc_impl_list): Likewise.
44080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44081         support multiarch for POWER/PPC32.
44082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44083         Likewise.
44084         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44086         Implies file to make multiarch folder appers before the fpu and
44087         default folder for power4 configuration.
44089 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44091         * scripts/bench.pl: Append volatile keyword to type.
44093 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44095         * sysdeps/sh/sotruss-lib.c: New file.
44096         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44098 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44102 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44104         [BZ #6810]
44105         * math/w_tgamma.c: Include <errno.h>.
44106         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44107         * math/w_tgammaf.c: Include <errno.h>.
44108         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44109         * math/w_tgammal.c: Include <errno.h>.
44110         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44111         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44112         underflow.  Add more tgamma tests.
44113         * math/auto-libm-test-out: Regenerated.
44114         * sysdeps/i386/fpu/libm-test-ulps: Update.
44115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44117         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44118         sin, sinh, tan, tanh, tgamma, y0 and y1.
44119         * math/auto-libm-test-out: Regenerated.
44120         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44121         (TEST_COND_x86): Likewise.
44122         (M_E2l): Remove macro.
44123         (M_E3l): Likewise.
44124         (M_2_SQRT_PIl): Likewise.
44125         (M_SQRT_PIl): Likewise.
44126         (M_1_DIV_El): Likewise.
44127         (log_test_data): Use AUTO_TESTS_f_f.
44128         (log10_test_data): Likewise.
44129         (log1p_test_data): Likewise.
44130         (log2_test_data): Likewise.
44131         (sin_test_data): Likewise.
44132         (sin_tonearest_test_data): Likewise.
44133         (sin_towardzero_test_data): Likewise.
44134         (sin_downward_test_data): Likewise.
44135         (sin_upward_test_data): Likewise.
44136         (sinh_test_data): Likewise.
44137         (sinh_tonearest_test_data): Likewise.
44138         (sinh_towardzero_test_data): Likewise.
44139         (sinh_downward_test_data): Likewise.
44140         (sinh_upward_test_data): Likewise.
44141         (tan_test_data): Likewise.
44142         (tan_tonearest_test_data): Likewise.
44143         (tan_towardzero_test_data): Likewise.
44144         (tan_downward_test_data): Likewise.
44145         (tan_upward_test_data): Likewise.
44146         (tanh_test_data): Likewise.
44147         (tgamma_test_data): Likewise.
44148         (y0_test_data): Likewise.
44149         (y1_test_data): Likewise.
44150         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44151         (special_real_inputs): Add pi/4.
44152         * sysdeps/i386/fpu/libm-test-ulps: Update.
44153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44155 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44157         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44158         "longjmp_target" static probes.
44159         (__longjmp): Rename to __longjmp_symbol.
44160         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44161         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44162         on which longjmp to generate.
44163         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44164         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44165         probe.
44166         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44167         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44168         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44169         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44170         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44171         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44173         __longjmp_symbol based on which __longjmp to generate.
44174         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44175         probe.
44176         (setjmp): Rename to setjmp_symbol.
44177         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44178         (_setjmp): Rename to _setjmp_symbol.
44179         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44180         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44181         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44182         which setjmp to generate.
44183         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44184         "longjmp_target" static probes.
44186 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44188         * benchtests/README: Add note about output arguments.
44189         * benchtests/bench-sincos.c: Remove file.
44190         * benchtests/sincos-inputs: New file.
44191         * scripts/bench.pl: Identify output arguments and define
44192         static variables for them.
44194         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44196         [BZ #15941]
44197         * Makefile (INSTALL): Add install-plain.texi as the primary
44198         dependency.
44199         * manual/install-plain.texi: New file.
44200         * manual/install.texi: Include node directive only for
44201         non-plaintext output.
44203 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44205         * stdlib/longlong.h: Update from GCC.
44207         [BZ #6807]
44208         [BZ #15901]
44209         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44210         * math/w_j0f.c (y0f): Likewise.
44211         * math/w_j0l.c (__y0l): Likewise.
44212         * math/w_j1.c (y1): Likewise.
44213         * math/w_j1f.c (y1f): Likewise.
44214         * math/w_j1l.c (__y1l): Likewise.
44215         * math/w_jn.c (yn): Likewise.
44216         * math/w_jnf.c (ynf): Likewise.
44217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44218         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44219         value for Bessel function domain errors outside _SVID_ mode.
44220         Adjust sign of return value for yn (negative integer, 0).
44221         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44222         by zero in return for negative x and set sign appropriately for
44223         negative n.
44224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44225         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44226         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44227         expectations in error cases.
44228         (y1_test_data): Likewise.
44229         (yn_test_data): Likewise.
44230         * sysdeps/i386/fpu/libm-test-ulps: Update.
44231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44233 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44235         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44236         "64" to "64-v1".  Add "64-v2".
44237         (abi-64-options): Rename to ...
44238         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44239         (abi-64-condition): Rename to ...
44240         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44241         (abi-64-ld-soname): Rename to ...
44242         (abi-64-v1-ld-soname): ... this.
44243         (abi-64-v2-options): Define.
44244         (abi-64-v2-condition): Likewise.
44245         (abi-64-v2-ld-soname): Likewise.
44246         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44247         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44252 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44253             Alan Modra  <amodra@gmail.com>
44255         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44256         New versions for use with the ELFv2 ABI.
44257         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44258         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44259         declaration.
44260         (struct La_ppc64v2_retval): Likewise.
44261         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44262         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44263         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44264         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44265         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44266         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44267         Do not save or restore CR.
44268         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44269         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44270         return values for ELFv2 ABI.  Fix location of FPR return registers.
44271         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44272         updated values for _CALL_ELF == 2.
44273         (La_regs, La_retval, int_retval): Likewise.
44275 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44277         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44278         (FRAME_MIN_SIZE_PARM): Likewise.
44279         (FRAME_BACKCHAIN): Likewise.
44280         (FRAME_CR_SAVE): Likewise.
44281         (FRAME_LR_SAVE): Likewise.
44282         (FRAME_TOC_SAVE): Likewise.
44283         (FRAME_PARM_SAVE): Likewise.
44284         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44285         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44286         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44287         (call_mcount_parm_offset): New macro.
44288         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44289         (PROF): Use symbolic stack frame offsets.
44290         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44291         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44292         Redefine in terms of FRAME_MIN_SIZE.
44293         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44294         (_dl_profile_resolve): Likewise.  Update comment.
44295         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44296         symbols stack frame offsets.
44297         (__sigsetjmp): Likewise.
44298         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44299         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44300         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44301         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44304         (FRAME_BACKCHAIN): Remove.
44305         (FRAME_CR_SAVE): Likewise.
44306         (FRAME_LR_SAVE): Likewise.
44307         (FRAME_COMPILER_DW): Likewise.
44308         (FRAME_LINKER_DW): Likewise.
44309         (FRAME_TOC_SAVE): Likewise.
44310         (FRAME_PARM_SAVE): Likewise.
44311         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44312         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44313         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44315         (CHECK_SP): Use symbolic stack frame offsets.
44316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44317         zone" instead of caller's parameter save area for temp storage.
44318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44319         Likewise.  Also, use symbolic stack frame offsets.
44320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44321         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44322         our own stack frame instead of the caller's.
44323         (__socket): Use symbolic stack frame offsets.
44325 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44326             Alan Modra  <amodra@gmail.com>
44328         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44329         Define.
44330         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44331         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44332         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44333         New function.
44334         (elf_machine_fixup_plt): Call it.
44335         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44336         reloc arguments.
44337         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44339         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44340         r2 before calling target.
44342 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44343             Alan Modra  <amodra@gmail.com>
44345         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44346         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44347         versions of macros to support ELFv2 ABI.
44348         (LOCALENTRY): New macro.
44349         (ENTRY, EALIGN): Use it.
44350         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44351         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44352         fall through into ENTRY entry point.
44353         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44354         Only define if _CALL_ELF != 2.
44356         (elf_machine_matches_host): Verify ABI version matches.
44357         (RTLD_START): Use LOCALENTRY.
44358         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44359         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44360         (PLT_ENTRY_WORDS): New macro.
44361         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44362         (elf_machine_runtime_setup): Support ELFv2 ABI.
44363         (elf_machine_fixup_plt): Likewise.
44364         (elf_machine_plt_conflict): Likewise.
44365         (resolve_ifunc): Likewise.
44366         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44368         Likewise.
44369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44370         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44372         (makecontext): Support ELFv2 ABI.
44373         * elf/elf.h (EF_PPC64_ABI): Define.
44375 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44377         * sysdeps/powerpc/powerpc64/sysdep.h
44378         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44379         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44380         (ENTRY) [ASSEMBLER]: ... but instead here ...
44381         (EALIGN) [ASSEMBLER]: ... and here.
44382         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44383         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44384         (ENTRY_2) [!ASSEMBLER]: Use it.
44385         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44386         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44387         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44388         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44389         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44391         Use PPC64_LOAD_FUNCPTR.
44393         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44395 2013-12-04  Alan Modra  <amodra@gmail.com>
44397         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44398         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44399         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44400         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44402         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44403         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44404         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44405         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44406         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44407         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44409 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44412         (__makecontext): Fix incorrect CFI when backtracing out of
44413         context created via makecontext.
44414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44415         (__setcontext): Fix incorrect CFI during switch to new context.
44416         (__novec_setcontext): Likewise.
44418 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44420         [BZ #4772]
44421         * time/strptime_l.c (__strptime_internal): Allow modifiers
44422         in strptime.
44423         * time/tst-strptime.c (day_tests): Add testcase.
44425 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44427         * scripts/bench.pl: Skip over blank lines.
44429 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44431         [BZ #926]
44432         * manual/time.texi (Calendar Time): Clarify what timezone functions
44433         use.
44435 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44439 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44441         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44442         implementation.
44443         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44444         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44445         * debug/memset_chk.c (__memset_chk): Likewise.
44446         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44447         * debug/strncpy_chk.c: Likewise.
44449 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44451         [BZ #15268]
44452         [BZ #15425]
44453         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44454         (__ieee754_exp): For possibly underflowing results, check size of
44455         result and force underflow exception if required.
44456         * math/auto-libm-test-in: Add more tests of exp.
44457         * math/auto-libm-test-out: Regenerated.
44458         * sysdeps/i386/fpu/libm-test-ulps: Update.
44459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44461         [BZ #16283]
44462         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44463         * math/w_exp2f.c (__exp2f): Likewise.
44464         * math/w_exp2l.c (__exp2l): Likewise.
44465         * math/auto-libm-test-in: Do not allow missing errno on exp2
44466         underflow.
44467         * math/auto-libm-test-out: Regenerated.
44469 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44471         [BZ #16274]
44472         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44473         handle filename validation.
44474         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44475         (do_open): Delete.
44477 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44479         [BZ #6786]
44480         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44481         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44482         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44483         <float.h>.
44484         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44486         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44488         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44489         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44490         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44491         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44492         Add more erfc tests.
44493         * math/auto-libm-test-out: Regenerated.
44494         * sysdeps/i386/fpu/libm-test-ulps: Update.
44495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44497         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44498         exp2, expm1, j0 and j1.
44499         * math/auto-libm-test-out: Regenerated.
44500         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44501         (erfc_test_data): Likewise.
44502         (exp_test_data): Likewise.
44503         (exp_tonearest_test_data): Likewise.
44504         (exp_towardzero_test_data): Likewise.
44505         (exp_downward_test_data): Likewise.
44506         (exp_upward_test_data): Likewise.
44507         (exp10_test_data): Likewise.
44508         (exp2_test_data): Likewise.
44509         (expm1_test_data): Likewise.
44510         (j0_test_data): Likewise.
44511         (j1_test_data): Likewise.
44512         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44513         (input_flag_type): Add flag_xfail_rounding.
44514         (input_flags): Add xfail-rounding.
44515         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44516         (output_for_one_input_case): Handle flag_xfail_rounding.
44517         * sysdeps/i386/fpu/libm-test-ulps: Update.
44518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44520 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44522         [BZ #16289]
44523         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44524         division by 0.
44526 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44528         [BZ #16195]
44529         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44530         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44531         (STAP_PROBE0): New macro.
44532         (STAP_PROBE1): Likewise.
44533         (STAP_PROBE2): Likewise.
44534         (STAP_PROBE3): Likewise.
44535         (STAP_PROBE4): Likewise.
44537 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44539         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44541 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44543         * benchtests/Makefile (bench): Add sqrt.
44544         (LDLIBS-bench-sqrt): New.
44545         * benchtests/sqrt-input: New.
44547 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44549         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44550         (GAIH_EAI): Likewise.
44551         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44552         (gaih_inet): Likewise.
44553         (getaddrinfo): Don't use GAIH_EAI.
44555         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44556         (struct gaih): Remove definition.
44558 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44560         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44561         Use HERRNOP directly.
44563 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44567 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44569         * math/gen-auto-libm-tests.c (test_functions): Add more
44570         single-argument functions.
44571         (special_fill_pi_2): New function.
44572         (special_fill_minus_pi_2): Likewise.
44573         (special_fill_pi_6): Likewise.
44574         (special_fill_minus_pi_6): Likewise.
44575         (special_fill_pi_3): Likewise.
44576         (special_fill_2pi_3): Likewise.
44577         (special_fill_e): Likewise.
44578         (special_fill_1_e): Likewise.
44579         (special_fill_e_minus_1): Likewise.
44580         (special_real_inputs): Add more special inputs.
44581         (output_for_one_input_case): Do not require ERANGE on underflow to
44582         zero if round-to-nearest result does not underflow to zero, unless
44583         exact results required.
44584         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44585         atan, atanh, cbrt, cos and cosh.
44586         * math/auto-libm-test-out: Regenerated.
44587         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44588         (acos_tonearest_test_data): Likewise.
44589         (acos_towardzero_test_data): Likewise.
44590         (acos_downward_test_data): Likewise.
44591         (acos_upward_test_data): Likewise.
44592         (acosh_test_data): Likewise.
44593         (asin_test_data): Likewise.
44594         (asin_tonearest_test_data): Likewise.
44595         (asin_towardzero_test_data): Likewise.
44596         (asin_upward_test_data): Likewise.
44597         (asinh_test_data): Likewise.
44598         (atan_test_data): Likewise.
44599         (atanh_test_data): Likewise.
44600         (cbrt_test_data): Likewise.
44601         (cos_test_data): Likewise.
44602         (cos_tonearest_test_data): Likewise.
44603         (cos_towardzero_test_data): Likewise.
44604         (cos_downward_test_data): Likewise.
44605         (cos_upward_test_data): Likewise.
44606         (cosh_test_data): Likewise.
44607         (cosh_tonearest_test_data): Likewise.
44608         (cosh_towardzero_test_data): Likewise.
44609         (cosh_downward_test_data): Likewise.
44610         (cosh_upward_test_data): Likewise.
44611         * sysdeps/i386/fpu/libm-test-ulps: Update.
44612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44614 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44616         [BZ #6787]
44617         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44618         * math/w_exp10f.c (__exp10f): Likewise.
44619         * math/w_exp10l.c (__exp10l): Likewise.
44620         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44621         errno settings in existing tests.
44623         [BZ #14032]
44624         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44625         precision control set to double precision.
44626         * sysdeps/i386/fpu/w_sqrt.c: New file.
44627         * math/auto-libm-test-in: Add more tests.
44628         * math/auto-libm-test-out: Update.
44630         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44631         (sqrt_test_tonearest): New function.
44632         (sqrt_towardzero_test_data): New variable.
44633         (sqrt_test_towardzero): New function.
44634         (sqrt_downward_test_data): New variable.
44635         (sqrt_test_downward): New function.
44636         (sqrt_upward_test_data): New variable.
44637         (sqrt_test_upward): New function.
44638         (main): Call the new functions.
44640         * math/gen-auto-libm-tests.c: New file.
44641         * math/auto-libm-test-in: Likewise.
44642         * math/auto-libm-test-out: New generated file.
44643         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44644         variables.
44645         (%beautify): Add generated representations of zero.
44646         (top level): Set $auto_input and call parse_auto_input.
44647         (beautify): Remove trailing "f" from hex float constants.
44648         (parse_args): Handle XFAIL_TEST.
44649         (convert_condition): New function.
44650         (or_value): Likewise.
44651         (or_cond_value): Likewise.
44652         (generate_testfile): Handle AUTO_TESTS_* lines.
44653         (parse_auto_input): New function.
44654         * math/libm-test.inc (XFAIL_TEST): New macro.
44655         (ERRNO_UNCHANGED): Update value.
44656         (ERRNO_EDOM): Likewise.
44657         (ERRNO_ERANGE): Likewise.
44658         (IGNORE_RESULT): Likewise.
44659         (TEST_COND_flt_32): New macro.
44660         (TEST_COND_dbl_64): Likewise.
44661         (TEST_COND_ldbl_96_intel): Likewise.
44662         (TEST_COND_ldbl_96_m68k): Likewise.
44663         (TEST_COND_ldbl_128): Likewise.
44664         (TEST_COND_ldbl_128ibm): Likewise.
44665         (TEST_COND_long32): Likewise.
44666         (TEST_COND_long64): Likewise.
44667         (TEST_COND_before_rounding): Likewise.
44668         (TEST_COND_after_rounding): Likewise.
44669         (enable_test): Handle XFAIL_TEST flag.
44670         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44671         with finite results.
44672         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44673         auto-libm-test-out.
44675 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44676             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44678         [BZ #16214]
44679         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44680         __tls_get_addr_internal instead of __tls_get_offset in order to
44681         avoid GOT pointer dependency.  Make rtld export
44682         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44683         __tls_get_addr since we are a __tls_get_offset platform.
44684         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44685         GOT pointer being set up before.
44686         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44688 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44690         * manual/math.texi (Errors in Math Functions): Document accuracy
44691         goals.
44693         [BZ #15004]
44694         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44695         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44697         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44698         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44699         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44700         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44702         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44703         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44704         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44705         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44706         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44707         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44708         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44709         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44711         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44712         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44713         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44714         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44715         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44716         Likewise.
44717         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44718         Likewise.
44719         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44720         Likewise.
44721         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44722         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44723         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44724         atomic-feupdateenv and flt-rounds.
44725         * sysdeps/powerpc/nofpu/Versions (libc): Add
44726         __atomic_feholdexcept, __atomic_feclearexcept,
44727         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44728         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44729         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44730         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44731         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44732         here.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44734         Update.
44736         * manual/arith.texi (FP Exceptions): Document that exceptions may
44737         not be raised when matherr is used.
44738         (Math Error Reporting): Document overflow in directed rounding
44739         modes.  Document that errno may not be set when finite values are
44740         returned on overflow.  Document intent to set errno on underflow
44741         only for underflow to zero.
44743         [BZ #16271]
44744         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44745         round-to-nearest then adjust result for other rounding modes.
44746         * include/fenv.h (fegetround): Use libm_hidden_proto.
44747         * math/fegetround.c (fegetround): Use libm_hidden_def.
44748         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44749         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44750         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44751         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44752         Likewise.
44753         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44754         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44755         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44756         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44758 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44760         [BZ #16077]
44761         * nss/Versions (libnss_files): Add
44762         _nss_files_gethostbyname3_r.
44763         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44764         New function.
44765         (HOST_DB_LOOKUP): Remove macro.
44766         (_nss_files_gethostbyname_r): Implement function without the
44767         HOST_DB_LOOKUP macro.
44768         (_nss_files_gethostbyname2_r): Likewise.
44770 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44772         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44774 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44776         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44777         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44778         warning.
44780 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44782         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44783         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44784         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44785         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44786         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44787         __fe_nomask_env_priv and attribute_hidden.
44788         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44789         (libc_feupdateenv_test_ppc): Likewise.
44790         (libc_feresetround_ppc): Likewise.
44791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44792         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44793         compat_symbol macro.
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44795         (__fe_nomask_env): Likewise.
44796         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44798 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44800         * string/Makefile: Remove ifunc tests.
44801         * string/test-string.h: Define TEST_IFUNC.
44802         * string/test-bcopy-ifunc.c: Remove.
44803         * string/test-bzero-ifunc.c: Likewise.
44804         * string/test-memccpy-ifunc.c: Likewise.
44805         * string/test-memchr-ifunc.c: Likewise.
44806         * string/test-memcmp-ifunc.c: Likewise.
44807         * string/test-memcpy-ifunc.c: Likewise.
44808         * string/test-memmem-ifunc.c: Likewise.
44809         * string/test-memmove-ifunc.c: Likewise.
44810         * string/test-mempcpy-ifunc.c: Likewise.
44811         * string/test-memrchr-ifunc.c: Likewise.
44812         * string/test-memset-ifunc.c: Likewise.
44813         * string/test-rawmemchr-ifunc.c: Likewise.
44814         * string/test-stpcpy-ifunc.c: Likewise.
44815         * string/test-stpncpy-ifunc.c: Likewise.
44816         * string/test-strcasecmp-ifunc.c: Likewise.
44817         * string/test-strcasestr-ifunc.c: Likewise.
44818         * string/test-strcat-ifunc.c: Likewise.
44819         * string/test-strchr-ifunc.c: Likewise.
44820         * string/test-strchrnul-ifunc.c: Likewise.
44821         * string/test-strcmp-ifunc.c: Likewise.
44822         * string/test-strcpy-ifunc.c: Likewise.
44823         * string/test-strcspn-ifunc.c: Likewise.
44824         * string/test-strlen-ifunc.c: Likewise.
44825         * string/test-strncasecmp-ifunc.c: Likewise.
44826         * string/test-strncat-ifunc.c: Likewise.
44827         * string/test-strncmp-ifunc.c: Likewise.
44828         * string/test-strncpy-ifunc.c: Likewise.
44829         * string/test-strnlen-ifunc.c: Likewise.
44830         * string/test-strpbrk-ifunc.c: Likewise.
44831         * string/test-strrchr-ifunc.c: Likewise.
44832         * string/test-strspn-ifunc.c: Likewise.
44833         * string/test-strstr-ifunc.c: Likewise.
44835 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44837         * benchtests/Makefile: Remove ifunc tests.
44838         * benchtests/bench-string.h: Define TEST_IFUNC.
44839         * benchtests/bench-bcopy-ifunc.c: Remove.
44840         * benchtests/bench-bzero-ifunc.c: Likewise.
44841         * benchtests/bench-memccpy-ifunc.c: Likewise.
44842         * benchtests/bench-memchr-ifunc.c: Likewise.
44843         * benchtests/bench-memcmp-ifunc.c: Likewise.
44844         * benchtests/bench-memcpy-ifunc.c: Likewise.
44845         * benchtests/bench-memmem-ifunc.c: Likewise.
44846         * benchtests/bench-memmove-ifunc.c: Likewise.
44847         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44848         * benchtests/bench-memrchr-ifunc.c: Likewise.
44849         * benchtests/bench-memset-ifunc.c: Likewise.
44850         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44851         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44852         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44853         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44854         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44855         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44856         * benchtests/bench-strcat-ifunc.c: Likewise.
44857         * benchtests/bench-strchr-ifunc.c: Likewise.
44858         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44859         * benchtests/bench-strcmp-ifunc.c: Likewise.
44860         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44861         * benchtests/bench-strcpy-ifunc.c: Likewise.
44862         * benchtests/bench-strcspn-ifunc.c: Likewise.
44863         * benchtests/bench-strlen-ifunc.c: Likewise.
44864         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44865         * benchtests/bench-strncat-ifunc.c: Likewise.
44866         * benchtests/bench-strncmp-ifunc.c: Likewise.
44867         * benchtests/bench-strncpy-ifunc.c: Likewise.
44868         * benchtests/bench-strnlen-ifunc.c: Likewise.
44869         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44870         * benchtests/bench-strrchr-ifunc.c: Likewise.
44871         * benchtests/bench-strsep-ifunc.c: Likewise.
44872         * benchtests/bench-strspn-ifunc.c: Likewise.
44873         * benchtests/bench-strstr-ifunc.c: Likewise.
44875 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44877         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44879 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44881         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44882         * rt/aio.h: Likewise.
44883         * sysdeps/gnu/bits/utmp.h: Likewise.
44884         * sysdeps/gnu/bits/utmpx.h: Likewise.
44885         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44886         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44887         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44888         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44889         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44890         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44891         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44892         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44893         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44894         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44895         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44896         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44897         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44899         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44900         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44901         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44902         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44903         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44904         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44905         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44906         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44907         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44908         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44909         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44911         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44912         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44913         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44914         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44915         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44916         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44917         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44918         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44919         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44920         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44921         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44922         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44923         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44924         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44925         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44926         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44928 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44930         [BZ #16245]
44931         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44932         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44934 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44936         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44937         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44938         Likewise.
44940 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44942         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44943         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44944         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44945         (__fesetround): Remove define.
44946         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44947         rounding and exceptions handling.
44948         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44949         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44950         (__fe_nomask_env): Likewise.
44951         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44952         __fegetround instead of fegetround.
44953         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44954         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44956 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44958         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44959         it's there.
44961         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44963 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44965         [BZ #11157]
44966         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44967         (encrypt_r): Likewise.
44968         * malloc/obstack.h (obstack_free): Likewise.
44969         * posix/unistd.h (encrypt): Likewise.
44971 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44973         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44974         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44975         DL_CALL_DT_FINI() that call the functions directly.
44976         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44977         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44978         * elf/dl-fini.c: Likewise.
44980 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44982         * malloc/hooks.c (memalign_check): Add alignment rounding.
44983         * malloc/malloc.c (_mid_memalign): New function.
44984         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44985         Implement by calling _mid_memalign.
44986         * manual/probes.texi (Memory Allocation Probes): Remove
44987         memory_valloc_retry and memory_pvalloc_retry.
44989 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44991         * locale/programs/locarchive.c (open_archive): Add const
44992         qualifier to ARCHIVEFNAME and copy default fname to
44993         DEFAULT_FNAME.
44995         [BZ #15601]
44996         * libio/tst-widetext.input: Rename Oriya to Odia.
44997         * locale/iso-639.def: Likewise.
44999         * manual/probes.texi (Mathematical Function Probes): Add
45000         documentation for sin, cos, asin and acos probes.
45001         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45002         (__sin32): Add slowasin probe.
45003         (__cos32): Add slowacos probe.
45004         (__mpsin): Add slowsin probe.
45005         (__mpcos): Add slowcos probe.
45007 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45009         [BZ #15483]
45010         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45011         thread-local __sim_exceptions_thread and global
45012         __sim_exceptions_global.
45013         (__sim_disabled_exceptions): Change to thread-local
45014         __sim_disabled_exceptions_thread and global
45015         __sim_disabled_exceptions_global.
45016         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45017         and global __sim_round_mode_global.
45018         (__simulate_exceptions): Use thread-local floating-point state and
45019         set global state from it as needed.
45020         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45021         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45022         __sim_round_mode_thread.
45023         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45024         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45025         and global __sim_exceptions_global.
45026         (__sim_disabled_exceptions): Change to thread-local
45027         __sim_disabled_exceptions_thread and global
45028         __sim_disabled_exceptions_global.
45029         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45030         and global __sim_round_mode_global.
45031         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45032         (SIM_SET_GLOBAL): Likewise.
45033         * sysdeps/powerpc/soft-fp/sfp-machine.h
45034         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45035         __sim_round_mode_thread.
45036         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45037         __sim_disabled_exceptions_thread.
45038         (__sim_exceptions): Change to __sim_exceptions_thread.
45039         (__sim_disabled_exceptions): Change to
45040         __sim_disabled_exceptions_thread.
45041         (__sim_round_mode): Change to __sim_round_mode_thread.
45042         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45043         thread-local floating-point state and set global state from it as
45044         needed.
45045         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45046         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45047         (__sim_disabled_exceptions): Remove extern declaration.
45048         (feenableexcept): Use thread-local floating-point state and set
45049         global state from it as needed.
45050         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45051         extern declaration.
45052         (__sim_disabled_exceptions): Likewise.
45053         (__sim_round_mode): Likewise.
45054         (__fegetenv): Use thread-local floating-point state.
45055         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45056         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45057         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45058         floating-point state and set global state from it as needed.
45059         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45060         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45061         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45062         Likewise.
45063         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45064         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45065         Likewise.
45066         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45067         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45068         Use __sim_round_mode_thread.
45069         * math/test-fenv-tls.c: New file.
45070         * math/Makefile (tests): Add test-fenv-tls.
45071         ($(objpfx)test-fenv-tls): Depend on
45072         $(common-objpfx)nptl/libpthread.so.
45074 2013-11-19  Andreas Schwab  <schwab@suse.de>
45076         * locale/programs/locale.c (show_info): Decode wordarray elements.
45077         * locale/categories.def (LC_MONETARY): Add element for
45078         _NL_MONETARY_CRNCYSTR.
45079         * locale/C-monetary.c (conversion_rate): New variable.
45080         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45081         element.
45083 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45085         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45086         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45088 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45090         * elf/Makefile (tst-auxv): New test.
45091         * elf/tst-auxv.c: New
45092         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45094 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45096         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45097         (hidden_proto): Caller changed.
45098         (hidden_tls_proto): New macro.
45099         (libc_hidden_tls_proto): Likewise.
45100         (rtld_hidden_tls_proto): Likewise.
45101         (libm_hidden_tls_proto): Likewise.
45102         (libresolv_hidden_tls_proto): Likewise.
45103         (librt_hidden_tls_proto): Likewise.
45104         (libdl_hidden_tls_proto): Likewise.
45105         (libnss_files_hidden_tls_proto): Likewise.
45106         (libnsl_hidden_tls_proto): Likewise.
45107         (libnss_nisplus_hidden_tls_proto): Likewise.
45108         (libutil_hidden_tls_proto): Likewise.
45110 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45112         [BZ #10253]
45113         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45114         (decompose_rpath): Defer expansion to fillin_rpath.
45115         (_dl_init_paths): Pass linkmap to fillin_rpath.
45117 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45119         * benchtests/Makefile: Add strsep.
45120         * benchtests/bench-strsep.c: New file: strsep benchtest.
45121         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45123 2013-11-18  Andreas Schwab  <schwab@suse.de>
45125         * locale/programs/locale.c (show_info) [case byte]: Check for
45126         '\377' instead of '\177'.
45127         * locale/C-monetary.c (not_available): Always use "\377".
45128         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45129         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45130         detect unavailable sign_posn locale elements.
45131         * locale/localeconv.c (__localeconv): For grouping and
45132         mon_grouping handle "\177" and "\377" like no grouping.
45133         (INT_ELEM): New macro.  Use it to set all numeric members.
45134         * locale/programs/ld-monetary.c (monetary_read)
45135         <tok_mon_grouping>: Normalize single -1 to the empty string.
45136         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45137         Likewise.
45139 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45141         [BZ #16055]
45142         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45143         when we match (nil).
45144         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45146 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45148         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45149         (NO_TEST_INLINE): Update value.
45150         (ERRNO_UNCHANGED): Likewise.
45151         (ERRNO_EDOM): Likewise.
45152         (ERRNO_ERANGE): Likewise.
45153         (IGNORE_RESULT): Likewise.
45154         (check_float_internal): Check signs of NaN results if
45155         TEST_NAN_SIGN used.
45156         (check_complex): Pass TEST_NAN_SIGN flag through to second
45157         check_float_internal call.
45158         (copysign_test_data): Add tests with quiet NaNs as second
45159         argument.  Use TEST_NAN_SIGN.
45160         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45161         TEST_NAN_SIGN.
45162         (signbit_test_data): Add tests of quiet NaN argument.
45163         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45165         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45166         $ignore_result.
45167         (parse_args): Handle function results specified as IGNORE.
45168         * math/libm-test.inc (IGNORE_RESULT): New macro.
45169         (check_float_internal): Do not check numerical result if flag
45170         IGNORE_RESULT set.
45171         (check_complex): Pass through IGNORE_RESULT to second
45172         check_float_internal call.
45173         (check_int): Do not check numerical result if flag IGNORE_RESULT
45174         set.
45175         (check_long): Likewise.
45176         (check_bool): Likewise.
45177         (check_longlong): Likewise.
45178         (lrint_test_data): Add tests of infinite and NaN arguments.
45179         (lrint_tonearest_test_data): Likewise.
45180         (lrint_towardzero_test_data): Likewise.
45181         (lrint_downward_test_data): Likewise.
45182         (lrint_upward_test_data): Likewise.
45183         (llrint_test_data): Likewise.
45184         (llrint_tonearest_test_data): Likewise.
45185         (llrint_towardzero_test_data): Likewise.
45186         (llrint_downward_test_data): Likewise.
45187         (llrint_upward_test_data): Likewise.
45188         (lround_test_data): Likewise.
45189         (llround_test_data): Likewise.
45191         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45192         (ERRNO_UNCHANGED): Update value.
45193         (ERRNO_EDOM): Likewise.
45194         (ERRNO_ERANGE): Likewise.
45195         (NO_TEST_INLINE_FLOAT): New macro.
45196         (NO_TEST_INLINE_DOUBLE): Likewise.
45197         (enable_test): New function.
45198         (RUN_TEST_f_f): Check enable_test before running test.
45199         (RUN_TEST_2_f): Likewise.
45200         (RUN_TEST_fff_f): Likewise.
45201         (RUN_TEST_c_f): Likewise.
45202         (RUN_TEST_f_f1): Likewise.
45203         (RUN_TEST_fF_f1): Likewise.
45204         (RUN_TEST_fI_f1): Likewise.
45205         (RUN_TEST_ffI_f1): Likewise.
45206         (RUN_TEST_c_c): Likewise.
45207         (RUN_TEST_cc_c): Likewise.
45208         (RUN_TEST_f_i): Likewise.
45209         (RUN_TEST_f_i_tg): Likewise.
45210         (RUN_TEST_ff_i_tg): Likewise.
45211         (RUN_TEST_f_b): Likewise.
45212         (RUN_TEST_f_b_tg): Likewise.
45213         (RUN_TEST_f_l): Likewise.
45214         (RUN_TEST_f_L): Likewise.
45215         (RUN_TEST_fFF_11): Likewise.
45216         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45217         conditionals.
45218         (cosh_test_data): Likewise.
45219         (exp_test_data): Likewise.
45220         (expm1_test_data): Likewise.
45221         (hypot_test_data): Likewise.
45222         (pow_test_data): Likewise.
45223         (sinh_test_data): Likewise.
45224         (tanh_test_data): Likewise.
45225         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45226         flags argument.
45228         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45229         tests with quiet NaN input and output.
45230         (acosh_test_data): Likewise.
45231         (asin_test_data): Likewise.
45232         (asinh_test_data): Likewise.
45233         (atan_test_data): Likewise.
45234         (atanh_test_data): Likewise.
45235         (atan2_test_data): Likewise.
45236         (cbrt_test_data): Likewise.
45237         (cos_test_data): Likewise.
45238         (cosh_test_data): Likewise.
45239         (erf_test_data): Likewise.
45240         (erfc_test_data): Likewise.
45241         (exp_test_data): Likewise.
45242         (exp10_test_data): Likewise.
45243         (exp2_test_data): Likewise.
45244         (expm1_test_data): Likewise.
45245         (hypot_test_data): Likewise.
45246         (j0_test_data): Likewise.
45247         (j1_test_data): Likewise.
45248         (jn_test_data): Likewise.
45249         (lgamma_test_data): Likewise.
45250         (log_test_data): Likewise.
45251         (log10_test_data): Likewise.
45252         (log1p_test_data): Likewise.
45253         (log2_test_data): Likewise.
45254         (pow_test_data): Likewise.
45255         (scalb_test_data): Likewise.
45256         (sin_test_data): Likewise.
45257         (sincos_test_data): Likewise.
45258         (sinh_test_data): Likewise.
45259         (tan_test_data): Likewise.
45260         (tanh_test_data): Likewise.
45261         (tgamma_test_data): Likewise.
45262         (y0_test_data): Likewise.
45263         (y1_test_data): Likewise.
45264         (yn_test_data): Likewise.
45266         [BZ #16167]
45267         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45268         argument being NaN and avoid computations with second argument in
45269         that case.
45270         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45271         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45272         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45274 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45276         * locale/iso-639.def: Add Chitwani Tharu (the).
45278 2013-11-14  Andreas Schwab  <schwab@suse.de>
45280         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45281         word instead of empty string.
45283 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45286         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45288         (__fe_nomask_env): Likewise.
45290 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45292         * benchtests/bench-timing.h: Include time.h.
45294 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45296         [BZ #15997]
45297         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45298         to 3.4.0 for x32.
45299         * sysdeps/unix/sysv/linux/configure: Regenerated.
45301 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45303         [BZ #16151]
45304         * stdlib/strtod_l.c (round_and_return): Do not consider
45305         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45306         exponent one less than half the least subnormal exponent.
45307         * stdlib/test-strtod-round-data: Add more tests.
45308         * stdlib/tst-strtod-round.c (tests): Regenerated.
45310 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45312         [BZ #14143]
45313         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45314         (__fe_mask_env): Likewise.
45315         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45316         libm_hidden_proto and add function prototype.
45317         (__fe_mask_env): Add function prototype.
45318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45319         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45321         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45323         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45325 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45327         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45328         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45330 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45332         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45333         of htab_find_slot().
45335 2013-11-11  David S. Miller  <davem@davemloft.net>
45337         [BZ #16150]
45338         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45339         symbol in the non-vis3 case in static builds.
45340         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45341         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45342         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45343         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45345 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45347         [BZ #387]
45348         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45349         it is empty.
45351 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45353         * benchtests/Makefile: Add bench-strtod.
45354         * benchtests/bench-strtod.c: New file: strtod benchtest
45356 2013-11-11  Andreas Schwab  <schwab@suse.de>
45358         [BZ #16153]
45359         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45360         terminating NUL in key length.
45362 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45365         Add artificial ODP entry for vDSO symbol for PPC64.
45366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45367         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45369 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45371         [BZ #15374]
45372         * nss/getent.c (services_keys): Recognize services starting with digit.
45374 2013-11-06  David S. Miller  <davem@davemloft.net>
45376         [BZ #15985]
45377         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45378         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45380 2013-11-06  Will Newton  <will.newton@linaro.org>
45382         * manual/memory.texi (Malloc Examples): Remove register
45383         keyword from examples.
45385 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45387         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45389 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45391         [BZ #6981]
45392         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45393         depending on [__GCC_IEC_559 > 0].
45394         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45395         depending on [__GCC_IEC_559_COMPLEX > 0].
45397 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45399         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45400         to iso-639.def.
45402 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45404         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45406 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45408         [BZ #16112]
45409         * malloc/malloc (malloc_info): Do not handle first bin as
45410         special case.
45412 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45414         * locale/iso-639.def: Add Central Nahuatl (nhn).
45416 2013-11-01  Bruno Haible  <bruno@clisp.org>
45418         [BZ #7003]
45419         * manual/math.texi (BSD Random): Specify range upper bound as
45420         in POSIX.
45422 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45424         * locale/iso-639.def: Add Meadow Mari (mhr).
45426 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45428         [BZ #14752], [BZ #15763]
45429         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45430         Validate name.
45431         * rt/tst_shm.c: Add test for escaping directory.
45433 2013-10-31  Andreas Schwab  <schwab@suse.de>
45435         [BZ #15917]
45436         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45437         followed by 'x' as part of digit sequence.
45438         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45440 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45442         [BZ #16037]
45443         * configure.ac: allow GNU Make 4.0 and greater.
45444         * configure: Regenerated.
45446 2013-10-30  Will Newton  <will.newton@linaro.org>
45448         [BZ #16038]
45449         * malloc/hooks.c (memalign_check): Limit alignment to the
45450         maximum representable power of two.
45451         * malloc/malloc.c (__libc_memalign): Likewise.
45452         * malloc/tst-memalign.c (do_test): Add test for very
45453         large alignment values.
45454         * malloc/tst-posix_memalign.c (do_test): Likewise.
45456 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45458         [BZ #11087]
45459         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45460         (munmap_chunk): Likewise.
45461         (mremap_chunk): Likewise.
45463 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45465         [BZ #15799]
45466         * stdlib/div.c (div): Remove obsolete code.
45467         * stdlib/ldiv.c (ldiv): Likewise.
45468         * stdlib/lldiv.c (lldiv): Likewise.
45470 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         [BZ #16071]
45473         * nss/nss_files/files-XXX.c (get_contents_ret): New
45474         enumerator.
45475         (get_contents): New function.
45476         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45478 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45480         * configure.in: Moved to ...
45481         * configure.ac: ... here. Change reference to configure.in
45482         to configure.ac.
45483         * sysdeps/arm/preconfigure.ac: ... here.
45484         configure.in to configure.ac.
45485         * sysdeps/gnu/configure.in: Moved to ...
45486         * sysdeps/gnu/configure.ac: ... here.
45487         * sysdeps/i386/configure.in: Moved to ...
45488         * sysdeps/i386/configure.ac: ... here.
45489         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45490         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45491         * sysdeps/mach/configure.in: Moved to ...
45492         * sysdeps/mach/configure.ac: ... here.
45493         * sysdeps/mach/hurd/configure.in: Moved to ...
45494         * sysdeps/mach/hurd/configure.ac: ... here.
45495         * sysdeps/powerpc/configure.in: Moved to ...
45496         * sysdeps/powerpc/configure.ac: ... here.
45497         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45498         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45499         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45500         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45501         * sysdeps/s390/s390-32/configure.in: Moved to ...
45502         * sysdeps/s390/s390-32/configure.ac: ... here.
45503         * sysdeps/s390/s390-64/configure.in: Moved to ...
45504         * sysdeps/s390/s390-64/configure.ac: ... here.
45505         * sysdeps/sh/configure.in: Moved to ...
45506         * sysdeps/sh/configure.ac: ... here.
45507         * sysdeps/sparc/configure.in: Moved to ...
45508         * sysdeps/sparc/configure.ac: ... here.
45509         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45510         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45511         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45512         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45513         * sysdeps/x86_64/configure.in: Moved to ...
45514         * sysdeps/x86_64/configure.ac: ... here.
45515         * sysdeps/x86_64/preconfigure.in: Moved to ...
45516         * sysdeps/x86_64/preconfigure.ac: ... here.
45517         * aclocal.m4: Change reference to configure.in to configure.ac.
45518         * config.h.in: Likewise.
45519         * manual/install.texi: Likewise.
45520         * manual/maint.texi: Likewise.
45521         * Makefile: Likewise.
45522         * malloc/Makefile: Likewise.
45523         * nscd/Makefile: Likewise.
45524         * Makeconfig: Change reference to configure.in and
45525         preconfigure.in to configure.ac and preconfigure.ac
45526         respectively.
45527         * INSTALL: Regenerated.
45528         * configure: Likewise.
45529         * sysdeps/gnu/configure: Likewise.
45530         * sysdeps/i386/configure: Likewise.
45531         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45532         * sysdeps/mach/configure: Likewise.
45533         * sysdeps/mach/hurd/configure: Likewise.
45534         * sysdeps/powerpc/configure: Likewise.
45535         * sysdeps/powerpc/powerpc32/configure: Likewise.
45536         * sysdeps/powerpc/powerpc64/configure: Likewise.
45537         * sysdeps/s390/s390-32/configure: Likewise.
45538         * sysdeps/s390/s390-64/configure: Likewise.
45539         * sysdeps/sh/configure: Likewise.
45540         * sysdeps/sparc/configure: Likewise.
45541         * sysdeps/unix/sysv/linux/configure: Likewise.
45542         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45543         * sysdeps/x86_64/configure: Likewise.
45544         * sysdeps/x86_64/preconfigure: Likewise.
45546 2013-10-29  Andreas Schwab  <schwab@suse.de>
45548         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45550 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45552         * benchtests/pow-inputs: Add new inputs.
45554         * benchtests/exp-inputs: Add new inputs.
45556         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45557         conditional check for return value.
45558         (__cos32): Likewise.
45560 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45562         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45563         to provide a boost for large inputs with word alignment.
45564         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45565         implementation based on optimized PPC64 strcpy.
45566         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45567         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45568         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45569         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45571 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45573         [BZ #2801]
45574         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45576 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45578         [BZ #14876]
45579         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45580         * time/tst-strptime.c (day_tests): Add testcase.
45582 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45584         [BZ #14029]
45585         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45587 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45589         [BZ #16074]
45590         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45591         MAP_FAILED on error.
45593 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45595         [BZ #16072]
45596         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45597         heap for large requests.
45599 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45601         [BZ #9954]
45602         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45603         result if the result has no associated interface.
45604         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45605         interface for all 127.X.Y.Z addresses.
45607 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45609         * locale/iso-639.def: Add Ligurian (lij)
45611 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45613         [BZ #15825]
45614         * sunrpc/rpc_main.c: Document rpcgen -5.
45616 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45618         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45620 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45622         [BZ #10278]
45623         * posix/glob.c: Match only directories when trailing slash is present.
45624         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45625         (main): Add testcase.
45627 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45629         [BZ #15670]
45630         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45632 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45634         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45635         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45636         AUTH_DES and cindex for FIPS 140-2.
45637         (DES Encryption): Add cindex FIPS 46-3.
45639         * locale/locarchive.h (struct locarhandle): Add fname.
45640         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45641         if an optional argument was specified to --list-archive,
45642         otherwise NULL.
45643         * locale/programs/locarchive.c (show_archive_content): Take new
45644         argument fname and pass it via ah.fname to open_archive.
45645         * locale/programs/localedef.h: Update decl.
45646         (open_archive): If AH->fname is non-null, open that file
45647         rather than the default file name, and don't ignore ENOENT.
45648         (create_archive): Set AH.fname to NULL.
45649         (delete_locales_from_archive): Likewise.
45650         (add_locales_to_archive): Likewise.
45651         * locale/programs/locfile.c (write_all_categories): Likewise.
45653 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45654             Aldy Hernandez  <aldyh@redhat.com>
45656         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45657         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45658         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45659         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45660         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45661         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45662         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45663         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45664         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45665         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45666         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45667         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45668         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45669         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45670         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45671         Likewise.
45672         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45673         Likewise.
45674         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45675         Likewise.
45676         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45677         Likewise.
45678         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45679         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45680         Likewise.
45681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45682         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45683         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45684         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45685         Likewise.
45686         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45687         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45688         * sysdeps/powerpc/preconfigure: Likewise.
45689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45690         Likewise.
45691         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45692         Replace contents of file by #include of <fenv_libc.h>.
45693         * sysdeps/powerpc/soft-fp/sfp-machine.h
45694         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45695         and <sys/prctl.h>.
45696         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45709         Allow copysignl PLT reference to be missing.
45711 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45712             Joseph Myers  <joseph@codesourcery.com
45714         [BZ #15948]
45715         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45716         single character.
45717         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45719 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45721         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45722         * elf/tst-tls1.c: Likewise.
45723         * elf/tst-tls10.h: Likewise.
45724         * elf/tst-tls14.c: Likewise.
45725         * elf/tst-tls2.c: Likewise.
45726         * elf/tst-tls3.c: Likewise.
45727         * elf/tst-tls4.c: Likewise.
45728         * elf/tst-tls5.c: Likewise.
45729         * elf/tst-tls6.c: Likewise.
45730         * elf/tst-tls7.c: Likewise.
45731         * elf/tst-tls8.c: Likewise.
45732         * elf/tst-tls9.c: Likewise.
45733         * elf/tst-tlsmod1.c: Likewise.
45734         * elf/tst-tlsmod13.c: Likewise.
45735         * elf/tst-tlsmod13a.c: Likewise.
45736         * elf/tst-tlsmod14a.c: Likewise.
45737         * elf/tst-tlsmod16a.c: Likewise.
45738         * elf/tst-tlsmod16b.c: Likewise.
45739         * elf/tst-tlsmod2.c: Likewise.
45740         * elf/tst-tlsmod3.c: Likewise.
45741         * elf/tst-tlsmod4.c: Likewise.
45742         * elf/tst-tlsmod5.c: Likewise.
45743         * elf/tst-tlsmod6.c: Likewise.
45745 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45747         [BZ #12486]
45748         * malloc/malloc.c: remove checks for statistics.
45750 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45752         [BZ #15277]
45753         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45754         * inet/tst-network.c: Add testcase.
45756 2013-10-17  Andreas Schwab  <schwab@suse.de>
45758         [BZ #15218]
45759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45760         to determine canonical name.
45762 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45764         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45765         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45767         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45769         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45771         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45772         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45773         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45774         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45775         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45777         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45778         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45779         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45780         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45781         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45782         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45783         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45784         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45787         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45788         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45789         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45790         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45791         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45792         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45793         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45794         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45796         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45797         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45798         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45799         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45801         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45802         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45803         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45804         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45805         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45806         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45807         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45808         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45809         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45811         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45812         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45813         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45814         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45815         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45817         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45818         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45819         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45821         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45823 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45825         [BZ #16041]
45826         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45827         make result into a quiet NaN.
45829 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45831         * soft-fp/adddf3.c: Fix horizontal whitespace.
45832         * soft-fp/addsf3.c: Likewise.
45833         * soft-fp/addtf3.c: Likewise.
45834         * soft-fp/divdf3.c: Likewise.
45835         * soft-fp/divsf3.c: Likewise.
45836         * soft-fp/divtf3.c: Likewise.
45837         * soft-fp/double.h: Likewise.
45838         * soft-fp/eqdf2.c: Likewise.
45839         * soft-fp/eqsf2.c: Likewise.
45840         * soft-fp/eqtf2.c: Likewise.
45841         * soft-fp/extenddftf2.c: Likewise.
45842         * soft-fp/extended.h: Likewise.
45843         * soft-fp/extendsfdf2.c: Likewise.
45844         * soft-fp/extendsftf2.c: Likewise.
45845         * soft-fp/extendxftf2.c: Likewise.
45846         * soft-fp/fixdfdi.c: Likewise.
45847         * soft-fp/fixdfsi.c: Likewise.
45848         * soft-fp/fixdfti.c: Likewise.
45849         * soft-fp/fixsfdi.c: Likewise.
45850         * soft-fp/fixsfsi.c: Likewise.
45851         * soft-fp/fixsfti.c: Likewise.
45852         * soft-fp/fixtfdi.c: Likewise.
45853         * soft-fp/fixtfsi.c: Likewise.
45854         * soft-fp/fixtfti.c: Likewise.
45855         * soft-fp/fixunsdfdi.c: Likewise.
45856         * soft-fp/fixunsdfsi.c: Likewise.
45857         * soft-fp/fixunsdfti.c: Likewise.
45858         * soft-fp/fixunssfdi.c: Likewise.
45859         * soft-fp/fixunssfsi.c: Likewise.
45860         * soft-fp/fixunssfti.c: Likewise.
45861         * soft-fp/fixunstfdi.c: Likewise.
45862         * soft-fp/fixunstfsi.c: Likewise.
45863         * soft-fp/fixunstfti.c: Likewise.
45864         * soft-fp/floatdidf.c: Likewise.
45865         * soft-fp/floatdisf.c: Likewise.
45866         * soft-fp/floatditf.c: Likewise.
45867         * soft-fp/floatsidf.c: Likewise.
45868         * soft-fp/floatsisf.c: Likewise.
45869         * soft-fp/floatsitf.c: Likewise.
45870         * soft-fp/floattidf.c: Likewise.
45871         * soft-fp/floattisf.c: Likewise.
45872         * soft-fp/floattitf.c: Likewise.
45873         * soft-fp/floatundidf.c: Likewise.
45874         * soft-fp/floatundisf.c: Likewise.
45875         * soft-fp/floatunditf.c: Likewise.
45876         * soft-fp/floatunsidf.c: Likewise.
45877         * soft-fp/floatunsisf.c: Likewise.
45878         * soft-fp/floatunsitf.c: Likewise.
45879         * soft-fp/floatuntidf.c: Likewise.
45880         * soft-fp/floatuntisf.c: Likewise.
45881         * soft-fp/floatuntitf.c: Likewise.
45882         * soft-fp/fmadf4.c: Likewise.
45883         * soft-fp/fmasf4.c: Likewise.
45884         * soft-fp/fmatf4.c: Likewise.
45885         * soft-fp/gedf2.c: Likewise.
45886         * soft-fp/gesf2.c: Likewise.
45887         * soft-fp/getf2.c: Likewise.
45888         * soft-fp/ledf2.c: Likewise.
45889         * soft-fp/lesf2.c: Likewise.
45890         * soft-fp/letf2.c: Likewise.
45891         * soft-fp/muldf3.c: Likewise.
45892         * soft-fp/mulsf3.c: Likewise.
45893         * soft-fp/multf3.c: Likewise.
45894         * soft-fp/negdf2.c: Likewise.
45895         * soft-fp/negsf2.c: Likewise.
45896         * soft-fp/negtf2.c: Likewise.
45897         * soft-fp/op-1.h: Likewise.
45898         * soft-fp/op-2.h: Likewise.
45899         * soft-fp/op-4.h: Likewise.
45900         * soft-fp/op-8.h: Likewise.
45901         * soft-fp/op-common.h: Likewise.
45902         * soft-fp/quad.h: Likewise.
45903         * soft-fp/single.h: Likewise.
45904         * soft-fp/soft-fp.h: Likewise.
45905         * soft-fp/sqrtdf2.c: Likewise.
45906         * soft-fp/sqrtsf2.c: Likewise.
45907         * soft-fp/sqrttf2.c: Likewise.
45908         * soft-fp/subdf3.c: Likewise.
45909         * soft-fp/subsf3.c: Likewise.
45910         * soft-fp/subtf3.c: Likewise.
45911         * soft-fp/truncdfsf2.c: Likewise.
45912         * soft-fp/trunctfdf2.c: Likewise.
45913         * soft-fp/trunctfsf2.c: Likewise.
45914         * soft-fp/trunctfxf2.c: Likewise.
45915         * soft-fp/unorddf2.c: Likewise.
45916         * soft-fp/unordsf2.c: Likewise.
45917         * soft-fp/unordtf2.c: Likewise.
45919 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45921         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45922         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45924 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45926         * elf/dl-libc.c: Clear initfini list after freeing.
45928 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45930         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45931         * soft-fp/addsf3.c: Likewise.
45932         * soft-fp/addtf3.c: Likewise.
45933         * soft-fp/divdf3.c: Likewise.
45934         * soft-fp/divsf3.c: Likewise.
45935         * soft-fp/divtf3.c: Likewise.
45936         * soft-fp/double.h: Likewise.
45937         * soft-fp/eqdf2.c: Likewise.
45938         * soft-fp/eqsf2.c: Likewise.
45939         * soft-fp/eqtf2.c: Likewise.
45940         * soft-fp/extenddftf2.c: Likewise.
45941         * soft-fp/extended.h: Likewise.
45942         * soft-fp/extendsfdf2.c: Likewise.
45943         * soft-fp/extendsftf2.c: Likewise.
45944         * soft-fp/extendxftf2.c: Likewise.
45945         * soft-fp/fixdfdi.c: Likewise.
45946         * soft-fp/fixdfsi.c: Likewise.
45947         * soft-fp/fixdfti.c: Likewise.
45948         * soft-fp/fixsfdi.c: Likewise.
45949         * soft-fp/fixsfsi.c: Likewise.
45950         * soft-fp/fixsfti.c: Likewise.
45951         * soft-fp/fixtfdi.c: Likewise.
45952         * soft-fp/fixtfsi.c: Likewise.
45953         * soft-fp/fixtfti.c: Likewise.
45954         * soft-fp/fixunsdfdi.c: Likewise.
45955         * soft-fp/fixunsdfsi.c: Likewise.
45956         * soft-fp/fixunsdfti.c: Likewise.
45957         * soft-fp/fixunssfdi.c: Likewise.
45958         * soft-fp/fixunssfsi.c: Likewise.
45959         * soft-fp/fixunssfti.c: Likewise.
45960         * soft-fp/fixunstfdi.c: Likewise.
45961         * soft-fp/fixunstfsi.c: Likewise.
45962         * soft-fp/fixunstfti.c: Likewise.
45963         * soft-fp/floatdidf.c: Likewise.
45964         * soft-fp/floatdisf.c: Likewise.
45965         * soft-fp/floatditf.c: Likewise.
45966         * soft-fp/floatsidf.c: Likewise.
45967         * soft-fp/floatsisf.c: Likewise.
45968         * soft-fp/floatsitf.c: Likewise.
45969         * soft-fp/floattidf.c: Likewise.
45970         * soft-fp/floattisf.c: Likewise.
45971         * soft-fp/floattitf.c: Likewise.
45972         * soft-fp/floatundidf.c: Likewise.
45973         * soft-fp/floatundisf.c: Likewise.
45974         * soft-fp/floatunsidf.c: Likewise.
45975         * soft-fp/floatunsisf.c: Likewise.
45976         * soft-fp/floatuntidf.c: Likewise.
45977         * soft-fp/floatuntisf.c: Likewise.
45978         * soft-fp/floatuntitf.c: Likewise.
45979         * soft-fp/fmadf4.c: Likewise.
45980         * soft-fp/fmasf4.c: Likewise.
45981         * soft-fp/fmatf4.c: Likewise.
45982         * soft-fp/gedf2.c: Likewise.
45983         * soft-fp/gesf2.c: Likewise.
45984         * soft-fp/getf2.c: Likewise.
45985         * soft-fp/ledf2.c: Likewise.
45986         * soft-fp/lesf2.c: Likewise.
45987         * soft-fp/letf2.c: Likewise.
45988         * soft-fp/muldf3.c: Likewise.
45989         * soft-fp/mulsf3.c: Likewise.
45990         * soft-fp/multf3.c: Likewise.
45991         * soft-fp/negdf2.c: Likewise.
45992         * soft-fp/negsf2.c: Likewise.
45993         * soft-fp/negtf2.c: Likewise.
45994         * soft-fp/op-1.h: Likewise.
45995         * soft-fp/op-2.h: Likewise.
45996         * soft-fp/op-4.h: Likewise.
45997         * soft-fp/op-8.h: Likewise.
45998         * soft-fp/op-common.h: Likewise.
45999         * soft-fp/quad.h: Likewise.
46000         * soft-fp/single.h: Likewise.
46001         * soft-fp/soft-fp.h: Likewise.
46002         * soft-fp/sqrtdf2.c: Likewise.
46003         * soft-fp/sqrtsf2.c: Likewise.
46004         * soft-fp/sqrttf2.c: Likewise.
46005         * soft-fp/subdf3.c: Likewise.
46006         * soft-fp/subsf3.c: Likewise.
46007         * soft-fp/subtf3.c: Likewise.
46008         * soft-fp/truncdfsf2.c: Likewise.
46009         * soft-fp/trunctfdf2.c: Likewise.
46010         * soft-fp/trunctfsf2.c: Likewise.
46011         * soft-fp/trunctfxf2.c: Likewise.
46012         * soft-fp/unorddf2.c: Likewise.
46013         * soft-fp/unordsf2.c: Likewise.
46014         * soft-fp/unordtf2.c: Likewise.
46016 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46018         [BZ #15672]
46019         * misc/error.c (error_tail): Fix possible buffer overflow.
46021 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46023         [BZ #13028]
46024         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46025         address.
46027 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46029         [BZ #832]
46030         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46031         testing pipefail option.
46033 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46035         * soft-fp/double.h: Indent preprocessor directives inside #if.
46036         * soft-fp/extended.h: Likewise.
46037         * soft-fp/op-2.h: Likewise.
46038         * soft-fp/op-4.h: Likewise.
46039         * soft-fp/op-common.h: Likewise.
46040         * soft-fp/quad.h: Likewise.
46041         * soft-fp/single.h: Likewise.
46042         * soft-fp/soft-fp.h: Likewise.
46044 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46046         * iconv/iconv_prog.c: Fix typos.
46047         * stdio-common/psiginfo-data.h: Likewise.
46049 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46051         [BZ #15764]
46052         * locale/setlocale.c: Fix typo.
46054 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46056         [BZ #16036]
46057         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46058         signaling NaN arguments.
46059         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46060         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46062         [BZ #14910]
46063         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46064         unordered operands.
46065         * soft-fp/gesf2.c (__gesf2): Likewise.
46066         * soft-fp/getf2.c (__getf2): Likewise.
46067         * soft-fp/ledf2.c (__ledf2): Likewise.
46068         * soft-fp/lesf2.c (__lesf2): Likewise.
46069         * soft-fp/letf2.c (__letf2): Likewise.
46071         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46072         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46073         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46074         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46075         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46076         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46077         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46078         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46079         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46080         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46081         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46082         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46083         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46084         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46085         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46086         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46087         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46088         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46089         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46090         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46091         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46092         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46093         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46094         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46095         * soft-fp/floattidf.c (__floattidf): Likewise.
46096         * soft-fp/floattisf.c (__floattisf): Likewise.
46097         * soft-fp/floattitf.c (__floattitf): Likewise.
46098         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46099         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46100         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46101         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46102         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46103         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46104         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46105         * soft-fp/gesf2.c (__gesf2): Likewise.
46106         * soft-fp/getf2.c (__getf2): Likewise.
46107         * soft-fp/ledf2.c (__ledf2): Likewise.
46108         * soft-fp/lesf2.c (__lesf2): Likewise.
46109         * soft-fp/letf2.c (__letf2): Likewise.
46111         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46112         Undefine and redefine.
46113         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46114         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46115         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46116         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46117         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46118         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46119         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46120         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46121         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46122         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46123         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46124         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46125         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46126         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46127         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46129         [BZ #16032]
46130         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46131         without decrementing exponent if mantissa >= that for the
46132         denominator, not >.
46133         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46134         denominator, not >.  Decrement exponent in < case instead of
46135         incrementing in >= case.
46136         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46137         without decrementing exponent if mantissa >= that for the
46138         denominator, not >.
46140         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46141         computing saturated result for unsigned overflow.
46143 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46144             Jeff Law  <law@redhat.com>
46146         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46147         (atan2Mp): Add systemtap probe marker.
46148         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46149         (__ieee754_log): Add systemtap probe marker.
46150         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46151         (atanMp): Add systemtap probe marker.
46152         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46153         (tanMp): Add systemtap probe marker.
46154         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46155         (__slowexp): Add systemtap probe marker.
46156         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46157         (__slowpow): Add systemtap probe marker.
46158         * manual/probes.texi: Document probes.
46160 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46162         [BZ #15362]
46163         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46164         written.
46165         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46166         written.
46167         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46168         written to buffer but not flushed.
46169         * libio/iofwrite_u.c:  Likewise.
46170         * libio/iopadn.c:  Return bytes returned even if EOF was
46171         encountered.
46172         * libio/iowpadn.c:  Likewise.
46173         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46174         if _IO_padn does not write the whole buffer.
46175         [!COMPILE_WPRINTF] (PAD): Likewise.
46177 2013-10-10  David S. Miller  <davem@davemloft.net>
46179         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46180         directory block.
46182 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46184         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46185         instead of FSF address.
46186         * soft-fp/fixdfti.c: Likewise.
46187         * soft-fp/fixsfti.c: Likewise.
46188         * soft-fp/fixtfti.c: Likewise.
46189         * soft-fp/fixunsdfti.c: Likewise.
46190         * soft-fp/fixunssfti.c: Likewise.
46191         * soft-fp/fixunstfti.c: Likewise.
46192         * soft-fp/floattidf.c: Likewise.
46193         * soft-fp/floattisf.c: Likewise.
46194         * soft-fp/floattitf.c: Likewise.
46195         * soft-fp/floatuntidf.c: Likewise.
46196         * soft-fp/floatuntisf.c: Likewise.
46197         * soft-fp/floatuntitf.c: Likewise.
46198         * soft-fp/trunctfxf2.c: Likewise.
46200         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46201         * soft-fp/fixdfti.c: Likewise.
46202         * soft-fp/fixsfti.c: Likewise.
46203         * soft-fp/fixtfti.c: Likewise.
46204         * soft-fp/fixunsdfti.c: Likewise.
46205         * soft-fp/fixunssfti.c: Likewise.
46206         * soft-fp/fixunstfti.c: Likewise.
46207         * soft-fp/floattidf.c: Likewise.
46208         * soft-fp/floattisf.c: Likewise.
46209         * soft-fp/floattitf.c: Likewise.
46210         * soft-fp/floatuntidf.c: Likewise.
46211         * soft-fp/floatuntisf.c: Likewise.
46212         * soft-fp/floatuntitf.c: Likewise.
46213         * soft-fp/trunctfxf2.c: Likewise.
46215 2013-10-10  David S. Miller  <davem@davemloft.net>
46217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46219 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46221         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46222         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46223         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46224         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46225         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46226         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46227         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46230         for NaNs before doing comparisons on argument.
46231         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46232         Likewise.
46234 2013-10-10  Will Newton  <will.newton@linaro.org>
46236         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46237         passed to _int_memalign does not overflow.
46239 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46241         * scripts/bench.pl: Add include-sources directive.
46242         * benchtests/README: Update documentation.
46244 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46246         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46247         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46248         instead of FP_INIT_ROUNDMODE.
46249         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46250         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46252         [BZ #16034]
46253         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46254         copy class of input value.
46255         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46256         not handle exceptions.
46257         * soft-fp/negsf2.c (__negsf2): Likewise.
46258         * soft-fp/negtf2.c (__negtf2): Likewise.
46259         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46261 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46263         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46264         semicolon.  From Linux kernel.
46266 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46268         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46270 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46272         [BZ #156]
46273         * manual/socket.texi: Added statement about buffer
46274         for gethostbyname2_r.
46276 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46278         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46279         Use .p2align directive instead, throughout.
46280         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46281         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46282         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46285         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46286         * sysdeps/x86_64/strchr.S: Likewise.
46287         * sysdeps/x86_64/strrchr.S: Likewise.
46289 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46291         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46293         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46295         * sysdeps/generic/math_private.h (__mpsin1): Remove
46296         declaration.
46297         (__mpcos1): Likewise.
46298         (__mpsin): New argument __range_reduce.
46299         (__mpcos): Likewise.
46300         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46301         (slow): Use __mpsin and __mpcos.
46302         (slow1): Likewise.
46303         (slow2): Likewise.
46304         (sloww): Likewise.
46305         (sloww1): Likewise.
46306         (sloww2): Likewise.
46307         (bsloww): Likewise.
46308         (bsloww1): Likewise.
46309         (bsloww2): Likewise.
46310         (cslow2): Likewise.
46311         (csloww): Likewise.
46312         (csloww1): Likewise.
46313         (csloww2): Likewise.
46314         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46315         range_reduce.  Merge in __mpsin1.
46316         (__mpcos): Likewise.
46317         (__mpsin1): Remove.
46318         (__mpcos1): Likewise.
46320 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46322         * locale/loadlocale.c (_nl_intern_locale_data): Use
46323         LOCFILE_ALIGNED_P.
46324         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46325         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46326         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46327         obstack data is appropriately aligned.
46328         (obstack_int32_grow_fast): Likewise.
46329         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46330         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46331         (add_locale_uint32_array): Likewise.
46333 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46335         * benchtests/Makefile: Remove ARGLIST and RET variables.
46336         ($(objpfx)bench-%.c): Pass only function name to the script.
46337         * benchtests/README: Update documentation.
46338         * benchtests/acos-inputs: Add new directives.
46339         * benchtests/acosh-inputs: Likewise.
46340         * benchtests/asin-inputs: Likewise.
46341         * benchtests/asinh-inputs: Likewise.
46342         * benchtests/atan-inputs: Likewise.
46343         * benchtests/atanh-inputs: Likewise.
46344         * benchtests/cos-inputs: Likewise.
46345         * benchtests/cosh-inputs: Likewise.
46346         * benchtests/exp-inputs: Likewise.
46347         * benchtests/log-inputs: Likewise.
46348         * benchtests/pow-inputs: Likewise.
46349         * benchtests/rint-inputs: Likewise.
46350         * benchtests/sin-inputs: Likewise.
46351         * benchtests/sinh-inputs: Likewise.
46352         * benchtests/tan-inputs: Likewise.
46353         * benchtests/tanh-inputs: Likewise.
46354         * scripts/bench.pl: Add support for new directives.
46356 2013-10-07  Alan Modra  <amodra@gmail.com>
46358         * README: Fix careless merge.
46360 2013-10-05  Alan Modra  <amodra@gmail.com>
46362         * NEWS: Mention powerpc64le support and bugs fixed.
46363         * README: Both big-endian and little-endian powerpc64 supported.
46365 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46367         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46368         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46369         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46370         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46372 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46374         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46375         match prototype.
46377 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46379         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46380         Move -mhard-float appending from
46381         ports/sysdeps/powerpc/powerpc32/Makefile.
46382         [$(with-fp) = yes] (ASFLAGS): Likewise.
46383         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46384         * sysdeps/powerpc/nofpu: Move directory from
46385         ports/sysdeps/powerpc/nofpu.
46386         * sysdeps/powerpc/soft-fp: Move directory from
46387         ports/sysdeps/powerpc/soft-fp.
46388         * sysdeps/powerpc/powerpc32/405: Move directory from
46389         ports/sysdeps/powerpc/powerpc32/405.
46390         * sysdeps/powerpc/powerpc32/440: Move directory from
46391         ports/sysdeps/powerpc/powerpc32/440.
46392         * sysdeps/powerpc/powerpc32/464: Move directory from
46393         ports/sysdeps/powerpc/powerpc32/464.
46394         * sysdeps/powerpc/powerpc32/476: Move directory from
46395         ports/sysdeps/powerpc/powerpc32/476.
46396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46399         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46401         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46403         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46405         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46406         * README: Update for powerpc-*-linux-gnu software floating point
46407         support in libc.
46409         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46410         case to powerpc/powerpc32*.
46411         * sysdeps/unix/sysv/linux/configure: Regenerated.
46413         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46414         (_FPU_MASK_OM): Define as 0x04.
46415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46417         0x00c10080.
46418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46419         0x0000003c.
46420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46423         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46424         getcontext_e500.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46426         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46427         setcontext_e500.
46428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46429         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46430         and setcontext_e500.
46432 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46434         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46436 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46438         * manual/threads.texi (Default Thread Attributes): Fix typo.
46440 2013-10-04  Will Newton  <will.newton@linaro.org>
46442         * malloc/Makefile: Add tst-memalign.
46443         * malloc/tst-memalign.c: New file.
46445         * malloc/tst-posix_memalign.c: Add comments.
46446         (do_test): Add comments and call free on all potentially
46447         allocated pointers. Add space after cast.
46449         * malloc/tst-pvalloc.c: Add comments.
46450         (do_test): Add comments and call free on all potentially
46451         allocated pointers. Remove duplicate check for NULL pointer.
46452         Add space after cast.
46454         * malloc/tst-valloc.c: Add comments.
46455         (do_test): Add comments and call free on all potentially
46456         allocated pointers. Remove duplicate check for NULL pointer.
46457         Add space after cast.
46459 2013-10-04  Alan Modra  <amodra@gmail.com>
46461         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46462         Use stdint types in rather than __attribute__((mode())).
46463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46465 2013-10-04  Alan Modra  <amodra@gmail.com>
46467         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46468         Correct handling of unaligned relocs for little-endian.
46469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46471 2013-10-04  Alan Modra  <amodra@gmail.com>
46473         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46474         * configure: Regenerate.
46475         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46476         * shlib-versions: Likewise.
46478 2013-10-04  Alan Modra  <amodra@gmail.com>
46480         * string/tester.c (test_memrchr): Increment reported test cycle.
46482 2013-10-04  Alan Modra  <amodra@gmail.com>
46484         * string/test-memcpy.c (do_one_test): When reporting errors, print
46485         string address and don't overrun end of string.
46487 2013-10-04  Alan Modra  <amodra@gmail.com>
46489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46490         insrdi.  Make better use of reg selection to speed exit slightly.
46491         Schedule entry path a little better.  Remove useless "are we done"
46492         checks on entry to main loop.  Handle wrapping around zero address.
46493         Correct main loop count.  Handle single left-over word from main
46494         loop inline rather than by using loop_small.  Remove extra word
46495         case in loop_small caused by wrong loop count.  Add little-endian
46496         support.
46497         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46498         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46499         cache hint.
46500         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46501         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46502         support.  Avoid rlwimi.
46503         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46505 2013-10-04  Alan Modra  <amodra@gmail.com>
46507         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46508         insrdi.  Formatting.
46509         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46510         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46511         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46512         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46513         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46514         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46516 2013-10-04  Alan Modra  <amodra@gmail.com>
46518         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46520         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46521         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46522         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46523         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46524         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46525         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46526         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46527         use of regs.  Use power7 mtocrf.  Tidy function tails.
46529 2013-10-04  Alan Modra  <amodra@gmail.com>
46531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46532         Formatting.  Consistently use rXXX register defines or rN defines.
46533         Use early exit labels that avoid restoring unused non-volatile regs.
46534         Make cr field use more consistent with rWORDn compares.  Rename
46535         regs used as shift registers for unaligned loop, using rN defines
46536         for short lifetime/multiple use regs.
46537         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46538         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46539         addi 1,1,64 to pop stack frame.  Simplify return value code.
46540         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46542 2013-10-04  Alan Modra  <amodra@gmail.com>
46544         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46545         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46546         rather than rlwimi.
46547         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46548         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46549         little-endian support.  Correct typos.
46550         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46551         rather than rlwimi.
46552         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46553         in loop and entry code to keep "and." results.
46554         (strchr): Add little-endian support.  Comment.  Move cntlzd
46555         earlier in tail.
46556         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46558 2013-10-04  Alan Modra  <amodra@gmail.com>
46560         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46561         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46562         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46563         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46565 2013-10-04  Alan Modra  <amodra@gmail.com>
46567         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46568         (rTMP): Define as r11.
46569         (strcmp): Add little-endian support.  Optimise tail.
46570         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46571         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46572         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46573         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46574         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46575         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46578 2013-10-04  Alan Modra  <amodra@gmail.com>
46580         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46581         little-endian support.  Remove unnecessary "are we done" tests.
46582         Handle "s" wrapping around zero and extremely large "size".
46583         Correct main loop count.  Handle single left-over word from main
46584         loop inline rather than by using small_loop.  Correct comments.
46585         Delete "zero" tail, use "end_max" instead.
46586         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46588 2013-10-04  Alan Modra  <amodra@gmail.com>
46590         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46591         support.  Don't branch over align.
46592         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46593         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46594         support.  Rearrange tmp reg use to suit.  Comment.
46595         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46597 2013-10-04  Alan Modra  <amodra@gmail.com>
46599         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46601 2013-10-04  Alan Modra  <amodra@gmail.com>
46603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46604         conditional form of branch and link when obtaining pc.
46605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46607 2013-10-04  Alan Modra  <amodra@gmail.com>
46609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46610         HIWORD/LOWORD.
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46614 2013-10-04  Alan Modra  <amodra@gmail.com>
46616         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46617         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46618         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46619         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46620         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46621         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46622         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46623         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46624         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46625         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46627 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46628             Alistair Popple <alistair@ozlabs.au.ibm.com>
46629             Alan Modra <amodra@gmail.com>
46631         [BZ #15723]
46632         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46633         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46634         _dl_hwcap access for little-endian.
46635         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46636         destroy vmx regs when saving unaligned.
46637         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46638         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46639         destroy vmx regs when saving unaligned.
46641 2013-10-04  Alan Modra  <amodra@gmail.com>
46643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46644         Don't use a union to pack hi/low value.
46646 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46648         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46649         for little-endian.
46650         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46651         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46652         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46653         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46654         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46656 2013-10-04  Alan Modra  <amodra@gmail.com>
46658         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46659         constants to usual value for .cst8 section, and remove redundant
46660         high address load.
46661         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46662         constant for 0x1p52.  Load little-endian words of double from
46663         correct stack offsets.
46665 2013-10-04  Alan Modra  <amodra@gmail.com>
46667         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46668         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46669         words of double from correct stack offsets.
46670         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46671         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46672         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46674         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46675         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46676         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46677         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46678         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46679         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46680         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46681         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46682         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46683         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46684         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46685         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46686         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46688 2013-10-04  Alan Modra  <amodra@gmail.com>
46690         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46691         64-bit int/double union.
46692         (_FPU_SETCW): Likewise.
46693         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46694         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46696 2013-10-04  Alan Modra  <amodra@gmail.com>
46698         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46699         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46701 2013-10-04  Alan Modra  <amodra@gmail.com>
46703         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46704         use vector int constants.
46705         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46707 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46709         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46710         array with long long.
46711         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46712         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46713         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46714         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46715         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46716         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46717         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46718         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46719         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46720         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46721         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46722         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46723         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46725 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46727         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46728         (__signbit): Likewise.  Correct for little-endian.
46729         (__signbitl): Call __signbit.
46730         (lrint): Correct for little-endian.
46731         (lrintf): Call lrint.
46733 2013-10-04  Alan Modra  <amodra@gmail.com>
46735         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46736         union 32-bit int array member with 64-bit int array.
46737         (t515, tm256): Double rather than long double.
46738         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46740 2013-10-04  Alan Modra  <amodra@gmail.com>
46742         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46743         Delete.
46744         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46745         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46746         version of math_ldbl.h.
46748 2013-10-04  Alan Modra  <amodra@gmail.com>
46750         [BZ #15734], [BZ #15735]
46751         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46752         all uses of ieee875 long double macros and unions.  Simplify test
46753         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46754         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46755         normalize after ldbl_extract_mantissa, and don't add hidden bit
46756         already handled.  Don't treat low word of ieee854 mantissa like
46757         low word of IBM long double and mask off bit when testing for
46758         zero.
46759         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46760         all uses of ieee875 long double macros and unions.  Simplify tests
46761         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46762         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46763         two1022, instead use their values.  Recognise that tests for large
46764         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46765         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46766         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46767         test for 0.0L and nan.  Correct negation.
46768         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46769         ieee875 long double macros and unions.  Correct output for large
46770         magnitude x.  Correct absolute value calculation.
46771         (__erfcl): Likewise.
46772         * math/libm-test.inc: Add tests for errors discovered in IBM long
46773         double versions of fmodl, remainderl, erfl and erfcl.
46775 2013-10-04  Alan Modra  <amodra@gmail.com>
46777         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46778         all uses of ieee854 long double macros and unions.  Simplify tests
46779         for long doubles that are fully specified by the high double.
46780         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46781         Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46783         Remove dead code too.
46784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46785         (__ieee754_ynl): Likewise.
46786         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46787         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46789         Remove dead code too.
46790         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46791         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46792         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46793         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46794         Simplify.
46795         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46796         Simplify.
46797         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46798         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46799         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46800         Comment on variable precision.
46801         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46802         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46803         Likewise.
46804         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46806         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46807         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46808         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46810 2013-10-04  Alan Modra  <amodra@gmail.com>
46812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46813         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46814         all uses of ieee854 long double macros and unions.
46815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46817         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46818         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46821         Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46828         Simplify sign and nan test too.
46829         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46832         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46833         Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46835         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46836         Likewise.
46837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46838         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46839         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46840         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46841         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46844 2013-10-04  Alan Modra  <amodra@gmail.com>
46846         * stdio-common/printf_size.c (__printf_size): Don't use
46847         union ieee854_long_double in fpnum union.
46848         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46849         signbit macro to retrieve sign from long double.
46850         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46851         retrieve sign from long double.
46852         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46853         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46854         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46855         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46856         * math/test-misc.c (main): Don't use union ieee854_long_double.
46858 2013-10-04  Alan Modra  <amodra@gmail.com>
46860         [BZ #15680]
46861         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46862         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46863         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46864         calculation.  Remove unnecessary test for denormal exponent.
46865         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46866         Correct handling of denormals.  Avoid undefined shift behaviour.
46867         Correct normalisation of low mantissa when low double is denormal.
46868         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46869         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46870         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46871         Correct normalisation of low mantissa.  Test for overflow of high
46872         mantissa and normalise.
46873         (ldbl_nearbyint): Use more readable constant for two52.
46874         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46875         (__mpn_construct_long_double): Fix test for overflow of high
46876         mantissa and correct normalisation.  Avoid undefined shift.
46878 2013-10-04  Alan Modra  <amodra@gmail.com>
46880         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46881         (union ibm_extended_long_double): Define as an array of ieee754_double.
46882         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46883         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46884         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46885         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46887         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46889         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46890         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46891         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46894 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46896         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46897         page size instead of calling getpagesize.
46899         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46900         (LOCFILE_ALIGN_MASK): Likewise.
46901         (LOCFILE_ALIGN_UP): Likewise.
46902         (LOCFILE_ALIGNED_P): Likewise.
46903         * locale/programs/ld-collate.c (collate_output): Use the new
46904         macros instead of __alignof__ (int32_t).
46905         * locale/weight.h (findidx): Likewise.
46907 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46909         [BZ #431]
46910         * manual/string.texi: Fix strncat and wcsncat.
46912 2013-10-03  Brooks Moses  <bmoses@google.com>
46914         [BZ #15915]
46915         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46916         * Makerules: ...here, and adjust associated comments.
46918 2013-10-02  Will Newton  <will.newton@linaro.org>
46920         * malloc/Makefile: Add tst-pvalloc.
46921         * malloc/tst-pvalloc.c: New file.
46923 2013-10-02  Will Newton  <will.newton@linaro.org>
46925         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46926         improve test coverage.
46928 2013-10-02  Will Newton  <will.newton@linaro.org>
46930         * malloc/Makefile: Add tst-posix_memalign.
46931         * malloc/tst-posix_memalign.c: New file.
46933 2013-10-01  Eric Blake  <eblake@redhat.com>
46935         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46936         Use __THROWNL rather than __THROW on static functions.
46938 2013-09-30  Petr Machata  <pmachata@redhat.com>
46940         * elf/elf.h (R_AARCH64_ABS16): New macro.
46941         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46942         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46943         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46944         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46945         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46946         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46947         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46948         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46949         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46950         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46951         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46952         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46953         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46954         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46955         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46956         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46957         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46958         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46959         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46960         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46961         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46962         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46963         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46964         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46965         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46966         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46967         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46968         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46969         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46970         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46971         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46972         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46973         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46974         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46975         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46976         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46977         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46978         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46979         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46980         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46981         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46982         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46983         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46984         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46985         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46986         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46987         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46988         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46989         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46990         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46991         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46992         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46993         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46994         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46995         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46996         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46997         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46998         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46999         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47000         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47001         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47002         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47003         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47004         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47005         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47006         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47007         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47008         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47009         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47010         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47011         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47012         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47013         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47014         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47015         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47016         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47017         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47018         (R_AARCH64_TLSDESC_LDR): Likewise.
47019         (R_AARCH64_TLSDESC_ADD): Likewise.
47020         (R_AARCH64_TLSDESC_CALL): Likewise.
47022 2013-09-30  Andreas Schwab  <schwab@suse.de>
47024         [BZ #15048]
47025         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47026         the nss database lookup.
47027         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47030 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47032         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47034 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47036         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47037         ${Bash-specific parameter/pattern/string} parameter expansion.
47038         * sysdeps/unix/make-syscalls.sh: Likewise.
47040 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47042         * sysdeps/sh/stackguard-macros.h: New file.
47044 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47048         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47049         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47050         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47051         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47053 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47055         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47056         Fix thread ID register.
47058 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47060         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47061         [POSIX || UNIX98]: Require rather than permitting all symbols from
47062         <time.h>.
47063         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47064         element of struct sched_param.
47065         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47066         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47067         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47068         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47069         constant.
47071 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47073         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47074         argument calculation.
47076 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47078         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47079         Expect macro.
47080         [POSIX] (pthread_attr_t): Do not require type.
47081         [POSIX] (pthread_cond_t): Likewise.
47082         [POSIX] (pthread_condattr_t): Likewise.
47083         [POSIX] (pthread_key_t): Likewise.
47084         [POSIX] (pthread_mutex_t): Likewise.
47085         [POSIX] (pthread_mutexattr_t): Likewise.
47086         [POSIX] (pthread_once_t): Likewise.
47087         [POSIX] (pthread_t): Likewise.
47088         [POSIX-based standards] (pthread_atfork): Expect function.
47090 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47091             Richard Sandiford  <richard@codesourcery.com>
47093         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47094         (swap_endianness_p): New extern variable.
47095         (set_big_endian): New inline function.
47096         (maybe_swap_uint32): Likewise.
47097         (maybe_swap_uint32_array): Likewise.
47098         (maybe_swap_uint32_obstack): Likewise.
47099         * locale/programs/locfile.c: Include <stdbool.h>.
47100         (swap_endianness_p): New variable.
47101         (add_locale_uint32): Call maybe_swap_uint32.
47102         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47103         (write_locale_data): Call maybe_swap_uint32_array.
47104         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47105         maybe_swap_uint32.
47106         (obstack_int32_grow_fast): Likewise.
47107         (output_weightwc): Call maybe_swap_uint32_obstack.
47108         (collate_output): Likewise.
47109         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47110         (OPT_LITTLE_ENDIAN): Likewise.
47111         (options): Add --little-endian and --big-endian options.
47112         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47113         * locale/programs/locarchive.c: Include "locfile.h".
47114         (GET): New macro.
47115         (SET): Likewise.
47116         (INC): Likewise.
47117         (create_archive): Use the new macros to access fields of
47118         structures directly mapped from or written to locale archives.
47119         (oldlocrecentcmp): Likewise.
47120         (enlarge_archive): Likewise.
47121         (insert_name): Likewise.
47122         (add_alias): Likewise.
47123         (add_locale): Likewise.
47124         (delete_locales_from_archive): Likewise.
47125         (show_archive_content): Likewise.
47126         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47127         locale data.
47129 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47131         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47132         http://www.gnu.org/doc/freemanuals.texi.
47133         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47135 2013-09-24  Will Newton  <will.newton@linaro.org>
47137         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47138         macro.
47140 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47142         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47143         unsigned char.
47145 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47147         * manual/threads.texi (POSIX Threads): Fix a typo.
47149 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47151         [BZ #14547]
47152         * string/tst-strcoll-overflow.c: New test case.
47153         * string/Makefile (xtests): Add tst-strcoll-overflow.
47154         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47155         cache if string sizes may cause integer overflow.
47157         [BZ #14547]
47158         * string/strcoll_l.c (coll_seq): New members rule, idx,
47159         save_idx and back_us.
47160         (get_next_seq_nocache): New function.
47161         (do_compare_nocache): New function.
47162         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47163         when malloc fails.
47165 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47167         [BZ #15754]
47168         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47169         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47170         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47172         [BZ #15754]
47173         * elf/Makefile (tests): Add tst-ptrguard1.
47174         (tests-static): Add tst-ptrguard1-static.
47175         (tst-ptrguard1-ARGS): Define.
47176         (tst-ptrguard1-static-ARGS): Define.
47177         * elf/tst-ptrguard1.c: New file.
47178         * elf/tst-ptrguard1-static.c: New file.
47179         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47180         * sysdeps/i386/stackguard-macros.h: Likewise.
47181         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47182         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47183         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47184         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47185         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47186         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47188 2013-09-23  Hector Marco  <hecmargi@upv.es>
47189             Ismael Ripoll  <iripoll@disca.upv.es>
47190             Carlos O'Donell  <carlos@redhat.com>
47192         [BZ #15754]
47193         * sysdeps/generic/stackguard-macros.h: Define
47194         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47195         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47196         Define __pointer_chk_guard_local.
47197         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47198         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47200 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47202         [BZ #15859]
47203         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47205 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47207         * include/string.h (__ffs): Declare as hidden.
47208         * string/ffs.c (__ffs): Define as hidden.
47209         * sysdeps/i386/ffs.c (__ffs): Likewise.
47210         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47211         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47212         * sysdeps/s390/ffs.c (__ffs): Likewise.
47213         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47215 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47217         * NEWS: Mention malloc probes.
47219         * malloc/arena.c (new_heap): New memory_heap_new probe.
47220         (grow_heap): New memory_heap_more probe.
47221         (shrink_heap): New memory_heap_less probe.
47222         (heap_trim): New memory_heap_free probe.
47223         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47224         (systrim): New memory_sbrk_less probe.
47225         * manual/probes.texi: Document them.
47227         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47228         * manual/probes.texi: Document it.
47230         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47231         (__libc_realloc): Add memory_realloc_retry probe.
47232         (__libc_memalign): Add memory_memalign_retry probe.
47233         (__libc_valloc): Add memory_valloc_retry probe.
47234         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47235         (__libc_calloc): Add memory_calloc_retry probe.
47236         * manual/probes.texi: Document them.
47238         * malloc/arena.c (get_free_list): Add probe
47239         memory_arena_reuse_free_list.
47240         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47241         and memory_arena_reuse.
47242         (arena_get2) [!PER_THREAD]: Likewise.
47243         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47244         memory_arena_reuse_realloc.
47245         * manual/probes.texi: Document them.
47247         * malloc/malloc.c (__libc_free): Add
47248         memory_mallopt_free_dyn_thresholds probe.
47249         (__libc_mallopt): Add multiple memory_mallopt probes.
47250         * manual/probes.texi: Document them.
47252         * malloc/malloc.c: Include stap-probe.h.
47253         (__libc_mallopt): Add memory_mallopt probe.
47254         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47255         * manual/probes.texi: New.
47256         * manual/Makefile (chapters): Add probes.
47257         * manual/threads.texi: Set next node.
47259 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47261         [BZ #15963, #13985]
47262         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47263         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47264         Add `Chinese' to `nan' entry name.
47266 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47268         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47269         (POLYNOMIAL): Likewise.
47270         (TAYLOR_SINCOS): Likewise.
47271         (TAYLOR_SLOW): Likewise.
47272         (__sin): Use TAYLOR_SINCOS.
47273         (__cos): Likewise.
47274         (slow): Use TAYLOR_SLOW.
47275         (sloww): Likewise.
47276         (bsloww): Likewise.
47277         (csloww): Likewise.
47279 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47281         * stdlib/strtod_l.c: Fix buffer overrun.
47283 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47285         * benchtests/Makefile (bench): Add sincos.
47286         * benchtests/bench-sincos.c: New file.
47288         * math/libm-test.inc (cos_test_data): New test inputs.
47289         (sin_test_data): Likewise.
47291         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47292         macro.
47293         (__sin): Use it.
47294         (__cos): Likewise.
47295         (slow1): Likewise.
47296         (slow2): Likewise.
47297         (sloww1): Likewise.
47298         (sloww2): Likewise.
47299         (bsloww1): Likewise.
47300         (bsloww2): Likewise.
47301         (cslow2): Likewise.
47302         (csloww1): Likewise.
47303         (csloww2): Likewise.
47305         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47306         function.
47307         (__sin): Use it.
47308         (__cos): Likewise.
47310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47311         gotos.
47312         (__cos): Likewise.
47314 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47316         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47317         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47318         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47319         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47320         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47321         * elf/cache.c (print_entry): Handle the new cache flags.
47323 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47324             Aldy Hernandez  <aldyh@redhat.com>
47326         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47327         Change condition to [_SOFT_FLOAT].
47328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47340         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47343         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47344         declaration.
47346 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47348         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47349         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47350         (__longjmp): Use LOAD_GP to load saved GPRs.
47351         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47352         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47353         (__sigsetjmp): Use SAVE_GP to save GPRs.
47355         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47356         Do not append -msoft-float.
47357         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47359 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47361         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47363 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47365         [BZ #15966]
47366         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47367         (_FPU_GETCW): Use initial "__" on variable and field names but not
47368         on macro parameter name.
47369         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47370         parentheses around reference to macro parameter.
47372 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47374         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47375         prototype.
47376         (ctype_startup): Use uint32_t in cast and sizeof for
47377         ctype->charnames.
47379 2013-09-11  Jia Liu  <proljc@gmail.com>
47381         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47382         __daddr_t_defined.
47383         [__FreeBSD__]: Likewise.
47385 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47388         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47389         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47390         (strchr): Remove __strchr_sse42 ifunc selection.
47391         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47392         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47394 2013-09-11  Will Newton  <will.newton@linaro.org>
47396         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47397         parameter to RES. Remove hardcoded 1000 value.
47398         * benchtests/bench-skeleton.c (main): Pass RES parameter
47399         to TIMING_INIT and multiply result by 1000.
47401 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47405 2013-09-11  Andreas Schwab  <schwab@suse.de>
47407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47408         if not defined.
47409         (O_TMPFILE) [__USE_GNU]: Define.
47410         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47411         Define.
47413 2013-09-11  Will Newton  <will.newton@linaro.org>
47415         [BZ #15857]
47416         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47417         does not overflow.
47419 2013-09-11  Will Newton  <will.newton@linaro.org>
47421         [BZ #15856]
47422         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47423         does not overflow.
47425 2013-09-11  Will Newton  <will.newton@linaro.org>
47427         [BZ #15855]
47428         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47429         does not overflow.
47431 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47433         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47434         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47435         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47436         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47437         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47439 2013-09-10  Allan McRae  <allan@archlinux.org>
47441         [BZ #15748]
47442         * manual/arith.texi (Parsing of Floats): Clarify
47443         cross-reference.
47445         [BZ #15849]
47446         * manual/install.texi (Running make install): Mention
47447         --enable-pt-chown.
47448         * INSTALL: Regenerated.
47450 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47452         * csu/init-first.c (_init): Remove the !SHARED condition around
47453         FPU control word initialization.
47454         * elf/dl-support.c (_dl_fpu_control): New variable.
47455         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47456         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47457         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47458         * math/test-fpucw-static.c: New file.
47459         * math/test-fpucw-ieee.c: New file.
47460         * math/test-fpucw-ieee-static.c: New file.
47461         * math/Makefile (tests): Add `test-fpucw-ieee' and
47462         `$(tests-static)'.
47463         (tests-static): New variable.
47464         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47465         dependency to...
47466         [($(build-shared),yes)]
47467         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47468         ... this.
47469         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47470         New dependency.
47472 2013-09-09  Allan McRae  <allan@archlinux.org>
47474         [BZ #15939]
47475         * manual/string.texi (Collation Functions): Fix typo in
47476         strcoll example.
47477         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47479         [BZ #15893]
47480         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47482         [BZ #15892]
47483         * libio/memstream.c (open_memstream): Fix memory leak.
47484         * libio/wmemstream.c (open_wmemstream): Likewise.
47486         [BZ #15895]
47487         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47489 2013-09-09  Will Newton  <will.newton@linaro.org>
47491         * malloc/Makefile: Add tst-realloc to tests.
47492         * malloc/tst-realloc.c: New file.
47494 2013-09-09  Allan McRae  <allan@archlinux.org>
47496         [BZ #15844]
47497         * COPYING: Update from GNU website to fix FSF address.
47498         * COPYING.LIB: Likewise.
47500 2013-09-06  David S. Miller  <davem@davemloft.net>
47502         * po/zh_TW.po: Update Chinese (traditional) translation from
47503         translation project.
47505 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47506             Joseph Myers  <joseph@codesourcery.com>
47508         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47509         "localeinfo.h".
47510         (obstack_chunk_alloc): New macro.
47511         (obstack_chunk_free): Likewise.
47512         (record_offset): New function.
47513         (init_locale_data): Likewise.
47514         (align_locale_data): Likewise.
47515         (add_locale_empty): Likewise.
47516         (add_locale_raw_data): Likewise.
47517         (add_locale_raw_obstack): Likewise.
47518         (add_locale_string): Likewise.
47519         (add_locale_wstring): Likewise.
47520         (add_locale_uint32): Likewise.
47521         (add_locale_uint32_array): Likewise.
47522         (add_locale_char): Likewise.
47523         (start_locale_structure): Likewise.
47524         (end_locale_structure): Likewise.
47525         (start_locale_prelude): Likewise.
47526         (end_locale_prelude): Likewise.
47527         (write_locale_data): Take locale_file structure rather than an
47528         iovec.
47529         * locale/programs/locfile.h: Include "obstack.h".
47530         (struct locale_file): Change to store locale file contents instead
47531         of header.
47532         (init_locale_data): New prototype.
47533         (align_locale_data): Likewise.
47534         (add_locale_empty): Likewise.
47535         (add_locale_raw_data): Likewise.
47536         (add_locale_raw_obstack): Likewise.
47537         (add_locale_string): Likewise.
47538         (add_locale_wstring): Likewise.
47539         (add_locale_uint32): Likewise.
47540         (add_locale_uint32_array): Likewise.
47541         (add_locale_char): Likewise.
47542         (start_locale_structure): Likewise.
47543         (end_locale_structure): Likewise.
47544         (start_locale_prelude): Likewise.
47545         (end_locale_prelude): Likewise.
47546         (write_locale_data): Update prototype.
47547         * locale/programs/3level.h (struct TABLE): Remove result field.
47548         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47549         Use new locale_file interface.
47550         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47551         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47552         * locale/programs/ld-address.c (address_output): Use new
47553         locale_file interface.
47554         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47555         NO_ADD_LOCALE.
47556         (collate_finish): Don't call collseq_table_finalize.
47557         (collate_output): Use new locale_file interface.
47558         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47559         in file.
47560         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47561         (TABLE): Move defines earlier in file.
47562         (ELEMENT): Likewise.
47563         (DEFAULT): Likewise.
47564         (wctrans_table_add): Move macro and inline function earlier in
47565         file.
47566         (struct wctype_table): Move type earlier in file.
47567         (add_locale_wctype_table): New static prototype.
47568         (struct locale_ctype_t): Use logical types instead of struct iovec
47569         pointers for members.
47570         (ctype_output): Use new locale_file interface.
47571         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47572         new locale_file interface.
47573         (allocate_arrays): Update for use of new locale_file interface.
47574         * locale/programs/ld-identification.c (identification_output): Use
47575         new locale_file interface.
47576         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47577         * locale/programs/ld-messages.c (messages_output): Likewise.
47578         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47579         * locale/programs/ld-name.c (name_output): Likewise.
47580         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47581         * locale/programs/ld-paper.c (paper_output): Likewise.
47582         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47583         * locale/programs/ld-time.c (time_output): Likewise.
47585 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47587         * benchtests/Makefile: Add memrchr benchmark.
47588         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47589         benchmark as memrchr.
47590         * benchtests/bench-memrchr-ifunc.c: New file.
47591         * benchtests/bench-memrchr.c: New file.
47593 2013-09-06   Will Newton  <will.newton@linaro.org>
47595         * benchtests/Makefile (string-bench): Add memcpy.
47597 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47598             Cong Wang  <amwang@redhat.com>
47600         [BZ #15850]
47601         * sysdeps/unix/sysv/linux/bits/in.h
47602         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47603         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47604         before __USE_KERNEL_IPV6_DEFS uses.
47605         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47606         IPPROTO_BEETPH.
47607         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47608         sockaddr_in6, or ipv6_mreq.
47610 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47612         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47613         memory access for final bytes in some large inputs.
47614         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47616 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47618         * string/test-memrchr.c: New file.
47619         * string/test-memrchr-ifunc.c: New file.
47620         * string/Makefile: Add new memrchr testcase.
47622 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47624         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47625         fanotify_init returns EPERM.
47627 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47629         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47630         errors.
47631         (top level): Treat second token from macro or constant entries for
47632         allowed headers as allowed.
47633         * include/complex.h: Condition internal declarations on
47634         [!_ISOMAC].
47635         * include/fenv.h: Condition include of <stdbool.h> and internal
47636         declarations on [!_ISOMAC].
47638 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47640         [BZ #15923]
47641         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47643 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47645         * configure.in (--enable-versioning): Remove configure option.
47646         (libc_cv_asm_symver_directive): Remove configure test.
47647         (libc_cv_ld_version_script_option): Likewise.
47648         (VERSIONING): Remove variable and AC_SUBST.
47649         (DO_VERSIONING): Remove AC_DEFINE.
47650         * configure: Regenerated.
47651         * config.h.in (DO_VERSIONING): Remove macro.
47652         * Makerules [$(versioning) = yes]: Change conditionals to
47653         [$(build-shared) = yes].
47654         * config.make.in (versioning): Remove variable.
47655         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47656         [$(build-shared) = yes].
47657         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47658         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47659         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47660         [$(build-shared) = yes].
47661         * extra-lib.mk [$(versioning) = yes]: Likewise.
47662         * hurd/Makefile [$(versioning) = yes]: Likewise.
47663         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47664         [SHARED].
47665         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47666         [SHARED].
47667         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47668         [SHARED && !NO_HIDDEN].
47669         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47670         [SHARED].
47671         [SHARED && DO_VERSIONING]: Likewise..
47672         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47673         [$(build-shared) = yes].
47674         * manual/install.texi (--disable-versioning): Remove
47675         documentation.
47676         * INSTALL: Regenerated.
47677         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47678         to [SHARED].
47679         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47680         [$(build-shared) = yes].
47681         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47682         * sysdeps/i386/i686/multiarch/strstr-c.c
47683         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47684         [SHARED && !NO_HIDDEN].
47685         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47686         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47687         * sysdeps/powerpc/powerpc32/dl-machine.c
47688         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47689         * sysdeps/powerpc/powerpc32/sysdep.h
47690         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47691         to [SHARED && PIC && !NO_HIDDEN].
47692         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47693         conditional to [SHARED].
47695 2013-09-04   Will Newton  <will.newton@linaro.org>
47697         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47698         * benchtests/bench-string.h: Include bench-timing.h instead
47699         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47700         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47701         call to HP_TIMING_DIFF_INIT.
47702         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47703         instead of hp-timing.h macros.
47704         * benchtests/bench-memchr.c: Likewise.
47705         * benchtests/bench-memcmp.c: Likewise.
47706         * benchtests/bench-memcpy.c: Likewise.
47707         * benchtests/bench-memmem.c: Likewise.
47708         * benchtests/bench-memmove.c: Likewise.
47709         * benchtests/bench-memset.c: Likewise.
47710         * benchtests/bench-rawmemchr.c: Likewise.
47711         * benchtests/bench-strcasecmp.c: Likewise.
47712         * benchtests/bench-strcasestr.c: Likewise.
47713         * benchtests/bench-strcat.c: Likewise.
47714         * benchtests/bench-strchr.c: Likewise.
47715         * benchtests/bench-strcmp.c: Likewise.
47716         * benchtests/bench-strcpy.c: Likewise.
47717         * benchtests/bench-strcpy_chk.c: Likewise.
47718         * benchtests/bench-strlen.c: Likewise.
47719         * benchtests/bench-strncasecmp.c: Likewise.
47720         * benchtests/bench-strncat.c: Likewise.
47721         * benchtests/bench-strncmp.c: Likewise.
47722         * benchtests/bench-strncpy.c: Likewise.
47723         * benchtests/bench-strnlen.c: Likewise.
47724         * benchtests/bench-strpbrk.c: Likewise.
47725         * benchtests/bench-strrchr.c: Likewise.
47726         * benchtests/bench-strspn.c: Likewise.
47727         * benchtests/bench-strstr.c: Likewise.
47729 2013-09-04  Will Newton  <will.newton@linaro.org>
47731         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47733 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47735         [BZ #15427]
47736         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47737         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47738         * math/libm-test.inc (lgamma_test_data): Add more tests.
47739         * sysdeps/i386/fpu/libm-test-ulps: Update.
47740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47742 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47744         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47746         Add ifunc.
47747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47748         Add strcmp-sse2-unaligned
47749         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47751 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47753         * Versions.def (libc): Add GLIBC_2.19.
47755 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47757         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47758         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47760 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47762         [BZ #14155]
47763         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47764         intermediate calculations in recurrence.
47765         (__ieee754_ynf): Likewise.
47766         * math/libm-test.inc (jn_test_data): Do not allow spurious
47767         underflow exception.  Add more tests.
47768         (yn_test_data): Add more tests.
47769         * sysdeps/i386/fpu/libm-test-ulps: Update.
47770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47772 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47774         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47776 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47778         * csu/init-first.c: Fix then/than typos.
47779         * locale/programs/ld-collate.c: Likewise.
47780         * locale/programs/linereader.h: Likewise.
47781         * manual/charset.texi: Likewise.
47782         * manual/filesys.texi: Likewise.
47783         * manual/stdio.texi: Likewise.
47784         * manual/string.texi: Likewise.
47785         * stdlib/fmtmsg.c: Likewise.
47786         * sysdeps/i386/stpncpy.S: Likewise.
47787         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47788         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47790         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47792 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47794         * elf/dl-open.c: Fix typos.
47795         * iconvdata/gbbig5.c: Likewise.
47796         * iconvdata/iso-2022-jp.c: Likewise.
47797         * iconv/gconv_int.h: Likewise.
47798         * iconv/loop.c: Likewise.
47799         * nis/rpcsvc/nis.h: Likewise.
47800         * resolv/ns_name.c: Likewise.
47801         * stdio-common/vfscanf.c: Likewise.
47802         * streams/stropts.h: Likewise.
47803         * sunrpc/rpc_thread.c: Likewise.
47804         * sysdeps/i386/strpbrk.S: Likewise.
47805         * sysdeps/ieee754/k_standard.c: Likewise.
47806         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47808         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47809         * sysdeps/mach/hurd/profil.c: Likewise.
47810         * sysdeps/s390/dl-procinfo.h: Likewise.
47811         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47812         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47813         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47814         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47817 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47819         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47822 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47824         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47825         aix specific files.
47826         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47827         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47828         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47829         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47830         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47831         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47832         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47833         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47835 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47836             Roland McGrath  <roland@hack.frob.com>
47838         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47839         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47841 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47843         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47844         __executable_start symbol instead of _start.
47846 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47848         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47849         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47850         Move macros to...
47851         * sysdeps/gnu/ldsodefs.h: ... this new file.
47853         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47854         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47855         instead of ELFOSABI_LINUX.
47857         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47858         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47859         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47860         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47861         Likewise.
47862         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47863         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47864         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47865         Likewise.
47866         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47867         (ibm_extended_long_double): Add ieee_nan member.
47868         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47869         (do_test): New function.
47871         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47872         TEST_TRUNC.
47873         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47874         functions, renamed from truncdfsf_test, trunctfsf_test,
47875         trunctfdf_test.
47876         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47877         functions.
47878         (do_test): Run all these.
47880 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47882         * argp/argp-help.c: Fix typos.
47883         * argp/argp-parse.c: Likewise.
47884         * debug/backtracesyms.c: Likewise.
47885         * elf/elf.h: Likewise.
47886         * malloc/malloc.c: Likewise.
47887         * nis/nis_print.c: Likewise.
47888         * resolv/res_comp.c: Likewise.
47889         * stdlib/stdlib.h: Likewise.
47890         * sunrpc/clnt_tcp.c: Likewise.
47891         * sunrpc/clnt_udp.c: Likewise.
47892         * sunrpc/clnt_unix.c: Likewise.
47893         * sysdeps/unix/bsd/ptsname.c: Likewise.
47894         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47895         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47897         Likewise.
47898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47899         Likewise.
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47901         Likewise.
47902         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47904 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47906         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47909 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47911         [BZ #15897]
47912         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47913         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47914         ($(objpfx)bug-dl-leaf): New rule.
47915         ($(objpfx)bug-dl-leaf.so): Likewise.
47916         ($(objpfx)bug-dl-leaf.out): Likewise.
47917         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47918         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47919         * dlfcn/bug-dl-leaf.c: New test.
47920         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47921         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47922         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47923         (dlclose): Likewise.
47924         (dlmopen): Likewise.
47926 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47928         * include/netdb.h [!_ISOMAC]:
47929         Don't include <tls.h>.
47930         (h_errno, __libc_h_errno): Move declaration and macros out of
47931         [_LIBC_REENTRANT].
47933         * include/resolv.h [_RESOLV_H_]:
47934         Don't include <tls.h>.
47935         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47936         * resolv/res_libc.c: Don't include <tls.h>.
47937         (_res): Use __attribute__ ((nocommon)) in place of
47938         __attribute__ ((section (".bss"))).
47940         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47941         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47943         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47945         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47946         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47948         * resolv/res_mkquery.c: Include <sys/time.h>.
47950         * inet/ifreq.c: Moved to ...
47951         * sysdeps/unix/ifreq.c: ... here.
47952         * inet/ifreq.c: New file, true stub version.
47954         * socket/sa_len.c: New file.
47955         * socket/Makefile (aux): Add it.
47956         * sysdeps/unix/sysv/linux/Makefile
47957         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47958         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47959         and #include <socket/sa_len.c>.
47960         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47961         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47963         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47964         * bits/socket.h: ... here.
47966         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47967         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47968         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47970 2013-08-27  Andreas Schwab  <schwab@suse.de>
47972         [BZ #15736]
47973         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47974         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47975         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47976         * string/test-strcasecmp.c (test_main): Run tests in several
47977         locales.
47978         * string/test-strncasecmp.c (test_main): Likewise.
47980         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47981         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47982         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47984         (__strncasecmp_ssse3) [PIC]: Likewise.
47986 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47988         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47990         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47991         instead of explicitly declaring xdecrypt.
47992         * nis/nss_nis/nis-publickey.c: Likewise.
47994 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47996         [BZ #15890]
47997         * nscd/aicache.c: Include res_hconf.h.
47998         (addhstaiX): Initialize res_hconf.
48000 2013-08-26  Andreas Schwab  <schwab@suse.de>
48002         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48003         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48005 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48007         * nscd/aicache.c (addhstaiX): Fix indentation.
48009 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48011         * configure.ac: Quote $build_pt_chown test.
48012         * configure: Regenerated.
48014 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48016         [BZ #15532]
48017         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48018         * math/s_cexpf.c (__cexpf): Likewise.
48019         * math/s_cexpl.c (__cexpl): Likewise.
48020         * math/libm-test.inc (cexp_test_data): Correct expected return
48021         value for NaN + i0.  Add another test.
48023 2013-08-22  David S. Miller  <davem@davemloft.net>
48025         * po/ca.po: Update Catalan translation from translation project.
48026         * po/uk.po: Add Ukrainian translations from translation project.
48028 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48030         [BZ #15797]
48031         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48032         is infinite, not alongside NaN test.
48033         * math/s_fdimf.c (__fdimf): Likewise.
48034         * math/s_fdiml.c (__fdiml): Likewise.
48035         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48036         errno is unchanged.
48038 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48040         * argp/argp-help.c: Fix typos.
48041         * crypt/speeds.c: Likewise.
48042         * csu/check_fds.c: Likewise.
48043         * elf/dl-load.c: Likewise.
48044         * elf/dl-open.c: Likewise.
48045         * elf/reldep3.c: Likewise.
48046         * elf/reldep.c: Likewise.
48047         * elf/sprof.c: Likewise.
48048         * iconv/iconv_charmap.c: Likewise.
48049         * iconv/skeleton.c: Likewise.
48050         * iconv/strtab.c: Likewise.
48051         * io/lockf64.c: Likewise.
48052         * libio/libioP.h: Likewise.
48053         * resolv/gai_notify.c: Likewise.
48054         * resolv/ns_name.c: Likewise.
48055         * resolv/ns_samedomain.c: Likewise.
48056         * resolv/res_send.c: Likewise.
48057         * stdlib/random.c: Likewise.
48058         * sunrpc/rpc/xdr.h: Likewise.
48059         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48060         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48061         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48062         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48063         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48064         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48066         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48067         * sysdeps/mach/hurd/check_fds.c: Likewise.
48068         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48069         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48070         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48071         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48072         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48073         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48074         * sysdeps/pthread/aio_notify.c: Likewise.
48075         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48076         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48078         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48079         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48081 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48083         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48084         version if bit_Slow_SSE4_2 is set.
48085         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48086         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48088 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48090         [BZ #15867]
48091         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48092         trampoline stack frame information.
48093         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48095         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48096         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48097         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48098         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48099         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48100         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48101         sa_flags value.
48102         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48103         interrupting a syscall and set with option SA_SIGINFO.
48105 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48107         [BZ #15531]
48108         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48109         argument is infinite.
48110         * math/s_cprojf.c (__cprojf): Likewise.
48111         * math/s_cprojl.c (__cprojl): Likewise.
48112         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48113         * math/libm-test.inc (cproj_test_data): Add more tests.
48115         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48117         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48118         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48119         size.  Use __ffs to determine corresponding shift.
48121 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48122             Roland McGrath  <roland@hack.frob.com>
48124         * Makefile (INSTALL): Remove trailing blank lines from output of
48125         makeinfo.
48127 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48129         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48130         Align 32 bit compat elf_greg to 8 bytes.
48132 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48134         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48136 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48138         * string/strcoll_l.c (coll_seq): New structure.
48139         (get_next_seq_cached): New function.
48140         (get_next_seq): New function.
48141         (do_compare): New function.
48142         (STRCOLL): Use GNU style definition.  Simplify implementation
48143         by using get_next_seq, get_next_seq_cached and do_compare.
48145 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48147         [BZ #14699]
48148         CVE-2013-4237
48149         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48150         member.
48151         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48152         member.
48153         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48154         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48155         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48156         conditional.
48157         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48158         GETDENTS_64BIT_ALIGNED.
48159         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48160         * manual/filesys.texi (Reading/Closing Directory): Document
48161         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48162         strongly.
48163         * manual/conf.texi (Limits for Files): Add portability note to
48164         NAME_MAX, PATH_MAX.
48165         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48167 2013-08-13  Andreas Schwab  <schwab@suse.de>
48169         [BZ #15749]
48170         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48171         of fabs.
48172         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48173         LDBL_MAX_EXP >= 16384]: Add tests for it.
48175 2013-08-12  David S. Miller  <davem@davemloft.net>
48177         * version.h (RELEASE): Set to "development".
48178         (VERSION): Set to "2.18.90".
48179         * NEWS: Add 2.19 section.
48181 2013-08-03  David S. Miller  <davem@davemloft.net>
48183         * po/ko.po: Update Korean translation from translation project.
48185 2013-08-01  David S. Miller  <davem@davemloft.net>
48187         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48188         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48189         Bilka.
48191 2013-07-30  David S. Miller  <davem@davemloft.net>
48193         * po/fr.po: Update French translation from translation project.
48195 2013-07-28  David S. Miller  <davem@davemloft.net>
48197         * po/cs.po: Update Czech translation from translation project.
48199         * po/sv.po: Update Swedish translation from translation project.
48201 2013-07-27  David S. Miller  <davem@davemloft.net>
48203         * po/eo.po: Update Esperanto translation from translation project.
48205         * po/vi.po: Update Vietnamese translation from translation project.
48207         * po/de.po: Update German translation from translation project.
48209 2013-07-26  David S. Miller  <davem@davemloft.net>
48211         * po/bg.po: Update Bulgarian translation from translation project.
48213         * po/nl.po: Update Dutch translation from translation project.
48214         * po/pl.po: Update Polish translation from translation project.
48215         * po/ru.po: Update Russian translation from translation project.
48217 2013-07-24  David S. Miller  <davem@davemloft.net>
48219         * po/libc.pot: Update.
48221 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48223         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48224         variable page size.
48225         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48226         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48227         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48229 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48231         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48233 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48234             Andreas Schwab  <schwab@suse.de>
48235             Roland McGrath  <roland@hack.frob.com>
48236             Joseph Myers  <joseph@codesourcery.com>
48237             Carlos O'Donell  <carlos@redhat.com>
48239         [BZ #15755]
48240         * config.h.in: Define HAVE_PT_CHOWN.
48241         * config.make.in (build-pt-chown): New variable.
48242         * configure.in (--enable-pt_chown): New configure option.
48243         * configure: Regenerate.
48244         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48245         build-pt-chown is enabled.
48246         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48247         pt_chown to fix pty ownership.
48248         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48249         CLOSE_ALL_FDS.
48250         * manual/install.texi (Configuring and compiling): Mention
48251         --enable-pt_chown. Add @findex for grantpt.
48252         * INSTALL: Regenerate.
48254 2013-07-20  David S. Miller  <davem@davemloft.net>
48256         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48257         difference between 32-bit and 64-bit.
48259 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48261         [BZ #15711]
48262         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48263         Avoid system header dependency with -ffreestanding.
48264         ($(objpfx)bits/syscall%d): Likewise.
48266 2013-07-13  David S. Miller  <davem@davemloft.net>
48268         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48269         underflows from atanl/atan2l due to bug 15319.
48270         (casinh_test_data): Likewise.
48272 2013-07-07  David S. Miller  <davem@davemloft.net>
48274         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48276 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48278         * sysdeps/i386/fpu/libm-test-ulps: Update.
48279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48281 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48283         * configure.in (--enable-lock-elision): Fix message text.
48284         * INSTALL: Regenerate.
48285         * configure: Regenerate.
48287 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48291 2013-07-03  Andreas Jaeger  <aj@suse.de>
48293         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48294         define.
48295         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48296         (ptrace_peeksiginfo_args): Add.
48297         (__ptrace_peeksiginfo_flags): Add.
48298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48300         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48302 2013-07-03  Allan McRae  <allan@archlinux.org>
48304         * sysdeps/i386/fpu/libm-test-ulps: Update.
48306 2013-07-02  David S. Miller  <davem@davemloft.net>
48308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48310 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48314 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48316         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48319 2013-07-02  Andi Kleen <ak@linux.intel.com>
48321         * config.h.in (ENABLE_LOCK_ELISION): Add.
48322         * configure.in (--enable-lock-elision): Add option.
48323         * manual/install.texi: Document --enable lock elision.
48324         * configure: Regenerate
48325         * INSTALL: Regenerate.
48327 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48329         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48330         SSE4.2 strcasecmp for libc.a.
48331         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48333 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48335         [BZ #13304]
48336         * soft-fp/op-common.h (_FP_FMA): New macro.
48337         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48338         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48339         (_FP_MUL_MEAT_1_imm): ... here.
48340         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48341         (_FP_MUL_MEAT_1_wide): ... here.
48342         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48343         (_FP_MUL_MEAT_1_hard): ... here.
48344         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48345         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48346         (_FP_MUL_MEAT_2_wide): ... here.
48347         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48348         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48349         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48350         (_FP_MUL_MEAT_2_gmp): ... here.
48351         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48352         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48353         (_FP_MUL_MEAT_4_wide): ... here.
48354         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48355         (_FP_MUL_MEAT_4_gmp): ... here.
48356         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48357         (_FP_WFRACBITS_DW_S): Likewise.
48358         (_FP_WFRACXBITS_DW_S): Likewise.
48359         (_FP_HIGHBIT_DW_S): Likewise.
48360         (FP_FMA_S): Likewise.
48361         (_FP_FRAC_HIGH_DW_S): Likewise.
48362         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48363         (_FP_WFRACBITS_DW_D): Likewise.
48364         (_FP_WFRACXBITS_DW_D): Likewise.
48365         (_FP_HIGHBIT_DW_D): Likewise.
48366         (FP_FMA_D): Likewise.
48367         (_FP_FRAC_HIGH_DW_D): Likewise.
48368         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48369         (_FP_WFRACBITS_DW_E): Likewise.
48370         (_FP_WFRACXBITS_DW_E): Likewise.
48371         (_FP_HIGHBIT_DW_E): Likewise.
48372         (FP_FMA_E): Likewise.
48373         (_FP_FRAC_HIGH_DW_E): Likewise.
48374         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48375         (_FP_WFRACBITS_DW_Q): Likewise.
48376         (_FP_WFRACXBITS_DW_Q): Likewise.
48377         (_FP_HIGHBIT_DW_Q): Likewise.
48378         (FP_FMA_Q): Likewise.
48379         (_FP_FRAC_HIGH_DW_Q): Likewise.
48380         * soft-fp/fmasf4.c: New file.
48381         * soft-fp/fmadf4.c: Likewise.
48382         * soft-fp/fmatf4.c: Likewise.
48384 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48387         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48388         Silvermont.
48389         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48390         macro.
48391         (index_Slow_SSE4_2): Likewise.
48392         (index_Prefer_PMINUB_for_stringop): Likewise.
48393         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48394         bit_Slow_SSE4_2 is set.
48395         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48396         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48398 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48400         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48401         rtld_global._dl_hwcap2.
48402         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48403         POWER8.
48404         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48405         POWER8 feature descriptions defined in _dl_hwcap2.
48406         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48407         string handling for POWER8 feature bits.
48408         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48409         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48410         _dl_powerpc_cap_flags.
48411         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48412         * sysdeps/powerpc/rtld-global-offsets.sym
48413         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48414         _dl_hwcap2 in the rtld_global_ro structure.
48416 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48418         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48419         hardware capabilities in support of AT_HWCAP2.
48420         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48421         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48422         GLRO(dl_hwcap2).
48423         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48424         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48425         explicitly the unknown a_type display mechanism is used.
48426         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48427         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48428         struct member.
48429         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48430         to macro prototype for AT_HWCAP2 support.
48431         * sysdeps/i386/dl-procinfo.h: Likewise.
48432         * sysdeps/s390/dl-procinfo.h: Likewise.
48433         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48434         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48435         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48436         return -1 for unknown a_type display fallback.
48437         * sysdeps/sparc/dl-procinfo.h: Likewise.
48438         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48439         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48441 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48443         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48444         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48446 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48448         [BZ #12492]
48449         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48450         mprotect making __stack_prot writable.
48452 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48453             Joseph Myers  <joseph@codesourcery.com>
48455         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48456         as being properly aligned.
48458 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48460         * dlfcn/modstatic5.c: New file.
48461         * dlfcn/tststatic5.c: New file.
48462         * dlfcn/Makefile (tests): Add tststatic5.
48463         (tests-static): Likewise.
48464         (modules-names): Add modstatic5.
48465         (tststatic5-ENV): New variable.
48466         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48468         [BZ #15022]
48469         * elf/dl-support.c (_dl_main_map): New variable.
48470         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48471         (_dl_nns, _dl_load_adds): Set to 1.
48472         (_dl_initial_searchlist): Refer to _dl_main_map.
48473         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48474         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48475         call to _dl_get_origin.
48476         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48477         around call_map.
48478         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48479         * dlfcn/modstatic3.c: New file.
48480         * dlfcn/tststatic3.c: New file.
48481         * dlfcn/tststatic4.c: New file.
48482         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48483         (tests-static): Likewise.
48484         (modules-names): Add modstatic3.
48485         (tststatic3-ENV, tststatic4-ENV): New variables.
48486         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48487         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48489 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48491         * configure.in (CC): Require GCC version 4.4 or later.
48492         * configure: Regenerated.
48493         * manual/install.texi (Tools for Compilation): Update GCC version
48494         requirement.
48495         * INSTALL: Regenerated.
48497 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48499         [BZ #15674]
48500         * string/test-memcmp.c (check2): New.
48501         (main): Call check2.
48503         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48505 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48507         [BZ #15022]
48508         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48509         over to...
48510         (dl_open_worker) [!SHARED]: ... here.
48512 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48514         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48516 2013-06-25  Richard Henderson  <rth@redhat.com>
48518         * locale/programs/locarchive.c: Include <libc-internal.h>
48520 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48522         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48523         trailing whitespace removed.
48525 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48527         [BZ #10283]
48528         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48529         * locale/programs/locarchive.c: Include libc-mmap.h.
48530         (prepare_address_space): Take two new outputs (the mmap base and len).
48531         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48532         values.
48533         (create_archive): Declare new mmap base and len values for
48534         prepare_address_space, and store the result in ah.
48535         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48536         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48537         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48538         Declare new mmap base and len values for
48539         prepare_address_space, and store the result in new_ah.
48540         (open_archive): Declare new mmap base and len values for
48541         prepare_address_space, and store the result in ah.
48542         (close_archive): If ah->mmap_base is not NULL, use that and
48543         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48544         * sysdeps/generic/libc-mmap.h: New file.
48546 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48548         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48549         (ALIGN_UP): Likewise.
48550         (PTR_ALIGN_DOWN): Likewise.
48551         (PTR_ALIGN_UP): Likewise.
48553 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48555         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48556         entry mapped to PPC_PLATFORM_POWER8.
48557         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48558         POWER8.
48559         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48560         (_dl_string_platform): Add case for exporting platform position for
48561         POWER8.
48562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48563         search path to sysdeps/powerpc/powerpc32/power8 directory.
48564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48565         search path to sysdeps/powerpc/powerpc64/power8 directory.
48566         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48567         power7 directories.
48568         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48569         power7 directories.
48571 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48573         * INSTALL: Regenerate.
48575         * nscd/connections.c (nscd_init): Fix comment.
48577 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48579         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48581         [BZ #15667]
48582         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48583         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48585 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48587         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48588         DL_DST_REQ_STATIC.
48589         (DL_DST_REQ_STATIC): Remove macro.
48591 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48593         [BZ #7006]
48594         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48595         with a shift of 0 bits.
48597 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48599         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48600         $(tststatic-ENV).
48602 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48604         [BZ #15655]
48605         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48607 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48609         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48610         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48611         accepts -fno-tree-loop-distribute-patterns.
48612         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48613         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48614         recursive call.
48615         * string/memset.c (memset): Likewise.
48616         * string/test-memmove.c (simple_memmove): Disable loop transformation
48617         to library calls.
48618         * string/test-memset.c (simple_memset): Likewise.
48619         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48620         * benchtests/bench-memset.c (simple_memset): Likewise.
48621         * configure: Regenerated.
48623 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48625         * math/test-misc.c (main): Ignore fesetround failure when failures
48626         of subsequent rounding tests would be ignored.
48628         [BZ #15654]
48629         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48630         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48631         * math/fegetenv.c (__fegetenv): Return 0.
48632         * math/fegetexcept.c (fegetexcept): Return 0.
48633         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48634         FE_TONEAREST.
48635         * math/feholdexcpt.c (feholdexcept): Return 0.
48636         * math/fesetenv.c (__fesetenv): Return 0.
48637         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48638         argument FE_TONEAREST.
48639         * math/feupdateenv.c (__feupdateenv): Return 0.
48640         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48642 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48644         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48645         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48646         ($(objpfx)rtld-%.os rules): Use them.
48648 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48650         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48651         fields.
48653 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48655         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48656         length of target pattern, then descending length of dependency pattern.
48657         * configure.in (AWK): Require gawk 3.1.2 or newer.
48658         * manual/install.texi (Tools for Compilation): Say that we do.
48659         * configure: Regenerated.
48661         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48662         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48663         * scripts/sysd-rules.awk: ... this new script.
48664         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48665         than a glob-style pattern.
48667 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48669         * math/test-misc.c (main): Do not treat incorrectly rounded
48670         conversions as failure unless ROUNDING_TESTS passes.
48672 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48674         [BZ #15631]
48675         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48676         restore exception state around main square root computation, then
48677         check for inexactness explicitly.
48679         * math/libm-test.inc (fma_test_data): Add another test.
48681 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48683         * manual/threads.texi (Non-POSIX Extensions): New document
48684         node.  Document pthread_getattr_default_np and
48685         pthread_setattr_default_np.
48687         * Versions.def (libpthread): Add GLIBC_2.18.
48688         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48690         Likewise.
48691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48692         Likewise.
48693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48694         Likewise.
48695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48696         Likewise.
48697         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48698         Likewise.
48699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48700         Likewise.
48701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48702         Likewise.
48703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48704         Likewise.
48705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48706         Likewise.
48708 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48711         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48713 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714             H.J. Lu  <hjl.tools@gmail.com>
48716         [BZ #15627]
48717         * sysdeps/x86_64/rtld-memset.c: Remove file.
48718         * sysdeps/x86_64/rtld-memset.S: New file.
48720 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48722         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48723         (test_in_one_mode): Take arguments for whether the rounding mode
48724         is supported for each floating-point type.
48725         (do_test): Pass new arguments to test_in_one_mode using
48726         ROUNDING_TESTS.
48728 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48730         * posix/tst-waitid.c (do_test): Distinguish different instances of
48731         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48732         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48733         before entering the kernel for waitpid.
48735 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48737         * NEWS: Fix note on clock function precision.  Text by Roland
48738         McGrath.
48740 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48742         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48743         it into place only when and if the sanity check passes.
48745 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48747         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48748         output for whether conversion result is exact.  Take argument
48749         indicating whether type is IBM long double.
48750         (round_for_all): Change need_exact field to ibm_ld.
48751         * stdlib/tst-strtod-round.c (struct exactness): New type.
48752         (struct test): Change bool ld_ok field to struct exactness exact.
48753         (TEST): Update all definitions for change to field.
48754         (tests): Regenerate array contents.
48755         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48756         field value.  Check for IBM long double here.
48757         (do_test): Update calls to test_in_one_mode.
48759 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48761         [BZ #12515]
48762         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48763         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48765 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48767         [BZ #15605]
48768         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48769         generated by the compiler on loop optimizations.
48770         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48771         general definitions.
48773 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48775         * math/bug-nextafter.c: Include <math-tests.h>.
48776         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48777         the relevant type.
48778         * math/bug-nexttoward.c: Include <math-tests.h>.
48779         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48780         the relevant type.
48781         * math/test-misc.c: Include <math-tests.h>.
48782         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48783         the relevant type.
48785 2013-06-12  Andreas Jaeger  <aj@suse.de>
48787         * po/ia.po: Update Interlingua translation from translation
48788         project.
48790 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48792         * include/fenv.h: Include stdbool.h.
48793         (struct rm_ctx): New structure.
48794         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48795         Define macro.
48796         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48797         (SET_RESTORE_ROUNDF): Likewise.
48798         (SET_RESTORE_ROUNDL): Likewise.
48799         (SET_RESTORE_ROUND_NOEX): Likewise.
48800         (SET_RESTORE_ROUND_NOEXF): Likewise.
48801         (SET_RESTORE_ROUND_NOEXL): Likewise.
48802         (SET_RESTORE_ROUND_53BIT): Likewise.
48803         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48804         (libc_feresetround_noexf_ctx): Likewise.
48805         (libc_feresetround_noexl_ctx): Likewise.
48806         (libc_feholdsetround_53bit_ctx): Likewise.
48807         (libc_feresetround_53bit_ctx): Likewise.
48808         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48809         (libc_feholdexcept_setround_sse_ctx): New function.
48810         (libc_fesetenv_sse_ctx): Likewise.
48811         (libc_feupdateenv_sse_ctx): Likewise.
48812         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48813         (libc_feholdexcept_setround_387_ctx): Likewise.
48814         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48815         (libc_feholdsetround_387_prec_ctx): Likewise.
48816         (libc_feholdsetround_387_ctx): Likewise.
48817         (libc_feholdsetround_387_53bit_ctx): Likewise.
48818         (libc_feholdsetround_sse_ctx): Likewise.
48819         (libc_feresetround_sse_ctx): Likewise.
48820         (libc_feresetround_387_ctx): Likewise.
48821         (libc_feupdateenv_387_ctx): Likewise.
48822         (libc_feholdexcept_setroundf_ctx): Define macro.
48823         (libc_fesetenvf_ctx): Likewise.
48824         (libc_feupdateenvf_ctx): Likewise.
48825         (libc_feholdsetroundf_ctx): Likewise.
48826         (libc_feresetroundf_ctx): Likewise.
48827         (libc_feholdexcept_setround_ctx): Likewise.
48828         (libc_fesetenv_ctx): Likewise.
48829         (libc_feupdateenv_ctx): Likewise.
48830         (libc_feholdsetround_ctx): Likewise.
48831         (libc_feresetround_ctx): Likewise.
48832         (libc_feholdexcept_setroundl_ctx): Likewise.
48833         (libc_feupdateenvl_ctx): Likewise.
48834         (libc_feholdsetroundl_ctx): Likewise.
48835         (libc_feresetroundl_ctx): Likewise.
48836         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48837         (libc_feresetround_53bit_ctx): Likewise.
48839 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48841         * locale/iso-639.def: Convert to UTF-8.
48843 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48845         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48846         (EXCEPTION_TESTS_double): Likewise.
48847         (EXCEPTION_TESTS_long_double): Likewise.
48848         (EXCEPTION_TESTS): Likewise.
48849         * math/libm-test.inc (test_exceptions): Only test exceptions if
48850         EXCEPTION_TESTS (FLOAT).
48852 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48854         * benchtests/Makefile (string-bench): Add strcpy_chk and
48855         stpcpy_chk.
48856         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48857         * benchtests/bench-stpcpy_chk.c: New file.
48858         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48859         * benchtests/bench-strcpy_chk.c: New file.
48860         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48861         code.
48862         (do_test): Likewise.
48864 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48866         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48867         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48868         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48869         with tabs where appropriate.
48870         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48871         dl-procinfo.h.
48872         [PPC_PLATFORM_PPC440]: Likewise.
48873         [PPC_PLATFORM_PPC464]: Likewise.
48874         [PPC_PLATFORM_PPC476]: Likewise.
48875         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48876         ppc464, and ppc476 platform strings merging from ports/
48877         dl-procinfo.h.
48879 2013-06-11  Andreas Schwab  <schwab@suse.de>
48881         [BZ #14991]
48882         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48883         (from_ucs4_idx): Regenerate.
48884         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48885         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48886         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48887         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48888         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48889         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48890         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48891         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48892         from FROM_LOOP and TO_LOOP specific macros.
48893         (BODY): Handle combining characters.
48894         * iconvdata/BIG5HKSCS.irreversible: Update.
48895         * iconvdata/BIG5HKSCS.precomposed: New file.
48896         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48897         characters.
48898         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48900 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48902         * include/sys/time.h: Fix indentation and add copyright header.
48904         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48905         (do_test): Likewise.
48906         * string/test-memchr.c (do_one_test): Likewise.
48907         (do_test): Likewise.
48908         * string/test-memcmp.c (do_one_test): Likewise.
48909         (do_test): Likewise.
48910         * string/test-memcpy.c (do_one_test): Likewise.
48911         (do_test): Likewise.
48912         * string/test-memmem.c (do_one_test): Likewise.
48913         (do_test): Likewise.
48914         (do_random_tests): Likewise.
48915         * string/test-memmove.c (do_one_test): Likewise.
48916         (do_test): Likewise.
48917         * string/test-memset.c (do_one_test): Likewise.
48918         (do_test): Likewise.
48919         * string/test-rawmemchr.c (do_one_test): Likewise.
48920         (do_test): Likewise.
48921         * string/test-strcasecmp.c (do_one_test): Likewise.
48922         (do_test): Likewise.
48923         * string/test-strcasestr.c (do_one_test): Likewise.
48924         (do_test): Likewise.
48925         * string/test-strcat.c (do_one_test): Likewise.
48926         (do_test): Likewise.
48927         * string/test-strchr.c (do_one_test): Likewise.
48928         (do_test): Likewise.
48929         * string/test-strcmp.c (do_one_test): Likewise.
48930         (do_test): Likewise.
48931         * string/test-strcpy.c (do_one_test): Likewise.
48932         (do_test): Likewise.
48933         * string/test-string.h: Likewise.
48934         (test_init): Likewise.
48935         * string/test-strlen.c (do_one_test): Likewise.
48936         (do_test): Likewise.
48937         * string/test-strncasecmp.c (do_one_test): Likewise.
48938         (do_test): Likewise.
48939         * string/test-strncat.c (do_one_test): Likewise.
48940         (do_test): Likewise.
48941         * string/test-strncmp.c (do_one_test): Likewise.
48942         (do_test_limit): Likewise.
48943         (do_test): Likewise.
48944         * string/test-strncpy.c (do_one_test): Likewise.
48945         (do_test): Likewise.
48946         * string/test-strnlen.c (do_one_test): Likewise.
48947         (do_test): Likewise.
48948         * string/test-strpbrk.c (do_one_test): Likewise.
48949         (do_test): Likewise.
48950         * string/test-strrchr.c (do_one_test): Likewise.
48951         (do_test): Likewise.
48952         * string/test-strspn.c (do_one_test): Likewise.
48953         (do_test): Likewise.
48954         * string/test-strstr.c (do_one_test): Likewise.
48955         (do_test): Likewise.
48957         * benchtests/Makefile (string-bench): Add string benchmarks.
48958         * benchtests/bench-bcopy-ifunc.c: New file.
48959         * benchtests/bench-bcopy.c: New file.
48960         * benchtests/bench-bzero-ifunc.c: New file.
48961         * benchtests/bench-bzero.c: New file.
48962         * benchtests/bench-memccpy-ifunc.c: New file.
48963         * benchtests/bench-memccpy.c: New file.
48964         * benchtests/bench-memchr-ifunc.c: New file.
48965         * benchtests/bench-memchr.c: New file.
48966         * benchtests/bench-memcmp-ifunc.c: New file.
48967         * benchtests/bench-memcmp.c: New file.
48968         * benchtests/bench-memmem-ifunc.c: New file.
48969         * benchtests/bench-memmem.c: New file.
48970         * benchtests/bench-memmove-ifunc.c: New file.
48971         * benchtests/bench-memmove.c: New file.
48972         * benchtests/bench-mempcpy-ifunc.c: New file.
48973         * benchtests/bench-mempcpy.c: New file.
48974         * benchtests/bench-memset-ifunc.c: New file.
48975         * benchtests/bench-memset.c: New file.
48976         * benchtests/bench-rawmemchr-ifunc.c: New file.
48977         * benchtests/bench-rawmemchr.c: New file.
48978         * benchtests/bench-stpcpy-ifunc.c: New file.
48979         * benchtests/bench-stpcpy.c: New file.
48980         * benchtests/bench-stpncpy-ifunc.c: New file.
48981         * benchtests/bench-stpncpy.c: New file.
48982         * benchtests/bench-strcasecmp-ifunc.c: New file.
48983         * benchtests/bench-strcasecmp.c: New file.
48984         * benchtests/bench-strcasestr-ifunc.c: New file.
48985         * benchtests/bench-strcasestr.c: New file.
48986         * benchtests/bench-strcat-ifunc.c: New file.
48987         * benchtests/bench-strcat.c: New file.
48988         * benchtests/bench-strchr-ifunc.c: New file.
48989         * benchtests/bench-strchr.c: New file.
48990         * benchtests/bench-strchrnul-ifunc.c: New file.
48991         * benchtests/bench-strchrnul.c: New file.
48992         * benchtests/bench-strcmp-ifunc.c: New file.
48993         * benchtests/bench-strcmp.c: New file.
48994         * benchtests/bench-strcpy-ifunc.c: New file.
48995         * benchtests/bench-strcpy.c: New file.
48996         * benchtests/bench-strcspn-ifunc.c: New file.
48997         * benchtests/bench-strcspn.c: New file.
48998         * benchtests/bench-strlen-ifunc.c: New file.
48999         * benchtests/bench-strlen.c: New file.
49000         * benchtests/bench-strncasecmp-ifunc.c: New file.
49001         * benchtests/bench-strncasecmp.c: New file.
49002         * benchtests/bench-strncat-ifunc.c: New file.
49003         * benchtests/bench-strncat.c: New file.
49004         * benchtests/bench-strncmp-ifunc.c: New file.
49005         * benchtests/bench-strncmp.c: New file.
49006         * benchtests/bench-strncpy-ifunc.c: New file.
49007         * benchtests/bench-strncpy.c: New file.
49008         * benchtests/bench-strnlen-ifunc.c: New file.
49009         * benchtests/bench-strnlen.c: New file.
49010         * benchtests/bench-strpbrk-ifunc.c: New file.
49011         * benchtests/bench-strpbrk.c: New file.
49012         * benchtests/bench-strrchr-ifunc.c: New file.
49013         * benchtests/bench-strrchr.c: New file.
49014         * benchtests/bench-strspn-ifunc.c: New file.
49015         * benchtests/bench-strspn.c: New file.
49016         * benchtests/bench-strstr-ifunc.c: New file.
49017         * benchtests/bench-strstr.c: New file.
49019         * benchtests/Makefile: Disable parallel execution of targets.
49020         (string-bench): Add memcpy.
49021         (benchset): New variable to store a list of benchmark sets.
49022         (bench-func): Renamed from bench.
49023         (bench-set): New target.
49024         (bench): Depend on bench-func and bench-set.
49025         * benchtests/README: Add section on benchmark sets.
49026         * benchtests/bench-memcpy-ifunc.c: New file.
49027         * benchtests/bench-memcpy.c: New file.
49028         * benchtests/bench-string.h: New file.
49030 2013-06-11  Andreas Schwab  <schwab@suse.de>
49032         [BZ #15577]
49033         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49034         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49035         values in the triple.
49036         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49037         terminator in the group key.
49039 2013-06-11  Andreas Jaeger  <aj@suse.de>
49041         * po/zh_TW.po: Update Chinese (traditional) translation from
49042         translation project.
49044 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49046         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49047         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49048         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49049         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49050         (clock_getcpuclockid): Likewise.
49051         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49052         Add weak_alias and libc_hidden_def.
49053         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49054         * rt/clock_gettime.c (clock_gettime): Rename to
49055         __clock_gettime.  Add weak_alias and libc_hidden_def.
49056         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49057         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49058         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49059         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49060         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49061         Likewise.
49062         * rt/clock_settime.c (clock_settime): Rename to
49063         __clock_settime.  Add weak_alias and libc_hidden_def.
49064         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49066 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49068         * mach/err_boot.sub: Remove trailing whitespace.
49069         * mach/err_ipc.sub: Likewise.
49070         * mach/err_mach.sub: Likewise.
49072         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49073         (ROUNDING_TESTS_double): Likewise.
49074         (ROUNDING_TESTS_long_double): Likewise.
49075         (ROUNDING_TESTS): Likewise.
49076         * math/libm-test.inc: Include <math-tests.h>.
49077         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49078         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49079         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49080         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49082 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49084         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49085         of assigning.
49087 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49089         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49090         otherwise empty TRANS lines.
49091         * sysdeps/gnu/errlist.c: Regenerated.
49093         * catgets/gencat.c (error_print): Use (void) in function
49094         definition.
49095         * crypt/crypt_util.c (__init_des): Likewise.
49096         * crypt/speeds.c (Stop): Likewise.
49097         (main): Likewise.
49098         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49099         * inet/ruserpass.c (token): Likewise.
49100         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49101         * intl/localealias.c (extend_alias_table): Likewise.
49102         * intl/plural-exp.c (init_germanic_plural): Likewise.
49103         * libio/fcloseall.c (__fcloseall): Likewise.
49104         * libio/genops.c (_IO_flush_all): Likewise.
49105         (_IO_flush_all_linebuffered): Likewise.
49106         (_IO_cleanup): Likewise.
49107         (_IO_iter_begin): Likewise.
49108         (_IO_iter_end): Likewise.
49109         (_IO_list_lock): Likewise.
49110         (_IO_list_unlock): Likewise.
49111         (_IO_list_resetlock): Likewise.
49112         * libio/getchar.c (getchar): Likewise.
49113         * libio/getchar_u.c (getchar_unlocked): Likewise.
49114         * libio/getwchar.c (getwchar): Likewise.
49115         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49116         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49117         * login/getpt.c (__getpt): Likewise.
49118         * login/tst-utmp.c (main): Likewise.
49119         * malloc/hooks.c (__malloc_check_init): Likewise.
49120         * malloc/malloc.c (__malloc_stats): Likewise.
49121         * malloc/mtrace.c (tr_break): Likewise.
49122         (mtrace): Likewise.
49123         (muntrace): Likewise.
49124         * misc/fstab.c (endfsent): Likewise.
49125         * misc/getclktck.c (__getclktck): Likewise.
49126         * misc/getdtsz.c (__getdtablesize): Likewise.
49127         * misc/gethostid.c (gethostid): Likewise.
49128         * misc/getpagesize.c (__getpagesize): Likewise.
49129         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49130         (__get_nprocs): Likewise.
49131         (__get_phys_pages): Likewise.
49132         (__get_avphys_pages): Likewise.
49133         * misc/getttyent.c (getttyent): Likewise.
49134         (setttyent): Likewise.
49135         (endttyent): Likewise.
49136         * misc/getusershell.c (getusershell): Likewise.
49137         (endusershell): Likewise.
49138         (setusershell): Likewise.
49139         (initshells): Likewise.
49140         * misc/hsearch.c (__hdestroy): Likewise.
49141         * misc/sync.c (sync): Likewise.
49142         * misc/syslog.c (closelog_internal): Likewise.
49143         (closelog): Likewise.
49144         * misc/ttyslot.c (ttyslot): Likewise.
49145         * misc/vhangup.c (vhangup): Likewise.
49146         * posix/fork.c (__fork): Likewise.
49147         * posix/getegid.c (__getegid): Likewise.
49148         * posix/geteuid.c (__geteuid): Likewise.
49149         * posix/getgid.c (__getgid): Likewise.
49150         * posix/getpid.c (__getpid): Likewise.
49151         * posix/getppid.c (__getppid): Likewise.
49152         * posix/getuid.c (__getuid): Likewise.
49153         * posix/pause.c (pause): Likewise.
49154         * posix/setpgrp.c (setpgrp): Likewise.
49155         * posix/setsid.c (__setsid): Likewise.
49156         * posix/test-vfork.c (noop): Likewise.
49157         * resolv/gethnamaddr.c (_endhtent): Likewise.
49158         (_gethtent): Likewise.
49159         (ht_endhostent): Likewise.
49160         (gethostent): Likewise.
49161         (dns_service): Likewise.
49162         * stdlib/drand48.c (drand48): Likewise.
49163         * stdlib/lrand48.c (lrand48): Likewise.
49164         * stdlib/mrand48.c (mrand48): Likewise.
49165         * stdlib/rand.c (rand): Likewise.
49166         * stdlib/random.c (__random): Likewise.
49167         * stdlib/setenv.c (clearenv): Likewise.
49168         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49169         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49170         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49171         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49172         (__get_nprocs): Likewise.
49173         (__get_phys_pages): Likewise.
49174         (__get_avphys_pages): Likewise.
49175         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49176         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49177         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49178         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49179         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49180         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49181         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49182         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49183         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49184         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49185         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49186         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49187         * sysdeps/posix/clock.c (clock): Likewise.
49188         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49189         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49190         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49191         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49192         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49194         (__get_nprocs_conf): Likewise.
49195         (__get_phys_pages): Likewise.
49196         (__get_avphys_pages): Likewise.
49197         * time/clock.c (clock): Likewise.
49198         * time/tzset.c (__tzname_max): Likewise.
49200 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49202         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49203         (__bswap_32): Do not use "register".
49204         * crypt/crypt.c (_ufc_doit_r): Likewise.
49205         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49206         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49207         * gmon/gmon.c (__monstartup): Likewise.
49208         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49209         * hurd/hurdmalloc.c (more_memory): Likewise.
49210         (malloc): Likewise.
49211         (free): Likewise.
49212         (realloc): Likewise.
49213         (malloc_fork_prepare): Likewise.
49214         (malloc_fork_parent): Likewise.
49215         (malloc_fork_child): Likewise.
49216         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49217         (_svcauth_des): Likewise.
49218         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49219         * inet/inet_net.c (inet_network): Likewise.
49220         * inet/inet_netof.c (inet_netof): Likewise.
49221         * inet/rcmd.c (__validuser2_sa): Likewise.
49222         * io/fts.c (fts_open): Likewise.
49223         (fts_load): Likewise.
49224         (fts_close): Likewise.
49225         (fts_read): Likewise.
49226         (fts_children): Likewise.
49227         (fts_build): Likewise.
49228         (fts_stat): Likewise.
49229         (fts_sort): Likewise.
49230         (fts_alloc): Likewise.
49231         (fts_lfree): Likewise.
49232         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49233         (_IO_file_xsgetn): Likewise.
49234         (_IO_file_xsgetn_mmap): Likewise.
49235         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49236         (_IO_cookie_write): Likewise.
49237         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49238         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49239         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49240         * malloc/obstack.c (_obstack_begin): Likewise.
49241         (_obstack_begin_1): Likewise.
49242         (_obstack_newchunk): Likewise.
49243         (_obstack_allocated_p): Likewise.
49244         (obstack_free): Likewise.
49245         (_obstack_memory_used): Likewise.
49246         * misc/getttyent.c (getttynam): Likewise.
49247         (getttyent): Likewise.
49248         (skip): Likewise.
49249         (value): Likewise.
49250         * misc/getusershell.c (initshells): Likewise.
49251         * misc/syslog.c (__vsyslog_chk): Likewise.
49252         * misc/ttyslot.c (ttyslot): Likewise.
49253         * nis/nis_hash.c (__nis_hash): Likewise.
49254         * posix/fnmatch_loop.c (FCT): Likewise.
49255         * posix/getconf.c (print_all): Likewise.
49256         (main): Likewise.
49257         * posix/getopt.c (exchange): Likewise.
49258         * posix/glob.c (globfree): Likewise.
49259         (prefix_array): Likewise.
49260         (__glob_pattern_type): Likewise.
49261         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49262         (NS_GET32): Likewise.
49263         (NS_PUT16): Likewise.
49264         (NS_PUT32): Likewise.
49265         * resolv/gethnamaddr.c (getanswer): Likewise.
49266         (gethostbyname2): Likewise.
49267         (gethostbyaddr): Likewise.
49268         (_gethtent): Likewise.
49269         (_gethtbyname2): Likewise.
49270         (_gethtbyaddr): Likewise.
49271         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49272         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49273         * resolv/res_init.c (__res_vinit): Likewise.
49274         (net_mask): Likewise.
49275         * resolv/res_mkquery.c (outchar): Likewise.
49276         (PRINT): Likewise.
49277         * stdio-common/printf_fp.c (outchar): Likewise.
49278         (PRINT): Likewise.
49279         * stdio-common/printf_fphex.c (outchar): Likewise.
49280         (PRINT): Likewise.
49281         * stdio-common/printf_size.c (outchar): Likewise.
49282         (PRINT): Likewise.
49283         * stdio-common/test_rdwr.c (main): Likewise.
49284         * stdio-common/tfformat.c (matches): Likewise.
49285         * stdio-common/vfprintf.c (outchar): Likewise.
49286         (printf_unknown): Likewise.
49287         (buffered_vfprintf): Likewise.
49288         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49289         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49290         (ReadFile): Likewise.
49291         * stdlib/qsort.c (SWAP): Likewise.
49292         (_quicksort): Likewise.
49293         * stdlib/setenv.c (__add_to_environ): Likewise.
49294         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49295         * stdlib/strtol_l.c (__strtol_l): Likewise.
49296         * stdlib/tst-strtod.c (main): Likewise.
49297         * stdlib/tst-strtol.c (main): Likewise.
49298         * stdlib/tst-strtoll.c (main): Likewise.
49299         * string/bits/string2.h (__strcmp_cc): Likewise.
49300         (__strcmp_cg): Likewise.
49301         (__strcspn_c1): Likewise.
49302         (__strcspn_c2): Likewise.
49303         (__strcspn_c3): Likewise.
49304         (__strspn_c1): Likewise.
49305         (__strspn_c2): Likewise.
49306         (__strspn_c3): Likewise.
49307         (__strsep_1c): Likewise.
49308         (__strsep_2c): Likewise.
49309         (__strsep_3c): Likewise.
49310         * string/memccpy.c (__memccpy): Likewise.
49311         * string/stpcpy.c (__stpcpy): Likewise.
49312         * string/strcmp.c (strcmp): Likewise.
49313         * string/strrchr.c (strrchr): Likewise.
49314         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49315         Likewise.
49316         * sysdeps/mach/hurd/getcwd.c
49317         (_hurd_canonicalize_directory_name_internal): Likewise.
49318         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49319         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49320         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49321         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49322         Likewise, in both definitions.
49323         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49324         definitions.
49325         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49326         64] (__bswap_64): Likewise.
49327         * time/test_time.c (main): Likewise.
49328         * time/tzfile.c (__tzfile_read): Likewise.
49329         (__tzfile_compute): Likewise.
49330         * time/tzset.c (__tzset_parse_tz): Likewise.
49331         (tzset_internal): Likewise.
49332         (compute_change): Likewise.
49333         * wcsmbs/wcscat.c (__wcscat): Likewise.
49334         * wcsmbs/wcschr.c (wcschr): Likewise.
49335         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49336         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49337         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49338         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49339         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49340         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49341         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49342         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49343         * wcsmbs/wmemset.c (wmemset): Likewise.
49345 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49347         * scripts/config.guess: Update to version 2013-05-16.
49348         * scripts/config.sub: Update to version 2013-04-24.
49349         * scripts/install-sh: Update to version 2011-11-20.07.
49350         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49351         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49353 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49355         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49356         * elf/sln.c: Likewise.
49357         * hurd/hurd/ioctl.h: Likewise.
49358         * hurd/hurdmalloc.c: Likewise.
49359         * hurd/xattr.c: Likewise.
49360         * include/shlib-compat.h: Likewise.
49361         * inet/ruserpass.c: Likewise.
49362         * libio/iofgets_u.c: Likewise.
49363         * libio/iofgetws_u.c: Likewise.
49364         * locale/programs/ld-identification.c: Likewise.
49365         * locale/programs/ld-time.c: Likewise.
49366         * mach/msg-destroy.c: Likewise.
49367         * nss/nss_files/files-netgrp.c: Likewise.
49368         * resolv/res_data.c: Likewise.
49369         * soft-fp/op-1.h: Likewise.
49370         * soft-fp/op-2.h: Likewise.
49371         * soft-fp/op-4.h: Likewise.
49372         * soft-fp/op-common.h: Likewise.
49373         * stdio-common/printf_fphex.c: Likewise.
49374         * stdlib/strtod_l.c: Likewise.
49375         * sunrpc/rpc/clnt.h: Likewise.
49376         * sysdeps/generic/framestate.c: Likewise.
49377         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49378         * sysdeps/i386/bsd-setjmp.S: Likewise.
49379         * sysdeps/i386/__longjmp.S: Likewise.
49380         * sysdeps/i386/setjmp.S: Likewise.
49381         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49382         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49384         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49386         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49387         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49388         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49389         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49390         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49391         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49392         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49394         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49395         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49396         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49397         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49398         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49399         * sysdeps/ieee754/support.c: Likewise.
49400         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49401         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49402         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49403         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49404         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49405         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49406         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49407         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49408         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49409         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49410         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49411         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49412         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49413         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49414         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49415         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49416         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49419 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49421         * posix/transbug.c: Remove executable mode.
49423 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49425         * crypt/speeds.c: Remove trailing whitespace.
49426         * dlfcn/default.c: Likewise.
49427         * elf/ifuncdep2.c: Likewise.
49428         * elf/ifuncmain1.c: Likewise.
49429         * elf/ifuncmain1vis.c: Likewise.
49430         * elf/testobj.h: Likewise.
49431         * elf/tst-stackguard1.c: Likewise.
49432         * gmon/sys/gmon.h: Likewise.
49433         * hurd/hurdmsg.c: Likewise.
49434         * hurd/new-fd.c: Likewise.
49435         * hurd/ports-get.c: Likewise.
49436         * iconvdata/ibm1008_420.c: Likewise.
49437         * inet/tst-getni1.c: Likewise.
49438         * inet/tst-getni2.c: Likewise.
49439         * libio/ioungetc.c: Likewise.
49440         * libio/wfiledoalloc.c: Likewise.
49441         * manual/libm-err-tab.pl: Likewise.
49442         * math/w_dremf.c: Likewise.
49443         * misc/ftruncate.c: Likewise.
49444         * posix/bug-glob2.c: Likewise.
49445         * posix/tst-pcre.c: Likewise.
49446         * posix/wait4.c: Likewise.
49447         * resolv/README: Likewise.
49448         * resolv/res_debug.h: Likewise.
49449         * resolv/tst-inet_ntop.c: Likewise.
49450         * setjmp/bug269-setjmp.c: Likewise.
49451         * soft-fp/extended.h: Likewise.
49452         * soft-fp/op-1.h: Likewise.
49453         * soft-fp/op-2.h: Likewise.
49454         * soft-fp/op-4.h: Likewise.
49455         * soft-fp/op-8.h: Likewise.
49456         * soft-fp/testit.c: Likewise.
49457         * stdio-common/bug16.c: Likewise.
49458         * stdlib/random.c: Likewise.
49459         * sunrpc/rpcsvc/rquota.x: Likewise.
49460         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49461         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49463         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49464         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49465         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49466         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49467         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49468         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49469         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49470         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49471         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49472         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49473         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49474         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49475         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49476         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49477         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49478         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49479         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49480         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49481         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49482         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49483         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49484         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49485         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49487         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49488         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49489         * sysdeps/ieee754/s_lib_version.c: Likewise.
49490         * sysdeps/mach/hurd/check_fds.c: Likewise.
49491         * sysdeps/mach/hurd/getsockname.c: Likewise.
49492         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49493         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49494         * sysdeps/powerpc/bits/link.h: Likewise.
49495         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49496         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49497         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49498         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49499         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49500         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49501         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49502         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49503         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49504         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49505         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49506         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49507         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49508         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49509         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49510         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49511         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49512         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49513         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49514         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49515         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49516         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49518         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49519         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49520         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49521         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49522         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49523         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49524         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49525         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49526         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49527         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49528         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49529         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49530         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49531         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49532         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49533         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49534         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49535         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49536         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49537         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49538         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49539         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49540         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49541         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49542         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49543         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49544         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49545         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49546         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49547         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49548         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49549         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49550         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49551         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49552         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49553         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49554         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49555         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49556         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49557         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49558         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49559         * sysdeps/powerpc/sysdep.h: Likewise.
49560         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49561         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49562         * sysdeps/sh/dl-trampoline.S: Likewise.
49563         * sysdeps/sh/memset.S: Likewise.
49564         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49565         * sysdeps/sh/strlen.S: Likewise.
49566         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49567         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49568         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49569         * sysdeps/sparc/sparc32/rem.S: Likewise.
49570         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49571         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49572         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49573         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49574         * sysdeps/sparc/sparc32/urem.S: Likewise.
49575         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49576         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49577         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49578         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49579         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49580         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49581         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49582         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49583         * sysdeps/unix/bsd/times.c: Likewise.
49584         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49585         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49589         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49590         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49591         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49592         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49593         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49594         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49595         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49596         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49597         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49598         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49599         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49600         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49601         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49602         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49603         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49604         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49605         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49606         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49607         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49608         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49609         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49610         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49611         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49612         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49613         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49614         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49615         * sysdeps/x86_64/strcspn.S: Likewise.
49617 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49619         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49620         generated file.  Regenerate properly from gen-translit.pl.
49621         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49622         locale/C-translit.h.
49624 2013-06-05  Andreas Schwab  <schwab@suse.de>
49626         [BZ #15100]
49627         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49628         week as 6 instead of -1.
49629         * time/tst-strptime.c (day_tests): Add test case.
49631 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49633         * sysdeps/generic/math_private.h
49634         (libc_feholdexcept_setround_53bit): Replace with
49635         libc_feholdsetround_53bit.
49636         (libc_feupdateenv_53bit): Replace with
49637         libc_feresetround_53bit.
49638         (SET_RESTORE_ROUND_53BIT): Adjust.
49640 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49642         * string/test-strchrnul.c: Add copyright header.
49644         * posix/tst-getaddrinfo4.c: Increase test timeout.
49646 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49648         [BZ #15536]
49649         * math/libm-test.inc (MAX_EXP): Remove
49650         (MIN_EXP): Define.
49651         (ulp): Use MIN_EXP - MANT_DIG.
49652         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49654 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49656         * po/be.po: Revert last change.
49657         * po/zh_CN.po: Likewise.
49658         * po/header.pot: Likewise.
49660 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49662         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49663         link-libc-deps to empty as target-specific variable.
49664         * Makerules (link-libc-args): New variable.
49665         (libc-for-link): Likewise.
49666         (link-libc-deps): Likewise.
49667         (lib%.so): Depend on $(link-libc-deps).  Link with
49668         $(link-libc-args).
49669         (build-module): Link with $(link-libc-args).
49670         (build-module-asneeded): Likewise.
49671         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49672         list of objects.
49673         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49674         target-specific variable.
49675         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49676         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49677         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49678         libc.
49679         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49680         libc and ld.so.
49681         ($(objpfx)libpcprofile.so): Likewise.
49682         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49683         libc_nonshared.a.
49684         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49685         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49686         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49687         $(link-libc-deps).
49688         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49689         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49690         * login/Makefile ($(objpfx)libutil.so): Likewise.
49691         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49692         * math/Makefile ($(objpfx)libm.so): Likewise.
49693         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49694         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49695         variable instead of depending directly on libc.
49696         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49697         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49698         $(link-libc-deps).
49699         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49700         libc.
49701         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49702         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49703         ($(objpfx)libanl.so): Likewise.
49704         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49705         ld.so.
49706         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49707         $(link-libc-deps).
49708         * sysdeps/i386/fpu/Makefile: Remove file.
49709         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49710         ($(objpfx)libm.so): Remove dependency on ld.so.
49712 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49714         [BZ # 15553]
49715         * nis/yp_xdr.c (XDRMAXNAME): Define.
49716         (XDRMAXRECORD): Define.
49717         (xdr_domainname): Use XDRMAXNAME.
49718         (xdr_mapname): Likewise.
49719         (xdr_peername): Likewise.
49720         (xdr_keydat): Use XDRMAXRECORD.
49721         (xdr_valdat): Likewise.
49723 2013-05-30  Jeff Law  <law@redhat.com>
49725         [BZ #14256]
49726         * manual/errno.texi (ESTALE): Update to account for more than
49727         just NFS file systems.
49728         * sysdeps/gnu/errlist.c: Regenerated.
49730 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49732         [BZ #15465]
49733         * elf/Makefile (tests): Add tst-null-argv.
49734         (modules-names):  Add tst-null-argv-lib.
49735         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49736         (tst-null-argv-ENV): Set environment for tst-null-argv.
49737         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49738         (RTLD_PROGNAME): New macro.
49739         * elf/tst-null-argv.c: New test case.
49740         * elf/tst-null-argv-lib.c: Library for test case.
49741         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49742         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49743         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49744         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49745         * elf/dl-init.c (call_init): Likewise.
49746         (_dl_init): Likewise.
49747         * elf/dl-load.c (print_search_path): Likewise.
49748         (_dl_map_object): Likewise.
49749         * elf/dl-lookup.c (do_lookup_x): Likewise.
49750         (add_dependency): Likewise.
49751         (_dl_lookup_symbol_x): Likewise.
49752         (_dl_debug_bindings): Likewise.
49753         * elf/dl-open.c (_dl_show_scope): Likewise.
49754         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49755         * elf/dl-version.c (match_symbol): Likewise.
49756         (_dl_check_map_versions): Likewise.
49757         * elf/rtld.c (dl_main): Likewise.
49758         (print_unresolved): Use RTLD_PROGNAME.
49759         (print_missing_version): Likewise.
49760         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49761         (elf_machine_rela): Likewise.
49762         * sysdeps/powerpc/powerpc32/dl-machine.c
49763         (__process_machine_rela): Likewise.
49764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49765         Likewise.
49766         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49767         Likewise.
49768         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49769         Likewise.
49770         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49771         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49772         Likewise.
49773         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49774         Likewise.
49775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49777 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49779         * po/be.po: Add descriptive title.
49780         * po/zh_CN.po: Likewise.
49781         * po/header.pot: Likewise.
49783 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49785         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49786         error message.
49787         (enlarge_archive): Likewise.
49789 2013-05-28  Ben North  <ben@redfrontdoor.org>
49791         * manual/arith.texi (frexp): It is the magnitude of the return
49792         value which lies in [0.5, 1), not the return value itself.
49794 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49798 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49800         * stdio-common/bug26.c (main): Correct fscanf template.
49802         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49803         declare _dl_skip_args.
49805         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49806         Don't declare.
49808         * manual/platform.texi: Add missing @end deftypefun.
49810 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49812         [BZ #15529]
49813         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49814         bit of mantissa of 2^16382.
49815         * math/libm-test.inc (hypot_test_data): Add more tests.
49817         * math/libm-test.inc: Add drem and pow10 to list of tested
49818         functions.
49819         (pow10_test): New function.
49820         (drem_test): Likewise.
49821         (drem_test_tonearest): Likewise.
49822         (drem_test_towardzero): Likewise.
49823         (drem_test_downward): Likewise.
49824         (drem_test_upward): Likewise.
49825         (main): Call the new functions.
49827         * math/libm-test.inc (finite_test_data): Remove.
49828         (finite_test): Run tests from isfinite_test_data.
49829         (gamma_test_data): Remove.
49830         (gamma_test): Run tests from lgamma_test_data.
49831         * sysdeps/i386/fpu/libm-test-ulps: Update.
49832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49834 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49836         * manual/platform.texi: Add PowerPC PPR function set documentation.
49837         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49838         implementation.
49840 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49842         * math/libm-test.inc (MAX_EXP): Define.
49843         (ULPDIFF): Define.
49844         (ulp): New function.
49845         (check_float_internal): Use ULPDIFF.
49846         (cpow_test): Disable failing test.
49847         (check_ulp): Test ulp() implemetnation.
49848         (main): Call check_ulp before starting tests.
49850 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49852         * math/gen-libm-test.pl (generate_testfile): Do not handle
49853         START_DATA and END_DATA.
49854         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49855         END_DATA.
49856         (acos_tonearest_test_data): Likewise.
49857         (acos_towardzero_test_data): Likewise.
49858         (acos_downward_test_data): Likewise.
49859         (acos_upward_test_data): Likewise.
49860         (acosh_test_data): Likewise.
49861         (asin_test_data): Likewise.
49862         (asin_tonearest_test_data): Likewise.
49863         (asin_towardzero_test_data): Likewise.
49864         (asin_downward_test_data): Likewise.
49865         (asin_upward_test_data): Likewise.
49866         (asinh_test_data): Likewise.
49867         (atan_test_data): Likewise.
49868         (atanh_test_data): Likewise.
49869         (atan2_test_data): Likewise.
49870         (cabs_test_data): Likewise.
49871         (cacos_test_data): Likewise.
49872         (cacosh_test_data): Likewise.
49873         (carg_test_data): Likewise.
49874         (casin_test_data): Likewise.
49875         (casinh_test_data): Likewise.
49876         (catan_test_data): Likewise.
49877         (catanh_test_data): Likewise.
49878         (cbrt_test_data): Likewise.
49879         (ccos_test_data): Likewise.
49880         (ccosh_test_data): Likewise.
49881         (ceil_test_data): Likewise.
49882         (cexp_test_data): Likewise.
49883         (cimag_test_data): Likewise.
49884         (clog_test_data): Likewise.
49885         (clog10_test_data): Likewise.
49886         (conj_test_data): Likewise.
49887         (copysign_test_data): Likewise.
49888         (cos_test_data): Likewise.
49889         (cos_tonearest_test_data): Likewise.
49890         (cos_towardzero_test_data): Likewise.
49891         (cos_downward_test_data): Likewise.
49892         (cos_upward_test_data): Likewise.
49893         (cosh_test_data): Likewise.
49894         (cosh_tonearest_test_data): Likewise.
49895         (cosh_towardzero_test_data): Likewise.
49896         (cosh_downward_test_data): Likewise.
49897         (cosh_upward_test_data): Likewise.
49898         (cpow_test_data): Likewise.
49899         (cproj_test_data): Likewise.
49900         (creal_test_data): Likewise.
49901         (csin_test_data): Likewise.
49902         (csinh_test_data): Likewise.
49903         (csqrt_test_data): Likewise.
49904         (ctan_test_data): Likewise.
49905         (ctan_tonearest_test_data): Likewise.
49906         (ctan_towardzero_test_data): Likewise.
49907         (ctan_downward_test_data): Likewise.
49908         (ctan_upward_test_data): Likewise.
49909         (ctanh_test_data): Likewise.
49910         (ctanh_tonearest_test_data): Likewise.
49911         (ctanh_towardzero_test_data): Likewise.
49912         (ctanh_downward_test_data): Likewise.
49913         (ctanh_upward_test_data): Likewise.
49914         (erf_test_data): Likewise.
49915         (erfc_test_data): Likewise.
49916         (exp_test_data): Likewise.
49917         (exp_tonearest_test_data): Likewise.
49918         (exp_towardzero_test_data): Likewise.
49919         (exp_downward_test_data): Likewise.
49920         (exp_upward_test_data): Likewise.
49921         (exp10_test_data): Likewise.
49922         (exp2_test_data): Likewise.
49923         (expm1_test_data): Likewise.
49924         (fabs_test_data): Likewise.
49925         (fdim_test_data): Likewise.
49926         (finite_test_data): Likewise.
49927         (floor_test_data): Likewise.
49928         (fma_test_data): Likewise.
49929         (fma_towardzero_test_data): Likewise.
49930         (fma_downward_test_data): Likewise.
49931         (fma_upward_test_data): Likewise.
49932         (fmax_test_data): Likewise.
49933         (fmin_test_data): Likewise.
49934         (fmod_test_data): Likewise.
49935         (fpclassify_test_data): Likewise.
49936         (frexp_test_data): Likewise.
49937         (gamma_test_data): Likewise.
49938         (hypot_test_data): Likewise.
49939         (ilogb_test_data): Likewise.
49940         (isfinite_test_data): Likewise.
49941         (isgreater_test_data): Likewise.
49942         (isgreaterequal_test_data): Likewise.
49943         (isinf_test_data): Likewise.
49944         (isless_test_data): Likewise.
49945         (islessequal_test_data): Likewise.
49946         (islessgreater_test_data): Likewise.
49947         (isnan_test_data): Likewise.
49948         (isnormal_test_data): Likewise.
49949         (issignaling_test_data): Likewise.
49950         (isunordered_test_data): Likewise.
49951         (j0_test_data): Likewise.
49952         (j1_test_data): Likewise.
49953         (jn_test_data): Likewise.
49954         (ldexp_test_data): Likewise.
49955         (lgamma_test_data): Likewise.
49956         (lrint_test_data): Likewise.
49957         (lrint_tonearest_test_data): Likewise.
49958         (lrint_towardzero_test_data): Likewise.
49959         (lrint_downward_test_data): Likewise.
49960         (lrint_upward_test_data): Likewise.
49961         (llrint_test_data): Likewise.
49962         (llrint_tonearest_test_data): Likewise.
49963         (llrint_towardzero_test_data): Likewise.
49964         (llrint_downward_test_data): Likewise.
49965         (llrint_upward_test_data): Likewise.
49966         (log_test_data): Likewise.
49967         (log10_test_data): Likewise.
49968         (log1p_test_data): Likewise.
49969         (log2_test_data): Likewise.
49970         (logb_test_data): Likewise.
49971         (logb_downward_test_data): Likewise.
49972         (lround_test_data): Likewise.
49973         (llround_test_data): Likewise.
49974         (modf_test_data): Likewise.
49975         (nearbyint_test_data): Likewise.
49976         (nextafter_test_data): Likewise.
49977         (nexttoward_test_data): Likewise.
49978         (pow_test_data): Likewise.
49979         (pow_tonearest_test_data): Likewise.
49980         (pow_towardzero_test_data): Likewise.
49981         (pow_downward_test_data): Likewise.
49982         (pow_upward_test_data): Likewise.
49983         (remainder_test_data): Likewise.
49984         (remainder_tonearest_test_data): Likewise.
49985         (remainder_towardzero_test_data): Likewise.
49986         (remainder_downward_test_data): Likewise.
49987         (remainder_upward_test_data): Likewise.
49988         (remquo_test_data): Likewise.
49989         (rint_test_data): Likewise.
49990         (rint_tonearest_test_data): Likewise.
49991         (rint_towardzero_test_data): Likewise.
49992         (rint_downward_test_data): Likewise.
49993         (rint_upward_test_data): Likewise.
49994         (round_test_data): Likewise.
49995         (scalb_test_data): Likewise.
49996         (scalbn_test_data): Likewise.
49997         (scalbln_test_data): Likewise.
49998         (signbit_test_data): Likewise.
49999         (sin_test_data): Likewise.
50000         (sin_tonearest_test_data): Likewise.
50001         (sin_towardzero_test_data): Likewise.
50002         (sin_downward_test_data): Likewise.
50003         (sin_upward_test_data): Likewise.
50004         (sincos_test_data): Likewise.
50005         (sinh_test_data): Likewise.
50006         (sinh_tonearest_test_data): Likewise.
50007         (sinh_towardzero_test_data): Likewise.
50008         (sinh_downward_test_data): Likewise.
50009         (sinh_upward_test_data): Likewise.
50010         (sqrt_test_data): Likewise.
50011         (tan_test_data): Likewise.
50012         (tan_tonearest_test_data): Likewise.
50013         (tan_towardzero_test_data): Likewise.
50014         (tan_downward_test_data): Likewise.
50015         (tan_upward_test_data): Likewise.
50016         (tanh_test_data): Likewise.
50017         (tgamma_test_data): Likewise.
50018         (trunc_test_data): Likewise.
50019         (y0_test_data): Likewise.
50020         (y1_test_data): Likewise.
50021         (yn_test_data): Likewise.
50022         (significand_test_data): Likewise.
50024         * math/gen-libm-test.pl (@functions): Remove variable.
50025         (generate_testfile): Don't handle START and END lines.
50026         * math/libm-test.inc (START): New macro.
50027         (END): Likewise.
50028         (END_COMPLEX): Likewise.
50029         (acos_test): Use END macro without arguments.
50030         (acos_test_tonearest): Likewise.
50031         (acos_test_towardzero): Likewise.
50032         (acos_test_downward): Likewise.
50033         (acos_test_upward): Likewise.
50034         (acosh_test): Likewise.
50035         (asin_test): Likewise.
50036         (asin_test_tonearest): Likewise.
50037         (asin_test_towardzero): Likewise.
50038         (asin_test_downward): Likewise.
50039         (asin_test_upward): Likewise.
50040         (asinh_test): Likewise.
50041         (atan_test): Likewise.
50042         (atanh_test): Likewise.
50043         (atan2_test): Likewise.
50044         (cabs_test): Likewise.
50045         (cacos_test): Use END_COMPLEX macro without arguments.
50046         (cacosh_test): Likewise.
50047         (carg_test): Use END macro without arguments.
50048         (casin_test): Use END_COMPLEX macro without arguments.
50049         (casinh_test): Likewise.
50050         (catan_test): Likewise.
50051         (catanh_test): Likewise.
50052         (cbrt_test): Use END macro without arguments.
50053         (ccos_test): Use END_COMPLEX macro without arguments.
50054         (ccosh_test): Likewise.
50055         (ceil_test): Use END macro without arguments.
50056         (cexp_test): Use END_COMPLEX macro without arguments.
50057         (cimag_test): Use END macro without arguments.
50058         (clog_test): Use END_COMPLEX macro without arguments.
50059         (clog10_test): Likewise.
50060         (conj_test): Likewise.
50061         (copysign_test): Use END macro without arguments.
50062         (cos_test): Likewise.
50063         (cos_test_tonearest): Likewise.
50064         (cos_test_towardzero): Likewise.
50065         (cos_test_downward): Likewise.
50066         (cos_test_upward): Likewise.
50067         (cosh_test): Likewise.
50068         (cosh_test_tonearest): Likewise.
50069         (cosh_test_towardzero): Likewise.
50070         (cosh_test_downward): Likewise.
50071         (cosh_test_upward): Likewise.
50072         (cpow_test): Use END_COMPLEX macro without arguments.
50073         (cproj_test): Likewise.
50074         (creal_test): Use END macro without arguments.
50075         (csin_test): Use END_COMPLEX macro without arguments.
50076         (csinh_test): Likewise.
50077         (csqrt_test): Likewise.
50078         (ctan_test): Likewise.
50079         (ctan_test_tonearest): Likewise.
50080         (ctan_test_towardzero): Likewise.
50081         (ctan_test_downward): Likewise.
50082         (ctan_test_upward): Likewise.
50083         (ctanh_test): Likewise.
50084         (ctanh_test_tonearest): Likewise.
50085         (ctanh_test_towardzero): Likewise.
50086         (ctanh_test_downward): Likewise.
50087         (ctanh_test_upward): Likewise.
50088         (erf_test): Use END macro without arguments.
50089         (erfc_test): Likewise.
50090         (exp_test): Likewise.
50091         (exp_test_tonearest): Likewise.
50092         (exp_test_towardzero): Likewise.
50093         (exp_test_downward): Likewise.
50094         (exp_test_upward): Likewise.
50095         (exp10_test): Likewise.
50096         (exp2_test): Likewise.
50097         (expm1_test): Likewise.
50098         (fabs_test): Likewise.
50099         (fdim_test): Likewise.
50100         (finite_test): Likewise.
50101         (floor_test): Likewise.
50102         (fma_test): Likewise.
50103         (fma_test_towardzero): Likewise.
50104         (fma_test_downward): Likewise.
50105         (fma_test_upward): Likewise.
50106         (fmax_test): Likewise.
50107         (fmin_test): Likewise.
50108         (fmod_test): Likewise.
50109         (fpclassify_test): Likewise.
50110         (frexp_test): Likewise.
50111         (gamma_test): Likewise.
50112         (hypot_test): Likewise.
50113         (ilogb_test): Likewise.
50114         (isfinite_test): Likewise.
50115         (isgreater_test): Likewise.
50116         (isgreaterequal_test): Likewise.
50117         (isinf_test): Likewise.
50118         (isless_test): Likewise.
50119         (islessequal_test): Likewise.
50120         (islessgreater_test): Likewise.
50121         (isnan_test): Likewise.
50122         (isnormal_test): Likewise.
50123         (issignaling_test): Likewise.
50124         (isunordered_test): Likewise.
50125         (j0_test): Likewise.
50126         (j1_test): Likewise.
50127         (jn_test): Likewise.
50128         (ldexp_test): Likewise.
50129         (lgamma_test): Likewise.
50130         (lrint_test): Likewise.
50131         (lrint_test_tonearest): Likewise.
50132         (lrint_test_towardzero): Likewise.
50133         (lrint_test_downward): Likewise.
50134         (lrint_test_upward): Likewise.
50135         (llrint_test): Likewise.
50136         (llrint_test_tonearest): Likewise.
50137         (llrint_test_towardzero): Likewise.
50138         (llrint_test_downward): Likewise.
50139         (llrint_test_upward): Likewise.
50140         (log_test): Likewise.
50141         (log10_test): Likewise.
50142         (log1p_test): Likewise.
50143         (log2_test): Likewise.
50144         (logb_test): Likewise.
50145         (logb_test_downward): Likewise.
50146         (lround_test): Likewise.
50147         (llround_test): Likewise.
50148         (modf_test): Likewise.
50149         (nearbyint_test): Likewise.
50150         (nextafter_test): Likewise.
50151         (nexttoward_test): Likewise.
50152         (pow_test): Likewise.
50153         (pow_test_tonearest): Likewise.
50154         (pow_test_towardzero): Likewise.
50155         (pow_test_downward): Likewise.
50156         (pow_test_upward): Likewise.
50157         (remainder_test): Likewise.
50158         (remainder_test_tonearest): Likewise.
50159         (remainder_test_towardzero): Likewise.
50160         (remainder_test_downward): Likewise.
50161         (remainder_test_upward): Likewise.
50162         (remquo_test): Likewise.
50163         (rint_test): Likewise.
50164         (rint_test_tonearest): Likewise.
50165         (rint_test_towardzero): Likewise.
50166         (rint_test_downward): Likewise.
50167         (rint_test_upward): Likewise.
50168         (round_test): Likewise.
50169         (scalb_test): Likewise.
50170         (scalbn_test): Likewise.
50171         (scalbln_test): Likewise.
50172         (signbit_test): Likewise.
50173         (sin_test): Likewise.
50174         (sin_test_tonearest): Likewise.
50175         (sin_test_towardzero): Likewise.
50176         (sin_test_downward): Likewise.
50177         (sin_test_upward): Likewise.
50178         (sincos_test): Likewise.
50179         (sinh_test): Likewise.
50180         (sinh_test_tonearest): Likewise.
50181         (sinh_test_towardzero): Likewise.
50182         (sinh_test_downward): Likewise.
50183         (sinh_test_upward): Likewise.
50184         (sqrt_test): Likewise.
50185         (tan_test): Likewise.
50186         (tan_test_tonearest): Likewise.
50187         (tan_test_towardzero): Likewise.
50188         (tan_test_downward): Likewise.
50189         (tan_test_upward): Likewise.
50190         (tanh_test): Likewise.
50191         (tgamma_test): Likewise.
50192         (trunc_test): Likewise.
50193         (y0_test): Likewise.
50194         (y1_test): Likewise.
50195         (yn_test): Likewise.
50196         (significand_test): Likewise.
50198 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50200         [BZ #15381]
50201         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50203 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50205         [BZ #14894]
50206         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50207         __ppc_mdoio and __ppc_mdoom.
50208         * manual/platform.texi: Document new functions __ppc_yield,
50209         __ppc_mdoio and __ppc_mdoom.
50211 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50213         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50214         (main): Mention "tls" pseudo-hwcap is legacy.
50215         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50217 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50219         * math/gen-libm-test.pl (parse_args): Output only string of
50220         arguments as text for test name, not full call or descriptions of
50221         tests for extra outputs.
50222         (generate_testfile): Do not pass function name to parse_args.
50223         Generate this_func variable from START.
50224         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50225         field to arg_str.
50226         (struct test_ff_f_data): Likewise.
50227         (test_ff_f_data_nexttoward): Likewise.
50228         (struct test_fi_f_data): Likewise.
50229         (struct test_fl_f_data): Likewise.
50230         (struct test_if_f_data): Likewise.
50231         (struct test_fff_f_data): Likewise.
50232         (struct test_c_f_data): Likewise.
50233         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50234         (struct test_fF_f1_data): Likewise.
50235         (struct test_ffI_f1_data): Likewise.
50236         (struct test_c_c_data): Rename test_name field to arg_str.
50237         (struct test_cc_c_data): Likewise.
50238         (struct test_f_i_data): Likewise.
50239         (struct test_ff_i_data): Likewise.
50240         (struct test_f_l_data): Likewise.
50241         (struct test_f_L_data): Likewise.
50242         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50243         and extra2_name.
50244         (COMMON_TEST_SETUP): New macro.
50245         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50246         (COMMON_TEST_CLEANUP): Likewise.
50247         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50248         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50249         macros.
50250         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50251         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50252         macros.
50253         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50254         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50255         cleanup macros.
50256         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50257         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50258         macros.
50259         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50260         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50261         macros.
50262         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50263         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50264         cleanup macros.
50265         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50266         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50267         cleanup macros.
50268         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50269         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50270         cleanup macros.
50271         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50272         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50273         macros.
50274         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50275         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50276         macros.
50277         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50278         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50279         macros.
50280         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50281         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50282         cleanup macros.
50283         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50284         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50285         cleanup macros.
50286         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50287         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50288         macros.
50289         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50290         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50291         cleanup macros.
50292         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50293         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50294         macros.
50295         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50296         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50297         macros.
50298         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50299         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50300         cleanup macros.
50301         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50303 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50305         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50306         to _sifields.sigfault.
50307         (si_addr_lsb): Define new macro.
50308         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50309         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50310         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50312 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50314         [BZ #15441]
50315         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50316         returns -1.
50317         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50318         null return -1.
50319         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50320         loading the domain.
50322 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50324         * math/gen-libm-test.pl (parse_args): Do not include expected
50325         result in test name.
50326         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50327         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50328         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50329         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50330         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50333 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50335         * benchtests/Makefile: Sort function entries.
50337         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50338         tanh, asinh, acosh, atanh.
50339         * benchtests/acos-inputs: New file.
50340         * benchtests/acosh-inputs: New file.
50341         * benchtests/asin-inputs: New file.
50342         * benchtests/asinh-inputs: New file.
50343         * benchtests/atanh-inputs: New file.
50344         * benchtests/cosh-inputs: New file.
50345         * benchtests/log-inputs: New file.
50346         * benchtests/sinh-inputs: New file.
50347         * benchtests/tanh-inputs: New file.
50349 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50351         [BZ #15339]
50352         * posix/tst-getaddrinfo4.c: New test.
50353         * posix/Makefile (tests): Add it.
50355 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50357         [BZ #15339]
50358         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50359         when no services were used.
50360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50361         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50363 2013-05-21  Andreas Schwab  <schwab@suse.de>
50365         [BZ #15014]
50366         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50367         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50368         successful.
50369         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50370         redundant variable declarations and reallocation of buffer when
50371         parsing as IPv6 address.  Always set NSS status when called from
50372         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50373         buffer too small.  Correct computation of needed size.
50374         * nss/Makefile (tests): Add test-digits-dots.
50375         * nss/test-digits-dots.c: New test.
50377 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50379         * benchtests/Makefile: Remove instructions for adding
50380         benchmark tests.
50381         * benchtests/README: New file to explain how to execute and
50382         enhance the benchmark tests.
50384 2013-05-21  Andreas Schwab  <schwab@suse.de>
50386         [BZ #15493]
50387         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50388         * setjmp/tst-sigsetjmp.c: New test.
50390 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50392         * sysdeps/x86_64/memset.S (memset): New implementation.
50393         (__bzero): Likewise.
50394         (__memset_tail): New function.
50396 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50398         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50399         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50400         __memcpy_sse2_unaligned ifunc selection.
50401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50402         Add memcpy-sse2-unaligned.S.
50403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50404         Add: __memcpy_sse2_unaligned.
50406 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50408         [BZ #15490]
50409         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50410         math_force_eval before restoring floating-point envrionment.
50411         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50412         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50413         Likewise.
50414         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50415         <math_private.h>.
50416         (__nearbyintl): Use math_force_eval before restoring
50417         floating-point environment.
50418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50420         * math/gen-libm-test.pl (special_functions): Remove.
50421         (parse_args): Don't handle TEST_extra.  Handle functions with no
50422         return value.
50423         * math/libm-test.inc (struct test_sincos_data): Replace with
50424         struct test_fFF_11_data.
50425         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50426         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50427         (sincos_test_data): Change element type to struct
50428         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50429         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50430         RUN_TEST_LOOP_sincos.
50431         * math/README.libm-test: Don't mention special handling of
50432         individual functions.
50433         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50435         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50437         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50440         * math/gen-libm-test.pl (get_variable): Remove function.
50441         (parse_args): Don't show pointer parameters to call in test
50442         names.  Use "extra output N" in test names for extra outputs
50443         rather than naming variables.
50445 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50447         [BZ #15488]
50448         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50449         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50450         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50451         double tests.
50452         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50453         disable.
50454         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50455         check_long_double.
50457         * math/gen-libm-test.pl (@tests): Remove variable.
50458         ($count): Likewise.
50459         (new_test): Remove function.
50460         (show_exceptions): New function.
50461         (special_functions): Use show_exceptions instead of new_test.
50462         (parse_args): Likewise.
50463         (generate_testfile): Pass only function name in generated call to
50464         print_max_error or print_complex_max_error.
50465         (get_ulps): Do not handle complex tests specially.
50466         (output_test): Rename to ...
50467         (get_all_ulps_for_test): ... this.  Return a string rather than
50468         printing to a file.  Require ulps to be present.
50469         (output_ulps): Generate arrays rather than #defines.
50470         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50471         (struct ulp_data): New type.
50472         (BUILD_COMPLEX_ULP): Remove macro.
50473         (compare_ulp_data): New function.
50474         (find_ulps): Likewise.
50475         (find_test_ulps): Likewise.
50476         (find_function_ulps): Likewise.
50477         (find_complex_function_ulps): Likewise.
50478         (print_max_error): Determine allowed ulps using
50479         find_function_ulps.
50480         (print_complex_max_error): Determine allowed ulps using
50481         find_complex_function_ulps.
50482         (check_float_internal): Determine max ulps using find_test_ulps.
50483         (check_float): Do not take max_ulp parameter.  Update call to
50484         check_float_internal.
50485         (check_complex): Likewise.
50486         (check_int): Do not take max_ulp parameter.
50487         (check_long): Likewise.
50488         (check_bool): Likewise.
50489         (check_longlong): Likewise.
50490         (struct test_f_f_data): Remove max_ulp field.
50491         (struct test_ff_f_data): Likewise.
50492         (struct test_ff_f_data_nexttoward): Likewise.
50493         (struct test_fi_f_data): Likewise.
50494         (struct test_fl_f_data): Likewise.
50495         (struct test_if_f_data): Likewise.
50496         (struct test_fff_f_data): Likewise.
50497         (struct test_c_f_data): Likewise.
50498         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50499         (struct test_fF_f1_data): Likewise.
50500         (struct test_ffI_f1_data): Likewise.
50501         (struct test_c_c_data): Remove max_ulp field.
50502         (struct test_cc_c_data): Likewise.
50503         (struct test_f_i_data): Likewise.
50504         (struct test_ff_i_data): Likewise.
50505         (struct test_f_l_data): Likewise.
50506         (struct test_f_L_data): Likewise.
50507         (struct test_sincos_data): Likewise.
50508         (RUN_TEST_f_f): Do not handle ulps.
50509         (RUN_TEST_LOOP_f_f): Likewise.
50510         (RUN_TEST_2_f): Likewise.
50511         (RUN_TEST_LOOP_2_f): Likewise.
50512         (RUN_TEST_fff_f): Likewise.
50513         (RUN_TEST_LOOP_fff_f): Likewise.
50514         (RUN_TEST_c_f): Likewise.
50515         (RUN_TEST_LOOP_c_f): Likewise.
50516         (RUN_TEST_f_f1): Likewise.
50517         (RUN_TEST_LOOP_f_f1): Likewise.
50518         (RUN_TEST_fF_f1): Likewise.
50519         (RUN_TEST_LOOP_fF_f1): Likewise.
50520         (RUN_TEST_fI_f1): Likewise.
50521         (RUN_TEST_LOOP_fI_f1): Likewise.
50522         (RUN_TEST_ffI_f1): Likewise.
50523         (RUN_TEST_LOOP_ffI_f1): Likewise.
50524         (RUN_TEST_c_c): Likewise.
50525         (RUN_TEST_LOOP_c_c): Likewise.
50526         (RUN_TEST_cc_c): Likewise.
50527         (RUN_TEST_LOOP_cc_c): Likewise.
50528         (RUN_TEST_f_i): Likewise.
50529         (RUN_TEST_LOOP_f_i): Likewise.
50530         (RUN_TEST_f_i_tg): Likewise.
50531         (RUN_TEST_LOOP_f_i_tg): Likewise.
50532         (RUN_TEST_ff_i_tg): Likewise.
50533         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50534         (RUN_TEST_f_b): Likewise.
50535         (RUN_TEST_LOOP_f_b): Likewise.
50536         (RUN_TEST_f_b_tg): Likewise.
50537         (RUN_TEST_LOOP_f_b_tg): Likewise.
50538         (RUN_TEST_f_l): Likewise.
50539         (RUN_TEST_LOOP_f_l): Likewise.
50540         (RUN_TEST_f_L): Likewise.
50541         (RUN_TEST_LOOP_f_L): Likewise.
50542         (RUN_TEST_sincos): Likewise.
50543         (RUN_TEST_LOOP_sincos): Likewise.
50545 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50547         [BZ #15480]
50548         [BZ #15485]
50549         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50550         main case of finite arguments, set rounding mode to FE_TONEAREST
50551         and discard exceptions.
50552         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50553         exceptions.
50554         (remainder_tonearest_test_data): New variable.
50555         (remainder_test_tonearest): New function.
50556         (remainder_towardzero_test_data): New variable.
50557         (remainder_test_towardzero): New function.
50558         (remainder_downward_test_data): New variable.
50559         (remainder_test_downward): New function.
50560         (remainder_upward_test_data): New variable.
50561         (remainder_test_upward): New function.
50562         (main): Call the new test functions.
50564         * math/libm-test.inc (struct test_f_f1_data): Remove field
50565         extra_init.
50566         (struct test_fF_f1_data): Likewise.
50567         (struct test_ffI_f1_data): Likewise.
50568         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50569         based on value of EXTRA_EXPECTED.
50570         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50571         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50572         EXTRA_VAR based on value of EXTRA_EXPECTED.
50573         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50574         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50575         EXTRA_VAR based on value of EXTRA_EXPECTED.
50576         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50577         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50578         EXTRA_VAR based on value of EXTRA_EXPECTED.
50579         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50580         * math/gen-libm-test.pl (parse_args): Don't output initializers
50581         for extra output values.
50583         * math/libm-test.inc (check_int): Expect result to be exactly
50584         equal to expected value and do not handle ulps.
50585         (check_long): Likewise.
50586         (check_longlong): Likewise.
50588         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50589         exceptions.
50590         (cimag_test_data): Likewise.
50591         (conj_test_data): Likewise.
50592         (copysign_test_data): Likewise.
50593         (cproj_test_data): Likewise.
50594         (creal_test_data): Likewise.
50595         (fabs_test_data): Likewise.
50596         (fdim_test_data): Likewise.
50597         (finite_test_data): Likewise.
50598         (floor_test_data): Likewise.
50599         (fmax_test_data): Likewise.
50600         (fmin_test_data): Likewise.
50601         (fmod_test_data): Likewise.
50602         (fpclassify_test_data): Likewise.
50603         (frexp_test_data): Likewise.
50604         (ilogb_test_data): Likewise.
50605         (isfinite_test_data): Likewise.
50606         (isgreater_test_data): Likewise.
50607         (isgreaterequal_test_data): Likewise.
50608         (isinf_test_data): Likewise.
50609         (isless_test_data): Likewise.
50610         (islessequal_test_data): Likewise.
50611         (islessgreater_test_data): Likewise.
50612         (isnan_test_data): Likewise.
50613         (isnormal_test_data): Likewise.
50614         (issignaling_test_data): Likewise.
50615         (isunordered_test_data): Likewise.
50616         (ldexp_test_data): Likewise.
50617         (lrint_test_data): Likewise.
50618         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50619         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50620         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50621         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50622         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50623         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50624         test input.
50625         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50626         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50627         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50628         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50629         that test input.
50630         (lrint_downward_test_data): Test for "inexact" exceptions.
50631         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50632         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50633         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50634         test input.
50635         (lrint_upward_test_data): Test for "inexact" exceptions.
50636         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50637         test input.
50638         (llrint_test_data): Test for "inexact" exceptions.
50639         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50640         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50641         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50642         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50643         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50644         (llrint_downward_test_data): Test for "inexact" exceptions.
50645         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50646         (llrint_upward_test_data): Test for "inexact" exceptions.
50647         (logb_test_data): Likewise.
50648         (logb_downward_test_data): Likewise.
50649         (nextafter_test_data): Likewise.
50650         (nexttoward_test_data): Likewise.
50651         (remainder_test_data): Likewise.
50652         (remquo_test_data): Likewise.
50653         (scalbn_test_data): Likewise.
50654         (scalbln_test_data): Likewise.
50655         (signbit_test_data): Likewise.
50656         (sqrt_test_data): Likewise.
50657         (significand_test_data): Likewise.
50659 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50661         [BZ #15424]
50662         * benchtests/bench-modf.c (struct args): Mark arg0 as
50663         volatile.
50664         * scripts/bench.pl: Mark members of struct args as volatile.
50666 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50668         [BZ # 15497]
50669         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50670         negative infinity on POWER6 or lower.
50671         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50673 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50675         [BZ #15442]
50676         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50677         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50678         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50679         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50680         (_FP_SETQNAN): New macro.
50681         (_FP_SETQNAN_SEMIRAW): Likewise.
50682         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50683         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50684         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50685         (FP_EXTEND): Use _FP_FRAC_SNANP.
50686         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50687         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50688         into account.
50689         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50690         New macro.
50691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50692         Likewise.
50694 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50696         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50697         with DIVIDE_BY_ZERO_EXCEPTION.
50698         (gamma_test_data): Likewise.
50699         (lgamma_test_data): Likewise.
50700         (log_test_data): Likewise.
50701         (log10_test_data): Likewise.
50702         (log2_test_data): Likewise.
50703         (tgamma_test_data): Likewise.
50705         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50706         (acos_test_tonearest): Likewise.
50707         (acos_test_towardzero): Likewise.
50708         (acos_test_downward): Likewise.
50709         (acos_test_upward): Likewise.
50710         (acosh_test): Likewise.
50711         (asin_test): Likewise.
50712         (asin_test_tonearest): Likewise.
50713         (asin_test_towardzero): Likewise.
50714         (asin_test_downward): Likewise.
50715         (asin_test_upward): Likewise.
50716         (asinh_test): Likewise.
50717         (atan_test): Likewise.
50718         (atanh_test): Likewise.
50719         (atan2_test): Likewise.
50720         (cabs_test): Likewise.
50721         (cacos_test): Likewise.
50722         (cacosh_test): Likewise.
50723         (casin_test): Likewise.
50724         (casinh_test): Likewise.
50725         (catan_test): Likewise.
50726         (catanh_test): Likewise.
50727         (cbrt_test): Likewise.
50728         (ccos_test): Likewise.
50729         (ccosh_test): Likewise.
50730         (cexp_test): Likewise.
50731         (clog_test): Likewise.
50732         (clog10_test): Likewise.
50733         (cos_test): Likewise.
50734         (cos_test_tonearest): Likewise.
50735         (cos_test_towardzero): Likewise.
50736         (cos_test_downward): Likewise.
50737         (cos_test_upward): Likewise.
50738         (cosh_test): Likewise.
50739         (cosh_test_tonearest): Likewise.
50740         (cosh_test_towardzero): Likewise.
50741         (cosh_test_downward): Likewise.
50742         (cosh_test_upward): Likewise.
50743         (cpow_test): Likewise.
50744         (csin_test): Likewise.
50745         (csinh_test): Likewise.
50746         (csqrt_test): Likewise.
50747         (ctan_test): Likewise.
50748         (ctan_test_tonearest): Likewise.
50749         (ctan_test_towardzero): Likewise.
50750         (ctan_test_downward): Likewise.
50751         (ctan_test_upward): Likewise.
50752         (ctanh_test): Likewise.
50753         (ctanh_test_tonearest): Likewise.
50754         (ctanh_test_towardzero): Likewise.
50755         (ctanh_test_downward): Likewise.
50756         (ctanh_test_upward): Likewise.
50757         (erf_test): Likewise.
50758         (erfc_test): Likewise.
50759         (exp_test): Likewise.
50760         (exp_test_tonearest): Likewise.
50761         (exp_test_towardzero): Likewise.
50762         (exp_test_downward): Likewise.
50763         (exp_test_upward): Likewise.
50764         (exp10_test): Likewise.
50765         (exp2_test): Likewise.
50766         (expm1_test): Likewise.
50767         (fmod_test): Likewise.
50768         (gamma_test): Likewise.
50769         (hypot_test): Likewise.
50770         (j0_test): Likewise.
50771         (j1_test): Likewise.
50772         (jn_test): Likewise.
50773         (lgamma_test): Likewise.
50774         (log_test): Likewise.
50775         (log10_test): Likewise.
50776         (log1p_test): Likewise.
50777         (log2_test): Likewise.
50778         (logb_test_downward): Likewise.
50779         (pow_test): Likewise.
50780         (pow_test_tonearest): Likewise.
50781         (pow_test_towardzero): Likewise.
50782         (pow_test_downward): Likewise.
50783         (pow_test_upward): Likewise.
50784         (remainder_test): Likewise.
50785         (remquo_test): Likewise.
50786         (sin_test): Likewise.
50787         (sin_test_tonearest): Likewise.
50788         (sin_test_towardzero): Likewise.
50789         (sin_test_downward): Likewise.
50790         (sin_test_upward): Likewise.
50791         (sincos_test): Likewise.
50792         (sinh_test): Likewise.
50793         (sinh_test_tonearest): Likewise.
50794         (sinh_test_towardzero): Likewise.
50795         (sinh_test_downward): Likewise.
50796         (sinh_test_upward): Likewise.
50797         (sqrt_test): Likewise.
50798         (tan_test): Likewise.
50799         (tan_test_tonearest): Likewise.
50800         (tan_test_towardzero): Likewise.
50801         (tan_test_downward): Likewise.
50802         (tan_test_upward): Likewise.
50803         (tanh_test): Likewise.
50804         (tgamma_test): Likewise.
50805         (y0_test): Likewise.
50806         (y1_test): Likewise.
50807         (yn_test): Likewise.
50809         * math/gen-libm-test.pl (adjust_arg): Remove function.
50810         (special_function): Remove argument $in_func.  Only handle
50811         generating output for tables of tests, not inside functions.
50812         (parse_args): Likewise.
50813         (generate_testfile): Remove variable $in_func.  Update call to
50814         parse_args.
50815         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50816         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50817         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50818         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50819         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50820         (MAX_VALUE_INIT): Rename macro to max_value.
50821         (MIN_VALUE_INIT): Rename macro to min_value.
50822         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50823         (plus_zero): Remove variable.
50824         (minus_zero): Likewise.
50825         (plus_infty): Likewise.
50826         (minus_infty): Likewise.
50827         (qnan_value): Likewise.
50828         (max_value): Likewise.
50829         (min_value): Likewise.
50830         (min_subnorm_value): Likewise.
50832 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50834         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50835         uint64_t or uint32_t usage.
50836         * crypt/sha256-block.c: Likewise.
50837         * crypt/sha256-crypt.c: Likewise.
50838         * crypt/sha256.c: Likewise.
50839         * crypt/sha512-block.c: Likewise.
50840         * crypt/sha512-crypt.c: Likewise.
50841         * crypt/sha512.c: Likewise.
50842         * debug/backtrace-tst.c: Likewise.
50843         * debug/pcprofiledump.c: Likewise.
50844         * elf/cache.c: Likewise.
50845         * elf/dl-cache.c: Likewise.
50846         * elf/dl-misc.c: Likewise.
50847         * elf/dl-profile.c: Likewise.
50848         * elf/dl-support.c: Likewise.
50849         * elf/ldconfig.c: Likewise.
50850         * elf/sprof.c: Likewise.
50851         * iconv/dummy-repertoire.c: Likewise.
50852         * iconv/iconv_charmap.c: Likewise.
50853         * iconv/skeleton.c: Likewise.
50854         * iconvdata/8bit-generic.c: Likewise.
50855         * iconvdata/cp737.h: Likewise.
50856         * iconvdata/cp775.h: Likewise.
50857         * iconvdata/ibm1008.h: Likewise.
50858         * iconvdata/ibm1025.h: Likewise.
50859         * iconvdata/ibm1046.h: Likewise.
50860         * iconvdata/ibm1097.h: Likewise.
50861         * iconvdata/ibm1112.h: Likewise.
50862         * iconvdata/ibm1122.h: Likewise.
50863         * iconvdata/ibm1123.h: Likewise.
50864         * iconvdata/ibm1124.h: Likewise.
50865         * iconvdata/ibm1129.h: Likewise.
50866         * iconvdata/ibm1130.h: Likewise.
50867         * iconvdata/ibm1132.h: Likewise.
50868         * iconvdata/ibm1133.h: Likewise.
50869         * iconvdata/ibm1137.h: Likewise.
50870         * iconvdata/ibm1140.h: Likewise.
50871         * iconvdata/ibm1141.h: Likewise.
50872         * iconvdata/ibm1142.h: Likewise.
50873         * iconvdata/ibm1143.h: Likewise.
50874         * iconvdata/ibm1144.h: Likewise.
50875         * iconvdata/ibm1145.h: Likewise.
50876         * iconvdata/ibm1146.h: Likewise.
50877         * iconvdata/ibm1147.h: Likewise.
50878         * iconvdata/ibm1148.h: Likewise.
50879         * iconvdata/ibm1149.h: Likewise.
50880         * iconvdata/ibm1153.h: Likewise.
50881         * iconvdata/ibm1154.h: Likewise.
50882         * iconvdata/ibm1155.h: Likewise.
50883         * iconvdata/ibm1156.h: Likewise.
50884         * iconvdata/ibm1157.h: Likewise.
50885         * iconvdata/ibm1158.h: Likewise.
50886         * iconvdata/ibm1160.h: Likewise.
50887         * iconvdata/ibm1161.h: Likewise.
50888         * iconvdata/ibm1162.h: Likewise.
50889         * iconvdata/ibm1163.h: Likewise.
50890         * iconvdata/ibm1164.h: Likewise.
50891         * iconvdata/ibm1166.h: Likewise.
50892         * iconvdata/ibm1167.h: Likewise.
50893         * iconvdata/ibm12712.h: Likewise.
50894         * iconvdata/ibm1390.h: Likewise.
50895         * iconvdata/ibm1399.h: Likewise.
50896         * iconvdata/ibm16804.h: Likewise.
50897         * iconvdata/ibm4517.h: Likewise.
50898         * iconvdata/ibm4899.h: Likewise.
50899         * iconvdata/ibm4909.h: Likewise.
50900         * iconvdata/ibm4971.h: Likewise.
50901         * iconvdata/ibm5347.h: Likewise.
50902         * iconvdata/ibm803.h: Likewise.
50903         * iconvdata/ibm856.h: Likewise.
50904         * iconvdata/ibm901.h: Likewise.
50905         * iconvdata/ibm902.h: Likewise.
50906         * iconvdata/ibm9030.h: Likewise.
50907         * iconvdata/ibm9066.h: Likewise.
50908         * iconvdata/ibm921.h: Likewise.
50909         * iconvdata/ibm922.h: Likewise.
50910         * iconvdata/ibm9448.h: Likewise.
50911         * iconvdata/isiri-3342.h: Likewise.
50912         * iconvdata/jis0201.h: Likewise.
50913         * include/link.h: Likewise.
50914         * include/netdb.h: Likewise.
50915         * inet/check_native.c: Likewise.
50916         * inet/check_pf.c: Likewise.
50917         * inet/getipv4sourcefilter.c: Likewise.
50918         * inet/getnameinfo.c: Likewise.
50919         * inet/getsourcefilter.c: Likewise.
50920         * inet/htonl.c: Likewise.
50921         * inet/setipv4sourcefilter.c: Likewise.
50922         * inet/setsourcefilter.c: Likewise.
50923         * inet/test-inet6_opt.c: Likewise.
50924         * inet/tst-network.c: Likewise.
50925         * locale/C-collate.c: Likewise.
50926         * locale/C-ctype.c: Likewise.
50927         * locale/C-time.c: Likewise.
50928         * locale/C-translit.h: Likewise.
50929         * locale/loadarchive.c: Likewise.
50930         * locale/programs/3level.h: Likewise.
50931         * locale/programs/charmap.c: Likewise.
50932         * locale/programs/charmap.h: Likewise.
50933         * locale/programs/ld-address.c: Likewise.
50934         * locale/programs/ld-collate.c: Likewise.
50935         * locale/programs/ld-ctype.c: Likewise.
50936         * locale/programs/ld-identification.c: Likewise.
50937         * locale/programs/ld-measurement.c: Likewise.
50938         * locale/programs/ld-messages.c: Likewise.
50939         * locale/programs/ld-monetary.c: Likewise.
50940         * locale/programs/ld-name.c: Likewise.
50941         * locale/programs/ld-numeric.c: Likewise.
50942         * locale/programs/ld-paper.c: Likewise.
50943         * locale/programs/ld-telephone.c: Likewise.
50944         * locale/programs/ld-time.c: Likewise.
50945         * locale/programs/linereader.c: Likewise.
50946         * locale/programs/locale.c: Likewise.
50947         * locale/programs/locarchive.c: Likewise.
50948         * locale/programs/locfile.h: Likewise.
50949         * locale/programs/repertoire.c: Likewise.
50950         * locale/programs/simple-hash.c: Likewise.
50951         * locale/programs/simple-hash.h: Likewise.
50952         * malloc/memusage.c: Likewise.
50953         * malloc/memusagestat.c: Likewise.
50954         * nis/nis_defaults.c: Likewise.
50955         * nis/nis_hash.c: Likewise.
50956         * nis/nis_print.c: Likewise.
50957         * nis/nis_xdr.c: Likewise.
50958         * nscd/connections.c: Likewise.
50959         * nscd/hstcache.c: Likewise.
50960         * nscd/nscd_gethst_r.c: Likewise.
50961         * nscd/nscd_getserv_r.c: Likewise.
50962         * nscd/nscd_helper.c: Likewise.
50963         * nscd/servicescache.c: Likewise.
50964         * nss/makedb.c: Likewise.
50965         * nss/nss_db/db-XXX.c: Likewise.
50966         * nss/nss_db/db-initgroups.c: Likewise.
50967         * nss/nss_db/db-netgrp.c: Likewise.
50968         * nss/nss_files/files-network.c: Likewise.
50969         * nss/nss_files/files-parse.c: Likewise.
50970         * posix/bug-regex5.c: Likewise.
50971         * posix/fnmatch_loop.c: Likewise.
50972         * posix/regcomp.c: Likewise.
50973         * posix/regexec.c: Likewise.
50974         * posix/tst-rfc3484-2.c: Likewise.
50975         * posix/tst-rfc3484-3.c: Likewise.
50976         * posix/tst-rfc3484.c: Likewise.
50977         * resolv/nss_dns/dns-canon.c: Likewise.
50978         * resolv/nss_dns/dns-network.c: Likewise.
50979         * resolv/res_init.c: Likewise.
50980         * resolv/res_mkquery.c: Likewise.
50981         * resolv/tst-aton.c: Likewise.
50982         * stdlib/cxa_atexit.c: Likewise.
50983         * stdlib/cxa_finalize.c: Likewise.
50984         * stdlib/gen-fpioconst.c: Likewise.
50985         * stdlib/strtol_l.c: Likewise.
50986         * string/tst-endian.c: Likewise.
50987         * sunrpc/auth_des.c: Likewise.
50988         * sunrpc/clnt_udp.c: Likewise.
50989         * sunrpc/rtime.c: Likewise.
50990         * sunrpc/svcauth_des.c: Likewise.
50991         * sunrpc/xdr.c: Likewise.
50992         * sunrpc/xdr_intXX_t.c: Likewise.
50993         * sunrpc/xdr_rec.c: Likewise.
50994         * sysdeps/generic/ldconfig.h: Likewise.
50995         * sysdeps/generic/ldsodefs.h: Likewise.
50996         * sysdeps/generic/memusage.h: Likewise.
50997         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50998         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50999         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51000         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51001         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51003         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51004         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51005         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51007         * sysdeps/posix/getaddrinfo.c: Likewise.
51008         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51009         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51010         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51011         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51012         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51013         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51014         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51015         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51016         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51017         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51018         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51019         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51020         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51021         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51022         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51023         * sysdeps/x86_64/dl-tls.h: Likewise.
51024         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51025         * time/alt_digit.c: Likewise.
51026         * time/era.c: Likewise.
51027         * wcsmbs/tst-c16c32-1.c: Likewise.
51029 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51031         * math/libm-test.inc (struct test_sincos_data): New type.
51032         (RUN_TEST_LOOP_sincos): New macro.
51033         (sincos_test_data): New variable.
51034         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51036 2013-05-16  Richard Henderson  <rth@redhat.com>
51038         * math/atest-exp2.c (LIMB64): New macro.
51039         (CONSTSZ): New macro.
51040         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51041         (hexdig): Move ...
51042         (print_mpn_fp): ... to function scope.
51043         (read_mpn_hex): Remove.
51044         (get_log2): Remove.
51045         (exp2_mpn): Use mp_log2.
51046         (main): Use mp_exp1.
51048 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51050         * math/libm-test.inc: Remove comment about not testing "inexact"
51051         exceptions.
51052         (INEXACT_EXCEPTION): New macro.
51053         (NO_INEXACT_EXCEPTION): Likewise.
51054         (INVALID_EXCEPTION_OK): Update value.
51055         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51056         (OVERFLOW_EXCEPTION_OK): Likewise.
51057         (UNDERFLOW_EXCEPTION_OK): Likewise.
51058         (IGNORE_ZERO_INF_SIGN): Likewise.
51059         (ERRNO_UNCHANGED): Likewise.
51060         (ERRNO_EDOM): Likewise.
51061         (ERRNO_ERANGE): Likewise.
51062         (test_exceptions): Handle testing "inexact" exceptions.
51063         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51064         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51065         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51066         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51067         INEXACT_EXCEPTION.
51068         (rint_towardzero_test_data): Likewise.
51069         (rint_downward_test_data): Likewise.
51070         (rint_upward_test_data): Likewise.
51072         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51073         with OVERFLOW_EXCEPTION.
51074         (exp10_test_data): Likewise.
51075         (exp2_test_data): Likewise.
51076         (expm1_test_data): Likewise.
51077         (lgamma_test_data): Likewise.
51078         (pow_test_data): Likewise.
51079         (tgamma_test_data): Likewise.
51080         (yn_test_data): Remove duplicate test of overflow.
51082         * math/libm-test.inc (struct test_cc_c_data): New type.
51083         (RUN_TEST_LOOP_cc_c): New macro.
51084         (cpow_test_data): New variable.
51085         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51087         * math/libm-test.inc (struct test_f_L_data): New type.
51088         (RUN_TEST_LOOP_f_L): New macro.
51089         (llrint_test_data): New variable.
51090         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51091         (llrint_tonearest_test_data): New variable.
51092         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51093         (llrint_towardzero_test_data): New variable.
51094         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51095         (llrint_downward_test_data): New variable.
51096         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51097         (llrint_upward_test_data): New variable.
51098         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51099         (llround_test_data): New variable.
51100         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51102 2013-05-13  Peter Collingbourne  <pcc@google.com>
51104         * math/atest-exp2.c (get_log2): Remove const attribute.
51106 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51108         * math/libm-test.inc (struct test_f_l_data): New type.
51109         (RUN_TEST_LOOP_f_l): New macro.
51110         (lrint_test_data): New variable.
51111         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51112         (lrint_tonearest_test_data): New variable.
51113         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51114         (lrint_towardzero_test_data): New variable.
51115         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51116         (lrint_downward_test_data): New variable.
51117         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51118         (lrint_upward_test_data): New variable.
51119         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51120         (lround_test_data): New variable.
51121         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51123 2013-05-15  Peter Collingbourne  <pcc@google.com>
51125         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51126         (EXTRACT_WORDS64) Use where appropriate.
51127         (INSERT_WORDS64) Likewise.
51129         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51130         constraints with x constraints.
51131         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51133         * malloc/obstack.c (_obstack_compat): Add initializer.
51135 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51137         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51138         si_trapno and add si_addr_lsb to _sifields.sigfault.
51139         (si_trapno): Remove macro.
51140         (si_addr_lsb): Define new macro.
51141         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51143 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51145         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51146         instead of TEST_f_l.
51147         (llrint_test_tonearest): Likewise.
51148         (llrint_test_towardzero): Likewise.
51149         (llrint_test_downward): Likewise.
51150         (llrint_test_upward): Likewise.
51151         (llround_test): Likewise.
51153         * math/libm-test.inc (struct test_f_i_data): Add comment.
51154         (RUN_TEST_LOOP_f_b): New macro.
51155         (RUN_TEST_LOOP_f_b_tg): Likewise.
51156         (finite_test_data): New variable.
51157         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51158         (isfinite_test_data): New variable.
51159         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51160         (isinf_test_data): New variable.
51161         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51162         (isnan_test_data): New variable.
51163         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51164         (isnormal_test_data): New variable.
51165         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51166         (issignaling_test_data): New variable.
51167         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51168         (signbit_test_data): New variable.
51169         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51171         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51172         with INVALID_EXCEPTION.
51173         (acosh_test_data): Likewise.
51174         (asin_test_data): Likewise.
51175         (atanh_test_data): Likewise.
51176         (fmod_test_data): Likewise.
51177         (log_test_data): Likewise.
51178         (log10_test_data): Likewise.
51179         (log2_test_data): Likewise.
51180         (pow_test_data): Likewise.
51181         (sqrt_test_data): Likewise.
51182         (y0_test_data): Likewise.
51183         (y1_test_data): Likewise.
51184         (yn_test_data): Likewise.
51186         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51187         function contents.
51189         * math/libm-test.inc (struct test_ff_i_data): New type.
51190         (RUN_TEST_LOOP_ff_i_tg): New macro.
51191         (isgreater_test_data): New variable.
51192         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51193         (isgreaterequal_test_data): New variable.
51194         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51195         (isless_test_data): New variable.
51196         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51197         (islessequal_test_data): New variable.
51198         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51199         (islessgreater_test_data): New variable.
51200         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51201         (isunordered_test_data): New variable.
51202         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51204 2013-05-14  David S. Miller  <davem@davemloft.net>
51206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51208 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51210         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51212         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51213         extra_test to int.
51214         (struct test_f_i_data): Change type of max_ulp to int.
51216         * math/libm-test.inc (test_ffI_f1_data): New type.
51217         (RUN_TEST_LOOP_ffI_f1): New macro.
51218         (remquo_test_data): New variable.
51219         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51221         * setjmp/tst-setjmp-fp.c: New file.
51222         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51223         (link-libm): New variable.
51224         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51226         * math/libm-test.inc (struct test_f_i_data): New type.
51227         (RUN_TEST_LOOP_f_i): New macro.
51228         (RUN_TEST_LOOP_f_i_tg): Likewise.
51229         (fpclassify_test_data): New variable.
51230         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51231         (ilogb_test_data): New variable.
51232         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51234         * math/libm-test.inc (scalbln_test): Correct function name in END
51235         call.
51237         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51238         (RUN_TEST_LOOP_fI_f1): New macro.
51239         (frexp_test_data): New variable.
51240         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51242         * math/libm-test.inc (struct test_fF_f1_data): New type.
51243         (RUN_TEST_LOOP_fF_f1): New macro.
51244         (modf_test_data): New variable.
51245         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51247         * math/libm-test.inc (struct test_f_f1_data): New type.
51248         (RUN_TEST_LOOP_f_f1): New macro.
51249         (gamma_test_data): New variable.
51250         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51251         (lgamma_test_data): New variable.
51252         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51254 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51256         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51257         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51258         (main): Comment "tls" pseudo-hwcap.
51260 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51262         * math/libm-test.inc (struct test_fl_f_data): New type.
51263         (RUN_TEST_LOOP_fl_f): New variable.
51264         (scalbln_test_data): New variable.
51265         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51267         * math/libm-test.inc (struct test_fi_f_data): New type.
51268         (RUN_TEST_LOOP_fi_f): New macro.
51269         (ldexp_test_data): New variable.
51270         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51271         (scalbn_test_data): New variable.
51272         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51274         * math/libm-test.inc (struct test_c_f_data): New type.
51275         (RUN_TEST_LOOP_c_f): New macro.
51276         (cabs_test_data): New variable.
51277         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51278         (carg_test_data): New variable.
51279         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51280         (cimag_test_data): New variable.
51281         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51282         (creal_test_data): New variable.
51283         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51285         * math/libm-test.inc (struct test_if_f_data): New type.
51286         (RUN_TEST_LOOP_if_f): New macro.
51287         (jn_test_data): New variable.
51288         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51289         (yn_test_data): New variable.
51290         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51292         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51294 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51296         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51297         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51299 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51301         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51302         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51303         (bench-deps): Add bench-timing.h.
51304         * benchtests-bench-skeleton.c: Include bench-timing.h.
51305         (main): Use TIMING_* macros instead of clock_gettime.
51306         * benchtests/bench-timing.h: New file.
51308         [BZ #14582]
51309         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51310         Renamed from _LIB_VERSION.
51311         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51313 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51315         * math/libm-test.inc (struct test_fff_f_data): New type.
51316         (RUN_TEST_LOOP_fff_f): New macro.
51317         (fma_test_data): New variable.
51318         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51319         (fma_towardzero_test_data): New variable.
51320         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51321         (fma_downward_test_data): New variable.
51322         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51323         (fma_upward_test_data): New variable.
51324         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51326         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51327         (struct test_c_c_data): New type.
51328         (RUN_TEST_LOOP_c_c): New macro.
51329         (cacos_test_data): New variable.
51330         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51331         (cacosh_test_data): New variable.
51332         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51333         (casin_test_data): New variable.
51334         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51335         (casinh_test_data): New variable.
51336         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51337         (catan_test_data): New variable.
51338         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51339         (catanh_test_data): New variable.
51340         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51341         (ccos_test_data): New variable.
51342         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51343         (ccosh_test_data): New variable.
51344         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51345         (cexp_test_data): New variable.
51346         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51347         (clog_test_data): New variable.
51348         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51349         (clog10_test_data): New variable.
51350         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51351         (conj_test_data): New variable.
51352         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51353         (cproj_test_data): New variable.
51354         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51355         (csin_test_data): New variable.
51356         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51357         (csinh_test_data): New variable.
51358         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51359         (csqrt_test_data): New variable.
51360         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51361         (ctan_test_data): New variable.
51362         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51363         (ctan_tonearest_test_data): New variable.
51364         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51365         (ctan_towardzero_test_data): New variable.
51366         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51367         (ctan_downward_test_data): New variable.
51368         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51369         (ctan_upward_test_data): New variable.
51370         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51371         (ctanh_test_data): New variable.
51372         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51373         (ctanh_tonearest_test_data): New variable.
51374         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51375         (ctanh_towardzero_test_data): New variable.
51376         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51377         (ctanh_downward_test_data): New variable.
51378         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51379         (ctanh_upward_test_data): New variable.
51380         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51381         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51382         of BUILD_COMPLEX.
51384         * math/libm-test.inc (struct test_ff_f_data): New type.
51385         (struct test_ff_f_data_nexttoward): Likewise.
51386         (RUN_TEST_LOOP_2_f): New macro.
51387         (RUN_TEST_LOOP_ff_f): Likewise.
51388         (atan2_test_data): New variable.
51389         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51390         (copysign_test_data): New variable.
51391         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51392         (fdim_test_data): New variable.
51393         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51394         (fmax_test_data): New variable.
51395         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51396         (fmin_test_data): New variable.
51397         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51398         (fmod_test_data): New variable.
51399         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51400         (hypot_test_data): New variable.
51401         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51402         (nextafter_test_data): New variable.
51403         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51404         (nexttoward_test_data): New variable.
51405         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51406         (pow_test_data): New variable.
51407         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51408         (pow_tonearest_test_data): New variable.
51409         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51410         (pow_towardzero_test_data): New variable.
51411         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51412         (pow_downward_test_data): New variable.
51413         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51414         (pow_upward_test_data): New variable.
51415         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51416         (remainder_test_data): New variable.
51417         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51418         (scalb_test_data): New variable.
51419         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51420         * sysdeps/i386/fpu/libm-test-ulps: Update.
51422 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51424         * math/libm-test.inc (fma_test): Use max_value instead of local
51425         variable fltmax.
51426         (nextafter_test): Likewise.
51428         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51429         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51430         (acos_downward_test_data): New variable.
51431         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51432         (acos_upward_test_data): New variable.
51433         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51434         (acosh_test_data): New variable.
51435         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51436         (asin_test_data): New variable.
51437         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51438         (asin_tonearest_test_data): New variable.
51439         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51440         (asin_towardzero_test_data): New variable.
51441         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51442         (asin_downward_test_data): New variable.
51443         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51444         (asin_upward_test_data): New variable.
51445         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51446         (asinh_test_data): New variable.
51447         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51448         (atan_test_data): New variable.
51449         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51450         (atanh_test_data): New variable.
51451         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51452         (cbrt_test_data): New variable.
51453         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51454         (ceil_test_data): New variable.
51455         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51456         (cos_test_data): New variable.
51457         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51458         (cos_tonearest_test_data): New variable.
51459         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51460         (cos_towardzero_test_data): New variable.
51461         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51462         (cos_downward_test_data): New variable.
51463         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51464         (cos_upward_test_data): New variable.
51465         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51466         (cosh_test_data): New variable.
51467         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51468         (cosh_tonearest_test_data): New variable.
51469         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51470         (cosh_towardzero_test_data): New variable.
51471         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51472         (cosh_downward_test_data): New variable.
51473         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51474         (cosh_upward_test_data): New variable.
51475         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51476         (erf_test_data): New variable.
51477         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51478         (erfc_test_data): New variable.
51479         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51480         (exp_test_data): New variable.
51481         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51482         (exp_tonearest_test_data): New variable.
51483         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51484         (exp_towardzero_test_data): New variable.
51485         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51486         (exp_downward_test_data): New variable.
51487         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51488         (exp_upward_test_data): New variable.
51489         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51490         (exp10_test_data): New variable.
51491         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51492         (exp2_test_data): New variable.
51493         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51494         (expm1_test_data): New variable.
51495         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51496         (fabs_test_data): New variable.
51497         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51498         (floor_test_data): New variable.
51499         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51500         (j0_test_data): New variable.
51501         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51502         (j1_test_data): New variable.
51503         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51504         (log_test_data): New variable.
51505         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51506         (log10_test_data): New variable.
51507         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51508         (log1p_test_data): New variable.
51509         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51510         (log2_test_data): New variable.
51511         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51512         (logb_test_data): New variable.
51513         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51514         (logb_downward_test_data): New variable.
51515         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51516         (nearbyint_test_data): New variable.
51517         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51518         (rint_test_data): New variable.
51519         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51520         (rint_tonearest_test_data): New variable.
51521         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51522         (rint_towardzero_test_data): New variable.
51523         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51524         (rint_downward_test_data): New variable.
51525         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51526         (rint_upward_test_data): New variable.
51527         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51528         (round_test_data): New variable.
51529         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51530         (sin_test_data): New variable.
51531         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51532         (sin_tonearest_test_data): New variable.
51533         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51534         (sin_towardzero_test_data): New variable.
51535         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51536         (sin_downward_test_data): New variable.
51537         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51538         (sin_upward_test_data): New variable.
51539         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51540         (sinh_test_data): New variable.
51541         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51542         (sinh_tonearest_test_data): New variable.
51543         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51544         (sinh_towardzero_test_data): New variable.
51545         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51546         (sinh_downward_test_data): New variable.
51547         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51548         (sinh_upward_test_data): New variable.
51549         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51550         (sqrt_test_data): New variable.
51551         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51552         (tan_test_data): New variable.
51553         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51554         (tan_tonearest_test_data): New variable.
51555         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51556         (tan_towardzero_test_data): New variable.
51557         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51558         (tan_downward_test_data): New variable.
51559         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51560         (tan_upward_test_data): New variable.
51561         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51562         (tanh_test_data): New variable.
51563         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51564         (tgamma_test_data): New variable.
51565         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51566         (trunc_test_data): New variable.
51567         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51568         (y0_test_data): New variable.
51569         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51570         (y1_test_data): New variable.
51571         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51572         (significand_test_data): New variable.
51573         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51575 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51577         [BZ #12387]
51578         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51580 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51582         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51584 2013-05-10  Andreas Jaeger  <aj@suse.de>
51586         [BZ #15448]
51587         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51588         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51590 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51592         * math/gen-libm-test.pl (adjust_arg): New function.
51593         (special_functions): Handle generating output in both functions
51594         and arrays.
51595         (parse_args): Likewise.
51596         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51597         $in_func argument to parse_args.
51598         * math/libm-test.inc (struct test_f_f_data): New type.
51599         (IF_ROUND_INIT_): New macro.
51600         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51601         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51602         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51603         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51604         (ROUND_RESTORE_): Likewise.
51605         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51606         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51607         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51608         (ROUND_RESTORE_FE_UPWARD): Likewise.
51609         (RUN_TEST_LOOP_f_f): New macro.
51610         (acos_test_data): New variable.
51611         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51612         (acos_tonearest_test_data): New variable.
51613         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51615 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51617         * benchtests/bench-skeleton.c (startup): Fix coding style.
51619 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51621         [BZ #6809]
51622         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51623         negative infinity argument.
51624         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51625         negative infinity argument.
51626         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51627         negative infinity argument.
51628         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51629         domain errors.
51631 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51633         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51634         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51635         * iconv/iconv_prog.c (main): Likewise.
51636         * locale/programs/charmap-dir.c (charmap_readdir)
51637         (fopen_uncompressed): Likewise.
51638         * locale/programs/locfile.c (siblings_uncached)
51639         (write_locale_data): Use lstat64 instead of lstat.
51640         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51641         stat.
51643 2013-05-10  Andreas Jaeger  <aj@suse.de>
51645         [BZ #15395]
51646         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51647         localization.
51648         Include <locale.h>.
51650 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51652         * elf/dl-close.c (_dl_close_worker): Add comments.
51654 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51656         [BZ #15359]
51657         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51658         high part of pi/2.
51659         (__ieee754_rem_pio2l): Update comments.
51661         [BZ #15429]
51662         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51663         high part of pi/2.
51664         (__ieee754_rem_pio2l): Update comments.
51666         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51667         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51669         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51670         M_PI_4l.
51672         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51673         (M_PI_34_LOG10El): Likewise.
51674         (M_PI2_LOG10El): Likewise.
51675         (M_PI4_LOG10El): Likewise.
51676         (M_PI_LOG10El): Likewise.
51678 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51682 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51684         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51685         (MINUS_ZERO_INIT): Likewise.
51686         (PLUS_INFTY_INIT): Likewise.
51687         (MINUS_INFTY_INIT): Likewise.
51688         (QNAN_VALUE_INIT): Likewise.
51689         (MAX_VALUE_INIT): Likewise.
51690         (MIN_VALUE_INIT): Likewise.
51691         (MIN_SUBNORM_VALUE_INIT): Likewise.
51692         (plus_zero): Initialize with PLUS_ZERO_INIT.
51693         (minus_zero): Initialize with MINUS_ZERO_INIT.
51694         (plus_infty): Initialize with PLUS_INFTY_INIT.
51695         (minus_infty): Initialize with MINUS_INFTY_INIT.
51696         (qnan_value): Initialize with QNAN_VALUE_INIT.
51697         (max_value): Initialize with MAX_VALUE_INIT.
51698         (min_value): Initialize with MIN_VALUE_INIT.
51699         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51701         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51702         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51703         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51704         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51706         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51707         (RUN_TEST_2_f): Likewise.
51708         (RUN_TEST_ff_f): Likewise.
51709         (RUN_TEST_fi_f): Likewise.
51710         (RUN_TEST_fl_f): Likewise.
51711         (RUN_TEST_fff_f): Likewise.
51712         (RUN_TEST_c_f): Likewise.
51713         (RUN_TEST_f_f1): Likewise.
51714         (RUN_TEST_fF_f1): Likewise.
51715         (RUN_TEST_fI_f1): Likewise.
51716         (RUN_TEST_ffI_f1): Likewise.
51717         (RUN_TEST_c_c): Likewise.
51718         (RUN_TEST_cc_c): Likewise.
51719         (RUN_TEST_f_i): Likewise.
51720         (RUN_TEST_f_i_tg): Likewise.
51721         (RUN_TEST_ff_i_tg): Likewise.
51722         (RUN_TEST_f_b): Likewise.
51723         (RUN_TEST_f_b_tg): Likewise.
51724         (RUN_TEST_f_l): Likewise.
51725         (RUN_TEST_f_L): Likewise.
51726         (RUN_TEST_sincos): Likewise.
51727         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51728         whether to show exceptions.  Do not include ");\n" in return
51729         value.
51730         (special_functions): Output call to RUN_TEST_sincos instead of
51731         check_float calls.  Update calls to new_test.
51732         (parse_args): Output call to single RUN_TEST_* macro instead of
51733         check_* calls and other assignments.  Update calls to new_test.
51735         [BZ #2546]
51736         [BZ #2560]
51737         [BZ #5159]
51738         [BZ #15426]
51739         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51740         input to result for tgamma overflow.
51741         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51742         (gamma_coeff): New variable.
51743         (NCOEFF): New macro.
51744         (gamma_positive): New function.
51745         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51746         underflow here.  Use gamma_positive instead of exp (lgamma) for
51747         other arguments.
51748         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51749         (gamma_coeff): New variable.
51750         (NCOEFF): New macro.
51751         (gammaf_positive): New function.
51752         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51753         underflow here.  Use gamma_positive instead of exp (lgamma) for
51754         other arguments.
51755         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51756         (gamma_coeff): New variable.
51757         (NCOEFF): New macro.
51758         (gammal_positive): New function.
51759         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51760         underflow here.  Use gamma_positive instead of exp (lgamma) for
51761         other arguments.
51762         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51763         (gamma_coeff): New variable.
51764         (NCOEFF): New macro.
51765         (gammal_positive): New function.
51766         (__ieee754_gammal_r): Handle positive infinity, overflow and
51767         underflow here.  Handle NaN the same as positive infinity.  Remove
51768         check x < 0xffffffff for negative integers.  Use gamma_positive
51769         instead of exp (lgamma) for other arguments.
51770         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51771         (gamma_coeff): New variable.
51772         (NCOEFF): New macro.
51773         (gammal_positive): New function.
51774         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51775         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51776         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51777         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51778         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51779         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51780         * sysdeps/generic/math_private.h (__gamma_productf): New
51781         prototype.
51782         (__gamma_product): Likewise.
51783         (__gamma_productl): Likewise.
51784         * math/Makefile (libm-calls): Add gamma_product.
51785         * math/libm-test.inc (tgamma_test): Add more tests.
51786         * sysdeps/i386/fpu/libm-test-ulps: Update.
51787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51789 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51791         * benchtests/bench-skeleton.c (main): Preheat CPU.
51793 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51795         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51797 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51799         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51800         and _dl_skip_args_internal.
51802 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51804         * manual/message.texi (Message Translation): Talk about users.
51805         Message to key mapping impacts design.
51807 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51809         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51811         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51813         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51814         * sysdeps/wordsize-64/glob64.c: ... here.
51816         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51817         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51818         New macros.
51820         * debug/getlogin_r_chk.c: Moved to ...
51821         * login/getlogin_r_chk.c: ... here.
51822         * debug/Makefile (routines): Move getlogin_r_chk to ...
51823         * login/Makefile (routines): ... here.
51824         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51825         * login/Versions (libc: GLIBC_2.4): ... here.
51827         * io/poll.c (__poll): Renamed from poll.
51828         Add libc_hidden_def.
51829         (poll): Define as weak alias.
51831         * debug/ptsname_r_chk.c: Moved to ...
51832         * login/ptsname_r_chk.c: ... here.
51833         * debug/Makefile (routines): Move ptsname_r_chk to ...
51834         * login/Makefile (routines): ... here.
51835         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51836         * login/Versions (libc: GLIBC_2.4): ... here.
51838         * posix/getlogin.c: Moved to ...
51839         * login/getlogin.c: ... here.
51840         * posix/getlogin_r.c: Moved to ...
51841         * login/getlogin_r.c: ... here.
51842         * posix/getlogin_r.c: Moved to ...
51843         * login/getlogin_r.c: ... here.
51844         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51845         * login/Makefile (routines): ... here.
51846         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51847         * login/Versions (libc: GLIBC_2.0): ... here.
51849         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51850         (setrlimit): Define as weak alias.
51852         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51853         Call __ names for open, ftruncate, and close.
51854         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51855         (truncate): Define as weak alias.
51857 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51859         * math/gen-libm-test.pl (parse_args): Initialize x before each
51860         test of frexp, modf and remquo.
51862         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51863         test signgam value.
51865 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51867         [BZ #15418]
51868         [BZ #15419]
51869         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51870         internal tests.
51871         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51873 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51875         * elf/dl-writev.h: New file.
51876         * elf/dl-misc.c: Include it.
51877         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51878         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51880 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51882         * math/libm-test.inc (noXFails): Remove variable.
51883         (noXPasses): Likewise.
51884         (BUILD_COMPLEX_INT): Remove macro.
51885         (print_screen): Remove xfail argument.
51886         (print_screen_max_error): Likewise.
51887         (update_stats): Likewise.
51888         (print_max_error): Likewise.  Update calls to other affected
51889         functions.
51890         (print_complex_max_error): Likewise.
51891         (test_single_exception): Update calls to print_screen.
51892         (test_single_errno): Likewise.
51893         (check_float_internal): Remove xfail argument.  Update calls to
51894         other affected functions.
51895         (check_float): Likewise.
51896         (check_complex): Likewise.
51897         (check_int): Likewise.
51898         (check_long): Likewise.
51899         (check_bool): Likewise.
51900         (check_longlong): Likewise.
51901         (main): Don't print noXFails and noXPasses.
51902         * math/gen-libm-test.pl (top level): Don't mention expected
51903         failure handling in comment.
51904         (new_test): Don't handle expected failures.
51905         (parse_args): Don't mention expected failure handling in comment.
51906         (generate_testfile): Don't handle expected failures.
51907         (parse_ulps): Likewise.
51908         (print_ulps_file): Likewise.
51909         (get_failure): Remove function.
51910         (output_test): Don't handle expected failures.
51911         * make/README.libm-test: Don't mention expected failure handling.
51913         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51914         (minus_zero): Likewise.
51915         (plus_infty): Likewise.
51916         (minus_infty): Likewise.
51917         (qnan_value): Likewise.
51918         (max_value): Likewise.
51919         (min_value): Likewise.
51920         (min_subnorm_value): Likewise.
51921         (initialize): Do not initialize those variables dynamically.
51923 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51925         * io/open.c (__open_2): Moved to ...
51926         * io/open_2.c: ... this new file.
51927         * io/open64.c (__open64_2): Moved to ...
51928         * io/open64_2.c: ... this new file.
51929         * io/openat.c (__openat_2): Moved to ...
51930         * io/openat_2.c: ... this new file.
51931         * io/openat64.c (__openat64_2): Moved to ...
51932         * io/openat64_2.c: ... this new file.
51933         * io/Makefile (routines): Add them.
51934         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51935         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51936         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51937         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51938         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51939         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51940         (__openat64): Add hidden_ver.
51941         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51942         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51944         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51945         Separately conditionalize setting of GLRO(dl_sysinfo) so
51946         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51947         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51949 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51951         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51953         definition.
51954         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51955         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51956         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51957         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51958         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51960 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51962         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51963         test signgam value.
51965         * math/libm-test.inc (hypot_test): Do not use
51966         IGNORE_ZERO_INF_SIGN.
51968 2013-05-03  Andreas Jaeger  <aj@suse.de>
51970         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51971         Linux 3.9.
51972         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51973         (PF_MAX): Adjust for VSOCK change.
51975 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51979 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51981         [BZ #15264]
51982         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51983         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51984         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51986 2013-05-02  David S. Miller  <davem@davemloft.net>
51988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51990 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51992         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51994 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51996         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51998 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52000         [BZ #14952]
52001         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52002         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52003         Use __attribute__ ((__gnu_inline__)).
52004         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52005         Don't use __attribute__ ((__gnu_inline__)).
52007 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52009         [BZ #15423]
52010         * math/s_catan.c (__catan): Handle small real or imaginary part of
52011         input specially to avoid spurious underflow.
52012         * math/s_catanf.c (__catanf): Likewise.
52013         * math/s_catanh.c (__catanh): Likewise.
52014         * math/s_catanhf.c (__catanhf): Likewise.
52015         * math/s_catanhl.c (__catanhl): Likewise.
52016         * math/s_catanl.c (__catanl): Likewise.
52017         * math/libm-test.inc (catan_test): Add more tests.
52018         (catanh_test): Likewise.
52019         * sysdeps/i386/fpu/libm-test-ulps: Update.
52020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52022 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52026 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52028         [BZ #15416]
52029         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52030         accurately for denominator in atan2.
52031         * math/s_catanf.c (__catanf): Likewise.
52032         * math/s_catanh.c (__catanh): Likewise.
52033         * math/s_catanhf.c (__catanhf): Likewise.
52034         * math/s_catanhl.c (__catanhl): Likewise.
52035         * math/s_catanl.c (__catanl): Likewise.
52036         * math/libm-test.inc (catan_test): Add more tests.
52037         (catanh_test): Likewise.
52038         * sysdeps/i386/fpu/libm-test-ulps: Update.
52039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52041 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52043         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52045         * benchtests/Makefile (bench): Remove slow benchmarks.
52046         * benchtests/atan-inputs: Add slow benchmark inputs.
52047         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52048         (BENCH_FUNC): Accept variant offset.
52049         (VARIANT): Define.
52050         * benchtests/bench-skeleton.c (main): Run benchmark for each
52051         variant.
52052         * benchtests/cos-inputs: Add slow benchmark inputs.
52053         * benchtests/exp-inputs: Likewise.
52054         * benchtests/pow-inputs: Likewise.
52055         * benchtests/sin-inputs: Likewise.
52056         * benchtests/slowatan-inputs: Remove.
52057         * benchtests/slowatan.c: Remove.
52058         * benchtests/slowcos-inputs: Remove.
52059         * benchtests/slowcos.c: Remove.
52060         * benchtests/slowexp-inputs: Remove.
52061         * benchtests/slowexp.c: Remove.
52062         * benchtests/slowpow-inputs: Remove.
52063         * benchtests/slowpow.c: Remove.
52064         * benchtests/slowsin-inputs: Remove.
52065         * benchtests/slowsin.c: Remove.
52066         * benchtests/slowtan-inputs: Remove.
52067         * benchtests/slowtan.c: Remove.
52068         * benchtests/tan-inputs: Add slow benchmark inputs.
52069         * scripts/bench.pl: Parse comments and directives.
52071         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52072         in CPPFLAGS.
52073         ($(objpfx)bench-%.c): Remove *-ITER.
52074         * benchtests/bench-modf.c: Remove definition of ITER.
52075         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52076         (main): Loop for DURATION seconds instead of fixed number of
52077         iterations.
52078         * scripts/bench.pl: Don't expect iterations in parameters.
52080 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52082         * io/fchdir.c (__fchdir): Renamed from fchdir.
52083         (fchdir): Define as weak alias.
52085 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52087         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52088         (ERRNO_EDOM): Likewise.
52089         (ERRNO_ERANGE): Likewise.
52090         (noErrnoTests): New variable.
52091         (init_max_error): Set errno to 0.
52092         (test_single_errno): New function.
52093         (test_errno): Likewise.
52094         (check_float_internal): Call test_errno.  Set errno to 0.
52095         (check_complex): Refer to errno tests in comment.
52096         (check_int): Call test_errno.  Set errno to 0.
52097         (check_long): Likewise.
52098         (check_bool): Likewise.
52099         (check_longlong): Likewise.
52100         (cos_test): Use ERRNO_* flags for errno tests instead of
52101         check_int.
52102         (expm1_test): Likewise.
52103         (fmod_test): Likewise.
52104         (ilogb_test): Likewise.
52105         (lgamma_test): Likewise.
52106         (pow_test): Likewise.
52107         (remainder_test): Likewise.
52108         (sin_test): Likewise.
52109         (tan_test): Likewise.
52110         (yn_test): Likewise.
52111         (initialize): Set errno to 0.
52112         (main): Print number of errno tests.
52113         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52115 2013-04-29  Andreas Jaeger  <aj@suse.de>
52117         [BZ #15084]
52118         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52119         and RES_USEVC.
52121         [BZ #15085]
52122         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52123         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52124         unimplemented.
52126         [BZ #15380]
52127         * stdlib/random.c (__initstate): Return NULL if
52128         __initstate fails.
52130         [BZ #15086]
52131         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52132         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52133         RES_SNGLKUPREOP.
52135 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52139 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52141         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52142         of individual tests.
52143         (casin_test): Likewise.
52144         (casinh_test): Likewise.
52146 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52148         [BZ #15409]
52149         * math/s_catan.c (__catan): Handle arguments with large real or
52150         imaginary part separately without squaring.
52151         * math/s_catanf.c (__catanf): Likewise.
52152         * math/s_catanh.c (__catanh): Likewise.
52153         * math/s_catanhf.c (__catanhf): Likewise.
52154         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52155         and redefine.
52156         (__catanhl): Handle arguments with large real or imaginary part
52157         separately without squaring.
52158         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52159         and redefine.
52160         (__catanl): Handle arguments with large real or imaginary part
52161         separately without squaring.
52162         * math/libm-test.inc (catan_test): Add more tests.
52163         (catanh_test): Likewise.
52164         * sysdeps/i386/fpu/libm-test-ulps: Update.
52165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52167 2013-04-27  Andreas Jaeger  <aj@suse.de>
52169         [BZ #15007]
52170         * stdlib/stdlib.h: Update guards for qecvt.
52171         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52172         <stdlib.h>.
52174 2013-04-27  Allan McRae  <allan@archlinux.org>
52176         * sysdeps/i386/fpu/libm-test-ulps: Update.
52178 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52180         [BZ #15406]
52181         * math/s_catan.c: Include <float.h>.
52182         (__catan): Ensure underflow exception occurs for underflowed
52183         result.
52184         * math/s_catanf.c: Include <float.h>.
52185         (__catanf): Ensure underflow exception occurs for underflowed
52186         result.
52187         * math/s_catanh.c: Include <float.h>.
52188         (__catanh): Ensure underflow exception occurs for underflowed
52189         result.
52190         * math/s_catanhf.c: Include <float.h>.
52191         (__catanhf): Ensure underflow exception occurs for underflowed
52192         result.
52193         * math/s_catanhl.c: Include <float.h>.
52194         (__catanhl): Ensure underflow exception occurs for underflowed
52195         result.
52196         * math/s_catanl.c: Include <float.h>.
52197         (__catanl): Ensure underflow exception occurs for underflowed
52198         result.
52199         * math/libm-test.inc (catan_test): Add more tests.
52200         (catanh_test): Likewise.
52202         [BZ #15405]
52203         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52204         underflowed result.
52205         * math/s_ccoshf.c (__ccoshf): Likewise.
52206         * math/s_ccoshl.c (__ccoshl): Likewise.
52207         * math/s_csin.c (__csin): Likewise.
52208         * math/s_csinf.c (__csinf): Likewise.
52209         * math/s_csinh.c (__csinh): Likewise.
52210         * math/s_csinhf.c (__csinhf): Likewise.
52211         * math/s_csinhl.c (__csinhl): Likewise.
52212         * math/s_csinl.c (__csinl): Likewise.
52213         * math/libm-test.inc (ccos_test): Add more tests.
52214         (ccosh_test): Likewise.
52215         (csin_test): Likewise.
52216         (csinh_test): Likewise.
52218 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52220         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52221         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52222         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52223         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52224         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52225         powerpc/power5+/fpu folders.
52226         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52229 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52233 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52235         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52236         additions to variable.
52237         [$(config-machine) = x86_64] (modules-names): Likewise.
52238         ($(objpfx)tst-audit3): Remove dependency.
52239         ($(objpfx)tst-audit3.out): Likewise.
52240         ($(objpfx)tst-audit4): Likewise.
52241         ($(objpfx)tst-audit4.out): Likewise.
52242         ($(objpfx)tst-audit5): Likewise.
52243         ($(objpfx)tst-audit5.out): Likewise.
52244         ($(objpfx)tst-audit6): Likewise.
52245         ($(objpfx)tst-audit6.out): Likewise.
52246         ($(objpfx)tst-audit7): Likewise.
52247         ($(objpfx)tst-audit7.out): Likewise.
52248         (tst-audit3-ENV): Remove variable.
52249         (tst-audit4-ENV): Likewise.
52250         (tst-audit5-ENV): Likewise.
52251         (tst-audit6-ENV): Likewise.
52252         (tst-audit7-ENV): Likewise.
52253         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52254         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52255         addition to variable.
52256         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52257         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52258         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52259         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52260         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52261         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52262         tst-audit3, tst-audit4 and tst-audit5.
52263         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52264         tst-audit6 and tst-audit7.
52265         [$(subdir) = elf] (modules-names): Add audit modules for those
52266         tests.
52267         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52268         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52269         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52270         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52271         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52272         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52273         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52274         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52275         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52276         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52277         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52278         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52279         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52280         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52281         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52282         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52283         Likewise.
52284         [$(subdir) = elf && $(config-cflags-avx) = yes]
52285         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52286         [$(subdir) = elf && $(config-cflags-avx) = yes]
52287         (CFLAGS-tst-auditmod4a.c): Likewise.
52288         [$(subdir) = elf && $(config-cflags-avx) = yes]
52289         (CFLAGS-tst-auditmod4b.c): Likewise.
52290         [$(subdir) = elf && $(config-cflags-avx) = yes]
52291         (CFLAGS-tst-auditmod6b.c): Likewise.
52292         [$(subdir) = elf && $(config-cflags-avx) = yes]
52293         (CFLAGS-tst-auditmod6c.c): Likewise.
52294         [$(subdir) = elf && $(config-cflags-avx) = yes]
52295         (CFLAGS-tst-auditmod7b.c): Likewise.
52296         * elf/tst-audit3.c: Move to ...
52297         * sysdeps/x86_64/tst-audit3.c: ... here.
52298         * elf/tst-audit4.c: Move to ...
52299         * sysdeps/x86_64/tst-audit4.c: ... here.
52300         * elf/tst-audit5.c: Move to ...
52301         * sysdeps/x86_64/tst-audit5.c: ... here.
52302         * elf/tst-audit6.c: Move to ...
52303         * sysdeps/x86_64/tst-audit6.c: ... here.
52304         * elf/tst-audit7.c: Move to ...
52305         * sysdeps/x86_64/tst-audit7.c: ... here.
52306         * elf/tst-auditmod3a.c: Move to ...
52307         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52308         * elf/tst-auditmod3b.c: Move to ...
52309         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52310         * elf/tst-auditmod4a.c: Move to ...
52311         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52312         * elf/tst-auditmod4b.c: Move to ...
52313         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52314         * elf/tst-auditmod5a.c: Move to ...
52315         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52316         * elf/tst-auditmod5b.c: Move to ...
52317         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52318         * elf/tst-auditmod6a.c: Move to ...
52319         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52320         * elf/tst-auditmod6b.c: Move to ...
52321         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52322         * elf/tst-auditmod6c.c: Move to ...
52323         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52324         * elf/tst-auditmod7a.c: Move to ...
52325         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52326         * elf/tst-auditmod7b.c: Move to ...
52327         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52329 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52331         [BZ #15366]
52332         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52333         define unconditionally.
52334         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52335         define unconditionally.
52336         (INT8_C, INT16_C, etc.): Likewise.
52338 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52340         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52341         __ehdr_start with hidden visibility.
52343         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52345 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52347         * math/libm-test.inc (cos_test): Use accurate hex constants.
52348         (sincost_test): Likewise.
52350 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52352         * math/libm-test.inc (catan_test): Add more tests.
52353         (catanh_test): Likewise.
52355         * math/s_catanf.c (__catanf): Use suffixed floating-point
52356         constants.
52357         * math/s_catanhf.c (__catanhf): Likewise.
52358         * math/s_catanhl.c (__catanhl): Likewise.
52359         * math/s_catanl.c (__catanl): Likewise.
52361         [BZ #15394]
52362         * math/s_catan.c (__catan): Calculate imaginary part of result
52363         with log1p not log unless computing log of number close to 0.
52364         * math/s_catanf.c (__catanf): Likewise.
52365         * math/s_catanl.c (__catanl): Likewise.
52366         * math/s_catanh.c (__catanh): Calculate real part of result with
52367         log1p not log unless computing log of number close to 0.
52368         * math/s_catanhf.c (__catanhf): Likewise.
52369         * math/s_catanhl.c (__catanhl): Likewise.
52370         * math/libm-test.inc (catan_test): Add more tests.
52371         (catanh_test): Likewise.
52372         * sysdeps/i386/fpu/libm-test-ulps: Update.
52373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52375 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52377         * benchtests/Makefile: Mention files in which fast and slow
52378         paths of math functions are implemented.
52380 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52382         * sysdeps/posix/timespec_get.c: New file.
52384 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52386         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52387         POWER.
52388         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52389         for POWER.
52390         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52391         powerpc/power5/fpu folders.
52392         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52393         * benchtests/Makefile: Add modf testcase.
52394         * benchtests/bench-modf.c: New file: Benchmark test for mo
52396 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52398         [BZ #14888]
52399         * time/Makefile (tests): Add tst-strptime-whitespace.
52400         * time/strptime_l.c (get_number): Use ISSPACE.
52401         (__strptime_internal): Likewise.
52402         * time/tst-strptime-whitespace.c: New test case.
52404 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52406         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52407         member.
52408         (_nss_files_init): Set it here.
52410 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52412         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52413         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52414         unsigned.
52416 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52418         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52420 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52423         size just once.
52425 2013-04-21  David S. Miller  <davem@davemloft.net>
52427         * po/ru.po: Update Russion translation from translation project.
52429 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52431         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52432         and setfsgid.
52434 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52436         * configure.in: Remove i386 configure warning. Remove i386 case.
52437         * configure: Regenerate.
52438         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52439         Add example to error message.
52440         * sysdeps/i386/configure: Regenerate.
52442 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52444         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52445         slowtan.
52446         * benchtests/cos-inputs: New file.
52447         * benchtests/slowcos-inputs: New file.
52448         * benchtests/slowcos.c: New file.
52449         * benchtests/slowtan-inputs: New file.
52450         * benchtests/slowtan.c: New file.
52451         * benchtests/tan-inputs: New file.
52453 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52455         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52456         considered kosher.
52458 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52460         * benchtests/Makefile: Include cppflags-iterator.mk to add
52461         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52463         * Makefile.in (bench-clean): New target.
52464         * benchtests/Makefile (bench-clean): Likewise.
52466 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52468         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52470 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52472         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52474 2013-04-15  Andreas Schwab  <schwab@suse.de>
52476         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52478         * nscd/pwdcache.c (cache_addpw): Likewise.
52479         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52480         more than recsize.
52482 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52484         * benchtests/Makefile (bench): Write all output to
52485         bench-out.tmp together.
52487 2013-04-15  Andreas Schwab  <schwab@suse.de>
52489         * nscd/nscd.c (main): Don't fork again after closing files.
52491 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52493         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52495         * benchtests/Rules (bench-deps): Collect dependencies into a
52496         single variable.  Add Makefile to dependencies.
52497         ($(objpfx)bench-%.c): Depend on bench-deps.
52499 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52500             Xavier Roche  <roche+kml2@exalead.com>
52502         [BZ #15361]
52503         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52504         just that it's a file descriptor.
52505         * manual/llio.texi (Synchronizing AIO Operations): Update description
52506         for EBADF error from aio_fsync.
52508 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52510         * Rules (bench): Move target definition...
52511         * benchtests/Makefile: ... here.
52513 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52515         * math/libm-test.inc (cos_test): Fix PI/2 test.
52516         (sincos_test): Likewise.
52517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52518         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52520 2013-04-11  Andreas Schwab  <schwab@suse.de>
52522         [BZ #13988]
52523         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52524         accept exponent character only when digits were seen.
52525         * stdio-common/Makefile (tests): Add bug26.
52526         * stdio-common/bug26.c: New file.
52528         [BZ #14293]
52529         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52530         non-freeable.
52532 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52534         * Makeconfig (rtld-prefix): Define built linker prefix.
52535         * Rules (run-bench): Use it.
52536         * math/Makefile (run-regen-ulps): Likewise.
52538         * Rules (bench): Remove eval.
52540 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52541             Roland McGrath  <roland@hack.frob.com>
52542             Ondrej Bilka  <neleai@seznam.cz>
52544         [BZ #15346]
52545         * time/getdate.c: Include ctype.h and alloca.h.
52546         (__getdate_r): Trim leading and trailing spaces of input.
52547         * time/tst-getdate.c (tests): Add tests with leading and
52548         trailing spaces.
52550 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52552         [BZ #14280]
52553         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52554         when computing value.
52556 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52558         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52559         Use testrun.sh to run libm tests.
52561         [BZ #15309]
52562         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52564 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52566         [BZ #15264]
52567         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52569 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52571         * Makefile.in (regen-ulps): New target.
52572         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52573         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52574         [ifneq (no,$(PERL)] (regen-ulps): New target.
52575         [ifeq (no,$(PERL)] (regen-ulps): New target.
52576         * math/libm-test.inc (ulps_file_name): Define.
52577         (output_dir): New variable.
52578         (options): Add "output-dir" option.
52579         (parse_opt): Handle 'o' case.
52580         (main): If output_dir is non-NULL use it as a prefix
52581         otherwise use "".
52582         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52584 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52586         [BZ #10060, #10062]
52587         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52588         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52589         fail configure if __sync_val_compare_and_swap is not inlined.
52590         * sysdeps/i386/configure: Regenerate.
52591         * configure.in: Build for i686 when configured for i386.
52592         * configure: Regenerate.
52593         * README: Remove i386 reference.
52595 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52597         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52598         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52600 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52602         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52603         (lmsnanval): New variables.
52604         (F): Add conversion tests.
52605         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52606         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52608         * stdio-common/tstdiomisc.c (F): Properly collect individual
52609         tests' results.
52611         [BZ #14686, #15336]
52612         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52613         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52614         Instead, use input NaN values or generate a qNaN by arithmetic
52615         operation.  Also fix bugs to comply with the standard.
52616         * math/libm-test.inc (remainder_test): Add more tests.
52618         [BZ #15335, #15342]
52619         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52621         input NaN values or generate a qNaN by arithmetic operation.
52623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52624         unreachable code.
52626         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52627         definitions.
52629 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52631         [BZ #14478]
52632         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52633         underflowed result.
52634         * math/s_cexpf.c (__cexpf): Likewise.
52635         * math/s_cexpl.c (__cexpl): Likewise.
52636         * math/libm-test.inc (cexp_test): Add more tests.
52638 2013-04-03  Andreas Schwab  <schwab@suse.de>
52640         [BZ #15330]
52641         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52642         order arrays from heap if bigger than alloca cutoff.
52644 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52646         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52647         (SNAN_TESTS_double): Refer to GCC PR56831.
52648         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52649         GCC PR56828.
52651 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52653         * Rules (bench): Move bench.out after the run is complete.
52655         * Rules (bench): Echo currently running benchmark.
52657         * benchtests/Makefile (bench): Add atan and slowatan.
52658         * benchtests/atan-inputs: New file.
52659         * benchtests/slowatan-inputs: New file.
52660         * benchtests/slowatan.c: New file.
52662         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52663         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52664         its value.
52666         [BZ #15305]
52667         * sysdeps/unix/sysv/linux/kernel-features.h
52668         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52669         __ASSUME_XFS_RESTRICTED_CHOWN.
52670         * sysdeps/unix/sysv/linux/pathconf.c
52671         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52672         Save and restore errno.
52674 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52676         [BZ #15327]
52677         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52678         arguments using __kernel_casinh.
52679         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52680         arguments using __kernel_casinhf.
52681         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52682         arguments using __kernel_casinhl.
52683         * math/libm-test.inc (cacosh_test): Add more tests.
52684         * sysdeps/i386/fpu/libm-test-ulps: Update.
52685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52687 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52689         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52692         * bench/Makefile (bench): Add sin and slowsin.
52693         * benchtests/sin-inputs: New file.
52694         * benchtests/slowsin-inputs: New file.
52695         * benchtests/slowsin.c: New file.
52697         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52698         (bench): Add slowexp and slowpow.
52699         (exp-ITER): Increase iterations.
52700         (pow-ITER): Likewise.
52701         * benchtests/exp-inputs: Change input.
52702         * benchtests/pow-inputs: Likewise.
52703         * benchtests/slowexp-inputs: New file.
52704         * benchtests/slowexp.c: New file.
52705         * benchtests/slowpow-inputs: New file.
52706         * benchtests/slowpow.c: New file.
52708 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52710         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52711         instructions.
52712         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52713         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52714         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52715         * benchtests/Makefile: Add rint benchtest.
52716         * benchtests/rint-inputs: Input for rint benchtest.
52718 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52720         * Versions.def (libm): Add GLIBC_2.18.
52721         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52722         hidden libm prototypes.
52723         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52724         * math/Makefile (libm-calls): Add s_issignaling.
52725         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52726         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52727         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52728         declaration.
52729         * math/math.h [__USE_GNU] (issignaling): New macro.
52730         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52731         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52732         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52733         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52734         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52736         * manual/arith.texi (issignaling): New section.
52737         * manual/libm-err-tab.pl (@all_functions): Update comment.
52738         * math/gen-libm-test.pl (parse_args): Apply special handling for
52739         issignaling.
52740         * math/libm-test.inc (print_float, issignaling_test): New
52741         functions.
52742         (check_float_internal): Add issignaling checks.
52743         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52744         default definition.
52745         * sysdeps/powerpc/math-tests.h: New file.
52746         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52747         tests.
52748         * math/test-snan.c (TEST_FUNC): Likewise.
52750 2013-03-30  David S. Miller  <davem@davemloft.net>
52752         * po/de.po: Update from translation team.
52754 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52756         [BZ #10357]
52757         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52758         imaginary part less than 1.0 and real part less than 0.5
52759         specially.
52760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52762         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52763         (cacos_test): Add more tests.
52764         (casin_test): Likewise.
52765         (casinh_test): Likewise.
52766         * sysdeps/i386/fpu/libm-test-ulps: Update.
52767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52769 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52771         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52772         ONE with its value.
52774         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52775         (__pow_mp): Replace ONE and MONE with their values.
52776         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52777         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52778         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52779         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52780         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52781         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52783         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52785         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52786         (__pow_mp): Replace ZERO and MZERO with their values.
52787         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52788         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52789         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52791         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52792         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52793         (__sqr): Likewise.
52795         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52797         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52799 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52801         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52802         Declare with __attribute__ ((weak)).
52803         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52804         Call __call_tls_dtors only if it's not NULL.
52806 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52808         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52809         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52810         magic __ehdr_start linker symbol if it's defined.
52811         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52812         them up here if it was already done.
52814         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52815         (_dl_aux_init): Use const in cast when setting it.
52816         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52817         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52818         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52820         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52821         Declare them here.
52822         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52823         * csu/libc-tls.c: Nor here.
52824         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52826         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52827         (__libc_message): Never call vsyslog.
52829 2013-03-28  Alan Modra  <amodra@gmail.com>
52831         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52832         Define as empty.
52833         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52834         Likewise.
52836 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52838         [BZ #15214]
52839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52840         underflow.
52841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52843 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52845         [BZ #15304]
52846         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52847         Don't add gid passed as argument.
52849         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52851 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52853         [BZ #15307]
52854         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52855         imaginary part between 1.0 and 1.5 and real part less than 0.5
52856         specially.
52857         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52858         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52859         * math/libm-test.inc (cacos_test): Add more tests.
52860         (casin_test): Likewise.
52861         (casinh_test): Likewise.
52862         * sysdeps/i386/fpu/libm-test-ulps: Update.
52863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52865 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52867         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52868         constants.
52869         (norm): Likewise.
52870         (denorm): Likewise.
52871         (__dbl_mp): Likewise.
52872         (add_magnitudes): Likewise.
52873         (sub_magnitudes): Likewise.
52874         (__add): Likewise.
52875         (__sub): Likewise.
52876         (__mul): Likewise.
52877         (__sqr): Likewise.
52878         (__inv): Likewise.
52879         (__dvd): Likewise.
52881         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52882         commented code.
52883         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52884         (__dubcos): Likewise.
52885         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52886         (__ieee754_acos): Likewise.
52887         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52888         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52889         (__exp1): Likewise.
52890         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52891         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52892         (log1): Likewise.
52893         (my_log2): Likewise.
52894         (checkint): Likewise.
52895         * sysdeps/ieee754/dbl-64/e_remainder.c
52896         (__ieee754_remainder): Likewise.
52897         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52898         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52899         (bsloww): Likewise.
52900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52902         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52903         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52904         MANTISSA_STORE_T to store computations on mantissa.  Use
52905         macros for rounding and division.
52906         (denorm): Likewise.
52907         (__dbl_mp): Likewise.
52908         (add_magnitudes): Likewise.
52909         (sub_magnitudes): Likewise.
52910         (__mul): Likewise.
52911         (__sqr): Likewise.
52912         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52913         powers of two in terms of TWOPOW macro.
52914         (mp_no): Make type of mantissa as MANTISSA_T.
52915         [!RADIXI]: Define RADIXI.
52916         [!TWO52]: Define TWO52.
52917         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52919 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52921         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52922         llroundl symbol when building for PPC32.
52924 2013-03-24  Mark H Weaver  <mhw@netris.org>
52926         * manual/arith.texi (Normalization Functions): Fix prototypes for
52927         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52929 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52931         [BZ #13889]
52932         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52933         high value to check if expl overflow.
52934         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52935         to check for underflow and overflow.
52936         * math/libm-test.inc: Add exp test.
52938 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52940         [BZ #11120]
52941         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52942         with NOT_IN_libc.
52944 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52946         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52947         symbol.
52949 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52951         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52952         wrap blocks consisting of several statements.
52954         * sysdeps/generic/math-tests.h: New file.
52955         * sysdeps/i386/fpu/math-tests.h: Likewise.
52956         * math/test-snan.c: Include it.
52957         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52959 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52961         [BZ #15285]
52962         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52963         (__ieee754_j0l): Do not improve calculations using cos of twice
52964         input for inputs above LDBL_MAX / 2.0L.
52965         (__ieee754_y0l): Likewise.
52966         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52967         (__ieee754_j1l): Do not improve calculations using cos of twice
52968         input for inputs above LDBL_MAX / 2.0L.
52969         (__ieee754_y1l): Likewise.
52970         * math/libm-test.inc (j0_test): Add another test.
52971         (j1_test): Likewise.
52972         (y0_test): Likewise.
52973         (y1_test): Likewise.
52974         * sysdeps/i386/fpu/libm-test-ulps: Update.
52976 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52978         * Rules ($(objpfx)bench-%.c): Include code from a C source
52979         file.
52981 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52983         [BZ #15287]
52984         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52985         imaginary part 1.0 and real part less than 0.5 specially.
52986         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52987         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52988         * math/libm-test.inc (cacos_test): Add more tests.
52989         (casin_test): Likewise.
52990         (casinh_test): Likewise.
52991         * sysdeps/i386/fpu/libm-test-ulps: Update.
52992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52994 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52996         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52997         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52999 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53001         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53002         * config.make.in (config-cflags-sse4): Remove variable.
53003         (config-cflags-avx): Likewise.
53004         (config-cflags-sse2avx): Likewise.
53005         (config-cflags-novzeroupper): Likewise.
53006         (config-asflags-i686): Likewise.
53007         (have-mfma4): Likewise.
53008         (have-as-vis3): Likewise.
53009         (MIG): Likewise.
53010         * configure.in (MIG): Do not AC_SUBST.
53011         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53012         (libc_cv_cc_sse4): Do not AC_SUBST.
53013         (libc_cv_cc_avx): Likewise.
53014         (libc_cv_cc_sse2avx): Likewise.
53015         (libc_cv_cc_novzeroupper): Likewise.
53016         (libc_cv_cc_fma4): Likewise.
53017         (libc_cv_as_i686): Likewise.
53018         (libc_cv_sparc_as_vis3): Likewise.
53019         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53020         LIBC_CONFIG_VAR.
53021         (config-asflags-i686): Likewise.
53022         (config-cflags-avx): Likewise.
53023         (config-cflags-sse2avx): Likewise.
53024         (have-mfma4): Likewise.
53025         (config-cflags-novzeroupper): Likewise.
53026         * sysdeps/mach/configure.in (MIG): Likewise.
53027         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53028         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53029         LIBC_CONFIG_VAR.
53030         (config-cflags-avx): Likewise.
53031         (config-cflags-sse2avx): Likewise.
53032         (have-mfma4): Likewise.
53033         (config-cflags-novzeroupper): Likewise.
53034         * configure: Regenerated.
53035         * sysdeps/i386/configure: Likewise.
53036         * sysdeps/mach/configure: Likewise.
53037         * sysdeps/sparc/configure: Likewise.
53038         * sysdeps/x86_64/configure: Likewise.
53040 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53042         [BZ #14812]
53043         * locale/programs/localedef.c (options): Put N_ translation marker
53044         on argument names, not just descriptions.
53046 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53048         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53050 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53052         [BZ #14176]
53053         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53055 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53057         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53058         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53059         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53060         [!BEFORE_ABORT] (before_abort): New function.
53061         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53062         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53063         (writev_for_fatal): New function.
53064         (WRITEV_FOR_FATAL): New macro; call that.
53065         (backtrace_and_maps): New function.
53066         (BEFORE_ABORT): New macro; call that.
53067         (struct str_list): Type removed.
53068         (__libc_message, __libc_fatal): Functions removed.
53069         Include <sysdeps/posix/libc_fatal.c> instead.
53071 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53073         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53074         constants.
53075         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53076         double constants.
53078 2013-03-19  Andreas Schwab  <schwab@suse.de>
53080         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53081         * sysdeps/gnu/configure: Regenerate.
53083         * configure.in: Substitute libc_cv_rtlddir.
53084         * configure: Regenerate.
53085         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53086         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53087         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53088         * elf/Makefile (install-others, CFLAGS-interp.c)
53089         (ldso_install, common-ldd-rewrite): Likewise.
53090         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53091         $(inst_slibdir)/$(rtld-installed-name).
53092         * scripts/rellns-sh: Add -p option.
53093         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53094         for source.
53096 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53098         * manual/nptl.texi: Renamed to ...
53099         * manual/threads.texi: ... this.
53100         * manual/Makefile (chapters): Update.
53102 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53104         [BZ #14812]
53105         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53106         on argument names, not just descriptions.
53107         * malloc/memusagestat.c (options): Likewise.
53108         * nss/getent.c (options): Likewise.
53110 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53112         [BZ #14812]
53113         * iconv/iconv_prog.c (options): Put N_ translation marker
53114         on argument names, not just descriptions.
53115         * iconv/iconvconfig.c (options): Likewise.
53117 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53119         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53120         implementation which is faster on all x86_64 architectures.
53121         Tested on AMD, Intel Nehalem, SNB, IVB.
53122         * sysdeps/x86_64/strnlen.S: Likewise.
53124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53125         Remove all multiarch strlen and strnlen versions.
53126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53127         Remove strlen and strnlen related parts.
53129         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53130         Inline strlen part.
53131         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53133         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53134         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53135         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53136         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53137         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53138         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53140 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53142         * manual/memory.texi (Malloc Tunable Parameters):
53143         Sort parameters alphabetically. Add comments for missing entries.
53145 2013-03-17  David S. Miller  <davem@davemloft.net>
53147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53149 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53151         [BZ #15283]
53152         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53153         for arguments at most half maximum finite value.
53154         * math/libm-test.inc (j0_test): Add more tests.
53155         (j1_test): Likewise.
53156         (y0_test): Likewise.
53157         (y1_test): Likewise.
53158         * sysdeps/i386/fpu/libm-test-ulps: Update.
53159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53161         [BZ #14155]
53162         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53163         1 / x and functions P and Q for arguments above 0x1p256L.
53164         (__ieee754_y0l): Likewise.
53165         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53166         (__ieee754_y1l): Likewise.
53167         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53168         (j1_test): Likewise.
53169         (y0_test): Likewise.
53170         (y1_test): Likewise.
53172 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53174         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53175         variable.
53177 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53179         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53180         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53181         zero since it's initialized to EXEC_PAGESIZE.
53183         * sysdeps/unix/sysv/linux/ldsodefs.h
53184         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53185         * sysdeps/generic/ldsodefs.h: ... here.
53187 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53189         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53191         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53192         math/test-snan.c.
53193         * math/test-snan.c: Renamed from
53194         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53195         * math/Makefile (tests): Add test-snan.
53196         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53197         test-powerpc-snan.
53199         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53200         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53201         functions.
53202         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53203         __builtin_nan family of functions.
53204         * math/libm-test.inc (initialize): Initialize qnan_value with
53205         __builtin_nan family of functions.
53206         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53207         Remove variables.
53208         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53209         Remove functions.
53210         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53211         storage class.  Initialize qNaN_var and sNaN_var with
53212         __builtin_nan and __builtin_nans families of functions,
53213         respectively.
53215         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53216         (sqrt_test): Remove duplicate test with qNaN input.
53217         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53218         (round_test, signbit_test, significand_test): Note missing +/-Inf
53219         as well as qNaN tests.
53221         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53222         qNaN_var.  Fix a few strings, too.
53223         * math/libm-test.inc (nan_value): Rename to qnan_value.
53224         * math/gen-libm-test.pl (%beautify): Adjust to that.
53225         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53226         * math/test-misc.c (main): Likewise.
53227         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53228         to __qnan_bytes, and __qnan_union, respectively.
53229         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53230         Likewise.
53231         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53232         and lqnanval, respectively.
53233         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53234         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53235         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53236         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53238         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53239         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53240         doubles.
53242         * math/test-misc.c (main): Fix copy'n'pastos.
53243         * misc/tst-efgcvt.c (special): Likewise.
53245         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53246         Remove declarations.
53248 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53250         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53251         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53252         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53255 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53257         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53258         macro to return vdso values correctly in IFUNC implementations.
53259         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53260         Optimization by using IFUNC.
53262 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53263             Richard Henderson  <rth@redhat.com>
53264             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53266         * Makefile.in (bench): New target.
53267         * NEWS: Mention the benchmark framework.
53268         * Rules (bench): Likewise.
53269         (binaries-bench): Generate binaries for functions to
53270         benchmark.
53271         * benchtests/Makefile: New makefile for benchmark tests.
53272         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53273         programs.
53274         * benchtests/exp-inputs: New input file for EXP function.
53275         * benchtests/pow-inputs: New input file for POW function.
53276         * scripts/bench.pl: New script to generate source files for
53277         benchmark programs.
53279 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53281         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53282         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53283         computations on mantissa.  Use macros for rounding and
53284         division.
53285         (denorm): Likewise.
53286         (__dbl_mp): Likewise.
53287         (add_magnitudes): Likewise.
53288         (sub_magnitudes): Likewise.
53289         (__mul): Likewise.
53290         (__sqr): Likewise.
53291         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53292         powers of two in terms of TWOPOW macro.
53293         (mp_no): Make type of mantissa as MANTISSA_T.
53294         [!RADIXI]: Define RADIXI.
53295         [!TWO52]: Define TWO52.
53296         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53298         * manual/nptl.texi (cindex): Modify threads to pthreads.
53300 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53302         * sysdeps/x86_64/preconfigure: Regenerated.
53304 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53306         [BZ #14155]
53307         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53308         0x1p28 and above.
53309         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53310         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53311         0x1p28 and above.
53312         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53313         * math/libm-test.inc (j0_test): Do not allow one spurious
53314         underflow exception.
53315         (y1_test): Likewise.
53317 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53319         * manual/Makefile (chapters): Add nptl.
53320         * manual/debug.texi (Debugging Support): Add link to Threads
53321         chapter.
53322         * manual/nptl.texi: New file.
53324         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53326 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53328         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53329         for non-NULL pointer before the memory validity test. Pointed
53330         out by Holger Brunck <holger.brunck@keymile.com>.
53332 2013-03-13  Andreas Schwab  <schwab@suse.de>
53334         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53335         instead of .os.
53337 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53339         * timezone/zic.c: Update from tzcode 2013b.
53341 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53343         * manual/install.texi (Configuring and compiling):
53344         Mention i686 and i586.
53345         * INSTALL: Regenerate.
53347 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53349         * sysdeps/init_array/elf-init.c: New file.
53350         * csu/elf-init.c
53351         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53352         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53354         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53355         __gmon_start__ as global, but as static with a .preinit_array pointer.
53356         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53357         * sysdeps/init_array/crti.S: New file, empty except for comments.
53358         * sysdeps/init_array/crtn.S: Likewise.
53360 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53362         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53363         definining bcopy.
53364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53365         Remove Prefer_SSE_for_memop.
53366         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53367         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53368         HAS_PREFER_SSE_FOR_MEMOP.
53369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53370         memset-x86-64.
53371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53372         Remove bzero, memset ifunc support.
53373         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53374         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53375         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53376         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53378 2013-03-11  Andreas Schwab  <schwab@suse.de>
53380         [BZ #15234]
53381         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53382         by SHLIB_COMPAT.
53383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53384         (GLIBC_2.16): Remove pthread_atfork.
53386 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53388         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53389         (ptestcases.h): Likewise.
53391 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53393         * Makeconfig ($(common-objpfx)config.status): Depend on
53394         sysdeps/*/preconfigure{,.in} too.
53396 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53398         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53399         (__free_hook): Use void * instead of __malloc_ptr_t.
53400         (__malloc_hook): Likewise.
53401         (__realloc_hook): Likewise.
53402         (__memalign_hook): Likewise.
53403         (__after_morecore_hook): Likewise.
53404         * malloc/arena.c (save_malloc_hook): Likewise.
53405         (save_free_hook): Likewise.
53406         * malloc/hooks.c (malloc_hook_ini): Likewise.
53407         (realloc_hook_ini): Likewise.
53408         (memalign_hook_ini): Likewise.
53409         * malloc/malloc.c (malloc_hook_ini): Likewise.
53410         (realloc_hook_ini): Likewise.
53411         (memalign_hook_ini): Likewise.
53412         (__free_hook): Likewise.
53413         (__malloc_hook): Likewise.
53414         (__realloc_hook): Likewise.
53415         (__memalign_hook): Likewise.
53416         (__libc_malloc): Likewise.
53417         (__libc_free): Likewise.
53418         (__libc_realloc): Likewise.
53419         (__libc_memalign): Likewise.
53420         (__libc_valloc): Likewise.
53421         (__libc_pvalloc): Likewise.
53422         (__libc_calloc): Likewise.
53423         (__posix_memalign): Likewise.
53424         * malloc/morecore.c (__sbrk): Likewise.
53425         (__default_morecore): Likewise.
53427         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53429         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53430         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53431         __malloc_ptrdiff_t.
53433         * malloc/malloc.h (__malloc_size_t): Remove macro.
53434         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53435         __malloc_size_t.
53436         (old_memalign_hook): Likewise.
53437         (old_realloc_hook): Likewise.
53438         (struct hdr): Likewise.
53439         (flood): Likewise.
53440         (mallochook): Likewise.
53441         (memalignhook): Likewise.
53442         (reallochook): Likewise.
53443         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53444         (tr_old_realloc_hook): Likewise.
53445         (tr_old_memalign_hook): Likewise.
53446         (tr_mallochook): Likewise.
53447         (tr_reallochook): Likewise.
53448         (tr_memalignhook): Likewise.
53450 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53452         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53453         default_ldbl_pack and using as default implementation.
53454         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53455         implementation.
53456         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53457         redundant definition.
53458         (ldbl_insert_mantissa): Likewise.
53459         (ldbl_canonicalize): Likewise.
53460         (ldbl_nearbyint): Likewise.
53461         (ldbl_pack): Rename to ldbl_pack_ppc.
53462         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53463         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53464         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53466 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53469         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53470         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53471         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53473         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53474         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53475         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53477 2013-03-07  Andreas Jaeger  <aj@suse.de>
53479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53480         bits/mman-linux.h.
53482 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53484         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53485         Include mpa.h and declare __MPEXP.
53486         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53487         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53488         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53489         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53490         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53491         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53492         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53494         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53495         (__slowpow): Use long double EXPL and LOGL functions to
53496         compute POW.
53497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53498         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53499         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53501         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53502         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53505         intermediate variable to calculate exponent.
53506         (__sqr): Likewise.
53507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53508         Likewise.
53509         (__sqr): Likewise.
53511         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53512         [!NO__SQR]: Define __sqr.
53513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53514         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53515         sysdeps/ieee754/dbl-64/mpa.c.
53516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53518         [BZ #12723]
53519         * posix/Makefile (tests): Add tst-pathconf.
53520         * posix/tst-pathconf.c: New test case.
53521         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53522         _PC_PIPE_BUF.
53523         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53525 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53527         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53529 2013-03-06  Andreas Jaeger  <aj@suse.de>
53531         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53532         definition via __MAP_ANONYMOUS.
53534         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53535         it's not part of Linux headers.
53537         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53538         (MAP_HUGE_MASK): Define.
53540         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53541         Define.
53542         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53544         Define.
53545         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53546         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53547         Define.
53548         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53549         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53550         Define.
53551         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53553         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53554         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53555         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53556         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53557         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53558         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53560         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53561         Handle f2fs.
53563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53564         Handle f2fs and efivarfs.
53566         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53567         f2fs.
53569         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53570         (EFIVARFS_MAGIC): Add.
53571         (F2FS_LINK_MAX): Add.
53573 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53575         * stdio-common/vfprintf.c: Replace __builtin_expect with
53576         __glibc_unlikely.
53578 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53580         [BZ #13550]
53581         * sysdeps/generic/bp-sym.h: Remove file.
53582         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53583         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53584         <bp-sym.h> and <bp-asm.h>.
53585         (__longjmp): Don't use BP_SYM.
53586         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53587         and <bp-asm.h>.
53588         (memcpy): Don't use BP_SYM.
53589         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53590         <bp-sym.h> and <bp-asm.h>.
53591         (memcpy): Don't use BP_SYM.
53592         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53593         <bp-asm.h>.
53594         (memcpy): Don't use BP_SYM.
53595         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53596         <bp-asm.h>.
53597         (memset): Don't use BP_SYM.
53598         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53599         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53600         (__bzero): Don't use BP_SYM.
53601         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53602         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53603         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53604         <bp-sym.h> and <bp-asm.h>.
53605         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53606         pointers.
53607         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53608         <bp-sym.h> and <bp-asm.h>.
53609         (memcpy): Don't use BP_SYM.
53610         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53611         <bp-sym.h> and <bp-asm.h>.
53612         (memset): Don't use BP_SYM.
53613         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53614         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53615         (__bzero): Don't use BP_SYM.
53616         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53617         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53618         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53619         <bp-sym.h> and <bp-asm.h>.
53620         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53621         pointers.
53622         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53623         <bp-sym.h> and <bp-asm.h>.
53624         (memcpy): Don't use BP_SYM.
53625         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53626         <bp-sym.h> and <bp-asm.h>.
53627         (memset): Don't use BP_SYM.
53628         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53629         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53630         (__bzero): Don't use BP_SYM.
53631         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53632         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53633         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53634         <bp-sym.h> and <bp-asm.h>.
53635         (__memchr): Don't use BP_SYM.
53636         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53637         <bp-sym.h> and <bp-asm.h>.
53638         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53639         pointers.
53640         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53641         <bp-sym.h> and <bp-asm.h>.
53642         (memcpy): Don't use BP_SYM.
53643         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53644         <bp-sym.h> and <bp-asm.h>.
53645         (__mempcpy): Don't use BP_SYM.
53646         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53647         <bp-sym.h> and <bp-asm.h>.
53648         (__memrchr): Don't use BP_SYM.
53649         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53650         <bp-sym.h> and <bp-asm.h>.
53651         (memset): Don't use BP_SYM.
53652         (__bzero): Likewise.
53653         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53654         <bp-sym.h> and <bp-asm.h>.
53655         (__rawmemchr): Don't use BP_SYM.
53656         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53657         <bp-sym.h> and <bp-asm.h>.
53658         (__STRCMP): Don't use BP_SYM.
53659         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53660         <bp-sym.h> and <bp-asm.h>.
53661         (strchr): Don't use BP_SYM.
53662         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53663         <bp-sym.h> and <bp-asm.h>.
53664         (__strchrnul): Don't use BP_SYM.
53665         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53666         <bp-sym.h> and <bp-asm.h>.
53667         (strlen): Don't use BP_SYM.
53668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53669         <bp-sym.h> and <bp-asm.h>.
53670         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53671         pointers.
53672         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53673         <bp-sym.h> and <bp-asm.h>.
53674         (__strnlen): Don't use BP_SYM.
53675         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53676         <bp-sym.h> and <bp-asm.h>.
53677         (__GI__setjmp): Don't use BP_SYM.
53678         (_setjmp): Likewise.
53679         (__sigsetjmp): Likewise.
53680         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53681         (L(start_addresses)): Don't use BP_SYM.
53682         (_start): Likewise.
53683         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53684         <bp-asm.h>.
53685         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53686         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53687         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53688         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53689         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53690         <bp-asm.h>.
53691         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53692         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53693         about bounded pointers.
53694         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53695         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53696         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53697         <bp-asm.h>.
53698         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53699         about bounded pointers.  Remove GKM FIXME comments.
53700         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53701         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53702         <bp-asm.h>.
53703         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53704         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53705         Remove GKM FIXME comments.
53706         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53707         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53708         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53709         <bp-asm.h>.
53710         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53711         about bounded pointers.  Remove GKM FIXME comment.
53712         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53713         and <bp-asm.h>.
53714         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53715         pointers.
53716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53717         <bp-sym.h> and <bp-asm.h>.
53718         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53720         <bp-sym.h> and <bp-asm.h>.
53721         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53722         comment.
53724 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53726         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53727         call free(NULL).
53729 2013-03-05  David S. Miller  <davem@davemloft.net>
53731         * po/es.po: Update from translation team.
53733 2013-03-05  Andreas Jaeger  <aj@suse.de>
53735         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53736         <bits/mman-linux.h>.
53737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53738         is fine.
53739         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53740         <bits/mman-linux.h> to end of file.
53741         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53742         is fine.
53743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53744         <bits/mman-linux.h> to end of file.
53745         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53746         is fine.
53747         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53748         <bits/mman-linux.h> to end of file.
53750         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53751         (MCL_CURRENT, MCL_FUTURE): Define here.
53753 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53755         [BZ #15232]
53756         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53757         attribute_hidden.
53758         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53760 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53762         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53763         fourth parameter needed for rt_sigprocmask syscall.
53764         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53765         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53766         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53767         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53768         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53769         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53771 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53773         [BZ #13550]
53774         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53775         comment about bounded pointers.
53776         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53777         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53779 2013-03-04  Andreas Jaeger  <aj@suse.de>
53781         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53782         common definitions.
53784         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53785         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53786         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53787         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53788         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53789         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53791 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53793         [BZ #15055]
53794         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53795         __ieee754_sqrl instead of __sqrl.
53797 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53799         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53800         * sysdeps/powerpc/fpu_control.h: ... here.
53801         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53802         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53803         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53804         * sysdeps/powerpc/bits/mathinline.h: ... here.
53806 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53808         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53809         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53810         to just [NEED_DL_SYSINFO_DSO].
53811         * elf/dl-support.c: Likewise.
53812         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53813         * elf/rtld.c (dl_main): Likewise.
53814         * elf/setup-vdso.h (setup_vdso): Likewise.
53815         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53816         * sysdeps/unix/sysv/linux/dl-sysdep.c
53817         (_dl_discover_osversion): Likewise.
53819 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53821         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53822         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53824 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53826         * NEWS: Mention libm performance improvements and non-x86 PI
53827         futex support.
53829         * csu/libc-start.c (__pthread_initialize_minimal): Change
53830         function arguments.
53831         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53833 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53835         [BZ #13550]
53836         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53837         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53838         <bp-sym.h> and <bp-asm.h>.
53839         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53840         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53841         and <bp-asm.h>.
53842         (memcpy): Don't use BP_SYM.
53843         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53844         <bp-asm.h>.
53845         (__mpn_add_n): Don't use BP_SYM.
53846         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53847         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53848         and <bp-asm.h>.
53849         (__mpn_addmul_1): Don't use BP_SYM.
53850         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53851         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53852         <bp-sym.h>.
53853         (_setjmp): Don't use BP_SYM.
53854         (__novmx_setjmp): Likewise.
53855         (__GI__setjmp): Likewise.
53856         (__vmx_setjmp): Likewise.
53857         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53858         <bp-sym.h>.
53859         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53860         (__bzero): Don't use BP_SYM.
53861         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53862         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53863         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53864         <bp-sym.h> and <bp-asm.h>.
53865         (memcpy): Don't use BP_SYM.
53866         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53867         <bp-sym.h> and <bp-asm.h>.
53868         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53869         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53870         <bp-sym.h> and <bp-asm.h>.
53871         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53872         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53873         <bp-asm.h>.
53874         (__mpn_lshift): Don't use BP_SYM.
53875         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53876         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53877         <bp-asm.h>.
53878         (memset): Don't use BP_SYM.
53879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53881         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53882         <bp-asm.h>.
53883         (__mpn_mul_1): Don't use BP_SYM.
53884         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53885         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53886         <bp-sym.h> and <bp-asm.h>.
53887         (memcmp): Don't use BP_SYM.
53888         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53889         <bp-sym.h> and <bp-asm.h>.
53890         (memcpy): Don't use BP_SYM.
53891         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53892         <bp-sym.h> and <bp-asm.h>.
53893         (memset): Don't use BP_SYM.
53894         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53895         <bp-sym.h> and <bp-asm.h>.
53896         (strncmp): Don't use BP_SYM.
53897         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53898         <bp-sym.h> and <bp-asm.h>.
53899         (memcpy): Don't use BP_SYM.
53900         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53901         <bp-sym.h> and <bp-asm.h>.
53902         (memset): Don't use BP_SYM.
53903         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53904         <bp-sym.h> and <bp-asm.h>.
53905         (__memchr): Don't use BP_SYM.
53906         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53907         <bp-sym.h> and <bp-asm.h>.
53908         (memcmp): Don't use BP_SYM.
53909         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53910         <bp-sym.h> and <bp-asm.h>.
53911         (memcpy): Don't use BP_SYM.
53912         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53913         <bp-sym.h> and <bp-asm.h>.
53914         (__mempcpy): Don't use BP_SYM.
53915         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53916         <bp-sym.h> and <bp-asm.h>.
53917         (__memrchr): Don't use BP_SYM.
53918         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53919         <bp-sym.h> and <bp-asm.h>.
53920         (memset): Don't use BP_SYM.
53921         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53922         <bp-sym.h> and <bp-asm.h>.
53923         (__rawmemchr): Don't use BP_SYM.
53924         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53925         <bp-sym.h> and <bp-asm.h>.
53926         (__STRCMP): Don't use BP_SYM.
53927         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53928         <bp-sym.h> and <bp-asm.h>.
53929         (strchr): Don't use BP_SYM.
53930         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53931         <bp-sym.h> and <bp-asm.h>.
53932         (__strchrnul): Don't use BP_SYM.
53933         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53934         <bp-sym.h> and <bp-asm.h>.
53935         (strlen): Don't use BP_SYM.
53936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53937         <bp-sym.h> and <bp-asm.h>.
53938         (strncmp): Don't use BP_SYM.
53939         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53940         <bp-sym.h> and <bp-asm.h>.
53941         (__strnlen): Don't use BP_SYM.
53942         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53943         <bp-asm.h>.
53944         (__mpn_rshift): Don't use BP_SYM.
53945         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53946         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53947         <bp-sym.h> and <bp-asm.h>.
53948         (__sigsetjmp): Don't use BP_SYM.
53949         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53950         (L(start_addresses)): Don't use BP_SYM.
53951         (_start): Likewise.
53952         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53953         <bp-asm.h>.
53954         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53955         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53956         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53957         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53958         <bp-asm.h>.
53959         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53960         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53961         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53962         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53963         <bp-asm.h>.
53964         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53965         comments.
53966         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53967         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53968         <bp-asm.h>.
53969         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53970         FIXME comments.
53971         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53972         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53973         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53974         <bp-asm.h>.
53975         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53976         comment.
53977         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53978         and <bp-asm.h>.
53979         (strncmp): Don't use BP_SYM,
53980         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53981         <bp-asm.h>.
53982         (__mpn_sub_n): Don't use BP_SYM.
53983         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53984         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53985         and <bp-asm.h>.
53986         (__mpn_submul_1): Don't use BP_SYM.
53987         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53989         <bp-sym.h> and <bp-asm.h>.
53990         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53992         <bp-sym.h> and <bp-asm.h>.
53993         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53994         comment.
53996 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53999         Use ZK to minimize writes to Z.
54000         (sub_magnitudes): Simplify code a bit.
54001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54002         Use ZK to minimize writes to Z.
54003         (sub_magnitudes): Simplify code a bit.
54005 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54007         * csu/gmon-start.c: Add special exception to license text.
54009 2013-02-27  Richard Henderson  <rth@redhat.com>
54011         * scripts/config.guess: Update from config.git.
54012         * scripts/config.sub: Likewise.
54014 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54016         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54018         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54020         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54022         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54024         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54026 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54028         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54029         [$(build-shared = yes].
54031 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54033         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54034         (__mul): Reduce iterations for calculating mantissa.
54036         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54037         MPTWO.
54038         (__mpranred): Likewise.
54040         [BZ #15160]
54041         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54042         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54044 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54046         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54047         Define __attribute__.
54049 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54051         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54052         unused.
54053         * posix/regex_internal.h (__attribute): Remove.
54054         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54055         (re_string_context_at): Likewise.
54056         (bitset_not): Use __attribute__ and mark function as possibly
54057         unused.
54058         (bitset_merge): Likewise.
54059         (bitset_mask): Likewise.
54060         (re_string_char_size_at): Likewise.
54061         (re_string_wchar_at): Likewise.
54062         (re_string_elem_size_at): Likewise.
54064 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54066         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54067         code.
54068         (cc32): Likewise.
54070         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54071         (__acr): Likewise.
54072         (__cpy): Likewise.
54073         (norm): Likewise.
54074         (denorm): Likewise.
54075         (__dbl_mp): Likewise.
54076         (add_magnitudes): Likewise.
54077         (sub_magnitudes): Likewise.
54078         (__mul): Likewise.
54079         (__inv): Likewise.
54081         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54082         style.
54084         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54085         style.
54087         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54088         code.
54090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54091         up changes with default code.
54092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54093         Likewise.
54095 2013-02-24  Allan McRae  <allan@archlinux.org>
54097         * manual/socket.texi (The Internet Namespace): Order menu items
54098         to match that in the file.
54100         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54101         node listing of the info page menu.
54103 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54105         [BZ #13550]
54106         * sysdeps/i386/bp-asm.h: Remove file.
54107         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54108         (PARMS): Do not use macros from bp-asm.h.
54109         (S1): Likewise.
54110         (S2): Likewise.
54111         (SIZE): Likewise.
54112         (__mpn_add_n): Do not use BP_SYM
54113         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54114         "bp-asm.h".
54115         (PARMS): Do not use macros from bp-asm.h.
54116         (S1): Likewise.
54117         (SIZE): Likewise.
54118         (__mpn_addmul_1): Do not use BP_SYM
54119         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54120         "bp-asm.h".
54121         (PARMS): Do not use macros from bp-asm.h.
54122         (SIGMSK): Likewise.
54123         (_setjmp): Likewise.  Do not use BP_SYM.
54124         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54125         "bp-asm.h".
54126         (PARMS): Do not use macros from bp-asm.h.
54127         (SIGMSK): Likewise.
54128         (setjmp): Likewise.  Do not use BP_SYM.
54129         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54130         "bp-asm.h".
54131         (PARMS): Do not use macros from bp-asm.h.
54132         (__frexp): Do not use BP_SYM.
54133         (frexp): Likewise.
54134         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54135         "bp-asm.h".
54136         (PARMS): Do not use macros from bp-asm.h.
54137         (__frexpf): Do not use BP_SYM.
54138         (frexpf): Likewise.
54139         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54140         "bp-asm.h".
54141         (PARMS): Do not use macros from bp-asm.h.
54142         (__frexpl): Do not use BP_SYM.
54143         (frexpl): Likewise.
54144         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54145         "bp-asm.h".
54146         (PARMS): Do not use macros from bp-asm.h.
54147         (__remquo): Do not use BP_SYM.
54148         (remquo): Likewise.
54149         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54150         "bp-asm.h".
54151         (PARMS): Do not use macros from bp-asm.h.
54152         (__remquof): Do not use BP_SYM.
54153         (remquof): Likewise.
54154         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54155         "bp-asm.h".
54156         (PARMS): Do not use macros from bp-asm.h.
54157         (__remquol): Do not use BP_SYM.
54158         (remquol): Likewise.
54159         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54160         "bp-asm.h".
54161         (PARMS): Do not use macros from bp-asm.h.
54162         (DEST): Likewise.
54163         (SRC): Likewise.
54164         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54165         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54166         "bp-asm.h".
54167         (PARMS): Do not use macros from bp-asm.h.
54168         (strlen): Do not use BP_SYM.
54169         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54170         "bp-asm.h".
54171         (PARMS): Do not use macros from bp-asm.h.
54172         (S1): Likewise.
54173         (S2): Likewise.
54174         (SIZE): Likewise.
54175         (__mpn_add_n): Do not use BP_SYM.
54176         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54177         "bp-asm.h".
54178         (PARMS): Do not use macros from bp-asm.h.
54179         (S1): Likewise.
54180         (SIZE): Likewise.
54181         (__mpn_addmul_1): Do not use BP_SYM.
54182         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54183         weak_alias.
54184         (bzero): Likewise.
54185         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54186         "bp-asm.h".
54187         (PARMS): Do not use macros from bp-asm.h.
54188         (S): Likewise.
54189         (SIZE): Likewise.
54190         (__mpn_lshift): Do not use BP_SYM.
54191         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54192         "bp-asm.h".
54193         (PARMS): Do not use macros from bp-asm.h.
54194         (DEST): Likewise.
54195         (SRC): Likewise.
54196         (LEN): Likewise.
54197         (memcpy): Likewise.  Do not use BP_SYM.
54198         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54199         libc_hidden_def and weak_alias.
54200         (mempcpy): Do not use BP_SYM in weak_alias.
54201         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54202         "bp-asm.h".
54203         (PARMS): Do not use macros from bp-asm.h.
54204         (DEST): Likewise.
54205         (LEN): Likewise.
54206         [!BZERO_P] (CHR): Likewise.
54207         (memset): Likewise.  Do not use BP_SYM.
54208         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54209         "bp-asm.h".
54210         (PARMS): Do not use macros from bp-asm.h.
54211         (S1): Likewise.
54212         (SIZE): Likewise.
54213         (__mpn_mul_1): Do not use BP_SYM.
54214         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54215         "bp-asm.h".
54216         (PARMS): Do not use macros from bp-asm.h.
54217         (S): Likewise.
54218         (SIZE): Likewise.
54219         (__mpn_rshift): Do not use BP_SYM.
54220         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54221         "bp-asm.h".
54222         (PARMS): Do not use macros from bp-asm.h.
54223         (STR): Likewise.
54224         (CHR): Likewise.
54225         (strchr): Likewise.  Do not use BP_SYM.
54226         (index): Do not use BP_SYM in weak_alias.
54227         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54228         "bp-asm.h".
54229         (PARMS): Do not use macros from bp-asm.h.
54230         (DEST): Likewise.
54231         (SRC): Likewise.
54232         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54233         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54234         "bp-asm.h".
54235         (PARMS): Do not use macros from bp-asm.h.
54236         (strlen): Do not use BP_SYM.
54237         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54238         "bp-asm.h".
54239         (PARMS): Do not use macros from bp-asm.h.
54240         (S1): Likewise.
54241         (S2): Likewise.
54242         (SIZE): Likewise.
54243         (__mpn_sub_n): Do not use BP_SYM.
54244         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54245         "bp-asm.h".
54246         (PARMS): Do not use macros from bp-asm.h.
54247         (S1): Likewise.
54248         (SIZE): Likewise.
54249         (__mpn_submul_1): Do not use BP_SYM.
54250         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54251         "bp-asm.h".
54252         (PARMS): Do not use macros from bp-asm.h.
54253         (S1): Likewise.
54254         (S2): Likewise.
54255         (SIZE): Likewise.
54256         (__mpn_add_n): Do not use BP_SYM.
54257         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54258         weak_alias.
54259         (bzero): Likewise.
54260         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54261         "bp-asm.h".
54262         (PARMS): Do not use macros from bp-asm.h.
54263         (BLK2): Likewise.
54264         (LEN): Likewise.
54265         (memcmp): Do not use BP_SYM.
54266         (bcmp): Do not use BP_SYM in weak_alias.
54267         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54268         "bp-asm.h".
54269         (PARMS): Do not use macros from bp-asm.h.
54270         (DEST): Likewise.
54271         (SRC): Likewise.
54272         (LEN): Likewise.
54273         (memcpy): Likewise.  Do not use BP_SYM.
54274         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54275         "bp-asm.h".
54276         (PARMS): Do not use macros from bp-asm.h.
54277         (DEST): Likewise.
54278         (SRC): Likewise.
54279         (LEN): Likewise.
54280         (memmove): Likewise.  Do not use BP_SYM.
54281         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54282         "bp-asm.h".
54283         (PARMS): Do not use macros from bp-asm.h.
54284         (DEST): Likewise.
54285         (SRC): Likewise.
54286         (LEN): Likewise.
54287         (__mempcpy): Likewise.  Do not use BP_SYM.
54288         (mempcpy): Do not use BP_SYM in weak_alias.
54289         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54290         "bp-asm.h".
54291         (PARMS): Do not use macros from bp-asm.h.
54292         (DEST): Likewise.
54293         (LEN): Likewise.
54294         [!BZERO_P] (CHR): Likewise.
54295         (memset): Likewise.  Do not use BP_SYM.
54296         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54297         "bp-asm.h".
54298         (PARMS): Do not use macros from bp-asm.h.
54299         (STR2): Likewise.
54300         (strcmp): Do not use BP_SYM.
54301         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54302         "bp-asm.h".
54303         (PARMS): Do not use macros from bp-asm.h.
54304         (STR): Likewise.
54305         (DELIM): Likewise.
54306         [USE_AS_STRTOK_R] (SAVE): Likewise.
54307         (FUNCTION): Likewise.  Do not use BP_SYM.
54308         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54309         aliases.
54310         (strtok_r): Likewise.
54311         (__GI___strtok_r): Likewise.
54312         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54313         (PARMS): Do not use macros from bp-asm.h.
54314         (S): Likewise.
54315         (SIZE): Likewise.
54316         (__mpn_lshift): Do not use BP_SYM.
54317         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54318         (PARMS): Do not use macros from bp-asm.h.
54319         (STR): Likewise.
54320         (CHR): Likewise.
54321         (__memchr): Do not use BP_SYM.
54322         (memchr): Do not use BP_SYM in weak_alias.
54323         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54324         (PARMS): Do not use macros from bp-asm.h.
54325         (BLK2): Likewise.
54326         (LEN): Likewise.
54327         (memcmp): Do not use BP_SYM.
54328         (bcmp): Do not use BP_SYM in weak_alias.
54329         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54330         (PARMS): Do not use macros from bp-asm.h.
54331         (S1): Likewise.
54332         (SIZE): Likewise.
54333         (__mpn_mul_1): Do not use BP_SYM.
54334         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54335         "bp-asm.h".
54336         (PARMS): Do not use macros from bp-asm.h.
54337         (STR): Likewise.
54338         (CHR): Likewise.
54339         (__rawmemchr): Do not use BP_SYM.
54340         (rawmemchr): Do not use BP_SYM in weak_alias.
54341         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54342         (PARMS): Do not use macros from bp-asm.h.
54343         (S): Likewise.
54344         (SIZE): Likewise.
54345         (__mpn_rshift): Do not use BP_SYM.
54346         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54347         (PARMS): Do not use macros from bp-asm.h.
54348         (SIGMSK): Likewise.
54349         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54350         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54351         (_start): Do not use BP_SYM.
54352         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54353         (PARMS): Do not use macros from bp-asm.h.
54354         (DEST): Likewise.
54355         (SRC): Likewise.
54356         (__stpcpy): Likewise.  Do not use BP_SYM.
54357         (stpcpy): Do not use BP_SYM in weak_alias.
54358         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54359         "bp-asm.h".
54360         (PARMS): Do not use macros from bp-asm.h.
54361         (DEST): Likewise.
54362         (SRC): Likewise.
54363         (LEN): Likewise.
54364         (__stpncpy): Likewise.  Do not use BP_SYM.
54365         (stpncpy): Do not use BP_SYM in weak_alias.
54366         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54367         (PARMS): Do not use macros from bp-asm.h.
54368         (STR): Likewise.
54369         (CHR): Likewise.
54370         (strchr): Likewise.  Do not use BP_SYM.
54371         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54372         "bp-asm.h".
54373         (PARMS): Do not use macros from bp-asm.h.
54374         (STR): Likewise.
54375         (CHR): Likewise.
54376         (__strchrnul): Likewise.  Do not use BP_SYM.
54377         (strchrnul): Do not use BP_SYM in weak_alias.
54378         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54379         "bp-asm.h".
54380         (PARMS): Do not use macros from bp-asm.h.
54381         (STOP): Likewise.
54382         (strcspn): Do not use BP_SYM.
54383         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54384         "bp-asm.h".
54385         (PARMS): Do not use macros from bp-asm.h.
54386         (STR): Likewise.
54387         (STOP): Likewise.
54388         (strpbrk): Likewise.  Do not use BP_SYM.
54389         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54390         "bp-asm.h".
54391         (PARMS): Do not use macros from bp-asm.h.
54392         (STR): Likewise.
54393         (CHR): Likewise.
54394         (strrchr): Likewise.  Do not use BP_SYM.
54395         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54396         (PARMS): Do not use macros from bp-asm.h.
54397         (SKIP): Likewise.
54398         (strspn): Do not use BP_SYM.
54399         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54400         (PARMS): Do not use macros from bp-asm.h.
54401         (STR): Likewise.
54402         (DELIM): Likewise.
54403         (SAVE): Likewise.
54404         (FUNCTION): Likewise.  Do not use BP_SYM.
54405         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54406         aliases.
54407         (strtok_r): Likewise.
54408         (__GI___strtok_r): Likewise.
54409         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54410         (PARMS): Do not use macros from bp-asm.h.
54411         (S1): Likewise.
54412         (S2): Likewise.
54413         (SIZE): Likewise.
54414         (__mpn_sub_n): Do not use BP_SYM.
54415         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54416         "bp-asm.h".
54417         (PARMS): Do not use macros from bp-asm.h.
54418         (S1): Likewise.
54419         (SIZE): Likewise.
54420         (__mpn_submul_1): Do not use BP_SYM.
54421         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54422         <bp-sym.h>.
54423         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54424         and <bp-asm.h>.
54425         (PARMS): Do not use macros from bp-asm.h.
54426         (FLAGS): Likewise.
54427         (PTID): Likewise.
54428         (TLS): Likewise.
54429         (CTID): Likewise.
54430         (__clone): Do not use BP_SYM.
54431         (clone): Do not use BP_SYM in weak_alias.
54432         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54433         and <bp-asm.h>.
54434         (PARMS): Do not use macros from bp-asm.h.
54435         (LEN): Likewise.
54436         (__mmap64): Do not use BP_SYM.
54437         (mmap64): Do not use BP_SYM in weak_alias.
54438         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54439         <bp-sym.h> and <bp-asm.h>.
54440         (PARMS): Do not use macros from bp-asm.h.
54441         (__posix_fadvise64_l64): Do not use BP_SYM.
54442         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54443         (PARMS): Do not use macros from bp-asm.h.
54444         (NSOPS): Likewise.
54445         (semtimedop): Do not use BP_SYM.
54446         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54447         and <bp-asm.h>.
54449 2013-02-21  Allan McRae  <allan@archlinux.org>
54451         * manual/message.texi (Charset conversion in gettext):
54452         Move @end statement to beginning of line.
54454 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54457         static.
54458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54459         Likewise.
54461         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54462         (denorm): Likewise.
54463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54466 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54468         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54469         tail-call to the resolved function if pltexit isn't needed.
54471 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54474         or Y being zero as being unlikely.
54475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54476         Likewise.
54478 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54480         * manual/nss.texi (System Databases and Name Service Switch):
54481         Remove frobnicate @pxref.
54483 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54485         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54486         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54488 2013-02-20  Petr Machata  <pmachata@redhat.com>
54490         * elf/elf.h (R_ARM_TARGET1): New macro.
54491         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54492         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54493         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54494         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54495         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54496         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54497         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54498         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54499         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54500         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54501         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54502         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54503         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54504         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54505         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54506         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54507         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54508         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54509         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54510         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54511         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54512         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54513         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54514         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54515         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54516         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54517         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54518         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54519         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54520         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54521         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54522         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54523         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54524         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54525         (R_ARM_THM_GOT_BREL12): Likewise.
54526         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54527         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54528         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54529         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54530         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54531         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54532         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54533         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54534         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54536 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54538         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54539         __attribute_used__ to __attribute__ ((unused)).
54541 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54543         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54544         powerpc mpa.c.
54545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54546         comment formatting.
54547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54549 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54551         [BZ #13550]
54552         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54553         Remove macro.
54554         (ENTER): Remove both macro definitions.
54555         (LEAVE): Likewise.
54556         (CHECK_BOUNDS_LOW): Likewise.
54557         (CHECK_BOUNDS_HIGH): Likewise.
54558         (CHECK_BOUNDS_BOTH): Likewise.
54559         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54560         (RETURN_BOUNDED_POINTER): Likewise.
54561         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54562         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54563         (POP_ERRNO_LOCATION_RETURN): Likewise.
54564         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54565         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54566         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54567         macros.
54568         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54569         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54570         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54571         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54572         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54573         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54574         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54575         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54576         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54577         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54578         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54579         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54580         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54581         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54582         removed macros.
54583         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54584         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54585         macros.
54586         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54587         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54588         * sysdeps/i386/i586/memset.S (memset): Likewise.
54589         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54590         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54591         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54592         macros.
54593         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54594         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54595         Change uses of L(2) to L(out).
54596         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54597         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54598         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54599         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54600         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54601         removed macros.
54602         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54603         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54604         macros.
54605         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54606         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54607         (RETURN): Do not use macro LEAVE.
54608         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54609         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54610         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54611         * sysdeps/i386/i686/memset.S (memset): Likewise.
54612         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54613         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54614         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54615         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54616         Likewise.
54617         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54618         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54619         L(1_2) and L(1_3) into L(1).
54620         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54621         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54623         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54624         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54625         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54626         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54627         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54628         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54629         macros.
54630         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54631         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54632         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54633         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54634         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54635         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54636         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54637         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54638         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54639         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54640         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54641         * sysdeps/i386/strspn.S (strspn): Likewise.
54642         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54643         conditional code.
54644         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54645         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54646         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54647         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54648         L(1_3) into L(1_1).
54649         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54650         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54651         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54652         macros.
54653         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54655 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54657         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54658         macro.
54660 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54662         * math/atest-exp.c (exp_mpn): Remove ROUND.
54663         * math/atest-exp2.c (exp_mpn): Likewise.
54664         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54666         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54667         * stdlib/tst-tls-atexit-lib.c: Likewise.
54668         * stdlib/tst-tls-atexit.c: Likewise.
54670 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54672         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54673         and __attribute_alloc_size__.
54675 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54677         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54678         __attribute_alloc_size__.
54679         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54680         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54682 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54684         * include/programs/xmalloc.h: New file.
54685         * catgets/gencat.c: Include it.
54686         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54687         * elf/pldd.c: Likewise.
54688         * iconv/iconv_charmap.c: Likewise.
54689         * iconv/iconvconfig.c: Likewise.
54690         * iconv/strtab.c: Likewise.
54691         * locale/programs/locale.c: Likewise.
54692         * locale/programs/localedef.h: Likewise.
54693         * locale/programs/simple-hash.c: Likewise.
54694         * nscd/nscd.h: Likewise.
54695         * nss/makedb.c: Likewise.
54696         * sysdeps/generic/ldconfig.h: Likewise.
54698 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54700         * Versions.def: Add GLIBC_2.18.
54701         * include/link.h (struct link_map): New member l_tls_dtor_count.
54702         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54703         (__call_tls_dtors): Likewise.
54704         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54705         __cxa_thread_atexit_impl.
54706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54707         Likewise.
54708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54709         Likewise.
54710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54711         Likewise.
54712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54713         Likewise.
54714         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54716         Likewise.
54717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54718         Likewise.
54719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54721         Likewise.
54722         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54723         (tests): Add test case tst-tls-atexit.
54724         (modules-names): Add shared library for tst-tls-atexit.
54725         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54726         (GLIBC_PRIVATE): Add __call_tls_dtors.
54727         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54728         for libstdc++.
54729         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54730         * stdlib/tst-tls-atexit.c: New test case.
54731         * stdlib/tst-tls-atexit-lib.c: New test case.
54733         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54735         * elf/Versions (ld): Add _dl_find_dso_for_object.
54736         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54737         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54738         (dl_open_worker): Use _dl_find_dso_for_object.
54739         * elf/dl-sym.c (do_sym): Likewise.
54740         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54742 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54744         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54745         Syntactic changes only.
54746         (_dl_runtime_profile): Do a tail-call to the resolved function.
54748 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54750         [BZ #13550]
54751         * sysdeps/x86_64/bp-asm.h: Remove file.
54752         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54753         <bp-sym.h> and <bp-asm.h>.
54754         (__clone): Do not use BP_SYM.
54755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54756         <bp-sym.h> and <bp-asm.h>.
54757         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54758         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54759         "bp-asm.h".
54760         (_setjmp): Do not use BP_SYM.
54761         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54762         "bp-asm.h".
54763         (setjmp): Do not use BP_SYM.
54764         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54765         libc_hidden_def.
54766         (mempcpy): Do not use BP_SYM in weak_alias.
54767         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54768         "bp-asm.h".
54769         (strchr): Do not use BP_SYM.
54770         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54771         "bp-asm.h".
54772         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54773         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54774         (_start): Do not use BP_SYM.
54775         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54776         "bp-asm.h".
54777         (strcat): Do not use BP_SYM.
54778         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54779         "bp-asm.h".
54780         (STRCMP): Do not use BP_SYM.
54781         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54782         "bp-asm.h".
54783         (STRCPY): Do not use BP_SYM.
54784         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54785         "bp-asm.h".
54786         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54787         "bp-asm.h".
54788         (FUNCTION): Do not use BP_SYM.
54789         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54790         weak_alias.
54791         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54793 2013-02-17  Andreas Jaeger  <aj@suse.de>
54795         * time/Versions: Sort entries.
54796         * string/Versions: Likewise.
54797         * resolv/Versions: Likewise.
54798         * posix/Versions: Likewise.
54799         * iconv/Versions: Likewise.
54800         * elf/Versions: Likewise.
54801         * wcsmbs/Versions: Likewise.
54803 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54805         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54806         loop termination condition.
54808         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54809         variable to calculate EZ.
54810         (__sqr): Likewise.
54812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54813         the lower precision input.
54815 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54817         [BZ #13550]
54818         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54819         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54820         (run-via-rtld-prefix): Do not handle %-bp tests.
54821         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54822         (all-object-suffixes): Remove .ob.
54823         (bppfx): Remove variable.
54824         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54825         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54826         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54827         [$(build-bounded) = yes] (libtype.ob): Likewise.
54828         * Makerules (elide-routines.ob): Remove variable.
54829         (do-tests-clean): Do not handle *-bp.out.
54830         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54831         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54832         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54833         (tests): Do not include $(tests-bp.out).
54834         (xtests): Do not include $(xtests-bp.out).
54835         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54836         [$(build-bounded) = yes] ($(addprefix
54837         $(objpfx),$(binaries-bounded))): Remove rule.
54838         ($(objpfx)%-bp.out): Remove rule.
54839         * config.make.in (build-bounded): Remove variable.
54840         * crypt/Makefile [$(build-bounded) = yes]
54841         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54842         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54843         append to variable.
54844         [$(build-bounded) = yes] (install-lib): Likewise.
54845         [$(build-bounded) = yes] (generated): Likewise.
54846         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54847         Remove rule.
54848         * intl/Makefile [$(build-bounded) = yes]
54849         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54850         * math/Makefile [$(build-bounded) = yes]
54851         ($(tests:%=$(objpfx)%-bp): Likewise.
54852         * misc/Makefile [$(build-bounded) = yes]
54853         ($(objpfx)tst-tsearch-bp): Likewise.
54854         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54855         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54856         Remove dependency.
54857         * string/Makefile (o-objects.ob): Remove variable.
54858         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54859         (CFLAGS-.ob): Remove variable.
54860         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54861         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54862         both definitions of variable.
54863         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54864         (ASFLAGS-.ob): Remove variable.
54866 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54868         [BZ #13550]
54869         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54870         Remove __BOUNDED_POINTERS__ from condition.
54871         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54872         * string/bits/string2.h [!__NO_STRING_INLINES &&
54873         !__BOUNDED_POINTERS__]: Likewise.
54874         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54875         Likewise.
54876         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54877         Remove conditional code.
54878         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54879         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54880         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54881         condition.
54883         [BZ #13550]
54884         * csu/libc-start.c: Do not include <bp-sym.h>.
54885         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54886         * elf/dl-open.c: Do not include <bp-sym.h>.
54887         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54888         * math/fegetenv.c: Do not include <bp-sym.h>.
54889         (fegetenv): Do not use BP_SYM in versioned symbols.
54890         * nptl/sysdeps/pthread/bits/libc-lockP.h
54891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54892         <bp-sym.h>.
54893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54894         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54896         (__pthread_mutex_destroy): Likewise.
54897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54898         (__pthread_mutex_lock): Likewise.
54899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54900         (__pthread_mutex_trylock): Likewise.
54901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54902         (__pthread_mutex_unlock): Likewise.
54903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54904         (__pthread_mutexattr_init): Likewise.
54905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54906         (__pthread_mutexattr_destroy): Likewise.
54907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54908         (__pthread_mutexattr_settype): Likewise.
54909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54910         (__pthread_rwlock_init): Likewise.
54911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54912         (__pthread_rwlock_destroy): Likewise.
54913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54914         (__pthread_rwlock_rdlock): Likewise.
54915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54916         (__pthread_rwlock_tryrdlock): Likewise.
54917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54918         (__pthread_rwlock_wrlock): Likewise.
54919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54920         (__pthread_rwlock_trywrlock): Likewise.
54921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54922         (__pthread_rwlock_unlock): Likewise.
54923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54924         (__pthread_key_create): Likewise.
54925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54926         (__pthread_setspecific): Likewise.
54927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54928         (__pthread_getspecific): Likewise.
54929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54930         Likewise.
54931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54932         (_pthread_cleanup_push_defer): Likewise.
54933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54934         (_pthread_cleanup_pop_restore): Likewise.
54935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54936         (pthread_setcancelstate): Likewise.
54937         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54938         <bp-sym.h>.
54939         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54940         (memchr): Do not use BP_SYM in weak_alias.
54941         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54942         (fegetenv): Do not use BP_SYM in versioned symbols.
54943         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54944         (fesetenv): Do not use BP_SYM in versioned symbols.
54945         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54946         (feupdateenv): Do not use BP_SYM in versioned symbols.
54947         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54948         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54949         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54950         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54951         (open64): Do not use BP_SYM in weak_alias.
54952         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54953         (fegetenv): Do not use BP_SYM in versioned symbols.
54954         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54955         (fesetenv): Do not use BP_SYM in versioned symbols.
54956         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54957         (feupdateenv): Do not use BP_SYM in versioned symbols.
54958         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54959         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54960         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54961         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54962         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54963         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54964         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54965         <bp-sym.h>.
54966         (__libc_start_main): Do not use BP_SYM.
54968 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54971         redundant return line.
54972         (norm): Likewise.
54973         (denorm): Likewise.
54974         (dbl_mp): Likewise.
54975         (sub_magnitudes): Likewise.
54976         (__add): Likewise.
54977         (__sub): Likewise.
54978         (__mul): Likewise.
54979         (__inv): Likewise.
54980         (__dvd): Likewise.
54981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54982         (norm): Likewise.
54983         (denorm): Likewise.
54984         (dbl_mp): Likewise.
54985         (sub_magnitudes): Likewise.
54986         (__add): Likewise.
54987         (__sub): Likewise.
54988         (__mul): Likewise.
54989         (__inv): Likewise.
54990         (__dvd): Likewise.
54992         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54993         instead of __mul.
54994         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54995         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54996         (cc32): Likewise.
54998         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54999         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55000         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55001         of __mul for squares.
55002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55003         function
55004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55005         Likewise.
55006         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55007         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55009 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55011         [BZ #13550]
55012         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55013         code.
55014         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55015         prototype or function definition.  Rename ubp_* variables and
55016         parameters.  Remove argv definitions conditional on
55017         [__BOUNDED_POINTERS__].
55018         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55019         * elf/dl-runtime.c (_dl_fixup): Likewise.
55020         * include/set-hooks.h (RUN_HOOK): Likewise.
55021         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55022         definition.
55023         * string/strcpy.c (strcpy): Do not use __unbounded.
55024         * sysdeps/generic/frame.h (struct layout): Likewise.
55025         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55026         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55027         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55028         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55029         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55030         (__backtrace): Likewise.
55031         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55032         use __ptrvalue.
55033         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55034         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55035         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55036         Likewise.
55037         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55038         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55039         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55040         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55041         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55042         Do not use __unbounded.
55043         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55044         Rename __unboundedrlimits parameter to rlimits in prototype.
55045         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55046         Do not use __unbounded.
55047         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55048         not use __ptrvalue.
55049         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55050         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55051         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55052         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55053         __ptrvalue or __unbounded.
55054         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55055         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55056         use __unbounded.
55057         (__new_msgctl): Do not use __ptrvalue.
55058         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55059         __unbounded.
55060         (__libc_msgrcv): Do not use __ptrvalue.
55061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55062         startup_info): Do not use __unbounded.
55063         (__libc_start_main): Likewise.  Rename ubp_* variables and
55064         parameters.  Remove argv definitions conditional on
55065         [__BOUNDED_POINTERS__].
55066         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55067         __ptrvalue.
55068         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55069         use __unbounded.
55070         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55071         or __ptrvalue.
55072         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55073         use __unbounded.
55074         (__new_shmctl): Do not use __ptrvalue.
55075         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55076         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55077         Likewise.
55078         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55079         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55080         (__libc_sigaction): Likewise.
55081         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55082         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55083         Likewise.
55084         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55086 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55088         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55090         * string/mempcpy.c: Implement by calling memcpy.
55092 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55097         evaluation.
55099         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55100         values in the mantissa.
55102         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55103         minimize writes to Z.
55104         (sub_magnitudes): Simplify code a bit.
55106 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55108         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55109         from the message.  The linker prefixes all warnings with that already.
55111 2013-02-12  Andreas Schwab  <schwab@suse.de>
55113         [BZ #15078]
55114         * posix/regexec.c (extend_buffers): Add parameter min_len.
55115         (check_matching): Pass minimum needed length.
55116         (clean_state_log_if_needed): Likewise.
55117         (get_subexp): Likewise.
55118         * posix/Makefile (tests): Add bug-regex34.
55119         (bug-regex34-ENV): Define.
55120         * posix/bug-regex34.c: New file.
55122         [BZ #11561]
55123         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55124         elements compare against the byte sequence of it, not its name.
55125         * posix/Makefile (tests): Add bug-regex35.
55126         (bug-regex35-ENV): Define.
55127         * posix/bug-regex35.c: New file.
55129 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55131         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55132         comment.
55133         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55134         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55135         (CHECK_EOL): Add undef.
55137 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55139         * bits/stdlib-bsearch.h: New file.
55140         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55141         * stdlib/stdlib.h: Likewise.
55143 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55145         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55146         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55147         declaration.
55148         * manual/search.texi (Array Search Function): Add missing const in
55149         lfind prototype.
55150         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55151         declaration to use rlim_t.
55152         (Basic Scheduling Functions): Remove erroneous const from
55153         sched_getparam prototype.  Remove erroneous * from
55154         sched_get_priority_max and sched_get_priority_min prototypes.
55155         (Resource Usage): Fix summary @comment on vtimes to refer to
55156         sys/vtimes.h rather than vtimes.h.
55157         Add missing *s in vtimes prototype.
55158         (Limits on Resources): Fix ulimit prototype to return long int.
55159         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55160         prototypes to use long int rather than double.
55161         (BSD Random): Fix initstate and setstate to use char *, not void *.
55162         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55163         prototype to make second argument 'struct aiocb64 *const[]'.
55164         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55165         (Status of AIO Operations): Remove erroneous const in aio_return and
55166         aio_return64 prototypes.
55167         (Synchronizing I/O): Fix sync prototype to return void.
55168         * manual/startup.texi (Suboptions): Remove an erroneous const in
55169         getsubopt prototype.
55170         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55171         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55172         use size_t rather than int.
55173         (Scanning All Users): Likewise for getpwent_r.
55174         (Setting Groups): Add missing const to setgroups prototype.
55175         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55176         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55177         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55178         'const void *' rather than 'const char *'.
55179         (Host Address Functions): Likewise for inet_ntop.
55180         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55181         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55182         ssize_t for return value.
55183         (Sending Data): Likewise for send, sendto, sendmsg.
55184         (Socket Option Functions): Add a missing const in setsockopt prototype.
55185         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55186         use wchar_t for the argument.
55187         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55188         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55189         take no arguments.
55190         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55191         double/float/long double for second argument.
55192         Fix return types of significand, significandf, significandl.
55193         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55194         argument in fchmod prototype.
55195         (File Owner): Use uid_t and gid_t in fchown prototype.
55196         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55197         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55198         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55199         use 'const struct dirent **' as argument types to CMP function pointer
55200         argument.
55201         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55202         (File Times): Fix summary magic @comment for struct utimbuf and utime
55203         to refer to utime.h, not time.h.
55204         * manual/string.texi (Argz Functions): Add missing const in
55205         argz_extract and argz_next prototypes.
55206         (Finding Tokens in a String): Likewise for basename.
55207         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55208         (Copying and Concatenation): Fix typo in wmemmove prototype.
55209         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55210         (Signal Stack): Remove erroneous const in sigstack prototype.
55211         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55212         prototype.
55213         (Simple Calendar Time): Likewise for stime.
55214         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55215         prototype.
55216         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55217         say sys/sysctl.h instead.
55218         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55219         and vsyslog prototypes.
55221 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55223         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55224         Remove.
55226 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55228         * misc/sys/mman.h: Fix typo in mremap comment.
55230 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55232         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55233         the '\0' terminator.
55235 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55237         [BZ #13550]
55238         * debug/segfault.c: Don't include <bp-checks.h>.
55239         * sysdeps/generic/bp-checks.h: Remove file.
55240         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55241         (__GETDENTS): Don't use CHECK_N.
55242         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55243         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55244         (__getgroups): Don't use CHECK_N.
55245         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55246         (setgroups): Don't use CHECK_N.
55247         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55248         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55249         (__libc_msgrcv): Don't use CHECK_N.
55250         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55251         (__libc_msgsnd): Don't use CHECK_N.
55252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55253         <bp-checks.h>.
55254         (__libc_pread): Don't use CHECK_N.
55255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55256         include <bp-checks.h>.
55257         (__libc_pread64): Don't use CHECK_N.
55258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55259         include <bp-checks.h>.
55260         (__libc_pwrite): Don't use CHECK_N.
55261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55262         include <bp-checks.h>.
55263         (__libc_pwrite64): Don't use CHECK_N.
55264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55265         <bp-checks.h>.
55266         (__libc_pread): Don't use CHECK_N.
55267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55268         include <bp-checks.h>.
55269         (__libc_pread64): Don't use CHECK_N.
55270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55271         include <bp-checks.h>.
55272         (__libc_pwrite): Don't use CHECK_N.
55273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55274         include <bp-checks.h>.
55275         (__libc_pwrite64): Don't use CHECK_N.
55276         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55277         (do_pread): Don't use CHECK_N.
55278         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55279         (do_pread64): Don't use CHECK_N.
55280         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55281         (do_pwrite): Don't use CHECK_N.
55282         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55283         (do_pwrite64): Don't use CHECK_N.
55284         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55285         (__libc_readv): Don't use CHECK_N.
55286         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55287         (semop): Don't use CHECK_N.
55288         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55289         <bp-checks.h>.
55290         (semtimedop): Don't use CHECK_N.
55291         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55292         (__libc_pread): Don't use CHECK_N.
55293         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55294         <bp-checks.h>.
55295         (__libc_pread64): Don't use CHECK_N.
55296         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55297         <bp-checks.h>.
55298         (__libc_pwrite): Don't use CHECK_N.
55299         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55300         <bp-checks.h>.
55301         (__libc_pwrite64): Don't use CHECK_N.
55302         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55303         <bp-checks.h>.
55304         (__libc_msgrcv): Don't use CHECK_N.
55305         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55306         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55307         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55308         (__libc_writev): Don't use CHECK_N.
55310 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55312         * string/strcpy.c: Removed unused variable.
55314         * Makeconfig (+sysdep-includes): Define with := rather than =.
55315         Use an existing include/ subdir of each sysdeps dir before it.
55317 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55319         * nscd/connection.c (register_traced_file): Comment function.
55320         [HAVE_INOTIFY] (union __inev): Define.
55321         [HAVE_INOTIFY] (inotify_check_files): New function.
55322         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55323         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55324         clear_db_cache.
55325         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55327 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55329         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55330         loaded if not already and that a failure is permanent.
55332 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55334         [BZ #15006]
55335         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55336         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55338 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55340         [BZ #13550]
55341         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55342         (CHECK_1_NULL_OK): Likewise.
55343         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55344         (__fxstat): Do not use CHECK_1.
55345         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55346         <bp-checks.h>.
55347         (___fxstat64): Do not use CHECK_1.
55348         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55349         <bp-checks.h>.
55350         (__fxstatat): Do not use CHECK_1.
55351         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55352         <bp-checks.h>.
55353         (__fxstatat64): Do not use CHECK_1.
55354         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55355         <bp-checks.h>.
55356         (__fxstat): Do not use CHECK_1.
55357         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55358         <bp-checks.h>.
55359         (__fxstatat): Do not use CHECK_1.
55360         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55361         <bp-checks.h>.
55362         (__getresgid): Do not use CHECK_1.
55363         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55364         <bp-checks.h>.
55365         (__getresuid): Do not use CHECK_1.
55366         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55367         <bp-checks.h>.
55368         (__lxstat): Do not use CHECK_1.
55369         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55370         <bp-checks.h>.
55371         (__old_msgctl): Do not use CHECK_1.
55372         (__new_msgctl): Likewise.
55373         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55374         <bp-checks.h>.
55375         (__new_setrlimit): Do not use CHECK_1.
55376         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55377         <bp-checks.h>.
55378         (__old_shmctl): Do not use CHECK_1.
55379         (__new_shmctl): Likewise.
55380         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55381         <bp-checks.h>.
55382         (__xstat): Do not use CHECK_1.
55383         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55384         (__lxstat): Do not use CHECK_1.
55385         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55386         <bp-checks.h>.
55387         (___lxstat64): Do not use CHECK_1.
55388         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55389         (__old_msgctl): Do not use CHECK_1.
55390         (__new_msgctl): Likewise.
55391         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55392         <bp-checks.h>.
55393         (__gettimeofday): Do not use CHECK_1.
55394         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55395         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55396         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55397         <bp-checks.h>.
55398         (__gettimeofday): Do not use CHECK_1.
55399         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55400         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55401         (__new_shmctl): Do not use CHECK_1.
55402         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55403         <bp-checks.h>.
55404         (do_sigtimedwait): Do not use CHECK_1.
55405         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55406         <bp-checks.h>.
55407         (do_sigwaitinfo): Do not use CHECK_1.
55408         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55409         <bp-checks.h>.
55410         (msgctl): Do not use CHECK_1.
55411         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55412         <bp-checks.h>.
55413         (shmctl): Do not use CHECK_1.
55414         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55415         (ustat): Do not use CHECK_1.
55416         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55417         <bp-checks.h>.
55418         (__fxstat): Do not use CHECK_1.
55419         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55420         <bp-checks.h>.
55421         (__fxstatat): Do not use CHECK_1.
55422         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55423         <bp-checks.h>.
55424         (__lxstat): Do not use CHECK_1.
55425         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55426         <bp-checks.h>.
55427         (__xstat): Do not use CHECK_1.
55428         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55429         (__xstat): Do not use CHECK_1.
55430         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55431         (___xstat64): Do not use CHECK_1.
55433         [BZ #13550]
55434         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55435         definitions.
55436         (CHECK_BOUNDS_HIGH): Likewise.
55437         * string/strcpy.c: Do not include <bp-checks.h>.
55438         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55440 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55442         * nscd/nscd-client.h (__nscd_drop_map_ref):
55443         Add __attribute__ ((unused)).
55444         * nis/nss-nisplus.h (niserr2nss): Likewise.
55446         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55447         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55449         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55450         Remove inline keyword.
55451         * include/rounding-mode.h (round_away): Likewise.
55452         * libio/wfileops.c (adjust_wide_data): Likewise.
55453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55454         (__m128i_strloadu_tolower): Likewise.
55455         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55456         (__m128i_strloadu_tolower): Likewise.
55457         * time/mktime.c (ydhms_diff): Likewise.
55458         * locale/elem-hash.h (elem_hash): Likewise.
55459         * locale/setlocale.c (setdata): Likewise.
55460         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55461         (re_string_wchar_at): Likewise.
55462         (bitset_not, bitset_merge, bitset_mask): Likewise.
55463         [!(__GNUC__ > 3)] (inline): Remove macro.
55464         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55465         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55466         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55467         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55468         * string/memcmp.c (memcmp_bytes): Likewise.
55469         * locale/programs/locarchive.c (compute_hashval): Likewise.
55470         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55471         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55472         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55473         * nss/getent.c (print_rpc, print_protocols): Likewise.
55474         (print_passwd, print_group, print_aliases): Likewise.
55475         * nis/nss-nisplus.h (niserr2nss): Likewise.
55476         * nscd/connections.c (restart_p): Likewise.
55477         Change return type to bool.
55479 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55481         * Makeconfig (all-Depend-files): Add existing
55482         $(sorted-subdirs:=/Depend) files.
55483         (all-subdirs): Remove nss.
55484         * sysdeps/unix/inet/Subdirs: Add it here instead.
55485         * hesiod/Depend: New file.
55487         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55488         instead of calling alloca.
55490         * io/lseek.c (__lseek): Rename to __libc_lseek.
55491         Define __lseek as an alias.
55493         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55495 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55497         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55498         else clause and remove check for non-standard endianness.
55500 2013-02-04  David S. Miller  <davem@davemloft.net>
55502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55504 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55506         [BZ #13550]
55507         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55508         (__ubp_memchr): Remove prototype.
55509         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55510         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55511         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55512         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55513         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55514         Remove alias.
55515         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55516         (__ubp_memchr): Likewise.
55517         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55518         (__ubp_memchr): Likewise.
55519         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55520         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55521         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55522         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55523         CHECK_STRING.
55524         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55525         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55526         (__getcwd): Do not use CHECK_STRING.
55527         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55528         <bp-checks.h>.
55529         (__real_chown): Do not use CHECK_STRING.
55530         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55531         <bp-checks.h>.
55532         (fchownat): Do not use CHECK_STRING.
55533         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55534         CHECK_STRING.
55535         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55536         <bp-checks.h>.
55537         (__lchown): Do not use CHECK_STRING.
55538         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55539         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55540         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55541         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55543         include <bp-checks.h>.
55544         (truncate64): Do not use CHECK_STRING.
55545         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55546         <bp-checks.h>.
55547         (__real_chown): Do not use CHECK_STRING.
55548         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55549         <bp-checks.h>.
55550         (__lchown): Do not use CHECK_STRING.
55551         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55552         <bp-checks.h>.
55553         (__chown): Do not use CHECK_STRING.
55554         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55555         <bp-checks.h>.
55556         (truncate64): Do not use CHECK_STRING.
55557         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55558         Likewise.
55559         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55560         (__xmknod): Do not use CHECK_STRING.
55561         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55562         <bp-checks.h>.
55563         (__xmknodat): Do not use CHECK_STRING.
55564         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55565         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55567 2013-02-04  Andreas Schwab  <schwab@suse.de>
55569         [BZ #14142]
55570         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55571         * include/netdb.h: Likewise for h_errno.
55572         * elf/tst-stackguard1.c: Include <tls.h>.
55574 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55576         * elf/link.h (struct link_map): Extend the l_addr comment.
55577         * include/link.h (struct link_map): Likewise.
55579 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55581         [BZ #13550]
55582         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55583         (BOUNDED_1): Remove macro.
55584         * debug/backtrace.c: Don't include <bp-checks.h>.
55585         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55586         (__backtrace): Likewise.
55587         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55588         <bp-checks.h>.
55589         (__backtrace): Don't use BOUNDED_1.
55590         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55591         <bp-checks.h>.
55592         (__backtrace): Don't use BOUNDED_1.
55593         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55594         (__backtrace): Don't use BOUNDED_1.
55595         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55596         (shmat): Don't use BOUNDED_N.
55598 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55600         [BZ #13550]
55601         * sysdeps/generic/bp-start.h: Remove file.
55602         * csu/libc-start.c: Don't include <bp-start.h>.
55603         (LIBC_START_MAIN): Set up __environ directly instead of using
55604         INIT_ARGV_and_ENVIRON.
55605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55606         <bp-start.h>.
55608         [BZ #13550]
55609         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55610         definitions.
55611         (CHECK_FCNTL): Likewise.
55612         (CHECK_N_PAGES): Likewise.
55614         [BZ #13550]
55615         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55616         definitions.
55617         (CHECK_SIGSET_NULL_OK): Likewise.
55618         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55619         <bp-checks.h>.
55620         (sigpending): Don't use CHECK_SIGSET.
55621         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55622         <bp-checks.h>.
55623         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55624         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55625         <bp-checks.h>.
55626         (do_sigsuspend): Don't use CHECK_SIGSET.
55627         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55628         use CHECK_SIGSET.
55629         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55630         (do_sigwait): Don't use CHECK_SIGSET.
55631         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55632         use CHECK_SIGSET.
55633         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55634         include <bp-checks.h>.
55635         (sigpending): Don't use CHECK_SIGSET.
55636         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55637         include <bp-checks.h>.
55638         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55639         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55640         <bp-checks.h>.
55641         (sigpending): Don't use CHECK_SIGSET.
55642         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55643         <bp-checks.h>.
55644         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55646         [BZ #13550]
55647         * sysdeps/generic/bp-semctl.h: Remove file.
55648         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55649         <bp-checks.h> and <bp-semctl.h>.
55650         (__old_semctl): Don't use CHECK_SEMCTL.
55651         (__new_semctl): Likewise.
55652         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55653         and <bp-semctl.h>.
55654         (__old_semctl): Don't use CHECK_SEMCTL.
55655         (__new_semctl): Likewise.
55656         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55657         <bp-checks.h> and <bp-semctl.h>.
55658         (__old_semctl): Don't use CHECK_SEMCTL.
55659         (__new_semctl): Likewise.
55660         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55661         <bp-checks.h> and <bp-semctl.h>.
55662         (semctl): Don't use CHECK_SEMCTL.
55664         [BZ #13550]
55665         * Makerules (elide-bp-thunks): Remove variable.
55666         (elide-routines.oS): Don't use $(elide-bp-thunks).
55667         (elide-routines.os): Likewise.
55668         (elide-routines.o): Likewise.
55669         (elide-routines.op): Likewise.
55670         (elide-routines.og): Likewise.
55671         (objects): Don't use $(bp-thunks).
55672         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55673         include.
55674         (common-generated): Do not add s-proto-bp.d.
55675         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55676         (int): Likewise.
55677         (typ): Likewise.
55678         Do not generate makefile rules for bounded-pointer thunks.
55679         * sysdeps/generic/bp-thunks.h: Remove file.
55680         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55681         * sysdeps/unix/s-proto-bp.S: Likewise.
55683         [BZ #15062]
55684         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55685         parts of result separately when argument is not close to line from
55686         -i to i and one part of argument is small.
55687         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55688         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55689         * math/libm-test.inc (cacos_test): Add more tests.
55690         (casin_test): Likewise.
55691         (casinh_test): Likewise.
55692         * sysdeps/i386/fpu/libm-test-ulps: Update.
55693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55695 2013-01-31  David S. Miller  <davem@davemloft.net>
55697         * po/de.po: Update from translation team.
55699 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55701         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55703 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55705         * configure.in (_AC_PROG_CC_C89): New definition.
55706         * configure: Regenerate.
55708         * configure.in (AC_PROG_CPP): New definition.
55709         * configure: Regenerate.
55711 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55713         * debug/tst-backtrace.h: New file.
55714         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55715         (ret): Remove variable.
55716         (x): Likewise.
55717         (FAIL): Remove macro.
55718         (NO_INLINE): Likewise.
55719         (fn1): Use match function instead of strstr.
55720         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55721         (ret): Remove variable.
55722         (x): Likewise.
55723         (FAIL): Remove macro.
55724         (NO_INLINE): Likewise.
55725         (fn): Use match function instead of strstr.
55726         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55727         (ret): Remove variable.
55728         (x): Likewise.
55729         (FAIL): Remove macro.
55730         (NO_INLINE): Likewise.
55731         (handle_signal): Use match function instead of strstr.
55732         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55733         (ret): Remove variable.
55734         (x): Likewise.
55735         (FAIL): Remove macro.
55736         (NO_INLINE): Likewise.
55737         (handle_signal): Use match function instead of strstr.
55739 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55741         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55743 2013-01-23  David S. Miller  <davem@davemloft.net>
55745         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55746         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55747         argument of CAS if possible.
55748         * sysdeps/sparc/sparc64/bits/atomic.h
55749         (__arch_compare_and_exchange_val_32_acq): Likewise.
55750         (__arch_compare_and_exchange_val_64_acq): Likewise.
55752 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55754         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55755         * sysdeps/posix/ulimit.c: ... this.
55756         Include <limits.h>.
55757         * sysdeps/unix/bsd/ulimit.c: Remove file.
55759 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55761         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55762         (LDFLAGS-tst-array5): Likewise.
55764 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55766         [BZ #15036]
55767         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55768         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55769         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55770         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55772 2013-01-21  David S. Miller  <davem@davemloft.net>
55774         * sysdeps/sparc/backtrace.c: New file.
55775         * sysdeps/sparc/sparc32/backtrace.h: New file.
55776         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55777         * sysdeps/sparc/sparc64/backtrace.h: New file.
55778         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55779         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55780         -funwind-tables.
55782 2013-01-21  Andreas Schwab  <schwab@suse.de>
55784         [BZ #15020]
55785         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55786         closed its stdout.
55788 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55791         "mpa2.h".
55792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55794 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55795             Mark Mitchell  <mark@codesourcery.com>
55796             Tom de Vries  <tom@codesourcery.com>
55797             Paul Pluzhnikov  <ppluzhnikov@google.com>
55799         * debug/tst-backtrace2.c: New file.
55800         * debug/tst-backtrace3.c: Likewise.
55801         * debug/tst-backtrace4.c: Likewise.
55802         * debug/tst-backtrace5.c: Likewise.
55803         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55804         (CFLAGS-tst-backtrace3.c): Likewise.
55805         (CFLAGS-tst-backtrace4.c): Likewise.
55806         (CFLAGS-tst-backtrace5.c): Likewise.
55807         (LDFLAGS-tst-backtrace2): Likewise.
55808         (LDFLAGS-tst-backtrace3): Likewise.
55809         (LDFLAGS-tst-backtrace4): Likewise.
55810         (LDFLAGS-tst-backtrace5): Likewise.
55811         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55812         tst-backtrace4 and tst-backtrace5.
55814 2013-01-18  Anton Blanchard  <anton@samba.org>
55815             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55817         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55818         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55819         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55820         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55822         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55823         "+r" and remove output regs list as redundant.  Add explicit inline
55824         asm to specify register of return val to work around compiler codegen
55825         bug.  Remove (int) cast on return value.  Add return type parameter to
55826         use in macro so that this macro does not truncate return value for
55827         64-bit values.
55828         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55829         pass to INTERNAL_VSYSCALL_NCS.
55830         (INLINE_VSYSCALL): Add 'long int' as return type to
55831         INTERNAL_VSYSCALL_NCS macro invocation.
55832         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55833         INTERNAL_VSYSCALL_NCS macro invocation.
55834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55836 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55838         [BZ #14496]
55839         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55840         Fix application of SIMD FP exception mask.
55842         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55843         mp_no from a power of two.
55844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55845         __mpexp_twomm1.  Use __pow_mp.
55847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55848         multiplication.
55850 2013-01-17  David S. Miller  <davem@davemloft.net>
55852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55854 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55856         [BZ #15023]
55857         * include/complex.h: Condition contents on [!_COMPLEX_H].
55858         (__kernel_casinhf): New prototype.
55859         (__kernel_casinh): Likewise.
55860         (__kernel_casinhl): Likewise.
55861         * math/Makefile (libm_calls): Add k_casinh.
55862         * math/k_casinh.c: New file.
55863         * math/k_casinhf.c: Likewise.
55864         * math/k_casinhl.c: Likewise.
55865         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55866         finite nonzero arguments.
55867         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55868         finite nonzero arguments.
55869         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55870         finite nonzero arguments.
55871         * math/s_casinh.c: Do not include <float.h>.
55872         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55873         * math/s_casinhf.c: Do not include <float.h>.
55874         (__casinhf): Move code for finite nonzero arguments to
55875         k_casinhf.c.
55876         * math/s_casinhl.c: Do not include <float.h>.
55877         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55878         redefine.
55879         (__casinhl): Move code for finite nonzero arguments to
55880         k_casinhl.c.
55881         * math/libm-test.inc (cacos_test): Add more tests.
55882         * sysdeps/i386/fpu/libm-test-ulps: Update.
55883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55885 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55887         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55888         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55889         [!HAVE_MREMAP]: Remove [defined linux] case.
55890         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55892 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55894         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55896 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55898         * elf/elf.h (R_386_SIZE32): New relocation.
55899         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55900         R_386_SIZE32.
55901         (elf_machine_rela): Likewise.
55902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55903         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55905 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55907         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55908         (FP_FAST_FMA): Do not define.
55909         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55910         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55911         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55912         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55913         !_SOFT_FLOAT]: Likewise.
55914         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55915         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55916         value.
55917         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55918         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55919         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55920         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55921         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55922         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55923         file.
55925 2013-01-16  Andreas Schwab  <schwab@suse.de>
55927         [BZ #14327]
55928         * include/stdlib.h (__mktemp): Add declaration.
55929         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55930         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55932 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55934         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55935         definitions.
55936         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55937         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55938         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55939         definitions here.
55940         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55941         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55942         definitions.
55943         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55944         and ONE.
55945         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55946         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55947         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55948         definitions.
55949         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55950         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55951         definitions.
55952         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55954         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55956 2013-01-15  David S. Miller  <davem@davemloft.net>
55958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55959         trunc{,f} to libm-sysdep_routes.
55960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55962         file.
55963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55965         file.
55966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55967         file.
55968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55970         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55971         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55972         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55973         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55974         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55975         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55978         nearbyint{,f} to libm-sysdep_routes.
55979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55981         New file.
55982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55983         file.
55984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55985         New file.
55986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55987         file.
55988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55990         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55991         file.
55992         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55993         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55994         file.
55995         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55996         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55997         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55999         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56000         libc_feholdexcept and libc_fesetenv.
56002 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56004         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56006 2013-01-14  David S. Miller  <davem@davemloft.net>
56008         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56009         (SPARC_ASM_VIS2_IFUNC): Likewise.
56010         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56012         use of 'siam' instruction.
56013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56014         Likewise.
56015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56016         Likewise.
56017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56018         Likewise.
56019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56022         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56024         file.
56025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56026         file.
56027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56028         file.
56029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56030         file.
56031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56036         new VIS2 routines.
56037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56040         Likewise.
56041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56046         routines to libm-sysdep_routines.
56047         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56050         fdim/fdimf to libm-sysdep_routines.
56051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56052         file.
56053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56055         file.
56056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56059         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56060         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56061         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56062         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56064 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56066         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56067         to optimize copies.
56069         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56074         local variable MPTWO.
56075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56076         Likewise.
56078 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56080         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56081         GLOB_NOESCAPE.
56083 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56085         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56087 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56089         * manual/pattern.texi (glob_t): Document gl_flags.
56090         (glob64_t): Likewise.
56092 2013-01-11  David S. Miller  <davem@davemloft.net>
56094         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56095         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56096         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56097         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56098         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56099         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56100         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56101         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56102         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56103         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56104         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56105         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56106         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56108         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56109         sparc V9 rather than using V8 code.
56110         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56111         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56113         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56114         Move to...
56115         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56116         Here.
56118 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56120         [BZ #14941]
56121         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56122         not in the main loop.
56123         * configure: Regenerated.
56125 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56127         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56128         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56129         to just #else.
56130         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56131         [!__GLIBC_HAVE_LONG_LONG] case.
56132         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56133         condition to just #else.
56134         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56135         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56136         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56137         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56138         unconditional.
56139         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56140         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56141         #elif condition to just #else.
56142         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56143         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56144         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56145         #elif condition to just #else.
56147 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56149         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56150         (EF_MIPS_ARCH_64): Fix value.
56151         (EF_MIPS_ARCH_32R2): New.
56152         (EF_MIPS_ARCH_64R2): New.
56154 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56156         * Makeconfig (+link-pie-before-libc): New.
56157         (+link-pie-after-libc): Likewise.
56158         (+link-pie-tests): Likewise.
56159         (+link-pie): Rewritten.
56160         (link-before-libc): Remove $(config-LDFLAGS).
56161         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56162         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56163         (config-LDFLAGS): Renamed to ...
56164         (rtld-LDFLAGS): This.
56165         (rtld-tests-LDFLAGS): New macro.
56166         (link-libc-rpath-link): Likewise.
56167         (link-libc-tests-rpath-link): Likewise.
56168         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56169         (link-libc): Prepand $(link-libc-rpath-link).
56170         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56171         (test-program-prefix): New macro.
56172         (test-via-rtld-prefix): Likewise.
56173         (test-program-cmd): Likewise.
56174         (host-test-program-cmd): Likewise.
56175         * Makefile ($(common-objpfx)testrun.sh): Replace
56176         $(run-program-prefix) with $(test-program-prefix).
56177         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56178         $(rtld-LDFLAGS).
56179         ($(common-objpfx)shlib.lds): Likewise.
56180         (build-module-helper): Likewise.
56181         ($(common-objpfx)format.lds): Likewise.
56182         * Rules (binaries-pie-tests): New.
56183         (binaries-pie-notests): Likewise.
56184         (binaries-pie): Rewritten.
56185         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56186         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56187         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56188         (make-test-out): Replace $(host-built-program-cmd) with
56189         $(host-test-program-cmd).
56190         * config.make.in (build-hardcoded-path-in-tests): New variable.
56191         * configure.in (--enable-hardcoded-path-in-tests): New configure
56192         option.
56193         (hardcoded_path_in_tests): New AC_SUBST.
56194         * configure: Regenerated.
56195         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56196         $(built-program-cmd) with $(test-program-cmd).
56197         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56198         (test_program_cmd): This.
56199         * elf/Makefile ($(objpfx)order.out): Run test with
56200         $(test-program-prefix).
56201         ($(objpfx)order2.out): Likewise.
56202         ($(objpfx)tst-initorder.out): Likewise.
56203         ($(objpfx)tst-initorder2.out): Likewise.
56204         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56205         $(test-program-cmd).
56206         ($(objpfx)tst-array1-static.out): Likewise.
56207         ($(objpfx)tst-array2.out): Likewise.
56208         ($(objpfx)tst-array3.out): Likewise.
56209         ($(objpfx)tst-array4.out): Likewise.
56210         ($(objpfx)tst-array5.out): Likewise.
56211         ($(objpfx)tst-array5-static.out): Likewise.
56212         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56213         $(test-program-cmd).
56214         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56215         $(run-program-prefix) with $(test-program-prefix).
56216         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56217         (test_program_prefix): This.
56218         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56219         $(run-program-prefix) with $(test-program-prefix).
56220         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56221         (test_program_prefix): This.
56222         * iconvdata/tst-tables.sh: Likewise.
56223         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56224         $(run-program-prefix) with $(test-program-prefix).
56225         ($(objpfx)tst-translit.out): Likewise.
56226         ($(objpfx)tst-gettext2.out): Likewise.
56227         ($(objpfx)tst-gettext4.out): Likewise.
56228         ($(objpfx)tst-gettext6.out): Likewise.
56229         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56230         (test_program_prefix): This.
56231         * intl/tst-gettext2.sh: Likewise.
56232         * intl/tst-gettext4.sh  Likewise.
56233         * intl/tst-gettext6.sh: Likewise.
56234         * intl/tst-translit.sh: Likewise.
56235         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56236         with $(test-program-cmd).
56237         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56238         $(run-program-prefix) with $(test-program-prefix).
56239         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56240         (test_program_prefix): This.
56241         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56242         $(run-program-prefix) with $(test-program-prefix).
56243         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56244         (test_program_prefix): This.
56245         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56246         * posix/Makefile ($(objpfx)globtest.out): Replace
56247         $(run-via-rtld-prefix) and $(test-wrapper) with
56248         $(test-program-prefix) and $(test-via-rtld-prefix).
56249         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56250         $(test-program-prefix).
56251         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56252         $(host-test-program-cmd).
56253         (tst-spawn-ARGS): Likewise.
56254         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56255         $(test-program-prefix).
56256         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56257         (test_via_rtld_prefix): This.
56258         (test_wrapper): Renamed to ...
56259         (test_program_prefix): This.
56260         (run_program_prefix): Replaced by test_program_prefix.
56261         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56262         (test_program_prefix): This.
56263         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56264         with $(host-test-program-cmd).
56265         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56266         $(run-program-prefix) with $(test-program-prefix).
56267         ($(objpfx)tst-printf.out): Likewise.
56268         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56269         $(test-program-cmd).
56270         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56271         (test_program_prefix): This.
56272         * stdio-common/tst-unbputc.sh: Likewise.
56273         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56274         $(run-program-prefix) with $(test-program-prefix).
56275         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56276         (test_program_prefix): This.
56277         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56278         $(built-program-cmd) with $(test-program-cmd).
56280 2013-01-11  Andreas Jaeger  <aj@suse.de>
56282         [BZ #15003]
56283         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56284         value. Sync with Linux 3.7.
56286 2013-01-10  David S. Miller  <davem@davemloft.net>
56288         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56289         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56290         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56292 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56294         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56295         never set.
56296         * configure: Regenerated.
56298 2013-01-10  David S. Miller  <davem@davemloft.net>
56300         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56301         sparc V9 rather than using V8 code.
56302         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56303         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56305 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56307         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56308         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56309         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56310         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56311         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56312         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56313         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56314         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56315         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56316         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56317         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56318         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56319         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56320         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56321         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56322         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56323         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56324         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56325         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56326         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56327         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56328         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56329         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56330         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56331         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56332         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56333         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56335 2013-01-10  David S. Miller  <davem@davemloft.net>
56337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56339 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56341         * posix/Makefile (tests-static): New variable.
56342         (tests): Add $(tests-static).
56343         (tst-exec-static-ARGS): New variable.
56344         (tst-spawn-static-ARGS): Likewise.
56345         * posix/tst-exec-static.c: New file.
56346         * posix/tst-spawn-static.c: Likewise.
56347         * posix/tst-exec.c: Support run directly.
56348         * posix/tst-spawn.c: Likewise.
56350 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56352         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56353         long.
56354         * math/bits/mathcalls.h (llrint): Likewise.
56355         (llround): Likewise.
56356         * stdlib/stdlib.h (struct drand48_data): Likewise.
56357         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56358         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56359         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56360         Likewise.
56361         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56362         Likewise.
56363         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56364         (elf_greg_t): Likewise.
56365         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56366         (__jmp_buf): Likewise.
56367         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56368         definitions.
56369         (llrint): Likewise, for all definitions.
56370         (llrintl): Likewise.
56372         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56373         Remove [__GNUC__] condition.
56374         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56375         condition to just [__USE_ISOC99].
56376         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56378 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56380         [BZ #14200]
56381         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56382         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56383         defined.
56384         (_POSIX_V6_ILP32_OFF32): Likewise.
56385         (_XBS5_ILP32_OFF32): Likewise.
56386         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56387         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56389 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56391         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56393         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56394         doubles __mpexp_twomm1.  Adjust usage.
56395         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56396         Remove.
56398 2013-01-10  Andreas Schwab  <schwab@suse.de>
56400         [BZ #14964]
56401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56402         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56404 2013-01-09  David S. Miller  <davem@davemloft.net>
56406         [BZ #15003]
56407         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56408         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56409         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56410         (TCP_FASTOPEN): Define.
56411         (tcp_repair_opt): New structure.
56412         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56413         enum values.
56414         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56415         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56416         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56417         (tcp_cookie_transactions): New structure.
56419 2013-01-09  Anton Blanchard  <anton@samba.org>
56421         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56422         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56423         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56424         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56426 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56428         * include/features.h (__USE_ANSI): Remove.
56430 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56432         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56434         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56436 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56438         * sysdeps/s390/fpu/libm-test-ulps: Update.
56440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56442         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56443         (__acr): Likewise.
56444         (__cpy): Likewise.
56445         (norm): Likewise.
56446         (denorm): Likewise.
56447         (__mp_dbl): Likewise.
56448         (__dbl_mp): Likewise.
56449         (add_magnitudes): Likewise.
56450         (sub_magnitudes): Likewise.
56451         (__add): Likewise.
56452         (__sub): Likewise.
56453         (__mul): Likewise.
56454         (__inv): Likewise.
56455         (__dvd): Likewise.
56456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56457         (__acr): Likewise.
56458         (__cpy): Likewise.
56459         (norm): Likewise.
56460         (denorm): Likewise.
56461         (__mp_dbl): Likewise.
56462         (__dbl_mp): Likewise.
56463         (add_magnitudes): Likewise.
56464         (sub_magnitudes): Likewise.
56465         (__add): Likewise.
56466         (__sub): Likewise.
56467         (__mul): Likewise.
56468         (__inv): Likewise.
56469         (__dvd): Likewise.
56470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56471         (__acr): Likewise.
56472         (__cpy): Likewise.
56473         (norm): Likewise.
56474         (denorm): Likewise.
56475         (__mp_dbl): Likewise.
56476         (__dbl_mp): Likewise.
56477         (add_magnitudes): Likewise.
56478         (sub_magnitudes): Likewise.
56479         (__add): Likewise.
56480         (__sub): Likewise.
56481         (__mul): Likewise.
56482         (__inv): Likewise.
56483         (__dvd): Likewise.
56485 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56487         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56488         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56489         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56490         2 && __USE_EXTERN_INLINES]: Likewise.
56492 2013-01-08  Andreas Jaeger  <aj@suse.de>
56494         [BZ# 14985]
56495         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56496         Remove.
56497         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56498         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56500 2013-01-07  Anton Blanchard  <anton@samba.org>
56502         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56503         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56504         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56505         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56506         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56507         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56508         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56509         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56511         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56512         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56513         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56515         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56516         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56517         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56518         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56520         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56522         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56523         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56524         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56525         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56526         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56527         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56528         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56529         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56531         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56532         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56534         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56535         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56536         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56537         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56538         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56539         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56540         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56542         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56543         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56544         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56546 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56548         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56549         (__MALLOC_PMT): Likewise.
56550         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56551         [__GNUC__], only on [_LIBC].
56552         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56553         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56554         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56555         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56556         forward declaration.
56557         (realloc_hook_ini): Likewise.
56558         (memalign_hook_ini): Likewise.
56559         (__libc_memalign): Do not use __MALLOC_PMT in variable
56560         declaration.
56561         (__libc_valloc): Likewise.
56562         (__libc_pvalloc): Likewise.
56563         (__libc_calloc): Likewise.
56564         (__posix_memalign): Likewise.
56566         [BZ #14996]
56567         * math/s_casinh.c: Include <float.h>.
56568         (__casinh): Do not do computation with squaring and square root
56569         for large arguments.
56570         * math/s_casinhf.c: Include <float.h>.
56571         (__casinhf): Do not do computation with squaring and square root
56572         for large arguments.
56573         * math/s_casinhl.c: Include <float.h>.
56574         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56575         (__casinhl): Do not do computation with squaring and square root
56576         for large arguments.
56577         * math/libm-test.inc (casin_test): Add more tests.
56578         (casinh_test): Likewise.
56579         * sysdeps/i386/fpu/libm-test-ulps: Update.
56580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56582 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56584         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56585         (__x86_64_raw_data_cache_size): Likewise.
56586         (__x86_64_data_cache_size_half): Likewise.
56587         (__x86_64_raw_data_cache_size_half): Likewise.
56588         (__x86_64_shared_cache_size): Likewise.
56589         (__x86_64_raw_shared_cache_size): Likewise.
56590         (__x86_64_shared_cache_size_half): Likewise.
56591         (__x86_64_raw_shared_cache_size_half): Likewise.
56592         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56593         to ...
56594         (__x86_data_cache_size): This.
56595         (__x86_64_raw_data_cache_size): Renamed to ...
56596         (__x86_raw_data_cache_size): This.
56597         (__x86_64_data_cache_size_half): Renamed to ...
56598         (__x86_data_cache_size_half): This.
56599         (__x86_64_raw_data_cache_size_half): Renamed to ...
56600         (__x86_raw_data_cache_size_half): This.
56601         (__x86_64_shared_cache_size): Renamed to ...
56602         (__x86_shared_cache_size): This.
56603         (__x86_64_raw_shared_cache_size): Renamed to ...
56604         (__x86_raw_shared_cache_size): This.
56605         (__x86_64_shared_cache_size_half): Renamed to ...
56606         (__x86_shared_cache_size_half): This.
56607         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56608         (__x86_raw_shared_cache_size_half): This.
56609         * sysdeps/x86_64/memcpy.S: Updated.
56610         * sysdeps/x86_64/memset.S: Likewise.
56611         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56612         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56613         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56615 2013-01-04  David S. Miller  <davem@davemloft.net>
56617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56619 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56621         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56622         1 to avoid redefinition warning.
56623         (__USE_GNU): Don't define.
56624         (init_signaling_nan): Protoize.
56626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56628 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56630         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56632         (__cpymn): Likewise.
56633         (norm): Remove commented code.
56634         (denorm): Likewise.
56635         (__mp_dbl): Likewise.
56636         (__inv): Likewise.
56637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56638         (__cpymn): Likewise.
56639         (norm): Remove commented code.
56640         (denorm): Likewise.
56641         (__mp_dbl): Likewise.
56642         (__inv): Likewise.
56644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56645         mp_no value for 1.0 and 2.0.
56646         (norm): Use RADIXI instead of radixi.d.
56647         (denorm): Likewise.
56648         (__mul): Use 0.0 instead of zero.d.
56649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56650         mp_no value for 1.0 and 2.0.
56651         (norm): Use RADIXI instead of radixi.d.
56652         (denorm): Likewise.
56653         (__mul): Use 0.0 instead of zero.d.
56655 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56657         [BZ #14994]
56658         * math/s_casinh.c (__casinh): Reduce finite argument to first
56659         quadrant then set signs of results at the end.
56660         * math/s_casinhf.c (__casinhf): Likewise.
56661         * math/s_casinhl.c (__casinhl): Likewise.
56662         * math/libm-test.inc (casin_test): Add more tests.
56663         (casinh_test): Likewise.
56664         * sysdeps/i386/fpu/libm-test-ulps: Update.
56665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56667 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56669         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56671         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56673         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56674         declarations.
56675         (denorm): Likewise.
56676         (__mp_dbl): Likewise.
56677         (__inv): Likewise.
56679         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56680         and adjust the header comment.
56682         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56683         variable name from declaration.
56685 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56688         Initialize COMMON_CPUID_INDEX_7 element.
56689         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56690         (CPUID_RTM): Likewise.
56691         (HAS_RTM): Likewise.
56692         (COMMON_CPUID_INDEX_7): New enum.
56694 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56696         [BZ #14981]
56697         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56698         size is zero, record memory as freed.
56700 2013-01-03  Andreas Jaeger  <aj@suse.de>
56702         * po/ia.po: Add new Interlingua translation.
56704 2012-01-03  Allan McRae  <allan@archlinux.org>
56706         * locale/programs/localedef.c: Fix description of '--posix' flag.
56708 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56710         * NEWS: Update dates in second copyright notice.
56711         * README: Update copyright dates in example.
56712         * manual/libc.texinfo: Update copyright dates.
56713         * scripts/test-installation.pl: Update copyright date in --version
56714         output.
56716         * hurd/ctty-input.c: Fix copyright notice formatting.
56717         * hurd/ctty-output.c: Likewise.
56718         * hurd/dtable.c: Likewise.
56719         * hurd/hurd-raise.c: Likewise.
56720         * hurd/hurdprio.c: Likewise.
56721         * hurd/msgportdemux.c: Likewise.
56722         * misc/sys/file.h: Likewise.
56723         * misc/sys/ioctl.h: Likewise.
56724         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56725         * sysdeps/mach/hurd/chdir.c: Likewise.
56726         * sysdeps/mach/hurd/fchdir.c: Likewise.
56727         * sysdeps/mach/hurd/rename.c: Likewise.
56728         * sysdeps/mach/hurd/rmdir.c: Likewise.
56729         * sysdeps/mach/hurd/seekdir.c: Likewise.
56730         * sysdeps/mach/hurd/setsid.c: Likewise.
56731         * sysdeps/posix/wait3.c: Likewise.
56733         * All files with FSF copyright notices: Update copyright dates
56734         using scripts/update-copyrights.
56735         * intl/plural.c: Regenerated.
56736         * locale/programs/charmap-kw.h: Likewise.
56737         * locale/programs/locfile-kw.h: Likewise.
56739 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56741         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56742         four values.
56744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56745         calculation loop and add branch prediction.
56747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56748         check access beyond bounds of m1np.
56750         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56751         MPTWO.
56752         (__inv): Remove local variable MPTWO to use the global
56753         constant.
56754         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56755         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56756         variable MPTWO.
56757         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56758         MP3HALFS static const.
56760 2013-01-01  David S. Miller  <davem@davemloft.net>
56762         * po/ca.po: Update from translation team.
56764 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56766         * scripts/update-copyrights: New file.
56767         * Makeconfig: Reformat copyright notice.
56768         * ctype/ctype.h: Likewise.
56769         * debug/swprintf_chk.c: Likewise.
56770         * elf/dl-cache.c: Likewise.
56771         * elf/dl-debug.c: Likewise.
56772         * elf/dl-object.c: Likewise.
56773         * grp/initgroups.c: Likewise.
56774         * hurd/Makefile: Likewise.
56775         * hurd/hurd/signal.h: Likewise.
56776         * hurd/hurdfault.c: Likewise.
56777         * hurd/hurdioctl.c: Likewise.
56778         * hurd/hurdlookup.c: Likewise.
56779         * hurd/intr-msg.c: Likewise.
56780         * iconv/gconv_open.c: Likewise.
56781         * libio/swprintf.c: Likewise.
56782         * locale/lc-ctype.c: Likewise.
56783         * locale/nl_langinfo.c: Likewise.
56784         * mach/Machrules: Likewise.
56785         * mach/Makefile: Likewise.
56786         * malloc/obstack.h: Likewise.
56787         * manual/Makefile: Likewise.
56788         * manual/tsort.awk: Likewise.
56789         * misc/bits/stab.def: Likewise.
56790         * nis/nis_print_group_entry.c: Likewise.
56791         * nis/nis_table.c: Likewise.
56792         * nis/nss_compat/compat-pwd.c: Likewise.
56793         * nis/nss_compat/compat-spwd.c: Likewise.
56794         * po/Makefile: Likewise.
56795         * posix/fnmatch.c: Likewise.
56796         * posix/regex.h: Likewise.
56797         * resolv/Makefile: Likewise.
56798         * resolv/nss_dns/dns-network.c: Likewise.
56799         * resolv/res_hconf.c: Likewise.
56800         * scripts/gen-sorted.awk: Likewise.
56801         * soft-fp/soft-fp.h: Likewise.
56802         * stdio-common/printf.h: Likewise.
56803         * stdlib/monetary.h: Likewise.
56804         * stdlib/random.c: Likewise.
56805         * stdlib/random_r.c: Likewise.
56806         * sysdeps/generic/Makefile: Likewise.
56807         * sysdeps/gnu/Makefile: Likewise.
56808         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56810         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56816         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56818         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56819         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56820         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56821         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56822         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56823         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56824         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56825         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56826         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56827         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56828         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56829         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56830         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56831         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56832         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56833         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56834         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56835         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56836         * sysdeps/mach/hurd/errnos.awk: Likewise.
56837         * sysdeps/mach/hurd/fork.c: Likewise.
56838         * sysdeps/mach/hurd/getcwd.c: Likewise.
56839         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56840         * sysdeps/mach/hurd/mmap.c: Likewise.
56841         * sysdeps/mach/hurd/utimes.c: Likewise.
56842         * sysdeps/mach/hurd/xmknod.c: Likewise.
56843         * sysdeps/posix/profil.c: Likewise.
56844         * sysdeps/posix/readdir_r.c: Likewise.
56845         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56846         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56847         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56848         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56850         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56852         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56854         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56855         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56856         * sysdeps/pthread/lio_listio.c: Likewise.
56857         * sysdeps/sparc/dl-procinfo.h: Likewise.
56858         * sysdeps/unix/i386/sysdep.S: Likewise.
56859         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56860         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56861         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56862         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56864         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56865         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56866         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56867         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56868         * sysdeps/wordsize-32/divdi3.c: Likewise.
56869         * time/sys/time.h: Likewise.
56870         * wcsmbs/Makefile: Likewise.
56872 2013-01-01  David S. Miller  <davem@davemloft.net>
56874         * po/fr.po: Update from translation team.
56876         * catgets/gencat.c: Update copyright year.
56877         * csu/version.c: Likewise.
56878         * debug/catchsegv.sh: Likewise.
56879         * debug/pcprofiledump.c: Likewise.
56880         * debug/xtrace.sh: Likewise.
56881         * elf/ldconfig.c: Likewise.
56882         * elf/ldd.bash.in: Likewise.
56883         * elf/pldd.c: Likewise.
56884         * elf/sotruss.ksh: Likewise.
56885         * elf/sprof.c: Likewise.
56886         * iconv/iconv_prog.c: Likewise.
56887         * iconv/iconvconfig.c: Likewise.
56888         * locale/programs/locale.c: Likewise.
56889         * locale/programs/localedef.c: Likewise.
56890         * login/programs/pt_chown.c: Likewise.
56891         * malloc/memusage.sh: Likewise.
56892         * malloc/memusagestat.c: Likewise.
56893         * malloc/mtrace.pl: Likewise.
56894         * nscd/nscd.c: Likewise.
56895         * nss/getent.c: Likewise.
56896         * nss/makedb.c: Likewise.
56897         * posix/getconf.c: Likewise.
56899 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56901         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56902         numbers.
56904 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56906         * math/bits/mathcalls.h (modf): Use __nonnull.
56908 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56910         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56911         (split): Use macro CN instead of the bare value.
56912         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56913         could be used.
56914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56915         instead of the bare value.
56916         (power1): Likewise.
56918 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56920         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56921         __ATAN_TWOM.
56922         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56924         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56925         their values.
56926         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56927         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56928         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56929         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56931 2012-12-28  Andreas Jaeger  <aj@suse.de>
56933         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56934         values are from Linux 3.7.
56936         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56937         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56939 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56941         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56942         TRUE case.
56944         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56945         (norm): Likewise.
56946         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56947         variables with preprocessor constants.
56948         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56949         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56950         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56952 2012-12-27  Bruno Haible  <bruno@clisp.org>
56954         [BZ #14317]
56955         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56956         only if needed.
56958 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56960         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56961         and use variable directly.
56962         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56964         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56965         MPONE.
56966         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56967         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56968         variable MPONE.
56969         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56971         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56972         include directive.  Remove local variable MPONE.
56973         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56974         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56975         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56977 2012-12-25  David S. Miller  <davem@davemloft.net>
56979         * version.h (RELEASE): Set to "development".
56980         (VERSION): Set to "2.17.90".
56981         * NEWS: Add 2.18 section.
56983 2012-12-21  David S. Miller  <davem@davemloft.net>
56985         * po/hr.po: Update from translation team.
56987 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56989         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56991 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56993         * NEWS:  Mention new memcpy for MIPS.
56995 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56997         * manual/contrib.texi (Contributors): Spelling correction.
56999 2012-12-15  David S. Miller  <davem@davemloft.net>
57001         * po/ru.po: Update from translation team.
57003 2012-12-13  David S. Miller  <davem@davemloft.net>
57005         * NEWS: Mention IFUNC testsuite enhancements.
57007         * po/pl.po: Update from translation team.
57008         * po/bg.po: Likewise.
57010         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57011         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57013 2012-12-11  David S. Miller  <davem@davemloft.net>
57015         * po/sv.po: Update from translation team.
57017         * po/vi.po: Update from translation team.
57019         * po/cs.po: Update from translation team.
57021         * po/de.po: Update from translation team.
57022         * po/eo.po: Likewise.
57023         * po/nl.po: Likewise.
57025 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57027         [BZ #14246]
57028         * manual/argp.texi (Argp Helper Functions): Move node to follow
57029         Argp Parsing State.
57031         [BZ #14872]
57032         * manual/conf.texi (Limits on File System Capacity): Mention if
57033         terminating null is included in the max size.
57035 2012-12-10  Andreas Jaeger  <aj@suse.de>
57037         * po/cs.po: Update from translation team.
57039 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57041         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57042         void pointer and cast to uintptr_t.
57043         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57044         path.
57045         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57046         * sysdeps/s390/s390-64/memset.S: Likewise.
57048 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57050         [BZ #14833]
57051         * menual/message.texi (Message Translation): Fix typos.
57052         (Helper programs for gettext): Likewise.
57054 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57056         [BZ #14898]
57057         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57058         Change to -1.
57060 2012-12-07  David S. Miller  <davem@davemloft.net>
57062         * po/libc.pot: Update.
57064 2012-12-07  Richard Henderson  <rth@redhat.com>
57066         [BZ #10114]
57067         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57068         normal/normal case to before the switch.
57069         (_FP_DIV): Likewise.
57071 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57072             Mike Frysinger  <vapier@gentoo.org>
57074         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57075         check for __NR_fadvise64_64.
57077 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57079         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57080         0, not just to plain "0" as a statement.
57081         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57082         with cw.
57084 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57086         * NEWS: Use sourceware.org in Bugzilla URL.
57088 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57091         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57093         * stdio-common/tst-put-error.c (do_test): Add newline to the
57094         padded test to ensure flush.
57096 2012-12-05  Jeff Law  <law@redhat.com>
57098         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57100 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57102         * README: Don't refer to ports add-on as distributed separately.
57103         Mention AArch64 in list of systems supported in the ports add-on.
57105         * LICENSES: Add more non-FSF copyright and license notices.
57107         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57108         ((unused)).
57110         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57112         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57113         10000 as width of padded output.
57115 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57117         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57119         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57120         variable LX with __attribute__ ((unused)).
57121         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57122         Likewise.
57123         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57124         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57125         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57126         with __attribute__ ((unused)).
57128 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57130         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57132 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57134         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57135         (CFLAGS-nldbl-acos.c): New variable.
57136         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57137         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57138         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57139         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57140         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57141         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57142         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57143         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57144         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57145         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57146         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57147         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57148         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57149         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57150         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57151         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57152         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57153         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57154         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57155         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57156         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57157         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57158         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57159         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57160         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57161         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57162         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57163         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57164         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57165         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57166         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57167         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57168         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57169         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57170         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57171         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57172         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57173         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57174         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57175         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57176         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57177         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57178         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57179         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57180         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57181         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57182         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57183         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57184         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57185         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57186         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57187         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57188         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57189         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57190         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57191         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57192         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57193         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57194         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57195         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57196         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57197         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57198         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57199         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57200         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57201         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57202         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57203         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57204         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57205         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57206         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57207         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57208         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57209         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57210         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57211         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57212         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57213         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57214         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57215         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57216         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57217         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57218         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57219         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57220         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57221         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57222         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57223         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57224         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57225         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57226         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57227         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57228         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57229         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57230         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57231         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57232         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57235         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57237         [BZ #14914]
57238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57239         whole low double instead of just low 47 bits when splitting values
57240         into two parts.
57242 2012-12-03  Allan McRae  <allan@archlinux.org>
57244         * manual/stdio.texi (Predefined Printf Handlers): Remove
57245         @hsep and @vsep usage.
57247 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57249         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57250         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57252 2012-12-03  Jeff Law  <law@redhat.com>
57254         * time/sys/time.h (settimeofday): Do not mark TV argument
57255         as __nonnull.
57257 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57259         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57260         when currently writing and seek to current position when not.
57261         * libio/Makefile (tests): Remove bug-fclose1.
57262         * libio/bug-fclose1.c: Delete.
57264 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57266         * manual/arith.texi (feenableexcept): Fix typo.
57267         (fedisableexcept): Likewise.
57269 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57271         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57272         second, differently-typed declaration, rather than a cast.
57274 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57276         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57277         * include/rpc/svc.h: ... here.
57279 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57281         [BZ #13013]
57282         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57283         depending n and resplen2 to catch cases where answer
57284         equals answerp2.
57286 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57288         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57289         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57291 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57293         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57295 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57297         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57299 2012-11-28  Jeff Law  <law@redhat.com>
57301         [BZ #13761]
57302         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57303         dataset_temporary.  Track alloca usage into alloca_used.
57304         If dataset is large allocate and release it via malloc/free.
57306 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57308         [BZ #14197]
57309         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57311 2012-11-28  David S. Miller  <davem@davemloft.net>
57313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57315 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57317         [BZ #14803]
57318         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57319         of pi/2 rounded to nearest to 64 bits.
57320         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57321         nearest to 64 bits.
57322         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57323         bits.
57325 2012-11-28  Jeff Law <law@redhat.com>
57326             Martin Osvald <mosvald@redhat.com>
57328         [BZ #14889]
57329         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57330         * sunrpc/svc.c: Include time.h.
57331         (__svc_accept_failed): New function.
57332         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57333         any reason other than EINTR, call __svc_accept_failed.
57334         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57335         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57337 2012-11-28  Andreas Schwab  <schwab@suse.de>
57339         * scripts/abilist.awk: Also handle indirect functions in .opd
57340         section.
57342 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57344         [BZ #13881]
57345         * sysdeps/x86/fpu/powl_helper.c: New file.
57346         * sysdeps/x86/fpu/Makefile: Likewise.
57347         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57348         (p3): New object.
57349         (__ieee754_powl): Use __powl_helper for finite arguments except
57350         integer exponents below 8.
57351         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57352         (p3): New object.
57353         (__ieee754_powl): Use __powl_helper for finite arguments except
57354         integer exponents below 8.
57355         * math/libm-test.inc (pow_test): Add more tests and enable some
57356         previously disabled tests.
57357         * sysdeps/i386/fpu/libm-test-ulps: Update.
57358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57360 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57361             Carlos O'Donell  <carlos_odonell@mentor.com>
57363         * nss/makedb.c (is_prime): Assert that input is odd and greater
57364         than 4.  Note that fact in a comment too.
57365         (next_prime): Add 4 to input.
57367 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57369         [BZ #11741]
57370         * libio/Makefile (tests): Add test case tst-fwrite-error.
57371         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57372         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57373         * libio/tst-fwrite-error.c: New test case.
57375 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57377         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57378         before casting to void *.
57379         * include/libc-internal.h (__pointer_type): New macro.
57380         (__integer_if_pointer_type_sub): Likewise.
57381         (__integer_if_pointer_type): Likewise.
57382         (cast_to_integer): Likewise.
57383         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57384         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57385         before casting to atomic64_t.
57386         (atomic_exchange_acq): Likewise.
57387         (__arch_exchange_and_add_body): Likewise.
57388         (__arch_add_body): Likewise.
57389         (atomic_add_negative): Likewise.
57390         (atomic_add_zero): Likewise.
57392 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57394         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57395         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57396         (add_fdes): Likewise.
57397         (linear_search_fdes): Likewise.
57398         (binary_search_unencoded_fdes): Likewise.
57400 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57402         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57404 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57406         * configure.in: Autodetect C++ header directories.
57407         * configure: Regenerated.
57409 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57411         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57413 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57417 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57419         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57420         LDBL_MANT_DIG == 106]: Disable some tests.
57421         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57422         Likewise.
57423         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57424         Likewise.
57426         [BZ #14871]
57427         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57428         input for small inputs.  Return +/- pi/2 for large inputs.
57429         * math/libm-test.inc (atan_test): Add more tests.
57431         * sysdeps/generic/unwind-dw2-fde-glibc.c
57432         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57433         __attribute__ ((unused)).
57435         [BZ #14645]
57436         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57437         x * y if x and y are nonzero and z is zero.
57439         [BZ #14811]
57440         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57441         nonzero exponents with absolute value below 0x1p-117 to +/-
57442         0x1p-117.
57444         [BZ #14869]
57445         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57446         up arguments below 2**-450, not just those below 2**-500.
57447         * math/libm-test.inc (hypot_test): Add another test.
57449         [BZ #14868]
57450         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57451         Return a+b for ratio over 2**120, not 2**60.
57452         * math/libm-test.inc (hypot_test): Add another test.
57454         * math/libm-test.inc (clog_test): Use
57455         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57456         (clog10_test): Likewise.
57458         [BZ #6778]
57459         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57461 2012-11-22  Andreas Schwab  <schwab@suse.de>
57463         * sysdeps/i386/fpu/libm-test-ulps: Update.
57465 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57467         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57468         printf output with newline.
57470 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57472         [BZ #14865]
57473         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57474         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57475         -z nodlopen, -z initfirst and -z execstack support.
57476         * configure: Regenerated.
57478         * elf/elf.h (DF_1_NODIRECT): New macro.
57479         (DF_1_IGNMULDEF): Likewise.
57480         (DF_1_NOKSYMS): Likewise.
57481         (DF_1_NOHDR): Likewise.
57482         (DF_1_EDITED): Likewise.
57483         (DF_1_NORELOC): Likewise.
57484         (DF_1_SYMINTPOSE): Likewise.
57485         (DF_1_GLOBAUDIT): Likewise.
57486         (DF_1_SINGLETON): Likewise.
57487         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57488         DT_1_SUPPORTED_MASK bits.
57489         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57491 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57493         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57495 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57497         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57498         macro.
57500         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57501         (sendmmsg): Move declarations...
57502         * socket/sys/socket.h: ... here.
57503         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57504         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57505         include it from...
57506         * socket/recvmmsg.c: ... this new file.
57507         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57508         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57509         definition of __sendmmsg hidden.
57510         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57511         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57512         Move ENOSYS stub into and include it from...
57513         * socket/sendmmsg.c: ... this new file.
57514         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57515         (sysdep_routines): Move recvmmsg and sendmmsg...
57516         * socket/Makefile (routines): ... here.
57517         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57518         (GLIBC_PRIVATE): Add __sendmmsg.
57519         * include/sys/socket.h (__sendmmsg): Add declarations.
57520         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57521         sendmmsg.
57523 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57525         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57526         variable I1 with __attribute__ ((unused)).
57527         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57529 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57531         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57532         DUMMY variables with __attribute__ ((unused)).
57534         * bits/byteswap.h: Include <bits/types.h>.
57535         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57537 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57539         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57540         string_t.  Do not manually set errno.
57541         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57542         length with __strnlen.  Make sure to both set errno and return it on
57543         failure.
57545 2012-11-19  David S. Miller  <davem@davemloft.net>
57547         With help from Joseph Myers.
57548         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57549         very large arguments properly.
57550         * math/libm-test.inc (atan_test): New tests.
57551         (atan2_test): New tests.
57552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57555 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57557         [BZ #14856]
57558         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57559         Define to 3.
57561         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57562         [POSIX] (EADDRNOTAVAIL): Likewise.
57563         [POSIX] (EAFNOSUPPORT): Likewise.
57564         [POSIX] (EALREADY): Likewise.
57565         [POSIX] (ECONNABORTED): Likewise.
57566         [POSIX] (ECONNREFUSED): Likewise.
57567         [POSIX] (ECONNRESET): Likewise.
57568         [POSIX] (EDESTADDRREQ): Likewise.
57569         [POSIX] (EDQUOT): Likewise.
57570         [POSIX] (EHOSTUNREACH): Likewise.
57571         [POSIX] (EIDRM): Likewise.
57572         [POSIX] (EISCONN): Likewise.
57573         [POSIX] (ELOOP): Likewise.
57574         [POSIX] (EMULTIHOP): Likewise.
57575         [POSIX] (ENETDOWN): Likewise.
57576         [POSIX] (ENETUNREACH): Likewise.
57577         [POSIX] (ENOBUFS): Likewise.
57578         [POSIX] (ENODATA): Likewise.
57579         [POSIX] (ENOLINK): Likewise.
57580         [POSIX] (ENOMSG): Likewise.
57581         [POSIX] (ENOPROTOOPT): Likewise.
57582         [POSIX] (ENOSR): Likewise.
57583         [POSIX] (ENOSTR): Likewise.
57584         [POSIX] (ENOTCONN): Likewise.
57585         [POSIX] (ENOTSOCK): Likewise.
57586         [POSIX] (EOPNOTSUPP): Likewise.
57587         [POSIX] (EOVERFLOW): Likewise.
57588         [POSIX] (EPROTO): Likewise.
57589         [POSIX] (EPROTONOSUPPORT): Likewise.
57590         [POSIX] (EPROTOTYPE): Likewise.
57591         [POSIX] (ESTALE): Likewise.
57592         [POSIX] (ETIME): Likewise.
57593         [POSIX] (ETXTBSY): Likewise.
57594         [POSIX] (EWOULDBLOCK): Likewise.
57595         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57596         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57597         [POSIX] (SEEK_CUR): Likewise.
57598         [POSIX] (SEEK_END): Likewise.
57599         [POSIX || UNIX98] (mode_t): Do not require.
57600         [POSIX] (off_t): Likewise.
57601         [POSIX] (pid_t): Likewise.
57602         [POSIX] (sys/stat.h): Do not allow header.
57603         [POSIX] (unistd.h): Likewise.
57604         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57605         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57606         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57607         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57608         require.
57609         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57610         sigevent): Specify elements.
57611         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57612         entry.
57613         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57614         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57616         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57617         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57618         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57619         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57620         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57621         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57622         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57623         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57624         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57625         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57626         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57627         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57628         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57629         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57630         Likewise.
57631         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57632         Likewise.
57633         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57634         Likewise.
57635         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57636         Likewise.
57637         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57638         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57639         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57640         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57641         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57642         Specify lower bound on value.
57643         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57644         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57645         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57646         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57647         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57648         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57649         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57650         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57651         value.
57652         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57653         as optional.
57654         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57655         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57656         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57657         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57658         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57659         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57660         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57661         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57662         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57663         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57664         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57665         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57666         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57667         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57668         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57669         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57670         entry.
57671         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57672         optional.
57673         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57674         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57675         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57676         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57677         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57678         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57679         Likewise.
57680         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57681         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57682         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57683         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57684         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57685         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57686         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57687         as optional.
57688         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57689         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57690         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57691         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57692         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57693         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57694         specify as optional.
57695         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57696         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57697         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57698         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57699         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57700         [XPG3] (NL_LANGMAX): Likewise.
57701         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57702         [POSIX || XPG3] (NL_NMAX): Likewise.
57703         [POSIX || XPG3] (NL_SETMAX): Likewise.
57704         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57705         [XPG3] (NZERO): Likewise.
57706         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57707         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57708         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57709         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57710         (REG_ERANGE): Expect.
57711         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57712         optional-constant.
57713         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57714         Use (void) in prototype.
57715         [POSIX] (*_t): Allow.
57716         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57717         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57718         (WRDE_BADVAL): Expect.
57720         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57721         expect.
57722         [XPG3 || XPG4] (O_RSYNC): Likewise.
57723         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57724         Likewise.
57725         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57726         [XPG3 || XPG4] (sigqueue): Likewise.
57727         [XPG3 || XPG4] (sigtimedwait): Likewise.
57728         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57729         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57730         [XPG3 || XPG4] (vsnprintf): Likewise.
57731         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57732         Likewise.
57733         [XPG3 || XPG4] (blksize_t): Likewise.
57734         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57735         Likewise.
57736         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57737         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57738         [XPG3 || XPG4] (struct itimerspec): Likewise.
57739         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57740         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57741         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57742         [XPG3 || XPG4] (clockid_t): Likewise.
57743         [XPG3 || XPG4] (timer_t): Likewise.
57744         [XPG3 || XPG4] (clock_getres): Likewise.
57745         [XPG3 || XPG4] (clock_gettime): Likewise.
57746         [XPG3 || XPG4] (clock_settime): Likewise.
57747         [XPG3 || XPG4] (nanosleep): Likewise.
57748         [XPG3 || XPG4] (timer_create): Likewise.
57749         [XPG3 || XPG4] (timer_delete): Likewise.
57750         [XPG3 || XPG4] (timer_gettime): Likewise.
57751         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57752         [XPG3 || XPG4] (timer_settime): Likewise.
57753         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57754         [XPG3 || XPG4] (getlogin_r): Likewise.
57755         [XPG3 || XPG4] (pread): Likewise.
57756         [XPG3 || XPG4] (pthread_atfork): Likewise.
57757         [XPG3 || XPG4] (pwrite): Likewise.
57759         [BZ #14835]
57760         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57761         <bits/siginfo.h>.
57763 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57765         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57766         finalizing MALLSTREAM.
57768         * sysdeps/mach/hurd/syncfs.c: New file.
57770 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57772         [BZ #14719]
57773         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57774         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57775         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57776         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57777         (_nss_dns_gethostbyname4_r): Likewise.
57778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57779         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57781 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57783         [BZ #13763]
57784         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57786 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57788         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57789         * elf/cache.c (print_entry): Print ",AArch64" for
57790         FLAG_AARCH64_LIB64
57792         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57793         * elf/cache.c (print_entry): Print ",hard-float" for
57794         FLAG_ARM_LIBHF.
57796 2012-11-18  David S. Miller  <davem@davemloft.net>
57798         With help from Joseph Myers.
57799         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57800         cutoff to 2**-13.
57801         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57802         cutoff to 2**-25.
57803         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57804         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57805         small.
57806         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57807         * math/libm-test.inc (y0_test): New tests.
57808         (y1_test): New tests.
57809         * sysdeps/i386/fpu/libm-test-ulps: Update.
57810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57813 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57815         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57816         64-bit targets.
57817         * configure: Regenerated.
57819 2012-11-17  David S. Miller  <davem@davemloft.net>
57821         [BZ #14811]
57822         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57823         nonzero exponents with absolute value below 0x1p-128 to +/-
57824         0x1p-128.
57826 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57828         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57830         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57832         * posix/getconf-speclist.c: New file.
57833         * posix/posix-envs.def: Likewise.
57834         * posix/confstr.c (START_ENV_GROUP): New macro.
57835         (END_ENV_GROUP): Likewise.
57836         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57837         (KNOWN_PRESENT_ENV_STRING): Likewise.
57838         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57839         (UNKNOWN_ENVIRONMENT): Likewise.
57840         (confstr): Include posix-envs.def instead of handling
57841         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57842         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57843         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57844         (END_ENV_GROUP): Likewise.
57845         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57846         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57847         (UNKNOWN_ENVIRONMENT): Likewise.
57848         (__sysconf): Include posix-envs.def instead of handling associated
57849         cases directly here.
57850         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57851         preprocessing getconf-speclist.c rather than running getconf or
57852         generating empty file.
57854 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57856         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57858 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57860         [BZ #14672]
57861         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57863 2012-11-16  David S. Miller  <davem@davemloft.net>
57865         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57866         smaller than LDBL_EPSILON/2.0L, just return xm1.
57868 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57870         * elf/tst-array1.c (init): Set constructor priority to 1000.
57871         (fini): Set destructor priority to 1000.
57872         * elf/tst-array2dep.c: Likewise.
57874 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57876         [BZ #11741]
57877         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57878         (_IO_new_file_xsputn): Also return EOF if none of the input
57879         data was written when overflow failed.
57880         * libio/iopadn.c (_IO_padn): Likewise.
57881         * libio/iowpadn.c (_IO_wpadn): Likewise.
57882         * stdio-common/tst-put-error.c: Add copyright notice.
57883         (do_test): Add case for printing padded string.
57884         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57885         _IO_padn returned error.
57886         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57887         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57888         return EOF.
57890 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57892         * libio/libioP.h: Add comment note that the references to C++
57893         bits are now obsolete.
57895 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57897         * math/libm-test.inc (check_complex): Use asprintf.
57899 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57901         * debug/pcprofiledump.c (print_version): Update copyright year.
57902         * malloc/memusagestat.c (print_version): Likewise.
57904 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57906         [BZ #14831]
57907         * elf/Makefile (tests): Add tst-audit8.
57908         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57909         ($(objpfx)tst-audit8.out): New target.
57910         (tst-audit8-ENV): New variable.
57911         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57912         audit if l_reloc_result is NULL.
57913         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57914         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57915         * elf/tst-audit8.c: New file.
57917 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57919         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57920         * misc/Makefile (CFLAGS-select.c): Define.
57921         * posix/Makefile (CFLAGS-pause.c): Define.
57923 2012-11-13  David S. Miller  <davem@davemloft.net>
57925         * crypt/Makefile: Move test targets after toplevel Rules
57926         inclusion.  Grab any necessary sysdep routines when linking.
57927         * crypt/md5.c (md5_process_block): Remove define, we will always
57928         name it __md5_process_block.
57929         (md5_finish_ctx): Update md5_process_block call.
57930         (md5_stream): Likewise.
57931         (md5_process_bytes): Likewise.
57932         (md5_process_block): Rename to __md5_process_block and move to ...
57933         * crypt/md5-block.c: ... here.
57934         * crypt/sha256.c (sha256_process_block): Move to ...
57935         * crypt/sha256-block.c: ... here.
57936         * crypt/sha512.c (sha512_process_block): Move to ...
57937         * crypt/sha512-block.c: ... here.
57938         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57939         path.
57940         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57941         * sysdeps/sparc/sparc64/multiarch/Makefile
57942         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57943         crypt subdir.
57944         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57945         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57946         multiarch changes.
57947         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57948         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57949         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57950         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57951         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57952         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57953         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57954         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57955         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57956         file.
57957         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57958         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57959         file.
57960         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57962 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57964         * timezone/tzselect.ksh: Update from tzcode git revision
57965         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57966         * timezone/zdump.c: Likewise.
57967         * timezone/zic.c: Likewise.
57968         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57969         in TZVERSION setting, not $(PKGVERSION).
57970         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57971         REPORT_BUGS_TO settings.
57973         [BZ #14838]
57974         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57975         macro.
57977 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57979         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57980         detection to immediately after _FP_ROUND().
57981         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57982         bits are 0.
57984 2012-11-11  David S. Miller  <davem@davemloft.net>
57986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57987         inttypes.h
57988         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57989         __close rather than their public counterparts.
57991 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57993         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57994         file.
57995         [UNIX98] (sem_timedwait): Do not expect.
57996         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57997         [XPG4 || UNIX98] (sockatmark): Do not expect.
57998         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57999         (clock_getcpuclockid): Do not expect.
58000         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58001         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58002         Do not expect.
58003         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58004         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58005         [UNIX98] (vwscanf): Likewise.
58006         [UNIX98] (vswscanf): Likewise.
58008 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58010         * timezone/version.h: Remove file.
58011         * timezone/README: Do not refer to version.h.
58012         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58013         $(objpfx)version.h.
58014         ($(objpfx)zdump.o): Likewise.
58015         ($(objpfx)version.h): New target.
58017         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58018         2012i.
58019         * timezone/README: Don't mention modification to tzselect.ksh.
58020         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58021         work on unmodified tzselect.ksh.  Substitute version numbers in
58022         tzselect.ksh.
58024         * Makefile (format-me): Remove.
58025         (INSTALL): Adjust indentation.  Use commands directly instead of
58026         using $(format-me).
58028         * aclocal.m4 (ACX_PKGVERSION): New macro.
58029         (ACX_BUGURL): Likewise.
58030         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58031         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58032         (REPORT_BUGS_TO): Likewise.
58033         * configure: Regenerated.
58034         * config.h.in (PKGVERSION): New macro.
58035         (REPORT_BUGS_TO): Likewise.
58036         * config.make.in (PKGVERSION): New variable.
58037         (PKGVERSION_TEXI): Likewise.
58038         (REPORT_BUGS_TO): Likewise.
58039         (REPORT_BUGS_TEXI): Likewise.
58040         * Makefile (format-me): Use -I$(common-objpfx)manual.
58041         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58042         ($(common-objpfx)manual/%): New target.
58043         (manual/%): Remove target.
58044         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58045         (print_version): Use PKGVERSION.
58046         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58047         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58048         and REPORT_BUGS_TO.
58049         ($(objpfx)xtrace): Likewise.
58050         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58051         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58052         (print_version): Use PKGVERSION.
58053         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58054         (do_version): Use PKGVERSION.
58055         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58056         REPORT_BUGS_TO.
58057         (common-ldd-rewrite): Likewise.
58058         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58059         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58060         (print_version): Use PKGVERSION.
58061         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58062         * elf/pldd.c (argp_program_bug_address): Remove variable.
58063         (more_help): New function.
58064         (argp): Use more_help.
58065         (print_version): Use PKGVERSION.
58066         * elf/sln.c (main): Use PKGVERSION.
58067         (usage): Use REPORT_BUGS_TO.
58068         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58069         (top level): Use PKGVERSION.
58070         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58071         (print_version): Use PKGVERSION.
58072         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58073         (print_version): Use PKGVERSION.
58074         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58075         (print_version): Use PKGVERSION.
58076         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58077         (print_version): Use PKGVERSION.
58078         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58079         (print_version): Use PKGVERSION.
58080         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58081         (print_version): Use PKGVERSION.
58082         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58083         and BUGURL.
58084         ($(objpfx)memusage): Likewise.
58085         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58086         (do_version): Use PKGVERSION.
58087         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58088         (print_version): Use PKGVERSION.
58089         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58090         ($PKGVERSION): New variable.
58091         ($REPORT_BUGS_TO): Likewise.
58092         (usage): Use $REPORT_BUGS_TO.
58093         (top level): Use $PKGVERSION.
58094         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58095         ($(objpfx)pkgvers.texi): New rule.
58096         ($(objpfx)stamp-pkgvers): Likewise.
58097         * manual/install.texi: Include pkgvers.texi.
58098         (--with-pkgversion): Document new configure option.
58099         (--with-bugurl): Likewise.
58100         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58101         than necessarily for this particular distribution.  Use
58102         REPORT_BUGS_TO for where to report bugs.
58103         * INSTALL: Regenerated.
58104         * manual/libc.texinfo: Include pkgvers.texi.
58105         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58106         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58107         (print_version): Use PKGVERSION.
58108         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58109         (print_version): Use PKGVERSION.
58110         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58111         (print_version): Use PKGVERSION.
58112         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58113         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58114         macro.
58115         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58116         (print_version): Use PKGVERSION.
58117         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58118         (print_version): Use PKGVERSION.
58119         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58120         and PKGVERSION.
58122         * timezone/checktab.awk: Update from tzcode 2012i.
58123         * timezone/ialloc.c: Likewise.
58124         * timezone/private.h: Likewise.
58125         * timezone/scheck.c: Likewise.
58126         * timezone/tzfile.h: Likewise.
58127         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58128         (TZVERSION): Hardcode tzcode version number.
58129         * timezone/zdump.c: Update from tzcode 2012i.
58130         * timezone/zic.c: Likewise.
58131         * timezone/version.h: New file.
58132         * timezone/README: Describe version.h.  Update upstream location.
58134         [BZ #14824]
58135         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58136         (mktemp): Enable declaration.
58137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58141         Likewise.
58142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58143         Likewise.
58144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58145         Likewise.
58146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58147         Likewise.
58148         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58149         Likewise.
58150         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58151         Likewise.
58153         [BZ #14821]
58154         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58155         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58156         for copies of such integer values.
58157         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58158         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58160 2012-11-09  Andreas Jaeger  <aj@suse.de>
58162         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58163         definitions and declarations that are provided by
58164         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58166 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58168         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58169         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58170         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58171         definition.
58173 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58175         * elf/elf.h: Update comment before AArch64 relocations.
58177 2012-11-07  David S. Miller  <davem@davemloft.net>
58179         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58180         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58181         (__start_context): Declare.
58182         (__makecontext_ret): Delete.
58183         (__makecontext): Hook up __start_context instead of
58184         __makecontext_ret.
58185         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58186         (sysdep_routines): Add __start_context when in stdlib.
58188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58190         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58191         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58192         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58193         hardcoded "nm".
58194         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58195         (READELF): New variable.  Use it instead of hardcoded "readelf".
58197 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58199         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58200         * sysdeps/x86/Makefile: Here.
58201         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58202         * sysdeps/x86/tst-xmmymm.sh: This.
58204 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58206         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58207         expectations.
58208         [UNIX98] (pthread_barrier_t): Do not expect.
58209         [UNIX98] (pthread_barrierattr_t): Likewise.
58210         [UNIX98] (pthread_spinlock_t): Likewise.
58211         [UNIX98] (pthread_barrier_destroy): Likewise.
58212         [UNIX98] (pthread_barrier_init): Likewise.
58213         [UNIX98] (pthread_barrier_wait): Likewise.
58214         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58215         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58216         [UNIX98] (pthread_barrierattr_init): Likewise.
58217         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58218         [UNIX98] (pthread_getcpuclockid): Likewise.
58219         [UNIX98] (pthread_mutex_timedlock): Likewise.
58220         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58221         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58222         [UNIX98] (pthread_sigmask): Likewise.
58223         [UNIX98] (pthread_spin_destroy): Likewise.
58224         [UNIX98] (pthread_spin_init): Likewise.
58225         [UNIX98] (pthread_spin_lock): Likewise.
58226         [UNIX98] (pthread_spin_trylock): Likewise.
58227         [UNIX98] (pthread_spin_unlock): Likewise.
58228         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58229         Do not expect.
58230         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58231         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58232         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58233         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58234         [XPG3 || XPG4] (pthread_key_t): Likewise.
58235         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58236         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58237         [XPG3 || XPG4] (pthread_once_t): Likewise.
58238         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58239         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58240         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58241         [XPG3 || XPG4] (pthread_t): Likewise.
58243         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58244         not expect.
58245         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58247         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58248         Change function return type to int.
58250         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58251         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58252         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58253         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58254         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58255         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58256         [!POSIX] (posix_madvise): Likewise.
58257         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58258         && !UNIX98].
58259         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58260         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58261         (mode_t): Likewise.
58262         (posix_mem_offset): Likewise.
58263         (posix_typed_mem_get_info): Likewise.
58264         (posix_typed_mem_open): Likewise.
58266         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58267         Change condition to [XOPEN2K8].
58269         * conform/conformtest.pl: Preprocess allow-header data with -x c
58270         instead of from stdin.
58271         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58272         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58273         [C99-based standards] (cerfc): Likewise.
58274         [C99-based standards] (cexp2): Likewise.
58275         [C99-based standards] (cexpm1): Likewise.
58276         [C99-based standards] (clog10): Likewise.
58277         [C99-based standards] (clog1p): Likewise.
58278         [C99-based standards] (clog2): Likewise.
58279         [C99-based standards] (clgamma): Likewise.
58280         [C99-based standards] (ctgamma): Likewise.
58281         [C99-based standards] (cerff): Likewise.
58282         [C99-based standards] (cerfcf): Likewise.
58283         [C99-based standards] (cexp2f): Likewise.
58284         [C99-based standards] (cexpm1f): Likewise.
58285         [C99-based standards] (clog10f): Likewise.
58286         [C99-based standards] (clog1pf): Likewise.
58287         [C99-based standards] (clog2f): Likewise.
58288         [C99-based standards] (clgammaf): Likewise.
58289         [C99-based standards] (ctgammaf): Likewise.
58290         [C99-based standards] (cerfl): Likewise.
58291         [C99-based standards] (cerfcl): Likewise.
58292         [C99-based standards] (cexp2l): Likewise.
58293         [C99-based standards] (cexpm1l): Likewise.
58294         [C99-based standards] (clog10l): Likewise.
58295         [C99-based standards] (clog1pl): Likewise.
58296         [C99-based standards] (clog2l): Likewise.
58297         [C99-based standards] (clgammal): Likewise.
58298         [C99-based standards] (ctgammal): Likewise.
58299         * conform/data/inttypes.h-data [C99-based standards]: Include
58300         stdint.h-data.  Remove all expectations for stdint.h contents.
58301         [C99-based standards] (PRI*): Do not allow.
58302         [C99-based standards] (SCN*): Likewise.
58303         [C99-based standards] (*_t): Likewise.
58304         [C99-based-standards] (PRId8): Expect macro.
58305         [C99-based-standards] (PRIi8): Likewise.
58306         [C99-based-standards] (PRIo8): Likewise.
58307         [C99-based-standards] (PRIu8): Likewise.
58308         [C99-based-standards] (PRIx8): Likewise.
58309         [C99-based-standards] (PRIX8): Likewise.
58310         [C99-based-standards] (SCNd8): Likewise.
58311         [C99-based-standards] (SCNi8): Likewise.
58312         [C99-based-standards] (SCNo8): Likewise.
58313         [C99-based-standards] (SCNu8): Likewise.
58314         [C99-based-standards] (SCNx8): Likewise.
58315         [C99-based-standards] (PRIdLEAST8): Likewise.
58316         [C99-based-standards] (PRIiLEAST8): Likewise.
58317         [C99-based-standards] (PRIoLEAST8): Likewise.
58318         [C99-based-standards] (PRIuLEAST8): Likewise.
58319         [C99-based-standards] (PRIxLEAST8): Likewise.
58320         [C99-based-standards] (PRIXLEAST8): Likewise.
58321         [C99-based-standards] (SCNdLEAST8): Likewise.
58322         [C99-based-standards] (SCNiLEAST8): Likewise.
58323         [C99-based-standards] (SCNoLEAST8): Likewise.
58324         [C99-based-standards] (SCNuLEAST8): Likewise.
58325         [C99-based-standards] (SCNxLEAST8): Likewise.
58326         [C99-based-standards] (PRIdFAST8): Likewise.
58327         [C99-based-standards] (PRIiFAST8): Likewise.
58328         [C99-based-standards] (PRIoFAST8): Likewise.
58329         [C99-based-standards] (PRIuFAST8): Likewise.
58330         [C99-based-standards] (PRIxFAST8): Likewise.
58331         [C99-based-standards] (PRIXFAST8): Likewise.
58332         [C99-based-standards] (SCNdFAST8): Likewise.
58333         [C99-based-standards] (SCNiFAST8): Likewise.
58334         [C99-based-standards] (SCNoFAST8): Likewise.
58335         [C99-based-standards] (SCNuFAST8): Likewise.
58336         [C99-based-standards] (SCNxFAST8): Likewise.
58337         [C99-based-standards] (PRId16): Likewise.
58338         [C99-based-standards] (PRIi16): Likewise.
58339         [C99-based-standards] (PRIo16): Likewise.
58340         [C99-based-standards] (PRIu16): Likewise.
58341         [C99-based-standards] (PRIx16): Likewise.
58342         [C99-based-standards] (PRIX16): Likewise.
58343         [C99-based-standards] (SCNd16): Likewise.
58344         [C99-based-standards] (SCNi16): Likewise.
58345         [C99-based-standards] (SCNo16): Likewise.
58346         [C99-based-standards] (SCNu16): Likewise.
58347         [C99-based-standards] (SCNx16): Likewise.
58348         [C99-based-standards] (PRIdLEAST16): Likewise.
58349         [C99-based-standards] (PRIiLEAST16): Likewise.
58350         [C99-based-standards] (PRIoLEAST16): Likewise.
58351         [C99-based-standards] (PRIuLEAST16): Likewise.
58352         [C99-based-standards] (PRIxLEAST16): Likewise.
58353         [C99-based-standards] (PRIXLEAST16): Likewise.
58354         [C99-based-standards] (SCNdLEAST16): Likewise.
58355         [C99-based-standards] (SCNiLEAST16): Likewise.
58356         [C99-based-standards] (SCNoLEAST16): Likewise.
58357         [C99-based-standards] (SCNuLEAST16): Likewise.
58358         [C99-based-standards] (SCNxLEAST16): Likewise.
58359         [C99-based-standards] (PRIdFAST16): Likewise.
58360         [C99-based-standards] (PRIiFAST16): Likewise.
58361         [C99-based-standards] (PRIoFAST16): Likewise.
58362         [C99-based-standards] (PRIuFAST16): Likewise.
58363         [C99-based-standards] (PRIxFAST16): Likewise.
58364         [C99-based-standards] (PRIXFAST16): Likewise.
58365         [C99-based-standards] (SCNdFAST16): Likewise.
58366         [C99-based-standards] (SCNiFAST16): Likewise.
58367         [C99-based-standards] (SCNoFAST16): Likewise.
58368         [C99-based-standards] (SCNuFAST16): Likewise.
58369         [C99-based-standards] (SCNxFAST16): Likewise.
58370         [C99-based-standards] (PRId32): Likewise.
58371         [C99-based-standards] (PRIi32): Likewise.
58372         [C99-based-standards] (PRIo32): Likewise.
58373         [C99-based-standards] (PRIu32): Likewise.
58374         [C99-based-standards] (PRIx32): Likewise.
58375         [C99-based-standards] (PRIX32): Likewise.
58376         [C99-based-standards] (SCNd32): Likewise.
58377         [C99-based-standards] (SCNi32): Likewise.
58378         [C99-based-standards] (SCNo32): Likewise.
58379         [C99-based-standards] (SCNu32): Likewise.
58380         [C99-based-standards] (SCNx32): Likewise.
58381         [C99-based-standards] (PRIdLEAST32): Likewise.
58382         [C99-based-standards] (PRIiLEAST32): Likewise.
58383         [C99-based-standards] (PRIoLEAST32): Likewise.
58384         [C99-based-standards] (PRIuLEAST32): Likewise.
58385         [C99-based-standards] (PRIxLEAST32): Likewise.
58386         [C99-based-standards] (PRIXLEAST32): Likewise.
58387         [C99-based-standards] (SCNdLEAST32): Likewise.
58388         [C99-based-standards] (SCNiLEAST32): Likewise.
58389         [C99-based-standards] (SCNoLEAST32): Likewise.
58390         [C99-based-standards] (SCNuLEAST32): Likewise.
58391         [C99-based-standards] (SCNxLEAST32): Likewise.
58392         [C99-based-standards] (PRIdFAST32): Likewise.
58393         [C99-based-standards] (PRIiFAST32): Likewise.
58394         [C99-based-standards] (PRIoFAST32): Likewise.
58395         [C99-based-standards] (PRIuFAST32): Likewise.
58396         [C99-based-standards] (PRIxFAST32): Likewise.
58397         [C99-based-standards] (PRIXFAST32): Likewise.
58398         [C99-based-standards] (SCNdFAST32): Likewise.
58399         [C99-based-standards] (SCNiFAST32): Likewise.
58400         [C99-based-standards] (SCNoFAST32): Likewise.
58401         [C99-based-standards] (SCNuFAST32): Likewise.
58402         [C99-based-standards] (SCNxFAST32): Likewise.
58403         [C99-based-standards] (PRId64): Likewise.
58404         [C99-based-standards] (PRIi64): Likewise.
58405         [C99-based-standards] (PRIo64): Likewise.
58406         [C99-based-standards] (PRIu64): Likewise.
58407         [C99-based-standards] (PRIx64): Likewise.
58408         [C99-based-standards] (PRIX64): Likewise.
58409         [C99-based-standards] (SCNd64): Likewise.
58410         [C99-based-standards] (SCNi64): Likewise.
58411         [C99-based-standards] (SCNo64): Likewise.
58412         [C99-based-standards] (SCNu64): Likewise.
58413         [C99-based-standards] (SCNx64): Likewise.
58414         [C99-based-standards] (PRIdLEAST64): Likewise.
58415         [C99-based-standards] (PRIiLEAST64): Likewise.
58416         [C99-based-standards] (PRIoLEAST64): Likewise.
58417         [C99-based-standards] (PRIuLEAST64): Likewise.
58418         [C99-based-standards] (PRIxLEAST64): Likewise.
58419         [C99-based-standards] (PRIXLEAST64): Likewise.
58420         [C99-based-standards] (SCNdLEAST64): Likewise.
58421         [C99-based-standards] (SCNiLEAST64): Likewise.
58422         [C99-based-standards] (SCNoLEAST64): Likewise.
58423         [C99-based-standards] (SCNuLEAST64): Likewise.
58424         [C99-based-standards] (SCNxLEAST64): Likewise.
58425         [C99-based-standards] (PRIdFAST64): Likewise.
58426         [C99-based-standards] (PRIiFAST64): Likewise.
58427         [C99-based-standards] (PRIoFAST64): Likewise.
58428         [C99-based-standards] (PRIuFAST64): Likewise.
58429         [C99-based-standards] (PRIxFAST64): Likewise.
58430         [C99-based-standards] (PRIXFAST64): Likewise.
58431         [C99-based-standards] (SCNdFAST64): Likewise.
58432         [C99-based-standards] (SCNiFAST64): Likewise.
58433         [C99-based-standards] (SCNoFAST64): Likewise.
58434         [C99-based-standards] (SCNuFAST64): Likewise.
58435         [C99-based-standards] (SCNxFAST64): Likewise.
58436         [C99-based-standards] (PRIdMAX): Likewise.
58437         [C99-based-standards] (PRIiMAX): Likewise.
58438         [C99-based-standards] (PRIoMAX): Likewise.
58439         [C99-based-standards] (PRIuMAX): Likewise.
58440         [C99-based-standards] (PRIxMAX): Likewise.
58441         [C99-based-standards] (PRIXMAX): Likewise.
58442         [C99-based-standards] (SCNdMAX): Likewise.
58443         [C99-based-standards] (SCNiMAX): Likewise.
58444         [C99-based-standards] (SCNoMAX): Likewise.
58445         [C99-based-standards] (SCNuMAX): Likewise.
58446         [C99-based-standards] (SCNxMAX): Likewise.
58447         [C99-based-standards] (PRIdPTR): Likewise.
58448         [C99-based-standards] (PRIiPTR): Likewise.
58449         [C99-based-standards] (PRIoPTR): Likewise.
58450         [C99-based-standards] (PRIuPTR): Likewise.
58451         [C99-based-standards] (PRIxPTR): Likewise.
58452         [C99-based-standards] (PRIXPTR): Likewise.
58453         [C99-based-standards] (SCNdPTR): Likewise.
58454         [C99-based-standards] (SCNiPTR): Likewise.
58455         [C99-based-standards] (SCNoPTR): Likewise.
58456         [C99-based-standards] (SCNuPTR): Likewise.
58457         [C99-based-standards] (SCNxPTR): Likewise.
58458         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58459         allow.
58460         * conform/data/stdint.h-data: Update comments to clarify
58461         requirements.
58462         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58463         type.
58464         [C99-based standards] (INT8_MAX): Likewise.
58465         [C99-based standards] (INT16_MIN): Likewise.
58466         [C99-based standards] (INT16_MAX): Likewise.
58467         [C99-based standards] (INT32_MIN): Likewise.
58468         [C99-based standards] (INT32_MAX): Likewise.
58469         [C99-based standards] (INT64_MIN): Likewise.
58470         [C99-based standards] (INT64_MAX): Likewise.
58471         [C99-based standards] (UINT8_MAX): Likewise.
58472         [C99-based standards] (UINT16_MAX): Likewise.
58473         [C99-based standards] (UINT32_MAX): Likewise.
58474         [C99-based standards] (UINT64_MAX): Likewise.
58475         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58476         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58477         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58478         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58479         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58480         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58481         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58482         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58483         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58484         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58485         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58486         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58487         [C99-based standards] (INT_FAST8_MIN): Likewise.
58488         [C99-based standards] (INT_FAST8_MAX): Likewise.
58489         [C99-based standards] (INT_FAST16_MIN): Likewise.
58490         [C99-based standards] (INT_FAST16_MAX): Likewise.
58491         [C99-based standards] (INT_FAST32_MIN): Likewise.
58492         [C99-based standards] (INT_FAST32_MAX): Likewise.
58493         [C99-based standards] (INT_FAST64_MIN): Likewise.
58494         [C99-based standards] (INT_FAST64_MAX): Likewise.
58495         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58496         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58497         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58498         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58499         [C99-based standards] (INTPTR_MIN): Likewise.
58500         [C99-based standards] (INTPTR_MAX): Likewise.
58501         [C99-based standards] (UINTPTR_MAX): Likewise.
58502         [C99-based standards] (INTMAX_MIN): Likewise.
58503         [C99-based standards] (INTMAX_MAX): Likewise.
58504         [C99-based standards] (UINTMAX_MAX): Likewise.
58505         [C99-based standards] (PTRDIFF_MIN): Likewise.
58506         [C99-based standards] (PTRDIFF_MAX): Likewise.
58507         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58508         [C99-based standards] (SIZE_MAX): Likewise.
58509         [C99-based standards] (WCHAR_MAX): Likewise.
58510         [C99-based standards] (WINT_MAX): Likewise.
58511         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58512         constraint on value.
58513         [C99-based standards] (WCHAR_MIN): Likewise.
58514         [C99-based standards] (WINT_MIN): Likewise.
58515         [C99-based standards] (*_t): Allow.
58516         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58517         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58518         Include math.h-data and complex.h-data.  Remove all expectations
58519         of math.h and complex.h contents.
58520         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58521         at end of line.
58522         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58523         (struct tm): Expect tag.
58524         [C99-based-standards] (wcstof): Expect function.
58525         [C99-based-standards] (wcstold): Likewise.
58526         [C99-based-standards] (wcstoll): Likewise.
58527         [C99-based-standards] (wcstoull): Likewise.
58528         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58529         macro-int-constant.  Specify type.
58530         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58531         constraint on value.
58532         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58533         Specify type.
58534         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58535         Specify value.
58536         [ISO C standards]: Do not allow headers.
58537         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58538         wcs[abcdefghijklmnopqrstuvwxyz]*.
58539         [ISO C standards] (*_t): Do not allow.
58540         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58541         Expect function.
58542         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58543         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58544         Specify type.
58545         [ISO C standards]: Do not allow headers.
58546         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58547         is[abcdefghijklmnopqrstuvwxyz]*.
58548         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58549         to[abcdefghijklmnopqrstuvwxyz]*.
58550         [ISO C standards] (*_t): Do not allow.
58551         * conform/data/stdalign.h-data: New file.
58552         * conform/data/stdbool.h-data: Likewise.
58553         * conform/data/stdnoreturn.h-data: Likewise.
58555 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58557         [BZ #14815]
58558         * manual/filesys.texi (Directory Entries): Typo fix.
58559         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58561 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58563         * elf/elf.h (EM_AARCH64): New macro.
58564         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58565         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58566         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58567         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58568         (R_AARCH64_TLSDESC): Likewise.
58569         (NT_ARM_TLS): Likewise.
58570         (NT_ARM_HW_BREAK): Likewise.
58571         (NT_ARM_HW_WATCH): Likewise.
58573 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58575         [BZ #14811]
58576         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58577         (__ieee754_powl): Saturate nonzero exponents with absolute value
58578         below 0x1p-79 to +/- 0x1p-79.
58579         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58580         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58581         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58582         nonzero exponents with absolute value below 0x1p-32 to +/-
58583         0x1p-32.
58584         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58585         (__ieee754_powl): Saturate nonzero exponents with absolute value
58586         below 0x1p-79 to +/- 0x1p-79.
58587         * math/libm-test.inc (pow_test): Add more tests.
58589 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58591         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58592         _dl_s390_cap_flags with kernel. Increase string length.
58593         (_dl_s390_platforms): Add z196 and zEC12.
58595 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58597         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58598         Change XOPEN21K to XOPEN2K.
58600 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58602         * string/memmove.c: Use memcpy when possible.
58604 2012-11-06  Andreas Jaeger  <aj@suse.de>
58606         * po/eo.po: Update from translation team.
58608 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58610         [BZ #14793]
58611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58612         exponent and small x and y exponents, scale x or y up.  Increase
58613         by 2 the exponent used in scaling up.
58614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58616         * math/libm-test.inc (fma_test): Add more tests.
58617         (fma_test_towardzero): Likewise.
58618         (fma_test_downward): Likewise.
58619         (fma_test_upward): Likewise.
58621 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58623         [BZ #14805]
58624         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58625         fenv_t *.
58627         [BZ #14801]
58628         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58629         namespace for names of struct fields.
58630         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58631         fenv_t fields.
58632         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58633         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58635 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58637         [BZ #3665]
58638         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58640 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58642         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58643         PTR_DEMANGLE.
58645         [BZ #5246]
58646         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58647         PTR_DEMANGLE.
58649 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58651         [BZ #14797]
58652         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58653         definitely overflow as x * y not x * y + z.
58654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58656         * math/libm-test.inc (fma_test): Add more tests.
58657         (fma_test_towardzero): Likewise.
58658         (fma_test_downward): Likewise.
58659         (fma_test_upward): Likewise.
58661 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58663         [BZ #157]
58665         * include/stub-tag.h: Remove file.
58666         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58667         '#include' of it.
58668         * manual/maint.texi (Porting): Don't reference it.
58669         * Makerules ($(objpfx)stubs): Likewise.
58670         * dirent/closedir.c: Don't include <stub-tag.h>.
58671         * dirent/dirfd.c: Likewise.
58672         * dirent/fdopendir.c: Likewise.
58673         * dirent/getdents.c: Likewise.
58674         * dirent/getdents64.c: Likewise.
58675         * dirent/opendir.c: Likewise.
58676         * dirent/readdir.c: Likewise.
58677         * dirent/readdir64.c: Likewise.
58678         * dirent/readdir64_r.c: Likewise.
58679         * dirent/readdir_r.c: Likewise.
58680         * dirent/rewinddir.c: Likewise.
58681         * dirent/seekdir.c: Likewise.
58682         * dirent/telldir.c: Likewise.
58683         * gmon/profil.c: Likewise.
58684         * grp/setgroups.c: Likewise.
58685         * inet/if_index.c: Likewise.
58686         * io/access.c: Likewise.
58687         * io/chdir.c: Likewise.
58688         * io/chmod.c: Likewise.
58689         * io/chown.c: Likewise.
58690         * io/close.c: Likewise.
58691         * io/dup.c: Likewise.
58692         * io/dup2.c: Likewise.
58693         * io/dup3.c: Likewise.
58694         * io/euidaccess.c: Likewise.
58695         * io/faccessat.c: Likewise.
58696         * io/fchdir.c: Likewise.
58697         * io/fchmod.c: Likewise.
58698         * io/fchmodat.c: Likewise.
58699         * io/fchown.c: Likewise.
58700         * io/fchownat.c: Likewise.
58701         * io/fcntl.c: Likewise.
58702         * io/flock.c: Likewise.
58703         * io/fstatfs.c: Likewise.
58704         * io/fstatfs64.c: Likewise.
58705         * io/fstatvfs.c: Likewise.
58706         * io/fstatvfs64.c: Likewise.
58707         * io/futimens.c: Likewise.
58708         * io/fxstat.c: Likewise.
58709         * io/fxstat64.c: Likewise.
58710         * io/fxstatat.c: Likewise.
58711         * io/fxstatat64.c: Likewise.
58712         * io/getcwd.c: Likewise.
58713         * io/isatty.c: Likewise.
58714         * io/lchmod.c: Likewise.
58715         * io/lchown.c: Likewise.
58716         * io/link.c: Likewise.
58717         * io/linkat.c: Likewise.
58718         * io/lseek.c: Likewise.
58719         * io/lseek64.c: Likewise.
58720         * io/lxstat64.c: Likewise.
58721         * io/mkdir.c: Likewise.
58722         * io/mkdirat.c: Likewise.
58723         * io/mkfifo.c: Likewise.
58724         * io/mkfifoat.c: Likewise.
58725         * io/open.c: Likewise.
58726         * io/open64.c: Likewise.
58727         * io/openat.c: Likewise.
58728         * io/openat64.c: Likewise.
58729         * io/pipe.c: Likewise.
58730         * io/pipe2.c: Likewise.
58731         * io/poll.c: Likewise.
58732         * io/posix_fadvise.c: Likewise.
58733         * io/posix_fadvise64.c: Likewise.
58734         * io/posix_fallocate.c: Likewise.
58735         * io/posix_fallocate64.c: Likewise.
58736         * io/read.c: Likewise.
58737         * io/readlink.c: Likewise.
58738         * io/readlinkat.c: Likewise.
58739         * io/rmdir.c: Likewise.
58740         * io/sendfile.c: Likewise.
58741         * io/sendfile64.c: Likewise.
58742         * io/statfs.c: Likewise.
58743         * io/statfs64.c: Likewise.
58744         * io/statvfs.c: Likewise.
58745         * io/statvfs64.c: Likewise.
58746         * io/symlink.c: Likewise.
58747         * io/symlinkat.c: Likewise.
58748         * io/ttyname.c: Likewise.
58749         * io/ttyname_r.c: Likewise.
58750         * io/umask.c: Likewise.
58751         * io/unlink.c: Likewise.
58752         * io/unlinkat.c: Likewise.
58753         * io/utime.c: Likewise.
58754         * io/utimensat.c: Likewise.
58755         * io/write.c: Likewise.
58756         * io/xmknod.c: Likewise.
58757         * io/xmknodat.c: Likewise.
58758         * io/xstat.c: Likewise.
58759         * io/xstat64.c: Likewise.
58760         * login/getpt.c: Likewise.
58761         * login/grantpt.c: Likewise.
58762         * login/unlockpt.c: Likewise.
58763         * math/e_acoshl.c: Likewise.
58764         * math/e_acosl.c: Likewise.
58765         * math/e_asinl.c: Likewise.
58766         * math/e_atan2l.c: Likewise.
58767         * math/e_atanhl.c: Likewise.
58768         * math/e_coshl.c: Likewise.
58769         * math/e_expl.c: Likewise.
58770         * math/e_fmodl.c: Likewise.
58771         * math/e_gammal_r.c: Likewise.
58772         * math/e_hypotl.c: Likewise.
58773         * math/e_j0l.c: Likewise.
58774         * math/e_j1l.c: Likewise.
58775         * math/e_jnl.c: Likewise.
58776         * math/e_lgammal_r.c: Likewise.
58777         * math/e_log10l.c: Likewise.
58778         * math/e_log2l.c: Likewise.
58779         * math/e_logl.c: Likewise.
58780         * math/e_powl.c: Likewise.
58781         * math/e_rem_pio2l.c: Likewise.
58782         * math/e_sinhl.c: Likewise.
58783         * math/e_sqrtl.c: Likewise.
58784         * math/fclrexcpt.c: Likewise.
58785         * math/fedisblxcpt.c: Likewise.
58786         * math/feenablxcpt.c: Likewise.
58787         * math/fegetenv.c: Likewise.
58788         * math/fegetexcept.c: Likewise.
58789         * math/fegetround.c: Likewise.
58790         * math/feholdexcpt.c: Likewise.
58791         * math/fesetenv.c: Likewise.
58792         * math/fesetround.c: Likewise.
58793         * math/feupdateenv.c: Likewise.
58794         * math/fgetexcptflg.c: Likewise.
58795         * math/fraiseexcpt.c: Likewise.
58796         * math/fsetexcptflg.c: Likewise.
58797         * math/ftestexcept.c: Likewise.
58798         * math/k_cosl.c: Likewise.
58799         * math/k_rem_pio2l.c: Likewise.
58800         * math/k_sinl.c: Likewise.
58801         * math/k_tanl.c: Likewise.
58802         * math/s_asinhl.c: Likewise.
58803         * math/s_atanl.c: Likewise.
58804         * math/s_cbrtl.c: Likewise.
58805         * math/s_erfl.c: Likewise.
58806         * math/s_expm1l.c: Likewise.
58807         * math/s_log1pl.c: Likewise.
58808         * math/s_tanhl.c: Likewise.
58809         * misc/acct.c: Likewise.
58810         * misc/brk.c: Likewise.
58811         * misc/chflags.c: Likewise.
58812         * misc/chroot.c: Likewise.
58813         * misc/fchflags.c: Likewise.
58814         * misc/fgetxattr.c: Likewise.
58815         * misc/flistxattr.c: Likewise.
58816         * misc/fremovexattr.c: Likewise.
58817         * misc/fsetxattr.c: Likewise.
58818         * misc/fsync.c: Likewise.
58819         * misc/ftruncate.c: Likewise.
58820         * misc/futimes.c: Likewise.
58821         * misc/futimesat.c: Likewise.
58822         * misc/getdomain.c: Likewise.
58823         * misc/getdtsz.c: Likewise.
58824         * misc/gethostid.c: Likewise.
58825         * misc/gethostname.c: Likewise.
58826         * misc/getloadavg.c: Likewise.
58827         * misc/getpagesize.c: Likewise.
58828         * misc/getsysstats.c: Likewise.
58829         * misc/getxattr.c: Likewise.
58830         * misc/gtty.c: Likewise.
58831         * misc/ioctl.c: Likewise.
58832         * misc/lgetxattr.c: Likewise.
58833         * misc/listxattr.c: Likewise.
58834         * misc/llistxattr.c: Likewise.
58835         * misc/lremovexattr.c: Likewise.
58836         * misc/lsetxattr.c: Likewise.
58837         * misc/lutimes.c: Likewise.
58838         * misc/madvise.c: Likewise.
58839         * misc/mincore.c: Likewise.
58840         * misc/mlock.c: Likewise.
58841         * misc/mlockall.c: Likewise.
58842         * misc/mmap.c: Likewise.
58843         * misc/mprotect.c: Likewise.
58844         * misc/msync.c: Likewise.
58845         * misc/munlock.c: Likewise.
58846         * misc/munlockall.c: Likewise.
58847         * misc/munmap.c: Likewise.
58848         * misc/preadv.c: Likewise.
58849         * misc/preadv64.c: Likewise.
58850         * misc/ptrace.c: Likewise.
58851         * misc/pwritev.c: Likewise.
58852         * misc/pwritev64.c: Likewise.
58853         * misc/readv.c: Likewise.
58854         * misc/reboot.c: Likewise.
58855         * misc/remap_file_pages.c: Likewise.
58856         * misc/removexattr.c: Likewise.
58857         * misc/revoke.c: Likewise.
58858         * misc/select.c: Likewise.
58859         * misc/setdomain.c: Likewise.
58860         * misc/setegid.c: Likewise.
58861         * misc/seteuid.c: Likewise.
58862         * misc/sethostid.c: Likewise.
58863         * misc/sethostname.c: Likewise.
58864         * misc/setregid.c: Likewise.
58865         * misc/setreuid.c: Likewise.
58866         * misc/setxattr.c: Likewise.
58867         * misc/sstk.c: Likewise.
58868         * misc/stty.c: Likewise.
58869         * misc/swapoff.c: Likewise.
58870         * misc/swapon.c: Likewise.
58871         * misc/sync.c: Likewise.
58872         * misc/syncfs.c: Likewise.
58873         * misc/syscall.c: Likewise.
58874         * misc/truncate.c: Likewise.
58875         * misc/ualarm.c: Likewise.
58876         * misc/usleep.c: Likewise.
58877         * misc/ustat.c: Likewise.
58878         * misc/utimes.c: Likewise.
58879         * misc/vhangup.c: Likewise.
58880         * misc/writev.c: Likewise.
58881         * posix/_exit.c: Likewise.
58882         * posix/alarm.c: Likewise.
58883         * posix/execve.c: Likewise.
58884         * posix/fexecve.c: Likewise.
58885         * posix/fork.c: Likewise.
58886         * posix/fpathconf.c: Likewise.
58887         * posix/getaddrinfo.c: Likewise.
58888         * posix/getegid.c: Likewise.
58889         * posix/geteuid.c: Likewise.
58890         * posix/getgid.c: Likewise.
58891         * posix/getgroups.c: Likewise.
58892         * posix/getlogin.c: Likewise.
58893         * posix/getlogin_r.c: Likewise.
58894         * posix/getpgid.c: Likewise.
58895         * posix/getpid.c: Likewise.
58896         * posix/getppid.c: Likewise.
58897         * posix/getresgid.c: Likewise.
58898         * posix/getresuid.c: Likewise.
58899         * posix/getsid.c: Likewise.
58900         * posix/getuid.c: Likewise.
58901         * posix/glob64.c: Likewise.
58902         * posix/nanosleep.c: Likewise.
58903         * posix/pathconf.c: Likewise.
58904         * posix/pause.c: Likewise.
58905         * posix/posix_madvise.c: Likewise.
58906         * posix/pread.c: Likewise.
58907         * posix/pread64.c: Likewise.
58908         * posix/pwrite.c: Likewise.
58909         * posix/pwrite64.c: Likewise.
58910         * posix/sched_getaffinity.c: Likewise.
58911         * posix/sched_getp.c: Likewise.
58912         * posix/sched_gets.c: Likewise.
58913         * posix/sched_primax.c: Likewise.
58914         * posix/sched_primin.c: Likewise.
58915         * posix/sched_rr_gi.c: Likewise.
58916         * posix/sched_setaffinity.c: Likewise.
58917         * posix/sched_setp.c: Likewise.
58918         * posix/sched_sets.c: Likewise.
58919         * posix/sched_yield.c: Likewise.
58920         * posix/setgid.c: Likewise.
58921         * posix/setlogin.c: Likewise.
58922         * posix/setpgid.c: Likewise.
58923         * posix/setresgid.c: Likewise.
58924         * posix/setresuid.c: Likewise.
58925         * posix/setsid.c: Likewise.
58926         * posix/setuid.c: Likewise.
58927         * posix/sleep.c: Likewise.
58928         * posix/spawni.c: Likewise.
58929         * posix/sysconf.c: Likewise.
58930         * posix/times.c: Likewise.
58931         * posix/wait.c: Likewise.
58932         * posix/wait3.c: Likewise.
58933         * posix/wait4.c: Likewise.
58934         * posix/waitpid.c: Likewise.
58935         * resolv/gai_sigqueue.c: Likewise.
58936         * resource/getpriority.c: Likewise.
58937         * resource/getrlimit.c: Likewise.
58938         * resource/getrusage.c: Likewise.
58939         * resource/nice.c: Likewise.
58940         * resource/setpriority.c: Likewise.
58941         * resource/setrlimit.c: Likewise.
58942         * resource/ulimit.c: Likewise.
58943         * rt/aio_cancel.c: Likewise.
58944         * rt/aio_fsync.c: Likewise.
58945         * rt/aio_read.c: Likewise.
58946         * rt/aio_sigqueue.c: Likewise.
58947         * rt/aio_suspend.c: Likewise.
58948         * rt/aio_write.c: Likewise.
58949         * rt/clock_getres.c: Likewise.
58950         * rt/clock_gettime.c: Likewise.
58951         * rt/clock_nanosleep.c: Likewise.
58952         * rt/clock_settime.c: Likewise.
58953         * rt/lio_listio.c: Likewise.
58954         * rt/mq_close.c: Likewise.
58955         * rt/mq_getattr.c: Likewise.
58956         * rt/mq_notify.c: Likewise.
58957         * rt/mq_open.c: Likewise.
58958         * rt/mq_receive.c: Likewise.
58959         * rt/mq_send.c: Likewise.
58960         * rt/mq_setattr.c: Likewise.
58961         * rt/mq_timedreceive.c: Likewise.
58962         * rt/mq_timedsend.c: Likewise.
58963         * rt/mq_unlink.c: Likewise.
58964         * rt/shm_open.c: Likewise.
58965         * rt/shm_unlink.c: Likewise.
58966         * rt/timer_create.c: Likewise.
58967         * rt/timer_delete.c: Likewise.
58968         * rt/timer_getoverr.c: Likewise.
58969         * rt/timer_gettime.c: Likewise.
58970         * rt/timer_settime.c: Likewise.
58971         * setjmp/__longjmp.c: Likewise.
58972         * setjmp/setjmp.c: Likewise.
58973         * signal/kill.c: Likewise.
58974         * signal/killpg.c: Likewise.
58975         * signal/raise.c: Likewise.
58976         * signal/sigaction.c: Likewise.
58977         * signal/sigaltstack.c: Likewise.
58978         * signal/sigblock.c: Likewise.
58979         * signal/sigignore.c: Likewise.
58980         * signal/sigintr.c: Likewise.
58981         * signal/signal.c: Likewise.
58982         * signal/sigpause.c: Likewise.
58983         * signal/sigpending.c: Likewise.
58984         * signal/sigqueue.c: Likewise.
58985         * signal/sigreturn.c: Likewise.
58986         * signal/sigset.c: Likewise.
58987         * signal/sigsetmask.c: Likewise.
58988         * signal/sigstack.c: Likewise.
58989         * signal/sigsuspend.c: Likewise.
58990         * signal/sigtimedwait.c: Likewise.
58991         * signal/sigvec.c: Likewise.
58992         * signal/sigwait.c: Likewise.
58993         * signal/sigwaitinfo.c: Likewise.
58994         * signal/sysv_signal.c: Likewise.
58995         * socket/accept.c: Likewise.
58996         * socket/accept4.c: Likewise.
58997         * socket/bind.c: Likewise.
58998         * socket/connect.c: Likewise.
58999         * socket/getpeername.c: Likewise.
59000         * socket/getsockname.c: Likewise.
59001         * socket/getsockopt.c: Likewise.
59002         * socket/isfdtype.c: Likewise.
59003         * socket/listen.c: Likewise.
59004         * socket/recv.c: Likewise.
59005         * socket/recvfrom.c: Likewise.
59006         * socket/recvmsg.c: Likewise.
59007         * socket/send.c: Likewise.
59008         * socket/sendmsg.c: Likewise.
59009         * socket/sendto.c: Likewise.
59010         * socket/setsockopt.c: Likewise.
59011         * socket/shutdown.c: Likewise.
59012         * socket/sockatmark.c: Likewise.
59013         * socket/socket.c: Likewise.
59014         * socket/socketpair.c: Likewise.
59015         * stdio-common/ctermid.c: Likewise.
59016         * stdio-common/cuserid.c: Likewise.
59017         * stdio-common/remove.c: Likewise.
59018         * stdio-common/rename.c: Likewise.
59019         * stdio-common/renameat.c: Likewise.
59020         * stdio-common/tempname.c: Likewise.
59021         * stdlib/getcontext.c: Likewise.
59022         * stdlib/makecontext.c: Likewise.
59023         * stdlib/setcontext.c: Likewise.
59024         * stdlib/swapcontext.c: Likewise.
59025         * stdlib/system.c: Likewise.
59026         * streams/fattach.c: Likewise.
59027         * streams/fdetach.c: Likewise.
59028         * streams/getmsg.c: Likewise.
59029         * streams/getpmsg.c: Likewise.
59030         * streams/putmsg.c: Likewise.
59031         * streams/putpmsg.c: Likewise.
59032         * sysdeps/unix/bsd/getpt.c: Likewise.
59033         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59034         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59035         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59037         Likewise.
59038         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59039         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59040         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59041         * sysvipc/msgctl.c: Likewise.
59042         * sysvipc/msgget.c: Likewise.
59043         * sysvipc/msgrcv.c: Likewise.
59044         * sysvipc/msgsnd.c: Likewise.
59045         * sysvipc/semctl.c: Likewise.
59046         * sysvipc/semget.c: Likewise.
59047         * sysvipc/semop.c: Likewise.
59048         * sysvipc/semtimedop.c: Likewise.
59049         * sysvipc/shmat.c: Likewise.
59050         * sysvipc/shmctl.c: Likewise.
59051         * sysvipc/shmdt.c: Likewise.
59052         * sysvipc/shmget.c: Likewise.
59053         * termios/tcdrain.c: Likewise.
59054         * termios/tcflow.c: Likewise.
59055         * termios/tcflush.c: Likewise.
59056         * termios/tcgetattr.c: Likewise.
59057         * termios/tcgetpgrp.c: Likewise.
59058         * termios/tcsendbrk.c: Likewise.
59059         * termios/tcsetattr.c: Likewise.
59060         * termios/tcsetpgrp.c: Likewise.
59061         * time/adjtime.c: Likewise.
59062         * time/clock.c: Likewise.
59063         * time/getitimer.c: Likewise.
59064         * time/gettimeofday.c: Likewise.
59065         * time/setitimer.c: Likewise.
59066         * time/settimeofday.c: Likewise.
59067         * time/stime.c: Likewise.
59068         * time/time.c: Likewise.
59070 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59072         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59073         /usr/old/bin.
59075         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59076         instead of spaces.
59077         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59079 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59081         [BZ #14796]
59082         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59083         FE_TONEAREST before applying Dekker multiplication and Knuth
59084         addition.  Clear inexact exceptions and check for exact zero
59085         results afterwards.
59086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59087         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59089         * math/libm-test.inc (fma_test): Add more tests.
59090         (fma_test_towardzero): Likewise.
59091         (fma_test_downward): Likewise.
59092         (fma_test_upward): Likewise.
59093         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59094         function.
59095         (libc_fesetround): New macro.
59096         (libc_fesetroundf): Likewise.
59097         (libc_fesetroundl): Likewise.
59098         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59099         function.
59100         (libc_fesetround_387): Likewise.
59101         (libc_fesetroundf): New macro.
59102         (libc_fesetround): Likewise.
59103         (libc_fesetroundl): Likewise.
59104         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59105         function.
59106         (libc_fesetroundf): New macro.
59107         (libc_fesetround): Likewise.
59108         (libc_fesetroundl): Likewise.
59109         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59110         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59111         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59112         libm_hidden_ver.
59113         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59114         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59115         libm_hidden_def.
59116         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59117         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59118         libm_hidden_ver.
59119         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59120         libm_hidden_def.
59122         [BZ #3439]
59123         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59124         integer constant usable in #if and use that to give value to enum
59125         constant.
59126         (FE_DIVBYZERO): Likewise.
59127         (FE_UNDERFLOW): Likewise.
59128         (FE_OVERFLOW): Likewise.
59129         (FE_INVALID): Likewise.
59130         (FE_INVALID_SNAN): Likewise.
59131         (FE_INVALID_ISI): Likewise.
59132         (FE_INVALID_IDI): Likewise.
59133         (FE_INVALID_ZDZ): Likewise.
59134         (FE_INVALID_IMZ): Likewise.
59135         (FE_INVALID_COMPARE): Likewise.
59136         (FE_INVALID_SOFTWARE): Likewise.
59137         (FE_INVALID_SQRT): Likewise.
59138         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59139         (FE_TONEAREST): Likewise.
59140         (FE_TOWARDZERO): Likewise.
59141         (FE_UPWARD): Likewise.
59142         (FE_DOWNWARD): Likewise.
59143         * sysdeps/s390/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.
59152         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59153         (FE_UNDERFLOW): Likewise.
59154         (FE_OVERFLOW): Likewise.
59155         (FE_DIVBYZERO): Likewise.
59156         (FE_INVALID): Likewise.
59157         (FE_TONEAREST): Likewise.
59158         (FE_TOWARDZERO): Likewise.
59159         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59160         (FE_OVERFLOW): Likewise.
59161         (FE_UNDERFLOW): Likewise.
59162         (FE_DIVBYZERO): Likewise.
59163         (FE_INEXACT): Likewise.
59164         (FE_TONEAREST): Likewise.
59165         (FE_TOWARDZERO): Likewise.
59166         (FE_UPWARD): Likewise.
59167         (FE_DOWNWARD): Likewise.
59168         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59169         (FE_DIVBYZERO): Likewise.
59170         (FE_OVERFLOW): Likewise.
59171         (FE_UNDERFLOW): Likewise.
59172         (FE_INEXACT): Likewise.
59173         (FE_TONEAREST): Likewise.
59174         (FE_DOWNWARD): Likewise.
59175         (FE_UPWARD): Likewise.
59176         (FE_TOWARDZERO): Likewise.
59178 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59180         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59182 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59184         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59185         commands.  Quote $PWD.
59186         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59187         -x" by "export".
59188         (remove_newlines): Remove.
59190 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59192         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59193         * stdlib/stdlib.h (atof): Moved to ...
59194         * include/bits/stdlib-float.h: Here.  New file.
59195         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59196         * stdlib/bits/stdlib-float.h: New file.
59197         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59198         -mno-sse -mno-mmx.
59199         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59200         <xmmintrin.h>.
59202 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59204         * conform/conformtest.pl (@headers): Add fenv.h.
59205         * conform/data/fenv.h-data: New file.
59206         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59207         include of <math/fenv.h>.
59209         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59210         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59211         && !UNIX98].  Enables tests for XOPEN2K8.
59212         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59213         POSIX2008]: Likewise.
59215         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59216         (struct rusage): Do not expect type or its members.
59218         [BZ #3439]
59219         * math/math.h (FP_NAN): Define macro to integer constant usable in
59220         #if and use that to give value to enum constant.
59221         (FP_INFINITE): Likewise.
59222         (FP_ZERO): Likewise.
59223         (FP_SUBNORMAL): Likewise.
59224         (FP_NORMAL): Likewise.
59226 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59228         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59229         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59230         arguments.
59232 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59234         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59235         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59236         autoconf-time if not.
59237         * configure.in: Remove AC_PREREQ.
59239 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59241         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59242         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59243         of the internal implementation.
59245 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59247         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59248         except include of <misc/sys/syslog.h>.
59250 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59253         function returns with a NULL context exit with zero.
59255 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59257         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59259 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59261         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59262         (run_program_cmd): This.
59263         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59264         (tst_langinfo): New variable.  Use it.
59266 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59268         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59269         floating point opcodes.
59271 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59273         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59274         variable.
59276         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59278         * sysdeps/mach/hurd/powerpc: Remove directory.
59279         * sysdeps/mach/powerpc: Likewise.
59281 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59283         * scripts/check-local-headers.sh: Ignore c++ headers.
59285 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59287         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59288         __libc_cleanup_region_start argument.
59290 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59292         [BZ #14784]
59293         [BZ #14785]
59294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59295         x * y using scaling, not as x * y + z.
59296         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59298         * math/libm-test.inc (fma_test): Add more tests.
59299         (fma_test_towardzero): Likewise.
59300         (fma_test_downward): Likewise.
59301         (fma_test_upward): Likewise.
59303 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59305         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59307 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59309         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59310         New variable.
59312 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59314         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59316 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59319         Fix sort order.
59320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59321         Likewise.
59323 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59326         Fix the order of the list for glibc 2.17.
59327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59328         Likewise.
59330 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59334 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59336         [BZ #14610]
59337         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59338         for low part of x being zero before using __atanl (y).
59339         * math/libm-test.inc (atan2_test): Add another test.
59341         * manual/install.texi (Configuring and compiling): Document
59342         general use of test-wrapper and test-wrapper-env.
59343         * INSTALL: Regenerated.
59345         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59346         (__fma): Do not extract and scale down low bits on after-rounding
59347         systems when result rounded to normal precision would have normal
59348         exponent.
59349         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59350         (__fmal): Do not extract and scale down low bits on after-rounding
59351         systems when result rounded to normal precision would have normal
59352         exponent.
59353         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59354         (__fmal): Do not extract and scale down low bits on after-rounding
59355         systems when result rounded to normal precision would have normal
59356         exponent.
59357         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59358         macro.
59359         (fma_test): Add more tests.
59360         (fma_test_towardzero): Likewise.
59361         (fma_test_downward): Likewise.
59362         (fma_test_upward): Likewise.
59364 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59366         * sysdeps/i386/tininess.h: Renamed to ...
59367         * sysdeps/x86/tininess.h: This.
59368         * sysdeps/x86_64/tininess.h: Removed.
59370 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59372         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59373         input.  Use $(build-program-cmd).
59374         ($(objpfx)tst-array1-static.out): Likewise.
59375         ($(objpfx)tst-array2.out): Likewise.
59376         ($(objpfx)tst-array3.out): Likewise.
59377         ($(objpfx)tst-array4.out): Likewise.
59378         ($(objpfx)tst-array5.out): Likewise.
59379         ($(objpfx)tst-array5-static.out): Likewise.
59381 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59383         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59384         if defined.
59386         * nss/nsswitch.h (nss_interface_function): Provide new
59387         macro for use with NSS functions.
59388         * grp/initgroups.c: Use new macro.
59389         * nss/getXXbyYY.c: Likewise.
59390         * nss/getXXbyYY_r.c: Likewise.
59391         * nss/getXXent.c: Likewise.
59392         * nss/getXXent_r.c: Likewise.
59393         * sysdeps/posix/getaddrinfo.c: Likewise.
59395 2012-10-30  Andreas Jaeger  <aj@suse.de>
59397         * po/ru.po: Update Russion translation from translation project.
59399 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59401         [BZ #14152]
59402         [BZ #14783]
59403         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59404         result and shift together with sticky bit instead of replicating
59405         round-to-nearest rounding.
59406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59408         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59409         missing underflow exceptions.
59410         (fma_test_towardzero): Add more tests.
59411         (fma_test_downward): Likewise.
59412         (fma_test_upward): Likewise.
59414         [BZ #14047]
59415         * sysdeps/generic/tininess.h: New file.
59416         * sysdeps/i386/tininess.h: Likewise.
59417         * sysdeps/sh/tininess.h: Likewise.
59418         * sysdeps/x86_64/tininess.h: Likewise.
59419         * stdlib/tst-strtod-underflow.c: Likewise.
59420         * stdlib/tst-tininess.c: Likewise.
59421         * stdlib/strtod_l.c: Include <tininess.h>.
59422         (round_and_return): Do not set errno for exact underflow cases.
59423         Force an underflow exception when setting errno for underflow.
59424         Determine underflow based on rounding to normal precision if
59425         TININESS_AFTER_ROUNDING.
59426         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59427         ERANGE for exact underflow cases.
59428         * stdlib/Makefile (tests): Add tst-tininess and
59429         tst-strtod-underflow.
59430         ($(objpfx)tst-tininess): Use $(link-libm).
59431         ($(objpfx)tst-strtod-underflow): Likewise.
59433 2012-10-30  Andreas Jaeger  <aj@suse.de>
59435         [BZ#14767]
59436         * elf/Makefile (tests): Remove conditional for have-initfini-array
59437         since this is now always required and the variable does not exist
59438         anymore.
59439         (tests-static): Likewise.
59440         (modules-names): Likewise.
59442         * po/eo.po: Add Esperanto translation from translation project.
59444         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59445         merged with constructor/destructor.
59446         (init_array): Likewise.
59447         * elf/tst-array2dep.c (fini_array): Likewise.
59448         (init_array): Likewise.
59450 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59452         * manual/message.texi: Delete @cartouche tags.
59454 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59456         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59457         EOPNOTSUPP.
59458         * sysdeps/mach/hurd/fsync.c: Likewise.
59460         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59461         [_POSIX_REALTIME_SIGNALS]: Change condition to
59462         [_POSIX_REALTIME_SIGNALS > 0].
59464 2012-10-27  Andreas Jaeger  <aj@suse.de>
59466         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59467         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59469         [__WORDSIZE != 64]: Likewise.
59471 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59473         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59474         *  iconvdata/tst-tables.sh: Likewise.
59476 2012-10-25  David S. Miller  <davem@davemloft.net>
59478         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59479         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59480         of strtoull.
59482         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59483         ifunc-impl-list.c
59484         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59485         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59486         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59487         file.
59489 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59491         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59492         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59493         __getdirentries.
59495 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59496             Jim Blandy  <jimb@codesourcery.com>
59498         * scripts/cross-test-ssh.sh: New file.
59499         * manual/install.texi (Configuring and compiling): Document use of
59500         cross-test-ssh.sh.
59501         * INSTALL: Regenerated.
59503 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59505         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59506         EOPNOTSUPP.
59508 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59510         * Makeconfig (run-program-prefix): Fix comment.
59512 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59513             Jim Blandy  <jimb@codesourcery.com>
59515         * Makeconfig (test-wrapper): New variable,
59516         (test-wrapper-env): Likewise.
59517         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59518         (run-built-tests): Define to yes.
59519         (run-program-prefix): Use $(test-wrapper).
59520         (built-program-cmd): Likewise.
59521         * Rules (make-test-out): Use $(test-wrapper-env) and
59522         $(host-built-program-cmd).
59523         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59524         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59525         tst-pathopt.sh.
59526         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59527         $(test-wrapper-env) to tst-rtld-load-self.sh.
59528         ($(objpfx)order2.out): Use $(test-wrapper).
59529         ($(objpfx)tst-initorder.out): Likewise.
59530         ($(objpfx)tst-initorder2.out): Likewise.
59531         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59532         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59533         (test_wrapper_env): New variable.  Use it to run ld.so.
59534         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59535         Use it to run ld.so.
59536         (test_wrapper_env): Likewise.
59537         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59538         $(test-wrapper) to run-iconv-test.sh.
59539         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59540         (ICONV): Use $test_wrapper.
59541         * posix/Makefile ($(objpfx)globtest.out): Pass
59542         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59543         globtest.sh, not $(run-program-prefix).
59544         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59545         (test_wrapper): Likewise.
59546         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59547         set together with run_via_rtld_prefix.
59548         (run_program_prefix): Define in terms of test_wrapper and
59549         run_via_rtld_prefix.
59551 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59553         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59554         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59555         Targets removed.
59557         [BZ #14743]
59558         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59559         Declare __clock_getres, __clock_gettime, __clock_settime,
59560         __clock_nanosleep, and __clock_getcpuclockid.
59561         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59562         Remove librt_hidden_def (clock_gettime).
59563         * sysdeps/unix/clock_gettime.c: Likewise.
59564         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59565         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59566         * rt/clock_getres.c: Define __clock_getres as an alias.
59567         * sysdeps/posix/clock_getres.c: Likewise.
59568         * rt/clock_settime.c: Define __clock_settime as an alias.
59569         * sysdeps/unix/clock_settime.c: Likewise.
59570         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59571         * sysdeps/unix/clock_nanosleep.c: Likewise.
59572         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59573         * rt/clock-compat.c: New file.
59574         * rt/Makefile (librt-routines): Add clock-compat and move
59575         $(clock-routines) to ...
59576         (routines): ... here, new variable.
59577         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59578         Don't add get_clockfreq here.
59579         * rt/Versions (libc: GLIBC_2.17): New version set.
59580         Add clock_* symbols here.
59581         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59582         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59583         (GLIBC_2.17): Add clock_* symbols.
59584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59586         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59588         Likewise.
59589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59590         Likewise.
59591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59595         * NEWS: Mention the move.
59597         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59598         Use __open, __read, __close rather than their public counterparts.
59599         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59600         (__get_clockfreq_via_cpuinfo): Likewise.
59601         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59602         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59604         * config.h.in (HAVE_IFUNC): New #undef.
59605         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59606         was successful.
59607         * configure: Regenerated.
59609 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59611         * configure.in: Move READELF check to start of file.
59612         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59613         libc_cv_asm_gnu_indirect_function in the process.
59614         * configure: Regenerated.
59616 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59618         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59619         send the output to /dev/null.
59620         (libc_cv_cc_with_libunwind): Likewise.
59621         (libc_cv_as_noexecstack): Likewise.
59622         * configure: Regenerate.
59624 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59626         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59628         * posix/globtest.sh (TMPDIR): Do not set.
59629         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59630         (testout): Likewise.
59632 2012-10-24  Andreas Jaeger  <aj@suse.de>
59634         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59635         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59636         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59637         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59638         posix_fadvise64, posix_fallocate64.
59640         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59641         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59642         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59643         Likewise.
59644         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59645         Likewise.
59646         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59648         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59649         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59650         <bits/fcntl-linux.h>.
59651         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59654         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59655         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59656         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59657         [__WORDSIZE != 64]: Likewise.
59659 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59661         * Makeconfig (run-built-tests): New variable.
59662         * Rules [$(cross-compiling) = yes]: Change condition to
59663         [$(run-built-tests) = no].
59664         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59665         to [$(run-built-tests) = yes].
59666         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59667         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59668         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59669         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59670         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59671         * io/Makefile [$(cross-compiling) = no]: Likewise.
59672         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59673         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59674         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59675         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59676         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59677         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59678         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59679         * string/Makefile [$(cross-compiling) = no]: Likewise.
59681         * posix/Makefile ($(objpfx)globtest.out): Pass
59682         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59683         $(rtld-installed-name).
59684         * posix/globtest.sh (elf_objpfx): Remove variable.
59685         (rtld_installed_name): Likewise.
59686         (library_path): Likewise.
59687         (run_program_prefix): New variable.  Use for running globtest
59688         binary.
59690 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59691             Joseph Myers  <joseph@codesourcery.com>
59693         * Makeconfig (host-built-program-cmd): New variable.
59694         * elf/Makefile (tst-stackguard1-ARGS): Use
59695         $(host-built-program-cmd).
59696         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59697         (tst-spawn-ARGS): Likewise.
59698         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59700 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59701             Jim Blandy  <jimb@codesourcery.com>
59703         * Makeconfig (run-via-rtld-prefix): New variable.
59704         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59705         (built-program-cmd): Likewise.
59707 2012-10-22  Andreas Jaeger  <aj@suse.de>
59709         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59710         __O_RSYNC if it exists, otherwise to O_SYNC.
59712 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59713             Joseph Myers  <joseph@codesourcery.com>
59715         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59716         /dev/null.
59717         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59718         from /dev/null
59719         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59720         /dev/null.
59722 2012-10-22  Andreas Jaeger  <aj@suse.de>
59724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59725         Define always.
59726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59729         bits/fcntl-linux.h.
59731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59732         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59735         to __O_LARGEFILE.
59736         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59737         to __O_LARGEFILE.
59739 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59740             Joseph Myers  <joseph@codesourcery.com>
59742         * config.make.in (NM): New variable.
59744 2012-10-21  Andreas Jaeger  <aj@suse.de>
59746         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59747         definitions and declarations that are provided by
59748         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59750 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59752         [BZ #14683]
59753         * elf/Makefile (tests-static): Add tst-leaks1-static.
59754         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59755         ($(objpfx)tst-leaks1-static): New rule.
59756         ($(objpfx)tst-leaks1-static-mem): Likewise.
59757         (tst-leaks1-static-ENV): New macro.
59758         * elf/dl-open.c (dl_open_worker): Check the main application
59759         only if SHARED is defined.
59760         * elf/tst-leaks1-static.c: New file.
59762 2012-10-20  Andreas Jaeger  <aj@suse.de>
59764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59765         generic values for Linux.
59766         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59767         and declarations that are provided by <bits/fcntl-linux.h> and
59768         include <bits/fcntl-linux.h>.
59769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59772 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59774         * io/fcntl.h: Move include of <bits/types.h> to the top and
59775         include it unconditionally.
59777 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59779         * wcsmbs/Makefile (tests-ifunc): New variable.
59780         (tests): Add $(tests-ifunc).
59781         * wcsmbs/test-wcschr-ifunc.c: New file.
59782         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59783         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59784         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59785         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59786         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59788         * string/Makefile (tests-ifunc): New variable.
59789         (tests): Add $(tests-ifunc).
59790         * string/test-memccpy.c (TEST_NAME): New macro.
59791         * string/test-memchr.c (TEST_NAME): Likewise.
59792         * string/test-memcmp.c (TEST_NAME): Likewise.
59793         * string/test-memcpy.c (TEST_NAME): Likewise.
59794         * string/test-memmem.c (TEST_NAME): Likewise.
59795         * string/test-memmove.c (TEST_NAME): Likewise.
59796         * string/test-memset.c (TEST_NAME): Likewise.
59797         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59798         * string/test-stpcpy.c (TEST_NAME): Likewise.
59799         * string/test-stpncpy.c (TEST_NAME): Likewise.
59800         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59801         * string/test-strcasestr.c (TEST_NAME): Likewise.
59802         * string/test-strcat.c (TEST_NAME): Likewise.
59803         * string/test-strchr.c (TEST_NAME): Likewise.
59804         * string/test-strcmp.c(TEST_NAME): Likewise.
59805         * string/test-strcpy.c (TEST_NAME): Likewise.
59806         * string/test-strcspn.c (TEST_NAME): Likewise.
59807         * string/test-strlen.c (TEST_NAME): Likewise.
59808         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59809         * string/test-strncmp.c (TEST_NAME): Likewise.
59810         * string/test-strncpy.c (TEST_NAME): Likewise.
59811         * string/test-strnlen.c (TEST_NAME): Likewise.
59812         * string/test-strpbrk.c (TEST_NAME): Likewise.
59813         * string/test-strrchr.c (TEST_NAME): Likewise.
59814         * string/test-strspn.c (TEST_NAME): Likewise.
59815         * string/test-strstr.c (TEST_NAME): Likewise.
59816         * string/test-bcopy-ifunc.c: New file.
59817         * string/test-bzero-ifunc.c: Likewise.
59818         * string/test-memccpy-ifunc.c: Likewise.
59819         * string/test-memchr-ifunc.c: Likewise.
59820         * string/test-memcmp-ifunc.c: Likewise.
59821         * string/test-memcpy-ifunc.c: Likewise.
59822         * string/test-memmem-ifunc.c: Likewise.
59823         * string/test-memmove-ifunc.c: Likewise.
59824         * string/test-mempcpy-ifunc.c: Likewise.
59825         * string/test-memset-ifunc.c: Likewise.
59826         * string/test-rawmemchr-ifunc.c: Likewise.
59827         * string/test-stpcpy-ifunc.c: Likewise.
59828         * string/test-stpncpy-ifunc.c: Likewise.
59829         * string/test-strcasecmp-ifunc.c: Likewise.
59830         * string/test-strcasestr-ifunc.c: Likewise.
59831         * string/test-strcat-ifunc.c: Likewise.
59832         * string/test-strchr-ifunc.c: Likewise.
59833         * string/test-strchrnul-ifunc.c: Likewise.
59834         * string/test-strcmp-ifunc.c: Likewise.
59835         * string/test-strcpy-ifunc.c: Likewise.
59836         * string/test-strcspn-ifunc.c: Likewise.
59837         * string/test-strlen-ifunc.c: Likewise.
59838         * string/test-strncasecmp-ifunc.c: Likewise.
59839         * string/test-strncat-ifunc.c: Likewise.
59840         * string/test-strncmp-ifunc.c: Likewise.
59841         * string/test-strncpy-ifunc.c: Likewise.
59842         * string/test-strnlen-ifunc.c: Likewise.
59843         * string/test-strpbrk-ifunc.c: Likewise.
59844         * string/test-strrchr-ifunc.c: Likewise.
59845         * string/test-strspn-ifunc.c: Likewise.
59846         * string/test-strstr-ifunc.c: Likewise.
59848         * debug/Makefile (tests-ifunc): New variable.
59849         (tests): Add $(tests-ifunc).
59850         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59851         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59852         * debug/test-stpcpy_chk-ifunc.c: New file.
59853         * debug/test-strcpy_chk-ifunc.c: Likewise.
59855 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59857         [BZ #13601]
59858         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59859         header is not read in.
59861 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59863         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59864         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59865         directly.  Pass built executable to script as
59866         $(built-program-cmd).
59867         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59868         $testprogram without using LD_LIBRARY_PATH and $ldso.
59870         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59871         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59872         $(rtld-installed-name).
59873         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59874         (rtld_installed_name): Likewise.
59875         (library_path): Likewise.
59876         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59877         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59878         $(run-program-prefix) to tst-tables.sh.
59879         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59880         it to run tst-table-from and tst-table-to.
59881         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59882         Pass it to tst-table.sh.
59883         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59884         $(run-program-prefix) to tst-gettext.sh.
59885         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59886         tst-translit.sh.
59887         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59888         tst-gettext2.sh.
59889         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59890         to run tst-gettext.
59891         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59892         to run tst-gettext2.
59893         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59894         to run tst-translit.
59895         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59896         $(run-program-prefix) to tst-mtrace.sh.
59897         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59898         to run tst-mtrace.
59899         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59900         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59901         $(rtld-installed-name).
59902         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59903         (rtld_installed_name): Likewise.
59904         (run_program_prefix): New variable.  Use it to run wordexp-test.
59906         * Makeconfig (ARCH): Remove all definitions.
59907         (machine): Likewise.
59908         [ARCH]: Remove conditional code.
59909         [!objdir]: Give error.
59910         [!objdir] (objpfx): Remove.
59911         [!objdir] (common-objpfx): Likewise.
59912         [!objdir] (common-objdir): Likewise.
59913         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59914         AC_CONFIG_FILES call.
59915         * configure: Regenerated.
59917         [BZ #13888]
59918         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59919         or TMPDIR.
59920         (testout): Likewise.
59922         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59923         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59924         $(rtld-installed-name).
59925         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59926         (rtld_installed_name): Likwise.
59927         (runit): Remove function.
59928         (run_getconf): New variable,  Use it for running getconf binary.
59930 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59932         [BZ #14716]
59933         * string/test-memmem.c (check_result): New function.
59934         (do_one_test): Use it.
59935         (check1): New function.
59936         (test_main): Use it.
59938 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59940         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59942 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59944         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59945         (_G_LSEEK64): Likewise.
59946         (_G_MMAP64): Likewise.
59947         (_G_FSTAT64): Likewise.
59948         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59949         (_G_LSEEK64): Likewise.
59950         (_G_MMAP64): Likewise.
59951         (_G_FSTAT64): Likewise.
59952         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59953         unconditional.  Call __mmap64 directly.
59954         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59955         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59956         __lseek64 directly.
59957         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59958         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59959         __mmap64 directly.
59960         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59961         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59962         __lseek64 directly.
59963         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59964         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59965         __lseek64 directly.
59966         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59967         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59968         __lseek64 directly.
59969         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59970         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59971         __fxstat64 directly.
59972         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59973         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59974         unconditional.
59975         (freopen64) [!_G_OPEN64]: Remove conditional code.
59976         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59977         unconditional.
59978         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59979         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59980         unconditional.
59981         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59982         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59983         unconditional.
59984         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59985         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59986         unconditional.
59987         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59988         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59989         unconditional.
59990         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59991         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59992         unconditional.
59993         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59994         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59995         unconditional.
59996         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59998 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60000         [BZ #12140]
60001         * manual/memory.texi (Malloc Tunable Parameters): Add note
60002         about free list pointers overwriting some perturb bytes.
60003         Wording suggested by Roland McGrath.
60005 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60007         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60008         (lgamma_test): Likewise.
60009         (tgamma_test): Likewise.
60011 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60013         [BZ #14700]
60014         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60015         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60017 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60019         * NEWS: Mention BZ #14716.
60020         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60021         when removing AVAILABLE1_USES_J macro.
60023 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60025         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60026         (__bswap_64): __uint64_t for unsigned 64-bit int.
60028 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60030         * include/string.h (memmem): Declare libc hidden alias.
60031         * string/memmem.c (memmem): Define libc hidden alias.
60032         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60033         __read, __close instead of open, read, close.
60035 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60038         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60039         global and hidden.
60040         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60041         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60042         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60043         Likewise.
60044         (__rawmemchr_sse2): Likewise.
60045         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60046         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60047         (__strchr_sse2): Likewise.
60048         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60049         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60050         (__strcasecmp_sse2): Likewise.
60051         (__strncasecmp_sse2): Likewise.
60052         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60053         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60054         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60055         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60056         (__strrchr_sse2): Likewise.
60057         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60058         ifunc-impl-list.c.
60059         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60060         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60061         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60062         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60063         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60064         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60065         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60066         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60067         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60068         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60069         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60070         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60071         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60072         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60073         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60074         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60075         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60076         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60077         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60078         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60079         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60080         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60081         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60082         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60083         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60084         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60085         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60086         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60087         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60088         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60090         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60091         global and hidden.
60092         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60093         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60094         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60095         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60096         Likewise.
60097         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60098         Likewise.
60099         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60100         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60101         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60102         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60103         ifunc-impl-list.c.
60104         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60105         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60106         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60107         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60108         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60109         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60110         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60111         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60112         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60113         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60114         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60115         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60116         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60117         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60118         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60120         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60121         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60122         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60123         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60124         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60125         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60126         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60127         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60128         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60129         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60130         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60131         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60132         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60133         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60134         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60135         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60136         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60137         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60138         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60139         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60140         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60141         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60142         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60143         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60144         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60146         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60147         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60148         * include/ifunc-impl-list.h: New file.
60149         * misc/ifunc-impl-list.c: Likewise.
60150         * misc/Makefile (routines): Add ifunc-impl-list.
60151         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60152         * string/test-string.h: Include <ifunc-impl-list.h>.
60153         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60154         TEST_NAME]: New variables.
60155         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60156         are defined.
60157         (test_init): Call __libc_ifunc_impl_list to initialize
60158         func_list if TEST_IFUNC and TEST_NAME are defined.
60160         * string/Makefile (strop-tests): Add bcopy and bzero.
60161         * string/test-bcopy.c: New file.
60162         * string/test-bzero.c: Likewise.
60163         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60164         defined.
60165         * string/test-memset.c: Support bzero test if TEST_BZERO is
60166         defined.
60167         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60168         __libc_memmove.
60169         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60170         __libc_memset.
60171         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60172         of memset.
60174 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60176         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60177         * configure: Regenerated.
60179         * Makeconfig (+link-static-before-libc): Don't include
60180         $(link-static-libc).
60182         * libio/libio.h (_IO_pos_t): Remove.
60184 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60186         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60187         McGrath.
60189 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60191         * crypt/crypt-entry.c: Include fips-private.h.
60192         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60193         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60194         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60195         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60197 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60199         * crypt/crypt-private.h: Include stdbool.h.
60200         (_ufc_setup_salt_r): Return bool.
60201         * crypt/crypt-entry.c: Include errno.h.
60202         (__crypt_r): Return NULL with EINVAL for bad salt.
60203         * crypt/crypt_util.c (bad_for_salt): New.
60204         (_ufc_setup_salt_r): Check that salt is long enough and within
60205         the specified alphabet.
60206         * crypt/badsalttest.c: New file.
60207         * crypt/Makefile (tests): Add it.
60208         ($(objpfx)badsalttest): New.
60210 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60212         * NEWS: Add entry for BZ #14602.
60214 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60216         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60217         type-generic.
60218         * math/libm-test.inc: Update comment listing what functions and
60219         macros are tested.
60220         (isgreater_test): New function.
60221         (isgreaterequal_test): Likewise.
60222         (isless_test): Likewise.
60223         (islessequal_test): Likewise.
60224         (islessgreater_test): Likewise.
60225         (isunordered_test): Likewise.
60226         (main): Call the new functions.
60228 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60230         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60231         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60232         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60233         * sysdeps/i386/configure: Regenerated.
60234         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60235         * sysdeps/mach/configure: Regenerated.
60236         * sysdeps/mach/hurd/configure: Regenerated.
60237         * sysdeps/powerpc/configure: Regenerated.
60238         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60239         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60240         * sysdeps/s390/s390-32/configure: Regenerated.
60241         * sysdeps/s390/s390-64/configure: Regenerated.
60242         * sysdeps/sh/configure: Regenerated.
60243         * sysdeps/sparc/configure: Regenerated.
60244         * sysdeps/unix/sysv/linux/configure: Regenerated.
60245         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60246         * sysdeps/x86_64/configure: Regenerated.
60248         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60249         defined.  Don't check if MAP is NULL.
60251 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60253         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60254         (_G_stat64): Likewise.
60255         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60256         (_G_stat64): Likewise.
60257         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60258         instead of struct _G_stat64.
60259         * libio/fileops.c (mmap_remap_check): Likewise.
60260         (decide_maybe_mmap): Likewise.
60261         (_IO_new_file_seekoff): Likewise.
60262         (_IO_file_stat): Likewise.
60263         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60264         _G_off64_t.
60265         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60266         instead of struct _G_stat64.
60267         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60269 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60271         [BZ #14602]
60272         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60273         Replace with ...
60274         (CHECK_EOL): New macro.
60275         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60276         CHECK_EOL.
60277         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60278         Replace with CHECK_EOL.
60279         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60280         Replace with CHECK_EOL.
60282 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60284         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60285         type-generic.
60286         * math/libm-test.inc: Update comment listing what functions and
60287         macros are tested.
60288         (finite_test): New function.
60289         (isinf_test): Likewise.
60290         (isnan_test): Likewise.
60291         (fpclassify_test): Test subnormal input.
60292         (isfinite_test): Likewise.
60293         (isnormal_test): Likewise.
60294         (main): Call the new functions.
60296 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60298         [BZ #14660]
60299         * Makerules (%.dynsym): Force C locale when running
60300         $(OBJDUMP) --dynamic-syms.
60302 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60304         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60305         <stdint.h>.
60307 2012-10-06  David S. Miller  <davem@davemloft.net>
60309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60310         upper 32-bits of the length value in %o2 since we use branch-on-register
60311         tests which consider the entire 64-bit register.
60313 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60315         * string/test-strstr.c (check2): Add a test for page boundary.
60317 2012-10-05  David S. Miller  <davem@davemloft.net>
60319         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60320         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60321         file.
60322         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60323         sysdep_routines.
60324         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60325         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60326         and bzero when HWCAP_SPARC_CRYPTO is present.
60328 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60330         [BZ #14602]
60331         * string/test-strstr.c (check2): New function.
60332         (test_main): Call check2.
60334         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60335         and bug-strchr1.
60336         * string/bug-strcasestr1.c (do_test): Moved to ...
60337         * string/test-strcasestr.c (check1): Here.  New function.
60338         (do_one_test): Break out result checking code into ...
60339         (check_result): This.  New function.
60340         (do_one_test): Call check_result.
60341         (test_main): Call check1.
60342         * string/bug-strchr1.c (do_test): Moved to ...
60343         * string/test-strchr.c (check1): Here.  New function.
60344         (do_one_test): Break out result checking code into ...
60345         (check_result): This.  New function.
60346         (do_one_test): Call check_result.
60347         (test_main): Call check1.
60348         * string/bug-strstr1.c (main): Moved to ...
60349         * string/test-strstr.c (check1): Here.  New function.
60350         (do_one_test): Break out result checking code into ...
60351         (check_result): This.  New function.
60352         (do_one_test): Call check_result.
60353         (test_main): Call check1.
60354         * string/bug-strcasestr1.c: Removed.
60355         * string/bug-strchr1.c: Likewise.
60356         * string/bug-strstr1.c: Likewise.
60358         * elf/Makefile (dl-routines): Add hwcaps.
60359         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60360         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60361         (_dl_important_hwcaps): Moved to ...
60362         * elf/dl-hwcaps.c: Here.  New file.
60363         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60365         [BZ #14557]
60366         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60367         if IS_IN_rtld isn't defined.
60369         * elf/dl-support.c (_dl_sysinfo_map): New.
60370         Include "get-dynamic-info.h" and "setup-vdso.h".
60371         (_dl_non_dynamic_init): Call setup_vdso.
60372         * elf/dynamic-link.h: Don't include <assert.h>.
60373         (elf_get_dynamic_info): Moved to ...
60374         * elf/get-dynamic-info.h: Here.  New file.
60375         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60376         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60377         * elf/setup-vdso.h: Here.  New file.
60378         * elf/rtld.c: Include "setup-vdso.h".
60379         (dl_main): Call setup_vdso.
60381 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60383         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60384         creal in comment listing functions tested.  List finite, isinf,
60385         isnan, isless, islessequal, isgreater, isgreaterequal,
60386         islessgreater, isunordered, lgamma_r and pow10 as functions and
60387         macros not tested.  Mention which functions not tested are aliases
60388         for other functions.  Fix typo.  Note that signs of NaNs are not
60389         tested.
60391         * scripts/config.guess: Update from config.git.
60392         * scripts/config.sub: Likewise.
60394 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60396         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60397         * misc/madvise.c (madvise): Renamed to __madvise.
60398         Make madvise a weak alias.
60399         * include/sys/mman.h: Declare __madvise.
60400         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60401         * sysdeps/unix/syscalls.list
60402         (madvise): Make __madvise the strong name, and madvise a weak alias.
60403         * sysdeps/unix/sysv/linux/syscalls.list
60404         (madvise, mmap): Remove redundant entries.
60405         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60406         * malloc/malloc.c (mtrim): Likewise.
60407         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60409 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60411         * sysdeps/mach/hurd/dl-cache.c: File removed.
60412         * config.h.in (USE_LDCONFIG): New #undef.
60413         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60414         * configure: Regenerated.
60415         * elf/Makefile (dl-routines): Add dl-cache only under
60416         [$(use-ldconfig) = yes].
60417         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60418         cache on [USE_LDCONFIG].
60419         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60420         [USE_LDCONFIG].
60421         * elf/rtld.c (dl_main): Likewise.
60423 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60425         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60426         _SC_LEVEL4_CACHE_LINESIZE.
60428 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60430         * sysdeps/unix/bsd/confstr.h: File removed.
60432 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60434         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60435         sys/sdt-config.h.
60437 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60439         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60440         Make 'mapoff' field ElfW(Off) rather than off_t.
60442 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60444         * nscd/Makefile: Remove nscd-cflags and all its users.
60445         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60446         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60448         [BZ #10631]
60449         * malloc.c (malloc_printerr): Clarify error message.
60451 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60453         [BZ #14648]
60454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60455         Set bit_FMA_Usable if FMA is supported.
60456         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60457         macro.
60458         (bit_FMA4_Usable): Updated.
60459         (index_FMA_Usable): New macro.
60460         (CPUID_FMA): Likewise.
60461         (HAS_FMA): Defined with bit_FMA_Usable.
60463 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60465         * bits/types.h (__swblk_t): Type removed.
60466         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60467         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60469         (__SWBLK_T_TYPE): Likewise.
60470         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60471         (__SWBLK_T_TYPE): Likewise.
60472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60473         (__SWBLK_T_TYPE): Likewise.
60474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60475         (__SWBLK_T_TYPE): Likewise.
60477 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60478             Honza Horak <hhorak@redhat.com>
60480         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60481         (xdr_mapname): Use YPMAXMAP as maxsize.
60482         (xdr_peername): Use YPMAXPEER as maxsize.
60483         (xdr_keydat): Use YPAXRECORD as maxsize.
60484         (xdr_valdat): Use YPMAXRECORD as maxsize.
60486 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60488         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60490         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60491         * csu/init-first.c: ... here.
60492         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60493         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60494         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60495         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60496         * sysdeps/i386/init-first.c: File removed.
60497         * sysdeps/sh/init-first.c: File removed.
60499 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60501         [BZ #14645]
60502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60503         if x * y might underflow to zero and z is zero.
60504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60506         * math/libm-test.inc (min_subnorm_value): New variable.
60507         (fma_test): Add more tests.
60508         (fma_test_towardzero): Likewise.
60509         (fma_test_downward): Likewise.
60510         (fma_test_upward): Likewise.
60511         (initialize): Set min_subnorm_value.
60513 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60515         [BZ #14638]
60516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60517         0 + 0.
60518         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60519         mode for addition resulting in exact zero.
60520         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60522         exact 0 + 0.
60523         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60525         * math/libm-test.inc (fma_test): Add more tests.
60526         (fma_test_towardzero): New function.
60527         (fma_test_downward): Likewise.
60528         (fma_test_upward): Likewise.
60529         (main): Call the new functions.
60531 2012-09-28  David S. Miller  <davem@davemloft.net>
60533         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60535 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60537         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60538         instead of SIGALRM.
60540         * sysdeps/gnu/_G_config.h: Moved to ...
60541         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60542         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60543         * sysdeps/generic/_G_config.h: ... here.
60545         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60547         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60549         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60550         Conditionalize target on [libnss_test1.so-version].
60552         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60554         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60555         (elfobjdir): Move out of conditionals.
60557         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60558         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60559         (__nss_lookup_function): Conditionalize label remove_from_tree on
60560         [!DO_STATIC_NSS || SHARED], matching its only use.
60562 2012-09-28  David S. Miller  <davem@davemloft.net>
60564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60565         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60566         file.
60567         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60568         sysdep_routines.
60569         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60570         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60571         when HWCAP_SPARC_CRYPTO is present.
60573 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60575         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60577 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60579         [BZ #6530]
60580         * stdio-common/vfprintf.c (process_string_arg): Revert
60581         2000-07-22 change.
60583 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60585         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60586         for testcase.
60587         * stdio-common/tst-sprintf.c: Include <locale.h>
60588         (main): Test sprintf's handling of incomplete multibyte
60589         characters.
60591 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60593         * elf/dl-runtime.c (VERSYMIDX): Removed.
60594         * elf/dl-version.c (VERSYMIDX): Likewise.
60595         * elf/do-rel.h (VERSYMIDX): Likewise.
60596         (VALIDX): Likewise.
60597         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60598         * elf/rtld.c (VALIDX): Likewise.
60599         (ADDRIDX): Likewise.
60600         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60601         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60602         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60603         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60604         (VALIDX): Likewise.
60605         (ADDRIDX): Likewise.
60607 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60609         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60611 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60613         [BZ #11438]
60614         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60615         to global scope.
60616         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60617         addresses are in the same scope as 192.0.2/24.
60618         * posix/gai.conf: Document new scope table defaults.
60620 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60622         [BZ #5298]
60623         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60624         for ftell.  Compute offsets from write pointers instead.
60625         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60627 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60629         [BZ #14543]
60630         * libio/Makefile (tests): New test case tst-fseek.
60631         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60632         combination works in wide mode.
60633         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60634         state when the external buffer state changes.
60636 2012-09-27  David S. Miller  <davem@davemloft.net>
60638         [BZ #14376]
60639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60640         pass reloc->r_addend in as the 'high' argument to
60641         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60645 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60647         * rt/tst-aio2.c: Include <pthread.h>.
60648         * rt/tst-aio3.c: Likewise.
60650 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60652         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60654 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60656         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60657         contents on [SHARED].
60659 2012-09-26  Marek Polacek  <polacek@redhat.com>
60661         [BZ #14530]
60662         [BZ #13741]
60663         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60664         for C++ and GCC <4.3 as well as for non GCC compilers.
60666 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60670 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60672         * Makefile.in (all, install): Declare with .PHONY.
60673         Reported by Michael Hope <michael.hope@linaro.org>.
60675 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60677         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60678         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60679         system header.
60680         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60681         Likewise.
60682         (sydep_routines): Add the new and the internal functions.
60683         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60684         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60686         (GLIBC_2.17): Add the new function.
60687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60688         (GLIBC_2.17): Likewise.
60689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60690         (GLIBC_2.17): Likewise.
60691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60692         (GLIBC_2.17): Likewise.
60693         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60695 2012-09-25  Alan Modra  <amodra@gmail.com>
60697         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60698         Add release barrier before setting once_control to say
60699         initialisation is done.  Add hints on lwarx.  Use macro in
60700         place of isync.
60701         (clear_once_control): Add release barrier.
60703 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60705         [BZ #13629]
60706         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60707         specially.
60708         * math/s_clog10.c (__clog10): Likewise.
60709         * math/s_clog10f.c (__clog10f): Likewise.
60710         * math/s_clog10l.c (__clog10l): Likewise.
60711         * math/s_clogf.c (__clogf): Likewise.
60712         * math/s_clogl.c (__clogl): Likewise.
60713         * math/Makefile (libm-calls): Add x2y2m1.
60714         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60715         (__x2y2m1): Likewise.
60716         (__x2y2m1l): Likewise.
60717         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60718         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60719         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60720         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60721         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60722         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60723         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60724         * sysdeps/i386/fpu/libm-test-ulps: Update.
60725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60727         [BZ #14621]
60728         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60729         int as type of variable DEPTH.
60730         (glob): Use size_t instead of int as type of variables NEWCOUNT
60731         and OLD_PATHC.
60733 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60735         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60736         Add s_sincosf-sse2.
60737         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60738         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60739         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60740         macros for using routine as __sincosf_ia32.
60741         Use macro for function declaration and weak_alias.
60742         * sysdeps/i386/fpu/libm-test-ulps: Update.
60744         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60747         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60748         subnormal argument.
60749         * math/s_cexpf.c (__cexpf): Likewise.
60750         * math/s_csinf.c (__csinf): Likewise.
60751         * math/s_csinhf.c (__csinhf): Likewise.
60752         * math/s_ctanf.c (__ctanf): Likewise.
60753         * math/s_ctanhf.c (__ctanhf): Likewise.
60754         * math/s_ccosh.c (__ccoshf): Likewise.
60755         * math/s_cexp.c (__cexpl): Likewise.
60756         * math/s_csin.c (__csin): Likewise.
60757         * math/s_csinh.c (__csinh): Likewise.
60758         * math/s_ctan.c (__ctan): Likewise.
60759         * math/s_ctanh.c (ctanh): Likewise.
60760         * math/s_ccoshl.c (__ccoshl): Likewise.
60761         * math/s_cexpl.c (__cexpl): Likewise.
60762         * math/s_csinl.c (__csinl): Likewise.
60763         * math/s_csinhl.c (__csinhl): Likewise.
60764         * math/s_ctanl.c (__ctanl): Likewise.
60765         * math/s_ctanhl.c (__ctanhl): Likewise.
60767 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60769         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60770         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60771         (_IO_off_t): Define to __off_t, not _G_off_t.
60772         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60773         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60774         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60775         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60776         type of __dummy and __dummy2 fields.
60777         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60778         (_G_ssize_t): Likewise.
60779         (_G_off_t): Likewise.
60780         (_G_pid_t): Likewise.
60781         (_G_uid_t): Likewise.
60782         (_G_wchar_t): Likewise.
60783         (_G_wint_t): Likewise.
60784         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60785         (_G_ssize_t): Likewise.
60786         (_G_off_t): Likewise.
60787         (_G_pid_t): Likewise.
60788         (_G_uid_t): Likewise.
60789         (_G_wchar_t): Likewise.
60790         (_G_wint_t): Likewise.
60791         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60792         (_G_ssize_t): Likewise.
60793         (_G_off_t): Likewise.
60794         (_G_pid_t): Likewise.
60795         (_G_uid_t): Likewise.
60796         (_G_wchar_t): Likewise.
60797         (_G_wint_t): Likewise.
60799 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60801         * malloc/arena.c: Include malloc-sysdep.h.
60802         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60803         is sufficient to shrink the heap or an unmap is needed.
60804         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60805         new function check_may_shrink_heap.
60806         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60807         new function check_may_shrink_heap.
60809 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60811         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60812         comments.
60814 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60816         * catgets/test-gencat.sh: Add "set -e".
60817         * elf/tst-pathopt.sh: Likewise.
60818         * grp/tst_fgetgrent.sh: Likewise.
60819         * iconvdata/run-iconv-test.sh: Likewise.
60820         * intl/tst-gettext.sh: Likewise.
60821         * intl/tst-gettext2.sh: Likewise.
60822         * intl/tst-gettext4.sh: Likewise.
60823         * intl/tst-gettext6.sh: Likewise.
60824         * intl/tst-translit.sh: Likewise.
60825         * io/ftwtest-sh: Likewise.
60826         * libio/test-freopen.sh: Likewise.
60827         * malloc/tst-mtrace.sh: Likewise.
60828         * posix/globtest.sh: Likewise.
60829         * posix/tst-getconf.sh: Likewise.
60830         * posix/wordexp-tst.sh: Likewise.
60831         * stdio-common/tst-printf.sh: Likewise.
60832         * stdio-common/tst-unbputc.sh: Likewise.
60833         * stdlib/tst-fmtmsg.sh: Likewise.
60834         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60835         * catgets/Makefile: Do not specify -e option when running
60836         testsuite shell scripts.
60837         * elf/Makefile: Likewise.
60838         * grp/Makefile: Likewise.
60839         * iconvdata/Makefile: Likewise.
60840         * intl/Makefile: Likewise.
60841         * io/Makefile: Likewise.
60842         * libio/Makefile: Likewise.
60843         * malloc/Makefile: Likewise.
60844         * posix/Makefile: Likewise.
60845         * stdio-common/Makefile: Likewise.
60846         * stdlib/Makefile: Likewise.
60847         * sysdeps/x86_64/Makefile: Likewise.
60849         * io/ftwtest-sh: Add copyright header.
60850         * posix/globtest.sh: Likewise.
60851         * posix/tst-getconf.sh: Likewise.
60852         * posix/wordexp-tst.sh: Likewise.
60853         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60855 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60857         [BZ #13679]
60858         * Makeconfig (+link): Defined as $(+link-static) if
60859         $(build-shared) isn't yes.
60860         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60861         isn't yes.
60862         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60864         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60866         [BZ #14562]
60867         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60868         new chunk size with MALLOC_ALIGN_MASK.
60870 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60872         [BZ #5044]
60873         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60874         <rounding-mode.h>.
60875         (__printf_fphex): Determine rounding using get_rounding_mode and
60876         round_away.
60877         * stdio-common/tst-printf-round.c (struct hex_test): New
60878         structure.
60879         (hex_tests): New variable.
60880         (test_hex_in_one_mode): New function.
60881         (do_test): Also run tests for hex float output.
60883 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60885         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60886         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60887         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60888         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60889         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60890         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60891         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60892         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60894 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60896         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60897         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60898         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60899         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60901 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60903         [BZ #14579]
60904         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60905         mode only.
60906         * elf/tst-rtld-load-self.sh: New test.
60907         * elf/Makefile: Run it.
60909 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60911         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60912         (tst-writev-ENV): Remove.
60913         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60915 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60917         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60919 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60921         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60922         unconditional.
60923         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60924         Likewise.
60925         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60926         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60927         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60928         Likewise.
60930 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60932         [BZ #14587]
60933         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60934         * config.make.in (have-cpp-asm-debuginfo): Removed.
60935         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60936         * configure: Regenerated.
60938 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60940         [BZ #5044]
60941         * stdio-common/printf_fp.c: Include <stdbool.h> and
60942         <rounding-mode.h>.
60943         (___printf_fp): Determine rounding using get_rounding_mode and
60944         round_away.
60945         * stdio-common/tst-printf-round.c: New file.
60946         * stdio-common/Makefile (tests): Add tst-printf-round.
60947         (link-libm): New variable.
60948         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60950 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60952         [BZ #14576]
60953         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60954         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60955         Likewise.
60956         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60957         Likewise.
60959 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60961         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60962         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60963         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60964         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60966 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60968         [BZ #14518]
60969         * include/rounding-mode.h: New file.
60970         * sysdeps/generic/get-rounding-mode.h: Likewise.
60971         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60972         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60973         (MAX_VALUE): New macro.
60974         (MIN_VALUE): Likewise.
60975         (overflow_value): New function.
60976         (underflow_value): Likewise.
60977         (round_and_return): Use overflow_value and underflow_value to
60978         determine return values in overflow and underflow cases.  Use
60979         round_away to determine rounding depending on rounding mode.
60980         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60981         determine return values in overflow and underflow cases.
60982         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60983         (struct test_results): New structure.
60984         (struct test): Use struct test_results to store expected results
60985         for all rounding modes.
60986         (TEST): Include expected results for all rounding modes.
60987         (test_in_one_mode): New function.
60988         (do_test): Use test_in_one_mode to compute and check results.
60989         Check results for all rounding modes.
60990         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60991         $(link-libm).
60993 2012-12-09  Allan McRae  <allan@archlinux.org>
60995         * sysdeps/i386/fpu/libm-test-ulps: Update
60997 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60999         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61000         (_G_int32_t): Likewise.
61001         (_G_uint16_t): Likewise.
61002         (_G_uint32_t): Likewise.
61003         (_G_HAVE_BOOL): Likewise.
61004         (_G_HAVE_ATEXIT): Likewise.
61005         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61006         (_G_HAVE_IO_FILE_OPEN): Likewise.
61007         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61008         (_G_int32_t): Likewise.
61009         (_G_uint16_t): Likewise.
61010         (_G_uint32_t): Likewise.
61011         (_G_HAVE_BOOL): Likewise.
61012         (_G_HAVE_ATEXIT): Likewise.
61013         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61014         (_G_HAVE_IO_FILE_OPEN): Likewise.
61015         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61016         (_G_int32_t): Likewise.
61017         (_G_uint16_t): Likewise.
61018         (_G_uint32_t): Likewise.
61019         (_G_HAVE_BOOL): Likewise.
61020         (_G_HAVE_ATEXIT): Likewise.
61021         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61022         (_G_HAVE_IO_FILE_OPEN): Likewise.
61024 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61026         * csu/libc-tls.c: Update copyright years.
61028 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61030         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61031         [!_G_USING_THUNKS]: Remove conditional code.
61032         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61033         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61035         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61036         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61037         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61038         (_G_VTABLE_LABEL_PREFIX): Likewise.
61039         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61040         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61041         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61042         (_G_VTABLE_LABEL_PREFIX): Likewise.
61043         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61044         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61045         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61046         (_G_VTABLE_LABEL_PREFIX): Likewise.
61047         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61049 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61051         * libio/Makefile: Include ../Makeconfig before tests.
61052         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61053         only if $(build-shared) is yes.
61055         * iconv/gconv_db.c: Update copyright years.
61057 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61059         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61060         unwind info if defined PIC. Fix special cases description.
61061         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61063         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61064         DP_HI_MASK entry.
61065         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61067 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61069         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61071         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61072         is NULL.
61074         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61075         (LDLIBS-tst-chk4): This.
61076         (LDFLAGS-tst-chk5): Renamed to ...
61077         (LDLIBS-tst-chk5): This.
61078         (LDFLAGS-tst-chk6): Renamed to ...
61079         (LDLIBS-tst-chk6): This.
61080         (LDFLAGS-tst-lfschk4): Renamed to ...
61081         (LDLIBS-tst-lfschk4): This.
61082         (LDFLAGS-tst-lfschk5): Renamed to ...
61083         (LDLIBS-tst-lfschk5): This.
61084         (LDFLAGS-tst-lfschk6): Renamed to ...
61085         (LDLIBS-tst-lfschk6): This.
61087         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61088         on $(common-objpfx)soversions.mk.
61090 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61092         [BZ #10014]
61093         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61094         example host name.
61096 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61098         * malloc/arena.c (arena_get_retry): New function that gets
61099         another arena for the caller to try its request on.
61100         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61101         current arena cannot fulfill the request.
61102         (__libc_memalign): Likewise.
61103         (__libc_memalign): Likewise.
61104         (__libc_pvalloc): Likewise.
61105         (__libc_calloc): Likewise.
61107 2012-09-05  John Tobey  <john.tobey@gmail.com>
61109         [BZ #13542]
61110         * manual/arith.texi (Operations on Complex): Fix description
61111         of carg branch cut.
61113 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61115         [BZ #10014]
61116         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61117         host name.
61119         [BZ #10038]
61120         * manual/memory.texi (Memory): Make order of menu items match
61121         order of sections.
61123 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61125         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61126         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61127         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61129 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61131         * csu/libc-tls.c (static_dtv): Renamed to ...
61132         (_dl_static_dtv): This.  Make it global.
61133         (_dl_initial_dtv): Removed.
61134         (__libc_setup_tls): Updated.
61135         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61136         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61137         DL_INITIAL_DTV.
61139 2012-09-06  Petr Machata  <pmachata@redhat.com>
61141         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61142         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61143         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61144         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61146 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61148         [BZ #14545]
61149         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61150         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61151         freeing dtv[-1].
61153 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61155         [BZ #14544]
61156         * Makeconfig (link-static-before-libc): Replace $(+prector)
61157         with $(+prectorT).
61158         (link-static-after-libc): Replace $(+postctor) with
61159         $(+postctorT).
61160         (link-bounded): Replace $(+prector)/$(+postctor) with
61161         $(+prectorT)/$(+postctorT).
61162         (+prectorT): New macro.
61163         (+postctorT): Likewise.
61165 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61167         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61168         (round_str): Handle values above the maximum for IBM long double
61169         as inexact.
61170         * stdlib/tst-strtod-round.c (tests): Regenerated.
61172 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61174         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61175         assembler flag.
61176         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61177         zarch_nohighgprs around the zarch optimized routines.
61178         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61179         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61180         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61181         for zarch.
61183 2012-09-05  David S. Miller  <davem@davemloft.net>
61185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61187         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61188         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61189         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61190         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61191         entries.
61193 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61195         * malloc/arena.c: Fold copyright years.
61196         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61198 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61200         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61204         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61206 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61208         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61209         change internal state upon failure.
61211 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61213         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61214         * malloc/memusage.c (mmap): Likewise.
61215         (mmap64, mremap): Likewise.  Adjust name in comment.
61217 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61219         * libio/fileops.c: Fix typos in comments.
61220         * libio/oldfileops.c: Likewise.
61221         * libio/wfileops.c: Likewise.
61223 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61225         [BZ #1349]
61226         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61227         (tst-malloc-usable-ENV): Set environment for test case.
61228         * malloc/hooks.c (malloc_check_get_size): New function to get
61229         requested size.
61230         * malloc/malloc.c (musable): Use malloc_check_get_size.
61231         * malloc/tst-malloc-usable.c: New test case.
61233 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61235         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61237 2012-09-05  Allan McRae  <allan@archlinux.org>
61239         [BZ #13966]
61240         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61241         determine header location.
61242         * configure: Regenerated.
61244 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61246         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61247         float format.
61248         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61249         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61250         format.
61251         (test): Regenerate.
61253 2012-09-04  David S. Miller  <davem@davemloft.net>
61255         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61256         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61257         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61259 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61261         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61262         failures.
61264         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61266 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61268         [BZ #9914]
61269         * libio/iogetdelim.c: Include <limits.h>.
61270         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61271         + len + 1 would overflow.
61273 2012-09-03  Andreas Jaeger  <aj@suse.de>
61275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61276         * sysdeps/i386/fpu/libm-test-ulps: Update.
61278 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61280         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61281         Add s_sinf-sse2, s_conf-sse2.
61283         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61284         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61285         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61286         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61288         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61289         for using routine as __sinf_ia32.
61290         Use macro for function declaration and weak_alias.
61291         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61292         for using routine as __cosf_ia32.
61293         Use macro for function declaration and weak_alias.
61295         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61296         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61298         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61299         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61302         * math/libm-test.inc (cos_test): Add more test cases.
61303         (sin_test): Likewise.
61304         (sincos_test): Likewise.
61306 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61308         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61309         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61310         hidden.
61311         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61313 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61315         [BZ #14538]
61316         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61317         first element of the GOT.
61318         (elf_machine_load_address): Return the difference between
61319         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61321 2012-09-01  Allan McRae  <allan@archlinux.org>
61323         [BZ #13412]
61324         * configure.in (AWK): Require gawk version 3.0 or later.
61325         * configure: Regenerated.
61327 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61329         * sysdeps/unix/sysv/linux/kernel-features.h
61330         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61331         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61332         [__NR_clock_getres]: Make code unconditional.
61333         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61334         (clock_getcpuclockid): Remove code left unreachable by removal of
61335         conditionals.
61336         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61337         code unconditional.
61338         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61339         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61340         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61341         Make code unconditional.
61342         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61343         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61344         * sysdeps/unix/sysv/linux/clock_settime.c
61345         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61346         conditional code.
61347         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61348         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61350 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61352         [BZ #14476]
61353         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61354         scripts/test-installation.pl.
61356         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61357         and $ld_so_version if it is set.
61359 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61361         [BZ #14516]
61362         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61363         failure if reading from procfs failed.
61364         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61366 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61368         * sysdeps/unix/sysv/linux/kernel-features.h
61369         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61370         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61371         Remove conditional code.
61372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61373         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61374         Remove conditional code.
61375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61376         * sysdeps/unix/sysv/linux/i386/fxstat.c
61377         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61379         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61380         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61382         * sysdeps/unix/sysv/linux/i386/lxstat.c
61383         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61384         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61385         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61386         Remove conditional code.
61387         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61388         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61389         Remove conditional code.
61390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61391         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61392         <kernel-features.h>.
61393         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61394         Remove.
61395         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61396         Remove conditional code.
61397         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61398         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61399         Remove conditional.
61401 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61403         [BZ #5400]
61404         * NEWS: Add fixed bug number.
61406 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61408         [BZ #14519]
61409         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61410         underflowing exponent in case of negative sign.
61411         * stdlib/tst-strtod-round-data: Add more tests.
61412         * stdlib/tst-strtod-round.c (tests): Regenerated.
61414         [BZ #3479]
61415         * stdlib/strtod_l.c (NDIG): Remove.
61416         (HEXNDIG): Likewise.
61417         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61418         smallest representable value.
61419         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61420         lie within an exact representation of 1/2 ulp of the result.
61421         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61422         unconditionally.
61423         (TENS_P9_IDX): Define unconditionally.
61424         (TENS_P9_SIZE): Likewise.
61425         (TENS_P10_IDX): Likewise.
61426         (TENS_P10_SIZE): Likewise.
61427         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61428         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61429         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61430         entries for 10^2^13 and 10^2^14.
61431         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61432         (TENS_P13_IDX): Define.
61433         (TENS_P13_SIZE): Likewise.
61434         (TENS_P14_IDX): Likewise.
61435         (TENS_P14_SIZE): Likewise.
61436         (_fpioconst_pow10): Change array size to
61437         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61438         unconditional.
61439         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61440         1024]: Add entries for 10^2^13 and 10^2^14.
61441         [LAST_POW10 > _LAST_POW10]: Remove #error.
61442         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61443         (_fpioconst_pow10): Change array size to
61444         FPIOCONST_POW10_ARRAY_SIZE.
61445         * stdlib/gen-fpioconst.c: New file.
61446         * stdlib/gen-tst-strtod-round.c: Likewise.
61447         * stdlib/tst-strtod-round-data: Likewise.
61448         * stdlib/tst-strtod-round.c: Likewise.
61449         * stdlib/Makefile (tests): Add tst-strtod-round.
61451         [BZ #14459]
61452         * stdlib/strtod_l.c: Include <stdint.h>.
61453         (NDEBUG): Do not define.
61454         (round_and_return): Change EXPONENT parameter to type intmax_t.
61455         Rearrange calculations to avoid internal overflow possibilities.
61456         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61457         Rearrange calculations to avoid internal overflow possibilities.
61458         Assert that number fits inside MPNSIZE limbs.
61459         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61460         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61461         calculations and add assertions to avoid internal overflow
61462         possibilities.  Add casts to avoid signed/unsigned operations.
61463         * stdlib/tst-strtod-overflow.c: New file.
61464         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61466 2012-08-25  Marek Polacek  <polacek@redhat.com>
61468         * time/time.h: Fix some typos in comments.
61470 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61472         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61473         * posix/tst-rfc3484-2.c: Likewise.
61474         * posix/tst-rfc3484-3.c: Likewise.
61476 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61478         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61479         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61481 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61483         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61484         #include of fxstatat64.c.
61486 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61488         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61489         * shadow/getspent_r.c: Likewise.
61490         * shadow/getspnam.c: Likewise.
61491         * shadow/getspnam_r.c: Likewise.
61492         * gshadow/getsgent.c: Likewise.
61493         * gshadow/getsgent_r.c: Likewise.
61494         * gshadow/getsgnam.c: Likewise.
61495         * gshadow/getsgnam_r.c: Likewise.
61496         * inet/getnetbyad.c: Likewise.
61497         * inet/getnetbyad_r.c: Likewise.
61498         * inet/getnetbynm.c: Likewise.
61499         * inet/getnetbynm_r.c: Likewise.
61500         * inet/getnetent.c: Likewise.
61501         * inet/getnetent_r.c: Likewise.
61502         * inet/getproto.c: Likewise.
61503         * inet/getproto_r.c: Likewise.
61504         * inet/getprtent.c: Likewise.
61505         * inet/getprtent_r.c: Likewise.
61506         * inet/getprtname.c: Likewise.
61507         * inet/getprtname_r.c: Likewise.
61508         * inet/getrpcbyname.c: Likewise.
61509         * inet/getrpcbyname_r.c: Likewise.
61510         * inet/getrpcbynumber.c: Likewise.
61511         * inet/getrpcbynumber_r.c: Likewise.
61512         * inet/getrpcent.c: Likewise.
61513         * inet/getrpcent_r.c: Likewise.
61514         * inet/getaliasent.c: Likewise.
61515         * inet/getaliasent_r.c: Likewise.
61516         * inet/getaliasname.c: Likewise.
61517         * inet/getaliasname_r.c: Likewise.
61518         * nscd/getgrgid_r.c: Likewise.
61519         * nscd/getgrnam_r.c: Likewise.
61520         * nscd/gethstbyad_r.c: Likewise.
61521         * nscd/gethstbynm3_r.c: Likewise.
61522         * nscd/getpwnam_r.c: Likewise.
61523         * nscd/getpwuid_r.c: Likewise.
61524         * nscd/getsrvbynm_r.c: Likewise.
61525         * nscd/getsrvbypt_r.c: Likewise.
61526         * nscd/gai.c: Likewise.
61528         * configure.in (build_nscd): New substituted variable, set
61529         by --disable-build-nscd and defaults to $use_nscd.
61530         * configure: Regenerated.
61531         * config.make.in (build-nscd): New substituted variable.
61532         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61533         Change conditional to require [$(build-nscd) = yes] as well.
61534         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61536         [BZ# 13696]
61537         * configure.in (use_nscd): New substituted variable, set by
61538         --disable-nscd.  If enabled, define USE_NSCD.
61539         * configure: Regenerated.
61540         * config.h.in: Add USE_NSCD.
61541         * config.make.in (use-nscd): New substituted variable.
61542         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61543         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61544         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61545         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61546         (CFLAGS-getgrnam_r.c): Likewise.
61547         (CFLAGS-initgroups.c): Likewise.
61548         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61549         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61550         Variables removed.
61551         * inet/getnetgrent_r.c
61552         (nscd_setnetgrent): New function, broken out of ...
61553         (setnetgrent): ... here.  Call it.
61554         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61555         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61556         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61557         * nscd/Makefile (routines, aux): Move definitions after include of
61558         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61559         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61560         Conditionalize on [USE_NSCD].
61561         (is_nscd, nscd_init_cb): Likewise.
61562         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61563         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61564         * nss/nss_db/db-init.c: Likewise.
61565         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61566         [USE_NSCD].
61567         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61568         (make_request): Use it.
61569         (cache_valid_p): New function.
61570         (__check_pf): Use it.
61571         * NEWS: Add item for --disable-nscd.
61573 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61575         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61576         to support sed >= 4.2.1-20-ga9bf076.
61577         * configure: Regenerated.
61579 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61581         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61582         Conditionalize whole body on [IREL].
61584 2012-08-22  Jeff Law <law@redhat.com>
61586         [BZ #14505]
61587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61588         if the family is PF_UNSPEC.
61590 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61592         * Makerules (lib-version): Rename from V.
61593         (install-lib-nosubdir): Change V to lib-version.
61595 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61597         [BZ #14252]
61598         * powerpc32/power6/wcschr.c: New file.
61599         * powerpc32/power6/wcscpy.c: New file.
61600         * powerpc32/power6/wcsrchr.c: New file.
61601         * powerpc64/power6/wcschr.c: New file.
61602         * powerpc64/power6/wcscpy.c: New file.
61603         * powerpc64/power6/wcsrchr.c: New file.
61605 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61607         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61608         (two_way_short_needle): Use it.
61609         * string/strstr.c (AVAILABLE1_USES_J): Define.
61610         * string/strcasestr.c: Likewise.
61612         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61613         array references.
61614         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61616         [BZ #11607]
61617         * NEWS: Add an entry.
61618         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61619         define their defaults.
61620         (two_way_short_needle): Detect end-of-string on-the-fly.
61621         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61622         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61623         * string/bug-strcasestr1.c: New test.
61624         * string/Makefile: Run it.
61626 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61628         [BZ #11607]
61629         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61630         the first character.
61632 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61634         * csu/elf-init.c (__libc_csu_irel): Function removed.
61635         * csu/libc-start.c (apply_irel): New function.
61636         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61638 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61640         * sysdeps/unix/sysv/linux/kernel-features.h
61641         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61642         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61643         <kernel-features.h>.
61644         [__NR_fadvise64_64]: Make code unconditional.
61645         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61646         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61647         !__NR_fadvise64_64)]: Likewise.
61648         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61649         !__NR_fadvise64_64))]: Likewise.
61650         [__NR_fadvise64]: Make code unconditional.
61651         [!__NR_fadvise64]: Remove conditional code.
61652         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61653         <kernel-features.h>.
61654         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61655         unconditional.
61656         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61657         conditional code.
61658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61659         not include <kernel-features.h>.
61660         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61661         unconditional.
61662         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61663         conditional code.
61664         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61665         include <kernel-features.h>.
61666         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61667         unconditional.
61668         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61669         conditional code.
61671 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61673         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61674         slight instruction rearrangements per scrollpipe analysis.
61675         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61677 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61679         * manual/syslog.texi (syslog; vsyslog, closelog):
61680         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61681         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61683         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61684         DSOCAPS to match condition on defining it.
61686 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61688         * sysdeps/unix/sysv/linux/kernel-features.h
61689         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61691         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61692         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61694         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61695         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61697         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61698         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61700         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61701         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61703         * sysdeps/unix/sysv/linux/kernel-features.h
61704         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61705         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61706         unconditional.
61707         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61708         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61709         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61710         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61711         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61712         Make code unconditional.
61713         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61714         (__mmap64) [!__NR_mmap2]: Likewise.
61715         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61716         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61717         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61718         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61719         [__NR_mmap2]: Make code unconditional.
61720         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61721         (__mmap64) [!__NR_mmap2]: Likewise.
61723 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61725         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61727 2012-08-18  Andreas Jaeger  <aj@suse.de>
61729         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61731 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61733         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61734         * include/unistd.h (__have_sock_cloexec): Likewise.
61735         (__have_pipe2): Likewise.
61736         (__have_dup3): Likewise.
61738 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61740         [BZ #9685]
61741         * include/unistd.h (__have_pipe2): Change define into an extern int.
61742         (__have_dup3): Likewise.
61743         * socket/have_sock_cloexec.c: Include fcntl.h.
61744         (__have_pipe2): New variable.
61745         (__have_dup3): Likewise.
61747 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61749         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61751 2012-08-17  Marek Polacek  <polacek@redhat.com>
61753         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61754         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61756 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61758         * configure.in: Add AC_SUBST for sysheaders.
61759         * configure: Regenerated.
61760         * config.make.in (sysheaders): New substituted variable.
61762         * sysdeps/unix/mkfifo.c: Moved ...
61763         * sysdeps/posix/mkfifo.c: ... here.
61764         * sysdeps/unix/mkfifoat.c: Moved ...
61765         * sysdeps/posix/mkfifoat.c: ... here.
61767         * sysdeps/unix/utime.c: Moved ...
61768         * sysdeps/posix/utime.c: ... here.
61770         * sysdeps/unix/time.c: Moved ...
61771         * sysdeps/posix/time.c: ... here.
61772         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61773         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61775         * sysdeps/unix/nice.c: Moved ...
61776         * sysdeps/posix/nice.c: ... here.
61778         * sysdeps/unix/alarm.c: Moved ...
61779         * sysdeps/posix/alarm.c: ... here.
61781         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61783 2012-08-17  Jeff Law <law@redhat.com>
61785         * intl/Makefile (codeset_mo): New variable.
61786         ($(codeset_mo)): New target.
61787         (tst-codeset.out): Depend on that.  Remove explicit rule.
61788         (tst-gettext3.out, tst-gettext5.out): Likewise.
61789         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61790         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61791         * intl/tst-codeset.sh: Remove.
61792         * intl/tst-gettext3.sh: Likewise.
61793         * intl/tst-gettext5.sh: Likewise.
61795 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61797         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61798         * sysdeps/unix/syscalls.list: ... here.
61800         * sysdeps/posix/getaddrinfo.c
61801         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61802         (gaiconf_init, gaiconf_reload): Use them.
61803         [!_STATBUF_ST_NSEC]
61804         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61805         Define using time_t rather than struct timespec.
61807         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61808         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61809         Macros removed.
61810         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61811         [!NO_THREADS].
61812         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61813         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61814         Likewise.
61816         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61817         __libc_cleanup_push argument.
61819         * bits/param.h: New file.
61820         * misc/sys/param.h: New file.
61821         * include/sys/param.h: New file.
61822         * misc/Makefile (headers): Add bits/param.h.
61823         * sysdeps/generic/sys/param.h: File removed.
61824         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61825         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61826         * sysdeps/mach/hurd/bits/param.h: New file.
61827         * sysdeps/mach/hurd/sys/param.h: File removed.
61829         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61830         last change.
61832         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61833         [_IO_MTSAFE_IO].
61834         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61835         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61836         New macros.
61838         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61839         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61840         rather than -D_IO_MTSAFE_IO conditionally.
61841         * stdio-common/Makefile (CPPFLAGS): Likewise.
61842         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61843         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61844         Use $(libio-mtsafe).
61845         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61846         of -D_IO_MTSAFE_IO.
61847         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61848         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61849         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61850         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61851         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61852         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61853         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61854         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61855         (CFLAGS-fread_u_chk.c): Likewise.
61856         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61857         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61858         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61859         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61860         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61861         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61862         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61863         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61864         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61866         * libio/Makefile: Test [$(libc-reentrant) = yes]
61867         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61869         * Makeconfig
61870         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61871         * sysdeps/pthread/configure: File removed.
61872         * sysdeps/pthread/Makeconfig: New file.
61873         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61874         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61876 2012-08-16  Gary Benson  <gbenson@redhat.com>
61878         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61879         unmapping the first object in a namespace.
61881 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61883         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61884         (__internal_setnetgrent): ... this.  Add internal_function to
61885         definition.  Add libc_hidden_def.
61886         (setnetgrent): Update caller.
61887         (internal_endnetgrent): Renamed to ...
61888         (__internal_endnetgrent): ... this.  Add internal_function to
61889         definition.  Add libc_hidden_def.
61890         (endnetgrent): Update caller.
61891         (internal_getnetgrent_r): Renamed to ...
61892         (__internal_getnetgrent_r): ... this.  Add internal_function to
61893         definition.  Add libc_hidden_def.
61894         (__getnetgrent_r): Update caller.
61895         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61897 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61899         * stdlib/longlong.h: Update from GCC.
61901 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61903         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61904         on _QL, which is set by umul_ppmm but never used.
61905         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61906         variables, which are set by GMP macros but never used.
61907         * stdio-common/_itowa.c (_itowa): Likewise.
61908         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61909         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61911 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61913         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61914         struct La_sh_regs is not constant.
61915         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61916         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61917         and struct La_sparc64_regs are not constant.
61919 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61921         * sysdeps/unix/sysv/linux/kernel-features.h
61922         (__ASSUME_POSIX_TIMERS): Remove.
61923         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61924         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61925         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61926         Make code unconditional.
61927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61928         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61929         Make code unconditional.
61930         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61931         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61932         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61933         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61934         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61935         Make code unconditional.
61936         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61937         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61938         (__libc_missing_posix_timers): Remove.
61940 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61942         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61943         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61945         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61947         * elf/dl-sym.c: Include <stdlib.h>.
61949         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61950         constants, which avoids warnings in 32-bit builds.
61952         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61953         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61955         * misc/lseek.c: File moved to ...
61956         * io/lseek.c: ... here.
61958         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61960         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61961         shifting LEN more than 31 bits at once.
61963 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61965         [BZ #14195]
61966         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61967         segmentation fault for a case of two empty input strings.
61968         * string/test-strncasecmp.c (check1): Renamed to...
61969         (bz12205): ...this.
61970         (bz14195): Add new testcase for two empty input strings and N > 0.
61971         (test_main): Call new testcase, adapt for renamed function.
61973 2012-08-15  Andreas Jaeger  <aj@suse.de>
61975         [BZ #14090]
61976         * crypt/md5test2.c: New test, based on test supplied by Serge
61977         Belyshev <belyshev@depni.sinp.msu.ru>.
61978         * crypt/Makefile (xtests): Add md5test-giant..
61979         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61981 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61983         [BZ #14090]
61984         * crypt/md5.c (md5_process_block): Don't assume the buffer
61985         length is less than 2**32.
61986         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61987         length is less than 2**64.
61989 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61991         * string/str-two-way.h: Include <sys/param.h>.
61992         (MAX): Macro removed.
61994         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61995         Move #define and #undef of memmove to just before and after
61996         including <string.h>.
61998         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61999         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62000         and after including <string.h>.  Move declarations of
62001         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62002         to before #include "string/memmove.c".
62004         * include/dirent.h: Declare __getdirentries.
62006         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62007         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62009 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62011         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62012         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62013         * sysdeps/i386/configure: Regenerated.
62014         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62015         STABS_CURRENT_FILE, and STABS_FUN.
62016         (END): Remove call to STABS_FUN_END.
62017         (STABS_CURRENT_FILE1): Delete.
62018         (STABS_CURRENT_FILE): Likewise.
62019         (STABS_FUN): Likewise.
62020         (STABS_FUN_END): Likewise.
62021         (STABS_FUN2): Likewise.
62022         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62023         * sysdeps/x86_64/configure: Regenerated.
62025 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62027         * elf/dl-open.c: Include <atomic.h>.
62028         * elf/dl-lookup.c: Likewise.
62030 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62032         * sysdeps/unix/sysv/linux/kernel-features.h
62033         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62034         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62035         unconditionally.
62036         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62037         unconditionally.
62038         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62039         condition on __ASSUME_CLONE_THREAD_FLAGS.
62041 2012-08-14  Andreas Jaeger  <aj@suse.de>
62043         * sysdeps/i386/fpu/libm-test-ulps: Update.
62045 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62047         * include/atomic.h (atomic_exchange_and_add): Split into ...
62048         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62049         New atomic macros.
62051 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62055 2012-08-13  Jeff Law <law@redhat.com>
62057         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62058         null byte in the output string.
62060 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62062         * sysdeps/unix/sysv/linux/kernel-features.h
62063         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62064         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62065         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62066         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62067         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62068         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62069         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62071 2012-08-09  Jeff Law <law@redhat.com>
62073         [BZ #13939]
62074         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62075         When avoid_arena is set, don't retry in the that arena.  Pick the
62076         next one, whatever it might be.
62077         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62078         (arena_lock): Pass in new parameter to arena_get2.
62079         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62080         arena_get2.
62081         (__libc_malloc): Unify retrying after main arena failure with
62082         __libc_memalign version.
62083         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62085 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62087         [BZ #14166]
62088         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62089         to __redirect_strstr.
62090         (__strstr_sse42): Use typeof __redirect_strstr.
62091         (__strstr_ia32): Likewise.
62092         (__libc_strstr): New prototype.
62093         (strstr): Renamed to ...
62094         (__libc_strstr): This.
62095         (strstr): New strong alias of __libc_strstr.
62096         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62097         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62098         __redirect_time.
62099         Include <time.h>.
62100         (__libc_time): New prototype.
62101         (time_ifunc): Replace time with __libc_time.
62102         (time): New strong alias and hidden definition of __libc_time.
62103         (__GI_time): Remove strong alias.
62104         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62105         Include <stddef.h>.
62106         (memmove): Redefined to __redirect_memmove.
62107         (__memmove_sse2): Use typeof __redirect_memmove.
62108         (__memmove_ssse3): Likewise.
62109         (__memmove_ssse3_back): Likewise.
62110         (__libc_memmove): New prototype.
62111         (memmove): Renamed to ...
62112         (__libc_memmove): This.
62113         (memmove): New strong alias of __libc_memmove.
62115 2012-08-08  Mark Salter  <msalter@redhat.com>
62117         * elf/elf.h
62118         (R_MN10300_TLS_GD): Define.
62119         (R_MN10300_TLS_LD): Likewise.
62120         (R_MN10300_TLS_LDO): Likewise.
62121         (R_MN10300_TLS_GOTIE): Likewise.
62122         (R_MN10300_TLS_IE): Likewise.
62123         (R_MN10300_TLS_LE): Likewise.
62124         (R_MN10300_TLS_DTPMOD): Likewise.
62125         (R_MN10300_TLS_DTPOFF): Likewise.
62126         (R_MN10300_TLS_TPOFF): Likewise.
62127         (R_MN10300_SYM_DIFF): Likewise.
62128         (R_MN10300_ALIGN): Likewise.
62129         (R_MN10300_NUM): Update.
62131 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62133         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62134         Remove.
62136 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62138         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62140         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62141         sysdeps/unix -> sysdeps/posix move.
62142         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62144 2012-08-07      Allan McRae     <allan@archlinux.org>
62146         [BZ #14303]
62147         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62148         (SUNOS_CPP): Likewise.
62149         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62150         not found.
62151         (open_input): Call CPP using execvp.
62153 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62155         * sysdeps/unix/sysv/linux/kernel-features.h
62156         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62157         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62158         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62159         (__ASSUME_WAITID_SYSCALL): Likewise.
62160         * sysdeps/unix/sysv/linux/dl-execstack.c
62161         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62162         code unconditional.
62163         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62164         conditional code.
62165         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62166         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62167         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62168         code.
62169         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62170         unconditional.
62171         [__ASSUME_WAITID_SYSCALL]: Likewise.
62172         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62174 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62176         * sysdeps/unix/closedir.c: Renamed to ...
62177         * sysdeps/posix/closedir.c: ... here.
62178         * sysdeps/unix/dirfd.c: Renamed to ...
62179         * sysdeps/posix/dirfd.c: ... here.
62180         * sysdeps/unix/dirstream.h: Renamed to ...
62181         * sysdeps/posix/dirstream.h: ... here.
62182         * sysdeps/unix/fdopendir.c: Renamed to ...
62183         * sysdeps/posix/fdopendir.c: ... here.
62184         * sysdeps/unix/opendir.c: Renamed to ...
62185         * sysdeps/posix/opendir.c: ... here.
62186         * sysdeps/unix/readdir.c: Renamed to ...
62187         * sysdeps/posix/readdir.c: ... here.
62188         * sysdeps/unix/readdir_r.c: Renamed to ...
62189         * sysdeps/posix/readdir_r.c: ... here.
62190         * sysdeps/unix/rewinddir.c: Renamed to ...
62191         * sysdeps/posix/rewinddir.c: ... here.
62192         * sysdeps/unix/seekdir.c: Renamed to ...
62193         * sysdeps/posix/seekdir.c: ... here.
62194         * sysdeps/unix/telldir.c: Renamed to ...
62195         * sysdeps/posix/telldir.c: ... here.
62196         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62197         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62198         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62199         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62201         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62202         * bits/fcntl.h: ... here.
62204         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62205         not 0.
62206         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62207         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62208         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62209         (struct flock): Move l_start, l_len to the beginning.
62210         Use __pid_t for l_pid.
62211         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62212         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62213         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62214         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62215         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62216         [__USE_LARGEFILE64] (struct flock64): New type.
62217         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62219         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62220         * bits/dirent.h: ... here.
62222         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62223         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62225 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62228         Change from 2.6.0 to 2.6.16.
62229         * sysdeps/unix/sysv/linux/configure: Regenerated.
62230         * sysdeps/unix/sysv/linux/kernel-features.h
62231         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62232         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62233         version.
62234         (__ASSUME_UTIMES): Likewise.
62235         (__ASSUME_CLONE_STOPPED): Remove.
62236         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62237         architectures, not kernel version.
62238         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62239         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62240         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62241         (__ASSUME_WAITID_SYSCALL): Likewise.
62242         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62243         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62244         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62245         refer to older versions.
62247 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62249         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62250         Define alphasort64 as an alias.
62251         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62252         Define versionsort64 as an alias.
62253         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62254         Define scandir64 as an alias.
62255         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62256         Define scandirat64 as an alias.
62257         * dirent/alphasort64.c (alphasort64):
62258         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62259         * dirent/versionsort64.c: Likewise.
62260         * dirent/scandir64.c: Likewise.
62261         * dirent/scandirat64.c: Likewise.
62262         * sysdeps/wordsize-64/alphasort.c: File removed.
62263         * sysdeps/wordsize-64/alphasort64.c: File removed.
62264         * sysdeps/wordsize-64/scandir.c: File removed.
62265         * sysdeps/wordsize-64/scandir64.c: File removed.
62266         * sysdeps/wordsize-64/scandirat.c: File removed.
62267         * sysdeps/wordsize-64/scandirat64.c: File removed.
62268         * sysdeps/wordsize-64/versionsort.c: File removed.
62269         * sysdeps/wordsize-64/versionsort64.c: File removed.
62270         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62271         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62272         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62273         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62274         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62275         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62276         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62277         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62279         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62281         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62283         [defined __arch64__ || defined __sparcv9]
62284         (__INO_T_MATCHES_INO64_T): New macro.
62285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62286         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62287         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62288         * sysdeps/unix/sysv/linux/bits/dirent.h
62289         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62290         (_DIRENT_MATCHES_DIRENT64): New macro.
62292         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62293         Define lockf64 as an alias.
62294         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62295         Define fseeko64 as an alias.
62296         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62297         Define ftello64 as an alias.
62298         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62299         Define _IO_fgetpos64 and fgetpos64 as aliases.
62300         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62301         Define _IO_fsetpos64 and fsetpos64 as aliases.
62302         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62303         Conditionalize body on this.
62304         * libio/fseeko64.c: Likewise.
62305         * libio/ftello64.c: Likewise.
62306         * libio/iofgetpos64.c: Likewise.
62307         * libio/iofsetpos64.c: Likewise.
62308         * sysdeps/wordsize-64/lockf.c: File removed.
62309         * sysdeps/wordsize-64/lockf64.c: File removed.
62310         * sysdeps/wordsize-64/fseeko.c: File removed.
62311         * sysdeps/wordsize-64/fseeko64.c: File removed.
62312         * sysdeps/wordsize-64/ftello.c: File removed.
62313         * sysdeps/wordsize-64/ftello64.c: File removed.
62314         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62315         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62316         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62317         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62318         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62319         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62320         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62322         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62324         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62325         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62326         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62327         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62329         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62330         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62331         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62333         [defined __arch64__ || defined __sparcv9]
62334         (__OFF_T_MATCHES_OFF64_T): New macro.
62335         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62336         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62338         (__OFF_T_MATCHES_OFF64_T): New macro.
62340 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62342         * stdlib/secure-getenv.c (__secure_getenv): Replace
62343         GLIBC_2_16 with GLIBC_2_17.
62345 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62347         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62348         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62350 2012-08-03  David S. Miller  <davem@davemloft.net>
62352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62354 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62356         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62357         Remove.
62358         (__ASSUME_CORRECT_SI_PID): Likewise.
62359         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62360         (__ASSUME_TMPFS_NAME): Likewise.
62361         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62362         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62363         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62364         (HAVE_AUX_SECURE): Make definition unconditional.
62365         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62366         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62368 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62370         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62371         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62372         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62373         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62374         __eloop_threshold instead of SYMLOOP_MAX.
62376         * sysdeps/generic/eloop-threshold.h: New file.
62377         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62378         of MAXSYMLINKS.
62379         * elf/chroot_canon.c (chroot_canon): Likewise.
62381 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62383         [BZ #13717]
62384         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62385         Change to 2.6.0 everywhere.
62386         * sysdeps/unix/sysv/linux/configure: Regenerated.
62387         * sysdeps/unix/sysv/linux/kernel-features.h
62388         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62389         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62390         kernel versions.
62391         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62392         (__ASSUME_FUTEX_REQUEUE): Remove.
62393         (__ASSUME_STATFS64): Define unconditionally.
62394         (__ASSUME_AT_SECURE): Likewise.
62395         (__ASSUME_CORRECT_SI_PID): Likewise.
62396         (__ASSUME_TGKILL): Define without depending on kernel version for
62397         i386.
62398         (__ASSUME_UTIMES): Likewise.
62399         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62400         kernel version.
62401         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62402         (__ASSUME_TMPFS_NAME): Likewise.
62403         * README: Update reference to Linux kernel versions.
62405 2012-08-02  Marek Polacek  <polacek@redhat.com>
62407         [BZ# 14150]
62408         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62409         libc_cv_asm_type_prefix with %.
62410         * configure: Regenerated.
62411         * include/libc-symbols.h: Remove comment about
62412         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62413         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62414         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62415         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62416         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62417         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62418         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62419         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62420         * elf/tst-unique2mod1.c: Likewise.
62421         * elf/tst-unique1mod2.c: Likewise.
62422         * elf/tst-unique1mod1.c: Likewise.
62423         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62424         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62425         Replace ASM_TYPE_DIRECTIVE with .type.
62426         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62427         * sysdeps/i386/sysdep.h: Likewise.
62428         * sysdeps/x86_64/sysdep.h: Likewise.
62429         * sysdeps/sh/sysdep.h: Likewise.
62430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62431         Do not define ASM_TYPE_DIRECTIVE.
62432         * sysdeps/powerpc/sysdep.h: Likewise.
62433         * sysdeps/powerpc/powerpc32/sysdep.h:
62434         Replace ASM_TYPE_DIRECTIVE with .type.
62435         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62436         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62437         * sysdeps/i386/fpu/e_powf.S: Likewise.
62438         * sysdeps/i386/fpu/e_expl.S: Likewise.
62439         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62440         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62441         * sysdeps/i386/fpu/e_pow.S: Likewise.
62442         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62443         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62444         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62445         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62446         * sysdeps/i386/fpu/e_log2.S: Likewise.
62447         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62448         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62449         * sysdeps/i386/fpu/e_powl.S: Likewise.
62450         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62451         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62452         * sysdeps/i386/fpu/e_logl.S: Likewise.
62453         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62454         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62455         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62456         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62457         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62458         * sysdeps/i386/fpu/e_log.S: Likewise.
62459         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62460         * sysdeps/i386/fpu/e_logf.S: Likewise.
62461         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62462         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62463         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62464         * sysdeps/i386/fpu/e_log10.S: Likewise.
62465         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62466         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62467         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62468         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62469         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62470         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62471         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62472         * sysdeps/i386/i686/strtok.S: Likewise.
62473         * sysdeps/i386/i386-mcount.S: Likewise.
62474         * sysdeps/i386/strtok.S: Likewise.
62475         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62476         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62477         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62478         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62479         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62480         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62481         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62482         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62483         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62484         * sysdeps/x86_64/_mcount.S: Likewise.
62485         * sysdeps/x86_64/strtok.S: Likewise.
62486         * sysdeps/sh/_mcount.S: Likewise.
62488 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62490         * libio/iofopen.c: Include <fcntl.h>.
62491         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62492         (_IO_fopen64, fopen64): Define as aliases.
62493         * libio/iofopen64.c: Include <fcntl.h>.
62494         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62495         Conditionalize body on this.
62496         * sysdeps/wordsize-64/iofopen.c: File removed.
62497         * sysdeps/wordsize-64/iofopen64.c: File removed.
62499 2012-08-01  Marek Polacek  <polacek@redhat.com>
62501         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62502         Use dlfcn directly instead of a variable.
62503         (binfmt-subdir): Do not define.
62504         (dlfcn): Likewise.
62506 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62509         Remove all definitions.
62510         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62511         <kernel-features.h>.
62512         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62513         (miss_F_GETOWN_EX): Remove all definitions.
62514         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62515         macro definition.
62516         [!__ASSUME_FCNTL64]: Remove conditional code.
62517         [__ASSUME_FCNTL64]: Make code unconditional.
62518         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62519         <kernel-features.h>.
62520         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62521         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62522         (lockf64) [__NR_fcntl64]: Make code unconditional.
62523         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62525         * sysdeps/unix/sysv/linux/kernel-features.h
62526         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62527         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62528         Make code unconditional.
62529         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62530         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62532         [__NR_vfork]: Make code unconditional.
62533         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62534         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62536         [__NR_vfork]: Make code unconditional.
62537         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62538         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62540 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62542         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62543         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62545         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62546         Define mkstemp64 as an alias.
62547         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62548         Define mkstemps64 as an alias.
62549         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62550         Define mkostemp64 as an alias.
62551         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62552         Define mkostemps64 as an alias.
62553         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62554         Conditionalize body on this.
62555         * misc/mkostemp64.c: Likewise.
62556         * misc/mkostemps64.c: Likewise.
62557         * misc/mkstemps64.c: Likewise.
62558         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62559         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62560         * sysdeps/wordsize-64/mkostemp.c: File removed.
62561         * sysdeps/wordsize-64/mkstemp.c: File removed.
62562         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62563         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62564         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62565         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62567         [BZ #14138]
62568         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62569         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62570         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62571         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62573         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62574         compat_symbol macros from <shlib-compat.h> rather than the underlying
62575         default_symbol_version and symbol_version macros, so that DEFAULT
62576         lines in shlib-versions are respected.
62577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62579 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62581         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62582         Declare with warn_unused_result.
62583         (setgid, setregid, setegid, setresgid): Likewise.
62584         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62585         Likewise.
62586         * WUR-REPORT: Remove set*id functions.
62588 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62590         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62592 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62594         [BZ #10191]
62595         * include/sys/socket.h (__libc_accept, __libc_accept4):
62596         Add attribute_hidden.
62597         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62599         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62600         use of PTR_MANGLE.
62601         * inet/getnetgrent_r.c (setup): Likewise.
62603         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62605 2012-07-31  David S. Miller  <davem@davemloft.net>
62607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62609 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62611         [BZ #13629]
62612         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62613         value between 1.0 and 2.0 and smaller part has absolute value less
62614         than 1.0.
62615         * math/s_clog10.c (__clog10): Likewise.
62616         * math/s_clog10f.c (__clog10f): Likewise.
62617         * math/s_clog10l.c (__clog10l): Likewise.
62618         * math/s_clogf.c (__clogf): Likewise.
62619         * math/s_clogl.c (__clogl): Likewise.
62620         * math/libm-test.inc (clog_test): Add more tests.
62621         (clog10_test): Likewise.
62622         * sysdeps/i386/fpu/libm-test-ulps: Update.
62623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62625 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62627         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62628         Exit with zero in case no suitable GID is found, and write a
62629         message to standard error.
62631 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62633         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62634         rather than to 1.
62635         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62636         (MAXPATHLEN): Removed.
62637         (NOGROUP, NODEV): New macros.
62638         (setbit, clrbit, isset, isclr): New macros.
62639         (howmany, roundup, powerof2): New macros.
62640         (DEV_BSIZE): New macro.
62642         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62643         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62645         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62646         definition on [!__NO_LONG_DOUBLE_MATH].
62648         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62649         PTR_MANGLE and PTR_DEMANGLE.
62651         * socket/accept4.c (accept4): Rename to __libc_accept4.
62652         Define accept4 as a weak alias.
62654         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62655         on [_DIRENT_HAVE_D_TYPE].
62656         * io/ftw.c (ftw_dir): Likewise.
62658         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62660         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62662         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62663         Use the BSD numbers rather than the arbitrary ones we had.
62664         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62665         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62666         (SIGXCPU, SIGXFSZ): New macros.
62667         (_NSIG): Now 32.
62669         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62670         initializer on [_LIBC_REENTRANT].
62672         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62673         definitions inside [_POSIX_MAPPED_FILES].
62675         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62677         * dirent/opendir.c: Include <fcntl.h>.
62679         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62680         (__libc_getspecific): Likewise.
62681         (__libc_key_create): Likewise.
62683         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62684         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62685         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62686         (tmpfile64): Define as alias.
62687         * sysdeps/wordsize-64/tmpfile.c: File removed.
62688         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62689         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62690         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62692         * stdio-common/vfscanf.c: Include <stdbool.h>.
62693         * nss/makedb.c: Likewise.
62694         * stdio-common/_i18n_number.h: Likewise.
62695         * argp/argp-help.c: Likewise.
62696         * posix/wordexp.c: Likewise.
62697         * sysdeps/posix/spawni.c: Likewise.
62698         * nss/nss_files/files-initgroups.c: Likewise.
62699         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62700         * nss/nss_files/files-initgroups.c: Likewise.
62701         * nss/nss_db/db-netgrp.c: Likewise.
62702         * nss/nss_db/db-initgroups.c: Likewise.
62703         * io/fchmodat.c: Include <sys/stat.h>.
62705         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62706         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62708         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62709         [HAVE_MMAP].
62711         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62712         Add multiple inclusion protection.
62714 2012-07-27  David S. Miller  <davem@davemloft.net>
62716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62718 2012-07-27  Gary Benson  <gbenson@redhat.com>
62720         [BZ #14298]
62721         * elf/rtld.c: Include <stap-probe.h>.
62722         (dl_main): Added static probes "init_start" and "init_complete".
62723         * elf/dl-load.c: Include <stap-probe.h>.
62724         (lose): Take new parameter "nsid".
62725         Added static probe "map_failed".
62726         (_dl_map_object_from_fd): Pass namespace id to lose.
62727         Added static probe "map_start".
62728         (open_verify): Pass namespace id to lose.
62729         * elf/dl-open.c: Include <stap-probe.h>.
62730         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62731         and "reloc_complete".
62732         * elf/dl-close.c: Include <stap-probe.h>.
62733         (_dl_close_worker): Added static probes "unmap_start" and
62734         "unmap_complete".
62735         * elf/rtld-debugger-interface.txt: New file documenting the above.
62737 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62739         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62740         rather than a string variable.
62741         * sunrpc/rpc_main.c (h_output): Likewise.
62742         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62744 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62746         * inet/check_native.c: New file.
62748 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62750         [BZ #13629]
62751         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62752         if larger part has absolute value 1.0.
62753         * math/s_clog10.c (__clog10): Likewise.
62754         * math/s_clog10f.c (__clog10f): Likewise.
62755         * math/s_clog10l.c (__clog10l): Likewise.
62756         * math/s_clogf.c (__clogf): Likewise.
62757         * math/s_clogl.c (__clogl): Likewise.
62758         * math/libm-test.inc (clog_test): Add more tests.
62759         (clog10_test): Likewise.
62760         * sysdeps/i386/fpu/libm-test-ulps: Update.
62761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62763         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62764         (pltexit): Likewise.
62765         (La_regs): Likewise.
62766         (La_retval): Likewise.
62767         (int_retval): Likewise.
62768         Update #error for removed macros to refer only to definitions in
62769         tst-audit.h.
62770         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62771         macro.
62772         (pltexit): Likewise.
62773         (La_regs): Likewise.
62774         (La_retval): Likewise.
62775         (int_retval): Likewise.
62776         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62777         macro.
62778         (pltexit): Likewise.
62779         (La_regs): Likewise.
62780         (La_retval): Likewise.
62781         (int_retval): Likewise.
62782         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62783         macro.
62784         (pltexit): Likewise.
62785         (La_regs): Likewise.
62786         (La_retval): Likewise.
62787         (int_retval): Likewise.
62788         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62789         macro.
62790         (pltexit): Likewise.
62791         (La_regs): Likewise.
62792         (La_retval): Likewise.
62793         (int_retval): Likewise.
62794         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62795         macro.
62796         (pltexit): Likewise.
62797         (La_regs): Likewise.
62798         (La_retval): Likewise.
62799         (int_retval): Likewise.
62800         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62801         macro.
62802         (pltexit): Likewise.
62803         (La_regs): Likewise.
62804         (La_retval): Likewise.
62805         (int_retval): Likewise.
62806         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62807         macro definitions in tst-audit.h.
62808         * sysdeps/i386/tst-audit.h: New file.
62809         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62810         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62811         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62812         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62813         * sysdeps/sh/tst-audit.h: Likewise.
62814         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62815         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62816         * sysdeps/x86_64/tst-audit.h: Likewise.
62818 2012-07-26  Andreas Jaeger  <aj@suse.de>
62820         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62821         ptrace.
62823         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62824         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62825         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62826         PTRACE_O_MASK.
62827         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62828         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62829         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62831         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62832         value.
62834         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62835         _sigsys.
62836         (si_call_addr, si_syscall, si_arch): Define new macro.
62837         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62838         _sigsys.
62839         (si_call_addr, si_syscall, si_arch): Define new marcro.
62840         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62841         _sigsys.
62842         (si_call_addr, si_syscall, si_arch): Define new macro.
62843         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62844         _sigsys.
62845         (si_call_addr, si_syscall, si_arch): Define new macro.
62847 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62849         [BZ #13717]
62850         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62851         Change to 2.4.21 where previously 2.4.1.
62852         * sysdeps/unix/sysv/linux/configure: Regenerated.
62853         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62854         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62855         Linux kernel version.
62856         (__ASSUME_STD_AUXV): Remove.
62857         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62858         kernel version.
62859         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62860         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62861         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62862         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62863         (__ASSUME_NETLINK_SUPPORT): Likewise.
62864         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62865         (__no_netlink_support): Remove conditional definition.
62866         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62867         Remove.
62868         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62869         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62870         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62871         (if_nameindex_ioctl): Remove.
62872         (if_nameindex_netlink): Do not handle __no_netlink_support.
62873         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62874         code.
62875         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62876         Remove conditional code.
62877         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62878         code.
62879         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62880         unconditional.
62881         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62882         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62883         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62884         Remove.
62885         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62886         [!__ASSUME_STD_AUXV]: Remove conditional code.
62887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62888         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62889         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62891         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62892         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62893         code.
62894         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62896         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62897         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62898         conditional code.
62899         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62901         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62902         code.
62903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62904         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62905         conditional code.
62906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62907         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62908         code unconditional.
62909         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62910         conditional code.
62911         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62912         unconditional.
62913         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62914         conditional code.
62915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62916         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62917         unconditional.
62918         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62919         conditional code.
62920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62921         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62922         code unconditional.
62923         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62924         conditional code.
62925         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62926         unconditional.
62927         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62928         conditional code.
62929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62930         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62931         code unconditional.
62932         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62933         conditional code.
62934         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62935         unconditional.
62936         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62937         conditional code.
62939 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62941         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62942         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62943         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62944         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62945         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62946         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62947         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62948         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62949         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62950         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62951         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62952         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62953         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62954         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62955         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62956         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62957         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62958         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62959         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62961         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62962         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62963         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62965 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62967         * Versions.def: Add GLIBC_2.17.
62968         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62969         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62970         Introduce __libc_secure_getenv.
62971         * stdlib/Versions (2.17): Add secure_getenv
62972         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62973         * stdlib/secure-getenv.c: Rename __secure_getenv to
62974         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62975         symbol __secure_getenv for GLIBC_2.0.
62976         * stdlib/tst-secure-getenv.c: New.
62977         * stdlib/Makefile (tests): Add testcase.
62978         * manual/startup.texi (Environment Access): Document
62979         secure_getenv.
62980         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62981         __libc_secure_getenv.
62982         * inet/ruserpass.c (ruserpass): Likewise.
62983         * malloc/mtrace.c (mtrace): Likewise.
62984         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62985         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62986         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62987         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62988         HAVE_SECURE_GETENV.
62989         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62990         __secure_getenv to __libc_secure_getenv.
62991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62993         Likewise.
62994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62995         Likewise.
62996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63004 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63006         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63007         (struct La_i86_retval): Likewise.
63008         (struct La_x86_64_regs): Likewise.
63009         (struct La_x86_64_retval): Likewise.
63010         (struct La_x32_regs): Likewise.
63011         (struct La_x32_retval): Likewise.
63012         (struct La_ppc32_regs): Likewise.
63013         (struct La_ppc32_retval): Likewise.
63014         (struct La_ppc64_regs): Likewise.
63015         (struct La_ppc64_retval): Likewise.
63016         (struct La_sh_regs): Likewise.
63017         (struct La_sh_retval): Likewise.
63018         (struct La_s390_32_regs): Likewise.
63019         (struct La_s390_32_retval): Likewise.
63020         (struct La_s390_64_regs): Likewise.
63021         (struct La_s390_64_retval): Likewise.
63022         (struct La_sparc32_regs): Likewise.
63023         (struct La_sparc32_retval): Likewise.
63024         (struct La_sparc64_regs): Likewise.
63025         (struct La_sparc64_retval): Likewise.
63026         (struct audit_ifaces): Remove architecture-specific pltenter and
63027         pltexit members.
63028         * sysdeps/i386/ldsodefs.h: New file.
63029         * sysdeps/powerpc/ldsodefs.h: Likewise.
63030         * sysdeps/s390/ldsodefs.h: Likewise.
63031         * sysdeps/sh/ldsodefs.h: Likewise.
63032         * sysdeps/sparc/ldsodefs.h: Likewise.
63033         * sysdeps/x86_64/ldsodefs.h: Likewise.
63035 2012-07-25  Marek Polacek  <polacek@redhat.com>
63037         [BZ #6808]
63038         * math/libm-test.inc (yn_test): Add another test.
63039         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63040         to ERANGE when the result is +-Inf.
63041         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63042         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63043         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63044         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63046 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63048         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63049         equal to 0.
63050         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63051         clock_t.
63052         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63054 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63056         * configure.in <sysdeps resolving>: Correct printing
63057         Implies_before.
63058         * configure: Regenerate.
63060 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63062         * math/w_ilogb.c: Include <limits.h>.
63063         * math/w_ilogbl.c: Likewise.
63065 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63067         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63068         va_copy.  Document allowing for unavailable va_copy only as
63069         pre-C99 compatibility.
63070         * manual/string.texi (Copying and Concatenation): Use va_copy
63071         instead of __va_copy in concat example.
63073 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63075         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63076         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63077         it if not null.
63079         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63080         with O_NOLINK passed to __file_name_lookup.
63082         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63083         with O_NOLINK passed to __file_name_lookup.
63085         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63086         negative N or less than NGIDS.
63088         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63089         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63090         enough.  Use memcpy instead of strncpy.
63092 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63094         * elf/Makefile (check-data): Remove.
63095         (localplt.data): New vpath directive.
63096         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63097         instead of $(check-data).
63098         * scripts/data/localplt-generic.data: Move to ...
63099         * sysdeps/generic/localplt.data: ... here.
63100         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63101         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63102         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63104         ... here.
63105         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63107         ... here.
63108         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63110         ... here.
63111         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63113         ... here.
63114         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63116         ... here.
63117         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63119         ... here.
63121 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63123         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63124         PPC32 and PPC64 files.
63125         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63126         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63128 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63130         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63131         __makecontext_ret to ...
63132         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63133         ... here and call exit if uc_link is NULL.  New file.
63134         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63135         __makecontext_ret.S.
63136         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63137         __makecontext_ret to ...
63138         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63139         ... here and call exit if uc_link is NULL.  New file.
63140         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63141         __makecontext_ret.S.
63143 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63145         * elf/elf.h (R_390_IRELATIVE): New definition.
63146         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63147         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63148         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63149         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63150         (elf_machine_lazy_rel): Likewise.
63151         * sysdeps/s390/dl-irel.h: New file.
63152         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63153         * sysdeps/s390/s390-64/memset.S: New asm code.
63154         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63155         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63157         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63158         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63159         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63160         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63161         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63162         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63163         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63164         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63165         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63166         * sysdeps/s390/s390-32/memset.S: New asm code.
63167         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63169 2012-07-17  Marek Polacek  <polacek@redhat.com>
63171         [BZ #14349]
63172         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63173         * sysdeps/s390/s390-64/configure.in: Likewise.
63174         * sysdeps/sparc/configure.in: Likewise.
63175         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63176         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63177         * sysdeps/i386/configure.in: Likewise.
63178         * sysdeps/x86_64/configure.in: Likewise.
63179         * sysdeps/sh/configure.in: Likewise.
63180         * sysdeps/s390/s390-32/configure: Regenerated.
63181         * sysdeps/s390/s390-64/configure: Likewise.
63182         * sysdeps/x86_64/configure: Likewise.
63183         * sysdeps/sh/configure: Likewise.
63184         * sysdeps/powerpc/powerpc64/configure: Likewise.
63185         * sysdeps/powerpc/powerpc32/configure: Likewise.
63186         * sysdeps/sparc/configure: Likwise.
63187         * sysdeps/i386/configure: Likewise.
63189         * elf/dl-open.c: Comment fixes.
63191 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63193         * Makefile [CXX] (check-data): Remove.
63194         [CXX] (c++-types.data): New vpath directive.
63195         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63196         vpath.  Do not allow for C++ type data being missing.
63197         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63198         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63199         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63200         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63201         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63202         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63203         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63205         ... here.
63206         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63208         ... here.
63209         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63211         ... here.
63212         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63214         ... here.
63215         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63217         ... here.
63218         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63220         ... here.
63221         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63223         ... here.
63224         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63227         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63228         definitions to architecture-specific files.
63229         (TLS_IE): Likewise.
63230         (TLS_LD): Likewise.
63231         (TLS_GD): Likewise.
63232         * sysdeps/i386/tls-macros.h: New file.
63233         * sysdeps/powerpc/tls-macros.h: Likewise.
63234         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63235         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63236         * sysdeps/sh/tls-macros.h: Likewise.
63237         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63238         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63239         * sysdeps/x86_64/tls-macros.h: Likewise.
63241 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63243         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63244         zero value for regular exit case.
63246         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63247         (__start_context): Preserve zero value for regular exit case.
63249 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63250             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63252         * manual/setjmp.texi (setcontext): Clarify normal process
63253         termination when uc_link is the null pointer.
63254         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63255         exit call.
63257 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63259         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63260         preprocessor.  Test for each exception mask separately.
63262 2012-07-16  Andreas Jaeger  <aj@suse.de>
63264         * po/ru.po: Update from translation team.
63266 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63268         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63269         equal to 0.
63270         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63271         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63272         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63273         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63276 2012-07-13  Andreas Jaeger  <aj@suse.de>
63278         * po/fr.po: Update from translation team.
63280 2012-07-12  Marek Polacek  <polacek@redhat.com>
63282         [BZ #14173]
63283         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63285         loop condition.
63287 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63289         [BZ #13717]
63290         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63291         Change to 2.4.1 where previously 2.4.0.
63292         * sysdeps/unix/sysv/linux/configure: Regenerated.
63293         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63294         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63295         version.
63296         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63297         (__ASSUME_AT_CLKTCK): Remove.
63298         (__ASSUME_AT_PAGESIZE): Likewise.
63299         (__ASSUME_AT_XID): Likewise.
63300         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63301         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63302         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63303         unconditionally.
63304         (HAVE_AUX_PAGESIZE): Likewise.
63305         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63306         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63307         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63309 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63311         [BZ #14307]
63312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63313         the temporary buffer used to invoke __gethostbyname2_r,
63314         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63315         host_data / struct gaih_addrtuple.
63316         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63317         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63318         header file nss/nsswitch.h.
63319         * nss/nsswitch.h (global scope): Add definition of implementation
63320         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63321         resolv/nss_dns/dns-host.c).
63323 2012-07-11  Andreas Jaeger  <aj@suse.de>
63325         * po/fr.po: Update from translation team.
63327         * po/sv.po: Update from translation team
63328         * po/fr.po: Another update from translation team.
63330 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63332         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63333         for subnormals or multiply small sinh result by itself.
63334         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63337 2012-07-11  David S. Miller  <davem@davemloft.net>
63339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63341 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63343         [BZ #14347]
63344         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63345         (INTERNAL_MARK): Shift it here.
63347 2012-07-10  Marek Polacek  <polacek@redhat.com>
63349         [BZ #14151]
63350         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63351         libc_cv_asm_global_directive with .globl.
63352         * configure: Regenerated.
63353         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63354         with .globl.
63355         * sysdeps/i386/configure: Regenerated.
63356         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63357         with .globl.
63358         * sysdeps/x86_64/configure: Regenerated.
63359         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63360         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63361         * elf/tst-unique2mod2.c: Likewise.
63362         * elf/tst-unique2mod1.c: Likewise.
63363         * elf/tst-unique1mod2.c: Likewise.
63364         * elf/tst-unique1mod1.c: Likewise.
63365         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63366         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63367         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63368         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63369         * sysdeps/mach/sysdep.h: Likewise.
63370         * sysdeps/i386/sysdep.h: Likewise.
63371         * sysdeps/i386/i386-mcount.S: Likewise.
63372         * sysdeps/x86_64/_mcount.S: Likewise.
63373         * sysdeps/x86_64/sysdep.h: Likewise.
63374         * sysdeps/sh/_mcount.S: Likewise.
63375         * sysdeps/sh/sysdep.h: Likewise.
63376         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63377         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63378         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63379         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63380         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63381         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63382         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63383         * locale/localeinfo.h: Likewise.
63384         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63385         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63387 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63389         [BZ #14336]
63390         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63391         system".
63392         * manual/message.texi (The Uniforum approach): Likewise.
63393         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63394         (glibc iconv Implementation): Likewise.
63396 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63398         [BZ #14337]
63399         * math/s_clog.c (__clog): Avoid scaling a value down where that
63400         could result in underflow.
63401         * math/s_clog10.c (__clog10): Likewise.
63402         * math/s_clog10f.c (__clog10f): Likewise.
63403         * math/s_clog10l.c (__clog10l): Likewise.
63404         * math/s_clogf.c (__clogf): Likewise.
63405         * math/s_clogl.c (__clogl): Likewise.
63406         * math/libm-test.inc (clog_test): Add more tests.
63407         (clog10_test): Likewise.
63408         * sysdeps/i386/fpu/libm-test-ulps: Update.
63409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63411 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63413         [BZ #14283]
63414         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63415         by 7 not 8 to examine high bit of fractional part.
63417         [BZ #14042]
63418         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63419         for call to __mcount_internal.
63420         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63421         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63422         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63424 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63426         [BZ #14154]
63427         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63428         approximation for values within 0x1p-13f of an odd multiple of
63429         pi/4.
63430         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63431         exception.  Add more tests.
63432         * sysdeps/i386/fpu/libm-test-ulps: Update.
63434         [BZ #6778]
63435         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63436         inputs and return -1 for them.  Do not check for +Inf in case not
63437         reachable for +Inf.
63438         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63439         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63440         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63441         and return -1 for them.  Do not check for +Inf in case not
63442         reachable for +Inf.
63443         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63444         define.
63445         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63446         and return -1 for them.  Do not check for +Inf in case not
63447         reachable for +Inf.
63448         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63449         spurious underflow.
63450         * sysdeps/i386/fpu/libm-test-ulps: Update.
63451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63453 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63455         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63457 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63459         [BZ #14157]
63460         [BZ #14331]
63461         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63462         could result in spurious underflow.  Scale down values above
63463         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63464         * math/s_csqrtf.c (__csqrtf): Likewise.
63465         * math/s_csqrtl.c (__csqrtl): Likewise.
63466         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63467         spurious underflow.
63468         * sysdeps/i386/fpu/libm-test-ulps: Update.
63469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63471 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63473         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63474         xopen-msg.sed.
63475         * catgets/xopen-msg.awk: New file.
63476         * catgets/xopen-msg.sed: Removed.
63478         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63479         po2text.sed.
63480         * intl/po2test.awk: New file.
63481         * intl/po2test.sed: Removed.
63483 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63485         [BZ #14328]
63486         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63487         or multiply small sinh result by itself.
63488         * math/s_ctanf.c (__ctanf): Likewise.
63489         * math/s_ctanh.c (__ctanh): Likewise.
63490         * math/s_ctanhf.c (__ctanhf): Likewise.
63491         * math/s_ctanhl.c (__ctanhl): Likewise.
63492         * math/s_ctanl.c (__ctanl): Likewise.
63493         * math/libm-test.inc (ctan_test_tonearest): New function.
63494         (ctan_test_towardzero): Likewise.
63495         (ctan_test_downward): Likewise.
63496         (ctan_test_upward): Likewise.
63497         (ctanh_test_tonearest): Likewise.
63498         (ctanh_test_towardzero): Likewise.
63499         (ctanh_test_downward): Likewise.
63500         (ctanh_test_upward): Likewise.
63501         (main): Call these new functions.
63502         * sysdeps/i386/fpu/libm-test-ulps: Update.
63503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63505 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63507         * .gitignore: Delete /ports entry.
63509 2012-07-03  Andreas Jaeger  <aj@suse.de>
63511         * po/bg.po: Update from translation team.
63512         * po/cs.po: Likewise.
63513         * po/de.po: Likewise.
63514         * po/hr.po: Likewise.
63515         * po/nl.pl: Likewise.
63516         * po/pl.po: Likewise.
63517         * po/vi.po: Likewise.
63519 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63521         * Makeconfig [!+link] (+link-before-libc): New variable.
63522         [!+link] (+link-after-libc): Likewise.
63523         [!+link] (+link-tests): Likewise.
63524         [!+link] (+link): Define in terms of $(+link-before-libc) and
63525         $(+link-after-libc).
63526         [!+link-static] (+link-static-before-libc): New variable.
63527         [!+link-static] (+link-static-after-libc): Likewise.
63528         [!+link-static] (+link-static-tests): Likewise.
63529         [!+link-static] (+link-static): Define in terms of
63530         $(+link-static-before-libc) and $(+link-static-after-libc).
63531         [build-shared] (link-libc-before-gnulib): New variable.
63532         [build-shared] (link-libc-tests): Likewise.
63533         [build-shared] (link-libc): Define in terms of
63534         $(link-libc-before-gnulib).
63535         [!build-shared] (link-libc-tests): New variable.
63536         (link-libc-static-tests): New variable.
63537         [!gnulib] (gnulib-arch): New variable.
63538         [!gnulib] (gnulib-tests): Likewise.
63539         [!gnulib] (static-gnulib-arch): Likewise.
63540         [!gnulib] (static-gnulib-tests): Likewise.
63541         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63542         Define with "=" instead of ":=".
63543         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63544         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63545         * Rules (binaries-all-notests): New variable.
63546         (binaries-all-tests): Likewise.
63547         (binaries-static-notests): Likewise.
63548         (binaries-static-tests): Likewise.
63549         (binaries-all): Define using $(binaries-all-notests) and
63550         $(binaries-all-tests).
63551         (binaries-static): Define using $(binaries-static-notests) and
63552         $(binaries-static-tests).
63553         (binaries-shared-tests): New variable.
63554         (binaries-shared-notests): Likewise.
63555         (binaries-shared): Remove variable.
63556         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63557         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63558         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63559         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63560         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63561         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63562         * elf/Makefile (sln-modules): New variable.
63563         (extra-objs): Add $(sln-modules:=.o).
63564         (ldconfig-modules): Add static-stubs.
63565         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63566         * elf/static-stubs.c: New file.
63568         [BZ #14283]
63569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63570         by 7 not 8 to examine high bit of fractional part.  Use volatile
63571         variables when splitting into final array of floats if
63572         __FLT_EVAL_METHOD__ != 0.
63573         * math/libm-test.inc (cos_test): Add another test.
63574         (sin_test): Likewise.
63575         * sysdeps/i386/fpu/libm-test-ulps: Update.
63577         [BZ #14273]
63578         * math/libm-test.inc (cosh_test): Add more tests.
63580         * version.h (RELEASE): Set to "development".
63581         (VERSION): Set to "2.16.90".
63583 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63585         * NEWS: Update copyright. Remove last-updated date.
63586         Mention math library bug fixes and timezone data changes.
63587         * README: Mention GNU/Hurd, x32, and HPPA support status.
63589 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63591         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63593 2012-06-27  Andreas Jaeger  <aj@suse.de>
63595         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63597 2012-06-25  Andreas Jaeger  <aj@suse.de>
63599         * sysdeps/s390/fpu/libm-test-ulps: Update.
63601 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63602             Thomas Schwinge  <thomas@codesourcery.com>
63604         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63605         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63607         fanotify_mark.
63609 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63611         * sysdeps/mach/start.c: Remove file.
63612         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63613         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63614         * sysdeps/sh/init-first.c: Likewise.
63616         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63617         registers for frame unwinding purposes, add CFI directives.
63618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63619         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63620         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63621         Likewise.
63623         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63624         __fortify_fail returning.
63625         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63627         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63628         sysdeps/sh/____longjmp_chk.S.
63629         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63630         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63631         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63632         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63634         * sysdeps/sh/abort-instr.h: New file.
63635         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63636         process in case exit returns.
63638         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63639         initialize the GOT register before use.
63641         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63642         calculation of ARGC > 4.
63644         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63645         meaningful names to some local labels.
63647 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63648             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63650         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63651         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63652         (__arch_compare_and_exchange_val_16_acq): Likewise.
63653         (__arch_compare_and_exchange_val_32_acq): Likewise.
63654         (atomic_exchange_and_add): Fix gUSA sequence.
63655         (atomic_add): Likewise.
63656         (atomic_add_negative): Likewise.
63657         (atomic_add_zero): Likewise.
63658         (atomic_bit_test_set): Likewise.
63660 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63662         [BZ #13579]
63663         * include/link.h (struct link_map): Add l_free_initfini.
63664         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63665         l_initfini.
63666         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63667         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63668         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63669         set.
63671 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63673         * configure.in: Use AC_LANG_SOURCE.
63674         * configure: Regenerate.
63676 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63678         * configure.in (libc_cv_localstatedir): New substituted variable.
63679         * configure: Regenerated.
63680         * config.make.in (localstatedir): New variable, substituted from
63681         libc_cv_localstatedir.
63682         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63683         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63684         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63685         * sysdeps/gnu/configure: Regenerated.
63687 2012-06-21  Jeff Law  <law@redhat.com>
63689         [BZ #14277]
63690         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63691         free.  Simplify list management for _LIBC case.
63693 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63695         [BZ #14273]
63696         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63697         Clear sign bit of 64-bit integer value before comparing against
63698         overflow value.
63700         * sysdeps/mach/configure: Regenerated.
63702 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63704         [BZ #14278]
63705         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63707 2012-06-21  Jeff Law  <law@redhat.com>
63709         [BZ #13882]
63710         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63711         uint16_t for elements in the "seen" array to avoid char overflows.
63712         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63713         * elf/dl-open.c (dl_open_worker): Likewise.
63715 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63717         * scripts/list-sources.sh: Scan PORTS for translations.
63718         * po/libc.pot: Regenerated.
63720 2012-06-21  Andreas Jaeger  <aj@suse.de>
63722         [BZ #12194]
63723         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63724         warning.
63725         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63726         * bits/byteswap-16.h (__bswap_16): Likewise.
63727         * bits/byteswap.h (__bswap_constant_16): Likewise.
63729 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63731         [BZ #14117]
63732         * sysdeps/i386/fpu_control.h: Removed.
63733         * sysdeps/x86_64/fpu_control.h: Moved to ...
63734         * sysdeps/x86/fpu_control.h: Here.
63736         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63737         (_FPU_SETCW): Likewise.
63739 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63741         [BZ #14117]
63742         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63743         * sysdeps/x86/fpu/bits/mathinline.h: This.
63744         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63746         [BZ #14050]
63747         [BZ #14117]
63748         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63749         functions if __x86_64__ is defined.
63751 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63753         * string/endian.h: Add !__ASSEMBLER__ condition for including
63754         conversion interfaces.
63756 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63758         [BZ #14241]
63759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63760         of ABS(x) in calculating zero to negative powers other than odd
63761         integers.
63762         * math/libm-test.inc (pow_test): Add more tests.
63764 2012-06-15  Andreas Jaeger  <aj@suse.de>
63766         * manual/contrib.texi (Contributors): Update entry of Liubov
63767         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63768         Machado Filho.
63770 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63772         * string/string.h: Add __wur to GNU version of strerror_r.
63774 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63776         [BZ #14229]
63777         * string/Makefile (tests): Add tst-strtok_r.
63778         * string/tst-strtok_r.c: New file.
63779         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63780         RAX_LP/RDX_LP on SAVE_PTR.
63782 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63784         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63786 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63788         * libm_test.inc (csqrt_test): Allow more spurious underflow
63789         exceptions.
63790         (j0_test): Likewise.
63791         (j1_test): Likewise.
63792         (y0_test): Likewise.
63793         (y1_test): Likewise.
63795 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63797         * po/Makefile (libc.pot): Use UTF-8 charset.
63799 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63801         [BZ #14210]
63802         Suppress sign-conversion warning from FD_SET.
63803         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63804         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63805         not unsigned long int.
63806         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63808 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63810         [BZ #14050]
63811         [BZ #14117]
63812         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63813         __extern_always_inline instead of __extern_inline.
63814         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63815         (__signbit): Likewise.
63816         (__signbitl): Support C++ namespace.
63817         (lrintf): New inline function.
63818         (lrint): Likewise.
63819         (llrintf): Likewise.
63820         (llrint): Likewise.
63821         (fmaxf): Likewise.
63822         (fmax): Likewise.
63823         (fminf): Likewise.
63824         (fmin): Likewise.
63825         (rint): Likewise.
63826         (rintf): Likewise.
63827         (ceil): Likewise.
63828         (ceilf): Likewise.
63829         (floor): Likewise.
63830         (floorf): Likewise.
63831         (nearbyint): Likewise.
63832         (nearbyintf): Likewise.
63834 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63836         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63837         non-default versions.
63839 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63841         [BZ #14218]
63842         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63844 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63846         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63847         (FE_UPWARD, FE_DOWNWARD): Don't define.
63848         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63849         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63851         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63852         reading it.
63853         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63854         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63856 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63858         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63860         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63861         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63863 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63865         [BZ #14117]
63866         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63867         * sysdeps/i386/fpu/Implies: New file.
63868         * sysdeps/x86_64/fpu/Implies: Likewise.
63869         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63870         * sysdeps/x86/fpu/bits/fenv.h: This.
63872         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63873         __SSE_MATH__.
63875 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63877         [BZ #14134]
63878         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63879         character 0xffff that matches the last element of the
63880         conversion table.
63882 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63884         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63885         fmodl commit.
63887 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63889         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63890         values higher than 25.6283.
63892 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63894         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63895         subnormal exponent extraction and add some __builtin_expect.
63896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63897         Fix for subnormal mantissa calculation.
63899 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63901         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63902         cpu2 is -1 and errno is not ENOSYS.
63904 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63906         [BZ #14117]
63907         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63908         * sysdeps/x86/bits/string.h: This.
63909         * sysdeps/x86_64/bits/string.h: Removed.
63911         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63912         if not compiling for x86-64, but compiling for >= i486.
63914         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63915         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63917         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63918         New macro from Linux kernel 3.4.0.
63919         (FP_XSTATE_MAGIC2): Likewise.
63920         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63921         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63922         (struct _fpx_sw_bytes): New struct.
63923         (struct _xsave_hdr): Likewise.
63924         (struct _ymmh_state): Likewise.
63925         (struct _xstate): Likewise.
63927         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63928         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63929         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63930         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63931         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63932         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63934         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63935         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63936         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63937         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63938         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63939         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63941 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63943         [BZ #13743]
63944         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63945         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63946         (sysdep_headers): Include sys/platform/ppc.h.
63947         * sysdeps/powerpc/test-gettimebase.c: Test for
63948         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63949         * manual/Makefile (appendices): Include platform.texi.
63950         * manual/contrib.texi (Contributors): Update @node pointers.
63951         * manual/maint.texi (Maintenance): Likewise.
63952         (Platform): New node.
63953         * manual/platform.texi: New file.  Document the new features.
63955 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63956             Jakub Jelinek  <jakub@redhat.com>
63958         [BZ #14188]
63959         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63960         where __builtin_expect is unavailable.
63962 2012-06-03  David S. Miller  <davem@davemloft.net>
63964         * stdlib/longlong.h: Updated from GCC.
63966 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63968         [BZ #14042]
63969         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63970         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63971         __mcount_internal.
63972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63973         (GLIBC_2.16): Likewise.
63975 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63977         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63979 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63982         (default-abi): New variable.
63983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63984         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63985         variable.
63986         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63987         Likewise.
63988         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63989         Likewise.
63990         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63991         Likewise.
63993         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63994         definition.  Document in comment.
63996 2012-06-01  David S. Miller  <davem@davemloft.net>
63998         * stdlib/longlong.h: Updated from GCC.
64000 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64002         [BZ #14117]
64003         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64004         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64005         sys/debugreg.h sys/io.h here.
64006         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64007         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64008         sys/io.h.
64009         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64010         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64011         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64012         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64013         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64014         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64016         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64017         Define only if __x86_64__ is defined.
64019 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64021         [BZ #14048]
64022         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64023         Use int64_t for variable i.
64024         * math/libm-test.inc (fmod_test): Add more tests.
64026         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64027         z computation is not scheduled after fetestexcept.
64028         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64029         Use math_force_eval instead of asm to ensure calculation scheduled
64030         before exception test.
64031         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64032         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64034 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64037         computation is not scheduled after fetestexcept.
64039 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64041         [BZ #14117]
64042         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64043         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64045 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64047         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64048         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64050 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64052         [BZ #14117]
64053         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64054         <bits/wordsize.h>.
64055         (__WCHAR_MIN): Support __WORDSIZE == 64.
64056         (__WCHAR_MAX): Likewise.
64058         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64059         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64061         [BZ #14183]
64062         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64063         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64065         [BZ #14117]
64066         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64067         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64069         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64070         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64072         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64073         Defined to 1 if __x86_64__ isn't defined.
64074         (_STAT_VER_LINUX_OLD): New.
64075         (st_atime): Remove duplicate.
64076         (st_mtime): Likewise.
64077         (st_ctime): Likewise.
64079 2012-05-31  David S. Miller  <davem@davemloft.net>
64081         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64082         entries.
64084 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64086         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64087         gen-libm-test.pl.
64089         [BZ #14132]
64090         * elf/dl-reloc.c: Include <_itoa.h>.
64091         (_dl_reloc_bad_type): Remove use of INTUSE.
64092         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64093         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64094         * stdio-common/psiginfo.c (psiginfo): Likewise.
64095         * stdio-common/psignal.c (psignal): Likewise.
64096         * string/strsignal.c (strsignal): Likewise.
64097         * include/signal.h (_sys_siglist): Declare hidden proto.
64098         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64099         INTVARDEF with libc_hidden_data_def.
64100         * stdio-common/itoa-udigits.c: Likewise.
64101         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64102         (_itoa_lower_digits_internal): Remove declaration.
64103         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64104         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64105         (_sys_sigabbrev_internal): Remove aliases.
64106         (_sys_siglist): Define hidden alias.
64108 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64111         bits/sysctl.h.
64113 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64115         [BZ #14117]
64116         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64117         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64119         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64120         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64121         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64122         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64123         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64124         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64126         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64127         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64128         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64130         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64131         with __addr.
64132         (insw): Likewise.
64133         (insl): Likewise.
64134         (outsb): Likewise.
64135         (outsw): Likewise.
64136         (outsl): Likewise.
64138         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64139         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64140         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64142         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64143         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64144         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64145         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64146         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64147         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64149         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64150         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64152         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64153         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64155         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64156         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64157         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64159         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64160         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64161         to ...
64162         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64164         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64165         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64166         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64168         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64169         for x86-64.
64170         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64172 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64174         * math/math.h (M_El): Use two more decimal places.
64175         (M_LOG2El): Likewise.
64176         (M_LOG10El): Likewise.
64177         (M_LN2l): Likewise.
64178         (M_LN10l): Likewise.
64179         (M_PIl): Likewise.
64180         (M_PI_2l): Likewise.
64181         (M_PI_4l): Likewise.
64182         (M_1_PIl): Likewise.
64183         (M_2_PIl): Likewise.
64184         (M_2_SQRTPIl): Likewise.
64185         (M_SQRT2l): Likewise.
64186         (M_SQRT1_2l): Likewise.
64188 2012-05-31  David S. Miller  <davem@davemloft.net>
64190         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64191         values between float registers.
64192         * sysdeps/sparc/sparc64/memset.S: Likewise.
64193         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64195 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64197         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64198         -D_FORTIFY_SOURCE=1.
64199         (CPPFLAGS-tst-longjmp_chk.c): Define.
64200         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64201         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64202         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64203         CFLAGS-tst-wchar-h.c.
64205 2012-05-31  Marek Polacek  <polacek@redhat.com>
64207         [BZ #14132]
64208         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64209         __endmntent_internal): Remove declaration.
64210         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64211         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64212         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64214 2012-05-30  David S. Miller  <davem@davemloft.net>
64216         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64217         (___Q_simulate_exceptions): Use real FP ops rather than writing
64218         into the %fsr.
64219         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64220         Likewise.
64222 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64224         [BZ #14117]
64225         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64226         * sysdeps/x86/bits/xtitypes.h: This.
64228         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64229         * sysdeps/x86/bits/wordsize.h: This.
64231         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64232         * sysdeps/x86/bits/huge_vall.h: This.
64234         * sysdeps/i386/bits/select.h: Removed.
64235         * sysdeps/x86_64/bits/select.h: Renamed to ...
64236         * sysdeps/x86/bits/select.h: This.
64238         * sysdeps/i386/bits/setjmp.h: Removed.
64239         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64240         * sysdeps/x86/bits/setjmp.h: This.
64242         * sysdeps/i386/bits/mathdef.h: Removed.
64243         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64244         * sysdeps/x86/bits/mathdef.h: This.
64246 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64248         [BZ #14132]
64249         * include/sys/socket.h (__connect_internal)
64250         (__libc_sa_len_internal): Remove declaration.
64251         (__connect, __libc_sa_len): Declare hidden_proto.
64252         (SA_LEN): Remove use of INTUSE.
64253         * socket/connect.c: Add libc_hidden_def.
64254         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64255         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64256         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64257         alias.
64258         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64259         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64260         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64261         of adding _internal alias.
64263 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64265         [BZ #14117]
64266         * sysdeps/i386/bits/link.h: Removed.
64267         * sysdeps/i386/bits/linkmap.h: Likewise.
64268         * sysdeps/x86_64/bits/link.h: Renamed to ...
64269         * sysdeps/x86/bits/link.h: This.
64270         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64271         * sysdeps/x86/bits/linkmap.h: This.
64273         * sysdeps/i386/bits/endian.h: Removed.
64274         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64275         * sysdeps/x86/bits/endian.h: This.
64277         * sysdeps/i386/bits/byteswap.h: Removed.
64278         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64279         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64280         * sysdeps/x86/bits/byteswap.h: This.
64281         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64282         * sysdeps/x86/bits/byteswap-16.h: This.
64283         * sysdeps/i386/Implies: Add x86.
64284         * sysdeps/x86_64/Implies: Likewise.
64286 2012-05-30  David S. Miller  <davem@davemloft.net>
64288         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64289         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64290         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64291         (FP_TRAPPING_EXCEPTIONS): Define.
64292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64293         (FP_TRAPPING_EXCEPTIONS): Define.
64294         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64295         subnormals only when inexact has been signalled or underflow
64296         exceptions are enabled.
64297         (_FP_PACK_CANONICAL): Likewise.
64299 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64301         [BZ #14183]
64302         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64303         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64305 2012-05-30  Richard Henderson  <rth@twiddle.net>
64307         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64308         with #ifndef NOT_IN_libc.
64310         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64311         marked to avoid plt entry.
64313 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64315         [BZ #14112]
64316         * Makeconfig (default-abi): New macro.
64317         (abi-includes): Likewise.
64318         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64319         $(abi-$(default-abi)-lib-soname) for soname if defined.
64320         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64321         abi-variants.
64322         * Makefile (installed-stubs): Likewise.
64323         * include/stubs-biarch.h: Removed.
64324         * scripts/lib-names.awk: Only handle one library at a time.
64325         * scripts/soversions.awk: Remove WORDSIZE support.
64326         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64327         entries.
64328         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64329         Removed.
64330         (syscall-list-default-condition): Likewise.
64331         (syscall-list-default-condition): Likewise.
64332         (syscall-list-includes): Likewise.
64333         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64334         syscall-list-* with abi-*.  Handle undefined abi-variants.
64335         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64336         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64337         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64338         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64339         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64340         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64341         Removed.
64342         (syscall-list-32-options): Likewise.
64343         (syscall-list-32-condition): Likewise.
64344         (syscall-list-64-options): Likewise.
64345         (syscall-list-64-condition): Likewise.
64346         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64347         macro.
64348         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64349         Renamed to ...
64350         (abi-*): This.
64351         (abi-64-ld-soname): New macro.
64352         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64353         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64354         Renamed to ...
64355         (abi-*): This.
64356         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64357         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64359 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64361         * sysdeps/unix/sysv/linux/kernel-features.h
64362         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64363         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64364         include <kernel-features.h>.
64365         [!__NR_ftruncate64]: Remove conditional code.
64366         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64367         [__NR_ftruncate64]: Make code unconditional.
64368         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64369         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64370         include <kernel-features.h>.
64371         [!__NR_ftruncate64]: Remove conditional code.
64372         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64373         [__NR_ftruncate64]: Make code unconditional.
64374         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64376         include <kernel-features.h>.
64377         [!__NR_ftruncate64]: Remove conditional code.
64378         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64379         [__NR_ftruncate64]: Make code unconditional.
64380         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64382         include <kernel-features.h>.
64383         [!__NR_ftruncate64]: Remove conditional code.
64384         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64385         [__NR_ftruncate64]: Make code unconditional.
64386         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64388         * configure.in (libc_cv_fpie): Weaken to a compile test using
64389         LIBC_TRY_CC_OPTION.
64390         * configure: Regenerated.
64392 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64398         Refreshed.
64399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64405         Refreshed.
64407 2012-05-27  David S. Miller  <davem@davemloft.net>
64409         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64410         (___Q_zero): New.
64411         (__Q_simulate_exceptions): Return void.  Change to simulate
64412         exceptions by writing into the %fsr.
64413         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64414         (__Qp_handle_exceptions): Likewise.
64415         (numbers): Delete.
64416         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64417         __Qp_handle_exceptions.
64418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64419         __Qp_handle_exceptions.
64420         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64421         as unused and give dummy FP_RND_NEAREST initializer.
64422         (FP_INHIBIT_RESULTS): Define.
64423         (___Q_simulate_exceptions): Update declaration.
64424         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64425         formatting.
64426         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64427         as unused and give dummy FP_RND_NEAREST initializer.
64428         (__Qp_handle_exceptions): Update declaration.
64429         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64430         formatting.
64432 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64434         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64435         the temporary FPU control word.
64436         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64437         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64438         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64439         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64440         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64441         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64442         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64443         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64444         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64445         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64446         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64448 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64450         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64451         fields.
64453 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64455         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64456         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64457         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64458         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64459         Likewise.
64460         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64461         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64462         Likewise.
64464 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64466         * po/h.po: Update from translation team.
64468 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64470         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64472         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64473         handling of denormals.
64474         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64475         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64476         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64477         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64481         Likewise.
64483 2012-05-26  Marek Polacek  <polacek@redhat.com>
64485         [BZ #14152]
64486         * math/libm-test.inc (fma_test): Don't always expect underflow
64487         exception.
64489 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64491         [BZ #12416]
64492         * elf/tst-execstack.c: Include stackinfo.h.
64493         (do_test): Adjust test case to ensure that pthread_getattr_np
64494         behaviour remains the same after marking stack executable.
64496 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64498         * sysdeps/unix/sysv/linux/kernel-features.h
64499         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64500         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64501         kernel-features.h.
64502         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64503         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64504         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64505         kernel-features.h.
64506         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64507         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64509 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64511         * configure.in: Define the default includes to being none.
64512         * configure: Regenerated.
64514 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64516         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64517         * sysdeps/x86_64/setjmp.S: Likewise.
64518         * sysdeps/i386/bsd-setjmp.S: Likewise.
64519         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64520         * sysdeps/i386/setjmp.S: Likewise.
64521         * sysdeps/i386/__longjmp.S: Likewise.
64522         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64523         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64525         * include/stap-probe.h: New file.
64526         * configure.in: Handle --enable-systemtap.
64527         * configure: Regenerated.
64528         * config.h.in (USE_STAP_PROBE): New #undef.
64529         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64530         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64531         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64533 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64535         [BZ #13717]
64536         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64537         to 2.4.0 where earlier.
64538         * sysdeps/unix/sysv/linux/configure: Regenerated.
64539         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64540         <kernel-features.h>.
64541         [__ASSUME_32BITUIDS]: Make code unconditional.
64542         [!__ASSUME_32BITUIDS]: Remove conditional code.
64543         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64544         <kernel-features.h>.
64545         [__ASSUME_32BITUIDS]: Make code unconditional.
64546         [!__ASSUME_32BITUIDS]: Remove conditional code.
64547         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64548         [__ASSUME_32BITUIDS]: Make code unconditional.
64549         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64550         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64551         <kernel-features.h>.
64552         [__ASSUME_32BITUIDS]: Make code unconditional.
64553         [!__ASSUME_32BITUIDS]: Remove conditional code.
64554         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64555         <kernel-features.h>.
64556         [__ASSUME_32BITUIDS]: Make code unconditional.
64557         [!__ASSUME_32BITUIDS]: Remove conditional code.
64558         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64559         <kernel-features.h>.
64560         [__ASSUME_32BITUIDS]: Make code unconditional.
64561         [!__ASSUME_32BITUIDS]: Remove conditional code.
64562         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64563         <kernel-features.h>.
64564         [__ASSUME_32BITUIDS]: Make code unconditional.
64565         [!__ASSUME_32BITUIDS]: Remove conditional code.
64566         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64567         <kernel-features.h>.
64568         [__ASSUME_32BITUIDS]: Make code unconditional.
64569         [!__ASSUME_32BITUIDS]: Remove conditional code.
64570         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64571         <kernel-features.h>.
64572         [__ASSUME_32BITUIDS]: Make code unconditional.
64573         [!__ASSUME_32BITUIDS]: Remove conditional code.
64574         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64575         <kernel-features.h>.
64576         [__ASSUME_32BITUIDS]: Make code unconditional.
64577         [!__ASSUME_32BITUIDS]: Remove conditional code.
64578         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64579         <kernel-features.h>.
64580         [__ASSUME_32BITUIDS]: Make code unconditional.
64581         [!__ASSUME_32BITUIDS]: Remove conditional code.
64582         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64583         <kernel-features.h>.
64584         [__ASSUME_32BITUIDS]: Make code unconditional.
64585         [!__ASSUME_32BITUIDS]: Remove conditional code.
64586         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64587         <kernel-features.h>.
64588         [__ASSUME_32BITUIDS]: Make code unconditional.
64589         [!__ASSUME_32BITUIDS]: Remove conditional code.
64590         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64591         <kernel-features.h>.
64592         [__NR_setresgid] (__setresgid): Do not declare.
64593         [__ASSUME_32BITUIDS]: Make code unconditional.
64594         [!__ASSUME_32BITUIDS]: Remove conditional code.
64595         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64596         <kernel-features.h>.
64597         [__NR_setresuid] (__setresuid): Do not declare.
64598         [__ASSUME_32BITUIDS]: Make code unconditional.
64599         [!__ASSUME_32BITUIDS]: Remove conditional code.
64600         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64601         <kernel-features.h>.
64602         [__ASSUME_32BITUIDS]: Make code unconditional.
64603         [!__ASSUME_32BITUIDS]: Remove conditional code.
64604         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64605         <kernel-features.h>.
64606         [__ASSUME_32BITUIDS]: Make code unconditional.
64607         [!__ASSUME_32BITUIDS]: Remove conditional code.
64608         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64609         <kernel-features.h>.
64610         [__ASSUME_32BITUIDS]: Make code unconditional.
64611         [!__ASSUME_32BITUIDS]: Remove conditional code.
64612         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64613         <kernel-features.h>.
64614         [__ASSUME_32BITUIDS]: Make code unconditional.
64615         [!__ASSUME_32BITUIDS]: Remove conditional code.
64616         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64617         <kernel-features.h>.
64618         [__ASSUME_32BITUIDS]: Make code unconditional.
64619         [!__ASSUME_32BITUIDS]: Remove conditional code.
64620         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64621         <kernel-features.h>.
64622         [__ASSUME_32BITUIDS]: Make code unconditional.
64623         [!__ASSUME_32BITUIDS]: Remove conditional code.
64624         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64625         <kernel-features.h>.
64626         [__ASSUME_32BITUIDS]: Make code unconditional.
64627         [!__ASSUME_32BITUIDS]: Remove conditional code.
64628         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64629         <kernel-features.h>.
64630         [__ASSUME_32BITUIDS]: Make code unconditional.
64631         [!__ASSUME_32BITUIDS]: Remove conditional code.
64632         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64633         <kernel-features.h>.
64634         [__ASSUME_32BITUIDS]: Make code unconditional.
64635         [!__ASSUME_32BITUIDS]: Remove conditional code.
64636         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64637         <kernel-features.h>.
64638         [__ASSUME_32BITUIDS]: Make code unconditional.
64639         [!__ASSUME_32BITUIDS]: Remove conditional code.
64640         * sysdeps/unix/sysv/linux/kernel-features.h
64641         (__ASSUME_SETRESUID_SYSCALL): Remove.
64642         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64643         (__ASSUME_32BITUIDS): Likewise.
64644         (__ASSUME_LDT_WORKS): Likewise.
64645         (__ASSUME_O_DIRECTORY): Likewise.
64646         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64647         architecture but not kernel version.
64648         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64649         (__ASSUME_MMAP2_SYSCALL): Likewise.
64650         (__ASSUME_STAT64_SYSCALL): Likewise.
64651         (__ASSUME_IPC64): Likewise.
64652         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64653         <kernel-features.h>.
64654         [__ASSUME_32BITUIDS]: Make code unconditional.
64655         [!__ASSUME_32BITUIDS]: Remove conditional code.
64656         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64657         <kernel-features.h>.
64658         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64659         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64660         132096]: Remove conditional code.
64661         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64662         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64663         <kernel-features.h>.
64664         [__ASSUME_32BITUIDS]: Make code unconditional.
64665         [!__ASSUME_32BITUIDS]: Remove conditional code.
64666         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64667         <kernel-features.h>.
64668         [__ASSUME_32BITUIDS]: Make code unconditional.
64669         [!__ASSUME_32BITUIDS]: Remove conditional code.
64670         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64671         <kernel-features.h>.
64672         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64673         unconditional.
64674         (__setresgid): Do not declare.
64675         [__ASSUME_32BITUIDS]: Make code unconditional.
64676         [!__ASSUME_32BITUIDS]: Remove conditional code.
64677         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64678         <kernel-features.h>.
64679         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64680         unconditional.
64681         (__setresuid): Do not declare.
64682         [__ASSUME_32BITUIDS]: Make code unconditional.
64683         [!__ASSUME_32BITUIDS]: Remove conditional code.
64684         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64685         <kernel-features.h>.
64686         [__ASSUME_32BITUIDS]: Make code unconditional.
64687         [!__ASSUME_32BITUIDS]: Remove conditional code.
64688         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64689         <kernel-features.h>.
64690         [__ASSUME_32BITUIDS]: Make code unconditional.
64691         [!__ASSUME_32BITUIDS]: Remove conditional code.
64693 2012-05-25  Richard Henderson  <rth@twiddle.net>
64695         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64696         dl_hwcap to ifunc resolver.
64697         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64698         elf_ifunc_invoke.
64699         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64700         dl_hwcap to ifunc resolver.
64701         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64703 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64705         [BZ #14153]
64706         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64707         for |x| <= 2**-26, not 2**-57.
64708         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64709         exception.
64711 2012-05-24  Jeff Law  <law@redhat.com>
64713         * stdio-common/Makefile (tests): Add bug25.
64714         * stdio-common/bug25.c: New test.
64716 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64718         [BZ #13576]
64719         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64720         multiple of MALLOC_ALIGNMENT in size.
64721         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64723 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64725         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64726         Require >= 256.
64727         (FILENAME_MAX): Use macro-int-constant.
64728         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64729         (_IOFBF): Use macro-int-constant.
64730         (_IOLBF): Likewise.
64731         (_IONBF): Likewise.
64732         (SEEK_CUR): Likewise.
64733         (SEEK_END): Likewise.
64734         (SEEK_SET): Likewise.
64735         (TMP_MAX): Likewise.
64736         (EOF): Use macro-int-constant.  Require < 0.
64737         (NULL): Use macro-constant.  Require == 0.
64738         (stdin): Require type to be FILE *.
64739         (stdout): Likewise.
64740         (stderr): Likewise.
64741         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64742         macro-int-constant.
64743         (EXIT_SUCCESS): Likewise.
64744         (NULL): Use macro-constant.  Require == 0.
64745         (RAND_MAX): Use macro-int-constant.
64746         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64747         [C99-based standards] (strtof): Require function.
64748         [C99-based standards] (strtold): Likewise.
64749         [C99-based standards] (strtoll): Likewise.
64750         [C99-based standards] (strtoull): Likewise.
64751         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64752         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64753         [ISO || ISO99 || ISO11] (math.h): Likewise.
64754         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64755         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64756         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64758 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64760         [BZ #14132]
64761         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64762         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64763         * intl/dgettext.c (DCGETTEXT): Likewise.
64764         * intl/gettext.c (DCGETTEXT): Likewise.
64765         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64766         * posix/regex_internal.h (gettext): Likewise.
64767         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64768         Remove declaration.
64769         * include/argz.h (__argz_count_internal)
64770         (__argz_stringify_internal): Remove declaration.
64771         (__argz_count, __argz_stringify): Declare hidden proto.
64772         * intl/dcgettext.c: Remove use of INTDEF.
64773         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64774         * string/argz-stringify.c: Likewise.
64775         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64776         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64777         Declare hidden proto.
64778         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64779         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64780         Declare hidden proto.
64781         * include/stdio.h (__asprintf_internal): Don't declare.
64782         (__asprintf): Don't define as macro.  Declare hidden proto.
64783         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64784         (__fsetlocking): Declare hidden proto.
64785         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64786         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64787         hidden proto.
64788         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64789         (_IO_setlinebuf): Remove use of INTUSE.
64790         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64791         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64792         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64793         Remove declaration.
64794         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64795         (_IO_do_flush): Remove use of INTUSE.
64796         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64797         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64798         (_IO_adjust_column, _IO_least_wmarker)
64799         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64800         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64801         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64802         (_IO_default_doallocate, _IO_wdefault_doallocate)
64803         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64804         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64805         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64806         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64807         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64808         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64809         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64810         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64811         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64812         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64813         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64814         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64815         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64816         proto.
64817         (_IO_flush_all_internal, _IO_adjust_column_internal)
64818         (_IO_default_uflow_internal, _IO_default_finish_internal)
64819         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64820         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64821         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64822         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64823         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64824         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64825         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64826         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64827         (_IO_file_close_internal, _IO_file_close_it_internal)
64828         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64829         (_IO_file_init_internal, _IO_file_attach_internal)
64830         (_IO_file_fopen_internal, _IO_file_read_internal)
64831         (_IO_file_sync_internal, _IO_file_seek_internal)
64832         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64833         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64834         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64835         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64836         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64837         (_IO_list_all_internal, _IO_link_in_internal)
64838         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64839         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64840         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64841         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64842         (_IO_do_write_internal, _IO_padn_internal)
64843         (_IO_getline_info_internal, _IO_getline_internal)
64844         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64845         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64846         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64847         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64848         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64849         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64850         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64851         with libc_hidden_ver, remove use of INTUSE.
64852         * libio/genops.c: Likewise.
64853         * libio/freopen.c: Likewise.
64854         * libio/freopen64.c: Likewise.
64855         * libio/iofclose.c: Likewise.
64856         * libio/iofdopen.c: Likewise.
64857         * libio/iofflush.c: Likewise.
64858         * libio/iofflush_u.c: Likewise.
64859         * libio/iofgets.c: Likewise.
64860         * libio/iofgets_u.c: Likewise.
64861         * libio/iofopen.c: Likewise.
64862         * libio/iofopncook.c: Likewise.
64863         * libio/iofread.c: Likewise.
64864         * libio/iofread_u.c: Likewise.
64865         * libio/ioftell.c: Likewise.
64866         * libio/iofwrite.c: Likewise.
64867         * libio/iogetline.c: Likewise.
64868         * libio/iogets.c: Likewise.
64869         * libio/iogetwline.c: Likewise.
64870         * libio/iopadn.c: Likewise.
64871         * libio/iopopen.c: Likewise.
64872         * libio/ioseekoff.c: Likewise.
64873         * libio/ioseekpos.c: Likewise.
64874         * libio/iosetbuffer.c: Likewise.
64875         * libio/iosetvbuf.c: Likewise.
64876         * libio/ioungetc.c: Likewise.
64877         * libio/ioungetwc.c: Likewise.
64878         * libio/iovdprintf.c: Likewise.
64879         * libio/iovsprintf.c: Likewise.
64880         * libio/iovsscanf.c: Likewise.
64881         * libio/memstream.c: Likewise.
64882         * libio/obprintf.c: Likewise.
64883         * libio/oldfileops.c: Likewise.
64884         * libio/oldiofclose.c: Likewise.
64885         * libio/oldiofdopen.c: Likewise.
64886         * libio/oldiofopen.c: Likewise.
64887         * libio/oldiopopen.c: Likewise.
64888         * libio/oldstdfiles.c: Likewise.
64889         * libio/putc.c: Likewise.
64890         * libio/setbuf.c: Likewise.
64891         * libio/setlinebuf.c: Likewise.
64892         * libio/stdfiles.c: Likewise.
64893         * libio/strops.c: Likewise.
64894         * libio/vasprintf.c: Likewise.
64895         * libio/vscanf.c: Likewise.
64896         * libio/vsnprintf.c: Likewise.
64897         * libio/vswprintf.c: Likewise.
64898         * libio/wfiledoalloc.c: Likewise.
64899         * libio/wfileops.c: Likewise.
64900         * libio/wgenops.c: Likewise.
64901         * libio/wmemstream.c: Likewise.
64902         * libio/wstrops.c: Likewise.
64903         * libio/__fpurge.c: Likewise.
64904         * libio/__fsetlocking.c: Likewise.
64905         * assert/assert.c: Likewise.
64906         * debug/fgets_chk.c: Likewise.
64907         * debug/fgets_u_chk.c: Likewise.
64908         * debug/fread_chk.c: Likewise.
64909         * debug/fread_u_chk.c: Likewise.
64910         * debug/gets_chk.c: Likewise.
64911         * debug/obprintf_chk.c: Likewise.
64912         * debug/vasprintf_chk.c: Likewise.
64913         * debug/vdprintf_chk.c: Likewise.
64914         * debug/vsnprintf_chk.c: Likewise.
64915         * debug/vsprintf_chk.c: Likewise.
64916         * malloc/mtrace.c: Likewise.
64917         * misc/error.c: Likewise.
64918         * misc/syslog.c: Likewise.
64919         * stdio-common/asprintf.c: Likewise.
64920         * stdio-common/fxprintf.c: Likewise.
64921         * stdio-common/getw.c: Likewise.
64922         * stdio-common/isoc99_fscanf.c: Likewise.
64923         * stdio-common/isoc99_scanf.c: Likewise.
64924         * stdio-common/isoc99_vfscanf.c: Likewise.
64925         * stdio-common/isoc99_vscanf.c: Likewise.
64926         * stdio-common/isoc99_vsscanf.c: Likewise.
64927         * stdio-common/printf-prs.c: Likewise.
64928         * stdio-common/printf_fp.c: Likewise.
64929         * stdio-common/printf_fphex.c: Likewise.
64930         * stdio-common/printf_size.c: Likewise.
64931         * stdio-common/putw.c: Likewise.
64932         * stdio-common/scanf.c: Likewise.
64933         * stdio-common/sprintf.c: Likewise.
64934         * stdio-common/tmpfile.c: Likewise.
64935         * stdio-common/vfprintf.c: Likewise.
64936         * stdio-common/vfscanf.c: Likewise.
64937         * stdlib/strfmon_l.c: Likewise.
64938         * sunrpc/openchild.c: Likewise.
64939         * sunrpc/xdr_stdio.c: Likewise.
64940         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64941         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64943 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64945         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64947         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64948         in the third column, to generate for the shared library an IFUNC
64949         that uses _dl_vdso_vsym.
64950         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64951         * Makeconfig (object-suffixes-noshared): New variable.
64953         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64954         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64955         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64956         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64958         [BZ #14132]
64959         * include/sys/time.h (__gettimeofday): Remove macro.
64960         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64961         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64962         Remove INTDEF.
64963         (__gettimeofday): Add libc_hidden_def.
64964         (gettimeofday): Add libc_hidden_weak.
64965         * sysdeps/mach/gettimeofday.c: Likewise.
64966         * sysdeps/posix/gettimeofday.c: Likewise.
64967         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64968         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64970         (__gettimeofday_internal): Remove strong_alias.
64971         (__gettimeofday): Add libc_hidden_def.
64972         (gettimeofday): Add libc_hidden_weak.
64973         * sysdeps/unix/syscalls.list (gettimeofday):
64974         Remove __gettimeofday_internal alias.
64976 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64977             H.J. Lu  <hongjiu.lu@intel.com>
64979         [BZ #12495]
64980         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64981         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64982         (largebin_index_32_big): New.
64983         (largebin_index): Use it for 16-byte alignment.
64984         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64985         correction with front_misalign.
64987 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64991         Likewise.
64992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64993         Likewise.
64994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64995         Likewise.
64996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64997         Likewise.
64998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64999         Likewise.
65000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65001         Likewise.
65002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65003         Likewise.
65004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65005         Likewise.
65006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65007         Likewise.
65008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65009         Likewise.
65010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65011         Likewise.
65012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65013         Likewise.
65015         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65016         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65018 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65020         [BZ #10846]
65021         [BZ #14036]
65022         * math/libm-test.inc (exp_test): Add test from bug 14036.
65023         (pow_test): Add test from bug 10846.
65025         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65026         and other flags.
65027         (special_function): Do not include flags in test name.
65028         (parse_args): Likewise.
65029         * sysdeps/i386/fpu/libm-test-ulps: Update.
65030         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65031         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65032         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65035         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65036         exceptions.
65037         * math/libm-test.inc ("Philosophy"): Update comment about
65038         exception testing.
65039         (UNDERFLOW_EXCEPTION): New macro.
65040         (UNDERFLOW_EXCEPTION_OK): Likewise.
65041         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65042         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65043         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65044         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65045         (INVALID_EXCEPTION_OK): Update value.
65046         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65047         (OVERFLOW_EXCEPTION_OK): Likewise.
65048         (IGNORE_ZERO_INF_SIGN): Likewise.
65049         (test_exceptions): Handle underflow exceptions.
65050         (acos_test): Update for underflow exception expectations.
65051         (cexp_test): Likewise.
65052         (clog_test): Likewise.
65053         (clog10_test): Likewise.
65054         (csqrt_test): Likewise.
65055         (ctan_test): Likewise.
65056         (ctanh_test): Likewise.
65057         (exp_test): Likewise.
65058         (exp10_test): Likewise.
65059         (exp2_test): Likewise.
65060         (expm1_test): Likewise.
65061         (fma_test): Likewise.
65062         (j0_test): Likewise.
65063         (jn_test): Likewise.
65064         (nexttoward_test): Likewise.
65065         (pow_test): Likewise.
65066         (scalbn_test): Likewise.
65067         (scalbln_test): Likewise.
65068         (tan_test): Likewise.
65069         (y1_test): Likewise.
65070         * sysdeps/i386/fpu/libm-test-ulps: Update.
65071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65073 2012-05-23  David S. Miller  <davem@davemloft.net>
65075         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65076         (__libc_sigaction): Remove unused local variables.
65078 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65080         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65082 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65084         mktime: avoid signed integer overflow
65085         * time/mktime.c (__mktime_internal): Do not mishandle the case
65086         where diff == INT_MIN.
65088         mktime: simplify computation of average
65089         * time/mktime.c (ranged_convert): Use new time_t_avg function
65090         instead of rolling our own (probably-slower) code.
65092         mktime: do not assume signed right shift propagates sign bit
65093         * time/mktime.c (isdst_differ): New static function.
65094         (__mktime_internal): No need to normalize tm_isdst now.
65095         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65096         tm_isdst values.
65098         mktime: merge another wrapv change from gnulib
65099         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65100         from some compilers.
65102         mktime: remove incorrect attempt at unusual arithmetics
65103         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65104         The code didn't really work on such machines anyway.
65105         (TYPE_MINIMUM): Assume two's complement.
65106         (twos_complement_arithmetic): Verify that long_int and time_t
65107         are two's complement (or unsigned, in the latter case).
65109         mktime: check signed shifts on long_int and time_t, too
65110         * time/mktime.c (SHR): Check that shifts work as desired
65111         on the types long_int and time_t too, as SHR is used on
65112         such types.
65114         mktime: do not assume 'long' is wide enough
65115         * time/mktime.c (verify): Move decl up.
65116         (long_int): New type.
65117         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65118         to remove assumption in the code that 'long' is wide enough to
65119         store year values.  This assumption is not true on x32 and on
65120         some non-glibc platforms.
65122         mktime: merge wrapv change from gnulib
65123         * time/mktime.c (WRAPV): New macro.
65124         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65125         (guess_time_tm, __mktime_internal): Do not assume that signed
65126         integer overflow wraps around; modern compilers generate code
65127         where this assumption is no longer valid.
65129 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65131         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65132         Replace "jmp L(pseudo_end)" with "ret".
65133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65134         Likewise.
65136 2012-05-23  Andreas Jaeger  <aj@suse.de>
65138         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65139         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65141 2012-05-23  Andreas Jaeger  <aj@suse.de>
65142             Maximilian Attems  <max@stro.at>
65144         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65145         New macros.
65147 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65149         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65150         code so that pseudo_end is just ret and the stack pointer is
65151         correct also for static library in error case.
65153 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65155         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65156         move to syscalls.list.
65157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65162         * manual/install.texi (Running make install): Do not mention Linux
65163         kernel version for which pt_chown is not needed.
65164         (Linux): Do not mention problems with nscd with 2.0 kernels.
65165         * INSTALL: Regenerated.
65167 2012-05-23  Andreas Jaeger  <aj@suse.de>
65169         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65170         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65171         macro.
65172         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65173         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65174         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65175         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65176         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65177         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65178         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65179         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65181         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65182         * sysdeps/unix/sysv/linux/bits/in.h
65183         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65185 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65187         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65188         (PREPARE_VERSION): Just use assert instead, it will be elided
65189         under [NDEBUG] anyway.
65191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65193         * sysdeps/unix/sysv/linux/Makefile: Include
65194         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65195         (sysdep_routines): Remove sysctl.
65196         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65197         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65198         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65199         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65200         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65202 2012-05-22  Andreas Jaeger  <aj@suse.de>
65204         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65205         that pseudo_end is just ret and the stack pointer is correct also
65206         for static library in error case.
65208 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65210         [BZ #14122]
65211         * nss/nsswitch.c (defconfig_entries): New variable.
65212         (__nss_database_lookup): Don't leak defconfig entries.
65213         (nss_parse_service_list): Don't leak on error paths.
65214         (free_database_entries): New function.
65215         (free_defconfig): New function.
65216         (free_mem): Move common code to free_database_entries.
65218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65221         Add arch_prctl.
65222         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65224         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65225         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65226         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65227         New macro.
65228         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65229         (INTERNAL_SYSCALL_TYPES): Likewise.
65230         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65231         (LOAD_REGS_TYPES_[1-6]): Likewise.
65232         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65233         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65235 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65237         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65238         copysignl for GLIBC_2_0.
65239         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65240         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65242         logbl for GLIBC_2_0.
65243         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65244         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65246 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65249         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65251         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65252         Use "neg %eax".
65254         * time/mktime.c: Update copyright years.
65256 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65258         mktime: merge comment-quoting-style change from gnulib
65259         * time/mktime.c: Quote 'like this' in comments.
65260         The GNU coding standards suggest that we no longer quote `like this',
65261         as "`" and "'" are typically rendered asymmetrically nowadays.
65262         The typical gnulib style is to quote 'like this' when quoting
65263         code, and "like this" when quoting English.
65265         * time/mktime.c (compile-command): Add "-I.".
65267         mktime: merge mktime-internal.h change from gnulib
65268         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65270         mktime: merge time_r change from gnulib
65271         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65273         mktime: merge DEBUG change from gnulib
65274         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65275         case system <time.h> has a #define.
65277         mktime: merge <sys/types.h> change from gnulib
65278         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65279         since <time.t> is now guaranteed to define time_t.
65281         mktime: merge HAVE_CONFIG_H change from gnulib
65282         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65284 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65287         Use "neg %eax".
65289         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65290         __rlim_t cast.
65291         (struct rusage): Use anonymous union to pad each field to
65292         __syscall_slong_t.
65294 2012-05-21  David S. Miller  <davem@davemloft.net>
65296         * Makefules (o-iterator): Remove .s cases.
65297         (compile-command.s): Delete.
65298         (COMPILE.s): Delete.
65299         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65301 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65303         * configure.in (libc_cv_predef_stack_protector): Only consider
65304         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65305         * configure: Regenerated.
65307 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65310         New macro.  Use R*LP on int and pointer.
65311         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65312         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65313         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65314         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65316         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65317         [__WORDSIZE_TIME64_COMPAT32] instead of
65318         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65319         (struct utmp): Likewise.
65320         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65321         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65322         Renamed to ...
65323         (__WORDSIZE_TIME64_COMPAT32): This.
65324         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65325         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65326         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65327         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65328         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65329         (__WORDSIZE_TIME64_COMPAT32): New macro.
65331 2012-05-21  Andreas Jaeger  <aj@suse.de>
65333         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65334         only if [SHARED]. Add prototype for __wcschr_ia32.
65336 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65338         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65339         of %rbp unmolested in the jmp_buf while mangling the low bits.
65340         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65341         unmolested high bits of %rbp while demangling the low bits.
65342         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65344 2012-05-21  Andreas Jaeger  <aj@suse.de>
65346         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65347         * sunrpc/svc_simple.c: Use it for registerrpc.
65348         * sunrpc/xcrypt.c: Use it for passwd2des.
65350         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65352 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65354         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65355         Don't define if [__SYSCALL_WORDSIZE != 32].
65356         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65357         New macro.
65359 2012-05-21  Bruno Haible  <bruno@clisp.org>
65360             Andreas Jaeger  <aj@suse.de>
65362         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65363         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65364         inptr and inend for must_buffer_ch.
65365         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65366         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65367         * stdio-common/Makefile (tests): Remove bug15.
65368         (bug15-ENV): Remove macro.
65369         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65370         anymore.
65372 2012-05-19  Andreas Jaeger  <aj@suse.de>
65373             Roland McGrath  <roland@hack.frob.com>
65375         * manual/contrib.texi: Completely rewritten. It contains now an
65376         alphabetical list of contributors and their contributions.
65378 2012-05-21  Richard Henderson  <rth@twiddle.net>
65380         * misc/getauxval.c (__getauxval): Use unsigned long int.
65381         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65382         (getauxval): Use unsigned long int.
65384 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65386         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65388 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65390         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65391         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65392         __alignof__ (long double).
65394 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65398 2012-05-20  Richard Henderson  <rth@twiddle.net>
65400         * misc/getauxval.c: New file.
65401         * misc/sys/auxv.h: New file.
65402         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65403         (routines): Add getauxval.
65404         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65405         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65406         * elf/dl-sysdep.c (_dl_auxv): Remove.
65407         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65408         * elf/dl-support.c (_dl_auxv): New variable.
65409         (_dl_aux_init): Initialize it.
65410         * manual/startup.texi (Auxiliary Vector): New node.
65411         * sysdeps/generic/bits/hwcap.h: New file.
65412         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65413         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65414         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65415         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65416         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65419         Update.
65420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65429 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65433 2012-05-19  David S. Miller  <davem@davemloft.net>
65435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65437 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65439         [BZ #14123]
65440         * math/s_ccosh.c: Include <float.h>
65441         (__ccosh): Avoid internal overflow calculating sinh and cosh
65442         values before multiplying by sin and cos values.
65443         * math/s_ccoshf.c: Likewise.
65444         * math/s_ccoshl.c: Likewise.
65445         * math/s_csin.c: Likewise.
65446         * math/s_csinf.c: Likewise.
65447         * math/s_csinl.c: Likewise.
65448         * math/s_csinh.c: Likewise.
65449         * math/s_csinhf.c: Likewise.
65450         * math/s_csinhl.c: Likewise.
65451         * math/libm-test.inc (ccos_test): Add more tests.
65452         (ccosh_test): Likewise.
65453         (csin_test): Likewise.
65454         (csinh_test): Likewise.
65455         * sysdeps/i386/fpu/libm-test-ulps: Update.
65456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65458 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65460         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65461         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65463         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65465 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65467         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65468         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65469         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65470         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65471         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65472         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65473         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65474         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65475         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65476         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65477         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65478         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65479         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65480         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65481         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65482         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65483         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65484         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65485         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65486         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65487         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65488         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65489         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65490         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65491         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65492         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65493         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65494         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65495         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65496         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65497         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65499 2012-05-18  Andreas Jaeger  <aj@suse.de>
65501         * csu/.gitignore: Delete.
65503 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65505         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65506         (timex): Use __syscall_slong_t.
65508 2012-05-18  Andreas Jaeger  <aj@suse.de>
65509             Carlos O'Donell  <carlos_odonell@mentor.com>
65511         * manual/install.texi (Configuring and compiling): Update
65512         description about files modified in the source directory.
65513         * INSTALL: Regenerated.
65515 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65517         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65518         value.  Use "or" to set return value to -1.
65519         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65520         negate return value.
65522 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65524         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65525         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65526         failure if the compiler has Graphite support disabled.
65527         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65528         Likewise.
65529         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65530         (CFLAGS-memmove.c): Likewise.
65531         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65532         Likewise.
65534 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65536         * sysdeps/x86_64/x32/_itoa.h: New file.
65538         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65539         getdents system call only if kernel and user dirents have the
65540         same d_ino and d_off.
65542         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65543         LLONG_MAX != LONG_MAX.
65544         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65545         (_fitoa_word): Likewise.
65547         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65548         years.
65549         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65550         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65551         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65553         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65554         include <bits/wordsize.h>.  Check __x86_64__ instead of
65555         __WORDSIZE.
65556         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65557         if __x86_64__ is defined.  Use anonymous union on fpstate.
65559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65560         anonymous union.
65562 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65564         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65565         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65566         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65567         Refer to _rtld_local_ro instead of _rtld_global_ro.
65568         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65569         Likewise.
65570         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65571         Likewise.
65572         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65573         Likewise.
65574         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65575         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65576         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65578         [BZ #10882]
65579         * sysdeps/powerpc/powerpc32/dl-machine.c
65580         (__elf_machine_runtime_setup) [PROF]: Don't reference
65581         _dl_prof_resolve.
65583 2012-05-18  Andreas Jaeger  <aj@suse.de>
65585         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65586         function only available for GCCs before 3.4 since GCC 3.4
65587         introduced a builtin.
65588         (lrint): Likewise.
65589         (llrintf): Likewise.
65590         (llrint): Likewise.
65591         (fmaxf): Likewise.
65592         (fmax): Likewise.
65593         (fminf): Likewise.
65594         (fmin): Likewise.
65595         (rint): Likewise.
65596         (rintf): Likewise.
65597         (nearbyint): Likewise.
65598         (nearbyintf): Likewise.
65599         (ceil): Likewise.
65600         (ceilf): Likewise.
65601         (floor): Likewise.
65602         (floorf): Likewise.
65604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65606         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65607         on both fields and cast pointer to __syscall_ulong_t.
65609         * bits/types.h (__fsword_t): New type.
65610         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65611         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65613         (__FSWORD_T_TYPE): Likewise.
65614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65615         (__FSWORD_T_TYPE): Likewise.
65616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65617         (__FSWORD_T_TYPE): Likewise.
65618         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65619         (__FSWORD_T_TYPE): Likewise.
65620         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65621         __SWORD_TYPE with __fsword_t.
65622         (statfs64): Likewise.
65624 2012-05-17  David S. Miller  <davem@davemloft.net>
65626         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65628 2012-05-17  Andreas Jaeger  <aj@suse.de>
65630         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65631         warning.
65633 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65635         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65637 2012-05-17  Andreas Jaeger  <aj@suse.de>
65639         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65640         when it is used.
65642 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65644         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65646 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65648         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65649         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65651 2012-05-17  Andreas Jaeger  <aj@suse.de>
65652             Carlos O'Donell  <carlos_odonell@mentor.com>
65654         [BZ #14059]
65655         * sysdeps/x86_64/multiarch/init-arch.h
65656         (bit_YMM_Usable): Rename to...
65657         (bit_AVX_Usable): ... this.
65658         (bit_FMA4_Usable): New macro.
65659         (bit_XMM_state): New macro.
65660         (bit_YMM_state): New macro.
65661         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65662         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65663         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65664         (CPUID_OSXSAVE): New macro.
65665         (CPUID_AVX): New macro.
65666         (CPUID_FMA4): New macro.
65667         (index_YMM_Usable): Rename to...
65668         (index_AVX_Usable): ... this.
65669         (HAS_AVX): Use HAS_ARCH_FEATURE.
65670         (HAS_FMA4): Likewise.
65671         (HAS_YMM_USABLE): Remove.
65672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65673         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65674         are present.
65675         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65676         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65677         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65678         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65679         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65681 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65683         * math/libm-test.c: Support platforms without multiple rounding modes.
65684         * math/bug-nextafter.c: Support platforms without FP exceptions.
65685         * math/bug-nexttoward.c: Likewise.
65686         * math/test-fenv.c: Likewise.
65687         * math/test-misc.c: Likewise.
65688         * stdlib/bug-getcontext.c: Likewise.
65690 2012-05-17  Andreas Jaeger  <aj@suse.de>
65692         * manual/examples/search.c (critter_cmp): Change signature to
65693         avoid warnings.
65694         * manual/string.texi (Collation Functions): Likewise.
65696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65698         * bits/types.h: Fold copyright years.
65699         * bits/typesizes.h: Likewise.
65700         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65704         * time/time.h: Likewise.
65706 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65708         [BZ #208]
65709         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65710         in instead of returning them.  Return void.
65711         (__libc_mallinfo): Accumulate over all arenas.
65712         (__malloc_stats): Adjust for change in int_mallinfo interface.
65714 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65716         [BZ #10375]
65717         * configure.in (NM): Add AC_CHECK_TOOL for it.
65718         (libc_extra_cflags): New substituted variable.
65719         Check for -fstack-protector being used implicitly.
65720         * configure: Regenerated.
65721         * config.make.in (config-extra-cflags): New variable,
65722         gets @libc_extra_cflags@.
65723         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65725         [BZ #10375]
65726         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65727         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65728         * configure: Regenerated.
65729         * config.make.in (CPPUNDEFS): New substituted variable.
65730         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65731         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65732         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65736         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65737         (mq_attr): Use __syscall_slong_t.
65739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65741         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65742         Check __x86_64__ instead of __WORDSIZE.
65743         (_STAT_VER_LINUX): Likewise.
65744         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65745         __syscall_ulong_t and __syscall_slong_t.
65746         (stat64): Likewise.
65748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65752 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65754         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65758         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65759         __syscall_ulong_t.
65761         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65762         include <bits/wordsize.h>.  Check __x86_64__ instead of
65763         __WORDSIZE.
65764         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65765         defined.
65766         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65768         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65769         include <bits/wordsize.h>.  Check __x86_64__ instead of
65770         __WORDSIZE.
65771         (user_regs_struct): Use "__extension__ unsigned long long"
65772         instead of "unsigned long" if __x86_64__ is defined.
65773         (user): Likewise.  Pad after pointer field if __ILP32__ is
65774         defined.
65776 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65778         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65779         versions 5 to 9.
65780         * configure: Regenerated.
65781         * manual/install.texi (texinfo): Increase version requirement to
65782         4.5 or later.
65783         * INSTALL: Regenerated.
65785         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65787 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65789         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65791         * sysdeps/x86_64/x32/ffs.c: New file.
65793         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65794         __syscall_ulong_t.
65795         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65796         defined.  Use __syscall_ulong_t.
65797         (shminfo): Use __syscall_ulong_t.
65798         (shm_info): Likewise.
65800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65801         __syscall_ulong_t.
65803         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65804         <bits/wordsize.h>.
65805         (msgqnum_t): Use __syscall_ulong_t.
65806         (msglen_t): Likewise.
65807         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65808         __syscall_ulong_t.
65810         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65811         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65813         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65815         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65816         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65818         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65819         __syscall_slong_t.
65821         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65822         include <bits/wordsize.h>.  Check __x86_64__ instead of
65823         __WORDSIZE.
65825         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65826         "unsigned long long int" if __x86_64__ is defined.
65827         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65830         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65831         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65833         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65834         <stdint.h>.
65835         (GET_PC): Cast to uintptr_t first.
65836         (GET_FRAME): Likewise.
65837         (GET_STACK): Likewise.
65839         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65840         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65841         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65842         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65843         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65844         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65845         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65846         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65847         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65848         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65849         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65850         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65851         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65852         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65853         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65854         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65855         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65856         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65857         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65858         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65859         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65860         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65861         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65862         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65863         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65864         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65865         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65866         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65867         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65869 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65871         * Makerules (+depfiles): Also collect depfiles from .oS in
65872         $(extra-objs).
65873         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65874         .oS, $(libnldbl-routines)).
65876         * Makerules (native-compile-mkdep-flags): Define.
65877         * sunrpc/Makefile (extra-objs): Add $(addprefix
65878         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65879         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65880         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65881         calling $(make-target-directory).
65883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65885         * bits/types.h (__snseconds_t): Removed.
65886         * time/time.h (struct timespec): Replace __snseconds_t with
65887         __syscall_slong_t.
65888         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65889         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65890         Likewise.
65891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65892         (__SNSECONDS_T_TYPE): Likewise.
65893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65894         (__SNSECONDS_T_TYPE): Likewise.
65895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65896         (__SNSECONDS_T_TYPE): Likewise.
65898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65900         * sysdeps/mach/hurd/bits/typesizes.h
65901         (__SYSCALL_SLONG_TYPE): New macro.
65902         (__SYSCALL_ULONG_TYPE): Likewise.
65904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65906         * bits/types.h (__syscall_slong_t): New type.
65907         (__syscall_ulong_t): Likewise.
65909         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65910         (__SYSCALL_ULONG_TYPE): Likewise.
65911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65912         (__SYSCALL_SLONG_TYPE): Likewise.
65913         (__SYSCALL_ULONG_TYPE): Likewise.
65914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65915         (__SYSCALL_SLONG_TYPE): Likewise.
65916         (__SYSCALL_ULONG_TYPE): Likewise.
65917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65918         (__SYSCALL_SLONG_TYPE): Likewise.
65919         (__SYSCALL_ULONG_TYPE): Likewise.
65921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65923         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65924         Add sigaltstack-offsets.sym.
65925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65926         <sigaltstack-offsets.h>.
65927         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65928         longjmp_msg pointer.
65929         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65930         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65931         signal stack.
65932         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65934 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65936         * elf/stackguard-macros.h: Remove file.
65937         * sysdeps/generic/stackguard-macros.h: New file.
65938         * sysdeps/i386/stackguard-macros.h: Likewise.
65939         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65940         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65941         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65942         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65943         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65944         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65945         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65946         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65947         <elf/stackguard-macros.h>.
65949         [BZ #14109]
65950         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65951         __aligned__ in attribute.
65952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65953         (gregset_t): Likewise.
65955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65957         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65958         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65959         * sysdeps/x86_64/x32/Implies-after: New file.
65961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65963         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65964         and access return value for _dl_profile_fixup.  Use R10_LP to
65965         load frame size.
65967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65969         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65973         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65974         * sysdeps/x86_64/x32/sysdep.h: New file.
65976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65978         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65979         * sysdeps/x86_64/setjmp.S: Likewise.
65981 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65983         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65984         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65985         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65986         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65987         remove unused global constant.
65989 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65991         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65992         include of <not-cancel.h>.
65994 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65996         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65998 2012-05-15  Jeff Law  <law@redhat.com>
65999             Andreas Jaeger  <aj@suse.de>
66001         [BZ #13594]
66002         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66003         out from...
66004         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66005         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66007         code changing __hst_map_handle.map.
66009 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66011         * configure.in (sysnames): Look for Implies-before and Implies-after
66012         files.
66013         * configure: Regenerated.
66015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66017         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66018         8-byte data alignment with LP_SIZE alignment.
66020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66022         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66023         into R10_LP.
66025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66027         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66032         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66033         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66034         Likewise.
66035         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66039         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66040         (stackinfo_sub_sp): Likewise.
66042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66045         RAX_LP.
66047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66050         into R*_LP.
66052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66055         sizes into R*_LP.
66057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66059         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66063         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66064         into R11_LP and load __x86_64_shared_cache_size_half into
66065         R8_LP.
66067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66069         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66070         R8_LP.
66072 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66075         logb for POWER7.
66076         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66077         logbf for POWER7.
66078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66079         logbl for POWER7.
66080         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66081         powerpc32/power7/fpu/s_logb.c via #include.
66082         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66083         powerpc32/power7/fpu/s_logbf.c via #include.
66084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66085         powerpc32/power7/fpu/s_logbl.c via #include.
66087 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66089         * README.libm: Remove file.
66091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66093         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66094         count for x32.  Use R*_LP and omit operand-size suffix.
66096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66098         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66099         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66100         * sysdeps/x86_64/x32/shlib-versions: New file.
66102 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66104         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66105         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66106         Use _dl_fatal_printf instead.
66108 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66110         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66111         set if not set by the user.  Do not allow for being unset.
66112         * sysdeps/unix/sysv/linux/configure: Regenerated.
66114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66116         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66117         the `q' suffix from lea and replace .quad with ASM_ADDR.
66119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66122         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66123         instead of $17.
66124         (PTR_DEMANGLE): Likewise.
66126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66128         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66129         (LP_OP): Likewise.
66130         (ASM_ADDR): Likewise.
66131         (RAX_LP): Likewise.
66132         (RBP_LP): Likewise.
66133         (RBX_LP): Likewise.
66134         (RCX_LP): Likewise.
66135         (RDI_LP): Likewise.
66136         (RSI_LP): Likewise.
66137         (RSP_LP): Likewise.
66138         (R8_LP): Likewise.
66139         (R9_LP): Likewise.
66140         (R10_LP): Likewise.
66141         (R10_LP): Likewise.
66142         (R11_LP): Likewise.
66143         (R12_LP): Likewise.
66144         (R13_LP): Likewise.
66145         (R14_LP): Likewise.
66146         (R15_LP): Likewise.
66148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66150         * sysdeps/x86_64/x32/dl-machine.h: New file.
66152 2012-05-14  Andreas Jaeger  <aj@suse.de>
66154         * manual/Makefile (subdir): Remove export of subdir.
66155         (all): Remove target.
66156         (.PHONY): Remove all from list.
66157         (mkinstalldirs): Remove.
66158         (.PHONY): Remove installdirs from list.
66159         ($(inst_infodir)/libc.info): Use make-target-directory.
66160         (installdirs): Remove.
66161         (subdir_%): Remove.
66162         (glibc-targets): Remove.
66163         (lib): Remove.
66164         (stubs): Remove.
66165         ($(objpfx)stubs ../po/manual.pot): Remove.
66166         ($(objpfx)stamp%): Remove.
66167         (make-target-directory): Remove.
66168         (subdir_install): Remove.
66169         (routines): Remove.
66170         (aux): Remove.
66171         (sources): Remove.
66172         (objects): Remove.
66173         (headers): Remove.
66175         [BZ #13750]
66176         * manual/.gitignore: Remove, it's not needed anymore.
66177         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66178         all files in it.
66179         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66180         directory.
66181         (texis): Renamed to $(objpfx)texis.
66182         (texis-path): New, contains path to generated files.
66183         (chapters.%): Use texis-path for complete path, add extra argument
66184         libc-texinfo.sh.
66185         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66186         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66187         (summary,texi, stamp-summary): Use complete path of
66188         files. Generate files in build dir.
66189         (dir-add.texi): Build in build dir.
66190         (libm-err.texi,stamp-libm-err): Likewise.
66191         (version.texi, stamp-version): Likewise.
66192         (.%c.texi): Likewise.
66193         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66194         (mostlyclean): Remove target.
66195         (realclean): Remove target.
66196         (generated): Add new variable with contents from mostlyclean and
66197         realclean, remove entries duplicated in common-mostlyclean, add
66198         stamp-libm-err and stamp-version.
66199         (generated-dirs): Add libc directory.
66200         ($(inst_infodir)/libc.info): Install files from build dir.
66202         * manual/install.texi (Configuring and compiling): Adjust since
66203         the info files are not part of the tar ball anymore.
66205 2012-05-14  Andreas Jaeger  <aj@suse.de>
66207         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66208         variable.
66210 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66212         [BZ #13717]
66213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66214         to 2.2.0 where earlier.
66215         * sysdeps/unix/sysv/linux/configure: Regenerated.
66216         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66217         Remove conditional code.
66218         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66219         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66220         Remove conditional code.
66221         [!__NR_lchown]: Likewise.
66222         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66223         [__NR_lchown]: Likewise.
66224         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66225         comment referencing __ASSUME_LCHOWN_SYSCALL.
66226         * sysdeps/unix/sysv/linux/i386/sigaction.c
66227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66229         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66230         Remove conditional code.
66231         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66232         (__protocol_available): Remove #if 0 code.
66233         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66234         conditional code.
66235         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66236         * sysdeps/unix/sysv/linux/kernel-features.h
66237         (__ASSUME_GETCWD_SYSCALL): Don't define.
66238         (__ASSUME_REALTIME_SIGNALS): Likewise.
66239         (__ASSUME_PREAD_SYSCALL): Likewise.
66240         (__ASSUME_PWRITE_SYSCALL): Likewise.
66241         (__ASSUME_POLL_SYSCALL): Likewise.
66242         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66243         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66244         non-SPARC.
66245         (__ASSUME_SIOCGIFNAME): Don't define.
66246         (__ASSUME_MSG_NOSIGNAL): Likewise.
66247         (__ASSUME_SENDFILE): Define unconditionally.
66248         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66249         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66250         conditional code.
66251         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66252         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66253         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66254         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66255         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66256         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66257         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66259         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66262         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66263         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66268         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66269         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66271         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66274         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66275         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66280         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66281         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66282         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66283         Remove conditional code.
66284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66285         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66286         Remove conditional code.
66287         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66288         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66289         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66290         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66291         Remove conditional code.
66292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66293         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66294         Remove conditional code.
66295         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66296         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66297         Remove conditional code.
66298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66299         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66300         Remove conditional code.
66301         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66302         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66303         Remove conditional code.
66304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66305         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66306         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66307         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66308         * sysdeps/unix/sysv/linux/sigaction.c
66309         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66310         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66311         * sysdeps/unix/sysv/linux/sigpending.c
66312         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66313         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66314         * sysdeps/unix/sysv/linux/sigprocmask.c
66315         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66316         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66317         * sysdeps/unix/sysv/linux/sigsuspend.c
66318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66320         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66321         (__libc_missing_rt_sigs): Remove.
66322         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66323         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66324         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66325         Remove conditional code.
66326         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66327         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66328         return 1.
66329         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66330         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66331         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66332         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66334 2012-05-14  Andreas Jaeger  <aj@suse.de>
66336         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66337         it's not used in glibc.
66338         (__coshm1): Likewise.
66339         (__acosh1p): Likewise.
66340         (__sgn): Likewise.
66342         * manual/string.texi (Copying and Concatenation): Add missing
66343         variable in concat example.
66344         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66348         [BZ #14103]
66349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66350         __builtin_clzl with __builtin_clzll.
66352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66354         [BZ #14104]
66355         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66356         libc_freeres_ptr.
66358 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66360         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66361         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66362         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66363         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66365 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66367         * NEWS: Update ia64 info.
66369 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66371         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66372         used as bcopy.
66374 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66376         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66377         * sysdeps/unix/syscalls.list (dup3): Likewise.
66378         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66379         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66381 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66383         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66384         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66386 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66388         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66389         thread pointer.
66390         (TLS_IE): Use mov/add instead of movq/addq to load thread
66391         pointer.
66392         (TLS_GD_PREFIX): New.
66393         (TLS_GD): Use it.
66395 2012-05-11  David S. Miller  <davem@davemloft.net>
66397         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66398         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66399         (_FPU_SETCW): Likewise.
66401 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66403         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66404         is 32-byte aligned.
66406 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66408         [BZ #11837]
66409         * iconvdata/gb18030.c: Update tables.
66410         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66411         characters specially.
66412         (BODY for TO_LOOP): Add encoding of missing ranges.
66414 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66416         [BZ #13673]
66417         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66418         * sysdeps/mach/hurd/dup3.c: Likewise.
66419         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66420         * sysdeps/powerpc/memmove.c:: Likewise.
66422 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66424         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66425         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66427 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66429         * elf/elf.h (R_X86_64_RELATIVE64): New.
66430         (R_X86_64_NUM): Updated.
66431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66432         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66433         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66434         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66435         tst-quad1pie tst-quad2pie
66436         (modules-names): Add tst-quadmod1 tst-quadmod2.
66437         ($(objpfx)tst-quad1): New dependency.
66438         ($(objpfx)tst-quad2): Likewise.
66439         ($(objpfx)tst-quad1pie): Likewise.
66440         ($(objpfx)tst-quad2pie): Likewise.
66441         * sysdeps/x86_64/tst-quad1.c: New file.
66442         * sysdeps/x86_64/tst-quad1pie.c: New file.
66443         * sysdeps/x86_64/tst-quad2.c: Likewise.
66444         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66445         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66446         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66447         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66448         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66452         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66453         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66454         * streams/stropts.h (t_scalar_t): Define type.
66456         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66457         (_PATH_PRESERVE): Set to "/var/lib".
66458         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66460         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66461         instead of int.
66463         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66464         if __dir_mkfile succeeded.
66466         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66467         checking for _hurd_dtablesize.  Unlock it right after having
66468         finished _hurd_dtable allocation.
66470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66472         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66473         * sysdeps/mach/hurd/configure: Regenerated.
66474         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66475         special-casing to...
66476         * sysdeps/gnu/configure.in: ... this new file.
66477         * sysdeps/unix/sysv/linux/configure: Regenerated.
66478         * sysdeps/gnu/configure: New generated file.
66480         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66481         for Linux: use nsec instead of usec, as well as:
66482         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66483         members of type struct timespec.
66484         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66485         New macros.
66486         (struct stat64): Likewise.
66487         (_STATBUF_ST_NSEC): New macro.
66488         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66490         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66491         __strtoul_internal rather than strtoul.
66493 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66495         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66496         and reject them.
66498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66500         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66501         which preserves existing values.
66502         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66504 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66506         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66507         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66508         greater than FD_SETSIZE.
66510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66512         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66513         allocated, call __vm_protect to finish enabling the existing space, and
66514         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66515         allocate the remainder.
66517 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66519         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66520         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66524         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66525         sysdeps/mach/hurd/readlink.c.
66527         * posix/tst-sysconf.c (posix_options): Only use
66528         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66529         _POSIX_SYNCHRONIZED_IO when they are defined
66530         * sysdeps/mach/hurd/bits/posix_opt.h:
66531         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66532         (_XOPEN_REALTIME): Undefine macro.
66533         (_XOPEN_REALTIME_THREADS): Undefine macro.
66534         (_XOPEN_SHM): Undefine macro.
66535         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66536         macro to -1.
66537         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66538         macro to -1.
66539         (_POSIX_ASYNC_IO): Undefine macro.
66540         (_POSIX_PRIORITIZED_IO): Undefine macro.
66541         (_POSIX_SPIN_LOCKS): Define macro to -1.
66543         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66544         SA_NODEFER, SA_RESETHAND.
66545         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66546         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66547         F_DUPFD_CLOEXEC.
66549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66551         * elf/Makefile (pldd-modules): Define unconditionally.
66553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66555         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66559         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66560         Return ENOENT when name is empty.
66561         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66565         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66567         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66571         Fix mlock in all cases except non-readable pages.
66572         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66573         instead of VM_PROT_ALL as parameter to __vm_wire function.
66575         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66576         (__mkdir): When path is `/', just fail with EEXIST.
66577         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66581         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66582         <sys/uio.h> (for writev).
66583         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66584         and <sys/param.h> (for MIN).
66586 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66588         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66589         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66590         if interrupted.
66592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66594         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66595         Depend on against $(link-rpcuserlibs).
66597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66599         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66600         (__libc_stack_end): Do not use attribute_relro.
66601         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66602         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66603         to libthread-provided value.
66604         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66605         attribute_relro.
66607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66609         [BZ #3748]
66610         * bits/libc-lock.h (__libc_once_get): New macro.
66611         * sysdeps/mach/bits/libc-lock.h: Likewise.
66612         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66614         instead of using implementation details.
66616         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66617         * libio/freopen.c: Likewise.
66618         * libio/freopen64.c: Likewise.
66619         * misc/syslog.c: Likewise.
66620         * nscd/connections.c: Likewise.
66621         * nscd/netgroupcache.c: Likewise.
66622         * sysdeps/posix/getcwd.c: Likewise.
66624 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66626         * math/w_ilogbf.c: Add #include <limits.h>.
66628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66630         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66631         path instead of returning without unlocking.
66633         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66634         immediate-write ioctls.
66635         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66639         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66640         __builtin_frame_address instead of making assumptions about the
66641         location of the return address relative to DATA.  Force early load of
66642         the return address.
66643         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66644         __builtin_frame_address.
66646         dup3 for GNU Hurd.
66647         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66648         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66649         implement dup3 and do some further code clean-ups.
66650         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66651         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66655         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66657         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66658         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66659         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66660         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66661         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66662         d->port.lock.
66664         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66665         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66666         when handler == SIG_ERR, not when handler != SIG_ERR.
66668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66670         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66671         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66672         definitions.
66674         accept4 for GNU Hurd.
66675         * include/sys/socket.h (__libc_accept4): New prototype.
66676         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66677         to implement __libc_accept4.
66678         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66679         __libc_accept4.
66680         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66682         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66683         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66684         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66685         signal-defines.sym.
66687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66689         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66693         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66694         assertion on O_CLOEXEC flag.
66695         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66696         * hurd/intern-fd.c: Likewise.
66697         * hurd/port2fd.c: Likewise.
66699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66701         [BZ #3906]
66702         * bits/in.h (IPV6_PKTINFO): Define new macro.
66703         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66705 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66707         [BZ #13954]
66708         [BZ #13955]
66709         [BZ #13956]
66710         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66711         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66712         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66713         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66715         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66716         * math/libm-test.inc (logb_test) : Additional logb tests.
66718 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66719             Andreas Jaeger  <aj@suse.de>
66721         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66722         * configure: Regenerated.
66723         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66724         * config.make.in (link-obsolete-rpc): New substituted variable.
66725         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66726         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66727         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66728         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66729         so that libc.a contains the symbols.
66730         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66731         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66732         * sunrpc/auth_none.c: Likewise.
66733         * sunrpc/auth_unix.c: Likewise.
66734         * sunrpc/authdes_prot.c: Likewise.
66735         * sunrpc/authuxprot.c: Likewise.
66736         * sunrpc/clnt_gen.c: Likewise.
66737         * sunrpc/clnt_perr.c: Likewise.
66738         * sunrpc/clnt_raw.c: Likewise.
66739         * sunrpc/clnt_simp.c: Likewise.
66740         * sunrpc/clnt_tcp.c: Likewise.
66741         * sunrpc/clnt_udp.c: Likewise.
66742         * sunrpc/clnt_unix.c: Likewise.
66743         * sunrpc/des_crypt.c: Likewise.
66744         * sunrpc/des_soft.c: Likewise.
66745         * sunrpc/get_myaddr.c: Likewise.
66746         * sunrpc/key_call.c: Likewise.
66747         * sunrpc/key_prot.c: Likewise.
66748         * sunrpc/netname.c: Likewise.
66749         * sunrpc/pm_getmaps.c: Likewise.
66750         * sunrpc/pm_getport.c: Likewise.
66751         * sunrpc/pmap_clnt.c: Likewise.
66752         * sunrpc/pmap_prot.c: Likewise.
66753         * sunrpc/pmap_prot2.c: Likewise.
66754         * sunrpc/pmap_rmt.c: Likewise.
66755         * sunrpc/publickey.c: Likewise.
66756         * sunrpc/rpc_cmsg.c: Likewise.
66757         * sunrpc/rpc_common.c: Likewise.
66758         * sunrpc/rpc_dtable.c: Likewise.
66759         * sunrpc/rpc_prot.c: Likewise.
66760         * sunrpc/rpc_thread.c: Likewise.
66761         * sunrpc/rtime.c: Likewise.
66762         * sunrpc/svc.c: Likewise.
66763         * sunrpc/svc_auth.c: Likewise.
66764         * sunrpc/svc_raw.c: Likewise.
66765         * sunrpc/svc_run.c: Likewise.
66766         * sunrpc/svc_tcp.c: Likewise.
66767         * sunrpc/svc_udp.c: Likewise.
66768         * sunrpc/svc_unix.c: Likewise.
66769         * sunrpc/svcauth_des.c: Likewise.
66770         * sunrpc/xcrypt.c: Likewise.
66771         * sunrpc/xdr.c: Likewise.
66772         * sunrpc/xdr_array.c: Likewise.
66773         * sunrpc/xdr_float.c: Likewise.
66774         * sunrpc/xdr_intXX_t.c: Likewise.
66775         * sunrpc/xdr_mem.c: Likewise.
66776         * sunrpc/xdr_rec.c: Likewise.
66777         * sunrpc/xdr_ref.c: Likewise.
66778         * sunrpc/xdr_sizeof.c: Likewise.
66779         * sunrpc/xdr_stdio.c: Likewise.
66781 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66784         change.  Update copyright years.
66786 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66788         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66790 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66791             Joseph Myers  <joseph@codesourcery.com>
66792             Paul Pluzhnikov  <ppluzhnikov@google.com>
66794         [BZ #14012]
66795         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66796         requiring rpcgen.
66797         [cross-compiling] (extra-libs): Likewise.
66798         [cross-compiling] (extra-libs-others): Likewise.
66799         [cross-compiling] (librpcsvc-routines): Likewise.
66800         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66801         [cross-compiling] (omit-deps): Likewise.
66802         (sunrpc-CPPFLAGS): New variable.
66803         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66804         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66805         (cross-rpcgen-objs): New variable.
66806         (extra-objs): Append $(cross-rpcgen-objs).
66807         ($(cross-rpcgen-objs)): New rule.
66808         ($(objpfx)cross-rpcgen): Likewise.
66809         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66810         comment.
66811         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66812         ($(objpfx)x%.stmp): Likewise.
66813         * sunrpc/proto.h [IS_IN_build] (_): Define.
66814         [IS_IN_build] (_libc_intl_domainname): Likewise.
66816 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66819         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66820         and R_X86_64_TPOFF64.
66822 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66824         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66825         sysdeps/unix/sysv/syscalls.list.
66826         (stime): Likewise.
66827         (utime): Likewise.
66828         * sysdeps/unix/sysv/syscalls.list: Remove file.
66830 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66832         [BZ #3440]
66833         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66834         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66835         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66836         (__LC_IDENTIFICATION): Make these macros useful in #if
66837         expressions, as required by C99.
66839 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66841         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66842         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66843         after this.
66845 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66847         * stdlib/longlong.h: Updated from GCC.
66849 2012-05-09  Andreas Jaeger  <aj@suse.de>
66851         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66852         default is first entry.
66853         (run_mode): Set type.
66854         (main): Remove informal message about syslog.
66855         (options): Fix typo.
66857         [BZ #14053]
66858         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66859         to asm.
66860         (lrint): Likewise.
66861         (llrintf): Likewise.
66862         (llrint): Likewise.
66863         (rint): Likewise.
66864         (rintf): Likewise.
66865         (nearbyint): Likewise.
66866         (nearbyintf): Likewise.
66868 2012-05-09  Andreas Jaeger  <aj@suse.de>
66869             Pedro Alves  <palves@redhat.com>
66871         * nscd/nscd.c (run_mode): Use enum.
66872         (main): Cleanup coding style issue.
66874 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66875             Andreas Jaeger  <aj@suse.de>
66877         * nscd/nscd.c (go_background): Replaced with...
66878         (run_mode): ... this.
66879         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66880         (options): Add -F --foreground.
66881         (main): Implement it.
66882         (parse_opt): Parse it.
66884 2012-05-09  Andreas Jaeger  <aj@suse.de>
66886         [BZ #14083]
66887         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66888         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66889         -Wconversion warning.
66890         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66891         Likewise.
66893 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66895         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66896         == 0.
66897         (LC_ALL): Use macro-int-constant.
66898         (LC_COLLATE): Likewise.
66899         (LC_CTYPE): Likewise.
66900         (LC_MESSAGES): Likewise.
66901         (LC_MONETARY): Likewise.
66902         (LC_NUMERIC): Likewise.
66903         (LC_TIME): Likewise.
66904         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66905         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66907         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66908         Specify type.
66909         [C99-based standards] (float_t): Expect type.
66910         [C99-based standards] (double_t): Expect type.
66911         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66912         type.
66913         [C99-based standards] (HUGE_VALL): Likewise.
66914         [C99-based standards] (INFINITY): Likewise.
66915         [C99-based standards] (NAN): Likewise.
66916         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66917         [C99-based standards] (FP_NAN): Likewise.
66918         [C99-based standards] (FP_NORMAL): Likewise.
66919         [C99-based standards] (FP_SUBNORMAL): Likewise.
66920         [C99-based standards] (FP_ZERO): Likewise.
66921         [C99-based standards] (FP_FAST_FMA): Use
66922         optional-macro-int-constant.  Specify type.  Require == 1.
66923         [C99-based standards] (FP_FAST_FMAF): Likewise.
66924         [C99-based standards] (FP_FAST_FMAL): Likewise.
66925         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66926         [C99-based standards] (FP_ILOGBNAN): Likewise.
66927         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66928         Specify type.
66929         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66930         [C99-based standards] (math_errhandling): Specify type.
66931         [ISO99 || ISO11] (signgam): Do not allow.
66932         [non-C99-based standards] (copysignf): Do not allow.
66933         [non-C99-based standards] (exp2f): Likewise.
66934         [non-C99-based standards] (log2f): Likewise.
66935         [non-C99-based standards] (modff): Allow.
66936         [non-C99-based standards] (erff): Do not allow.
66937         [non-C99-based standards] (erfcf): Likewise.
66938         [non-C99-based standards] (gammaf): Likewise.
66939         [non-C99-based standards] (hypotf): Likewise.
66940         [non-C99-based standards] (j0f): Likewise.
66941         [non-C99-based standards] (j1f): Likewise.
66942         [non-C99-based standards] (jnf): Likewise.
66943         [non-C99-based standards] (lgammaf): Likewise.
66944         [non-C99-based standards] (tgammaf): Likewise.
66945         [non-C99-based standards] (y0f): Likewise.
66946         [non-C99-based standards] (y1f): Likewise.
66947         [non-C99-based standards] (ynf): Likewise.
66948         [non-C99-based standards] (isnanf): Likewise.
66949         [non-C99-based standards] (acoshf): Likewise.
66950         [non-C99-based standards] (asinhf): Likewise.
66951         [non-C99-based standards] (atanhf): Likewise.
66952         [non-C99-based standards] (cbrtf): Likewise.
66953         [non-C99-based standards] (expm1f): Likewise.
66954         [non-C99-based standards] (ilogbf): Likewise.
66955         [non-C99-based standards] (log1pf): Likewise.
66956         [non-C99-based standards] (logbf): Likewise.
66957         [non-C99-based standards] (nextafterf): Likewise.
66958         [non-C99-based standards] (remainderf): Likewise.
66959         [non-C99-based standards] (rintf): Likewise.
66960         [non-C99-based standards] (scalbf): Likewise.
66961         [non-C99-based standards] (copysignl): Likewise.
66962         [non-C99-based standards] (exp2l): Likewise.
66963         [non-C99-based standards] (log2l): Likewise.
66964         [non-C99-based standards] (modfl): Allow.
66965         [non-C99-based standards] (erfl): Do not allow.
66966         [non-C99-based standards] (erfcl): Likewise.
66967         [non-C99-based standards] (gammal): Likewise.
66968         [non-C99-based standards] (hypotl): Likewise.
66969         [non-C99-based standards] (j0l): Likewise.
66970         [non-C99-based standards] (j1l): Likewise.
66971         [non-C99-based standards] (jnl): Likewise.
66972         [non-C99-based standards] (lgammal): Likewise.
66973         [non-C99-based standards] (tgammal): Likewise.
66974         [non-C99-based standards] (y0l): Likewise.
66975         [non-C99-based standards] (y1l): Likewise.
66976         [non-C99-based standards] (ynl): Likewise.
66977         [non-C99-based standards] (isnanl): Likewise.
66978         [non-C99-based standards] (acoshl): Likewise.
66979         [non-C99-based standards] (asinhl): Likewise.
66980         [non-C99-based standards] (atanhl): Likewise.
66981         [non-C99-based standards] (cbrtl): Likewise.
66982         [non-C99-based standards] (expm1l): Likewise.
66983         [non-C99-based standards] (ilogbl): Likewise.
66984         [non-C99-based standards] (log1pl): Likewise.
66985         [non-C99-based standards] (logbl): Likewise.
66986         [non-C99-based standards] (nextafterl): Likewise.
66987         [non-C99-based standards] (remainderl): Likewise.
66988         [non-C99-based standards] (rintl): Likewise.
66989         [non-C99-based standards] (scalbl): Likewise.
66990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66991         [non-C99-based standards] (FP_*): Do not allow.
66992         [C99-based standards] (FP_*): Change to
66993         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66994         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66995         allow.
66996         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66997         (SIG_ERR): Likewise.
66998         [X/Open-based standards] (SIG_HOLD): Likewise.
66999         (SIG_IGN): Likewise.
67000         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67001         positive value.
67002         (SIGFPE): Likewise.
67003         (SIGILL): Likewise.
67004         (SIGINT): Likewise.
67005         (SIGSEGV): Likewise.
67006         (SIGTER): Likewise.
67007         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67008         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67009         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67010         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67011         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67012         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67013         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67014         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67015         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67016         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67017         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67018         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67019         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67020         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67021         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67022         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67023         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67024         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67025         [X/Open-based standards] (SIGTRAP): Likewise.
67026         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67027         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67028         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67029         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67030         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67031         allow.
67033 2012-05-08  Ian Wienand  <ianw@vmware.com>
67035         [BZ #14080]
67036         * time/tzset.c (__tzset_parse_tz): Update default rules for
67037         daylight time changes in the Energy Policy Act of 2005.
67039 2012-05-09  Andreas Jaeger  <aj@suse.de>
67041         [BZ #13983]
67042         * elf/ldconfig.c (parse_conf): Change string to make clear that
67043         ldconfig only issued a warning if ld.so.conf does not exist.
67045 2012-05-08  David S. Miller  <davem@davemloft.net>
67047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67048         movxtod instead of popping the value on the stack.
67050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67052 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67054         * config.h.in: Add HAVE_ARM_PCS_VFP.
67056 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67058         [BZ #13979]
67059         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67060         checking but the checks are disabled for any reason.
67062 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67064         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67065         and ELF64_R_TYPE with ELFW(R_TYPE).
67067 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67069         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67070         (ulimit): Likewise.
67072         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67073         (settimeofday): Likewise.
67075 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67077         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67078         a struct th_u2 inside the union, and move tu_block/tu_code into
67079         a new th_u3 union of tu_block/tu_code inside of that.  Move
67080         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67081         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67082         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67083         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67084         (th_stuff): Change to th_u1.tu_stuff.
67085         (th_data): Define.
67086         (th_msg): Change to th_u1.th_u2.tu_data.
67088 2012-05-07  David S. Miller  <davem@davemloft.net>
67090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67092         [BZ #14074]
67093         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67094         (SETUP_PIC_REG): Use it.
67095         (SETUP_PIC_REG_LEAF): Use it.
67097 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67099         [BZ #13885]
67100         [BZ #13923]
67101         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67102         USE_AS_EXPM1L.
67103         (EXPL_FINITE): Likewise.
67104         (FLDLOG): Likewise.
67105         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67106         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67107         e_expl.S.
67108         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67109         USE_AS_EXPM1L.
67110         (EXPL_FINITE): Likewise.
67111         (FLDLOG): Likewise.
67112         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67113         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67114         e_expl.S.
67115         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67116         test of -max_value argument for long double.
67117         * sysdeps/i386/fpu/libm-test-ulps: Update.
67118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67120 2012-05-06  David S. Miller  <davem@davemloft.net>
67122         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67123         quad soft-float symbols whose references which are compiler
67124         generated.
67125         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67127 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67129         [BZ #13884]
67130         [BZ #13914]
67131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67132         USE_AS_EXP10L.
67133         (EXPL_FINITE): Likewise.
67134         (FLDLOG): Likewise.
67135         (c0): Likewise.
67136         (c1): Likewise.
67137         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67138         Adjust comments for base varying.
67139         (__expl_finite): Change alias to EXPL_FINITE.
67140         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67141         e_expl.S.
67142         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67143         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67144         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67145         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67146         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67147         USE_AS_EXP10L.
67148         (EXPL_FINITE): Likewise.
67149         (FLDLOG): Likewise.
67150         (c0): Likewise.
67151         (c1): Likewise.
67152         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67153         Adjust comments for base varying.
67154         (__expl_finite): Change alias to EXPL_FINITE.
67155         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67156         tests for bugs.
67157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67159         [BZ #14064]
67160         * math/libm-test.inc (check_float_internal): Correct ulp
67161         calculation for subnormal expected results.
67163 2012-05-06  Andreas Jaeger  <aj@suse.de>
67165         * Makeconfig (+math-flags): New, set to -frounding-math.
67166         (+cflags): Add +math-flags so that all of glibc gets compiled with
67167         it.
67169         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67171 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67173         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67174         Disable one test.
67176         [BZ #13787]
67177         [BZ #13922]
67178         [BZ #14036]
67179         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67180         (__ieee754_expl): Allow for and saturate large arguments.
67181         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67182         (u_threshold): Likewise.
67183         (__exp): Call __ieee754_exp before checking for overflow and
67184         underflow.
67185         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67186         (u_threshold): Likewise.
67187         (__expf): Call __ieee754_expf before checking for overflow and
67188         underflow.
67189         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67190         (u_threshold): Likewise.
67191         (__expl): Call __ieee754_expl before checking for overflow and
67192         underflow.
67193         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67194         (__ieee754_expl): Allow for and saturate large arguments.
67195         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67196         missing overflow exception on overflow.
67197         (expm1_test): Do not allow missing overflow exception on overflow.
67199         * sysdeps/i386/fpu/e_expl.c: Move to ...
67200         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67201         rather than using inline asm.
67202         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67203         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67204         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67206         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67207         (nice): Likewise.
67208         (poll): Likewise.
67209         (signal): Likewise.
67210         (time): Likewise.
67211         (times): Likewise.
67213 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67215         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67216         sysdeps/unix/common/syscalls.list.
67217         (fchmod): Likewise.
67218         (fchown): Likewise.
67219         (ftruncate): Likewise.
67220         (getrusage): Likewise.
67221         (gettimeofday): Likewise.
67222         (setpgid): Likewise.
67223         (setregid): Likewise.
67224         (setreuid): Likewise.
67225         (sigaction): Likewise.
67226         (truncate): Likewise.
67227         (vhangup): Likewise.
67228         * sysdeps/unix/common/syscalls.list: Remove file.
67229         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67230         * sysdeps/unix/sysv/linux/Implies: Likewise.
67232 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67234         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67236         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67237         Moved to ...
67238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67239         Here.
67240         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67241         to ...
67242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67243         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67244         to ...
67245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67246         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67247         to ...
67248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67249         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67250         to ...
67251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67252         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67253         to ...
67254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67255         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67256         to ...
67257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67258         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67259         to ...
67260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67261         Here.
67262         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67263         to ...
67264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67265         Here.
67266         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67267         to ...
67268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67269         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67270         Moved to ...
67271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67272         Here.
67273         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67274         to ...
67275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67277 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67279         * sysdeps/unix/common/bits/dirent.h: Remove file.
67280         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67282         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67283         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67284         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67285         * sysdeps/unix/bsd/isatty.c: Likewise.
67286         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67287         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67288         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67290 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67292         [BZ #13563]
67293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67294         long double comparison inaccuracies.
67295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67298 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67300         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67301         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67303 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67305         [BZ #14049]
67306         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67307         nonzero digits before rounding a hex value.
67308         * stdlib/tst-strtod.c (tests): Add another test.
67310 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67312         * sysdeps/s390/fpu/libm-test-ulps: Update.
67314 2012-05-03  Andreas Jaeger  <aj@suse.de>
67316         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67317         does not get optimized out.
67318         (malloc_opt_barrier): New.
67320 2012-05-03  Andreas Jaeger  <aj@suse.de>
67321             Roland McGrath  <roland@hack.frob.com>
67323         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67324         intermediate file deletion.
67325         (generated): Add .symlist files.
67327 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67329         [BZ #13775]
67330         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67331         Redirect under this condition.
67332         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67333         [__USE_GNU] (__dprintf_chk): Not under this condition.
67334         [__USE_GNU] (__vdprintf_chk): Likewise.
67335         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67336         under this condition.
67337         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67338         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67339         [__USE_XOPEN2K8] (vdprintf): Likewise.
67340         [__USE_GNU] (__dprintf_chk): Not under this condition.
67341         [__USE_GNU] (__vdprintf_chk): Likewise.
67342         [__USE_GNU] (dprintf): Likewise.
67343         [__USE_GNU] (vdprintf): Likewise.
67345 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67347         * elf/Makefile (common-generated): Set this instead of generated for
67348         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67349         $(all-built-dso)-derived lists.
67351 2012-05-03  Andreas Jaeger  <aj@suse.de>
67353         * sysdeps/i386/fpu/libm-test-ulps: Update.
67355         * FAQ: Removed.
67356         * FAQ.in: Likewise.
67357         * scripts/gen-FAQ.pl: Likewise.
67358         * manual/install.texi (Installation): Point to online location of
67359         FAQ.
67360         * Makefile (files-for-dist): Remove FAQ.
67361         (FAQ): Remove.
67363 2012-05-02  Allan McRae  <allan@archlinux.org>
67365         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67366         (LDFLAGS-reldepmod5.so): Likewise.
67367         (LDFLAGS-reldep6mod1.so): Likewise.
67368         (LDFLAGS-reldep6mod4.so): Likewise.
67369         (LDFLAGS-reldep8mod3.so): Likewise.
67370         (LDFLAGS-unload4mod1.so): Likewise.
67371         (LDFLAGS-unload4mod2.so): Likewise.
67372         (LDFLAGS-tst-initorder): Likewise.
67373         (LDFLAGS-tst-initordera2.so): Likewise.
67374         (LDFLAGS-tst-initordera3.so): Likewise.
67375         (LDFLAGS-tst-initordera4.so): Likewise.
67376         (LDFLAGS-tst-initorderb2.so): Likewise.
67377         (LDFLAGS-noload): Likewise.
67378         (LDFLAGS-next): Likewise.
67379         (LDFLAGS-order2mod1.so): Likewise.
67380         (LDFLAGS-order2mod2.so): Likewise.
67381         (LDFLAGS-tst-initorder2): Likewise.
67382         (LDFLAGS-tst-initorder2a.so): Likewise.
67383         (LDFLAGS-tst-initorder2b.so): Likewise.
67384         (LDFLAGS-tst-initorder2c.so): Likewise.
67385         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67387 2012-05-02  David S. Miller  <davem@davemloft.net>
67389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67391 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67393         [BZ #14055]
67394         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67396 2012-05-02  Andreas Jaeger  <aj@suse.de>
67398         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67399         since we manipulate rounding mode.
67400         (CPPFLAGS-test-idouble.c): Likewise.
67401         (CPPFLAGS-test-ifloat.c): Likewise.
67402         (CFLAGS-test-ldouble.c): Likewise.
67403         (CFLAGS-test-double.c): Likewise.
67404         (CFLAGS-test-float.c): Likewise.
67405         (CFLAGS-test-misc.c): Likewise.
67406         (CFLAGS-test-test-fenv.c): Likewise.
67408 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67410         [BZ #2550]
67411         [BZ #2570]
67412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67413         comparisons to determine direction to adjust input.
67415 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67417         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67418         output to the target.
67420         * scripts/localplt.awk: New file.
67421         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67422         (check-localplt-CFLAGS): Variable removed.
67423         ($(all-built-dso:=.jmprel)): New static pattern rule.
67424         (generated): Add those targets.
67425         (localplt-built-dso): New variable.
67426         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67428         * elf/check-localplt.c: File removed.
67430         * scripts/check-execstack.awk: New file.
67431         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67432         (check-execstack-CFLAGS): Variable removed.
67433         ($(objpfx)check-execstack.h): Target removed.
67434         ($(objpfx)execstack-default): New target.
67435         (generated): Add that instead of check-execstack.h.
67436         ($(all-built-dso:=.phdr)): New static pattern rule.
67437         (generated): Add those targets.
67438         * elf/check-execstack.c: File removed.
67440         * scripts/check-textrel.awk: New file.
67441         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67442         (check-textrel-CFLAGS): Variable removed.
67443         (all-built-dso): Use := to define.o
67444         ($(all-built-dso:=.dyn)): New static pattern rule.
67445         (generated): Add those targets.
67446         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67447         * config.make.in (READELF): New substituted variable.
67448         * elf/check-textrel.c: File removed.
67450 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67452         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67453         allow.
67454         * conform/data/ctype.h-data [C99-based standards] (isblank):
67455         Expect function.
67456         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67457         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67459         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67460         Specify type.  Require positive value.
67461         (EILSEQ): Likewise.
67462         (ERANGE): Likewise.
67463         [ISO || POSIX] (EILSEQ): Do not expect.
67464         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67465         Specify type.  Require positive value.
67466         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67467         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67468         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67469         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67470         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67471         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67472         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67473         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67474         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67475         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67476         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67477         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67478         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67479         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67480         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67481         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67482         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67483         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67484         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67485         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67486         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67487         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67488         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67489         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67490         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67491         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67492         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67493         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67494         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67495         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67496         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67497         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67498         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67499         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67500         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67501         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67502         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67503         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67504         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67505         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67506         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67507         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67508         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67509         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67510         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67511         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67512         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67513         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67514         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67515         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67516         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67517         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67518         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67519         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67520         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67521         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67522         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67523         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67524         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67525         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67526         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67527         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67528         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67529         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67530         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67531         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67532         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67533         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67534         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67535         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67536         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67537         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67538         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67539         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67540         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67541         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67542         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67543         Require >= 2.
67544         (FLT_ROUNDS): Expect as macro, not constant.
67545         (FLT_MANT_DIG): Use macro-int-constant.
67546         (DBL_MANT_DIG): Likewise.
67547         (LDBL_MANT_DIG): Likewise.
67548         (FLT_DIG): Likewise.
67549         (DBL_DIG): Likewise.
67550         (LDBL_DIG): Likewise.
67551         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67552         (DBL_MIN_EXP): Likewise.
67553         (LDBL_MIN_EXP): Likewise.
67554         (FLT_MAX_EXP): Use macro-int-constant.
67555         (DBL_MAX_EXP): Likewise.
67556         (LDBL_MAX_EXP): Likewise.
67557         (FLT_MAX_10_EXP): Likewise.
67558         (DBL_MAX_10_EXP): Likewise.
67559         (LDBL_MAX_10_EXP): Likewise.
67560         (FLT_MAX): Use macro-constant.
67561         (DBL_MAX): Likewise.
67562         (LDBL_MAX): Likewise.
67563         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67564         (DBL_EPSILON): Likewise.
67565         (LDBL_EPSILON): Likewise.
67566         (FLT_MIN): Likewise.
67567         (DBL_MIN): Likewise.
67568         (LDBL_MIN): Likewise.
67569         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67570         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67571         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67572         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67573         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67574         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67575         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67576         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67577         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67578         [ISO11] (FLT_TRUE_MIN): Likewise.
67579         [ISO11] (LDBL_TRUE_MIN): Likewise.
67580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67581         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67582         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67583         (SCHAR_MAX): Likewise.
67584         (UCHAR_MAX): Likewise.
67585         (CHAR_MIN): Likewise.
67586         (CHAR_MAX): Likewise.
67587         (MB_LEN_MAX): Use macro-int-constant.
67588         (SHRT_MIN): Use macro-int-constant.  Specify type.
67589         (SHRT_MAX): Likewise.
67590         (USHRT_MAX): Likewise.
67591         (INT_MAX): Likewise.
67592         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67593         bound negative.
67594         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67595         bound with "U".
67596         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67597         bound with "L".
67598         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67599         bound negative.  Suffix upper bound with "L".
67600         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67601         bound with "UL".
67602         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67603         Specify type.
67604         [C99-based standards] (LLONG_MAX): Likewise.
67605         [C99-based standards] (ULLONG_MAX): Likewise.
67606         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67607         == 0.
67608         [ISO11] (max_align_t): Require type.
67609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67611         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67612         from $CFLAGS, without defining away __attribute__ calls.
67613         (checknamespace): Use $CFLAGS_namespace.
67615         * conform/conformtest.pl (@keywords): Only include C99 keywords
67616         for standards based on C99 or C11.
67618         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67619         Disable tests.
67620         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67621         UNIX98]: Likewise.
67623         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67624         usability of symbols in #if.
67626         * conform/conformtest.pl: If macro or constant types start
67627         "promoted:", expect the symbol to be of the following type
67628         promoted by the integer promotions.
67630         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67631         in one place.  Also handle "macro-constant".
67633         * conform/conformtest.pl: Only accept expected macro values with
67634         "==".  Parse all "macro" lines in one place.
67635         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67637         * conform/conformtest.pl: Handle braced types on "constant" lines
67638         instead of handling "typed-constant".
67639         * conform/data/signal.h-data: Use "constant" instead of
67640         "typed-constant".
67642         * conform/conformtest.pl: Handle "optional-" at start of lines in
67643         one place rather than duplicating several cases.  Handle each
67644         format of "macro" line with initial "optional-".
67646         * conform/conformtest.pl: Only accept expected constant or
67647         optional-constant values with "==".  Parse all "constant" lines in
67648         one place.  Parse all "optional-constant" lines in one place.
67649         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67650         * conform/data/fmtmsg.h-data: Likewise.
67651         * conform/data/netinet/in.h-data: Likewise.
67652         * conform/data/tar.h-data: Likewise.
67653         * conform/data/limits.h-data: Use "==" form on "constant" and
67654         "optional-constant" lines.
67656         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67657         Use -std=c99 for XOPEN2K.
67658         (@knownproblems): Remove.
67659         (newtoken): Don't check %isknown.
67661         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67662         Do not expect macro.
67663         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67664         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67665         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67666         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67667         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67668         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67669         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67670         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67671         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67672         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67673         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67674         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67675         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67676         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67677         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67678         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67679         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67680         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67681         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67682         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67683         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67684         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67685         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67686         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67687         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67688         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67689         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67690         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67691         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67692         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67693         [XPG3] (acosh): Likewise.
67694         [XPG3] (asinh): Likewise.
67695         [XPG3] (atanh): Likewise.
67696         [XPG3] (cbrt): Likewise.
67697         [XPG3] (expm1): Likewise.
67698         [XPG3] (ilogb): Likewise.
67699         [XPG3] (log1p): Likewise.
67700         [XPG3] (logb): Likewise.
67701         [XPG3] (nextafter): Likewise.
67702         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67703         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67704         [XPG3] (remainder): Likewise.
67705         [XPG3] (rint): Likewise.
67706         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67707         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67708         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67709         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67710         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67711         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67712         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67713         [UNIX98 || XOPEN2K] (scalb): Expect.
67714         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67715         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67716         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67717         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67718         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67719         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67720         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67721         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67722         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67723         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67724         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67725         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67726         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67727         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67728         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67729         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67730         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67731         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67732         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67733         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67734         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67735         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67736         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67737         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67738         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67739         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67740         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67741         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67742         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67743         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67744         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67745         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67746         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67747         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67748         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67749         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67750         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67751         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67752         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67753         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67754         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67755         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67756         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67757         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67758         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67759         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67760         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67761         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67762         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67763         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67764         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67765         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67766         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67767         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67768         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67769         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67770         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67771         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67772         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67773         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67774         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67775         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67776         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67777         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67778         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67779         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67780         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67781         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67782         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67783         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67784         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67785         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67786         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67787         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67788         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67789         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67790         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67791         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67792         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67793         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67794         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67795         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67796         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67797         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67798         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67799         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67800         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67801         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67802         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67803         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67804         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67805         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67806         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67807         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67808         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67809         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67810         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67811         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67812         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67813         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67814         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67815         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67816         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67817         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67818         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67819         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67820         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67821         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67822         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67823         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67824         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67825         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67826         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67827         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67828         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67829         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67830         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67831         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67832         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67833         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67834         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67835         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67836         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67837         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67838         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67839         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67840         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67841         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67842         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67843         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67844         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67845         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67846         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67847         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67848         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67849         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67850         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67852         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67853         _XOPEN_SOURCE_EXTENDED for XPG4.
67855         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67857         * Makeconfig (localtime): Remove variable.
67858         (inst_localtime-file): Likewise.
67860 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67863         Update.
67864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67865         Update.
67866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67867         Update.
67868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67869         Update.
67870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67871         Update.
67872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67873         Update.
67874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67875         Update.
67876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67877         Update.
67878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67879         Update.
67881 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67883         [BZ #2550]
67884         [BZ #2570]
67885         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67886         comparisons to determine direction to adjust input.
67887         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67888         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67889         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67890         Likewise.
67891         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67892         Likewise.
67893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67894         Likewise.
67895         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67896         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67897         Likewise.
67898         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67899         Likewise.
67900         * math/libm-test.inc (nexttoward_test): Add more tests.
67902 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67904         [BZ #14040]
67905         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67906         in version GLIBC_2.1, not GLIBC_2.0.
67907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67908         Likewise.
67910 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67912         [BZ #13942]
67913         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67914         (1 - x) * (1 + x).
67915         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67916         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67917         * math/libm-test.inc (acos_test): Add more tests.
67918         (asin_test): Likewise.
67919         * sysdeps/i386/fpu/libm-test-ulps: Update.
67920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67922         [BZ #14034]
67923         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67924         of square root.
67925         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67926         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67927         * math/libm-test.inc (acos_test_tonearest): New function.
67928         (acos_test_towardzero): Likewise.
67929         (acos_test_downward): Likewise.
67930         (acos_test_upward): Likewise.
67931         (asin_test_tonearest): Likewise.
67932         (asin_test_towardzero): Likewise.
67933         (asin_test_downward): Likewise.
67934         (asin_test_upward): Likewise.
67935         (main): Call the new functions.
67936         * sysdeps/i386/fpu/libm-test-ulps: Update.
67937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67939         [BZ #13884]
67940         [BZ #13924]
67941         * math/e_exp10.c: Include <float.h>.
67942         (__ieee754_exp10): Handle underflow here rather than multiplying
67943         large negative argument by M_LN10.
67944         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67945         of __ieee754_expf.
67946         * math/e_exp10l.c: Include <float.h>.
67947         (__ieee754_exp10l): Handle underflow here rather than multiplying
67948         large negative argument by M_LN10l.
67949         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67950         spurious overflow exception on underflow.
67952 2012-04-29  Marek Polacek  <polacek@redhat.com>
67954         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67955         (__fortify_function): New macro.
67956         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67957         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67958         __extern_always_inline.
67959         * libio/bits/stdio2.h: Likewise.
67960         * libio/bits/stdio.h: Likewise.
67961         * string/string.h: Likewise.
67962         * string/bits/string3.h: Likewise.
67963         * include/stdio.h: Likewise.
67964         * stdlib/bits/stdlib.h: Likewise.
67965         * stdlib/stdlib.h: Likewise.
67966         * rt/bits/mqueue2.h: Likewise.
67967         * rt/mqueue.h: Likewise.
67968         * posix/bits/unistd.h: Likewise.
67969         * posix/unistd.h: Likewise.
67970         * io/bits/poll2.h: Likewise.
67971         * io/bits/fcntl2.h: Likewise.
67972         * io/fcntl.h: Likewise.
67973         * io/sys/poll.h: Likewise.
67974         * misc/bits/syslog.h: Likewise.
67975         * misc/bits/syslog-ldbl.h: Likewise.
67976         * misc/sys/syslog.h: Likewise.
67977         * socket/bits/socket2.h: Likewise.
67978         * socket/sys/socket.h: Likewise.
67979         * debug/tst-chk1.c: Likewise.
67980         * wcsmbs/bits/wchar2.h: Likewise.
67981         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67982         * wcsmbs/wchar.h: Likewise.
67984 2012-04-29  Andreas Jaeger  <aj@suse.de>
67986         * Makerules (tests): Remove enable-check-abi protection.
67987         (check-abi-warn): Remove.
67988         (check-abi-%): Remove check-abi-warn usage.
67990         * configure.in: Remove check-abi configure option.
67991         * configure: Regenerated.
67992         * config.make.in (enable-check-abi): Remove.
67994 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67996         [BZ #14033]
67997         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67998         double functions to double *_finite functions.
68000         [BZ #13941]
68001         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68002         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68003         LDBL_MIN_EXP.
68004         * stdio-common/Makefile (tests): Add tst-sprintf3.
68005         * stdio-common/tst-sprintf3.c: New file.
68007         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68008         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68010 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68012         * conform/conformtest.pl: Remove duplicate typed-constant
68013         handling.
68015 2012-04-28  David S. Miller  <davem@davemloft.net>
68017         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68018         (check-abi-%): Remove AWK script prerequisite and explicit
68019         abilist directory.
68020         (check-abi): Rewrite to just diff the symlist with the abilist.
68021         (config-tls, config-abi-config): Delete, no longer used.
68022         (update-abi-%): Remove AWK script and explicit abilist directory.
68023         (update-abi): Rewrite to simply compare and conditionally copy the
68024         symlist and the sysdep abilist file.  Remove update-abi-config
68025         checks.
68026         * abilist/ld.abilist: Remove.
68027         * abilist/libBrokenLocale.abilist: Remove.
68028         * abilist/libanl.abilist: Remove.
68029         * abilist/libcrypt.abilist: Remove.
68030         * abilist/libdl.abilist: Remove.
68031         * abilist/librt.abilist: Remove.
68032         * abilist/libthread_db.abilist: Remove.
68033         * abilist/libutil.abilist: Remove.
68034         * scripts/extract-abilist.awk: Remove.
68035         * scripts/merge-abilist.awk: Remove.
68036         * sysdeps/generic/libcidn.abilist: New file.
68037         * sysdeps/generic/libnss_compat.abilist: New file.
68038         * sysdeps/generic/libnss_db.abilist: New file.
68039         * sysdeps/generic/libnss_dns.abilist: New file.
68040         * sysdeps/generic/libnss_files.abilist: New file.
68041         * sysdeps/generic/libnss_hesiod.abilist: New file.
68042         * sysdeps/generic/libnss_nis.abilist: New file.
68043         * sysdeps/generic/libnss_nisplus.abilist: New file.
68044         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68045         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68046         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68047         file.
68048         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68049         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68050         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68051         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68052         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68053         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68054         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68055         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68056         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68057         file.
68058         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68059         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68060         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68061         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68062         file.
68063         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68064         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68065         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68066         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68067         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68068         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68069         file.
68070         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68071         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68072         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68073         file.
68074         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68076         New file.
68077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68078         New file.
68079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68080         New file.
68081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68082         New file.
68083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68084         New file.
68085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68086         New file.
68087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68088         New file.
68089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68090         New file.
68091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68092         New file.
68093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68094         New file.
68095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68096         New file.
68097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68098         New file.
68099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68100         New file.
68101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68102         file.
68103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68104         New file.
68105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68106         New file.
68107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68108         file.
68109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68110         New file.
68111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68112         New file.
68113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68114         file.
68115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68116         New file.
68117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68118         New file.
68119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68120         New file.
68121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68122         New file.
68123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68124         New file.
68125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68126         New file.
68127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68129         file.
68130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68131         New file.
68132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68133         file.
68134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68135         file.
68136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68137         file.
68138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68139         file.
68140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68141         file.
68142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68143         New file.
68144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68145         file.
68146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68147         file.
68148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68149         New file.
68150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68151         file.
68152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68154         file.
68155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68156         New file.
68157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68158         file.
68159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68160         file.
68161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68162         file.
68163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68164         file.
68165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68166         file.
68167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68168         New file.
68169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68170         file.
68171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68172         file.
68173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68174         New file.
68175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68176         file.
68177         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68178         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68179         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68180         file.
68181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68182         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68183         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68184         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68185         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68186         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68187         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68188         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68189         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68190         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68193         file.
68194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68195         New file.
68196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68197         file.
68198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68199         file.
68200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68201         file.
68202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68203         file.
68204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68205         file.
68206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68207         New file.
68208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68209         New file.
68210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68211         file.
68212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68213         New file.
68214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68215         file.
68216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68218         file.
68219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68220         New file.
68221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68222         file.
68223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68224         file.
68225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68226         file.
68227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68228         file.
68229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68230         file.
68231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68232         New file.
68233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68234         New file.
68235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68236         file.
68237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68238         New file.
68239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68240         file.
68242 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68244         * conform/conformtest.pl: Fix typo in handling typed-constant from
68245         allow-header.
68247 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68249         * README: Cut down references to pre-2.6 Linux kernels and
68250         Linuxthreads.  Update lists of configurations in libc and ports
68251         and sort alphabetically.  Say "or newer" with Linux kernel version
68252         requirements.
68254         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68256 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68258         [BZ #887]
68259         * math/libm-test.inc (logb_test_downward): New test to expose
68260         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68261         rounding mode.
68263 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68265         [BZ #14027]
68266         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68267         to be done.
68268         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68269         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68271 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68273         * sysdeps/unix/i386/brk.S: Remove file.
68274         * sysdeps/unix/i386/dl-brk.S: Likewise.
68275         * sysdeps/unix/i386/pipe.S: Likewise.
68276         * sysdeps/unix/i386/sigreturn.S: Likewise.
68277         * sysdeps/unix/i386/syscall.S: Likewise.
68278         * sysdeps/unix/i386/vfork.S: Likewise.
68279         * sysdeps/unix/i386/wait.S: Likewise.
68281         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68282         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68284         * configure.in (arm*-none*): Do not allow without
68285         --enable-hacker-mode.
68286         (netbsd*): Remove case setting base_os.
68287         (386bsd*): Likewise.
68288         (freebsd*): Likewise.
68289         (bsdi*): Likewise.
68290         (osf*): Likewise.
68291         (sunos*): Likewise.
68292         (ultrix*): Likewise.
68293         (newsos*): Likewise.
68294         (dynix*): Likewise.
68295         (*bsd*): Likewise.
68296         (sysv*): Likewise.
68297         (isc*): Likewise.
68298         (esix*): Likewise.
68299         (sco*): Likewise.
68300         (minix*): Likewise.
68301         (irix4*): Likewise.
68302         (irix6*): Likewise.
68303         (solaris[2-9]*): Likewise.
68304         (none): Likewise.
68305         * configure: Regenerated.
68307 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68309         [BZ #11521]
68310         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68311         overflow or cancellation in calculating denominator.
68312         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68314         down expression to avoid unexpected rounding in newer GCCs.
68315         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68317 2012-04-26  David S. Miller  <davem@davemloft.net>
68319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68320         long-double compat symbols.
68321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68335 2012-04-25  David S. Miller  <davem@davemloft.net>
68337         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68338         HWCAP_* values only after the memory barriers have been defined.
68339         (atomic_full_barrier): Define.
68340         (atomic_read_barrier): Define.
68341         (atomic_write_barrier): Define.
68343 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68345         * shlib-versions: Add libgcc_s version information.
68346         * sysdeps/generic/libgcc_s.h: Remove.
68347         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68348         libgcc_s.h.
68349         * sysdeps/gnu/unwind-resume.c: Likewise.
68350         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68352 2012-04-25  David S. Miller  <davem@davemloft.net>
68354         * sysdeps/unix/sparc/brk.S: Delete.
68355         * sysdeps/unix/sparc/dl-brk.S: Delete.
68356         * sysdeps/unix/sparc/pipe.S: Delete.
68357         * sysdeps/unix/sparc/sysdep.S: Delete.
68358         * sysdeps/unix/sparc/sysdep.h: Delete.
68359         * sysdeps/unix/sparc/vfork.S: Delete.
68360         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68361         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68363         (ret_ERRVAL, r0, r1, MOVE): Define.
68364         (JUMPTARGET): Remove.
68365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68366         sysdeps/unix/sparc/sysdep.h
68367         (ENTRY, END): Remove.
68368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68370 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68372         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68373         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68374         -DIS_IN_build.
68376         * timezone/README: Update upstream location and email address for
68377         tzcode and tzdata.
68378         * timezone/zdump.c: Update from tzcode 2012b.
68379         * timezone/zic.c: Likewise.
68381         * configure.in (libc_cv_as_needed): Remove test.
68382         * configure: Regenerated.
68383         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68384         conditional definition.
68385         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68386         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68387         * config.make.in (have-as-needed): Remove variable.
68389 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68390             Paul Pluzhnikov  <ppluzhnikov@google.com>
68392         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68393         strings correctly.
68395 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68397         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68398         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68399         * sysdeps/sh/strlen.S: Likewise.
68401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68403         * sysdeps/unix/fork.S: Remove file.
68404         * sysdeps/unix/i386/fork.S: Likewise.
68405         * sysdeps/unix/sparc/fork.S: Likewise.
68407         * sysdeps/unix/system.c: Remove file.
68408         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68410         * sysdeps/unix/getegid.S: Remove file.
68411         * sysdeps/unix/geteuid.S: Likewise.
68413 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68415         * scripts/check-localplt.awk: New file.
68416         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68417         of diff.
68418         * scripts/data/localplt-generic.data: Add a comment.
68420         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68421         NODE when __dir_mkfile failed.
68422         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68423         Reported by Ludovic Courtès <ludo@gnu.org>.
68425 2012-04-24  Andreas Jaeger  <aj@suse.de>
68427         * Makerules (common-clean): Also remove gen-as-const-headers
68428         files.
68430 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68432         * Makerules (native-compile): Do not change working directory for
68433         build.  Use $(OUTPUT_OPTION) in command.
68434         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68436 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68438         [BZ #13886]
68439         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68440         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68441         * math/libm-test.inc (floor_test): Add more tests.
68442         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68444 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68446         * sysdeps/unix/getdents.c: Remove file.
68447         * sysdeps/unix/sysv/getdents.c: Likewise.
68448         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68450         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68451         sysdeps/unix/mman/syscalls.list.
68452         (mmap): Likewise.
68453         (mprotect): Likewise.
68454         (msync): Likewise.
68455         (munmap): Likewise.
68456         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68457         * sysdeps/unix/mman/syscalls.list: Remove.
68458         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68460         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68461         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68462         * configure: Regenerated.
68463         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68464         $(libgcc_s_suffix).
68465         * config.make.in (libgcc_s_suffix): Remove variable.
68467 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68469         * sysdeps/unix/sysv/gethostname.c: Move to ...
68470         * sysdeps/posix/gethostname.c: ... here.
68472         * sysdeps/unix/execve.S: Remove file.
68474         * sysdeps/unix/_exit.S: Remove file.
68476 2012-04-23  Andreas Jaeger  <aj@suse.de>
68478         [BZ #13739]
68479         * manual/Makefile: Remove make dist support, there's no
68480         need for a stand-alone documentation tar ball.
68481         (TEXI2DVI): Define always, it's not in Makeconfig.
68482         (dist): Removed.
68483         (tar-it): Removed.
68484         (edition): Removed.
68485         (glibc-doc-$(edition).tar): Removed
68486         (%.Z): Removed.
68487         (%.gz): Removed.
68488         (%.uu): Removed.
68489         (ETAGS): Remove, it's in Makeconfig.
68490         (move-if-change): Remove, it's in Makeconfig.
68492 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68494         [BZ #13970]
68495         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68496         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68497         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68498         (strtod_l, strtof_l, strtold_l): Remove __wur.
68499         It is not necessarily an error to ignore strtol's return value.
68500         One can reliably look at the stored endptr to decide whether
68501         the number had valid syntax.
68503 2012-04-21  Andreas Jaeger  <aj@suse.de>
68505         [BZ #13739]
68506         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68508 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68510         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68511         * sysdeps/unix/sysv/Versions: Remove file.
68513 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68515         [BZ #13927]
68516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68518 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68520         [BZ #7064]
68521         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68522         version from __vm86.
68524 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68526         * sysdeps/unix/common/lxstat.c: Remove file.
68527         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68529         * sysdeps/unix/sysv/Makefile: Remove file.
68531         * sysdeps/unix/sysv/direct.h: Remove file.
68533         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68534         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68535         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68536         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68537         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68538         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68539         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68541         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68543         * sysdeps/unix/xmknod.c: Remove file.
68544         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68546         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68548         * sysdeps/unix/sysv/i386/time.S: Remove file.
68550         * sysdeps/unix/fxstat.c: Remove file.
68551         * sysdeps/unix/xstat.c: Likewise.
68552         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68554         * sysdeps/unix/sysv/sigaction.c: Remove file.
68556         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68557         (sysdep_headers): Remove variable.
68558         [termio.h not in sysdep_headers] (generated): Likewise.
68559         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68560         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68561         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68562         * sysdeps/unix/sysv/tcflow.c: Likewise.
68563         * sysdeps/unix/sysv/tcflush.c: Likewise.
68564         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68565         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68566         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68567         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68568         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68570         * sysdeps/unix/siglist.c: Remove file.
68572         * sysdeps/unix/getppid.S: Remove file.
68574         * sysdeps/unix/mkdir.c: Remove file.
68575         * sysdeps/unix/rmdir.c: Likewise.
68577 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68579         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68580         ERR_MAX value.
68581         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68582         errlist-compat value.
68584 2012-04-18  David S. Miller  <davem@davemloft.net>
68586         * sysdeps/generic/memcopy.h (reg_char): Delete.
68587         * debug/strcat_chk.c: Use char, not reg_char.
68588         * debug/strcpy_chk.c: Likewise.
68589         * debug/strncat_chk.c: Likewise.
68590         * debug/strncpy_chk.c: Likewise.
68591         * string/memchr.c: Likewise.
68592         * string/memrchr.c: Likewise.
68593         * string/rawmemchr.c: Likewise.
68594         * string/strcat.c: Likewise.
68595         * string/strchr.c: Likewise.
68596         * string/strchrnul.c: Likewise.
68597         * string/strcmp.c: Likewise.
68598         * string/strcpy.c: Likewise.
68599         * string/strncat.c: Likewise.
68600         * string/strncmp.c: Likewise.
68601         * string/strncpy.c: Likewise.
68603 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68605         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68606         __builtin_memcopy is called when src and dest ranges are known to not
68607         overlap.
68609 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68611         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68612         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68613         fwd_align_merge macro call.
68614         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68615         bwd_align_merge macro call.
68616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68618 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68620         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68621         bwd_align_merge macros.
68622         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68623         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68624         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68626 2012-04-18  David S. Miller  <davem@davemloft.net>
68628         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68630 2012-04-18  Andreas Jaeger  <aj@suse.de>
68632         [BZ# 6794]
68633         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68634         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68635         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68637         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68638         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68641         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68642         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68643         Adjust for changed ldbl-128 files.
68645         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68646         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68647         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68649 2012-04-17  David S. Miller  <davem@davemloft.net>
68651         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68653 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68655         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68656         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68657         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68658         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68659         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68660         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68662 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68664         [BZ #6794]
68665         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68666         * math/libm-test.inc: Add ilogb errno and exception tests.
68667         * math/w_ilogb.c: New file: ilogb wrapper.
68668         * math/w_ilogbf.c: New file: ilogbf wrapper.
68669         * math/w_ilogbl.c: New file: ilogbl wrapper.
68670         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68671         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68672         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68673         exception being thrown with 0.0 as argument.
68674         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68675         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68676         exception being thrown with 0.0 as argument.
68677         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68678         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68679         exception being thrown with 0.0 as argument.
68680         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68681         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68682         exception being thrown with 0.0 as argument.
68683         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68684         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68685         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68686         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68688         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68689         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68690         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68691         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68693 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68695         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68696         with altivec.
68698 2012-04-16  Marek Polacek  <polacek@redhat.com>
68700         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68702 2012-04-16  Marek Polacek  <polacek@redhat.com>
68704         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68705         operands of fdivp instruction.
68707 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68709         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68710         * elf/tst-auditmod3b.c: Likewise.
68711         * elf/tst-auditmod4b.c: Likewise.
68712         * elf/tst-auditmod5b.c: Likewise.
68713         * elf/tst-auditmod6b.c: Likewise.
68714         * elf/tst-auditmod6c.c: Likewise.
68715         * elf/tst-auditmod7b.c: Likewise.
68716         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68717         * sysdeps/x86_64/preconfigure.in: Likewise.
68718         * sysdeps/x86_64/preconfigure: Regenerated.
68720 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68722         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68723         __ILP32__.
68725 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68728         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68730 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68732         [BZ #13973]
68733         * locale/iso-639.def: Fix gl language name. Spotted by
68734         Yaron Shahrabani.
68736 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68738         [BZ #2074]
68739         * libio/libio.h (__io_write_fn): Update comment.
68741 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68743         [BZ #2074]
68744         * stdio.texi (Hook Functions): The user provided writer function
68745         is not allowed to return -1.
68747 2012-04-11  David S. Miller  <davem@davemloft.net>
68749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68751 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68753         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68754         Add a leading slash to rtkaio.
68756 2012-04-11  Jim Meyering  <meyering@redhat.com>
68758         [BZ #11959]
68759         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68760         It is not necessarily an error to ignore fwrite's return
68761         value.  One can reliably use ferror to test for errors after
68762         the fact.
68764 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68766         * bits/types.h (__snseconds_t): New type.
68767         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68769         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68771         (__SNSECONDS_T_TYPE): Likewise.
68772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68773         (__SNSECONDS_T_TYPE): Likewise.
68774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68775         (__SNSECONDS_T_TYPE): Likewise.
68777 2012-04-10  Andreas Jaeger  <aj@suse.de>
68779         [BZ #2636]
68780         * manual/time.texi (Processor Time): Return type of times is
68781         elapsed real time since an arbitrary point in the past.
68782         (CPU Time): Move CLK_TCK from here...
68783         (Processor Time): ...to here.  Correct description.
68784         * manual/conf.texi (Constants for Sysconf): Correct description of
68785         _SC_CLK_TCK.
68787 2012-04-10  David S. Miller  <davem@davemloft.net>
68789         [BZ #13967]
68790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68791         where the is a gap between DT_REL(A) and DT_JMPREL.
68793 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68795         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68796         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68797         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68799 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68801         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68802         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68803         (dl_main): Handle --inhibit-cache.
68804         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68805         _dl_inhibit_cache.
68806         * elf/dl-load.c (_dl_map_object): Use it.
68807         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68809 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68811         [BZ #13872]
68812         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68813         (__ieee754_powl): Saturate large exponents rather than testing for
68814         overflow of y*log2(x).
68815         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68816         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68817         exceptions.
68819         [BZ #11521]
68820         * math/s_ctan.c: Include <float.h>.
68821         (__ctan): Avoid internal overflow or cancellation in calculating
68822         denominator.
68823         * math/s_ctanf.c: Likewise.
68824         * math/s_ctanl.c: Likewise.
68825         * math/s_ctanh.c: Likewise.
68826         * math/s_ctanhf.c: Likewise.
68827         * math/s_ctanhl.c: Likewise.
68828         * math/libm-test.inc (ctan_test): Add more tests.
68829         (ctanh_test): Likewise.
68830         * sysdeps/i386/fpu/libm-test-ulps: Update.
68831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68833 2012-04-09  Andreas Jaeger  <aj@suse.de>
68835         [BZ #6894]
68836         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68837         is an optional BSD extension.
68839         [BZ #10254]
68840         * manual/stdio.texi (Opening Streams): Document additional fopen
68841         parameters.
68843 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68845         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68846         %eax without telling the compiler.
68848 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68850         [BZ # 13963]
68851         * manual/install.texi: Use sourceware.org.
68853 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68855         [BZ #13873]
68856         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68857         (__ieee754_pow): Generate overflow and underflow using huge*huge
68858         and tiny*tiny rather than just returning constant infinity or zero
68859         for large exponents.
68860         * math/libm-test.inc (pow_test): Require overflow exceptions for
68861         applicable cases of large exponents.
68863         [BZ #706]
68864         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68865         (__ieee754_pow): Use iterative multiplication algorithm only for
68866         integer exponents with absolute value below 1024.  Check for odd
68867         integer exponents when using algorithm for real exponents.
68868         * math/libm-test.inc (pow_test): Add more tests.
68869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68871 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68873         [BZ #13705]
68874         * math/libm-test.inc (exp_test): Do not allow overflow exception
68875         on underflow test.
68877 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68879         [BZ #13705]
68880         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68881         instead of __kernel_standard_f.
68883 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68885         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68886         * sysdeps/x86_64/memset_chk.S: Likewise.
68888 2012-04-08  Andreas Jaeger  <aj@suse.de>
68890         [BZ #10153]
68891         * manual/startup.texi (Environment Access): Describe return value
68892         for putenv and setenv.
68894         [BZ #6895]
68895         * manual/filesys.texi (Directory Entries): Add description for
68896         DT_LNK.
68898         [BZ #6890]
68899         * manual/filesys.texi (Directory Entries): Clarify that it's file
68900         system not operating system in the description of DT_UNKNOWN.
68902         [BZ #6578]
68903         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68905 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68907         [BZ #6649]
68908         * manual/llio.texi (Opening and Closing Files): Add cross
68909         reference to explain mode argument.
68911 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68913         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68914         * sysdeps/x86_64/memset_chk.S: Likewise.
68916 2012-04-07  David S. Miller  <davem@davemloft.net>
68918         * elf/elf.h (R_SPARC_WDISP10): Define.
68919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68920         R_SPARC_SIZE32.
68921         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68922         R_SPARC_SIZE64 and R_SPARC_H34.
68924 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68927         conditions and remove no longer applicable assertion.
68929 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68931         * bits/byteswap.h: Include <features.h>.
68932         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68933         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68935 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68937         * bits/byteswap.h (__bswap_16): Removed.
68938         Include <bits/byteswap-16.h> to get __bswap_16.
68939         * sysdeps/i386/bits/byteswap.h: Likewise.
68940         * sysdeps/s390/bits/byteswap.h: Likewise.
68941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68942         * bits/byteswap-16.h: New file.
68943         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68944         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68945         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68946         * string/Makefile (headers): Add bits/byteswap-16.h.
68948 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68950         [BZ #13895]
68951         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68952         extra indirection.
68953         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68954         * nss/tst-nss-static.c: New.
68956 2012-04-06  Robert Millan  <rmh@gnu.org>
68958         [BZ #6486]
68959         * manual/llio.texi (File Position Primitive): lseek
68960         refers to WHENCE when it really means OFFSET.
68962 2012-04-06  Andreas Jaeger  <aj@suse.de>
68964         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68965         strncmp declarations.
68967         * abilist/libc.abilist: Add __poll and __ppoll.
68969 2012-04-05  David S. Miller  <davem@davemloft.net>
68971         * scripts/check-local-headers.sh: Accept a host triplet in the
68972         path matched by the exclude regexp.
68974         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68975         definition.
68976         * sysdeps/powerpc/powerpc32/dl-machine.h
68977         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68978         * sysdeps/s390/s390-32/dl-machine.h
68979         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68980         * sysdeps/sparc/sparc32/dl-machine.h
68981         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68982         * sysdeps/sparc/sparc64/dl-machine.h
68983         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68985         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68986         lazy binding.
68987         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68988         undefined symbol errors.
68990         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68991         DT_NEEDED entries.
68993 2012-04-05  Michael Matz  <matz@suse.de>
68995         [BZ #13592]
68996         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68998 2012-04-05  Andreas Jaeger  <aj@suse.de>
69000         [BZ #13908]
69001         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69002         comment.
69004 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69006         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69007         which ROUND is no valid rounding mode.
69009 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69011         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69012         read again.
69013         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69015 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69017         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69018         an exception using FPU order intentionally.
69020 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69022         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69023         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69024         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69025         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69027 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69029         [BZ #12340]
69030         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69031         EINVAL when BUFLEN is too smal.
69033 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69035         [BZ #13553]
69036         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69037         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69039 2012-04-03  Andreas Jaeger  <aj@suse.de>
69041         [BZ #13938]
69042         * manual/setjmp.texi (System V contexts): Fix sentence.
69044         [BZ #13926]
69045         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69046         New macro for this case.
69047         [!__GNUC__] (__bswap_64): New inline function for this case.
69048         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69049         * bits/byteswap.h: Likewise.
69050         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69051         ull, guard with __GLIBC_HAVE_LONG_LONG.
69053         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69054         __GLIBC_HAVE_LONG_LONG.
69056         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69057         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69059 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69061         [BZ #13691]
69062         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69063         inptr and inend, rather than using last_ch.
69065 2012-04-02  David S. Miller  <davem@davemloft.net>
69067         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69068         * stdio-common/printf-parse.h (read_int): Change return type to
69069         'int', return -1 on INT_MAX overflow.
69070         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69071         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69072         overflows INT_MAX.  Check for overflow of in-format-string precision
69073         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69074         SIZE_MAX not INT_MAX for integer overflow test.
69075         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69076         skip the construct in the format string but do not record anything.
69077         * stdio-common/bug22.c: Adjust to test both width/prevision
69078         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69079         explicitly for proper errno values.
69081 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69083         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69084         CHAR_MAX.
69085         * string/test-strcmp.c [! WIDE]: Likewise.
69086         * time/tst-mktime2.c: Likewise for INT_MAX.
69087         * string/test-string.h: #include <sys/param.h> for MIN.
69089         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69090         * sysdeps/i386/init-first.c (init): Likewise.
69091         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69092         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69093         * sysdeps/sh/init-first.c (init): Likewise.
69095 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69097         * po/ru.po: Update from translation team.
69098         * po/vi.po: Likewise.
69100 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69102         * resolv/nss_dns/dns-host.c: Merge copyright years.
69104 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69107         Optimize memcpy with prefetch if
69108         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69109         src, dst pointers have unequal 16 byte alignments.
69111 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69113         [BZ #13928]
69114         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69115         from a CNAME entry and return the minimum ttl for the query.
69116         (gaih_getanswer_slice): Likewise.
69118 2012-03-30  Jeff Law  <law@redhat.com>
69120         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69121         due to long keys.
69122         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69123         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69125         * resolv/nss_dns/dns-host.c: Update copyright year.
69127 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69129         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69130         requests to save a system call.  Fix check that all bytes are sent.
69132         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69133         comments for sendmmsg.
69135 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69137         [BZ #13691]
69138         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69139         with only 1 character between 0x0041 and 0x01b0.
69140         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69141         * wcsmbs/tst-mbsnrtowcs.c: New file.
69143 2012-03-29  David S. Miller  <davem@davemloft.net>
69145         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69146         small copies by hand.
69148 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69150         [BZ #13761]
69151         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69152         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69153         group memberships.
69155 2012-03-28  David S. Miller  <davem@davemloft.net>
69157         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69158         that branches into memcpy.
69159         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69160         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69162         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69164         bits.
69165         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69166         implementation too.
69167         * sysdeps/sparc/mempcpy.S: New file.
69169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69170         the IFUNC routine in the libc case.
69171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69173         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69174         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69175         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69176         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69177         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69178         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69179         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69180         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69182         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69183         loop to 256 bytes instead of 64 bytes and fix test signedness.
69185         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69186         * sysdeps/sparc/sparc32/Makefile: rather than here...
69187         * sysdeps/sparc/sparc64/Makefile: and here.
69189 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69191         * malloc/mallocbug.c: Avoid warnings about unused variables.
69193 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69195         [BZ #13760]
69196         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69197         in the right place. Discard and retry query if response is
69198         larger than input buffer size.
69200 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69202         [BZ #369]
69203         [BZ #2678]
69204         [BZ #3866]
69205         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69206         x for large integer exponent.
69207         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69208         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69209         sign of result as needed afterwards.
69210         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69212         result for underflowing pow the same as for overflow.
69213         (__kernel_standard_l): Handle powl overflow and underflow here
69214         rather than calling __kernel_standard.
69215         * math/libm-test.inc (pow_test): Add more tests.
69217         [BZ #3868]
69218         [BZ #13879]
69219         [BZ #13910]
69220         [BZ #13911]
69221         [BZ #13912]
69222         [BZ #13913]
69223         [BZ #13915]
69224         [BZ #13916]
69225         [BZ #13917]
69226         [BZ #13918]
69227         [BZ #13919]
69228         [BZ #13920]
69229         [BZ #13921]
69230         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69231         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69232         (__kernel_standard_l): New function.
69233         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69234         __kernel_standard.
69235         * math/w_acosl.c (__acosl): Likewise.
69236         * math/w_asinl.c (__asinl): Likewise.
69237         * math/w_atan2l.c (__atan2l): Likewise.
69238         * math/w_atanhl.c (__atanhl): Likewise.
69239         * math/w_coshl.c (__coshl): Likewise.
69240         * math/w_exp10l.c (__exp10l): Likewise.
69241         * math/w_exp2l.c (__exp2l): Likewise.
69242         * math/w_fmodl.c (__fmodl): Likewise.
69243         * math/w_hypotl.c (__hypotl): Likewise.
69244         * math/w_j0l.c (__j0l, __y0l): Likewise.
69245         * math/w_j1l.c (__j1l, __y1l): Likewise.
69246         * math/w_jnl.c (__jnl, __ynl): Likewise.
69247         * math/w_lgammal.c (__lgammal): Likewise.
69248         * math/w_log10l.c (__log10l): Likewise.
69249         * math/w_log2l.c (__log2l): Likewise.
69250         * math/w_logl.c (__logl): Likewise.
69251         * math/w_powl.c (__powl): Likewise.
69252         * math/w_remainderl.c (__remainderl): Likewise.
69253         * math/w_scalbl.c (sysv_scalbl): Likewise.
69254         * math/w_sinhl.c (__sinhl): Likewise.
69255         * math/w_sqrtl.c (__sqrtl): Likewise.
69256         * math/w_tgammal.c (__tgammal): Likewise.
69257         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69258         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69259         * math/libm-test.inc (acos_test): Add more tests.
69260         (acosh_test): Likewise.
69261         (asin_test): Likewise.
69262         (atanh_test): Likewise.
69263         (exp_test): Likewise.
69264         (exp10_test): Likewise.
69265         (exp2_test): Likewise.
69266         (expm1_test): Likewise.
69267         (lgamma_test): Likewise.
69268         (log_test): Likewise.
69269         (log10_test): Likewise.
69270         (log1p_test): Likewise.
69271         (log2_test): Likewise.
69272         (pow_test): Do not allow some spurious overflow exceptions.
69273         (sqrt_test): Add more tests.
69274         (tgamma_test): Likewise.
69275         (y0_test): Likewise.
69276         (y1_test): Likewise.
69277         (yn_test): Likewise.
69279 2012-03-27  Anton Blanchard  <anton@samba.org>
69281         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69282         MAP_HUGETLB.
69283         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69284         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69287 2012-03-27  David S. Miller  <davem@davemloft.net>
69289         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69291         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69292         have-as-vis3 check.
69294 2012-03-27  Andreas Jaeger  <aj@suse.de>
69296         * sysdeps/x86_64/elf/configure.in: Moved to ...
69297         * sysdeps/x86_64/configure.in: ... here.
69298         * sysdeps/x86_64/elf/start.S: Moved to ...
69299         * sysdeps/x86_64/start.S: ... here.
69300         * sysdeps/x86_64/elf/configure: Delete.
69302         * sysdeps/x86_64/configure.in: Merge contents from
69303         sysdeps/i386/configure.in (without i686 check).
69305         * sysdeps/i386/elf/Versions: Merge into ...
69306         * sysdeps/i386/Versions: ... this.
69307         * sysdeps/i386/elf/Versions: Delete file.
69308         * sysdeps/i386/elf/start.S: Moved to ...
69309         * sysdeps/i386/start.S: ...here.
69310         * sysdeps/i386/elf/configure.in: Merge into...
69311         * sysdeps/i386/configure.in: ...here.
69312         * sysdeps/i386/elf/configure.in: Delete file.
69313         * sysdeps/i386/elf/configure: Delete file.
69315         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69316         * debug/backtracesyms.c: ... here.
69317         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69318         * debug/backtracesymsfd.c: ... here.
69319         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69320         * sysdeps/generic/ifunc-sel.h: ... here.
69322         * sysdeps/unix/i386/start.c: Delete file.
69323         * sysdeps/unix/sparc/start.c: Delete file.
69324         * sysdeps/unix/start.c: Delete file.
69326         * sysdeps/sh/elf/configure.in: Moved to ...
69327         * sysdeps/sh/configure.in: ... here.
69328         * sysdeps/sh/elf/start.S: Moved to ...
69329         * sysdeps/sh/start.S: ... here.
69330         * sysdeps/sh/elf/configure: Delete file.
69332         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69333         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69334         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69335         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69336         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69337         * sysdeps/powerpc/powerpc64/start.S: here.
69338         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69339         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69340         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69341         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69342         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69344         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69345         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69346         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69347         * sysdeps/powerpc/powerpc32/start.S: ... here.
69348         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69349         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69350         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69352         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69353         * sysdeps/powerpc/ifunc-sel.h: ... here.
69354         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69355         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69357         * sysdeps/sparc/elf/configure.in: Moved to ...
69358         * sysdeps/sparc/configure.in: ... here.
69359         * sysdeps/sparc/elf/configure: Delete file.
69360         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69361         * sysdeps/sparc/sparc32/start.S: ... here.
69362         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69363         * sysdeps/sparc/sparc64/start.S: ... here.
69364         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69365         * sysdeps/sparc/sparc32/Makefile: ... this.
69366         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69367         * sysdeps/sparc/sparc64/Makefile: ... this.
69369         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69370         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69371         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69372         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69373         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69374         * sysdeps/s390/s390-32/setjmp.S: ... here.
69375         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69376         * sysdeps/s390/s390-32/configure.in: ... here.
69377         * sysdeps/s390/s390-32/elf/configure: Delete file.
69378         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69379         * sysdeps/s390/s390-32/start.S: ... here.
69381         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69382         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69383         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69384         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69385         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69386         * sysdeps/s390/s390-64/setjmp.S: ... here.
69387         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69388         * sysdeps/s390/s390-64/configure.in: ... here
69389         * sysdeps/s390/s390-64/elf/configure: Delete file.
69390         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69391         * sysdeps/s390/s390-64/start.S: ... here.
69392         * sysdeps/s390/s390-64/elf/configure: Delete.
69394         * configure.in: Remove support for elf directories in sysdeps.
69396         * configure: Regenerated.
69397         * sysdeps/i386/configure: Regenerated.
69398         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69399         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69400         * sysdeps/s390/s390-32/configure: Regenerated.
69401         * sysdeps/s390/s390-64/configure: Regenerated.
69402         * sysdeps/sh/configure: Regenerated.
69403         * sysdeps/sparc/configure: Regenerated.
69404         * sysdeps/x86_64/configure: Regenerated.
69406 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69411         denormal result into account.
69413 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69415         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69416         Reported by Allan McRae <allan@archlinux.org>.
69418 2012-03-23  Jeff Law  <law@redhat.com>
69420         * nss/getnssent.c (__nss_getent): Fix typo.
69422 2012-03-23  David S. Miller  <davem@davemloft.net>
69424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69426 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69428         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69429         to pad to uint64_t for each field.
69430         (dl_tls_index): Replace unsigned long with uint64_t.
69432 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69433         Paul Pluzhnikov  <ppluzhnikov@google.com>
69435         [BZ #6528]
69436         * grp/Makefile (otherlibs): Don't set it.
69437         * inet/Makefile (otherlibs): Likewise.
69438         * login/Makefile (otherlibs): Likewise.
69439         * nscd/Makefile (otherlibs): Likewise.
69440         * posix/Makefile (otherlibs): Likewise.
69441         * pwd/Makefile (otherlibs): Likewise.
69442         * rt/Makefile (otherlibs): Likewise.
69443         * sunrpc/Makefile (otherlibs): Likewise.
69444         * nss/Makefile (otherlibs): Likewise.
69445         Add libnss_files to routines and static-only-routines.
69446         ($(objpfx)getent): Remove rule.
69447         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69448         static-only-routines.
69450 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69452         [BZ #13892]
69453         * math/s_cexp.c: Include <float.h>.
69454         (__cexp): Handle exp result overflowing not necessarily
69455         overflowing both real and imaginary parts of result.
69456         * math/s_cexpf.c: Likewise.
69457         * math/s_cexpl.c: Likewise.
69458         * math/libm-test.inc (cexp_test): Add more tests.
69459         * sysdeps/i386/fpu/libm-test-ulps: Update.
69460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69462 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69464         * include/link.h (ELFW): New macro.
69465         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69466         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69468 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69470         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69471         with uint64_t.
69473 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69475         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69476         declaration.
69477         (struct La_x32_retval): Likewise.
69479 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69481         * sysdeps/x86_64/preconfigure.in: New file.
69482         * sysdeps/x86_64/preconfigure: New generated file.
69484 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69486         [BZ #13824]
69487         * math/e_exp2l.c: Include <float.h>.
69488         (__ieee754_exp2l): Handle overflow and underflow cases
69489         separately.  Only pass fractional part of argument to
69490         __ieee754_expl.
69491         * math/libm-test.inc (exp2_test): Add more tests.
69493         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69494         negating x to take absolute value.
69495         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69496         Likewise.
69497         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69498         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69499         Likewise.
69500         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69501         computing low part if x was negated.
69502         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69506         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69507         la_x32_gnu_pltexit.
69508         (pltexit): Cast int_retval to ptrdiff_t.
69509         * elf/tst-auditmod3b.c: Likewise.
69510         * elf/tst-auditmod4b.c: Likewise.
69511         * elf/tst-auditmod5b.c: Likewise.
69512         * elf/tst-auditmod6b.c: Likewise.
69513         * elf/tst-auditmod6c.c: Likewise.
69514         * elf/tst-auditmod7b.c: Likewise.
69516         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69517         and x32_gnu_pltexit.
69519         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69520         __ELF_NATIVE_CLASS.
69521         (La_x32_regs): New macro.
69522         (La_x32_retval): Likewise.
69523         (la_x32_gnu_pltenter): New function prototype.
69524         (la_x32_gnu_pltexit): Likewise.
69526 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69529         exponent.
69531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69533         * configure.in (libc_cv_cc_nofma): Check for option to disable
69534         generation of FMA instructions.
69535         * configure: Regenerate.
69536         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69537         * sysdeps/ieee754/dbl-64/Makefile: New file.
69538         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69539         Remove brandred-fma4.
69540         (CFLAGS-brandred-fma4.c): Remove.
69541         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69542         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69543         define.
69544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69545         define.
69547 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69549         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69550         LLONG_MAX != LONG_MAX.
69551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69552         (_fitoa_word): Likewise.
69553         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69554         LLONG_MAX != LONG_MAX.
69555         * stdio-common/_itowa.h: Include <_itoa.h>.
69556         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69557         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69558         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69559         only if not defined.
69560         (_ITOA_WORD_TYPE): Likewise.
69561         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69562         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69564 2012-03-21  David S. Miller  <davem@davemloft.net>
69566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69568 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69570         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69571         of x86_64 when setting libc_cv_slibdir, libdir and
69572         libc_cv_localedir.
69573         * sysdeps/unix/sysv/linux/configure: Regenerated.
69575 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69577         * manual/lang.texi (Old Varargs): Remove section.
69578         (How Variadic): Update menu.
69579         (va_start): Do not mention varargs.h.
69581 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69582             Joseph Myers  <joseph@codesourcery.com>
69584         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69585         link test.
69586         * configure: Regenerated.
69588 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69590         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69591         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69592         conformtest.pl
69594 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69596         * NOTES: Remove.
69597         * Makefile (files-for-dist): Remove NOTES.
69598         (NOTES): Remove rule.
69599         * README: Don't refer to NOTES.
69600         * manual/creature.texi: Don't include macros.texi.
69601         * manual/intro.texi (creature.texi): Remove comment referring to
69602         NOTES.
69604         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69605         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69606         * configure: Regenerated.
69607         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69608         LIBC_TRY_CC_OPTION.
69609         (libc_cv_as_i686): Likewise.
69610         (libc_cv_cc_avx): Likewise.
69611         (libc_cv_cc_sse2avx): Likewise.
69612         (libc_cv_cc_fma4): Likewise.
69613         (libc_cv_cc_novzeroupper): Likewise.
69614         * sysdeps/i386/configure: Regenerated.
69616         [BZ #13883]
69617         * sysdeps/i386/fpu/s_cexp.S: Remove.
69618         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69619         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69620         * math/libm-test.inc (cexp_test): Add more tests.
69621         * sysdeps/i386/fpu/libm-test-ulps: Update.
69622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69624 2012-03-21  Allan McRae  <allan@archlinux.org>
69626         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69628 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69630         [BZ #13871]
69631         * math/w_exp2.c: Do not include <float.h>.
69632         (o_threshold, u_threshold): Remove.
69633         (__exp2): Calculate result before checking finiteness and calling
69634         __kernel_standard.
69635         * math/w_exp2f.c: Likewise.
69636         * math/w_exp2l.c: Likewise.
69637         * math/libm-test.inc (exp2_test): Require overflow exception for
69638         1e6 input.
69640         [BZ #3866]
69641         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69642         range of signed 64-bit integers before using fistpll.  Remove
69643         checks for whether integers fit in mantissa bits.
69644         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69645         the range of signed 32-bit integers before using fistpl.  Remove
69646         checks for whether integers fit in mantissa bits.
69647         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69648         (__ieee754_powl): Test for y outside the range of signed 64-bit
69649         integers before using fistpll.  Reduce 64-bit values to 63-bit
69650         ones as needed.
69651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69652         divide-by-zero is raised for zero to large negative powers.
69653         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69654         (__ieee754_powl): Test for y outside the range of signed 64-bit
69655         integers before using fistpll.  Reduce 64-bit values to 63-bit
69656         ones as needed.
69657         * math/libm-test.inc (pow_test): Add more tests.
69659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69661         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69662         <stdio-common/_itoa.h>.
69663         * debug/segfault.c: Likewise.
69664         * elf/dl-cache.c: Likewise.
69665         * elf/dl-minimal.c: Likewise.
69666         * elf/dl-misc.c: Likewise.
69667         * elf/dl-sysdep.c: Likewise.
69668         * elf/dl-version.c: Likewise.
69669         * elf/rtld.c: Likewise.
69670         * hurd/hurdsock.c: Likewise.
69671         * hurd/lookup-retry.c: Likewise.
69672         * malloc/malloc.c: Likewise.
69673         * malloc/mtrace.c: Likewise.
69674         * nscd/nscd_getgr_r.c: Likewise.
69675         * nscd/nscd_getpw_r.c: Likewise.
69676         * nscd/nscd_getserv_r.c: Likewise.
69677         * posix/getopt_init.c: Likewise.
69678         * posix/wordexp.c: Likewise.
69679         * stdio-common/_itoa.c: Likewise.
69680         * stdio-common/printf_fphex.c: Likewise.
69681         * stdio-common/vfprintf.c: Likewise.
69682         * string/_strerror.c: Likewise.
69683         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69684         * sysdeps/i386/i686/hp-timing.h: Likewise.
69685         * sysdeps/mach/_strerror.c: Likewise.
69686         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69687         * sysdeps/mach/hurd/sethostid.c: Likewise.
69688         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69689         * sysdeps/mach/xpg-strerror.c: Likewise.
69690         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69691         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69692         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69693         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69694         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69695         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69696         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69697         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69698         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69699         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69700         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69701         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69702         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69703         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69704         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69705         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69706         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69707         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69708         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69709         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69710         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69712         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69714         * stdio-common/_itoa.h: Moved to ...
69715         * sysdeps/generic/_itoa.h: Here.
69717         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69719         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69720         instead of "_itoa.h" and "_itowa.h".
69721         * stdio-common/vfprintf.: Likewise.
69723 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69725         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69726         <bits/wordsize.h>.
69727         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69728         (__signbit): Likwise.
69729         (llrintf): Likwise.
69730         (llrint): Likwise.
69732 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69734         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69735         __WORDSIZE != 64.
69737 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69739         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69740         OVERFLOW_EXCEPTION_OK.
69741         * math/libm-test.inc ("Philosophy"): Update comment about
69742         exception testing.
69743         (OVERFLOW_EXCEPTION): Define.
69744         (OVERFLOW_EXCEPTION_OK): Likewise.
69745         (INVALID_EXCEPTION_OK): Renumber.
69746         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69747         (IGNORE_ZERO_INF_SIGN): Likewise.
69748         (test_exceptions): Handle FE_OVERFLOW.
69749         (exp10_test): Expect overflow exceptions.
69750         (exp2_test): Likewise.
69751         (expm1_test): Likewise.
69752         (nextafter_test): Likewise.
69753         (pow_test): Likewise.
69754         (scalbn_test): Likewise.
69755         (scalbln_test): Likewise.
69757 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69759         * sysdeps/x86_64/bits/atomic.h
69760         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69761         64bit integer.
69762         (atomic_exchange_acq): Likewise.
69763         (__arch_exchange_and_add_body): Likewise.
69764         (__arch_add_body): Likewise.
69765         (atomic_add_negative): Likewise.
69766         (atomic_add_zero): Likewise.
69768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69770         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69771         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69775         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69776         Check __x86_64__ instead of __WORDSIZE.
69778 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69780         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69782 2012-03-19  David S. Miller  <davem@davemloft.net>
69784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69786         * sysdeps/sparc/fpu/fenv_private.h: New file.
69787         * sysdeps/sparc/fpu/math_private.h: Use it.
69788         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69789         Remove.
69790         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69791         (libc_feholdexcept_setroundl): Remove.
69792         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69793         Remove.
69794         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69795         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69797 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69799         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69800         int64_t instead of long int.
69801         (INSERT_WORDS64): Likwise.
69803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69805         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69806         _Unwind_GetCFA return to _Unwind_Ptr first.
69808 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69810         [BZ #13629]
69811         * math/s_clog.c: Include <float.h>.
69812         (__clog): Scale large or subnormal inputs.
69813         * math/s_clogf.c: Likewise.
69814         * math/s_clogl.c: Likewise.
69815         * math/s_clog10.c: Include <float.h>.
69816         (M_LOG10_2): Define.
69817         (__clog10): Scale large or subnormal inputs.
69818         * math/s_clog10f.c: Likewise.
69819         * math/s_clog10l.c: Likewise.
69820         * math/libm-test.inc (clog_test): Add more tests.
69821         (clog10_test): Likewise.
69822         * sysdeps/i386/fpu/libm-test-ulps: Update.
69823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69825         [BZ #11451]
69826         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69827         x and y.
69828         * math/libm-test.inc (atan2_test): Add another test.
69830         * Makerules (common-objdir-compile): Remove.
69831         * sysdeps/unix/Makefile (config-generated): Do not add
69832         $(unix-generated) to variable.
69833         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69834         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69835         Remove rule.
69836         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69837         Likewise.
69838         [generic bits/local_lim.h] (before-compile): Do not append to
69839         variable.
69840         [generic bits/local_lim.h] (common-generated): Likewise.
69841         [generic sys/param.h] (before-compile): Do not append to variable.
69842         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69843         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69844         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69845         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69846         include.
69847         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69848         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69849         [generic sys/param.h] ($(addprefix
69850         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69851         [generic sys/param.h] (common-generated): Do not append to
69852         variable.
69853         [generic sys/param.h] (sysdep_headers): Likewise.
69854         [generic bits/errno.h] (before-compile): Do not append to
69855         variable.
69856         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69857         rule.
69858         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69859         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69860         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69861         [generic bits/errno.h] (common-generated): Do not append to
69862         variable.
69863         [generic bits/ioctls.h] (before-compile): Do not append to
69864         variable.
69865         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69866         rule.
69867         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69868         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69869         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69870         rule.
69871         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69872         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69873         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69874         [generic bits/ioctls.h] (common-generated): Do not append to
69875         variable.
69876         [generic sys/syscall.h] (syscall.h): Remove variable.
69877         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69878         rule.
69879         [generic sys/syscall.h] (before-compile): Do not append to
69880         variable.
69881         [generic sys/syscall.h] (common-generated): Likewise.
69882         * sysdeps/unix/errnos-tmpl.c: Remove file.
69883         * sysdeps/unix/errnos.awk: Likewise.
69884         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69885         * sysdeps/unix/ioctls.awk: Likewise.
69886         * sysdeps/unix/mk-local_lim.c: Likewise.
69887         * sysdeps/unix/snarf-ioctls: Likewise.
69889 2012-03-19  Richard Henderson  <rth@twiddle.net>
69891         * sysdeps/i386/fpu/fenv_private.h: New file.
69892         * sysdeps/i386/fpu/math_private.h: Use it.
69893         (math_opt_barrier, math_force_eval): Remove.
69894         (libc_feholdexcept_setround_53bit): Remove.
69895         (libc_feupdateenv_53bit): Remove.
69896         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69897         (math_opt_barrier, math_force_eval): Remove.
69898         (libc_feholdexcept): Remove.
69899         (libc_feholdexcept_setround): Remove.
69900         (libc_fetestexcept, libc_fesetenv): Remove.
69901         (libc_feupdateenv_test): Remove.
69902         (libc_feupdateenv, libc_feholdsetround): Remove.
69903         (libc_feresetround): Remove.
69905         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69906         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69908         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69909         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69910         (libc_feupdateenv_testl): New.
69911         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69912         (libc_feupdateenv_testf): New.
69913         (libc_feupdateenv): Use libc_feupdateenv_test.
69914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69917         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69918         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69919         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69920         (libc_feresetround_noex): New.
69921         (libc_feresetround_noexf): New.
69922         (libc_feresetround_noexl): New.
69923         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69924         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69925         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69926         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69927         SET_RESTORE_ROUND.
69928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69930         (__cos): Likewise.
69931         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69932         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69933         SET_RESTORE_ROUND_NOEX.
69934         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69935         SET_RESTORE_ROUND_NOEXF.
69936         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69937         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69938         (libc_feholdsetroundf): New.
69939         (libc_feresetround, libc_feresetroundf): New.
69941         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69942         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69943         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69945         * sysdeps/generic/math_private.h: Include <fenv.h>.
69946         (default_libc_feholdexcept): New.
69947         (default_libc_feholdexcept_setround): New.
69948         (default_libc_fesetenv, default_libc_feupdateenv): New.
69949         (libc_feholdexcept): Only define if undefined.
69950         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69951         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69952         (libc_feholdexcept_setroundl): Likewise.
69953         (libc_feholdexcept_setround_53bit): Likewise.
69954         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69955         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69956         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69957         (libc_feupdateenv_53bit): Likewise.
69958         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69959         (libc_feholdexcept): Convert from macro to inline function.
69960         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69961         (libc_fesetenv, libc_feupdateenv): Likewise.
69963         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69964         not previously defined.
69965         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69966         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69967         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69968         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69969         * sysdeps/ieee754/flt-32/math_private.h: New file.
69970         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69971         math_private.h below SET_FLOAT_WORD.
69972         (__isnan, __isinf_ns, __finite): Remove.
69973         (__isnanf, __isinf_nsf, __finitef): Remove.
69975 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69979 2012-03-17  David S. Miller  <davem@davemloft.net>
69981         [BZ #6471]
69982         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69983         for 2.16.
69985 2012-03-16  David S. Miller  <davem@davemloft.net>
69987         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69988         warnings.
69990         [BZ #6471]
69991         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69992         properly.
69993         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69994         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69995         sysdep_routines when subdir is sysvipc.
69996         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69997         __getshmlba helper.
69999         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70003         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70004         [__LP64__].
70006 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70008         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70009         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70010         (__lround): Renamed to ...
70011         (__llround): This.  Replace long int with long long int.
70012         Define lround functions as aliases of llround functions.
70013         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70017         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70018         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70019         adresses to uintptr_t.  Replace "long int" and "unsigned long
70020         int" with "greg_t" on va_arg.
70022 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70024         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70025         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70027         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70028         Move e_machine check before EI_CLASS check.  Handle x32
70029         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70030         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70031         SKIP_EM_IA_64 and include
70032         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70034         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70035         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70036         (add_system_dir): New macro.
70038         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70039         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70041 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70043         [BZ #2551]
70044         [BZ #2552]
70045         [BZ #2553]
70046         [BZ #2554]
70047         [BZ #2562]
70048         [BZ #2563]
70049         [BZ #2565]
70050         [BZ #2566]
70051         [BZ #2576]
70052         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70053         (y0): Likewise.
70054         * math/w_j0f.c (j0f): Likewise.
70055         (y0f): Likewise.
70056         * math/w_j0l.c (__j0l): Likewise.
70057         (__y0l): Likewise.
70058         * math/w_j1.c (j1): Likewise.
70059         (y1): Likewise.
70060         * math/w_j1f.c (j1f): Likewise.
70061         (y1f): Likewise.
70062         * math/w_j1l.c (__j1l): Likewise.
70063         (__y1l): Likewise.
70064         * math/w_jn.c (jn): Likewise.
70065         (yn): Likewise.
70066         * math/w_jnf.c (jnf): Likewise.
70067         (ynf): Likewise.
70068         * math/w_jnl.c (__jnl): Likewise.
70069         (__ynl): Likewise.
70070         * math/libm-test.inc (j0_test): Add more tests.
70071         (j1_test): Likewise.
70072         (jn_test): Likewise.  Add trailing semicolon to existing test.
70073         (y0_test): Likewise.
70074         (y1_test): Likewise.
70075         * sysdeps/i386/fpu/libm-test-ulps: Update.
70076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70078         [BZ #13851]
70079         [BZ #13854]
70080         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70081         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70082         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70083         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70084         (__tanl): Set errno for infinite argument.
70085         * sysdeps/i386/fpu/mptan.c: Remove.
70086         * sysdeps/i386/fpu/s_tan.S: Likewise.
70087         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70088         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70089         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70090         * math/libm-test.inc (tan_test): Add more tests and enable more
70091         tests for double and long double.
70092         * sysdeps/i386/fpu/libm-test-ulps: Update.
70093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70095 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70097         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70098         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70100 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70102         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70103         * configure.in: Use it for both main tree and add-ons.
70104         * configure: Regenerated.
70106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70108         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70110 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70112         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70113         in comment.
70115         [BZ #13851]
70116         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70117         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70118         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70119         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70120         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70121         infinite argument.
70122         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70123         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70124         != 0 for prec == 2.
70125         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70126         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70127         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70128         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70129         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70130         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70131         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70132         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70133         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70134         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70135         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70136         * math/libm-test.inc (cos_test): Add more tests and enable more
70137         tests for long double.
70138         (sin_test): Likewise.
70139         (sincos_test): Likewise.
70140         * sysdeps/i386/fpu/libm-test-ulps: Update.
70141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70143 2012-03-16  David S. Miller  <davem@davemloft.net>
70145         * sysdeps/sparc/fpu/math_private.h: New file.
70147 2012-03-15  David S. Miller  <davem@davemloft.net>
70149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70150         file.
70151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70153         file.
70154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70159         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70160         sysdep routines.
70161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70163         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70164         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70166         * sysdeps/sparc/sparc-ifunc.h: New file.
70167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70168         sparc-ifunc.h
70169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70171         Likewise.
70172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70173         Likewise.
70174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70178         Likewise.
70179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70184         Likewise.
70185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70186         Likewise.
70187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70193         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70194         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70212 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70214         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70215         scaling.
70216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70218 2012-03-15  Andreas Jaeger  <aj@suse.de>
70220         [BZ #13852]
70221         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70222         ieee754/flt-32 implementation for sin, cos and sincos.
70223         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70224         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70225         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70226         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70227         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70228         ieee754/flt-32 implementation for tan.
70230         * math/libm-test.inc (cos_test): Enable some large input tests for
70231         float as well
70232         (sin_test): Likewise.
70233         (sincos_test): Likewise.
70234         (tan_test): Add tests for large input.
70236         * sysdeps/i386/fpu/libm-test-ulps: Update.
70238 2012-03-15  Andreas Jaeger  <aj@suse.de>
70240         [BZ #13658]
70241         * math/libm-test.inc (cos_test): Add more test cases.
70242         (sin_test): Likewise.
70243         (sincos_test): Likewise.
70245 2012-03-15  Andreas Jaeger  <aj@suse.de>
70247         [BZ #13837]
70248         * math/libm-test.inc (cos_test): Add a test case for large input
70249         value.
70250         (sin_test): Likewise.
70251         (sincos_test): Likewise.
70253 2012-03-15  Andreas Jaeger  <aj@suse.de>
70254             Joseph Myers  <joseph@codesourcery.com>
70256         [BZ #13658]
70257         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70258         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70259         * sysdeps/i386/fpu/branred.c: Likewise.
70260         * sysdeps/i386/fpu/dosincos.c: Likewise.
70261         * sysdeps/i386/fpu/mpa.c: Likewise.
70262         * sysdeps/i386/fpu/s_cos.S: Likewise.
70263         * sysdeps/i386/fpu/s_sin.S: Likewise.
70264         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70265         * sysdeps/i386/fpu/sincos32.c: Likewise.
70267         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70268         Define.
70269         (libc_feupdateenv_53bit): Define.
70270         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70271         Define.
70272         (libc_feupdateenv_53bit): Define.
70274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70275         53 bit (without extend i386 double precision).
70277         * math/libm-test.inc (sincos_test): Add tests for large input.
70278         (sin): Likewise.
70279         (cos): Likewise.
70281         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70283 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70287 2012-03-15  David S. Miller  <davem@davemloft.net>
70289         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70290         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70291         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70292         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70305         file.
70306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70308         file.
70309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70311         file.
70312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70314         file.
70315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70316         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70317         fmin/fmax sysdep routines.
70318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70320 2012-03-14  David S. Miller  <davem@davemloft.net>
70322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70327         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70328         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70343         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70344         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70345         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70346         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70347         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70348         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70351         routines.
70352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70353         file.
70354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70356         file.
70357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70359         file.
70360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70362         file.
70363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70365         file.
70366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70368         file.
70369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70370         file.
70371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70372         file.
70373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70374         file.
70375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70376         New file.
70377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70378         file.
70379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70380         file.
70381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70383         file.
70384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70386         file.
70387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70389         file.
70390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70392         VIS3 routines.
70394         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70395         New file.
70397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70399         * sysdeps/sparc/configure.in: New file.
70400         * sysdeps/sparc/configure: Generate.
70401         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70402         * configure: Regenerate.
70403         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70404         * config.make.in (have-as-vis3): New.
70405         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70406         available use -Av9d instead of -Av9a.
70407         * sysdeps/sparc/sparc64/Makefile: Likewise.
70408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70410         New file.
70411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70412         file.
70413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70414         New file.
70415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70416         file.
70417         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70418         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70419         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70421         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70423         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70424         fzeros/fnegs to load 0x80000000 into a float register instead of
70425         using the stack.
70426         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70428 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70431         bits/syscall.h.
70432         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70433         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70434         ($(inst_includedir)/bits/syscall.h): Remove rule.
70435         ($(objpfx)bits/syscall.d): Include instead of
70436         $(objpfx)syscall-list.d.
70437         (generated): Change syscall-list.h and syscall-list.d to
70438         bits/syscall.h and bits/syscall.d.
70440 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70442         [BZ #13846]
70443         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70445 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70447         [BZ #13841]
70448         * math/s_csqrt.c: Include <float.h>.
70449         (__csqrt): Scale large or subnormal inputs.
70450         * math/s_csqrtf.c: Likewise.
70451         * math/s_csqrtl.c: Likewise.
70452         * math/libm-test.inc (csqrt_test): Add more tests.
70453         * sysdeps/i386/fpu/libm-test-ulps: Update.
70454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70456         [BZ #13840]
70457         * math/libm-test.inc (hypot_test): Add more tests.
70459 2012-03-13  David S. Miller  <davem@davemloft.net>
70461         [BZ #13840]
70462         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70463         double-precision for the calculation instead of scaling.
70465 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70467         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70468         manipulate bits before adding and subtracting TWO52[sx].
70469         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70470         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70471         Likewise.
70472         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70474 2012-03-13  David S. Miller  <davem@davemloft.net>
70476         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70477         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70479         rtld-global-offsets.h
70480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70482         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70483         large parameters.
70485         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70487         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70488         'err' in the ifdef scope in which it is actually used.
70490         * nss/nss_db/db-init.c: Include string.h
70492 2012-03-12  David S. Miller  <davem@davemloft.net>
70494         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70495         masking out of the most significant byte of random value used.
70496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70497         Fix coding style in previous change.
70499         * sysdeps/unix/sysv/linux/kernel-features.h
70500         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70501         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70502         expression.
70503         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70504         later.
70506 2012-03-11  David S. Miller  <davem@davemloft.net>
70508         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70509         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70511         for 'resultvar' otherwise things get truncated on 64-bit.
70513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70514         Fix masking out of the most significant byte of random value used.
70516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70518 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70522 2012-03-09  David S. Miller  <davem@davemloft.net>
70524         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70525         variables with appropriate CPP guards.
70526         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70527         from the frame pointer, not the stack pointer.  Correct layout
70528         comments.  Fix test on resulting framesize and the management of
70529         the outregs buffer for pltexit.  Preserve floating point return
70530         values across _dl_call_pltexit call.
70531         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70532         framesize and the management of the outregs buffer for pltexit.
70533         Preserve floating point return values across _dl_call_pltexit
70534         call.
70535         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70536         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70537         (la_sparc64_gnu_pltexit): New functions.
70538         (print_exit): Fix format string for return register value.
70540 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70542         * sunrpc/Makefile (others): Add rpcgen.
70543         ($(objpfx)rpcgen): Remove special build rule and dependency on
70544         libc.
70545         * sunrpc/rpcgen.c: New file.
70547 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70549         [BZ #13673]
70550         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70551         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70552         * sysdeps/i386/crti.S: Likewise.
70553         * sysdeps/i386/crtn.S: Likewise.
70554         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70555         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70556         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70557         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70558         * sysdeps/sh/crti.S: Likewise.
70559         * sysdeps/sh/crtn.S: Likewise.
70560         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70562         [BZ #13673]
70563         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70564         with URL.
70565         * locale/programs/locfile-kw.gperf: Likewise.
70566         * locale/programs/charmap-kw.h: Regenerated.
70567         * locale/programs/locfile-kw.h: Likewise.
70569         [BZ #13673]
70570         * intl/plural.y: Replace FSF snail mail address with URL.
70571         * intl/plural.c: Regenerated.
70573 2012-03-09  Richard Henderson  <rth@twiddle.net>
70575         * include/math_private.h: Remove file.
70576         * math/math_private.h: Move file ...
70577         * sysdeps/generic/math_private.h: ... here.
70579         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70580         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70581         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70583         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70584         and <math_private.h>.
70585         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70586         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70587         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70588         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70589         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70599         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70606         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70607         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70609         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70610         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70611         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70612         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70614         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70615         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70616         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70617         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70618         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70619         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70623         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70625         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70631         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70632         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70633         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70634         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70635         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70636         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70637         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70638         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70639         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70640         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70641         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70642         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70643         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70644         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70645         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70646         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70648         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70649         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70650         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70651         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70652         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70653         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70654         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70655         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70656         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70657         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70659         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70660         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70661         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70664         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70665         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70666         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70667         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70668         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70669         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70671         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70672         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70673         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70674         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70675         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70676         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70677         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70678         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70679         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70680         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70681         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70682         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70683         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70684         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70685         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70686         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70687         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70688         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70689         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70690         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70691         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70692         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70693         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70694         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70695         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70696         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70697         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70698         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70699         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70700         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70701         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70702         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70703         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70704         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70705         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70706         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70707         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70708         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70709         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70710         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70711         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70712         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70713         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70714         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70715         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70716         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70717         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70718         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70719         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70720         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70721         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70722         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70723         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70724         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70725         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70726         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70727         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70728         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70729         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70730         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70731         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70732         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70733         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70734         * sysdeps/ieee754/k_standard.c: Likewise.
70735         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70736         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70737         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70738         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70739         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70740         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70741         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70742         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70743         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70744         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70745         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70746         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70747         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70748         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70749         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70750         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70751         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70752         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70753         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70754         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70755         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70756         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70757         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70758         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70759         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70760         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70761         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70762         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70763         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70764         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70765         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70766         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70767         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70768         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70770         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70771         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70772         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70773         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70774         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70775         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70776         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70777         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70802         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70803         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70808         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70809         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70810         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70812         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70814         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70815         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70822         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70823         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70825         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70826         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70827         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70828         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70830         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70831         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70832         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70833         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70834         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70836         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70839         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70841         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70843         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70844         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70845         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70846         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70847         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70848         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70849         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70850         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70851         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70852         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70853         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70854         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70855         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70856         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70857         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70858         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70859         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70860         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70861         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70862         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70863         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70864         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70865         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70866         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70867         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70868         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70869         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70870         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70871         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70872         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70873         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70874         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70875         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70876         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70877         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70878         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70879         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70880         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70881         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70882         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70883         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70884         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70885         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70886         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70887         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70888         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70889         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70890         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70891         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70892         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70893         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70894         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70895         * sysdeps/ieee754/s_lib_version.c: Likewise.
70896         * sysdeps/ieee754/s_matherr.c: Likewise.
70897         * sysdeps/ieee754/s_signgam.c: Likewise.
70898         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70899         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70900         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70901         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70902         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70903         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70904         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70905         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70906         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70907         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70908         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70909         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70910         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70911         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70912         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70913         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70914         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70915         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70916         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70920 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70922         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70923         * sunrpc/rpc_main.c: Likewise.
70924         * sunrpc/rpc_svcout.c: Likewise.
70926 2012-03-09  David S. Miller  <davem@davemloft.net>
70928         * include/math_private.h: New file.
70930 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70932         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70933         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70934         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70935         from <bits/socket_type.h>.
70936         (enum __socket_type): Don't define here.
70937         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70939         bits/socket_type.h.
70941         [BZ #13566]
70942         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70943         checking __USE_GNU.
70945         * Makerules ($(inst_includedir)/%.h): New rule.
70946         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70947         (install-others): Remove variable setting.
70948         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70950 2012-03-08  Richard Henderson  <rth@twiddle.net>
70952         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70953         from macro to inline function; merge with the
70954         !__LIBC_INTERNAL_MATH_INLINES version.
70955         (__ieee754_sqrtf): Likewise.
70957         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70958         to inline function.
70959         (__rintf, __floor, __floorf): Likewise.
70961         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70962         macro to inline function.
70963         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70965         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70966         not <math/math_private.h>.
70968 2012-03-08  David S. Miller  <davem@davemloft.net>
70970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70971         copyright year.
70972         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70974 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70976         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70977         normalization.
70978         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70979         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70981 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70983         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70984         be defined individually, they must be defined as a block.  Define
70985         S for printing a string instead of hidint the different by using a
70986         macro for adding the 'l'.
70987         * stdio-common/tst-fphex-wide.c: Adjust.
70989 2012-03-07  Marek Polacek  <polacek@redhat.com>
70991         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70993 2012-03-08  Marek Polacek  <polacek@redhat.com>
70995         [BZ #13806]
70996         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70997         * stdio-common/tst-fphex.c: Define a few macros to make the
70998         test reusable.  Use them.
70999         * stdio-common/tst-fphex-wide.c: New file.
71001 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71003         [BZ #6911]
71004         * manual/macros.texi (gnusystems): New macro.
71005         (nongnusystems): Likewise.
71006         (gnulinuxhurdsystems): Likewise.
71007         (gnuhurdsystems): Likewise..
71008         (gnulinuxsystems): Likewise.
71009         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71010         variants of the GNU system, not "GNU system".
71011         * manual/conf.texi: Likewise.
71012         * manual/errno.texi: Likewise.  Update example of errno macro
71013         expansion.
71014         * manual/filesys.texi: Likewise.
71015         (getumask): Document as specific to GNU/Hurd.
71016         * manual/install.texi: Likewise.  Reword some references to
71017         GNU/Linux.
71018         * manual/intro.texi: Likewise.
71019         * manual/io.texi: Likewise.
71020         (File Name Portability): Detail which constraints are inapplicable
71021         to all GNU systems and which are only inapplicable to GNU/Hurd.
71022         * manual/job.texi: Likewise.
71023         * manual/llio.texi: Likewise.
71024         (O_NOCTTY): Document as present on GNU/Linux.
71025         * manual/maint.texi: Likewise.
71026         * manual/memory.texi: Likewise.
71027         * manual/pattern.texi: Likewise.
71028         * manual/pipe.texi: Likewise.
71029         * manual/process.texi: Likewise.
71030         * manual/resource.texi: Likewise.
71031         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71032         child on GNU/Hurd.
71033         * manual/setjmp.texi: Likewise.
71034         * manual/signal.texi: Likewise.
71035         * manual/startup.texi: Likewise.
71036         * manual/stdio.texi: Likewise.
71037         * manual/terminal.texi: Likewise.
71038         (ONLCR): Document as POSIX.
71039         (OXTABS): Document availability on GNU/Linux as XTABS.
71040         (ONOEOT): Document availability separately from other bits.
71041         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71042         * manual/time.texi: Likewise.
71043         * manual/users.texi: Likewise.
71044         * INSTALL: Regenerated.
71045         * sysdeps/gnu/errlist.c: Regenerated.
71047         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71048         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71049         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71050         puts.
71051         * configure: Regenerated.
71053 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71055         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71056         default includes instead of AC_HEADER_CHECK.
71057         * sysdeps/i386/configure: Regenerated.
71059         [BZ #10716]
71060         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71061         * math/s_cacoshf.c (__cacoshf): Likewise.
71062         * math/s_cacoshl.c (__cacoshl): Likewise.
71063         * math/s_casinh.c (__casinh): Set signs of result from argument.
71064         * math/s_casinhf.c (__casinhf): Likewise.
71065         * math/s_casinhl.c (__casinhl): Likewise.
71066         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71067         (casinh_test): Add more tests.
71068         * sysdeps/i386/fpu/libm-test-ulps: Update.
71069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71071 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71073         * po/zh_TW.po: Update from translation team.
71075         * login/Makefile (distribute): Remove variable.
71076         * catgets/Makefile: Likewise.
71077         * mach/Makefile: Likewise.
71078         * malloc/Makefile: Likewise.
71079         * misc/Makefile: Likewise.
71080         * iconv/Makefile: Likewise.
71081         * nscd/Makefile: Likewise.
71082         * hurd/Makefile: Likewise.
71083         * manual/Makefile: Likewise.
71084         * locale/Makefile: Likewise.
71085         * intl/Makefile: Likewise.
71086         * conform/Makefile: Likewise.
71087         * nss/Makefile: Likewise.
71088         * time/Makefile: Likewise.
71089         * soft-fp/Makefile: Likewise.
71090         * dirent/Makefile: Likewise.
71091         * gmon/Makefile: Likewise.
71092         * po/Makefile: Likewise.
71093         * rt/Makefile: Likewise.
71094         * socket/Makefile: Likewise.
71095         * math/Makefile: Likewise.
71096         * signal/Makefile: Likewise.
71097         * debug/Makefile: Likewise.
71098         * elf/Makefile: Likewise.
71099         * timezone/Makefile: Likewise.
71100         * stdlib/Makefile: Likewise.
71101         * iconvdata/Makefile: Likewise.
71102         * sunrpc/Makefile: Likewise.
71103         * io/Makefile: Likewise.
71104         * argp/Makefile: Likewise.
71105         * inet/Makefile: Likewise.
71106         * hesiod/Makefile: Likewise.
71107         * grp/Makefile: Likewise.
71108         * csu/Makefile: Likewise.
71109         * wctype/Makefile: Likewise.
71110         * crypt/Makefile: Likewise.
71111         * libio/Makefile: Likewise.
71112         * string/Makefile: Likewise.
71113         * nis/Makefile: Likewise.
71114         * resolv/Makefile: Likewise.
71115         * stdio-common/Makefile: Likewise.
71116         * wcsmbs/Makefile: Likewise.
71117         * dlfcn/Makefile: Likewise.
71118         * posix/Makefile: Likewise.
71120         [BZ #6959]
71121         * timezone/Makefile: Don't install timezone files, just the programs
71122         and scripts.
71124 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71126         * nss/databases.def: Add missing gshadow entry.
71128         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71130 2012-03-06  Marek Polacek  <polacek@redhat.com>
71132         [BZ #13726]
71133         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71134         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71135         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71136         * stdio-common/tst-long-dbl-fphex.c: New file.
71138 2012-03-06  David S. Miller  <davem@davemloft.net>
71140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71141         (set_obp_int): New function.
71142         (get_obp_int): New function.
71143         (__get_clockfreq_via_dev_openprom): Likewise.
71144         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71145         Avoid unused variable warnings on 'val' and use builtin_expect.
71146         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71147         __builtin_expect.
71148         (INLINE_CLONE_SYSCALL): Likewise.
71150 2012-03-05  David S. Miller  <davem@davemloft.net>
71152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71154 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71159         only for |x| >= 40.
71160         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71162 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71164         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71165         Replace gettimeofday with __vdso_gettimeofday.
71167         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71168         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71169         __vdso_clock_gettime and __vdso_getcpu.
71171         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71172         time with __vdso_time.
71174 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71176         * manual/lang.texi (size_t): Note types to which size_t may be
71177         equivalent with the GNU C Library, but do not describe when
71178         differences between them are significant.
71180 2012-03-05  Andreas Jaeger  <aj@suse.de>
71182         * sysdeps/i386/fpu/libm-test-ulps: Update.
71184 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71186         [BZ #3976]
71187         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71188         (__ieee754_pow): Save and restore rounding mode and use
71189         round-to-nearest for main computations.
71190         * math/libm-test.inc (pow_test_tonearest): New function.
71191         (pow_test_towardzero): Likewise.
71192         (pow_test_downward): Likewise.
71193         (pow_test_upward): Likewise.
71194         (main): Call the new functions.
71195         * sysdeps/i386/fpu/libm-test-ulps: Update.
71196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71198         [BZ #3976]
71199         * math/libm-test.inc (cosh_test_tonearest): New function.
71200         (cosh_test_towardzero): Likewise.
71201         (cosh_test_downward): Likewise.
71202         (cosh_test_upward): Likewise.
71203         (sinh_test_tonearest): Likewise.
71204         (sinh_test_towardzero): Likewise.
71205         (sinh_test_downward): Likewise.
71206         (sinh_test_upward): Likewise.
71207         (main): Call the new functions.
71208         * sysdeps/i386/fpu/libm-test-ulps: Update.
71209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71211 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71213         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71214         default stack guard is set in last bytes.
71215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71217 2012-03-05  Kees Cook  <keescook@chromium.org>
71219         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71221         [BZ #13656]
71222         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71223         possibly allocate from heap instead of stack.
71224         * stdio-common/bug-vfprintf-nargs.c: New file.
71225         * stdio-common/Makefile (tests): Add nargs overflow test.
71227 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71231 2012-03-03  Marek Polacek  <polacek@redhat.com>
71233         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71234         * math/math_private.h: Likewise.
71235         * stdlib/tst-strtod.c: Likewise.
71236         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71237         * sysdeps/x86_64/bits/atomic.h: Likewise.
71239 2012-03-02  David S. Miller  <davem@davemloft.net>
71241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71245         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71246         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71247         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71248         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71250 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71252         [BZ #13792]
71253         * manual/examples/README: New file, says the example source files
71254         can be used under GPL>=2.
71255         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71256         line containing just "*/".
71257         * manual/examples/add.c: Add copyright header (GPL>=2).
71258         * manual/examples/argp-ex1.c: Likewise.
71259         * manual/examples/argp-ex2.c: Likewise.
71260         * manual/examples/argp-ex3.c: Likewise.
71261         * manual/examples/argp-ex4.c: Likewise.
71262         * manual/examples/atexit.c: Likewise.
71263         * manual/examples/db.c: Likewise.
71264         * manual/examples/dir.c: Likewise.
71265         * manual/examples/dir2.c: Likewise.
71266         * manual/examples/execinfo.c: Likewise.
71267         * manual/examples/filecli.c: Likewise.
71268         * manual/examples/filesrv.c: Likewise.
71269         * manual/examples/fmtmsgexpl.c: Likewise.
71270         * manual/examples/genpass.c: Likewise.
71271         * manual/examples/inetcli.c: Likewise.
71272         * manual/examples/inetsrv.c: Likewise.
71273         * manual/examples/isockad.c: Likewise.
71274         * manual/examples/longopt.c: Likewise.
71275         * manual/examples/memopen.c: Likewise.
71276         * manual/examples/memstrm.c: Likewise.
71277         * manual/examples/mkfsock.c: Likewise.
71278         * manual/examples/mkisock.c: Likewise.
71279         * manual/examples/mygetpass.c: Likewise.
71280         * manual/examples/pipe.c: Likewise.
71281         * manual/examples/popen.c: Likewise.
71282         * manual/examples/rprintf.c: Likewise.
71283         * manual/examples/search.c: Likewise.
71284         * manual/examples/select.c: Likewise.
71285         * manual/examples/setjmp.c: Likewise.
71286         * manual/examples/sigh1.c: Likewise.
71287         * manual/examples/sigusr.c: Likewise.
71288         * manual/examples/stpcpy.c: Likewise.
71289         * manual/examples/strdupa.c: Likewise.
71290         * manual/examples/strftim.c: Likewise.
71291         * manual/examples/strncat.c: Likewise.
71292         * manual/examples/subopt.c: Likewise.
71293         * manual/examples/swapcontext.c: Likewise.
71294         * manual/examples/termios.c: Likewise.
71295         * manual/examples/testopt.c: Likewise.
71296         * manual/examples/testpass.c: Likewise.
71297         * manual/examples/timeval_subtract.c: Likewise.
71299         [BZ #13792]
71300         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71301         function to ...
71302         * manual/timeval_subtract.c.texi: ... here, new file.
71304 2012-03-02  David S. Miller  <davem@davemloft.net>
71306         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71308 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71310         [BZ #3976]
71311         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71312         (__sin): Save and restore rounding mode and use round-to-nearest
71313         for all computations.
71314         (__cos): Save and restore rounding mode and use round-to-nearest
71315         for all computations.
71316         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71317         <fenv.h>.
71318         (tan): Save and restore rounding mode and use round-to-nearest for
71319         all computations.
71320         * math/libm-test.inc (cos_test_tonearest): New function.
71321         (cos_test_towardzero): Likewise.
71322         (cos_test_downward): Likewise.
71323         (cos_test_upward): Likewise.
71324         (sin_test_tonearest): Likewise.
71325         (sin_test_towardzero): Likewise.
71326         (sin_test_downward): Likewise.
71327         (sin_test_upward): Likewise.
71328         (tan_test_tonearest): Likewise.
71329         (tan_test_towardzero): Likewise.
71330         (tan_test_downward): Likewise.
71331         (tan_test_upward): Likewise.
71332         (main): Call the new functions.
71333         * sysdeps/i386/fpu/libm-test-ulps: Update.
71334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71336         [BZ #10135]
71337         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71338         small n, then large n, before computing and testing k+n.
71339         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71340         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71341         Likewise.
71342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71343         Likewise.
71344         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71345         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71347         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71348         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71349         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71350         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71351         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71352         * math/libm-test.inc (scalbn_test): Add more tests.
71353         (scalbln_test): Likewise.
71355         * manual/filesys.texi (mode_t): Describe constraints on size and
71356         signedness, not exact equivalence to a particular type.
71357         (ino_t): Likewise.
71358         (ino64_t): Likewise.
71359         (dev_t): Likewise.
71360         (nlink_t): Likewise.
71361         (blkcnt_t): Likewise.
71362         (blkcnt64_t): Likewise.
71363         * manual/llio.texi (off_t): Likewise.
71365         [BZ #3976]
71366         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71367         (__ieee754_exp): Save and restore rounding mode and use
71368         round-to-nearest for all computations.
71369         * math/libm-test.inc (exp_test_tonearest): New function.
71370         (exp_test_towardzero): Likewise.
71371         (exp_test_downward): Likewise.
71372         (exp_test_upward): Likewise.
71373         (main): Call the new functions.
71374         * sysdeps/i386/fpu/libm-test-ulps: Update.
71375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71377 2012-03-01  Chris Demetriou  <cgd@google.com>
71379         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71380         have predictable order.
71382 2012-03-01  David S. Miller  <davem@davemloft.net>
71384         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71386         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71387         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71388         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71389         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71391         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71392         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71393         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71395         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71396         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71397         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71398         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71399         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71404         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71405         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71407         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71408         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71409         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71410         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71411         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71412         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71413         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71414         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71415         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71416         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71417         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71418         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71420         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71421         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71422         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71423         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71424         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71425         * sysdeps/sparc/elf/configure: Regenerated.
71427 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71429         * configure.in (AS, LD): Require binutils 2.20 or later.
71430         * configure: Regenerated.
71431         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71432         as required minimum version.
71433         * INSTALL: Regenerated.
71435         [BZ #2541]
71436         [BZ #4108]
71437         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71438         before squaring exponent.
71439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71440         bottom long double and 27 bits of top long double before squaring
71441         exponent.
71442         * math/libm-test.inc (erfc_test): Add more tests.
71443         * sysdeps/i386/fpu/libm-test-ulps: Update.
71444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71447 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71449         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71450         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71451         containing bit-fields.
71452         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71453         * soft-fp/single.h (_FP_UNION_S): Likewise.
71454         * soft-fp/double.h (_FP_UNION_D): Likewise.
71456 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71458         [BZ #13786]
71459         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71460         not include ../strcmp.S.
71461         [USE_AS_STRNCASECMP_L]: Likewise.
71462         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71463         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71464         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71465         (__strncasecmp_l_ia32): Define as alias to
71466         __strncasecmp_l_nonascii.
71468         [BZ #5794]
71469         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71470         * sysdeps/i386/fpu/libm-test-ulps: Update.
71471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71473         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71476 2012-02-29  Jeff Law  <law@redhat.com>
71478         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71479         out of bounds read.
71481 2012-02-29  Marek Polacek  <polacek@redhat.com>
71483         [BZ #13706]
71484         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71485         * elf/Makefile: Add rules to run tst-unused-dep.out.
71487 2012-02-28  David S. Miller  <davem@davemloft.net>
71489         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71490         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71491         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71492         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71493         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71494         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71496 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71498         * math/libm-test.inc (llround_test): Move one test from
71499         lround_test.  Use TEST_f_L in moved test.
71500         (lround_test): Move misplaced test to llround_test.  Add testcase
71501         from bug 2561.
71503 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71505         * sysdeps/x86_64/fpu/e_expf.S: New file.
71506         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71508 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71510         [BZ #13637]
71511         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71512         of remain_len that may cause incomplete multi-byte character and
71513         false match.
71514         * posix/bug-regex33.c: New file.
71515         * posix/Makefile (tests): Add bug-regex33.
71517 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71519         * manual/macros.texi: New file.
71520         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71521         * manual/libc.texinfo: Include macros.texi.
71522         * manual/creatute.texi: Likewise.
71523         * manual/install.texi: Likewise.
71524         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71525         @glibcadj{} in references to the GNU C Library.
71526         * manual/charset.texi: Likewise.
71527         * manual/conf.texi: Likewise.
71528         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71529         when not using those macros.
71530         * manual/creature.texi: Likewise.
71531         * manual/crypt.texi: Likewise.
71532         * manual/errno.texi: Likewise.
71533         * manual/filesys.texi: Likewise.
71534         * manual/header.texi: Likewise.
71535         * manual/install.texi: Likewise.
71536         * manual/intro.texi: Likewise.
71537         * manual/io.texi: Likewise.
71538         * manual/job.texi: Likewise.
71539         * manual/lang.texi: Likewise.
71540         * manual/libc.texiinfo: Likewise.
71541         * manual/llio.texi: Likewise.
71542         * manual/locale.texi: Likewise.
71543         * manual/maint.texi: Likewise.
71544         * manual/math.texi: Likewise.
71545         * manual/memory.texi: Likewise.
71546         * manual/message.texi: Likewise.
71547         * manual/nss.texi: Likewise.
71548         * manual/pattern.texi: Likewise.
71549         * manual/process.texi: Likewise.
71550         * manual/resource.texi: Likewise.
71551         * manual/search.texi: Likewise.
71552         * manual/setjmp.texi: Likewise.
71553         * manual/signal.texi: Likewise.
71554         * manual/socket.texi: Likewise.
71555         * manual/startup.texi: Likewise.
71556         * manual/stdio.texi: Likewise.
71557         * manual/string.texi: Likewise.
71558         * manual/sysinfo.texi: Likewise.
71559         * manual/syslog.texi: Likewise.
71560         * manual/terminal.texi: Likewise.
71561         * manual/time.texi: Likewise.
71562         * manual/users.texi: Likewise.
71563         * INSTALL: Regenerated.
71564         * NOTES: Regenerated.
71565         * sysdeps/gnu/errlist.c: Regenerated.
71567 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71569         * include/dirent.h: Include <dirstream.h> before
71570         <dirent/dirent.h>.
71572 2012-02-28  David S. Miller  <davem@davemloft.net>
71574         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71575         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71576         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71577         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71579 2012-02-27  David S. Miller  <davem@davemloft.net>
71581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71583         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71584         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71587         frame pointer instead of stack pointer relative arg slot.
71588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71589         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71590         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71592 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71594         [BZ #3992]
71595         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71597 2012-02-27  David S. Miller  <davem@davemloft.net>
71599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71603         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71604         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71605         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71606         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71608 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71610         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71611         later.  Allow versions 5-9.
71612         * configure: Regenerated.
71613         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71614         required minimum version and 4.6 as recommended version.  Do not
71615         mention bugs in GCC 2.7 and 2.8.
71616         * INSTALL: Regenerated.
71618 2012-02-27  David S. Miller  <davem@davemloft.net>
71620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71624         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71625         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71626         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71627         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71629         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71630         manipulate bits before adding and subtracting TWO112[sx].
71631         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71633 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71635         [BZ #13775]
71636         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71637         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71638         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71639         being in POSIX, because they are in 1003.1-2008.
71641         * rt/tst-aio.c: Include <fcntl.h>.
71642         * rt/tst-aio7.c: Likewise.
71643         * rt/tst-aio64.c: Likewise.
71645         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71647 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71649         * manual/install.texi (--with-headers): Describe headers as
71650         interface headers, not private headers.
71651         (Specific advice for GNU/Linux systems): Describe use of headers
71652         from "make headers_install", not private headers from older
71653         kernels.
71654         * INSTALL: Regenerated.
71655         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71656         Change to 2.6.19.
71657         * sysdeps/unix/sysv/linux/configure: Regenerated.
71659         * manual/llio.texi (fclean): Remove documentation.
71661         * manual/Makefile (libc-texi-generated): New variable.  Include
71662         version.texi.
71663         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71664         $(libc-texi-generated), not duplicated list of files.
71665         (version.texi, stamp-version): New rules.
71666         (realclean): Remove $(libc-texi-generated), not individual files
71667         from that list.  Do not remove dir-add.texinfo.
71668         * manual/libc.texinfo: Comment out uses of edition numbers and
71669         references to printed manual.  Remove last-updated dates.
71670         (EDITION): Comment out.
71671         (ISBN): Likewise.
71672         (VERSION, UPDATED): Remove.
71673         (version.texi): Include.
71675 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71677         * sysdeps/posix/spawni.c: Include <signal.h>.
71678         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71679         * sysdeps/pthread/aio_fsync.c: Likewise.
71681 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71683         * conform/Makefile (tests): Run only when not cross-compiling and
71684         when fast-check is not defined.
71686         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71687         * conform/data/limits.h-data: Fixes for POSIX2008.
71688         * conform/run-conformtest.sh: Run all tests.
71689         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71690         headers.
71691         * include/bits/dlfcn.h: Likewise.
71692         * include/langinfo.h: Likewise.
71693         * include/monetary.h: Likewise.
71694         * include/sys/poll.h: Likewise.
71696         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71697         for __USE_GNU.
71698         * posix/spawn.h: Define __need_sigset_t.
71699         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71700         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71701         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71702         to get sigevent_t only.
71703         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71704         only for __USE_GNU.
71705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71706         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71707         process_vm_writev only for __USE_GNU.
71708         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71710         * conform/Makefile: For now ignore errors from run-conformtest.
71711         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71712         POSIX to avoid namespace pollution.  Don't prepend headers.
71713         * conform/data/aio.h-data: Fixes for POSIX testing.
71714         * conform/data/fcntl.h-data: Likewise.
71715         * conform/data/glob.h-data: Likewise.
71716         * conform/data/grp.h-data: Likewise.
71717         * conform/data/pthread.h-data: Likewise.
71718         * conform/data/pwd.h-data: Likewise.
71719         * conform/data/signal.h-data: Likewise.
71720         * conform/data/spawn.h-data: Likewise.
71721         * conform/data/stdio.h-data: Likewise.
71722         * conform/data/stdlib.h-data: Likewise.
71723         * conform/data/stropts.h-data: Likewise.
71724         * conform/data/sys/mman.h-data: Likewise.
71725         * conform/data/sys/stat.h-data: Likewise.
71726         * conform/data/sys/types.h-data: Likewise.
71727         * conform/data/sys/wait.h-data: Likewise.
71728         * conform/data/time.h-data: Likewise.
71729         * conform/data/unistd.h-data: Likewise.
71730         * conform/data/utime.h-data: Likewise.
71732         * io/sys/stat.h: fchmod was always in POSIX.
71733         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71734         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71735         * rt/aio.h: Define __need_timespec before including <time.h>.
71736         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71737         struct.  Add forward declaration of pthread_attr_t and use it in
71738         sigevent.
71739         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71741         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71742         always remove CLK_TCK definition.
71744 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71746         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71748 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71750         * conform/run-conformtest.sh: New file.
71751         * conform/Makefile: Run run-conformtest for tests.
71752         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71753         support.
71755         * conform/data/uchar.h-data: New file.
71756         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71757         * conform/data/arpa/inet.h-data: Likewise.
71758         * conform/data/assert.h-data: Likewise.
71759         * conform/data/complex.h-data: Likewise.
71760         * conform/data/cpio.h-data: Likewise.
71761         * conform/data/ctype.h-data: Likewise.
71762         * conform/data/dirent.h-data: Likewise.
71763         * conform/data/dlfcn.h-data: Likewise.
71764         * conform/data/errno.h-data: Likewise.
71765         * conform/data/fcntl.h-data: Likewise.
71766         * conform/data/float.h-data: Likewise.
71767         * conform/data/fmtmsg.h-data: Likewise.
71768         * conform/data/fnmatch.h-data: Likewise.
71769         * conform/data/ftw.h-data: Likewise.
71770         * conform/data/glob.h-data: Likewise.
71771         * conform/data/grp.h-data: Likewise.
71772         * conform/data/iconv.h-data: Likewise.
71773         * conform/data/inttypes.h-data: Likewise.
71774         * conform/data/langinfo.h-data: Likewise.
71775         * conform/data/libgen.h-data: Likewise.
71776         * conform/data/limits.h-data: Likewise.
71777         * conform/data/locale.h-data: Likewise.
71778         * conform/data/math.h-data: Likewise.
71779         * conform/data/monetary.h-data: Likewise.
71780         * conform/data/mqueue.h-data: Likewise.
71781         * conform/data/ndbm.h-data: Likewise.
71782         * conform/data/net/if.h-data: Likewise.
71783         * conform/data/netdb.h-data: Likewise.
71784         * conform/data/netinet/in.h-data: Likewise.
71785         * conform/data/nl_types.h-data: Likewise.
71786         * conform/data/poll.h-data: Likewise.
71787         * conform/data/pthread.h-data: Likewise.
71788         * conform/data/pwd.h-data: Likewise.
71789         * conform/data/regex.h-data: Likewise.
71790         * conform/data/sched.h-data: Likewise.
71791         * conform/data/search.h-data: Likewise.
71792         * conform/data/semaphore.h-data: Likewise.
71793         * conform/data/setjmp.h-data: Likewise.
71794         * conform/data/signal.h-data: Likewise.
71795         * conform/data/spawn.h-data: Likewise.
71796         * conform/data/stdarg.h-data: Likewise.
71797         * conform/data/stdio.h-data: Likewise.
71798         * conform/data/stdlib.h-data: Likewise.
71799         * conform/data/string.h-data: Likewise.
71800         * conform/data/strings.h-data: Likewise.
71801         * conform/data/stropts.h-data: Likewise.
71802         * conform/data/sys/ipc.h-data: Likewise.
71803         * conform/data/sys/mman.h-data: Likewise.
71804         * conform/data/sys/msg.h-data: Likewise.
71805         * conform/data/sys/resource.h-data: Likewise.
71806         * conform/data/sys/select.h-data: Likewise.
71807         * conform/data/sys/sem.h-data: Likewise.
71808         * conform/data/sys/shm.h-data: Likewise.
71809         * conform/data/sys/socket.h-data: Likewise.
71810         * conform/data/sys/stat.h-data: Likewise.
71811         * conform/data/sys/statvfs.h-data: Likewise.
71812         * conform/data/sys/time.h-data: Likewise.
71813         * conform/data/sys/timeb.h-data: Likewise.
71814         * conform/data/sys/times.h-data: Likewise.
71815         * conform/data/sys/types.h-data: Likewise.
71816         * conform/data/sys/uio.h-data: Likewise.
71817         * conform/data/sys/un.h-data: Likewise.
71818         * conform/data/sys/utsname.h-data: Likewise.
71819         * conform/data/sys/wait.h-data: Likewise.
71820         * conform/data/syslog.h-data: Likewise.
71821         * conform/data/tar.h-data: Likewise.
71822         * conform/data/termios.h-data: Likewise.
71823         * conform/data/utime.h-data: Likewise.
71824         * conform/data/utmpx.h-data: Likewise.
71825         * conform/data/varargs.h-data: Likewise.
71826         * conform/data/wchar.h-data: Likewise.
71827         * conform/data/wctype.h-data: Likewise.
71828         * conform/data/wordexp.h-data: Likewise.
71830         * include/stropts.h: New file.
71831         * include/uchar.h: New file.
71832         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71833         * include/assert.h: Likewise.
71834         * include/ctype.h: Likewise.
71835         * include/dirent.h: Likewise.
71836         * include/dlfcn.h: Likewise.
71837         * include/fcntl.h: Likewise.
71838         * include/fnmatch.h: Likewise.
71839         * include/glob.h: Likewise.
71840         * include/grp.h: Likewise.
71841         * include/libio.h: Likewise.
71842         * include/locale.h: Likewise.
71843         * include/math.h: Likewise.
71844         * include/net/if.h: Likewise.
71845         * include/netdb.h: Likewise.
71846         * include/netinet/in.h: Likewise.
71847         * include/pthread.h: Likewise.
71848         * include/pwd.h: Likewise.
71849         * include/regex.h: Likewise.
71850         * include/sched.h: Likewise.
71851         * include/search.h: Likewise.
71852         * include/setjmp.h: Likewise.
71853         * include/signal.h: Likewise.
71854         * include/stdio.h: Likewise.
71855         * include/stdlib.h: Likewise.
71856         * include/string.h: Likewise.
71857         * include/sys/cdefs.h: Likewise.
71858         * include/sys/mman.h: Likewise.
71859         * include/sys/msg.h: Likewise.
71860         * include/sys/resource.h: Likewise.
71861         * include/sys/select.h: Likewise.
71862         * include/sys/socket.h: Likewise.
71863         * include/sys/stat.h: Likewise.
71864         * include/sys/statvfs.h: Likewise.
71865         * include/sys/time.h: Likewise.
71866         * include/sys/times.h: Likewise.
71867         * include/sys/uio.h: Likewise.
71868         * include/sys/utsname.h: Likewise.
71869         * include/sys/wait.h: Likewise.
71870         * include/termios.h: Likewise.
71871         * include/time.h: Likewise.
71872         * include/ulimit.h: Likewise.
71873         * include/unistd.h: Likewise.
71874         * include/utime.h: Likewise.
71875         * include/wchar.h: Likewise.
71876         * include/wctype.h: Likewise.
71877         * include/wordexp.h: Likewise.
71879         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71881         * time/time.h: TIME_UTC must be a macro.
71882         Make timespec_get available for ISO C11 only as well.
71884 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71886         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71887         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71891         * configure.in: Use -o not -a in test for unsupported multi-arch.
71893 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71895         * manual/texinfo.tex: Update to version 2012-01-19.16.
71897 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71899         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71901 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71903         [BZ #13738]
71904         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71905         * manual/fdl-1.3.texi: New file.
71906         * manual/fdl-1.1.texi: File removed.
71908         [BZ #13738]
71909         * manual/libc.texinfo (FDL_VERSION): New @set.
71910         Use it for mention of FDL in cover text.
71911         (Documentation License): Use it in @include file name.
71913 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71914             Roland McGrath  <roland@hack.frob.com>
71916         [BZ #5461]
71917         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71918         (not LONG_LONG_MAX and LONG_LONG_MIN.
71919         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71920         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71921         name.
71922         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71926         [BZ #2547]
71927         [BZ #11365]
71928         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71929         manipulate bits before adding and subtracting TWO23[sx].
71930         * math/libm-test.inc (nearbyint_test): Add more tests.
71932 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71934         [BZ #2548]
71935         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71936         bits before adding and subtracting TWO23[sx].
71937         * math/libm-test.inc (rint_test): Add more tests.
71938         (rint_test_tonearest): Likewise.
71939         (rint_test_towardzero): Likewise.
71940         (rint_test_downward): Likewise.
71941         (rint_test_upward: Likewise.
71943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71945         [BZ #10110]
71946         * include/stdc-predef.h: New file.  Extracted from features.h.
71947         * include/features.h: Include stdc-predef.h.
71948         * Makefile (headers): Add stdc-predef.h.
71949         * CONFORMANCE (Compiler limitations): Update.
71951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71953         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71955 2012-02-21  David S. Miller  <davem@davemloft.net>
71957         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71958         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71960 2012-02-20  David S. Miller  <davem@davemloft.net>
71962         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71963         using a normal save/restore sequence, rather than allocating a
71964         dummy stack frame just to store a frame pointer and restore.
71965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71967 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71969         * manual/install.texi: Fix stray word in line-wrapped comment.
71971 2012-02-20  David S. Miller  <davem@davemloft.net>
71973         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71974         both binutils and gcc support GOTDATA.
71976         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71977         "rd %pc" in the PIC register setup sequences.
71979         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71980         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71981         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71982         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71983         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71985         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71988         (SYSCALL_ERROR_HANDLER): Likewise.
71989         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71990         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71992         (SYSCALL_ERROR_HANDLER): Likewise.
71994         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71995         (HAVE_GCC_GOTDATA): New.
71996         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71997         relocation support in both binutils and gcc.
71998         * sysdeps/sparc/elf/configure: Regenerate.
72000         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72001         * sysdeps/sparc/sparc32/elf/configure: Delete.
72002         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72003         * sysdeps/sparc/sparc64/elf/configure: Delete.
72004         * sysdeps/sparc/elf/configure.in: New file.
72005         * sysdeps/sparc/elf/configure: Generate.
72007         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72008         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72009         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72010         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72011         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72013 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72015         * manual/install.texi: Do not mention specific glibc version
72016         numbers.
72017         * manual/libc.texinfo (VERSION, UPDATED): Update.
72018         (@copying): Use @copyright{} and range of years.
72020 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72022         [BZ #13695]
72023         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72024         [crti.S not in sysdirs] (generated): Do not append.
72025         [crti.S not in sysdirs] (omit-deps): Likewise.
72026         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72027         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72028         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72029         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72030         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72031         Likewise.
72032         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72033         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72034         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72035         * csu/defs.awk: Remove file.
72036         * sysdeps/generic/initfini.c: Likewise.
72037         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72038         variable.
72039         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72040         Likewise.
72042 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72044         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72045         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72046         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72047         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72048         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72049         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72050         <bits/epoll.h>.
72051         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72052         (__EPOLL_PACKED): Define to empty if not defined by
72053         <bits/epoll.h>.
72054         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72056         bits/epoll.h.
72058 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72060         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72061         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72062         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72063         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72064         <bits/timerfd.h>.
72065         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72067         bits/timerfd.h.
72069 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72071         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72072         in C locale.
72073         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72074         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72078 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72080         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72081         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72083 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72085         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72086         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72087         defined.
72088         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72089         Likewise.
72090         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72091         entry for 2.16.
72093 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72095         * math/w_acos.c: Use non-signaling floating-point comparisons.
72096         * math/w_acosf.c: Likewise.
72097         * math/w_acosh.c: Likewise.
72098         * math/w_acoshf.c: Likewise.
72099         * math/w_acoshl.c: Likewise.
72100         * math/w_acosl.c: Likewise.
72101         * math/w_asin.c: Likewise.
72102         * math/w_asinf.c: Likewise.
72103         * math/w_asinl.c: Likewise.
72104         * math/w_atanh.c: Likewise.
72105         * math/w_atanhf.c: Likewise.
72106         * math/w_atanhl.c: Likewise.
72107         * math/w_exp2.c: Likewise.
72108         * math/w_exp2f.c: Likewise.
72109         * math/w_exp2l.c: Likewise.
72110         * math/w_j0.c: Likewise.
72111         * math/w_j0f.c: Likewise.
72112         * math/w_j0l.c: Likewise.
72113         * math/w_j1.c: Likewise.
72114         * math/w_j1f.c: Likewise.
72115         * math/w_j1l.c: Likewise.
72116         * math/w_jn.c: Likewise.
72117         * math/w_jnf.c: Likewise.
72118         * math/w_log.c: Likewise.
72119         * math/w_log10.c: Likewise.
72120         * math/w_log10f.c: Likewise.
72121         * math/w_log10l.c: Likewise.
72122         * math/w_log2.c: Likewise.
72123         * math/w_log2f.c: Likewise.
72124         * math/w_log2l.c: Likewise.
72125         * math/w_logf.c: Likewise.
72126         * math/w_logl.c: Likewise.
72127         * math/w_sqrt.c: Likewise.
72128         * math/w_sqrtf.c: Likewise.
72129         * math/w_sqrtl.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72132         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72133         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72134         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72136 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72138         [BZ #9739]
72139         * manual/string.texi (strnlen): Use correct parameter name in
72140         equivalent expression.
72142 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72144         [BZ #11174]
72145         * manual/users.texi (seteuid): Consistently use neweuid for
72146         argument name.
72148 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72150         [BZ #13704]
72151         * manual/nss.texi (Services in the NSS configuration): Correct
72152         list of services in example configuration file.
72154 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72156         [BZ #11322]
72157         * manual/arith.texi: Remove statements about negative zero
72158         behaving identically to zero.
72160 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72162         [BZ #5993]
72163         * manual/install.texi: Do not document upgrading from libc5.
72165 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72167         [BZ #4596]
72168         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72170 2012-02-18  David S. Miller  <davem@davemloft.net>
72172         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72173         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72174         %o7 across the call.
72175         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72176         instead.
72177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72178         SETUP_PIC_REG_LEAF.
72179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72180         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72181         * sysdeps/sparc/crtn.S: Likewise.
72183 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72185         * aout/Makefile: Remove.
72187 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72189         [BZ #13058]
72190         * manual/examples/argp-ex1.c (main): Format definition in GNU
72191         style.
72192         * manual/examples/argp-ex2.c (main): Likewise.
72193         * manual/examples/argp-ex3.c (main): Likewise.
72194         * manual/examples/argp-ex4.c (main): Likewise.
72195         * manual/examples/longopt.c (main): Use new-style prototype
72196         definition.
72197         * manual/examples/strncat.c (main): Specify return type and use
72198         (void) for arguments.
72199         * manual/examples/subopt.c (main): Use char **argv argument.
72201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72203         [BZ #5077]
72204         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72205         rounding modes.
72207 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72209         [BZ #6907]
72210         * manual/string.texi (strchr): Change when strchrnul is
72211         recommended.
72213 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72215         [BZ #174]
72216         * manual/locale.texi (setlocale): Document LOCPATH.
72218 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72220         [BZ #10210]
72221         * manual/process.texi (execle): Move @dots{} before last argument.
72223 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72225         [BZ #12047]
72226         * manual/charset.texi (Generic Charset Conversion): Fix typo
72227         (LC_TYPE -> LC_CTYPE).
72229 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72231         [BZ #5805]
72232         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72233         (scalbnf): Likewise.
72234         (scalbnl): Likewise.
72235         (scalbln): Likewise.
72236         (scalblnf): Likewise.
72237         (scalblnl): Likewise.
72238         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72239         (vwarnx): Likewise.
72240         (verr): Likewise.
72241         (verrx): Likewise.
72242         * manual/filesys.texi (telldir): Use braces around return type.
72243         * manual/llio.texi (mmap): Add space after comma.
72244         (mmap64): Likewise.
72245         * manual/math.texi (jn): Use @var{} on parameter names.
72246         (jnf): Likewise.
72247         (jnl): Likewise.
72248         (yn): Likewise.
72249         (ynf): Likewise.
72250         (ynl): Likewise.
72251         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72252         line.
72253         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72254         "...".
72255         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72256         (sched_get_priority_max): Likewise.
72257         * manual/signal.texi (sigvec): Add space after comma.
72258         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72259         names.
72260         (if_indextoname): Likewise.
72261         (if_freenameindex): Likewise.
72262         (sendto): Use ',' instead of '.' in prototype.
72263         * manual/startup.texi (syscall): Use @dots{} instead of literal
72264         "...".
72265         * manual/stdio.texi (__fpending): Separate initial words of
72266         paragraph from @deftypefun line.
72267         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72268         "...".
72269         (vsyslog): Use @var{} on parameter names.
72270         * manual/terminal.texi (stty): Use @var{} on parameter names.
72271         * manual/users.texi (getutmp): Use @var{} on parameter names.
72272         (getutmpx): Likewise.
72274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72276         [BZ #6884]
72277         * manual/stdio.texi (fopen): Fix typos in description of
72278         ",ccs=STRING".
72280 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72282         [BZ #4026]
72283         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72284         get clock_id definition.
72286 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72288         [BZ #4822]
72289         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72290         (madvise): Cast every argument to void on its own.
72292 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72294         [BZ #9902]
72295         * manual/startup.texi (Exit Status): Fix typo.
72297 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72299         [BZ #10140]
72300         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72301         * manual/examples/argp-ex2.c: Likewise.
72302         * manual/examples/argp-ex3.c: Likewise.
72304 2012-02-16  Richard Henderson  <rth@redhat.com>
72306         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72307         * sysdeps/s390/s390-32/initfini.c: Remove.
72308         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72309         * sysdeps/s390/s390-64/initfini.c: Remove.
72311 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72313         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72314         compiler output for sysdeps/generic/initfini.c.
72315         * sysdeps/sh/elf/initfini.c: Remove file.
72317 2012-02-16  David S. Miller  <davem@davemloft.net>
72319         [BZ #11494]
72320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72322         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72323         * sysdeps/sparc/crti.S: New file.
72324         * sysdeps/sparc/crtn.S: New file.
72325         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72326         * sysdeps/sparc/sparc64/Makefile: Likewise.
72328 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72330         [BZ #3335]
72331         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72333 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72335         [BZ #4822]
72336         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72338         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72339         (write, read, close): Likewise.
72340         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72342 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72344         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72345         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72346         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72347         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72348         <bits/signalfd.h>.
72349         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72351         bits/signalfd.h.
72353 2012-02-14  Marek Polacek  <polacek@redhat.com>
72355         * sysdeps/x86_64/crti.S: New file.
72356         * sysdeps/x86_64/crtn.S: New file.
72357         * sysdeps/x86_64/elf/initfini.c: Remove file.
72359 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72361         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72362         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72363         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72364         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72365         <bits/inotify.h>.
72366         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72368         bits/inotify.h.
72370 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72372         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72373         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72374         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72375         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72376         <bits/eventfd.h>.
72377         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72379         bits/eventfd.h.
72381 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72383         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72384         __feraiseexcept instead of feraiseexcept.
72386         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72387         nanosleep invocations.
72388         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72389         strings, and add error checking for a nanosleep invocations.
72391 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72393         Replace FSF snail mail address with URLs, as per GNU coding standards.
72394         Most of the snail mail addresses were wrong anyway, and omitting
72395         them makes the source code easier to maintain.  Almost all of the
72396         changes are to license notices and to locale LC_IDENTIFICATION
72397         addresses, except for this one:
72398         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72399         not its snail mail address.
72401 2012-02-09  Richard Henderson  <rth@twiddle.net>
72403         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72404         of kernel-features.h.
72406         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72408 2012-02-08  Marek Polacek  <polacek@redhat.com>
72410         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72411         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72412         * sysdeps/gnu/_G_config.h: Likewise.
72413         * sysdeps/generic/_G_config.h: Likewise.
72415 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72417         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72418         tests.
72419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72421         * sysdeps/powerpc/powerpc32/crti.S: New file.
72422         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72423         * sysdeps/powerpc/powerpc64/crti.S: New file.
72424         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72426         * Makeconfig (have-initfini): Don't set.
72427         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72428         * configure.in (nopic_initfini): Don't substitute.
72429         * config.h.in (HAVE_INITFINI): Don't #undef.
72430         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72431         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72433 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72435         Support crti.S and crtn.S provided directly by architectures.
72436         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72437         [crti.S in sysdirs] (omit-deps): Likewise.
72438         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72439         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72440         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72441         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72442         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72443         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72444         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72445         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72446         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72447         compiler output for sysdeps/generic/initfini.c.
72448         * sysdeps/i386/elf/Makefile: Remove file.
72449         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72451 2012-02-07  Marek Polacek  <polacek@redhat.com>
72453         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72454         * sysdeps/gnu/_G_config.h: Likewise.
72455         * sysdeps/mach/hurd/_G_config.h: Likewise.
72457 2012-02-07  Marek Polacek  <polacek@redhat.com>
72459         * math/Makefile (tests): Add tst-CMPLX2.
72460         * math/tst-CMPLX2.c: New file.
72462 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72464         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72466         * math/libm-test.inc (jn_test): Add missing L suffix.
72468 2012-02-06  Marek Polacek  <polacek@redhat.com>
72470         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72471         * sysdeps/i386/fpu/e_powf.S: Likewise.
72472         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72473         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72474         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72475         * sysdeps/i386/fpu/e_pow.S: Likewise.
72476         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72477         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72478         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72479         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72480         * sysdeps/i386/fpu/e_log2.S: Likewise.
72481         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72482         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72483         * sysdeps/i386/fpu/e_powl.S: Likewise.
72484         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72485         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72486         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72487         * sysdeps/i386/fpu/e_logl.S: Likewise.
72488         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72489         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72490         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72491         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72492         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72493         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72494         * sysdeps/i386/fpu/e_log.S: Likewise.
72495         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72496         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72497         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72498         * sysdeps/i386/fpu/e_logf.S: Likewise.
72499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72500         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72501         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72502         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72503         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72504         * sysdeps/i386/fpu/e_log10.S: Likewise.
72505         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72506         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72507         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72508         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72509         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72510         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72511         * sysdeps/i386/asm-syntax.h: Likewise.
72512         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72513         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72514         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72515         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72516         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72517         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72518         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72519         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72520         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72521         * sysdeps/powerpc/sysdep.h: Likewise.
72522         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72525 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72527         [BZ #411]
72528         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72530 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72532         * sysdeps/i386/sysdep.h: Include <features.h>.
72533         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72534         version.
72536 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72538         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72539         Define.
72540         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72541         LOAD_PIC_REG_STR.
72543 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72545         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72546         (SETUP_PIC_REG): Use GET_PC_THUNK.
72547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72548         macro.
72550 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72552         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72553         for non-PIC compilation.
72554         (SETUP_PIC_REG): Add .p2align directive.
72555         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72556         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72557         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72558         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72559         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72560         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72561         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72562         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72563         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72564         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72565         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72566         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72567         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72568         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72569         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72570         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72571         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72572         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72573         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72574         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72576         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72577         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72578         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72579         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72581         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72582         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72583         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72584         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72585         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72586         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72587         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72588         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72589         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72590         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72591         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72592         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72593         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72594         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72595         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72597 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72599         * math/tst-CMPLX.c: Include <stdio.h>.
72601 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72603         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72604         float.
72605         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72606         * sysdeps/sparc/bits/mathdef.h: Likewise.
72608 2012-01-31  Marek Polacek  <polacek@redhat.com>
72610         * libio/libio.h: Don't define _PARAMS.
72611         * locale/programs/config.h: Don't define PARAMS.
72612         * stdlib/strtol_l.c: Likewise.
72613         (__strtol_l): Remove PARAMS from the prototype.
72615 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72617         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72618         names.  Just use the correct names.  Remove unnecessary wrapper
72619         functions.
72620         * malloc/arena.c: Likewise.
72621         * malloc/hooks.c: Likewise.
72623         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72624         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72625         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72627 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72629         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72630         into tail calls.
72631         (update_get_addr): New function.
72632         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72633         GET_ADDR_MODULE parameter.
72635 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72637         * crypt/cert.c: Remove __STDC__ conditionals.
72638         * crypt/crypt-entry.c: Likewise.
72639         * crypt/crypt_util.c: Likewise.
72640         * libio/filedoalloc.c: Likewise.
72641         * libio/fileops.c: Likewise.
72642         * libio/genops.c: Likewise.
72643         * libio/iofclose.c: Likewise.
72644         * libio/iofdopen.c: Likewise.
72645         * libio/iofopen.c: Likewise.
72646         * libio/iofopen64.c: Likewise.
72647         * libio/iogetdelim.c: Likewise.
72648         * libio/iopopen.c: Likewise.
72649         * libio/obprintf.c: Likewise.
72650         * libio/oldfileops.c: Likewise.
72651         * libio/oldiofclose.c: Likewise.
72652         * libio/oldiofdopen.c: Likewise.
72653         * libio/oldiofopen.c: Likewise.
72654         * libio/oldiopopen.c: Likewise.
72655         * libio/wfiledoalloc.c: Likewise.
72656         * libio/wgenops.c: Likewise.
72657         * locale/programs/xmalloc.c: Likewise.
72658         * misc/syslog.c: Likewise.
72659         * stdio-common/xbug.c: Likewise.
72660         * string/memchr.c: Likewise.
72661         * string/memcmp.c: Likewise.
72662         * string/memrchr.c: Likewise.
72663         * string/rawmemchr.c: Likewise.
72664         * sysdeps/posix/getcwd.c: Likewise.
72665         * time/strftime_l.c: Likewise.
72667 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72669         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72670         * config.make.in (config-cflags-sse2avx): Define.
72671         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72672         Fix typo.
72674 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72676         * scripts/config.guess: Update from upstream config git repository.
72677         * scripts/config.sub: Likewise.
72679 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72681         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72682         (EM_NUM): Update.
72683         (R_TILEPRO_*, R_TILEGX_*): New macros.
72685         * scripts/firstversions.awk: Fix bug in version range handling.
72687         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72689         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72691         * include/sys/epoll.h: New file.
72692         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72693         libc_hidden_def.
72695 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72697         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72698         Avoid unnecessary __WORDSIZE == 64 test.
72699         (fmaxf): Use VEX format if possible.
72700         (fmax): Likewise.
72701         (fminf): Likewise.
72702         (fmin): Likewise.
72704         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72705         * math/math_private.h: Remove libc_fegetround* and
72706         libc_fesetround*.
72707         * sysdeps/i386/configure.in: Check for -msse2avx.
72708         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72709         also if SSE2AVX is defined.
72710         Remove libc_fegetround* and libc_fesetround*.
72711         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72712         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72714         of HAS_YMM_USABLE.
72715         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72716         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72718         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72719         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72721         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72723 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72725         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72726         size is not set.
72727         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72729 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72731         [BZ #13618]
72732         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72733         relocation.
72734         * Makeconfig (libm): Define.
72735         * elf/Makefile: Add rules to build and run tst-relsort1.
72736         * elf/tst-relsort1.c: New file.
72737         * elf/tst-relsort1mod1.c: New file.
72738         * elf/tst-relsort1mod2.c: New file.
72740 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72742         * math/s_ldexp.c: Remove __STDC__ conditionals.
72743         * math/s_ldexpf.c: Likewise.
72744         * math/s_ldexpl.c: Likewise.
72745         * math/s_nextafter.c: Likewise.
72746         * math/s_nexttowardf.c: Likewise.
72747         * math/s_significand.c: Likewise.
72748         * math/s_significandf.c: Likewise.
72749         * math/s_significandl.c: Likewise.
72750         * math/w_jnl.c: Likewise.
72751         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72752         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72753         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72754         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72755         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72757         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72758         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72759         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72760         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72761         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72762         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72763         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72764         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72765         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72766         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72767         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72768         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72770         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72771         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72772         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72773         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72774         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72775         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72776         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72777         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72778         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72779         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72780         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72781         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72782         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72783         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72784         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72785         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72786         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72787         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72788         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72789         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72790         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72791         * sysdeps/ieee754/k_standard.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72796         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72800         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72801         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72804         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72805         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72811         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72812         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72815         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72816         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72817         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72822         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72824         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72827         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72828         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72830         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72831         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72834         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72835         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72836         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72838         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72841         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72842         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72843         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72844         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72845         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72846         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72847         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72848         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72849         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72850         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72852         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72853         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72854         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72855         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72856         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72857         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72858         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72859         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72860         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72861         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72862         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72863         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72864         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72865         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72866         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72867         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72868         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72869         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72870         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72871         * sysdeps/ieee754/s_matherr.c: Likewise.
72872         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72873         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72875         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72877 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72879         * crypt/md5.h: Remove __STDC__ conditionals.
72880         * libio/libioP.h: Likewise.
72881         * locale/programs/config.h: Likewise.
72882         * sysdeps/generic/sysdep.h: Likewise.
72883         * sysdeps/i386/asm-syntax.h: Likewise.
72884         * sysdeps/s390/asm-syntax.h: Likewise.
72885         * sysdeps/unix/sysdep.h: Likewise.
72886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72889 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72891         * libio/libio.h: Remove __STDC__ conditionals.
72892         * malloc/obstack.h: Likewise.
72893         * math/complex.h: Likewise.
72894         * math/math.h: Likewise.
72895         * sysdeps/generic/_G_config.h: Likewise.
72896         * sysdeps/gnu/_G_config.h: Likewise.
72897         * sysdeps/mach/hurd/_G_config.h: Likewise.
72898         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72900         * sysdeps/sparc/bits/mathdef.h: Likewise.
72902 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72904         [BZ #13583]
72905         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72906         Clean up HAS_* macros.
72907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72908         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72909         possible.
72910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72911         HAS_AVX.
72912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72913         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72918 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72920         * elf/tst-unique3.cc (gets): Remove declaration.
72921         * elf/tst-unique3lib.cc (gets): Likewise.
72922         * elf/tst-unique3lib2.cc (gets): Likewise.
72923         * elf/tst-unique4.cc (gets): Likewise.
72925 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72927         * include/stdio.h: Add C++ protection.  Add gets declarations and
72928         definitions.
72929         * debug/tst-chk1.c: Don't declare gets here.
72930         * stdio-common/tst-gets.c: Likewise.
72932 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72934         * posix/glob: Remove directory.
72936 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72938         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72940 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72942         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72943         of the non-standard EPFNOSUPPORT.
72945 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72947         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72948         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72949         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72951 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72953         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72955 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72957         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72958         transient errors.
72959         * nscd/grpcache.c (cache_addgr): Likewise.
72960         * nscd/hstcache.c (cache_addhst): Likewise.
72961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72962         * nscd/pwdcache.c (cache_addpw): Likewise.
72963         * nscd/servicescache.c (cache_addserv): Likewise.
72965 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72967         * malloc/malloc.c: Various cleanups.
72968         * malloc/hooks.c: Likewise.
72970         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72971         * stdlib/bug-fmtmsg1.c: New file.
72973         * stdlib/fmtmsg.c (init): Add missing unlock.
72974         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72976 2012-01-12  Marek Polacek  <polacek@redhat.com>
72978         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72979         and _GNU_SOURCE.
72981 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72983         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72984         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72985         macro to ensure uniqueness of label name.
72986         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72987         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72989 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72991         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72993         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72994         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72995         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72998 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73002         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73003         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73004         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73006         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73008         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73009         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73010         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73013         * math/bits/math-finite.h: Add ldexp support.
73015 2012-01-10  Marek Polacek  <polacek@redhat.com>
73017         * locale/programs/localedef.h (show_archive_content): Add noreturn
73018         attribute.
73020 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73022         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73024 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73026         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73028         * io/Makefile (headers): Add bits/poll2.h.
73030 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73033         typo #include statement.
73035 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73037         * include/sys/cdefs.h: Define __attribute_alloc_size.
73038         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73039         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73040         * elf/pldd.c: Likewise.
73041         * iconv/iconv_charmap.c: Likewise.
73042         * iconv/iconvconfig.c: Likewise.
73043         * iconv/strtab.c: Likewise.
73044         * locale/programs/locale.c: Likewise.
73045         * locale/programs/localedef.h: Likewise.
73046         * locale/programs/simple-hash.c: Likewise.
73047         * nscd/nscd.h: Likewise.
73048         * nss/makedb.c: Likewise.
73049         * sysdeps/generic/ldconfig.h: Likewise.
73050         * locale/programs/localedef.c: Remove xmalloc prototype.
73051         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73053 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73055         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73056         appropriate.
73058 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73060         * math/Makefile (tests): Add tst-CMPLX.
73061         * math/tst-CMPLX.c: New file.
73063         * math/complex.h (CMPLXL): Fix typo.
73065         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73066         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73067         GLIBC_2.16.
73068         * debug/tst-chk1.c: Add poll and ppoll tests.
73069         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73070         * include/sys/poll.h: Add hidden proto for ppoll.
73071         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73072         * sysdeps/mach/hurd/ppoll.c: Likewise.
73073         * io/ppoll.c: Likewise.
73074         * debug/poll_chk.c: New file.
73075         * debug/ppoll_chk.c: New file.
73076         * include/bits/poll2.h: New file.
73077         * io/bits/poll2.h: New file.
73079         [BZ #1350]
73080         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73082         * configure.in: static is always set to yes.  Remove.
73083         * config.make.in: Don't set build-static.
73084         * Makeconfig: Remove use of build-static.
73085         * dlfcn/Makefile: Likewise.
73086         * elf/Makefile: Likewise.
73087         * math/Makefile: Likewise.
73088         * misc/Makefile: Likewise.
73089         * nptl/Makefile: Likewise.
73090         * sysdeps/mach/hurd/Makefile: Likewise.
73092         * configure.in: PWD_P is not used anymore.
73093         * config.make.in: Remove PWD_P entry.
73095         * configure.in: Remove last remnants of RANLIB.
73096         No need to check for signed size_t anymore.
73097         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73098         and IA-64.
73099         Remove __builtin_expect test because we require at least gcc 3.4.
73100         * aclocal.m4: Likewise.
73102         * wcsmbs/mbrtoc16.c: Implement using towc function.
73103         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73104         * wcsmbs/wcsmbsload.c: Likewise.
73105         * iconv/gconv_simple.c: Likewise.
73106         * iconv/gconv_int.h: Likewise.
73107         * iconv/gconv_builtin.h: Likewise.
73108         * iconv/iconv_prog.c: Remove CHAR16 handling.
73110         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73112         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73114         * configure.in: Remove --with-elf and --enable-bounded options.
73115         Dont set base_machine for ia64.  More non-ELF conditions removed.
73116         Remove testing and setting of leading underscore information.
73117         * config.make.in (build-bounded): Set to no.
73118         * config.h.in: Remove NO_UNDERSCORES entry.
73119         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73120         them.
73121         * csu/start.c: Remove !NO_UNDERSCORE code.
73122         * locale/localeinfo.h: Likewise.
73123         * sysdeps/generic/machine-gmon.h: Likewise.
73124         * sysdeps/generic/sysdep.h: Likewise.
73125         * sysdeps/i386/sysdep.h: Likewise.
73126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73127         * sysdeps/mach/sysdep.h: Likewise.
73128         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73129         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73130         * sysdeps/sh/sysdep.h: Likewise.
73131         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73132         * sysdeps/unix/i386/sysdep.S: Likewise.
73133         * sysdeps/unix/sparc/start.c: Likewise.
73134         * sysdeps/unix/sparc/sysdep.S: Likewise.
73135         * sysdeps/unix/sparc/sysdep.h: Likewise.
73136         * sysdeps/unix/start.c: Likewise.
73137         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73138         * sysdeps/x86_64/sysdep.h: Likewise.
73140 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73142         [BZ #13553]
73143         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73144         for non-gcc.
73145         * argp/argp-fmtstream.h: Use const instead __const.
73146         * argp/argp.h: Likewise.
73147         * assert/assert.h: Likewise.
73148         * bits/fenv.h: Likewise.
73149         * bits/sched.h: Likewise.
73150         * bits/sigset.h: Likewise.
73151         * bits/sigthread.h: Likewise.
73152         * catgets/nl_types.h: Likewise.
73153         * conform/data/pthread.h-data: Likewise.
73154         * crypt/crypt-private.h: Likewise.
73155         * crypt/crypt.h: Likewise.
73156         * crypt/crypt_util.c: Likewise.
73157         * ctype/ctype.h: Likewise.
73158         * debug/execinfo.h: Likewise.
73159         * debug/mbsnrtowcs_chk.c: Likewise.
73160         * debug/mbsrtowcs_chk.c: Likewise.
73161         * debug/wcsnrtombs_chk.c: Likewise.
73162         * debug/wcsrtombs_chk.c: Likewise.
73163         * debug/wcstombs_chk.c: Likewise.
73164         * dirent/dirent.h: Likewise.
73165         * dlfcn/dlfcn.h: Likewise.
73166         * elf/neededtest4.c: Likewise.
73167         * grp/grp.h: Likewise.
73168         * gshadow/gshadow.h: Likewise.
73169         * iconv/gconv.h: Likewise.
73170         * iconv/gconv_int.h: Likewise.
73171         * iconv/gconv_simple.c: Likewise.
73172         * iconv/iconv.h: Likewise.
73173         * iconv/loop.c: Likewise.
73174         * iconv/skeleton.c: Likewise.
73175         * include/aio.h: Likewise.
73176         * include/aliases.h: Likewise.
73177         * include/argz.h: Likewise.
73178         * include/arpa/inet.h: Likewise.
73179         * include/assert.h: Likewise.
73180         * include/dirent.h: Likewise.
73181         * include/dlfcn.h: Likewise.
73182         * include/execinfo.h: Likewise.
73183         * include/fcntl.h: Likewise.
73184         * include/fenv.h: Likewise.
73185         * include/glob.h: Likewise.
73186         * include/grp.h: Likewise.
73187         * include/libintl.h: Likewise.
73188         * include/mntent.h: Likewise.
73189         * include/netdb.h: Likewise.
73190         * include/pwd.h: Likewise.
73191         * include/rpc/netdb.h: Likewise.
73192         * include/sched.h: Likewise.
73193         * include/search.h: Likewise.
73194         * include/shadow.h: Likewise.
73195         * include/signal.h: Likewise.
73196         * include/stdio.h: Likewise.
73197         * include/stdlib.h: Likewise.
73198         * include/string.h: Likewise.
73199         * include/sys/socket.h: Likewise.
73200         * include/sys/stat.h: Likewise.
73201         * include/sys/statfs.h: Likewise.
73202         * include/sys/statvfs.h: Likewise.
73203         * include/sys/syslog.h: Likewise.
73204         * include/sys/time.h: Likewise.
73205         * include/sys/uio.h: Likewise.
73206         * include/time.h: Likewise.
73207         * include/unistd.h: Likewise.
73208         * include/utmp.h: Likewise.
73209         * include/wchar.h: Likewise.
73210         * include/wctype.h: Likewise.
73211         * inet/aliases.h: Likewise.
73212         * inet/arpa/inet.h: Likewise.
73213         * inet/netinet/ether.h: Likewise.
73214         * inet/netinet/in.h: Likewise.
73215         * intl/libintl.h: Likewise.
73216         * io/bits/fcntl2.h: Likewise.
73217         * io/fcntl.h: Likewise.
73218         * io/ftw.h: Likewise.
73219         * io/sys/poll.h: Likewise.
73220         * io/sys/stat.h: Likewise.
73221         * io/sys/statfs.h: Likewise.
73222         * io/sys/statvfs.h: Likewise.
73223         * io/utime.h: Likewise.
73224         * libio/bits/stdio.h: Likewise.
73225         * libio/bits/stdio2.h: Likewise.
73226         * libio/libio.h: Likewise.
73227         * libio/libioP.h: Likewise.
73228         * libio/stdio.h: Likewise.
73229         * locale/lc-ctype.c: Likewise.
73230         * locale/locale.h: Likewise.
73231         * login/utmp.h: Likewise.
73232         * malloc/arena.c: Likewise.
73233         * malloc/malloc.c: Likewise.
73234         * malloc/malloc.h: Likewise.
73235         * malloc/mcheck.c: Likewise.
73236         * malloc/mtrace.c: Likewise.
73237         * math/bits/mathcalls.h: Likewise.
73238         * math/fenv.h: Likewise.
73239         * math/math_private.h: Likewise.
73240         * misc/bits/error.h: Likewise.
73241         * misc/bits/syslog.h: Likewise.
73242         * misc/err.h: Likewise.
73243         * misc/error.h: Likewise.
73244         * misc/fstab.h: Likewise.
73245         * misc/mntent.h: Likewise.
73246         * misc/regexp.h: Likewise.
73247         * misc/search.h: Likewise.
73248         * misc/sgtty.h: Likewise.
73249         * misc/sys/mman.h: Likewise.
73250         * misc/sys/syslog.h: Likewise.
73251         * misc/sys/uio.h: Likewise.
73252         * misc/sys/xattr.h: Likewise.
73253         * misc/ttyent.h: Likewise.
73254         * nis/rpcsvc/ypclnt.h: Likewise.
73255         * nss/nss.h: Likewise.
73256         * posix/bits/unistd.h: Likewise.
73257         * posix/fnmatch.h: Likewise.
73258         * posix/glob.h: Likewise.
73259         * posix/sched.h: Likewise.
73260         * posix/spawn.h: Likewise.
73261         * posix/sys/wait.h: Likewise.
73262         * posix/unistd.h: Likewise.
73263         * posix/wordexp.h: Likewise.
73264         * pwd/pwd.h: Likewise.
73265         * resolv/netdb.h: Likewise.
73266         * resource/sys/resource.h: Likewise.
73267         * rt/aio.h: Likewise.
73268         * rt/bits/mqueue2.h: Likewise.
73269         * rt/mqueue.h: Likewise.
73270         * shadow/shadow.h: Likewise.
73271         * signal/signal.h: Likewise.
73272         * socket/send.c: Likewise.
73273         * socket/sendto.c: Likewise.
73274         * socket/sys/socket.h: Likewise.
73275         * stdio-common/printf.h: Likewise.
73276         * stdlib/bits/stdlib.h: Likewise.
73277         * stdlib/fmtmsg.h: Likewise.
73278         * stdlib/monetary.h: Likewise.
73279         * stdlib/stdlib.h: Likewise.
73280         * stdlib/ucontext.h: Likewise.
73281         * streams/stropts.h: Likewise.
73282         * string/argz.h: Likewise.
73283         * string/bits/string2.h: Likewise.
73284         * string/string.h: Likewise.
73285         * string/strings.h: Likewise.
73286         * sunrpc/rpc/auth.h: Likewise.
73287         * sunrpc/rpc/auth_des.h: Likewise.
73288         * sunrpc/rpc/clnt.h: Likewise.
73289         * sunrpc/rpc/netdb.h: Likewise.
73290         * sunrpc/rpc/pmap_clnt.h: Likewise.
73291         * sunrpc/rpc/xdr.h: Likewise.
73292         * sysdeps/generic/inttypes.h: Likewise.
73293         * sysdeps/generic/net/if.h: Likewise.
73294         * sysdeps/generic/sys/swap.h: Likewise.
73295         * sysdeps/gnu/net/if.h: Likewise.
73296         * sysdeps/gnu/utmpx.h: Likewise.
73297         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73298         * sysdeps/i386/i486/bits/string.h: Likewise.
73299         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73300         * sysdeps/s390/bits/string.h: Likewise.
73301         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73302         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73303         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73304         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73305         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73306         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73307         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73308         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73309         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73310         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73311         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73312         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73313         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73314         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73315         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73316         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73317         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73318         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73319         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73321         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73322         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73323         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73324         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73325         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73326         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73327         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73328         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73329         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73330         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73331         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73332         * sysvipc/sys/ipc.h: Likewise.
73333         * sysvipc/sys/msg.h: Likewise.
73334         * sysvipc/sys/sem.h: Likewise.
73335         * sysvipc/sys/shm.h: Likewise.
73336         * termios/termios.h: Likewise.
73337         * time/sys/time.h: Likewise.
73338         * time/time.h: Likewise.
73339         * wcsmbs/bits/wchar2.h: Likewise.
73340         * wcsmbs/uchar.h: Likewise.
73341         * wcsmbs/wchar.h: Likewise.
73342         * wctype/wctype.h: Likewise.
73344         [BZ #13551]
73345         * Makeconfig: Remove all but ELF support including AIX support.
73346         * Makerules: Likewise.
73347         * config.h.in: Likewise.
73348         * config.make.in: Likewise.
73349         * configure: Likewise.
73350         * configure.in: Likewise.
73351         * csu/Makefile: Likewise.
73352         * csu/version.c: Likewise.
73353         * debug/Makefile: Likewise.
73354         * dlfcn/Makefile: Likewise.
73355         * elf/Makefile: Likewise.
73356         * extra-lib.mk: Likewise.
73357         * iconv/Makefile: Likewise.
73358         * include/libc-symbols.h: Likewise.
73359         * include/shlib-compat.h: Likewise.
73360         * resolv/Makefile: Likewise.
73361         * resolv/res_libc.c: Likewise.
73362         * rt/Makefile: Likewise.
73363         * sysdeps/i386/asm-syntax.h: Likewise.
73364         * sysdeps/i386/sysdep.h: Likewise.
73365         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73366         * sysdeps/mach/sysdep.h: Likewise.
73367         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73368         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73369         * sysdeps/s390/asm-syntax.h: Likewise.
73370         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73371         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73372         * sysdeps/sh/sysdep.h: Likewise.
73373         * sysdeps/unix/sparc/sysdep.h: Likewise.
73374         * sysdeps/wordsize-32/divdi3.c: Likewise.
73375         * sysdeps/x86_64/sysdep.h: Likewise.
73377         * argp/Versions: Remove _argp_unlock_xxx.
73379         [BZ #13559]
73380         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73381         * abilist/libBrokenLocale.abilist: Likewise.
73382         * abilist/libanl.abilist: Likewise.
73383         * abilist/libc.abilist: Likewise.
73384         * abilist/libcrypt.abilist: Likewise.
73385         * abilist/libdl.abilist: Likewise.
73386         * abilist/libm.abilist: Likewise.
73387         * abilist/libnsl.abilist: Likewise.
73388         * abilist/libpthread.abilist: Likewise.
73389         * abilist/libresolv.abilist: Likewise.
73390         * abilist/librt.abilist: Likewise.
73391         * abilist/libthread_db.abilist: Likewise.
73392         * abilist/libutil.abilist: Likewise.
73393         * abilist/libnss_db.abilist: New file.
73395         * scripts/abilist.awk: Add support for indirect functions.
73397         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73399         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73401         * shlib-versions: Remove entries for ports architectures.
73403         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73404         files in ports.
73405         * elf/stackguard-macros.h: Remove support for IA-64.
73406         * elf/tst-auditmod1.c: Likewise.
73407         * sysdeps/generic/ldsodefs.h: Likewise.
73409         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73410         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73411         configure files.
73413         [BZ #13552]
73414         * configure.in: Remove --enable-omitfp support.
73415         * FAQ.in: Adjust.
73416         * config.make.in: Likewise.
73417         * Makeconfig: Likewise.
73418         * manual/install.texi: Likewise.
73420         In case anyone cares, the IA-64 architecture could move to ports.
73421         * sysdeps/ia64/*: Removed.
73422         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73423         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73425         [BZ #13555]
73426         * configure.in: Remove entries for unsupported architectures.
73428         [BZ #13533]
73429         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73430         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73431         routines.
73432         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73433         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73434         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73435         fall back to using wcrtomb.
73436         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73437         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73438         renaming.
73439         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73440         * wcsmbs/tst-c16c32-1.c: New file.
73442         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73443         local variable.
73445         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73447         * elf/tst-unique3.cc: Add explicit declaration of gets.
73448         * elf/tst-unique3lib.cc: Likewise.
73449         * elf/tst-unique3lib2.cc: Likewise.
73450         * elf/tst-unique4.cc: Likewise.
73452         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73454 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73456         [BZ #13566]
73457         * assert/assert.h (static_assert): Don't define for C++.
73458         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73459         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73461 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73463         * iconv/loop.c (single loop): Fix assertion in storing of
73464         remaining bytes.
73466         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73468 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73470         * posix/getconf.c: Update copyright year.
73471         * nss/getent.c: Likewise.
73472         * nss/makedb.c: Likewise.
73473         * iconv/iconvconfig.c: Likewise.
73474         * iconv/iconv_prog.c: Likewise.
73475         * elf/ldconfig.c: Likewise.
73476         * elf/pldd.c: Likewise.
73477         * elf/sotruss.ksh: Likewise.
73478         * catgets/gencat.c: Likewise.
73479         * csu/version.c: Likewise.
73480         * elf/ldd.bash.in: Likewise.
73481         * elf/sprof.c (print_version): Likewise.
73482         * locale/programs/locale.c: Likewise.
73483         * locale/programs/localedef.c: Likewise.
73484         * login/programs/pt_chown.c: Likewise.
73485         * nscd/nscd.c (print_version): Likewise.
73486         * debug/xtrace.sh: Likewise.
73487         * malloc/memusage.sh: Likewise.
73488         * malloc/mtrace.pl: Likewise.
73489         * debug/catchsegv.sh: Likewise.
73491 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73493         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73494         pure attribute.
73496 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73498         [BZ #13533]
73499         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73500         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73501         transformations.
73502         * iconv/gconv_int.h: Likewise.
73503         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73504         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73505         from libc for GLIBC_2.16.
73506         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73507         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73508         * wcsmbs/uchar.h: Really define mbstate_t.
73509         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73510         * wcsmbs/c16rtomb.c: New file.
73511         * wcsmbs/mbrtoc16.c: New file.
73512         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73513         for C/POSIX locale.
73514         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73515         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73517         * wcsmbs/wchar.h: Add missing __restrict.
73519 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73521         [BZ #13532]
73522         * time/Makefile (routines): Add timespec_get.
73523         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73524         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73525         timespec for ISO C11.
73526         * time/timespec_get.c: New file.
73527         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73528         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73530         [BZ #13531]
73531         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73532         * stdlib/stdlib.h: Declare aligned_alloc.
73533         * Versions.def: Add GLIBC_2.16 for libc.
73534         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73536         [BZ 13527]
73537         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73538         ISO C11.
73540         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73541         code.
73543         [BZ #13528]
73544         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73546         [BZ #13529]
73547         * assert/assert.h (static_assert): Define.
73549         * version.h: Update for 2.16 development version.
73551         [BZ #13526]
73552         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73553         _ISOC11_SOURCE.
73555         * version.h (RELEASE): Bump for 2.15 release.
73556         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73558         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73559         Patch by Marek Polacek <mpolacek@redhat.com>.
73561         * bits/byteswap.h: Protect long long constants with __extension__.
73562         * sysdeps/i386/bits/byteswap.h: Likewise.
73563         * sysdeps/ia64/bits/byteswap.h: Likewise.
73564         * sysdeps/s390/bits/byteswap.h: Likewise.
73565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73567 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73569         [BZ #13540]
73570         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73571         destination buffer.
73572         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73574 2011-12-23  Marek Polacek  <polacek@redhat.com>
73576         * elf/dl-addr.c (determine_info): Add inline keyword.
73577         * elf/tst-auditmod4b.c (check_avx): Likewise.
73578         * elf/tst-auditmod6b.c (check_avx): Likewise.
73579         * elf/tst-auditmod6c.c (check_avx): Likewise.
73580         * elf/tst-auditmod7b.c (check_avx): Likewise.
73582 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73584         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73585         !__SSE_MATH__.
73587 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73589         [BZ #13540]
73590         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73591         processing for last bytes.
73593 2011-08-06  Bruno Haible  <bruno@clisp.org>
73595         [BZ #13061]
73596         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73597         U+0385, not to U+1FEE.
73599         [BZ #13062]
73600         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73601         entry for U+00A5 U+0301.
73603 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73605         [BZ #13166]
73606         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73607         buffer for the output is too small.
73609         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73610         optimization.
73612         [BZ #13185]
73613         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73614         SSE flags if possible.
73616 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73618         [BZ #13540]
73619         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73620         processing for last bytes.
73622 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73624         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73625         (syscall-list-default-options, syscall-list-default-condition)
73626         (syscall-list-includes): Define.
73627         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73628         list of ABIs and options and #if conditions for each ABI.  Do not
73629         handle common syscalls between ABIs specially.
73630         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73631         Remove.
73632         (syscall-list-variants, syscall-list-32bit-options)
73633         (syscall-list-32bit-condition, syscall-list-64bit-options)
73634         (syscall-list-64bit-condition): Define.
73635         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73636         (syscall-list-variants, syscall-list-32bit-options)
73637         (syscall-list-32bit-condition, syscall-list-64bit-options)
73638         (syscall-list-64bit-condition): Define.
73639         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73640         Remove.
73641         (syscall-list-variants, syscall-list-32bit-options)
73642         (syscall-list-32bit-condition, syscall-list-64bit-options)
73643         (syscall-list-64bit-condition): Define.
73644         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73645         Remove.
73646         (syscall-list-variants, syscall-list-32bit-options)
73647         (syscall-list-32bit-condition, syscall-list-64bit-options)
73648         (syscall-list-64bit-condition): Define.
73650 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73652         * locale/iso-639.def: Add brx entry.
73654         [BZ #13328]
73655         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73656         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73658         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73659         __feraiseexcept_renamed.
73661 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73663         [BZ #13538]
73664         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73665         EPOLLET with unsigned values.
73666         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73667         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73669         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73670         to large cancellation.
73671         * math/s_cacoshf.c: Likewise.
73672         * math/s_cacoshl.c: Likewise.
73674 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73676         [BZ #13305]
73677         [BZ #12786]
73678         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73679         * math/s_cacoshf.c: Likewise.
73680         * math/s_cacoshl.c: Likewise.
73682 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73684         [BZ #13439]
73685         * iconv/gconv.h: Define __GCONV_SWAP.
73686         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73687         * iconvdata/utf-16.c: Likewise.
73688         * iconvdata/utf-32.c: Likewise.
73690 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73692         [BZ #13524]
73693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73694         numerator after shifting it by one limb.
73696 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73698         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73699         under [__USE_EXTERN_INLINES].
73701 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73703         [BZ #13446]
73704         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73706 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73708         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73709         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73710         optimized code.
73711         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73712         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73713         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73714         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73715         for strncasecmp/strncasecmp_l compilation.
73716         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73717         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73719 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73721         [BZ #13484]
73722         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73723         of __asm__.
73725 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73727         [BZ #13506]
73728         * time/tzfile.c (__tzfile_read): Check values from file header.
73730 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73732         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73733         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73734         * powerpc/powerpc32/dl-start.S: Likewise.
73735         * powerpc/powerpc32/elf/start.S: Likewise.
73736         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73737         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73738         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73739         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73740         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73741         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73742         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73743         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73744         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73745         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73746         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73747         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73748         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73749         * powerpc/powerpc32/memset.S: Likewise.
73750         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73751         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73752         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73753         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73754         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73755         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73756         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73757         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73758         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73759         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73760         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73761         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73762         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73764 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73766         * math/libm-test.inc: Added more nearbyint tests.
73767         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73772 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73774         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73775         FD_CLOEXEC.
73777 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73779         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73780         Add wcscpy-ssse3 wcscpy-c.
73781         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73782         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73783         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73784         * sysdeps/x86_64/wcschr.S: New file.
73785         * sysdeps/x86_64/wcsrchr.S: New file.
73786         * string/test-strcmp.c: Remove checking of wcscmp function for
73787         wrong alignments.
73788         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73789         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73790         wcsrchr-sse2 wcsrchr-c.
73791         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73792         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73793         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73794         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73795         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73796         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73797         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73798         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73799         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73800         * wcsmbc/wcschr.c (WCSCHR): New macro.
73802 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73804         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73805         * wcsmbs/test-wcsrchr.c: New file.
73806         * string/test-strrchr.c: Add wcsrchr support.
73807         (WIDE): New macro.
73808         * wcsmbs/test-wcscpy.c: New file.
73809         * string/test-strcpy.c: Add wcscpy support.
73810         (WIDE): New macro.
73812 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73814         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73815         the inner loop.
73817 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73819         [BZ #13472]
73820         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73822 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73824         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73825         Minor optimizations.
73827         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73828         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73829         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73831 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73833         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73834         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73835         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73836         for gcc to avoid warnings.
73837         * inet/Makefile (tests): Add tst-checks.
73838         * inet/tst-checks.c: New file.
73840         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73841         warning.
73843         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73844         __wmemcmp_sse2.
73846         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73847         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73849         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73851 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73853         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73854         problem.
73856         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73858 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73860         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73861         conditional on GCC version.
73862         (__arch_compare_and_exchange_val_8_acq)
73863         (__arch_compare_and_exchange_val_16_acq)
73864         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73865         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73866         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73868 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73870         * sysdeps/sh/backtrace.c: New file.
73872 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73874         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73875         parenthesis.
73877 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73879         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73880         falling back to utime.
73882 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73884         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73885         expectations for float.
73887 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73889         * locale/weight.h (findidx): Add parameter len.
73890         * locale/weightwc.h (findidx): Likewise.
73891         * posix/fnmatch_loop.c (FCT): Adjust caller.
73892         * posix/regcomp.c (build_equiv_class): Likewise.
73893         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73894         * posix/regexec.c (check_node_accept_bytes): Likewise.
73895         * string/strcoll_l.c (STRCOLL): Likewise.
73896         * string/strxfrm_l.c (STRXFRM): Likewise.
73898 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73900         * Makefile.in: Remove CVSOPT handling.
73901         * configure.in: Remove use of AC_REVISION.
73902         * iconvdata/Makefile (distribute): No need to filter out CVS.
73903         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73904         handling.
73906 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73908         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73909         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73910         [USE_AS_STRNCASECMP_L]: Likewise.
73911         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73912         NO_TLS_DIRECT_SEG_REFS.
73913         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73914         Fix argument offsets for non-PIC.
73915         [USE_AS_STRNCASECMP_L]: Likewise.
73916         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73917         NO_TLS_DIRECT_SEG_REFS.
73919 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73921         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73922         O_CLOEXEC.
73923         * locale/loadlocale.c (_nl_load_locale): Likewise.
73925 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73927         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73928         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73930         (SYSCALL_GETTIME): Set errno on error.
73932         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73933         count references to noai6ai_cached.
73935 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73937         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73939         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73940         FD_CLOEXEC for /proc/self/maps.
73942         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73943         FD_CLOEXEC for /proc/meminfo.
73945         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73946         gai.conf.
73948         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73949         FD_CLOEXEC for given file.
73951         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73953         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73954         FD_CLOEXEC for /etc/hosts.
73955         (_gethtent): Likewise.
73957         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73959         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73960         cancellation and set FD_CLOEXEC for /etc/netgroup.
73962         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73963         reading /etc/publickey.
73965         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73966         allow cancellation when reading /etc/group.
73968         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73969         cancellation.
73970         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73972         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73973         when using data file.
73975         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73977         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73978         (write_nis_obj): Use "c" and "e" in fopen.
73980         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73982         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73984         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73986         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73988         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73989         locale.alias.
73991         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73993         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73995         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73997         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73998         file parsing and set FD_CLOEXEC.
74000 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74002         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74004 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74006         * malloc/arena.c (arena_get2): Don't call reused_arena when
74007         _int_new_arena failed.
74009 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74011         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74012         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74013         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74014         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74015         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74017         to compile strcasecmp and strncasecmp.
74018         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74019         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74023 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74025         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74026         locale-defines.sym to gen-as-const-headers.
74027         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74028         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74030         to compile strcasecmp and strncasecmp.
74031         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74032         strcasecmp_l and strncasecmp_l.
74033         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74034         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74035         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74036         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74037         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74038         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74039         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74040         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74041         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74042         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74043         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74045 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74047         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74048         result of SYSDEP_GETTIME_CPU to retval.
74049         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74050         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74052         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74053         variable.
74055         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74056         mantissa words.
74057         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74059         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74060         from unused variable.
74062         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74063         DWARF definitions.
74064         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74065         for assembling.
74067         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74068         over namespaces.
74070         * sunrpc/rpc_prot.c (rejected): Fix case value.
74072         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74073         unsigned long long int to avoid warnings in shift.
74075         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74076         of use of trans.
74077         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74078         variable tmp.
74080         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74081         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74082         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74084         * nis/nis_table.c (nis_list): Use variable of correct type for
74085         result of __follow_path call.
74087 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74089         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74090         of math functions ceil, trunc, floor, round, and sqrt, when
74091         avaliable on the platform.
74092         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74093         name clash.
74094         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74095         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74096         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74098 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74100         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74101         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74103 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74105         * include/unistd.h: Fix __readlink return type.
74106         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74108 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74110         * stdlib/ucontext.h: Undo last change for makecontext.
74112 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74114         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74116         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74117         * setjmp/setjmp.h: Mark functions as non-leaf.
74118         * setjmp/bits/setjmp2.h: Likewise.
74119         * stdlib/ucontext.h: Likewise.
74121 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74123         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74124         (reused_arena): Don't check arena limit.
74125         (arena_get2): Atomically check arena limit.
74127 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74129         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74130         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74132         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74133         instructions.
74135 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74137         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74138         handler when locking.
74140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74141         Fix size of allocated buffer.
74143 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74145         [BZ #10103]
74146         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74147         declarations for long double functions.
74148         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74150         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74152 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74154         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74155         installed.
74157         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74158         is disabled.
74160 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74162         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74164 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74166         * include/alloca.h (stackinfo_alloca_round): Define.
74167         (extend_alloca): Use it.
74168         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74169         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74170         here.
74172         * scripts/check-local-headers.sh: Ignore libaudit.h.
74174         * nscd/Makefile (extra-objs): Make recursively expanded.
74176 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74178         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74179         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74181         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74182         * posix/tst-rfc3484-2.c: Likewise.
74183         * posix/tst-rfc3484-3.c: Likewise.
74185         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74186         process_vm_writev.
74187         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74188         process_vm_writev.
74189         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74190         process_vm_writev from libc using GLIBC_2.15 version.
74192         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74194 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74196         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74197         stack usage.
74199 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74201         [BZ #13367]
74202         * nss/getent.c (initgroups_keys): Show error message in case no group
74203         names are given.
74205         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74206         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74207         __bump_nl_timestamp.
74208         * nscd/connections (nscd_init): When host database is served open
74209         netlink socket and request notification about configuration changes.
74210         (main_loop_poll): Track netlink file descriptor and bump timestamp
74211         in case data becomes available.
74212         (main_loop_epoll): Likewise.
74213         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74214         (database_pers_head): Add extra_data fileds.
74215         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74216         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74217         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74218         Adjust caller.
74219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74220         in6ai data, call __free_in6ai.
74221         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74222         Add -DHAVE_NETLINK.
74223         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74224         interface information.  Reuse previous data if netlink timestamp
74225         is not changed.
74226         (__bump_nl_timestamp): New function.
74227         (__free_in6ai): New function.
74229 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74232         close_not_cancel_no_status here.
74233         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74235 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74237         [BZ #13276]
74238         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74239         return value.
74241         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74242         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74243         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74245 2011-07-03  Andreas Jaeger  <aj@suse.de>
74247         [BZ #10709]
74248         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74249         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74250         * math/libm-test.inc (sin_test): Add test case.
74252 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74254         [BZ #13337]
74255         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74258         * elf/chroot_canon.c (chroot_canon): Cleanups.
74260         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74262         [BZ #13335]
74263         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74264         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74266         * string/test-strchr.c: Make usable for strchrnul testing.
74267         * string/test-strchrnul.c: New file.
74268         * string/Makefile (strop-tests): Add strchrnul.
74270         * po/it.po: Update from translation team.
74271         * po/es.po: Likewise.
74273 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74275         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74276         the three constants needed as parameters.  Drop the others.
74277         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74278         __m128i_strloadu_tolower.
74279         Create and initialize variable zero and use it in all the places
74280         where _mm_setzero_si128 was used.
74282         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74283         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74284         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74285         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74286         anymore.
74287         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74288         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74289         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74290         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74291         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74292         __mpranred, __mptan.
74293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74297         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74298         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74299         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74300         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74301         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74303 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74305         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74306         redefine if SHARED.
74307         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74310         wide char related routines to wcsmbs subdir.
74312 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74314         [BZ #13344]
74315         * misc/sys/cdefs.h (__THROWNL): Define.
74316         * posix/unistd.h: Use __THREADNL instead of __THREAD
74317         for memory synchronization functions.
74319 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74321         [BZ #13349]
74322         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74323         doesn't exist.
74324         * manual/stdio.texi (Obstack Streams): Node removed.
74326 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74328         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74329         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74330         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74332         * math/math_private.h (math_force_eval): Allow non-addressable
74333         arguments.
74334         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74336 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74338         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74339         file is not needed.
74341         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74342         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74343         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74344         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74345         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74346         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74347         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74348         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74349         Add AVX variants.
74350         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74351         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74352         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74353         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74354         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74355         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74356         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74357         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74358         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74359         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74360         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74361         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74362         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74363         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74364         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74365         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74366         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74367         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74368         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74370         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74371         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74373         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74374         place.  Use VEX encoding when compiling for AVX.
74376 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74378         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74379         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74381         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74383 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74385         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74386         useless if() expression.
74387         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74388         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74391         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74392         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74393         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74396         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74397         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74398         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74399         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74400         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74401         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74402         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74404         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74405         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74407         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74409 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74411         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74412         condition.
74413         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74415 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74417         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74418         .text section.  Avoid duplicate constants.
74419         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74421         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74423         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74427         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74428         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74429         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74430         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74431         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74432         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74433         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74434         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74435         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74436         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74437         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74438         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74439         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74440         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74441         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74442         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74443         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74444         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74445         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74447         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74448         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74449         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74450         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74451         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74452         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74453         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74454         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74455         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74456         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74457         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74458         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74459         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74460         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74461         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74462         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74463         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74465 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74467         * sysdeps/x86_64/dla.h: Move to ...
74468         * sysdeps/x86_64/fpu/dla.h: ...here.
74469         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74470         situations.  Use __builtin_fma only for gcc 4.6 and up.
74472         * config.make.in: Add have-mfma4 entry.
74473         * configure.in: Substitute libc_cv_cc_fma4.
74474         * math/Makefile (dbl-only-routines): Add sincostab.
74475         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74476         Use __sincostab not sincos.
74477         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74478         name is a macro.
74479         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74483         using __copysign.
74484         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74485         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74486         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74487         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74488         and __inv.
74489         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74490         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74491         __copysign.
74492         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74493         define aliases when function name is a macro.
74494         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74495         sysdeps/ieee754/dbl-64/sincos.tbl.
74496         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74497         fma4-enabled routines.
74498         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74499         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74500         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74501         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74502         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74503         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74504         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74505         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74506         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74507         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74508         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74509         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74510         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74511         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74512         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74513         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74514         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74515         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74516         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74518         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74519         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74520         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74521         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74522         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74523         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74524         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74525         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74526         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74527         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74529         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74530         rename.
74531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74532         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74533         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74540 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74542         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74544 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74546         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74548         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74549         prediction.
74550         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74552         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74553         Remove unused variable magic_bits.
74554         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74556         * string/strnlen.c: Define and use STRNLEN macro.
74557         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74558         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74559         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74560         * wcsmbs/wcslen.c: Define and use WCSLEN.
74561         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74562         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74563         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74564         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74565         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74566         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74567         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74569 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74572         strnlen-sse2-no-bsf.
74573         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74575         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74576         Add strnlen support.
74577         (USE_AS_STRNLEN): New macro.
74578         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74579         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74580         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74581         * sysdeps/x86_64/wcslen.S: New file.
74583 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74586         XMM-moves are used for copying on small sizes.
74588 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74590         * wcsmbs/Makefile (strop-tests): Add wcschr.
74591         * wcsmbs/test-wcschr.c: New file.
74592         * string/test-strchr.c: Update.
74593         Add wcschr support.
74594         (WIDE): New macro.
74596 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74598         * wcsmbs/Makefile (strop-tests): Add wcslen.
74599         * wcsmbs/test-wcslen.c: New file.
74600         * string/test-strlen.c: Update.
74601         Add wcslen support.
74602         (WIDE): New macro.
74604 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74606         * po/it.po: Update from translation team.
74608 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74610         * sysdeps/x86_64/wcscmp.S: Update.
74611         Fix wrong comparison semantics.
74612         wcscmp shall use signed comparison not unsigned.
74613         Don't use substraction to avoid overflow bug.
74614         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74615         * wcsmbc/wcscmp.c: Likewise.
74616         * string/test-strcmp.c: Likewise.
74617         Add new tests to check cases with negative values.
74619 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74621         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74622         * sysdeps/x86_64/dla.h: ...here.  New file.
74623         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74628         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74633 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74636         __ynl_finite aliases.
74638 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74642         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74643         define DLA_FMA.
74644         [DLA_FMA] (EMULV): Use DLA_FMA.
74645         [DLA_FMA] (MUL12): Use EMULV.
74646         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74647         that are not needed.
74648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74656 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74658         * math/s_nan.c: Undef __nan.
74659         * math/s_nanf.c: Undef __nanf.
74660         * math/s_nanl.c: Undef __nanl.
74661         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74662         "math_private.h".
74664 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74666         * math/s_catan.c: Add branch predictions.
74667         * math/s_catanf.c: Likewise.
74668         * math/s_catanh.c: Likewise.
74669         * math/s_catanhf.c: Likewise.
74670         * math/s_catanhl.c: Likewise.
74671         * math/s_catanl.c: Likewise.
74672         * math/s_cexp.c: Likewise.
74673         * math/s_cexpf.c: Likewise.
74674         * math/s_cexpl.c: Likewise.
74675         * math/s_clog.c: Likewise.
74676         * math/s_clog10.c: Likewise.
74677         * math/s_clog10f.c: Likewise.
74678         * math/s_clog10l.c: Likewise.
74679         * math/s_clogf.c: Likewise.
74680         * math/s_clogl.c: Likewise.
74681         * math/s_csqrt.c: Likewise.
74682         * math/s_csqrtf.c: Likewise.
74683         * math/s_csqrtl.c: Likewise.
74684         * math/s_ctanf.c: Likewise.
74685         * math/s_ctanh.c: Likewise.
74686         * math/s_ctanhf.c: Likewise.
74687         * math/s_ctanhl.c: Likewise.
74688         * math/s_ctanl.c: Likewise.
74690         * math/math_private.h: Define __nan, __nanf, __nanl.
74691         * math/s_cacosh.c: Include <math_private.h>.
74692         * math/s_cacoshl.c: Likewise.
74693         * math/s_casinh.c: Likewise.
74694         * math/s_casinhf.c: Likewise.
74695         * math/s_casinhl.c: Likewise.
74696         * math/s_ccos.c: Rely entire on ccosh.
74697         * math/s_ccosf.c: Rely entire on ccoshf.
74698         * math/s_ccosl.c: Rely entirely on ccoshl.
74699         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74700         Remove tests for FE_INVALID.
74701         * math/s_ccoshf.c: Likewise.
74702         * math/s_ccoshl.c: Likewise.
74703         * math/s_csin.c: Likewise.
74704         * math/s_csinf.c: Likewise.
74705         * math/s_csinh.c Likewise.
74706         * math/s_csinhf.c: Likewise.
74707         * math/s_csinhl.c: Likewise.
74708         * math/s_csinl.c: Likewise.
74709         * math/s_ctan.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74711         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74712         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74714 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74717         compilation problems.
74719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74720         __builtin_expect.
74722 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74724         * sysdeps/i386/configure.in: Test for -mfma4 option.
74725         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74726         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74727         COMMON_CPUID_INDEX_80000001.
74728         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74729         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74730         use it if FMA3 is not supported.
74731         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74733         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74734         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74736 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74738         [BZ #12892]
74739         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74740         it would create a cycle with a link time dependency.
74742 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74744         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74745         instruction.
74746         * string/Makefile (strop-tests): Add rawmemchr.
74747         * string/test-rawmemchr.c: New file.
74749         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74750         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74751         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74752         when compiling str{,n}casecmp and when AVX is available.  Hook up
74753         new optimized code in initializers.
74755 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74757         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74758         __feraiseexcept instead of feraiseexcept.
74760 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74762         * math/math_private.h: Define defaults for libc_fetestexcept and
74763         libc_feupdateenv.
74764         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74765         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74766         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74767         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74768         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74769         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74770         libc_fetestexcept and libc_feupdateenv.
74772         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74773         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74774         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74775         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74776         libc_feholdexcept_setround.
74778         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74779         Add s_nearbyint-c and s_nearbyintf-c.
74780         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74781         nearbyintf inlines.
74782         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74784         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74785         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74787         * math/math_private.h: Define defaults for libc_fegetround,
74788         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74789         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74790         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74791         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74792         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74793         standard functions.
74794         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74795         Remove comments and hacks for old compiler versions.
74796         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74797         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74798         libc_feholdexceptl.
74800 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74802         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74803         (__feraiseexcept_renamed): Add __NTH.
74804         (feraiseexcept): Add __NTH.  Rename local variables to fix
74805         namespace violations.
74807 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74809         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74811         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74813         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74814         recently added interfaces.
74815         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74817         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74818         about macro parameter expansion.
74820         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74821         __NO_MATH_INLINES is defined.  Cleanups.
74823         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74824         and __floorf is target has SSE4.1.
74825         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74826         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74827         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74828         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74830         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74831         name.
74832         (floorf): Likewise.
74834         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74836 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74838         * misc/sys/cdefs.h: Fix last change.
74840         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74841         database lookup.
74843 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74845         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74847         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74848         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74849         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74850         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74851         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74852         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74853         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74854         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74855         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74856         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74857         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74858         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74859         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74860         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74861         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74862         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74863         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74864         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74865         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74866         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74867         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74868         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74870         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74871         ceil, ceilf, floor, floorf.
74873         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74874         Perform IRELATIVE relocations last.
74876         * elf/do-rel.h: Add another parameter nrelative, replacing the
74877         local variable with the same name.  Change name of the function
74878         to end in Rel or Rela (uppercase).
74879         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74880         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74881         elf_dynamic_do_##reloc function.
74883 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74885         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74886         is sufficient, at least on modern CPUs.
74888         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74890         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74891         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74893         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74894         __expl_finite.
74895         * math/bits/math-finite.h: Add entries for exp.
74896         * math/e_expl.c: Add __*_finite alias.
74897         * sysdeps/i386/fpu/e_exp.S: Likewise.
74898         * sysdeps/i386/fpu/e_expf.S: Likewise.
74899         * sysdeps/i386/fpu/e_expl.c: Likewise.
74900         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74901         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74902         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74904         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74905         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74906         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74908         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74909         is sufficient, at least on modern CPUs.
74911         * ctype/ctype-info.c (__ctype_init): Define.
74912         * include/ctype.h (__ctype_init): Declare.
74913         (__ctype_b_loc): The variable is always initialized.
74914         (__ctype_toupper_loc): Likewise.
74915         (__ctype_tolower_loc): Likewise.
74916         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74917         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74919 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74921         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74923         * configure.in: Also look in $cxxmachine/include for C++ system
74924         headers.
74926 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74928         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74929         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74930         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74931         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74932         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74933         (USE_AS_WMEMCMP): New macro.
74934         Fixing indents.
74935         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74936         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74937         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74938         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74940         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74941         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74942         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74943         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74944         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74945         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74946         (USE_AS_WMEMCMP): New macro.
74947         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74948         * sysdeps/string/test-memcmp.c: Update.
74949         Fix simple_wmemcmp.
74950         Add new tests.
74951         * wcsmbs/wmemcmp.c: Update.
74952         (WMEMCMP): New macro.
74953         Fix overflow bug.
74955 2011-10-12  Andreas Jaeger  <aj@suse.de>
74957         [BZ #13268]
74958         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74960 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74962         * libio/iofwide.c (do_length): Avoid warning.
74964         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74966 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74968         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74970         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74971         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74972         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74973         * sysdeps/i386/i686/fpu/e_log.S: New file.
74974         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74975         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74977         * ctype/ctype.h: Add support for inlined isXXX functions when
74978         compiling C++ code.
74980 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74982         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74984         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74986 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74988         [BZ #13291]
74989         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74991 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74993         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74994         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74995         feraiseexcept.
74997         * sysdeps/x86_64/memrchr.S: Check for zero size.
74999         * string/stratcliff.c: Add memrchr tests.
75001 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75003         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75004         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75005         rawmemchr-sse2 rawmemchr-sse2-bsf.
75006         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75007         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75008         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75009         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75010         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75011         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75012         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75013         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75014         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75015         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75016         * string/memrchr.c (MEMRCHR): New macro.
75018 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75020         Add integration with gcc's -ffinite-math-only and optimize wrapper
75021         functions in libm.
75022         * Versions.def: Define GLIBC_2.15 version for libm.
75023         * math/Makefile (headers): Add bits/math-finite.h.
75024         * math/bits/math-finite.h: New file.
75025         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75026         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75027         * math/e_acoshl.c: Add __*_finite alias.
75028         * math/e_acosl.c: Likewise.
75029         * math/e_asinl.c: Likewise.
75030         * math/e_atan2l.c: Likewise.
75031         * math/e_atanhl.c: Likewise.
75032         * math/e_coshl.c: Likewise.
75033         * math/e_exp10.c: Likewise.
75034         * math/e_exp10f.c: Likewise.
75035         * math/e_exp10l.c: Likewise.
75036         * math/e_exp2l.c: Likewise.
75037         * math/e_fmodl.c: Likewise.
75038         * math/e_gammal_r.c: Likewise.
75039         * math/e_hypotl.c: Likewise.
75040         * math/e_j0l.c: Likewise.
75041         * math/e_j1l.c: Likewise.
75042         * math/e_jnl.c: Likewise.
75043         * math/e_lgammal_r.c: Likewise.
75044         * math/e_log10l.c: Likewise.
75045         * math/e_log2l.c: Likewise.
75046         * math/e_logl.c: Likewise.
75047         * math/e_powl.c: Likewise.
75048         * math/e_sinhl.c: Likewise.
75049         * math/e_sqrtl.c: Likewise.
75050         * math/e_scalb.c: Completely rewritten and optimized.
75051         * math/e_scalbf.c: Likewise.
75052         * math/e_scalbl.c: Likewise.
75053         * math/w_acos.c: Likewise.
75054         * math/w_acosf.c: Likewise.
75055         * math/w_acosl.c: Likewise.
75056         * math/w_acosh.c: Likewise.
75057         * math/w_acoshf.c: Likewise.
75058         * math/w_acoshl.c: Likewise.
75059         * math/w_asin.c: Likewise.
75060         * math/w_asinf.c: Likewise.
75061         * math/w_asinl.c: Likewise.
75062         * math/w_atan2.c: Likewise.
75063         * math/w_atan2f.c: Likewise.
75064         * math/w_atan2l.c: Likewise.
75065         * math/w_atanh.c: Likewise.
75066         * math/w_atanhf.c: Likewise.
75067         * math/w_atanhl.c: Likewise.
75068         * math/w_exp10.c: Likewise.
75069         * math/w_exp10f.c: Likewise.
75070         * math/w_exp10l.c: Likewise.
75071         * math/w_fmod.c: Likewise.
75072         * math/w_fmodf.c: Likewise.
75073         * math/w_fmodl.c: Likewise.
75074         * math/w_j0.c: Likewise.
75075         * math/w_j0f.c: Likewise.
75076         * math/w_j0l.c: Likewise.
75077         * math/w_j1.c: Likewise.
75078         * math/w_j1f.c: Likewise.
75079         * math/w_j1l.c: Likewise.
75080         * math/w_jn.c: Likewise.
75081         * math/w_jnf.c: Likewise.
75082         * math/w_log.c: Likewise.
75083         * math/w_logf.c: Likewise.
75084         * math/w_logl.c: Likewise.
75085         * math/w_log10.c: Likewise.
75086         * math/w_log10f.c: Likewise.
75087         * math/w_log10l.c: Likewise.
75088         * math/w_log2.c: Likewise.
75089         * math/w_log2f.c: Likewise.
75090         * math/w_log2l.c: Likewise.
75091         * math/w_pow.c: Likewise.
75092         * math/w_powf.c: Likewise.
75093         * math/w_powl.c: Likewise.
75094         * math/w_remainder.c: Likewise.
75095         * math/w_remainderf.c: Likewise.
75096         * math/w_remainderl.c: Likewise.
75097         * math/w_scalb.c: Likewise.
75098         * math/w_scalbf.c: Likewise.
75099         * math/w_scalbl.c: Likewise.
75100         * math/w_sqrt.c: Likewise.
75101         * math/w_sqrtf.c: Likewise.
75102         * math/w_sqrtl.c: Likewise.
75103         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75104         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75105         used.
75106         * math/math_private.h: Declare __kernel_standard_f.
75107         * math/w_cosh.c: Remove cruft and optimize a bit.
75108         * math/w_coshf.c: Likewise.
75109         * math/w_coshl.c: Likewise.
75110         * math/w_exp2.c: Likewise.
75111         * math/w_exp2f.c: Likewise.
75112         * math/w_exp2l.c: Likewise.
75113         * math/w_hypot.c: Likewise.
75114         * math/w_hypotf.c: Likewise.
75115         * math/w_hypotl.c: Likewise.
75116         * math/w_lgamma.c: Likewise.
75117         * math/w_lgamma_r.c: Likewise.
75118         * math/w_lgammaf.c: Likewise.
75119         * math/w_lgammaf_r.c: Likewise.
75120         * math/w_lgammal.c: Likewise.
75121         * math/w_lgammal_r.c: Likewise.
75122         * math/w_sinh.c: Likewise.
75123         * math/w_sinhf.c: Likewise.
75124         * math/w_sinhl.c: Likewise.
75125         * math/w_tgamma.c: Likewise.
75126         * math/w_tgammaf.c: Likewise.
75127         * math/w_tgammal.c: Likewise.
75128         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75129         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75130         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75131         Minor optimizations.  Pretty printing.  Remove cruft.
75132         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75133         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75134         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75135         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75136         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75137         * sysdeps/i386/fpu/e_asin.S: Likewise.
75138         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75139         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75140         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75141         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75142         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75143         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75144         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75145         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75146         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75147         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75148         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75149         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75150         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75151         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75152         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75153         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75154         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75155         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75156         * sysdeps/i386/fpu/e_log.S: Likewise.
75157         * sysdeps/i386/fpu/e_log10.S: Likewise.
75158         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75159         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75160         * sysdeps/i386/fpu/e_log2.S: Likewise.
75161         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75162         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75163         * sysdeps/i386/fpu/e_logf.S: Likewise.
75164         * sysdeps/i386/fpu/e_logl.S: Likewise.
75165         * sysdeps/i386/fpu/e_pow.S: Likewise.
75166         * sysdeps/i386/fpu/e_powf.S: Likewise.
75167         * sysdeps/i386/fpu/e_powl.S: Likewise.
75168         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75169         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75170         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75171         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75172         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75173         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75174         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75175         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75176         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75177         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75178         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75180         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75182         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75183         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75184         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75185         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75187         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75188         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75190         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75191         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75193         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75194         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75195         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75196         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75197         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75198         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75199         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75200         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75201         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75202         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75203         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75204         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75205         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75206         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75211         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75212         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75213         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75214         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75215         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75216         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75217         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75218         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75219         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75220         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75221         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75222         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75223         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75224         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75225         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75226         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75227         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75228         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75229         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75230         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75231         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75232         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75233         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75234         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75235         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75236         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75237         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75239         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75240         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75241         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75242         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75243         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75245         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75247         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75248         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75249         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75250         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75251         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75252         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75254         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75255         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75256         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75257         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75258         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75259         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75260         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75261         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75262         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75264         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75265         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75266         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75267         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75268         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75270         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75271         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75272         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75273         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75274         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75275         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75276         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75277         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75278         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75279         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75280         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75281         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75282         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75283         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75284         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75285         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75286         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75287         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75288         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75289         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75290         (__isnanf): Likewise.
75291         (__isinf_ns): Likewise.
75292         (__isinf_nsf): Likewise.
75293         (__finite): Likewise.
75294         (__finitef): Likewise.
75295         (__ieee754_sqrt): Define as macro.
75296         (__ieee754_sqrtf): Define as macro.
75297         (__ieee754_sqrtl): Define as macro.
75298         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75299         inlined copy.
75300         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75301         __FINITE_MATH_ONLY__ consistent.
75302         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75304 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75306         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75307         of rawmemchr.
75309         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75311 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75313         * po/ja.po: Update from translation team.
75315 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75317         * locale/programs/locarchive.c (prepare_address_space): New function.
75318         (create_archive, enlarge_archive, open_archive): Use it.
75320         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75321         inside [SHARED], where it is used.
75323         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75325         * nss/getent.c (netgroup_keys): Remove unused variable.
75326         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75328 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75330         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75331         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75333         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75334         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75335         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75336         * math/Makefile (libm-calls): Add s_isinf_ns.
75337         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75338         * math/multc3.c: Likewise.
75339         * math/s_casin.c: Likewise.
75340         * math/s_casinf.c: Likewise.
75341         * math/s_casinl.c: Likewise.
75342         * math/s_ccos.c: Likewise.
75343         * math/s_ccosf.c: Likewise.
75344         * math/s_ccosl.c: Likewise.
75345         * math/s_ctan.c: Likewise.
75346         * math/s_ctanf.c: Likewise.
75347         * math/s_ctanh.c: Likewise.
75348         * math/s_ctanhf.c: Likewise.
75349         * math/s_ctanhl.c: Likewise.
75350         * math/s_ctanl.c: Likewise.
75351         * math/w_fmod.c: Likewise.
75352         * math/w_fmodf.c: Likewise.
75353         * math/w_fmodl.c: Likewise.
75354         * math/w_remainder.c: Likewise.
75355         * math/w_remainderf.c: Likewise.
75356         * math/w_remainderl.c: Likewise.
75357         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75358         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75360         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75361         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75362         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75363         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75364         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75366         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75367         of the number.
75368         * stdio-common/printf_fphex.c: Likewise.
75369         * stdio-common/printf_size.c: Likewise.
75371         * math/e_exp10.c: Include math_private.h using <...> not "...".
75372         * math/e_exp10f.c: Likewise.
75373         * math/e_exp10l.c: Likewise.
75374         * math/e_exp2l.c: Likewise.
75375         * math/e_j0l.c: Likewise.
75376         * math/e_j1l.c: Likewise.
75377         * math/e_jnl.c: Likewise.
75378         * math/e_lgammal_r.c: Likewise.
75379         * math/e_rem_pio2l.c: Likewise.
75380         * math/e_scalb.c: Likewise.
75381         * math/e_scalbf.c: Likewise.
75382         * math/e_scalbl.c: Likewise.
75383         * math/k_cosl.c: Likewise.
75384         * math/k_sinl.c: Likewise.
75385         * math/k_tanl.c: Likewise.
75386         * math/s_cacoshf.c: Likewise.
75387         * math/s_catan.c: Likewise.
75388         * math/s_catanf.c: Likewise.
75389         * math/s_catanh.c: Likewise.
75390         * math/s_catanhf.c: Likewise.
75391         * math/s_catanhl.c: Likewise.
75392         * math/s_catanl.c: Likewise.
75393         * math/s_ccosh.c: Likewise.
75394         * math/s_ccoshf.c: Likewise.
75395         * math/s_ccoshl.c: Likewise.
75396         * math/s_cexp.c: Likewise.
75397         * math/s_cexpf.c: Likewise.
75398         * math/s_cexpl.c: Likewise.
75399         * math/s_clog.c: Likewise.
75400         * math/s_clog10.c: Likewise.
75401         * math/s_clog10f.c: Likewise.
75402         * math/s_clog10l.c: Likewise.
75403         * math/s_clogf.c: Likewise.
75404         * math/s_clogl.c: Likewise.
75405         * math/s_csin.c: Likewise.
75406         * math/s_csinf.c: Likewise.
75407         * math/s_csinh.c: Likewise.
75408         * math/s_csinhf.c: Likewise.
75409         * math/s_csinhl.c: Likewise.
75410         * math/s_csinl.c: Likewise.
75411         * math/s_csqrt.c: Likewise.
75412         * math/s_csqrtf.c: Likewise.
75413         * math/s_csqrtl.c: Likewise.
75414         * math/s_ctan.c: Likewise.
75415         * math/s_ctanf.c: Likewise.
75416         * math/s_ctanh.c: Likewise.
75417         * math/s_ctanhf.c: Likewise.
75418         * math/s_ctanhl.c: Likewise.
75419         * math/s_ctanl.c: Likewise.
75420         * math/s_ldexp.c: Likewise.
75421         * math/s_ldexpf.c: Likewise.
75422         * math/s_ldexpl.c: Likewise.
75423         * math/s_significand.c: Likewise.
75424         * math/s_significandf.c: Likewise.
75425         * math/s_significandl.c: Likewise.
75426         * math/w_acos.c: Likewise.
75427         * math/w_acosf.c: Likewise.
75428         * math/w_acosh.c: Likewise.
75429         * math/w_acoshf.c: Likewise.
75430         * math/w_acoshl.c: Likewise.
75431         * math/w_acosl.c: Likewise.
75432         * math/w_asin.c: Likewise.
75433         * math/w_asinf.c: Likewise.
75434         * math/w_asinl.c: Likewise.
75435         * math/w_atan2.c: Likewise.
75436         * math/w_atan2f.c: Likewise.
75437         * math/w_atan2l.c: Likewise.
75438         * math/w_atanh.c: Likewise.
75439         * math/w_atanhf.c: Likewise.
75440         * math/w_atanhl.c: Likewise.
75441         * math/w_cosh.c: Likewise.
75442         * math/w_coshf.c: Likewise.
75443         * math/w_coshl.c: Likewise.
75444         * math/w_dremf.c: Likewise.
75445         * math/w_exp10.c: Likewise.
75446         * math/w_exp10f.c: Likewise.
75447         * math/w_exp10l.c: Likewise.
75448         * math/w_exp2.c: Likewise.
75449         * math/w_exp2f.c: Likewise.
75450         * math/w_fmod.c: Likewise.
75451         * math/w_fmodf.c: Likewise.
75452         * math/w_fmodl.c: Likewise.
75453         * math/w_hypot.c: Likewise.
75454         * math/w_hypotf.c: Likewise.
75455         * math/w_hypotl.c: Likewise.
75456         * math/w_j0.c: Likewise.
75457         * math/w_j0f.c: Likewise.
75458         * math/w_j0l.c: Likewise.
75459         * math/w_j1.c: Likewise.
75460         * math/w_j1f.c: Likewise.
75461         * math/w_j1l.c: Likewise.
75462         * math/w_jn.c: Likewise.
75463         * math/w_jnf.c: Likewise.
75464         * math/w_jnl.c: Likewise.
75465         * math/w_lgamma.c: Likewise.
75466         * math/w_lgamma_r.c: Likewise.
75467         * math/w_lgammaf.c: Likewise.
75468         * math/w_lgammaf_r.c: Likewise.
75469         * math/w_lgammal.c: Likewise.
75470         * math/w_lgammal_r.c: Likewise.
75471         * math/w_log.c: Likewise.
75472         * math/w_log10.c: Likewise.
75473         * math/w_log10f.c: Likewise.
75474         * math/w_log10l.c: Likewise.
75475         * math/w_log2.c: Likewise.
75476         * math/w_log2f.c: Likewise.
75477         * math/w_log2l.c: Likewise.
75478         * math/w_logf.c: Likewise.
75479         * math/w_logl.c: Likewise.
75480         * math/w_pow.c: Likewise.
75481         * math/w_powf.c: Likewise.
75482         * math/w_powl.c: Likewise.
75483         * math/w_remainder.c: Likewise.
75484         * math/w_remainderf.c: Likewise.
75485         * math/w_remainderl.c: Likewise.
75486         * math/w_scalb.c: Likewise.
75487         * math/w_scalbf.c: Likewise.
75488         * math/w_scalbl.c: Likewise.
75489         * math/w_sinh.c: Likewise.
75490         * math/w_sinhf.c: Likewise.
75491         * math/w_sinhl.c: Likewise.
75492         * math/w_sqrt.c: Likewise.
75493         * math/w_sqrtf.c: Likewise.
75494         * math/w_sqrtl.c: Likewise.
75495         * math/w_tgamma.c: Likewise.
75496         * math/w_tgammaf.c: Likewise.
75497         * math/w_tgammal.c: Likewise.
75499         * po/ja.po: Update from translation team.
75501 2011-09-29  Andreas Jaeger  <aj@suse.de>
75503         [BZ #13179]
75504         * sunrpc/netname.c (netname2host): Fix logic.
75506         [BZ #6779]
75507         [BZ #6783]
75508         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75509         correctly.
75510         * math/w_remainder.c (__remainder): Likewise.
75511         * math/w_remainderf.c (__remainderf): Likewise.
75512         * math/libm-test.inc (remainder_test): Add test cases.
75514 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75516         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75517         sdiv_qrnnd.
75519 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75521         * string/test-memcmp.c: Avoid unncessary #defines.
75522         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75524 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75526         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75527         Use new sse2 version for core i3 - i7 as it's faster
75528         than sse42 version.
75529         (bit_Prefer_PMINUB_for_stringop): New.
75530         * sysdeps/x86_64/rawmemchr.S: Update.
75531         Replace with faster SSE2 version.
75532         * sysdeps/x86_64/memrchr.S: New file.
75533         * sysdeps/x86_64/memchr.S: Update.
75534         Replace with faster SSE2 version.
75536 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75538         * elf/dl-load.c (lose): Add cast to avoid warning.
75540 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75542         * po/ca.po: Update from translation team.
75544         * inet/getnetgrent_r.c: Hook up nscd.
75545         * nscd/Makefile (routines): Add nscd_netgroup.
75546         (nscd-modules): Add netgroupcache.
75547         (CFLAGS-netgroupcache.c): Define.
75548         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75549         (cache_search): Add const to second parameter.
75550         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75551         INNETGR.
75552         (dbs): Add netgrdb entry.
75553         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75554         (verify_persistent_db): Handle netgrdb.
75555         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75556         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75557         GETFDNETGR.
75558         (netgroup_response_header): Define.
75559         (innetgroup_response_header): Define.
75560         (datahead): Add netgroup_response_header and innetgroup_response_header
75561         elements.
75562         * nscd/nscd.conf: Add entries for netgroup cache.
75563         * nscd/nscd.h (dbtype): Add netgrdb.
75564         (_PATH_NSCD_NETGROUP_DB): Define.
75565         (netgroup_iov_disabled): Declare.
75566         (xmalloc, xcalloc, xrealloc): Move declarations here.
75567         (cache_search): Adjust prototype.
75568         Add netgroup-related prototypes.
75569         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75570         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75571         (__nscd_innetgr): Declare.
75572         * nscd/selinux.c (perms): Use access_vector_t as element type and
75573         add netgroup-related initializers.
75574         * nscd/netgroupcache.c: New file.
75575         * nscd/nscd_netgroup.c: New file.
75576         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75577         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75578         For four parameters use innetgr.
75579         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75580         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75581         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75582         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75584         * nscd/connections.c (register_traced_file): Don't register file
75585         for disabled databases.
75587 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75589         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75591         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75592         from tree and freeing node.
75594 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75596         * nss/nsswitch.c (__nss_database_lookup): Handle
75597         nss_parse_service_list out of memory case.
75599 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75601         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75602         out of memory case.
75604 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75606         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75607         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75608         pass it down.
75609         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75610         elf_machine_rela, elf_machine_lazy_rel.
75611         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75612         (ELF_DYNAMIC_DO_REL): Likewise.
75613         (ELF_DYNAMIC_DO_RELA): Likewise.
75614         (ELF_DYNAMIC_RELOCATE): Likewise.
75615         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75616         to ELF_DYNAMIC_DO_REL.
75617         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75618         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75619         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75620         elf_machine_rela.
75621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75622         skip_ifunc, don't call ifunc function if non-zero.
75623         (elf_machine_rela): Likewise.
75624         (elf_machine_lazy_rel): Likewise.
75625         (elf_machine_lazy_rela): Likewise.
75626         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75627         (elf_machine_lazy_rel): Likewise.
75628         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75629         Likewise.
75630         (elf_machine_lazy_rel): Likewise.
75631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75632         Likewise.
75633         (elf_machine_lazy_rel): Likewise.
75634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75635         (elf_machine_lazy_rel): Likewise.
75636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75637         (elf_machine_lazy_rel): Likewise.
75638         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75639         (elf_machine_lazy_rel): Likewise.
75640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75641         (elf_machine_lazy_rel): Likewise.
75642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75643         (elf_machine_lazy_rel): Likewise.
75644         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75645         (elf_machine_lazy_rel): Likewise.
75647 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75649         * nss/nss_files/files-init.c (_nss_files_init): Use static
75650         initialization for all the *_traced_file variables.
75652 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75654         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75656 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75658         [BZ #13226]
75659         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75661 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75663         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75664         Reread the line before reparsing it.
75666 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75668         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75670 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75671             Maxim Kuvyrkov  <maxim@codesourcery.com>
75672             Joseph Myers  <joseph@codesourcery.com>
75674         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75675         if needed for __stack_chk_guard.
75677 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75679         * sysdeps/posix/spawni.c (script_execute): Always define it.
75680         It will be optimized away if unused.
75681         (maybe_script_execute): New function.
75682         (__spawni): Call it.
75684         * Makerules: Don't include tls.make.
75685         (config-tls): Always set to thread.
75686         * tls.make.c: File removed.
75688 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75690         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75691         * config.make.in (CPPFLAGS-config): New substituted variable.
75693 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75695         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75697         [BZ #13192]
75698         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75699         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75701 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75703         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75704         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75706         (CALL_FAIL): Likewise.
75707         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75708         (CALL_FAIL): Macro removed.
75709         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75711 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75713         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75714         for __FINITE_MATH_ONLY__ == 1.
75716 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75718         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75719         __ieee754_sqrt instead of sqrt.
75720         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75721         __ieee754_sqrtf instead of sqrtf.
75722         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75723         __floorf instead of floorf.
75724         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75725         __floorf, __truncf instead of floorf, truncf.
75727 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75729         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75731         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75732         __extern_always_inline.
75733         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75734         32-bit.
75736 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75738         * elf/rtld.c (dl_main): Also relocate in dependency order when
75739         doing symbol dependency testing.
75741 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75743         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75744         Always define `refsym'.
75746 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75748         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75749         (__FD_ELT): Renamed from __FDELT.
75750         * misc/bits/select2.h (__FD_ELT): Likewise.
75751         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75752         __FD_MASK instead of __FDELT, __FDMASK.
75753         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75754         Likewise.
75755         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75756         Likewise.
75758         * elf/Makefile (gen-ldd): Fix pattern.
75760         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75761         (init_tls): Likewise.
75763 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75765         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75767 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75769         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75770         `struct cmsghdr *' instead of `void *'.
75771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75772         Likewise.
75774 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75776         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75777         if non-absolute.
75778         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75779         ldd_rewrite_script.
75781 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75783         * configure.in: Remove --with-tls option.
75784         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75785         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75786         out in case it is missing.
75787         * sysdeps/ia64/elf/configure.in: Likewise.
75788         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75789         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75790         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75791         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75792         * sysdeps/sh/elf/configure.in: Likewise.
75793         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75794         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75795         * sysdeps/x86_64/elf/configure.in: Likewise.
75796         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75797         * sysdeps/mach/hurd/tls.h: Likewise.
75799         [BZ #13067]
75800         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75802         [BZ #13090]
75803         * configure.in: Fix use of AC_INIT.
75805         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75807 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75809         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75810         __set_errno.
75811         * malloc/hooks.c: Likewise.
75813         [BZ #11929]
75814         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75815         variables statically.
75816         (narenas): Initialize.
75817         (list_lock): Initialize.
75818         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75819         initializtion of main_arena and list_lock.  Small cleanups.
75820         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75821         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75822         Add initializers to main_arena and mp_.
75823         (malloc_state): Remove pagesize member.  Change all users to use
75824         GLRO(dl_pagesize).
75826         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75827         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75828         is always initialized.
75830         * malloc/malloc.c: Removed unused configurations and dead code.
75831         * malloc/arena.c: Likewise.
75832         * malloc/hooks.c: Likewise.
75833         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75835         * include/tls.h: Removed.  USE___THREAD must always be defined.
75836         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75837         * elf/dl-libc.c: Likewise.
75838         * elf/dl-tsd.c: Likewise.
75839         * include/errno.h: Likewise.
75840         * include/netdb.h: Likewise.
75841         * include/resolv.h: Likewise.
75842         * inet/herrno-loc.c: Likewise.
75843         * inet/herrno.c: Likewise.
75844         * malloc/arena.c: Likewise.
75845         * malloc/hooks.c: Likewise.
75846         * malloc/malloc.c: Likewise.
75847         * resolv/res-state.c: Likewise.
75848         * resolv/res_libc.c: Likewise.
75849         * sysdeps/i386/dl-machine.h: Likewise.
75850         * sysdeps/ia64/dl-machine.h: Likewise.
75851         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75852         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75853         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75854         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75855         * sysdeps/sh/dl-machine.h: Likewise.
75856         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75857         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75858         * sysdeps/unix/i386/sysdep.S: Likewise.
75859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75860         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75861         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75863         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75865         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75869         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75870         * sysdeps/x86_64/dl-machine.h: Likewise.
75871         * tls.make.c: Likewise.
75873         * configure.in: Remove --with-__thread option.  Make tests for
75874         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75875         tls_model attribute fail if no support is available.  Remove
75876         USE_IN_LIBIO.
75877         * Makeconfig: Adjust for dropped configure option.  All features are
75878         now mandatory.
75879         * Makerules: Likewise.
75880         * Versions.def: Likewise.
75881         * argp/argp-fmtstream.c: Likewise.
75882         * argp/argp-fmtstream.h: Likewise.
75883         * argp/argp-help.c: Likewise.
75884         * assert/assert.c: Likewise.
75885         * config.h.in: Likewise.
75886         * config.make.in: Likewise.
75887         * configure: Likewise.
75888         * configure.in: Likewise.
75889         * csu/Versions: Likewise.
75890         * csu/init.c: Likewise.
75891         * elf/tst-audit2.c: Likewise.
75892         * elf/tst-tls10.c: Likewise.
75893         * elf/tst-tls10.h: Likewise.
75894         * elf/tst-tls11.c: Likewise.
75895         * elf/tst-tls12.c: Likewise.
75896         * elf/tst-tls14.c: Likewise.
75897         * elf/tst-tlsmod11.c: Likewise.
75898         * elf/tst-tlsmod12.c: Likewise.
75899         * elf/tst-tlsmod13.c: Likewise.
75900         * elf/tst-tlsmod13a.c: Likewise.
75901         * elf/tst-tlsmod14a.c: Likewise.
75902         * elf/tst-tlsmod15b.c: Likewise.
75903         * elf/tst-tlsmod16a.c: Likewise.
75904         * elf/tst-tlsmod16b.c: Likewise.
75905         * elf/tst-tlsmod7.c: Likewise.
75906         * elf/tst-tlsmod8.c: Likewise.
75907         * elf/tst-tlsmod9.c: Likewise.
75908         * gmon/gmon.c: Likewise.
75909         * grp/fgetgrent_r.c: Likewise.
75910         * grp/putgrent.c: Likewise.
75911         * hurd/fopenport.c: Likewise.
75912         * include/libc-symbols.h: Likewise.
75913         * include/tls.h: Likewise.
75914         * intl/gettextP.h: Likewise.
75915         * intl/loadinfo.h: Likewise.
75916         * locale/global-locale.c: Likewise.
75917         * locale/localeinfo.h: Likewise.
75918         * mach/devstream.c: Likewise.
75919         * malloc/arena.c: Likewise.
75920         * malloc/set-freeres.c: Likewise.
75921         * misc/err.c: Likewise.
75922         * misc/getttyent.c: Likewise.
75923         * misc/mntent_r.c: Likewise.
75924         * posix/getopt.c: Likewise.
75925         * posix/wordexp.c: Likewise.
75926         * pwd/fgetpwent_r.c: Likewise.
75927         * resolv/Versions: Likewise.
75928         * resolv/res_hconf.c: Likewise.
75929         * shadow/fgetspent_r.c: Likewise.
75930         * shadow/putspent.c: Likewise.
75931         * stdio-common/printf_fphex.c: Likewise.
75932         * stdio-common/tmpfile.c: Likewise.
75933         * stdlib/abort.c: Likewise.
75934         * stdlib/fmtmsg.c: Likewise.
75935         * sunrpc/auth_unix.c: Likewise.
75936         * sunrpc/clnt_perr.c: Likewise.
75937         * sunrpc/clnt_tcp.c: Likewise.
75938         * sunrpc/clnt_udp.c: Likewise.
75939         * sunrpc/clnt_unix.c: Likewise.
75940         * sunrpc/openchild.c: Likewise.
75941         * sunrpc/svc_simple.c: Likewise.
75942         * sunrpc/svc_tcp.c: Likewise.
75943         * sunrpc/svc_udp.c: Likewise.
75944         * sunrpc/svc_unix.c: Likewise.
75945         * sunrpc/xdr.c: Likewise.
75946         * sunrpc/xdr_array.c: Likewise.
75947         * sunrpc/xdr_rec.c: Likewise.
75948         * sunrpc/xdr_ref.c: Likewise.
75949         * sunrpc/xdr_stdio.c: Likewise.
75951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75953         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75955 2011-07-03  Andreas Jaeger  <aj@suse.de>
75957         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75958         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75959         regenerate with gen-libm-tests.pl.
75961 2010-05-12  Petr Baudis  <pasky@suse.cz>
75963         [BZ #11589]
75964         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75965         around j0() zero points by switching to j1().
75966         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75967         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75969         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75971 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75973         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75974         instead of 0.
75975         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75976         instead of 0.
75977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75978         Patch in part by Pavel Roskin <proski@gnu.org>.
75980         [BZ #13138]
75981         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75982         realloc.
75983         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75984         Free memory block if necessary.
75986         [BZ #12847]
75987         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75988         be NULL.  Don't lock in this case.
75990 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75992         * elf/elf.h (ELFOSABI_GNU): New macro.
75993         (ELFOSABI_LINUX): Define to that.
75995 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75997         * string/strncat.c (strncat): Undef the symbol in case it has been
75998         defined in bits/string.h.
76000 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76002         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76004         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76005         link map.
76007 2011-08-17  Andreas Jaeger  <aj@suse.de>
76009         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76011 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76012             Ian Lance Taylor  <iant@google.com>
76014         * math/libm-test.inc (lround_test): New testcase.
76015         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76017 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76019         * Makefile: Remove support for automatic cvs check-ins.
76020         * Makerules: Likewise.
76021         * config.make.in: Likewise.
76022         * configure.in: Likewise.
76023         * intl/Makefile: Likewise.
76024         * locale/Makefile: Likewise.
76025         * po/Makefile: Likewise.
76026         * posix/Makefile: Likewise.
76027         * sysdeps/gnu/Makefile: Likewise.
76028         * sysdeps/mach/hurd/Makefile: Likewise.
76029         * sysdeps/sparc/sparc32/Makefile: Likewise.
76031         [BZ #13118]
76032         * posix/Makefile (bug-regex32-ENV): Define.
76033         Patch by John Stanley <jpsinthemix@verizon.net>.
76035         * misc/Makefile (headers): Add bits/select2.h.
76036         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76037         * misc/bits/select2.h: New file.
76038         * include/bits/select2.h: New file.
76039         * debug/Makefile (routines): Add fdelt_chk.
76040         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76041         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76042         FD_ISSET.
76043         * debug/fdelt_chk.c: New file.
76045         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76046         * wcsmbs/test-wmemcmp.c: Likewise.
76047         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76048         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76050 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76052         * string/Makefile (strop-tests): Add memcmp.
76053         * string/test-wmemcmp.c: New file.
76054         * string/test-memcmp.c: Add wmemcmp support.
76056 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76058         [BZ #13153]
76059         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76060         2011-07-19 change.
76062         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76063         garbage value in a __mach_port_mod_refs call in the cases of the
76064         task-self and thread-self ports.
76066 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76068         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76070 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76072         * elf/dl-load.c (lose): Check for non-null L.
76074 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76076         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76078         * elf/dl-libc.c (dlerror_run): Pass back error code from
76079         dl_catch_error.
76081         [BZ #13123]
76082         * elf/dl-load.c (lose): Free l_origin if it is valid.
76084         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76085         names.
76086         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76087         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76088         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76089         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76090         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76091         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76093 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76095         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76096         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76097         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76098         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76099         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76100         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76101         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76102         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76103         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76104         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76106 2011-08-15  Alan Modra  <amodra@gmail.com>
76108         [BZ #13092]
76109         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76110         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76111         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76112         ppc_mcount to static-only-routines.
76113         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76114         __mcount_internal.
76115         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76116         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76118 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76120         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76121         for finite and infinity parameters.
76123 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76125         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76126         and add nop instructions for throughput optimization.
76127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76129 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76132         aligned copy for power7 with vector-scalar instructions.
76133         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76135 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76138         AVX check.
76140 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76142         [BZ #13144]
76143         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76144         last change.
76146 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76148         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76149         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76150         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76152         clock_gettime.
76154 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76156         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76157         Forgot to demangle the pointer.
76159         * sysdeps/i386/sysdep.h: Define atom_text_section.
76160         * sysdeps/x86_64/sysdep.h: Likewise.
76161         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76162         section with atom_text_section.
76163         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76164         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76165         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76166         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76167         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76169         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76170         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76171         already be defined.  Change to take two parameters and don't assign
76172         result to variable.  Adjust all users.
76173         Define INTERNAL_GETTIME if not already defined.
76174         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76175         call.
76176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76177         HAVE_CLOCK_GETTIME_VSYSCALL.
76178         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76181         gettimeofday vsyscall, just use time.
76183 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76186         <errno.h>.
76188 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76190         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76191         syscall on x86-64.
76192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76193         syscall.
76194         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76196         syscall if possible.
76198 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76200         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76201         e_ident.  Don't pass to find_mapsXX.
76202         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76204 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76207         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76208         * sysdeps/x86_64/multiarch/strchr.S: Update.
76209         Check bit_slow_BSF bit.
76210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76211         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76212         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76214 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76216         [BZ #13134]
76217         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76218         before glibc 2.15.
76219         (tryshell): Define.
76220         (__spawni): Change last parameter to be flag.  Test
76221         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76222         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76223         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76224         * posix/spawni.c: Likewise.
76225         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76226         * posix/spawnp.c: Likewise.  Change normal version to use
76227         SPAWN_XFLAGS_USE_PATH.
76228         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76229         SPAWN_XFLAGS_TRY_SHELL.
76231         [BZ #13150]
76232         * posix/glob.h: Remove gcc 1.x support.
76234         [BZ #13068]
76235         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76237 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76240         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76241         strrchr-sse2-bsf
76242         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76243         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76244         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76246         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76247         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76249 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76251         * sysdeps/x86_64/wcscmp.S: New file.
76253         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76254         wcscmp-c wcscmp-sse2
76255         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76256         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76257         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76258         * wcsmbs/wcscmp.c: Allow renaming.
76260 2011-09-05  David S. Miller  <davem@davemloft.net>
76262         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76263         stack slot, rather than the struct return pointer slot.
76264         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76265         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76267         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76269 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76271         * po/ja.po: Update from translation team.
76273         [BZ #13144]
76274         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76275         kernel in 64-bit binaries.
76277 2011-09-01  David S. Miller  <davem@davemloft.net>
76279         * elf/elf.h (HWCAP_SPARC_*): Move to..
76280         * sysdeps/sparc/sysdep.h: this new file and add new values.
76281         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76282         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76283         _DL_HWCAP_COUNT to 24.
76284         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76285         entries.
76286         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76287         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76288         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76290         instead of magic constants.
76291         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76293 2011-08-31  David S. Miller  <davem@davemloft.net>
76295         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76297         Reimplement to do errno handling inline.
76298         (SYSCALL_ERROR_HANDLER): New macro.
76299         (__SYSCALL_STRING): Do not do errno handling in asm.
76300         (__CLONE_SYSCALL_STRING): Delete.
76301         (__INTERNAL_SYSCALL_STRING): Delete.
76302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76303         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76304         (PSEUDO): Reimplement to do errno handling inline.
76305         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76306         (SYSCALL_ERROR_HANDLER): New macro.
76307         (__SYSCALL_STRING): Do not do errno handling in asm.
76308         (__CLONE_SYSCALL_STRING): Delete.
76309         (__INTERNAL_SYSCALL_STRING): Delete.
76310         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76311         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76312         i386.
76313         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76314         (inline_syscall*): Add 'err' argument.
76315         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76316         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76317         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76318         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76320         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76321         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76323 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76325         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76327 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76329         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76330         directive.
76332 2011-08-24  David S. Miller  <davem@davemloft.net>
76334         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76336 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76338         * elf/Makefile: Add rules to build and run unload8 test.
76339         * elf/unload8.c: New file.
76340         * elf/unload8mod1.c: New file.
76341         * elf/unload8mod1x.c: New file.
76342         * elf/unload8mod2.c: New file.
76343         * elf/unload8mod3.c: New file.
76345         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76346         it wasn't used.
76348 2011-08-23  David S. Miller  <davem@davemloft.net>
76350         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76351         subtract stack bias.
76352         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76353         %sp not %fp in calculations.
76354         (_JMPBUF_UNWINDS_ADJ): Likewise.
76356         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76357         (aio_suspend): Call it to force an exception region around the
76358         AIO_MISC_WAIT() invocation.
76360 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76362         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76363         backslash.
76365 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76367         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76368         protection macro.
76369         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76370         and <dl-machine.h>.
76371         (Elf64_FuncDesc): Remove.
76373 2011-08-22  David S. Miller  <davem@davemloft.net>
76375         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76376         sigaltstack check, add missing cfi directives.
76377         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76378         missing cfi directives, and sigaltstack handling.
76380 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76382         [BZ #11724]
76383         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76384         object is seen twice.
76385         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76387         * elf/Makefile (distribute): Add tst-initorder2.c.
76388         (tests): Add tst-initorder2.
76389         (modules-names): Add tst-initorder2a tst-initorder2b
76390         tst-initorder2c tst-initorder2d.  Add rules to build them.
76391         ($(objpfx)tst-initorder2.out): New rule.
76392         * elf/tst-initorder2.c: New file.
76393         * elf/tst-initorder2.exp: New file.
76395 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76397         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76399         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76400         dependencies back to end of function.
76402         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76403         $(elfobjdir)/ld.so.
76405 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76407         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76408         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76410         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76411         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76412         of __vdso_gettimeofday.
76413         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76414         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76415         attribute_hidden.
76416         (_libc_vdso_platform_setup): Remove initialization of
76417         __vdso_gettimeofday and __vdso_time.
76419 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76421         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76422         and fgetc_unlocked.
76423         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76424         getc_unlocked.
76426         * elf/dl-open.c (add_to_global): Report additions to the global scope
76427         for LD_DEBUG=scopes.
76428         (dl_open_worker): Also print scope of newly loaded dependencies.
76429         (_dl_show_scope): Indicate if there is no scope.
76431         [BZ #13114]
76432         * stdio-common/Makefile (tests): Add bug24.
76433         * stdio-common/bug24.c: New file.
76435 2011-08-19  Andreas Jaeger  <aj@suse.de>
76437         [BZ #13114]
76438         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76439         non-existant file when using close-on-exec mode.
76441 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76444         the very first instruction.
76446         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76447         the CFI state in the end.
76448         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76449         inclusion of dl-trampoline.h.
76450         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76452 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76454         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76455         expectations for long double.
76457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76458         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76460 2011-08-14  David S. Miller  <davem@davemloft.net>
76462         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76463         artificual limit depends upon the system page size.
76465 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76467         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76468         * resolv/Makefile: Define CFLAGS-libresolv.
76470 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76472         * nss/makedb.c (compute_tables): Make variables used in nested
76473         function static.
76475 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76477         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76478         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76479         if buffer was too small.
76481         * elf/pldd.c (main): Attach to all threads in the process.
76482         Rewrite /proc handling to use *at functions.
76484 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76486         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76487         specifies first scope to show.
76488         (dl_open_worker): Update callers.  Move printing scope of new
76489         object to before the relocation.
76490         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76491         * sysdeps/generic/ldsodefs.h: Update declaration.
76493         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76494         string for the scope number.
76496 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76498         * nscd/servicescache.c (cache_addserv): Make sure written is always
76499         initialized.
76501 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76503         * sysdeps/i386/i486/bits/atomic.h
76504         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76505         statement expression, so as to suppress "set but not used" warning.
76506         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76508         * string/strncat.c (STRNCAT): Use prototype definition.
76510         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76511         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76512         -Iprograms here.
76513         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76514         (localedef-modules): Add localedef.
76515         (locale-modules): Add locale.
76517         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76518         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76519         to avoid a warning.
76521 2011-08-14  David S. Miller  <davem@davemloft.net>
76523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76524         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76526 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76528         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76529         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76530         * elf/rtld.c (dl_main): Set l_name of vDSO.
76531         Call _dl_show_scope when DL_DEBUG_SCOPES.
76532         (process_dl_debug): Recognize scopes flag and also set it for all.
76533         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76534         Declare _dl_show_scope.
76536         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76537         (do_dlopen): Pass caller_dlopen to dl_open.
76538         (__libc_dlopen_mode): Initialize caller_dlopen.
76540         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76541         of libc.  Make tolower call locale-independent.  Optimize a bit by
76542         using isdigit instead of isalnum.
76543         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76545 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76547         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76548         was a dependency or dynamically loaded.
76550 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76552         * intl/l10nflist.c: Allow architecture-specific pop function.
76553         * sysdeps/x86_64/l10nflist.c: New file.
76555         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76556         classification.
76558 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76560         * include/dirent.h: Add libc_hidden_proto for scandirat and
76561         scandirat64.  Don't declare __scandirat64.
76562         * dirent/scandirat.c: Add libc_hidden_def.
76563         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76564         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76566 2011-08-10  David S. Miller  <davem@davemloft.net>
76568         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76569         enum.
76570         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76571         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76572         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76574 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76576         * Versions.def [libc]: Add GLIBC_2.15.
76577         * dirent/Makefile (routines): Add scandirat and scandirat64.
76578         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76579         GLIBC_2.15.
76580         * dirent/dirent.h: Declare scandirat and scandirat64.
76581         * dirent/scandirat.c: New file.
76582         * dirent/scandirat64.c: New file.
76583         * sysdeps/wordsize-64/scandirat.c: New file.
76584         * sysdeps/wordsize-64/scandirat64.c: New file.
76585         * dirent/opendir.c: Define opendirat.
76586         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76587         using scandirat.
76588         * dirent/scandir64.c: Adjust for scandir.c change.
76589         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76590         __scandirat64, and __scandir_cancel_handler.
76591         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76592         additional parameter and use openat instead of open (outside of ld.so).
76593         Add new __opendir as wrapper around __opendirat.
76594         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76595         here without requiring old scandirat implementation.
76597 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76599         * dirent/scandir.c (cancel_handler): Renamed to
76600         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76601         defined.  Adjust users.
76602         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76603         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76605 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76607         * string/test-string.h (IMPL): Use __STRING to expand name and then
76608         stringify it.
76610         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76611         of cleanups.
76613 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76615         * string/Makefile: Update.
76616         (strop-tests): Append strncat.
76617         * string/test-wcscmp.c: New file.
76618         New comprehensive test for wcscmp.
76619         * string/test-strcmp.c: Update.
76620         (WIDE): New define.
76622 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76624         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76625         line.
76627 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76630         encoding to ACE if AI_IDN.
76632 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76634         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76635         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76637 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76639         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76640         Fix overflow bug in strncat.
76641         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76643         * string/test-strncat.c: Update.
76644         Add new tests for checking overflow bugs.
76646 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76649         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76650         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76651         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76652         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76653         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76654         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76655         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76656         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76659         (USE_AS_STRCAT): Define.
76660         Add strcat and strncat support.
76661         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76663 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76665         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76666         __n bigger than INT_MAX+1.
76667         (__strncmp_g): Likewise.
76669 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76671         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76672         * libio/stido.h: Likewise.
76674         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76675         (AF_NFC): Define.
76676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76677         (AF_NFC): Define.
76679         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76680         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76681         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76682         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76685         [BZ #13021]
76686         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76687         installed.
76689         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76690         typo.
76691         (_dl_x86_64_save_sse): Likewise.
76693 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76696         OSXSAVE.
76697         (_dl_x86_64_save_sse): Likewise.
76699         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76701         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76703 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76706         change.
76707         (_dl_x86_64_save_sse): Use correct AVX check.
76709 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76712         bug in strncpy/strncat.
76713         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76715 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76717         * string/tester.c (test_strcat): Add tests for different alignments
76718         of source and destination.
76719         (test_strncat): Likewise.
76721 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76723         [BZ #12852]
76724         * posix/glob.c (glob): Check passed in values before using them in
76725         expressions to avoid some overflows.
76726         (glob_in_dir): Likewise.
76728         [BZ #13007]
76729         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76730         check for AVX enablement so that we don't crash with old kernels and
76731         new hardware.
76732         * elf/tst-audit4.c: Add same checks here.
76733         * elf/tst-audit6.c: Likewise.
76735         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76737 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76739         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76741 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76743         * po/cs.po: Update from translation team.
76744         * po/bg.po: Likewise.
76746 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76748         * misc/sys/cdefs.h: Add support for const attribute.
76749         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76750         to gnu_dev_{major,minor,makedev} functions.
76752 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76754         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76756 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76758         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76759         strlen results.
76761 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76764         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76765         register in order to avoid conflicts with the soft frame pointer
76766         being held in r11 when necessary.
76767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76768         (INTERNAL_VSYSCALL_NCS): Likewise.
76770 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76772         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76773         * elf/dl-fini.c (_dl_fini): Adjust caller.
76774         * elf/dl-close.c (_dl_close_worker): Likewise.
76775         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76777 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76779         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76780         "aux_cache->nlibs < 0".
76782         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76783         in the reload-count case.
76785 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76788         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76789         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76790         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76791         * sysdeps/x86_64/multiarch/strcat.S: New file.
76792         * sysdeps/x86_64/multiarch/strncat.S: New file.
76793         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76794         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76795         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76796         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76798         (USE_AS_STRCAT): Define.
76799         Add strcat and strncat support.
76800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76802         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76803         * string/strncat.c: Update.
76804         (USE_AS_STRNCAT): Define.
76805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76806         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76807         and i7.
76808         * sysdeps/x86_64/multiarch/init-arch.h
76809         (bit_Prefer_PMINUB_for_stringop): New.
76810         (index_Prefer_PMINUB_for_stringop): Likewise.
76811         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76812         bit_Prefer_PMINUB_for_stringop.
76814 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76816         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76817         buffer64.
76818         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76819         of casting of buffer.
76820         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76821         buffer32 and buffer64.
76822         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76823         writes instead of casting of buffer.
76824         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76825         buffer32.
76826         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76827         casting of buffer.
76829 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76831         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76833 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76835         * nscd/nscd.c (termination_handler): Don't do anything for a database
76836         if it has not yet been initialized.
76838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76840         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76842 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76844         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76846 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76848         * po/nl.po: Update from translation team.
76849         * po/sv.po: Likewise.
76851 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76853         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76854         now disallowed by GCC.
76856         * configure.in (use-default-link): Default to yes if a test -shared
76857         link meets our qualifications.
76858         * configure: Regenerated.
76860         * config.make.in (output-format): New variable.
76861         * configure.in: Check for ld --print-output-format support.
76862         * configure: Regenerated.
76863         * Makerules ($(common-objpfx)format.lds)
76864         [$(output-format) != unknown]: Just use $(output-format),
76865         instead of the linker-script munging.
76867 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76869         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76870         of $(common-objpfx)shlib.lds.
76871         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76873         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76874         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76876         * configure.in (-z relro check): Adjust test code to add a large
76877         writable data section after it.
76878         * configure: Regenerated.
76880 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76882         * configure.in (-z relro check): Fix test code to make the variable
76883         truly const.
76884         * configure: Regenerated.
76886 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76888         * nscd/nscd.h (struct traced_file): Define.
76889         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76890         elements.  Add traced_files.
76891         (inotify_fd): Declare.
76892         (register_traced_file): Declare.
76893         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76894         (inotify_fd): Export.
76895         (resolv_conf_descr): Remove.
76896         (nscd_init): Move inotify descriptor creation to main.
76897         Don't register files for notification here.
76898         (register_traced_file): New function.
76899         (invalidate_cache): Don't use reset_res to determine whether to call
76900         res_init, go through the list of registered files.
76901         (main_loop_poll): The inotify descriptors are now stored in the
76902         structures for the traced files.
76903         (main_loop_epoll): Likewise.
76904         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76905         to __nss_disable_nscd.
76906         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76907         for a database anymore.  Check the records for all the registered
76908         files instead.
76909         * nss/Makefile (libnss_files-routines): Add files-init.
76910         (libnss_db-routines): Add db-init.
76911         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76912         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76913         * nss/nss_db/db-init.c: New file.
76914         * nss/nss_files/files-init.c: New file.
76915         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76916         __nss_lookup_function.
76917         (__nss_lookup_function): Call nss_load_library.
76918         (nss_load_all_libraries): New function.
76919         (__nss_disable_nscd): Take parameter with callback function for files
76920         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76921         used for the cached services.
76922         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76923         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76924         options for features to all the files in nscd.
76926         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76928 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76930         * csu/elf-init.c (__libc_csu_init): Comment typo.
76932 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76934         * po/pl.po: Update from translation team.
76935         * po/ja.po: Likewise.
76936         * po/ru.po: Likewise.
76937         * po/ko.po: Likewise.
76938         * po/fr.po: Likewise.
76940 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76942         * configure.in (.ctors/.dtors header and trailer check):
76943         Use an empirical test on a built program.
76944         * configure: Regenerated.
76946         * configure.in (-z relro check): Use an empirical test on a built DSO.
76947         Detect, but do not require, on ia64.
76948         * configure: Regenerated.
76950         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76951         Update tests that use readelf to use $READELF instead.
76952         * configure: Regenerated.
76954 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76956         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76957         if the result is not used.
76959 2011-07-05  Andreas Jaeger  <aj@suse.de>
76961         [BZ#9696]
76962         * stdlib/tst-strtod.c: Add testcase.
76964 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76966         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76967         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76968         The latter has a higher limit.  Take additional parameter to pass to
76969         the new function.
76970         (__pathconf): Pass file to __statfs_link_max.
76971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76972         __statfs_link_max.
76973         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76974         __statfs_link_max.
76976         [BZ #12868]
76977         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76978         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76979         Handle Lustre.
76980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76981         (__statfs_filesize_max): Likewise.
76982         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76984 2011-07-05  Andreas Jaeger  <aj@suse.de>
76986         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76988 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76990         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76991         `status' variable.
76992         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76993         Likewise.
76995 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76997         * Makefile (strop-tests): Add strncat.
76998         * string/test-strncat.c: New file.
77000 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77002         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77004 2011-06-21  Andreas Jaeger  <aj@suse.de>
77006         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77007         Copy rule from iconvdata/Makefile.
77009 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77011         [BZ #12922]
77012         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77013         but no long options are defined, just return 'W'.
77015 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77017         [BZ #9696]
77018         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77020 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77022         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77023         netgroups to read.
77024         (innetgr): Likewise.
77026 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77028         * config.make.in (install_root): Default to $(DESTDIR).
77030 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77032         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77034 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77036         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77038         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77039         containing directory rather than embedding absolute directory names.
77041         * scripts/check-local-headers.sh: Rewritten using awk.
77042         Match by word, not by line.  Print error messages for matches.
77043         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77045         * Makerules [shlib-lds-flags empty]:
77046         ($(common-objpfx)libc_pic.opts): New target.
77047         ($(common-objpfx)libc_pic.os.clean): New target.
77048         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77050         * config.make.in (OBJCOPY): New variable.
77051         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77052         * configure: Regenerated.
77054         * config.make.in (use-default-link): New variable.
77055         * configure.in (use_default_link): Grok --with-default-link to set it.
77056         * configure: Regenerated.
77057         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77058         (shlib-lds, shlib-lds-flags): Define to empty.
77060         * Makerules (shlib-lds): New variable.
77061         (shlib-lds-flags): New variable.
77062         (build-shlib, build-moduile, build-module-asneeded): Use it.
77063         ($(common-objpfx)libc.so): Use $(shlib-lds).
77064         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77065         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77067         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77068         DT_FLAGS/DT_FLAGS_1 with zero flags.
77070         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77071         linker script munging.
77073 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77075         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77076         as 128-bit value.
77077         * crypt/sha512.c (sha512_process_block): Perform total addition using
77078         128-bit if possible.
77079         (__sha512_finish_ctx): Likewise.
77080         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77081         as 64-bit value.
77082         * crypt/sha256.c (SWAP64): Define.
77083         (sha256_process_block): Perform total addition using 64-bit if
77084         possible.
77085         (__sha256_finish_ctx): Likewise.
77087 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77089         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77090         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77091         * nscd/hstcache.c (cache_addhst): Likewise.
77092         * nscd/grpcache.c (cache_addgr): Likewise.
77093         * nscd/aicache.c (addhstaiX): Likewise.
77094         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77096 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77098         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77100         * nscd/hstcache.c (cache_addhst): Likewise.
77101         * nscd/grpcache.c (cache_addgr): Likewise.
77102         * nscd/aicache.c (addhstaiX): Likewise.
77104 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77106         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77107         domain only when needed.
77109 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77112         is always restored.
77114 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77116         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77117         are re-adding the entry.
77118         * nscd/servicescache.c (cache_addserv): Likewise.
77120 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77122         * sysdeps/generic/dl-irel.h: fix protection against multiple
77123         inclusions.
77124         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77126 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77128         [BZ #12935]
77129         * malloc/memusage.sh: Fix quoting in message.
77130         * debug/xtrace.sh: Likewise.
77132         * configure.in: Remove support for --experimental-malloc option, make
77133         it the default.
77134         * config.make.in: Likewise.
77135         * malloc/Makefile: Likewise.
77137 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77139         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77140         two-byte characters.
77142 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77144         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77145         AC_CACHE_CHECK invocation.
77146         * configure: Regenerated.
77148         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77150 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77152         [BZ #12350]
77153         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77154         bit from old_res_options.
77156         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77158         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77159         value type for setfct.
77161 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77164         __gettimeofday instead of gettimeofday.
77166 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77168         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77170 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77172         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77174         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77175         info.
77177 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77180         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77181         strcpy-sse2-unaligned strncpy-sse2-unaligned
77182         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77183         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77184         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77185         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77186         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77187         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77188         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77189         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77190         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77191         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77192         (STRCPY): Support SSE2 and SSSE3 versions.
77194 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77196         [BZ #12874]
77197         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77198         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77199         kernels which artificially limit size of requests.
77201 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77204         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77205         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77206         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77207         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77208         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77209         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77210         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77211         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77213         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77214         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77215         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77216         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77217         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77219         Enable unaligned load optimization for Intel Core i3, i5 and i7
77220         processors.
77221         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77222         Define.
77223         (index_Fast_Unaligned_Load): Define.
77224         (HAS_FAST_UNALIGNED_LOAD): Define.
77226 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77228         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77230 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77232         [BZ #12907]
77233         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77234         until it is clear that the information is realy needed.
77235         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77237 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77241 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77244         /sys/devices/system/cpu/online if it is usable.
77246         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77247         reading the information from the /proc filesystem to once a second.
77249 2011-06-21  Andreas Jaeger  <aj@suse.de>
77251         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77252         NULL after inclusion of kernel headers.
77254 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77256         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77257         calls to internal_setent.
77259         [BZ #12885]
77260         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77261         addresses using gethostbyname4_r ignore IPv4 addresses.
77263         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77264         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77266         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77268 2011-06-20  David S. Miller  <davem@davemloft.net>
77270         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77271         inclusions.
77272         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77274         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77275         (elf_irel): Use it.
77276         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77277         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77278         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77279         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77280         * sysdeps/x86_64/dl-irel.h: Likewise.
77282         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77283         * elf/dl-sym.c: Likewise.
77285 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77287         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77288         need to dereference resplen2.
77290 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77292         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77294 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77296         * Makeconfig: Define vardbdir and inst_vardbdir.
77297         * nss/Makefile: Add rules to install db-Makefile.
77299         * nss/nss_db/db-XXX.c: Cleanup.
77301         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77302         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77303         GLIBC_PRIVATE.
77304         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77305         * nss/makedb.c: Implement -g option to specify that value strings
77306         are generated and should not be added to table iterated over for
77307         get*ent calls.
77308         * nss/nss_db/db-initgroups.c: New file.
77310         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77311         interface.
77313         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77314         (internal_getgrouplist): Adjust to name change.
77315         Update use_initgroups_entry if this is not the first call.
77316         * nss/databases.def: Add initgroups entry.
77318         * nss/makedb.c (compute_tables): Check result of multiple hash table
77319         sizes to minimize maximum chain length.
77321 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77323         * Versions.def: Add entry for libnss_db.
77324         * shlib-versions: Likewise.
77325         * nss/Makefile: Add rules to build libnss_db.
77326         * nss/Versions: Add libnss_db information.  Organize libnss_files
77327         entries better.
77328         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77329         makedb progra.  Some minor improvements to generate smaller files.
77330         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77331         here from...
77332         * nss/makedb.c: ...here.
77333         Improve database format to be smaller and require less memory at
77334         runtime.
77335         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77336         db anymore.
77337         * nss/nss_db/db-netgrp.c: Likewise.
77338         * nss/nss_db/db-open.c: Likewise.
77339         * nss/nss_files/flies-XXX.x: Adjust comments.
77340         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77341         * nss/nss_files/files-grp.c: Likewise.
77342         * nss/nss_files/files-hosts.c: Likewise.
77343         * nss/nss_files/files-network.c: Likewise.
77344         * nss/nss_files/files-proto.c: Likewise.
77345         * nss/nss_files/files-pwd.c: Likewise.
77346         * nss/nss_files/files-rpc.c: Likewise.
77347         * nss/nss_files/files-service.c: Likewise.
77348         * nss/nss_files/files-sgrp.c: Likewise.
77349         * nss/nss_files/files-spwd.c: Likewise.
77350         * nss/nss_db/db-alias.c: Removed.
77351         * nss/nss_db/dummy-db.h: Removed.
77353 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77355         * nss/makedb.c: Rewritten to not use database library.
77356         * nss/Makefile: Update to build new makedb program.
77358 2011-06-14  Andreas Jaeger  <aj@suse.de>
77360         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77361         memset declaration.
77363 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77366         tmpbuf.
77368 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77370         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77371         * elf/Makefile ($(objpfx)ld.so): Likewise.
77373         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77374         Don't list ld.so twice in dependencies.
77376         * posix/bug-regex31.c: Include <stdlib.h>.
77378         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77380         * nis/nss_compat/compat-spwd.c
77381         (getspent_next_nss_netgr): Remove unused variable.
77382         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77384         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77385         nonmembers" output to use the right array.
77387         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77389         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77391         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77392         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77393         * catgets/gencat.c (read_input_file): Likewise.
77394         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77396         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77397         variable definition inside #if's controlling its use.
77399         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77401         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77403         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77405         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77406         unreachable code.
77408         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77410         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77411         * configure: Regenerated.
77413         * Makerules: Revert last change.
77414         * elf/Makefile: Likewise.
77416 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77418         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77419         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77420         (reloc-link): Likewise.
77422 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77424         * elf/Makefile: Add rules to build pldd.
77425         * elf/pldd.c: New file.
77426         * elf/pldd-xx.c: New file.
77428 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77430         * version.h: Update for 2.15 development version.
77432 2011-06-07  David S. Miller  <davem@davemloft.net>
77434         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77435         ifuncs.
77436         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77437         elf_machine_lazy_rel): Likewise.
77438         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77440         elf_machine_lazy_rel): Likewise.
77441         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77442         dl_hwcap via passed in argument.
77443         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77444         Likewise.
77446 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77448         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77450 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77452         [BZ #12849]
77453         * manual/fdl-1.1.texi: New file, verbatim from:
77454         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77455         * manual/lgpl-2.1.texi: New file, verbatim from:
77456         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77457         * manual/Makefile (licenses): New variable, list those new file names.
77458         (texis): Use it.
77459         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77461         * manual/fdl.texi: File removed.
77462         * manual/lesser.texi: File removed.
77463         * manual/libc.texinfo (Copying, Documentation License):
77464         Use new @include file names, put @appendix directive before @include.
77466 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77468         [BZ #12841]
77469         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77470         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77471         (mq_open): Add __NTH.
77473 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77476         Assume Intel Core i3/i5/i7 processor if AVX is available.
77478 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77481         typo.
77483 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77485         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77486         memory.  Use alloca_account.  Fix memory leak when retrying.
77488 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77490         * version.h (RELEASE): Bump for 2.14 release.
77491         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77493         * config.make.in (RANLIB): Remove entry.
77495 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77497         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77498         (libc.pot): Work around missing support for .ksh extension in xgettext.
77500         [BZ #12684]
77501         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77502         if both request failed.
77503         (send_dg): In case of server errors clear resplen or *resplen2.
77505         [BZ #12454]
77506         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77507         when there are multiple maps.
77508         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77509         (_dl_fini): Remove test here.
77511         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77513 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77515         [BZ #12350]
77516         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77517         bit from old_res_options.
77518         (gaih_inet): Likewise.
77520         [BZ #11099]
77521         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77522         as signed.
77524         * resolv/res_init.c (res_setoptions): Make the code more compact.
77526         [BZ #11558]
77527         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77528         set RES_USEVC.
77530         [BZ #11634]
77531         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77533         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77535         [BZ #11781]
77536         * malloc/malloc.h: Declare malloc hook variables as volatile.
77538         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77539         in last patch.
77541         [BZ #11799]
77542         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77543         raise in the comment.
77544         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77546         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77548 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77550         [BZ #12811]
77551         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77552         grow the buffers more if it already has to be sufficient.
77553         (build_wcs_upper_buffer): Likewise.
77554         * posix/regexec.c (check_matching): Likewise.
77555         (clean_state_log_if_needed): Likewise.
77556         (extend_buffers): Don't enlarge buffers beyond size of the input
77557         buffer.
77558         Patches mostly by Emil Wojak <emil@wojak.eu>.
77559         * posix/bug-regex32.c: New file.
77560         * posix/Makefile (tests): Add bug-regex32.
77562         * locale/findlocale.c (_nl_find_locale): Return right away if
77563         _nl_explode_name failed.
77564         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77566         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77568         * debug/xtrace.sh: Unify messages.
77569         * malloc/memusage.sh: Likewise.
77571         [BZ #12813]
77572         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77573         time symbol from vDSO.  Substitute with vsyscall if not available.
77574         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77575         __vdso_time.
77577         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77578         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77579         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77580         Add sendmmsg and internal_sendmmsg.
77581         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77582         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77583         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77585         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77586         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77587         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77589 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77591         [BZ #12813]
77592         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77593         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77594         available.
77595         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77596         __vdso_getcpu.
77598         [BZ #12814]
77599         * iconvdata/Makefile (tests): Add bug-iconv9.
77600         * iconvdata/bug-iconv9.c: New file.
77602 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77604         [BZ #12814]
77605         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77607 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77609         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77610         (struct user_regs_struct): Change intcs field back to cs.
77612 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77614         * po/ja.po: Update from translation team.
77616 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77618         [BZ #12795]
77619         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77620         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77622 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77624         * stdlib/longlong.h: Update from GCC.
77626 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77628         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77629         parameter name.
77630         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77631         Add parameter name.
77632         (__sysconf): Pass it down.
77634 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77636         [BZ #12671]
77637         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77638         some situations.
77639         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77640         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77641         add in in __libc_use_alloca calls.  Adjust callers.
77642         (glob): Use malloc in some situations.
77644         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77645         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77646         pltexit.
77648 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77650         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77651         and CLOCK_BOOTTIME_ALARM.
77653         [BZ #12782]
77654         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77655         is returned.
77657         * string/_strerror.c (__strerror_r): Print negative errors as signed
77658         numbers.
77660         [BZ #12777]
77661         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77662         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77663         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77665         * configure.in: Fix typo in redirection and correct removal of test
77666         files in two cases.
77668         [BZ #12788]
77669         * locale/setlocale.c (new_composite_name): Fix test to check for
77670         identical name of all categories.
77672         [BZ #12792]
77673         * libio/filedoalloc.c (local_isatty): New function.
77674         (_IO_file_doallocate): Use local_isatty.
77675         * stdio-common/perror.c (perror): In case a new stream is used
77676         forward the stream error.
77677         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77678         error flag.
77680 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77682         [BZ #11884]
77683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77684         alloca.
77685         * include/alloca.h (extend_alloca_account): Define.
77687         [BZ #11857]
77688         * posix/regex.h: Fix comments with documentation of user-accessible
77689         fields after compilation and describe correct free'ing of pattern
77690         after re_compile_pattern.
77691         Patch by Reuben Thomas <rrt@sc3d.org>.
77693 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77695         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77696         and -mno-altivec to prevent the compiler from using Altivec and/or
77697         VSX instructions when the corresponding registers are not available.
77699 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77701         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77703 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77705         * libio/freopen.c (freopen): Use __dup2, not dup2.
77706         * libio/freopen64.c (freopen64): Likewise.
77708 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77710         [BZ #12775]
77711         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77712         * math/Makefile (tests): Add test-powl.
77713         (CFLAGS-test-powl.c): Define.
77714         * math/test-powl.c: New file.
77716 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77718         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77720 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77722         [BZ #11837]
77723         * iconvdata/gb18030.c: Update to GB18020-2005.
77725 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77727         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77728         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77729         Patch by Aharon Robbins <arnold@skeeve.com>.
77731         [BZ #11892]
77732         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77733         on the stack.
77735         [BZ #11895]
77736         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77737         through underflows.
77739         [BZ #12766]
77740         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77741         point to strings before performing equality test for error_one_per_line
77742         mode.
77744         [BZ #11697]
77745         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77747         [BZ #11820]
77748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77749         (struct user_fpregs_struct): Avoid __uint*_t types.
77751         [BZ #6420]
77752         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77753         symbol info.  Use it instead of calling _dl_addr locally.
77754         (lock_and_info): New function.
77755         (tr_freehook): Call lock_and_info and pass symbol info as additional
77756         parameter to tr_where.
77757         (tr_mallochook): Likewise.
77758         (tr_reallochook): Likewise.
77759         (tr_memalignhook): Likewise.
77761         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77762         used and couldn't be at all thread-safe.
77764 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77766         * libio/freopen.c (freopen): Don't close old file descriptor
77767         before the new one is opened.  Instead dup the new file descriptor
77768         to the old one after the new stream is created.
77769         * libio/freopen64.c (freopen64): Likewise.
77770         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77771         * libio/fileops.c (_IO_new_file_close_it): Handle new
77772         _IO_FLAGS2_NOCLOSE flag.
77773         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77774         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77775         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77776         _IO_FLAGS2_NOCLOSE flag.
77777         * include/unistd.h: Add hidden_proto for dup3.
77778         Define __have_dup3.
77779         * io/dup3.c: Define hidden symbol.
77780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77782         [BZ #7101]
77783         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77784         when an incomplete long option is used.
77785         * posix/tst-getopt_long1.c: New file.
77786         * posix/Makefile (tests): Add tst-getopt_long1.
77788         [BZ #10138]
77789         * scripts/config.guess: Update from autoconf-2.68.
77790         * scripts/config.sub: Likewise.
77792         [BZ #10157]
77793         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77794         tests into ...
77795         (has_cpuclock): ...this.  New function.
77796         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77797         macro here based on has_cpuclock code.
77799         [BZ #10149]
77800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77801         First byte (not low byte) is now always NUL.
77802         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77805         Use non-cancelable interfaces.
77807         [BZ #9809]
77808         * locale/iso-639.def: Add entry for Sorani.
77810         [BZ #11901]
77811         * include/stdlib.h: Move include protection to the right place.
77812         Define abort_msg_s.  Declare __abort_msg with it.
77813         * stdlib/abort.c (__abort_msg): Adjust type.
77814         * assert/assert.c (__assert_fail_base): New function.  Majority
77815         of code from __assert_fail.  Allocate memory for __abort_msg with
77816         mmap.
77817         (__assert_fail): Now call __assert_fail_base.
77818         * assert/assert-perr.c: Remove bulk of implementation.  Use
77819         __assert_fail_base.
77820         * include/assert.hL Declare __assert_fail_base.
77821         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77822         mmap.
77823         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77825 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77827         [BZ #11952]
77828         [BZ #12453]
77829         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77830         until all modules are registered in the DTV.
77831         * elf/Makefile: Add rules to build and run tst-tls19.
77832         * elf/tst-tls19.c: New file.
77833         * elf/tst-tls19mod1.c: New file.
77834         * elf/tst-tls19mod2.c: New file.
77835         * elf/tst-tls19mod3.c: New file.
77836         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77838         [BZ #12083]
77839         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77840         correctly.
77842         [BZ #12601]
77843         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77844         two-byte sequence errors.
77845         * iconvdata/Makefile (tests): Add bug-iconv8.
77846         * iconvdata/bug-iconv8.c: New file.
77848         [BZ #12626]
77849         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77850         buf2 definition.
77852         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77854         [BZ #12432]
77855         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77856         (dummy_getcfa): New function.
77857         (init): Get _Unwind_GetCFA address, use dummy if not found.
77858         (backtrace_helper): In recursion check, also check whether CFA changes.
77859         (__backtrace): Completely initialize arg.
77861         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77862         storing incomplete byte sequence in state object.  Avoid testing for
77863         guaranteed too small input if we know there is enough data available.
77865 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77867         * Makeconfig (+link-pie): Indent.
77868         * Rules (binaries-pie): Define if $(have-fpie) and
77869         $(build-shared).
77870         (binaries-shared): Also filter out $(binaries-pie).
77871         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77872         * nscd/Makefile (others-pie): Add nscd.
77873         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77874         ($(objpfx)nscd): Remove command override.
77875         * login/Makefile (others-pie): Add pt_chown.
77876         ($(objpfx)pt_chown): Remove command override.
77877         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77878         remove command overrides.
77880 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77882         * libio/tst_putwc.c: Fix error messages.
77884         [BZ #12724]
77885         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77886         currently writing and seek to current position when not.
77887         * libio/Makefile (tests): Add bug-fclose1.
77888         * libio/bug-fclose1.c: New file.
77890 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77892         [BZ #12511]
77893         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77894         don't set DF_1_NODELETE here.
77895         (do_lookup_x): When entering new entry test for copy relocation
77896         and if necessary set DF_1_NODELETE flag.
77897         * elf/tst-unique4.cc: New file.
77898         * elf/tst-unique4.h: New file.
77899         * elf/tst-unique4lib.cc: New file.
77900         * elf/Makefile: Add rules to build and run tst-unique4.
77901         Patch by Piotr Bury <pbury@goahead.com>.
77903 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77905         [BZ #12052]
77906         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77908         [BZ #12625]
77909         * misc/mntent_r.c (addmntent): Flush the stream after the output
77911         [BZ #12393]
77912         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77913         (is_trusted_path_normalize): Skip initial colon.  Append slash
77914         to empty buffer.  Duplicate is_trusted_path code but allow
77915         constructed patch to be prefix.
77916         (is_dst): Allow $ORIGIN followed by /.
77917         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77918         Correct testing of result of is_trusted_path_normalize
77919         (decompose_rpath): Fix warning.
77921 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77923         [BZ #11257]
77924         * grp/initgroups.c (internal_getgrouplist): When we found the service
77925         list through the initgroups entry in nsswitch.conf do not always
77926         continue on a successful lookup.  Don't always use the
77927         __nss_group_database value if it is set.
77928         * nss/nsswitch.conf (initgroups): Change action for successful db
77929         lookup to continue for compatibility.
77931 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77933         [BZ #11532]
77934         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77935         and CP774 modules.
77936         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77937         and CP774 modules.
77938         * iconvdata/tst-tables.sh: Likewise.
77939         * iconvdata/cp770.c: New file.
77940         * iconvdata/cp771.c: New file.
77941         * iconvdata/cp772.c: New file.
77942         * iconvdata/cp773.c: New file.
77943         * iconvdata/cp774.c: New file.
77944         * iconvdata/testdata/CP770: New file.
77945         * iconvdata/testdata/CP770..UTF8: New file.
77946         * iconvdata/testdata/CP771: New file.
77947         * iconvdata/testdata/CP771..UTF8: New file.
77948         * iconvdata/testdata/CP772: New file.
77949         * iconvdata/testdata/CP772..UTF8: New file.
77950         * iconvdata/testdata/CP773: New file.
77951         * iconvdata/testdata/CP773..UTF8: New file.
77952         * iconvdata/testdata/CP774: New file.
77953         * iconvdata/testdata/CP774..UTF8: New file.
77955         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77956         END CHARMAP line.
77957         * iconvdata/gen-8bit-gap.sh: Likewise.
77958         * iconvdata/gen-8bit.sh: Likewise.
77960         * locale/iso-639.def: Add ary entry.
77962         [BZ #11258]
77963         * locale/C-translit.h.in: Add U20A1 transliteration.
77965         [BZ #12178]
77966         * locale/iso-639.def: Add wae entry.
77967         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77969         [BZ #12545]
77970         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77971         for n.
77973         [BZ #12711]
77974         * locale/C-translit.h.in: Add entry for U20B9.
77975         Patch by pravin.d.s@gmail.com.
77977 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77979         [BZ #12713]
77980         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77981         ENAMETOOLONG use generic getcwd.
77982         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77983         in rtld.  Use *stat64.
77984         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77985         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77986         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77987         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77988         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77989         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77990         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77991         __fstatat64 macros.
77992         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77993         * dirent/rewinddir.c: Add libc_hidden_def.
77994         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77995         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77997         * include/dirent.h (__alloc_dir): Add flags parameter.
77998         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77999         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78000         __alloc_dir.
78001         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78002         from fdopendir if O_CLOEXEC is already set.
78004 2011-03-15  Alan Modra  <amodra@gmail.com>
78006         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78007         l_tls_firstbyte_offset non-zero.  Save padding offset in
78008         l_tls_firstbyte_offset for later use.
78009         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78010         freeing static tls block.
78012 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78014         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78015         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78016         being defined by the kernel headers.
78018 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78020         [BZ #12734]
78021         * resolv/resolv.h: Define RES_NOTLDQUERY.
78022         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78023         no-tld-query and set RES_NOTLDQUERY.
78024         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78025         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78026         modern BIND to search name as TLD unless forbidden.
78028 2011-05-07  Petr Baudis  <pasky@suse.cz>
78029             Ulrich Drepper  <drepper@gmail.com>
78031         [BZ #12393]
78032         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78033         (is_trusted_path): ...to here.
78034         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78035         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78036         using is_trusted_path_normalize() in setuid scripts.
78038 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78040         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78041         __BEGIN/__END_DECLS.
78043 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78045         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78046         NSS_STATUS_NOTFOUND if no record was found.
78048 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78050         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78051         (headers-not-in-tirpc): Remove rpc/netdb.h
78052         * resolv/netdb.h: Revert last change.
78054 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78056         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78057         circular dependency between libgcc.a and libc.a.
78059 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78061         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78062         * nis/Makefile: Don't install rpcsvc/*.
78063         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78064         instead of <rpc/types.h>.
78065         (MAXHOSTNAMELEN): Define.
78067 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78069         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78071 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78073         [BZ #12714]
78074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78075         gethostbyname4_r when IPv6 results are possible.
78077 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78079         [BZ #12723]
78080         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78081         _PC_PIPE_BUF handling.
78083 2011-04-30  Bruno Haible  <bruno@clisp.org>
78085         [BZ #12717]
78086         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78087         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78088         to 'int'.
78089         * inet/getnameinfo.c (getnameinfo): Likewise.
78091 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78093         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78094         to groups setting in database lookup.
78095         * nss/nsswitch.conf: Add initgroups entry.
78097 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78099         [BZ #12685]
78100         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78101         mode string.
78102         Patch by Eric Blake <eblake@redhat.com>.
78104 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78106         * sunrpc/Makefile (need-export-routines): Add svc_run.
78107         (routines): Remove svc_run.
78108         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78109         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78110         * sunrpc/svc_run.c (svc_run): Likewise.
78111         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78113 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78115         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78116         problem in reallocation in last patch.
78118 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78120         * sunrpc/Makefile: Move inclusion of Rules.
78122 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78124         * nss/nss_files/files-initgroups.c: New file.
78125         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78126         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78127         _nss_files_initgroups_dyn.
78129 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78131         * elf/elf.h (R_ARM_IRELATIVE): Define.
78133 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78135         * po/ru.po: Update from translation team.
78137 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78139         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78140         dependencies.
78142 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78144         [BZ #12653]
78145         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78146         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78151 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78153         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78154         differing bytes.
78155         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78156         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78157         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78159 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78161         [BZ #12420]
78162         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78163         storing it.
78164         * stdlib/bug-getcontext.c: New file.
78165         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78167 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78169         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78170         instructions into .machine "z9-109".
78171         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78172         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78174 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78176         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78177         between environment variables and auxiliary vector.
78179 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78181         * Makefile: Add rules to build linkobj/libc.so.
78182         * include/libc-symbols.h: Define libc_hidden_nolink.
78183         * include/rpc/auth.h: Mark functions which are to be hidden.
78184         * include/rpc/auth_des.h: Likewise.
78185         * include/rpc/auth_unix.h: Likewise.
78186         * include/rpc/clnt.h: Likewise.
78187         * include/rpc/des_crypt.h: Likewise.
78188         * include/rpc/key_prot.h: Likewise.
78189         * include/rpc/pmap_clnt.h: Likewise.
78190         * include/rpc/pmap_prot.h: Likewise.
78191         * include/rpc/pmap_rmt.h: Likewise.
78192         * include/rpc/rpc_msg.h: Likewise.
78193         * include/rpc/svc.h: Likewise.
78194         * include/rpc/svc_auth.h: Likewise.
78195         * include/rpc/xdr.h: Likewise.
78196         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78197         * nss/Makefile: Likewise.
78198         * sunrpc/Makefile: Don't install headers.  Build library with normal
78199         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78200         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78201         for the compat linking library.  Remove use of INTDEF/INTUSE.
78202         * sunrpc/auth_none.c: Likewise.
78203         * sunrpc/auth_unix.c: Likewise.
78204         * sunrpc/authdes_prot.c: Likewise.
78205         * sunrpc/authuxprot.c: Likewise.
78206         * sunrpc/clnt_gen.c: Likewise.
78207         * sunrpc/clnt_perr.c: Likewise.
78208         * sunrpc/clnt_raw.c: Likewise.
78209         * sunrpc/clnt_simp.c: Likewise.
78210         * sunrpc/clnt_tcp.c: Likewise.
78211         * sunrpc/clnt_udp.c: Likewise.
78212         * sunrpc/clnt_unix.c: Likewise.
78213         * sunrpc/des_crypt.c: Likewise.
78214         * sunrpc/des_soft.c: Likewise.
78215         * sunrpc/get_myaddr.c: Likewise.
78216         * sunrpc/key_call.c: Likewise.
78217         * sunrpc/key_prot.c: Likewise.
78218         * sunrpc/netname.c: Likewise.
78219         * sunrpc/pm_getmaps.c: Likewise.
78220         * sunrpc/pm_getport.c: Likewise.
78221         * sunrpc/pmap_clnt.c: Likewise.
78222         * sunrpc/pmap_prot.c: Likewise.
78223         * sunrpc/pmap_prot2.c: Likewise.
78224         * sunrpc/pmap_rmt.c: Likewise.
78225         * sunrpc/publickey.c: Likewise.
78226         * sunrpc/rpc_cmsg.c: Likewise.
78227         * sunrpc/rpc_common.c: Likewise.
78228         * sunrpc/rpc_dtable.c: Likewise.
78229         * sunrpc/rpc_prot.c: Likewise.
78230         * sunrpc/rpc_thread.c: Likewise.
78231         * sunrpc/rtime.c: Likewise.
78232         * sunrpc/svc.c: Likewise.
78233         * sunrpc/svc_auth.c: Likewise.
78234         * sunrpc/svc_authux.c: Likewise.
78235         * sunrpc/svc_raw.c: Likewise.
78236         * sunrpc/svc_run.c: Likewise.
78237         * sunrpc/svc_simple.c: Likewise.
78238         * sunrpc/svc_tcp.c: Likewise.
78239         * sunrpc/svc_udp.c: Likewise.
78240         * sunrpc/svc_unix.c: Likewise.
78241         * sunrpc/svcauth_des.c: Likewise.
78242         * sunrpc/xcrypt.c: Likewise.
78243         * sunrpc/xdr.c: Likewise.
78244         * sunrpc/xdr_array.c: Likewise.
78245         * sunrpc/xdr_float.c: Likewise.
78246         * sunrpc/xdr_intXX_t.c: Likewise.
78247         * sunrpc/xdr_mem.c: Likewise.
78248         * sunrpc/xdr_rec.c: Likewise.
78249         * sunrpc/xdr_ref.c: Likewise.
78250         * sunrpc/xdr_sizeof.c: Likewise.
78251         * sunrpc/xdr_stdio.c: Likewise.
78253 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78255         [BZ #12650]
78256         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78257         * sysdeps/ia64/dl-tls.h: Likewise.
78258         * sysdeps/powerpc/dl-tls.h: Likewise.
78259         * sysdeps/s390/dl-tls.h: Likewise.
78260         * sysdeps/sh/dl-tls.h: Likewise.
78261         * sysdeps/sparc/dl-tls.h: Likewise.
78262         * sysdeps/x86_64/dl-tls.h: Likewise.
78263         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78265 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78267         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78268         rpath element also skip the following colon.
78269         (expand_dynamic_string_token): Add is_path parameter and pass
78270         down to DL_DST_REQUIRED and _dl_dst_substitute.
78271         (decompose_rpath): Call expand_dynamic_string_token with
78272         non-zero is_path.  Ignore empty rpaths.
78273         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78274         with zero is_path.
78276 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78279         Make cancelable.
78281 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78283         [BZ #12655]
78284         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78285         Patch by Filipe David Manana <fdmanana@apache.org>.
78287 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78290         Maintain aligned stack.
78291         (CHECK_RSP): Remove unused macro.
78293 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78295         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78296         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78298 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78300         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78302         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78304 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78306         [BZ #12518]
78307         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78308         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78309         * sysdeps/x86_64/memmove.c: New file.
78310         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78311         (memcpy): Renamed to ...
78312         (__new_memcpy): This.
78313         (memcpy): Provide GLIBC_2_14 memcpy.
78314         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78315         (memcpy): Provide GLIBC_2_2_5 memcpy.
78317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78319         [BZ #12631]
78320         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78322 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78324         * misc/syncfs.c: New file.
78325         * misc/Makefile (routines): Add syncfs.
78326         * posix/unistd.h: Declare syncfs.
78327         * sysdeps/unix/syscalls.list: Add syncfs.
78329 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78331         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78332         open_by_handle_at.
78333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78334         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78337         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78338         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78341 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78344         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78347         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78348         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78349         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78351         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78352         sync_file_range.c with -fexceptions.
78353         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78354         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78355         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78356         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78357         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78358         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78359         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78360         sync_file_range as cancellation point
78361         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78362         now a wrapper around __call_sync_file_range with cancellation handling.
78363         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78364         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78365         function name to __call_sync_file_range.
78366         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78367         Add call_sync_file_range.
78369 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78372         bits/timex.h.
78374 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78376         * iconv/iconv.h: Fix typo in comment.
78377         * io/fcntl.h: Likewise.
78378         * libio/stdio.h: Likewise.
78379         * posix/spawn.h: Likewise.
78380         * posix/unistd.h: Likewise.
78381         * stdlib/stdlib.h: Likewise.
78382         * time/time.h: Likewise.
78383         * wcsmbs/wchar.h: Likewise.
78385         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78386         open_by_handle): Add.
78387         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78388         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78389         Augment a few comments.
78390         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78395         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78396         open_by_handle.
78398         * io/fcntl.h (AT_EMPTY_PATH): Define.
78400 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78402         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78403         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78404         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78405         to...
78406         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78407         * Versions.def: Add GLIBC_2.14.
78408         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78409         Export.
78411 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78413         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78414         round counter.
78415         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78417 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78419         [BZ #12597]
78420         * string/test-strncmp.c (do_page_test): New function.
78421         (check2): Likewise.
78422         (test_main): Call check2.
78423         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78425 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78427         [BZ #12587]
78428         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78429         Handle cache information in CPU leaf 4.
78430         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78432 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78434         [BZ #12583]
78435         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78436         character representation.
78437         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78439 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78441         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78442         END(__isnan) to END(__isnanf) to match function entry point/label
78443         EALIGN(__isnanf,...).
78445 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78447         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78449 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78451         [BZ #12510]
78452         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78453         copy from the symbol referenced in the relocation to initialize the
78454         used variable.
78455         Patch by Piotr Bury <pbury@goahead.com>.
78456         * elf/Makefile: Add rules to build and tst-unique3.
78457         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78458         * elf/tst-unique3.cc: New file.
78459         * elf/tst-unique3.h: New file.
78460         * elf/tst-unique3lib.cc: New file.
78461         * elf/tst-unique3lib2.cc: New file.
78463         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78465 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78467         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78468         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78469         to _start.
78471 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78473         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78474         to-be-loaded object along a path to loader is ld.so.
78476 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78477             Ulrich Drepper  <drepper@gmail.com>
78479         * sysdeps/x86_64/memset.S: After aligning destination, code
78480         branches to different locations depending on the value of
78481         misalignment, when multiarch is enabled. Fix this.
78483 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78485         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78486         Set _x86_64_preferred_memory_instruction for AMD processsors.
78487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78488         Set bit_Prefer_SSE_for_memop for AMD processors.
78490 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78492         * libio/fmemopen.c (fmemopen): Optimize a bit.
78494 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78496         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78498 2011-03-03  Roland McGrath  <roland@redhat.com>
78500         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78502 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78504         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78505         __bzero_ultra1 instead of __memset_ultra1.
78507 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78508             Ulrich Drepper  <drepper@gmail.com>
78510         [BZ #12509]
78511         * include/link.h (struct link_map): Add l_orig_initfini.
78512         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78513         returning unsuccessfully.
78514         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78515         close of a file loaded at startup, restore the original l_initfini
78516         list.
78517         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78518         list, store the pointer.
78519         * elf/Makefile ($(objpfx)noload-mem): New rule.
78520         (noload-ENV): Define.
78521         (tests): Add $(objpfx)noload-mem.
78522         * elf/noload.c: Include <memcheck.h>.
78523         (main): Call mtrace.  Close all opened handles.
78525 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78527         [BZ #12454]
78528         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78529         dependencies are missing.
78531 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78533         Fix __if_freereq crash: Unlike the generic version which uses free,
78534         Hurd needs munmap.
78535         * sysdeps/mach/hurd/ifreq.h: New file.
78537 2011-01-27  Petr Baudis  <pasky@suse.cz>
78538             Ulrich Drepper  <drepper@gmail.com>
78540         [BZ 12445]#
78541         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78542         to extend_alloca().
78543         * stdio-common/bug23.c: New file.
78544         * stdio-common/Makefile (tests): Add bug23.
78546 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78547             Ulrich Drepper  <drepper@gmail.com>
78549         [BZ #12489]
78550         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78551         before performing relro protection.  At old place add assertion
78552         to make sure nothing changed.
78554 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78555             Glauber de Oliveira Costa  <glommer@gmail.com>
78557         * elf/elf.h: Add new ARM TLS relocs.
78559 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78562         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78563         cast from r3.
78564         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78565         'tests' variable.
78566         * sysdeps/wordsize-64/tst-writev.c: New file.
78568 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78570         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78571         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78572         insns in _dl_start to prevent a TOC reference before relocs are
78573         resolved.
78575 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78577         [BZ #12469]
78578         * Makeconfig: Remove RANLIB definition.
78579         * Makerules: Don't use RANLIB.
78580         * aclocal.m4: Remove ranlib test.
78581         * configure.in: No need to check for ranlib.
78582         * elf/rtld-Rules: Don't use RANLIB.
78584 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78586         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78587         protection macro.
78588         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78589         inclusion protection macro.
78591         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78592         SIGRTMIN and SIGRTMAX and print information in that case only when
78593         SIGRTMIN is defined.
78595 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78597         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78598         arginfo fn returning -1.
78600         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78601         and thousands string is zero terminated.
78603 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78606         sysdeps/unix/sysv/linux/bits/socket.h.
78608 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78610         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78611         (__CPU_COUNT): Remove old macros.
78612         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78613         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78614         (__CPU_ALLOC, __CPU_FREE): Add macros.
78615         (__sched_cpualloc, __sched_cpufree): Add declarations.
78617 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78619         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78620         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78621         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78622         (readdhstai): Return value of addhstaiX call.
78623         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78624         (addgrbyX): Return value returned by cache_addgr.
78625         (readdgrbyname): Return value returned by addgrbyX.
78626         (readdgrbygid): Likewise.
78627         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78628         (addpwbyX): Return value returned by cache_addpw.
78629         (readdpwbyname): Return value returned by addhstbyX.
78630         (readdpwbyuid): Likewise.
78631         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78632         (addservbyX): Return value returned by cache_addserv.
78633         (readdservbyname): Return value returned by addservbyX:
78634         (readdservbyport): Likewise.
78635         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78636         (addhstbyX): Return value returned by cache_addhst.
78637         (readdhstbyname): Return value returned by addhstbyX.
78638         (readdhstbyaddr): Likewise.
78639         (readdhstbynamev6): Likewise.
78640         (readdhstbyaddrv6): Likewise.
78641         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78642         (readdinitgroups): Return value returned by addinitgroupsX.
78643         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78644         (prune_cache): Keep track of timeout value of re-added entries.
78645         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78646         * nscd/nscd.h: Adjust prototypes of readd* functions.
78648 2011-02-04  Roland McGrath  <roland@redhat.com>
78650         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78651         (nis_stats): Likewise.
78652         * nis/nis_modify.c (nis_modify): Likewise.
78653         * nis/nis_remove.c (nis_remove): Likewise.
78654         * nis/nis_add.c (nis_add): Likewise.
78656         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78658         * posix/fnmatch_loop.c: Add some consts.
78660         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78662 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78664         [BZ #12460]
78665         * config.make.in (config-cflags-novzeroupper): Define.
78666         * configure.in: Substitute libc_cv_cc_novzeroupper.
78667         * elf/Makefile (AVX-CFLAGS): Define.
78668         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78669         (CFLAGS-tst-auditmod4a.c): Likewise.
78670         (CFLAGS-tst-auditmod4b.c): Likewise.
78671         (CFLAGS-tst-auditmod6b.c): Likewise.
78672         (CFLAGS-tst-auditmod6c.c): Likewise.
78673         (CFLAGS-tst-auditmod7b.c): Likewise.
78674         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78676 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78678         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78679         function to the callback.
78680         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78682 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78684         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78685         of errno.
78687 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78689         [BZ #11724]
78690         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78691         of constructors.
78692         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78693         of destructors.
78694         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78696         [BZ #11724]
78697         * elf/Makefile: Add rules to build and run new test.
78698         * elf/tst-initorder.c: New file.
78699         * elf/tst-initorder.exp: New file.
78700         * elf/tst-initordera1.c: New file.
78701         * elf/tst-initordera2.c: New file.
78702         * elf/tst-initordera3.c: New file.
78703         * elf/tst-initordera4.c: New file.
78704         * elf/tst-initorderb1.c: New file.
78705         * elf/tst-initorderb2.c: New file.
78706         * elf/tst-order-a1.c: New file.
78707         * elf/tst-order-a2.c: New file.
78708         * elf/tst-order-a3.c: New file.
78709         * elf/tst-order-a4.c: New file.
78710         * elf/tst-order-b1.c: New file.
78711         * elf/tst-order-b2.c: New file.
78712         * elf/tst-order-main.c: New file.
78713         New test case by George Gensure <werkt0@gmail.com>.
78715 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78718         decoding ACE if AI_CANONIDN.
78720 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78722         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78724 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78726         * version.h (RELEASE): Bump for 2.13 release.
78727         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78729         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78731         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78732         MADV_NOHUGEPAGE.
78733         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78734         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78735         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78737         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78738         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78740         * posix/getconf.c: Update copyright year.
78741         * catgets/gencat.c: Likewise.
78742         * csu/version.c: Likewise.
78743         * debug/catchsegv.sh: Likewise.
78744         * debug/xtrace.sh: Likewise.
78745         * elf/ldconfig.c: Likewise.
78746         * elf/ldd.bash.in: Likewise.
78747         * elf/sprof.c (print_version): Likewise.
78748         * iconv/iconv_prog.c: Likewise.
78749         * iconv/iconvconfig.c: Likewise.
78750         * locale/programs/locale.c: Likewise.
78751         * locale/programs/localedef.c: Likewise.
78752         * malloc/memusage.sh: Likewise.
78753         * malloc/mtrace.pl: Likewise.
78754         * nscd/nscd.c (print_version): Likewise.
78755         * nss/getent.c: Likewise.
78757         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78758         PF_CAIF, and PF_ALG.
78759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78761 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78763         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78764         (modules-names): Use them.
78765         (ifunc-test-modules, ifunc-pie-tests): Define.
78766         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78767         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78768         (test-extras): Likewise.
78769         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78770         $(compile-command.c).
78771         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78772         (all-built-dso): Define.
78773         (check-textrel.out, check-execstack.out): Depend on it.
78775         * configure.in: Don't override --enable-multi-arch.
78777 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78779         [BZ #6812]
78780         * nscd/hstcache.c (tryagain): Define.
78781         (cache_addhst): Return tryagain not notfound for temporary errors.
78782         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78783         failed.
78785 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78787         [BZ #10563]
78788         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78789         to make the syscall.
78790         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78792         [BZ #12378]
78793         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78794         and fall back to matching as normal character if the string ends before
78795         the matching ']' is found.  This is what POSIX requires.
78796         * posix/testfnm.c: Adjust test result.
78797         * posix/globtest.sh: Adjust test result.  Add new test.
78798         * posix/tst-fnmatch.input: Likewise.
78799         * posix/tst-fnmatch2.c: Add new test.
78801 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78803         * elf/Makefile (check-execstack): Revert last change.  Depend on
78804         check-execstack.h.
78805         (check-execstack.h): New target.
78806         (generated): Add check-execstack.h.
78807         * elf/check-execstack.c: Include "check-execstack.h".
78808         (main): Revert last change.
78809         (handle_file): Return zero if GNU_STACK is absent and
78810         DEFAULT_STACK_PERMS doesn't include PF_X.
78812 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78814         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78815         in child fails because the descriptor is already closed.
78816         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78817         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78818         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78820         [BZ #12397]
78821         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78822         syscall.
78824         [BZ #10484]
78825         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78826         temporary buffer used to handle multi lookups locally.
78827         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78829 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78831         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78832         loader is ld.so.
78834 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78836         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78837         alignment for SSE2.
78839 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78841         [BZ #12394]
78842         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78843         characters.  When rounding increased number of integer digits recompute
78844         number of groups.
78845         * stdio-common/tst-grouping.c: New file.
78846         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78848 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78850         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78851         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78853         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78854         void.
78855         * bits/select.h: Likewise.
78857 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78859         * po/ja.po: Update from translation team.
78861 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78863         [BZ #11155]
78864         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78865         implementation just like for lxstat, fxstatat, et al.
78867 2010-12-27  Jim Meyering  <meyering@redhat.com>
78869         [BZ #12348]
78870         * posix/regexec.c (build_trtable): Return failure indication upon
78871         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78873 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78875         [BZ #12201]
78876         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78877         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78878         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78879         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78881         [BZ #12207]
78882         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78884         [BZ #12204]
78885         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78886         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78888 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78890         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78891         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78892         script has SORT_BY_INIT_PRIORITY.
78893         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78894         NO_CTORS_DTORS_SECTIONS is defined.
78895         * elf/soinit.c: Likewise.
78896         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78897         NO_CTORS_DTORS_SECTIONS is defined.
78898         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78899         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78900         * sysdeps/sh/init-first.c: Likewise.
78901         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78903 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78905         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78906         always use the slow path.
78908 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78910         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78911         similar rule which adds the sysdep directories to the header search in
78912         order to pick up the correct platform stackinfo.h.
78913         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78914         perform test if it is, otherwise return successfully without testing.
78915         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78916         DEFAULT_STACK_PERMS define in stackinfo.h.
78917         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78918         defined in stackinfo.h.
78919         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78920         DEFAULT_STACK_PERMS defined in stackinfo.h.
78921         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78922         * sysdeps/ia64/stackinfo.h: Likewise.
78923         * sysdeps/s390/stackinfo.h: Likewise.
78924         * sysdeps/sh/stackinfo.h: Likewise.
78925         * sysdeps/sparc/stackinfo.h: Likewise.
78926         * sysdeps/x86_64/stackinfo.h: Likewise.
78927         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78928         PF_X for powerpc64.  Retain PF_X for powerpc32.
78930 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78932         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78933         accurately.
78934         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78935         GETDENTS_64BIT_ALIGNED.
78937 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78939         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78941 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78943         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78944         _GNU_SOURCE.
78946         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78947         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78948         Remove __restrict.
78949         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78950         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78952 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78954         [BZ #11655]
78955         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78956         are initialized.
78958 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78960         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78962 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78964         * po/it.po: Update from translation team.
78966 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78969         unused codes.
78971 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78973         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78975 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78977         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78978         specially.
78979         (gaih_getanswer_slice): Likewise.
78981 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78985 2010-05-31  Petr Baudis  <pasky@suse.cz>
78987         [BZ #11149]
78988         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78989         silently even in the chroot mode.
78991 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78993         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78994         last patch a bit.  Pretty printing
78996 2010-05-31  Petr Baudis <pasky@suse.cz>
78998         [BZ #10085]
78999         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79000         initialization of skip_initgroups_dyn.
79002 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79005         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79007 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79009         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79011 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79013         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79014         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79015         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79016         ($(objpfx)tst-fnmatch-mem): New rule.
79017         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79018         * posix/tst-fnmatch.c (main): Call mtrace.
79020 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79023         Support Intel processor model 6 and model 0x2c.
79025 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79028           signed comparison.
79030 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79032         [BZ #12205]
79033         * string/test-strncasecmp.c (check_result): New function.
79034         (do_one_test): Use it.
79035         (check1): New function.
79036         (test_main): Use it.
79037         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79038         Support strcasecmp and strncasecmp.
79040 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79042         [BZ #12194]
79043         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79044         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79046 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79048         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79049         IFUNC support.
79050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79051         memset-x86-64.
79052         * sysdeps/x86_64/multiarch/bzero.S: New file.
79053         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79054         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79055         * sysdeps/x86_64/multiarch/memset.S: New file.
79056         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79058         Set bit_Prefer_SSE_for_memop for Intel processors.
79059         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79060         Define.
79061         (index_Prefer_SSE_for_memop): Define.
79062         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79064 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79066         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79067         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79069 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79071         [BZ #12191]
79072         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79073         (__x86_64_raw_data_cache_size_half): Likewise.
79074         (__x86_64_raw_shared_cache_size): Likewise.
79075         (__x86_64_raw_shared_cache_size_half): Likewise.
79077         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79078         (__x86_64_raw_data_cache_size_half): Likewise.
79079         (__x86_64_raw_shared_cache_size): Likewise.
79080         (__x86_64_raw_shared_cache_size_half): Likewise.
79081         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79082         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79083         and __x86_64_raw_shared_cache_size_half.  Round
79084         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79085         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79086         to multiple of 256 bytes.
79088 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79090         [BZ #12167]
79091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79092         of inacessible symlinks.  Verify result of symlink before returning it.
79093         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79094         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79096 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79098         * math/math.h (isinf): Fix typo in comment.
79100 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79102         * po/da.po: Update from translation team.
79104 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79106         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79107         is added to the list.
79109 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79110             Ulrich Drepper  <drepper@gmail.com>
79112         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79113         the global list here.  Move code to...
79114         (_dl_add_to_namespace_list): ...here.  New function.
79115         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79116         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79117         * elf/dl-load.c (lose): Don't remove the element from the list.
79118         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79119         (_dl_map_object): Likewise.
79121 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79123         [BZ #12159]
79124         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79125         into all bytes of SSE register.
79126         Patch by Richard Li <richardpku@gmail.com>.
79128 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79130         [BZ #12140]
79131         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79132         perturbing.
79134 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79136         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79137         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79138         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79139         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79141         submachine.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79144 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79146         * include/dlfcn.h (__RTLD_SECURE): Define.
79147         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79148         mode & __RTLD_SECURE instead.
79149         (open_path): Rename preloaded parameter to secure.
79150         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79151         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79152         * elf/dl-deps.c (openaux): Likewise.
79153         * elf/rtld.c (struct map_args): Remove is_preloaded.
79154         (map_doit): Don't use it.
79155         (dl_main): Likewise.
79156         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79157         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79159 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79161         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79162         (sysd-rules-targets): Remove duplicates.
79163         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79164         rtld-%.$o dependency.
79166 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79168         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79169         _dl_map_object do it.
79171 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79173         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79174         fast fma builtins, define the macros in the C99 standard.
79175         (FP_FAST_FMAF): Likewise.
79176         (FP_FAST_FMAL): Likewise.
79177         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79179         * bits/mathdef.h: Update copyright year.
79180         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79182 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79184         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79185         builtins, define the macros in the C99 standard.
79186         (FP_FAST_FMAF): Likewise.
79187         (FP_FAST_FMAL): Likewise.
79188         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79189         multiply/add.
79190         (FP_FAST_FMAF): Likewise.
79192 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79194         [BZ #3268]
79195         * math/libm-test.inc (fma_test): Some new testcases.
79196         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79197         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79198         y and infinite z.  Do multiplication by C already in long double.
79199         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79201         y and infinite z.  Do bitwise or of inexact bit into u.d.
79202         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79203         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79204         * sysdeps/i386/fpu/s_fma.S: Removed.
79205         * sysdeps/i386/fpu/s_fmal.S: Removed.
79207 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79209         [BZ #3268]
79210         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79212         computation is not scheduled after fetestexcept.  Fix value
79213         of minimum denormal long double.
79215 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79217         [BZ #3268]
79218         * math/libm-test.inc (fma_test): Add some more tests.
79219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79220         correctly.
79222 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79224         * scripts/data/localplt-s390-linux-gnu.data: New file.
79225         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79227 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79229         [BZ #3268]
79230         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79231         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79232         instead of dbl-64.
79233         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79234         inlines.
79235         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79237         if one of x and y is very large and the other is subnormal.
79238         * sysdeps/s390/fpu/s_fmaf.c: New file.
79239         * sysdeps/s390/fpu/s_fma.c: New file.
79240         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79241         * sysdeps/powerpc/fpu/s_fma.S: New file.
79242         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79243         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79244         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79246 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79248         [BZ #3268]
79249         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79250         fma tests.
79251         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79252         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79253         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79254         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79255         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79256         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79257         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79259 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79261         [BZ #12078]
79262         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79263         * posix/bug-regex31.input: Add test case.
79265 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79267         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79268         * posix/bug-regex31.input: New file.
79270         [BZ #12078]
79271         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79272         (parse_sub_exp): Fix last change, use postorder.
79274         * posix/bug-regex31.c: New file.
79275         * posix/Makefile: Add rules to build and run bug-regex31.
79277         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79279         [BZ #12078]
79280         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79282         [BZ #12108]
79283         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79284         to have entries in sys_siglist.
79286         [BZ #12093]
79287         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79288         be NULL.
79290 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79292         [BZ #3268]
79293         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79294         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79295         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79296         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79297         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79298         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79299         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79300         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79301         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79302         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79303         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79304         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79306         * math/ftestexcept.c (fetestexcept): Likewise.
79307         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79308         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79309         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79310         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79311         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79312         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79313         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79315 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79317         [BZ #12107]
79318         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79319         newline.
79321 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79323         * string/bug-strstr1.c: New file.
79324         * string/Makefile: Add rules to build and run bug-strstr1.
79326 2010-10-05  Eric Blake  <eblake@redhat.com>
79328         [BZ #12092]
79329         * string/str-two-way.h (two_way_long_needle): Always clear memory
79330         when skipping input due to the shift table.
79332 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79334         [BZ #12005]
79335         * malloc/mcheck.c: Handle large requests.
79337         [BZ #12077]
79338         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79339         for strncmp and strncasecmp.
79340         * string/stratcliff.c: Add tests for strcmp and strncmp.
79341         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79343 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79345         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79346         __set_fpscr.
79348 2010-09-30  Andreas Jaeger  <aj@suse.de>
79350         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79351         (CGROUP_SUPER_MAGIC): Define.
79352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79353         Handle btrfs and cgroup file systems.
79354         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79355         Likewise.
79357 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79359         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79360         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79362 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79364         [BZ #12067]
79365         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79366         trying to locate the ELF header.
79368 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79370         [BZ #11611]
79371         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79372         Mask out sign-bit copies when constructing f_fsid.
79374 2010-09-24  Petr Baudis <pasky@suse.cz>
79376         * debug/stack_chk_fail_local.c: Add missing licence exception.
79377         * debug/warning-nop.c: Likewise.
79379 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79381         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79382         implementing getdents64 using getdents syscall, set d_type if
79383         __ASSUME_GETDENTS32_D_TYPE.
79385 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79387         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79388         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79390 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79392         [BZ #12037]
79393         * posix/unistd.h: Undo change of feature selection for ftruncate from
79394         2010-01-11.
79396 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79398         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79399         detection.
79401 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79404         fanotify_mark.
79405         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79407 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79409         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79410         variables after CHECK_SP call.
79411         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79413 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79414             Ulrich Drepper  <drepper@redhat.com>
79416         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79417         re-relocationg ld.so.
79418         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79419         _dl_init_paths call.
79420         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79421         here anymore.
79423 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79425         * resolv/res_init.c (__res_vinit): Count the default server we added.
79427 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79428             Ulrich Drepper  <drepper@redhat.com>
79430         [BZ #11968]
79431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79432         (____longjmp_chk): Use %ebx for saving value across system call.
79433         Add unwind info.
79435 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79437         * manual/Makefile: Don't mix pattern rules with normal rules.
79439 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79441         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79442         operation.
79443         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79444         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79445         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79446         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79448         Likewise.
79450 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79452         [BZ #11979]
79453         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79454         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79456 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79458         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79459         * sysdeps/x86_64/addmul_1.S: Likewise.
79460         * sysdeps/x86_64/lshift.S: Likewise.
79461         * sysdeps/x86_64/mul_1.S: Likewise.
79462         * sysdeps/x86_64/rshift.S: Likewise.
79463         * sysdeps/x86_64/sub_n.S: Likewise.
79464         * sysdeps/x86_64/submul_1.S: Likewise.
79466 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79468         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79469         Define __sched_param instead of SCHED_* and sched_param when
79470         <bits/sched.h> is included with __need_schedparam defined.
79471         * bits/sched.h [__need_schedparam]
79472         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79473         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79474         (__defined_schedparam): Define to 1.
79475         (__sched_param): New structure, identical to sched_param.
79476         (__need_schedparam): Undefine.
79478 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79480         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79481         (epoll_create1): Declare.
79483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79485 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79487         [BZ #7066]
79488         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79489         shifting retval into place.
79491 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79493         * nis/rpcsvc/nis.h: Update copyright notice.
79494         * nis/rpcsvc/nis.x: Likewise.
79495         * nis/rpcsvc/nis_callback.h: Likewise.
79496         * nis/rpcsvc/nis_callback.x: Likewise.
79497         * nis/rpcsvc/nis_object.x: Likewise.
79498         * nis/rpcsvc/nis_tags.h: Likewise.
79499         * nis/rpcsvc/yp.h: Likewise.
79500         * nis/rpcsvc/yp.x: Likewise.
79501         * nis/rpcsvc/ypupd.h: Likewise.
79502         * nis/yp_xdr.c: Likewise.
79503         * nis/ypupdate_xdr.c: Likewise.
79505         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79506         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79507         (pmap_getport): Use __libc_rpc_getport.
79508         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79509         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79510         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79512 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79515         fanotify_mark.
79517 2010-08-27  Roland McGrath  <roland@redhat.com>
79519         * sysdeps/i386/i686/multiarch/Makefile
79520         (CFLAGS-varshift.c): New variable.
79522 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79524         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79525         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79529         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79531 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79533         * sysdeps/x86_64/strlen.S: Unroll the loop.
79534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79535         strlen-sse2 strlen-sse2-bsf.
79536         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79537         __strlen_no_bsf if bit_Slow_BSF is set.
79538         (__strlen_sse42): Removed.
79539         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79540         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79542 2010-08-25  Roland McGrath  <roland@redhat.com>
79544         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79545         * sysdeps/x86_64/multiarch/varshift.c: New file.
79546         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79547         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79548         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79549         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79551 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79554         strlen-sse2 strlen-sse2-bsf.
79555         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79556         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79557         (__strlen_sse2): Removed.
79558         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79559         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79561         bit_Slow_BSF for Atom.
79562         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79563         (index_Slow_BSF): Define.
79564         (HAS_SLOW_BSF): Define.
79566 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79568         [BZ #10851]
79569         * resolv/res_init.c (__res_vinit): When no server address at all
79570         is given default to loopback.
79572 2010-08-24  Roland McGrath  <roland@redhat.com>
79574         * configure.in: Remove config-name.h generation.
79575         * configure: Regenerated.
79576         * config-name.in: File removed.
79577         * scripts/config-uname.sh: New file.
79578         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79579         ($(objdir)config-name.h): New target.
79581         * sunrpc/rpc_parse.h: Avoid nested comment.
79583 2010-08-24  Richard Henderson  <rth@redhat.com>
79584             Ulrich Drepper  <drepper@redhat.com>
79585             H.J. Lu  <hongjiu.lu@intel.com>
79587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79589         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79590         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79591         _mm_alignr_epi8 with _mm_loadu_si128.
79592         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79593         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79594         (__m128i_shift_right): Removed.
79595         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79596         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79597         * sysdeps/x86_64/multiarch/varshift.h: New file.
79598         * sysdeps/x86_64/multiarch/varshift.S: New file.
79600 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79602         * configure.in: Move assembler checks to before sysdep dir checking.
79604 2010-08-20  Petr Baudis  <pasky@suse.cz>
79606         * LICENSES: Sync the sunrpc license.
79608 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79610         * sunrpc/auth_des.c: Update copyright notice once again.
79611         * sunrpc/auth_none.c: Likewise.
79612         * sunrpc/auth_unix.c: Likewise.
79613         * sunrpc/authdes_prot.c: Likewise.
79614         * sunrpc/authuxprot.c: Likewise.
79615         * sunrpc/bindrsvprt.c: Likewise.
79616         * sunrpc/clnt_gen.c: Likewise.
79617         * sunrpc/clnt_perr.c: Likewise.
79618         * sunrpc/clnt_raw.c: Likewise.
79619         * sunrpc/clnt_simp.c: Likewise.
79620         * sunrpc/clnt_tcp.c: Likewise.
79621         * sunrpc/clnt_udp.c: Likewise.
79622         * sunrpc/clnt_unix.c: Likewise.
79623         * sunrpc/des_crypt.c: Likewise.
79624         * sunrpc/des_soft.c: Likewise.
79625         * sunrpc/get_myaddr.c: Likewise.
79626         * sunrpc/getrpcport.c: Likewise.
79627         * sunrpc/key_call.c: Likewise.
79628         * sunrpc/key_prot.c: Likewise.
79629         * sunrpc/openchild.c: Likewise.
79630         * sunrpc/pm_getmaps.c: Likewise.
79631         * sunrpc/pm_getport.c: Likewise.
79632         * sunrpc/pmap_clnt.c: Likewise.
79633         * sunrpc/pmap_prot.c: Likewise.
79634         * sunrpc/pmap_prot2.c: Likewise.
79635         * sunrpc/pmap_rmt.c: Likewise.
79636         * sunrpc/rpc/auth.h: Likewise.
79637         * sunrpc/rpc/auth_unix.h: Likewise.
79638         * sunrpc/rpc/clnt.h: Likewise.
79639         * sunrpc/rpc/des_crypt.h: Likewise.
79640         * sunrpc/rpc/key_prot.h: Likewise.
79641         * sunrpc/rpc/netdb.h: Likewise.
79642         * sunrpc/rpc/pmap_clnt.h: Likewise.
79643         * sunrpc/rpc/pmap_prot.h: Likewise.
79644         * sunrpc/rpc/pmap_rmt.h: Likewise.
79645         * sunrpc/rpc/rpc.h: Likewise.
79646         * sunrpc/rpc/rpc_des.h: Likewise.
79647         * sunrpc/rpc/rpc_msg.h: Likewise.
79648         * sunrpc/rpc/svc.h: Likewise.
79649         * sunrpc/rpc/svc_auth.h: Likewise.
79650         * sunrpc/rpc/types.h: Likewise.
79651         * sunrpc/rpc/xdr.h: Likewise.
79652         * sunrpc/rpc_clntout.c: Likewise.
79653         * sunrpc/rpc_cmsg.c: Likewise.
79654         * sunrpc/rpc_common.c: Likewise.
79655         * sunrpc/rpc_cout.c: Likewise.
79656         * sunrpc/rpc_dtable.c: Likewise.
79657         * sunrpc/rpc_hout.c: Likewise.
79658         * sunrpc/rpc_main.c: Likewise.
79659         * sunrpc/rpc_parse.c: Likewise.
79660         * sunrpc/rpc_parse.h: Likewise.
79661         * sunrpc/rpc_prot.c: Likewise.
79662         * sunrpc/rpc_sample.c: Likewise.
79663         * sunrpc/rpc_scan.c: Likewise.
79664         * sunrpc/rpc_scan.h: Likewise.
79665         * sunrpc/rpc_svcout.c: Likewise.
79666         * sunrpc/rpc_tblout.c: Likewise.
79667         * sunrpc/rpc_util.c: Likewise.
79668         * sunrpc/rpc_util.h: Likewise.
79669         * sunrpc/rpcinfo.c: Likewise.
79670         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79671         * sunrpc/rpcsvc/key_prot.x: Likewise.
79672         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79673         * sunrpc/rpcsvc/mount.x: Likewise.
79674         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79675         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79676         * sunrpc/rpcsvc/rex.x: Likewise.
79677         * sunrpc/rpcsvc/rstat.x: Likewise.
79678         * sunrpc/rpcsvc/rusers.x: Likewise.
79679         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79680         * sunrpc/rpcsvc/spray.x: Likewise.
79681         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79682         * sunrpc/rtime.c: Likewise.
79683         * sunrpc/svc.c: Likewise.
79684         * sunrpc/svc_auth.c: Likewise.
79685         * sunrpc/svc_authux.c: Likewise.
79686         * sunrpc/svc_raw.c: Likewise.
79687         * sunrpc/svc_run.c: Likewise.
79688         * sunrpc/svc_simple.c: Likewise.
79689         * sunrpc/svc_tcp.c: Likewise.
79690         * sunrpc/svc_udp.c: Likewise.
79691         * sunrpc/svc_unix.c: Likewise.
79692         * sunrpc/svcauth_des.c: Likewise.
79693         * sunrpc/xcrypt.c: Likewise.
79694         * sunrpc/xdr.c: Likewise.
79695         * sunrpc/xdr_array.c: Likewise.
79696         * sunrpc/xdr_float.c: Likewise.
79697         * sunrpc/xdr_mem.c: Likewise.
79698         * sunrpc/xdr_rec.c: Likewise.
79699         * sunrpc/xdr_ref.c: Likewise.
79700         * sunrpc/xdr_sizeof.c: Likewise.
79701         * sunrpc/xdr_stdio.c: Likewise.
79703         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79704         handling.
79706 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79708         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79710 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79712         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79713         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79714         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79715         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79716         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79717         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79718         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79719         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79721         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79722         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79723         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79724         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79725         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79727 2010-07-26  Anton Blanchard  <anton@samba.org>
79729         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79730         * malloc/arena.c (heap_trim): Likewise.
79732 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79734         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79735         here.  Not...
79736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79737         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79739 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79741         * sysdeps/i386/elf/Makefile: New file.
79743 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79745         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79746         from fanotify_init.
79747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79748         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79750 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79752         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79753         of strncasecmp_l.
79754         * sysdeps/multiarch/strcmp.S: Likewise.
79756 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79758         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79759         strncase_l-nonascii.
79760         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79761         Add strncase_l-ssse3.
79762         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79763         * sysdeps/x86_64/strcmp.S: Likewise.
79764         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79765         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79766         * sysdeps/x86_64/strncase.S: New file.
79767         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79768         * sysdeps/x86_64/strncase_l.S: New file.
79769         * string/Makefile (strop-tests): Add strncasecmp.
79770         * string/test-strncasecmp.c: New file.
79772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79773         warning.
79775         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79776         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79778 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79780         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79782 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79784         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79785         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79786         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79788 2010-05-01  Alan Modra  <amodra@gmail.com>
79790         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79791         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79792         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79793         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79794         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79795         tidying.  Don't tail-call __sigjmp_save for static lib.
79796         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79797         save location.
79798         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79799         (CALL_MCOUNT): Add eh info, and nop after bl.
79800         (TAIL_CALL_SYSCALL_ERROR): New macro.
79801         (PSEUDO_RET): Use it.
79802         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79803         Correct save location of integer regs and cr.
79804         (_dl_profile_resolve): Correct cr save location.  Delete nops
79805         after bl when SHARED.  Reduce cfi size a little by better
79806         placement of cfi directives.
79807         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79808         make a stack frame.  Instead use parm save area as a temp.
79809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79810         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79812         Don't make a stack frame for parent, use parm save area.
79813         Increase child stack frame to 112 bytes.  Don't save unused reg,
79814         and adjust reg usage.  Set up cfi on error recovery and
79815         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79817         (__makecontext): Add dummy nop after jump to exit.
79818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79819         Use correct parm save area and cr save, reduce stack frame.
79820         Correct cfi for possible PSEUDO_RET frame setup.
79821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79822         Branch to local label emitted by PSEUDO_RET rather than
79823         __syscall_error.
79825 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79827         [BZ #11904]
79828         * locale/programs/locale.c (print_assignment): New function.
79829         (show_locale_vars): Use it.
79831 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79833         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79834         field.
79835         (struct statfs64): Likewise.
79836         (_STATFS_F_FLAGS): Define.
79837         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79839         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79840         (ST_VALID): Define locally.
79841         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79842         __statvfs_getflags, use the provided value.
79843         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79844         __ASSUME_STATFS_F_FLAGS.
79846         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79848         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79849         Add sys/fanotify.h.
79850         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79851         fanotify_mask for GLIBC_2.13.
79852         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79853         fanotify_init and fanotify_mark.
79854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79855         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79857         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79858         Add prlimit.
79859         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79860         prlimit64 for GLIBC_2.13.
79861         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79862         prlimit64.
79863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79864         syscall.
79865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79867         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79868         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79870         add prlimit alias.
79871         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79873         [BZ #11903]
79874         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79875         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79877         * nss/Makefile: Add rules to build and run tst-nss-test1.
79878         * shlib-versions: Add entry for libnss_test1.
79879         * nss/nss_test1.c: New file.
79880         * nss/tst-nss-test1.c: New file.
79882         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79883         (__nss_configure_lookup): Set appropriate entry in
79884         __nss_configure_lookup to true.
79885         * nss/nsswitch.h: Define enum with indeces of databases in
79886         databases and __nss_database_custom arrays.  Declare
79887         __nss_database_custom.
79888         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79889         to avoid using nscd when custom rules are installed.
79890         * nss/getXXbyYY_r.c: Likewise.
79891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79893         * nss/nss_files/files-parse.c: Whitespace fixes.
79895 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79897         [BZ #11883]
79898         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79899         * posix/fnmatch_loop.c: Likewise.
79901 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79903         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79904         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79905         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79906         * Versions.def [GLIBC_2.13]: Add.
79908 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79910         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79911         Also fail if tpwd after pwuid call is NULL.
79913 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79915         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79916         when converting to ms.
79918 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79920         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79921         EOPNOTSUPP errors with ENOTTY.
79922         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79923         EOPNOTSUPP errors with ENOTTY.
79925 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79927         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79928         Add strcasecmp_l-ssse3.
79929         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79930         strcasecmp.
79931         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79932         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79933         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79935 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79937         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79939         * string/Makefile (strop-tests): Add strcasecmp.
79940         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79941         strcasecmp_l-nonascii.
79942         (gen-as-const-headers): Add locale-defines.sym.
79943         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79944         * sysdeps/x86_64/strcasecmp.S: New file.
79945         * sysdeps/x86_64/strcasecmp_l.S: New file.
79946         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79947         * sysdeps/x86_64/locale-defines.sym: New file.
79948         * string/test-strcasecmp.c: New file.
79950         * string/test-strcasestr.c: Test both ends of the range of characters.
79951         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79953 2010-07-29  Roland McGrath  <roland@redhat.com>
79955         [BZ #11856]
79956         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79958 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79960         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79961         for ld.so.
79963 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79965         * manual/memory.texi (Malloc Tunable Parameters): Document
79966         M_PERTURB.
79968 2010-07-26  Roland McGrath  <roland@redhat.com>
79970         [BZ #11840]
79971         * configure.in (-fgnu89-inline check): Set and substitute
79972         gnu89_inline, not libc_cv_gnu89_inline.
79973         * configure: Regenerated.
79974         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79976 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79978         * string/test-strnlen.c: New file.
79979         * string/Makefile (strop-tests): Add strnlen.
79980         * string/tester.c (test_strnlen): Add a few more test cases.
79981         * string/tst-strlen.c: Better error reporting.
79983         * sysdeps/x86_64/strnlen.S: New file.
79985 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79987         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79988         lower-latency instructions.
79990 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79992         * string/test-strcasestr.c: New file.
79993         * string/test-strstr.c: New file.
79994         * string/Makefile (strop-tests): Add strstr and strcasestr.
79995         * string/str-two-way.h: Don't undefine MAX.
79996         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79998 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80001         strcasestr-nonascii.
80002         (CFLAGS-strcasestr-nonascii.c): Define.
80003         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80004         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80005         Remove unused attribute.
80007 2010-07-20  Roland McGrath  <roland@redhat.com>
80009         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80010         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80011         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80012         like LD_HWCAP_MASK can disable hwcaps.
80014 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80016         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80018 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80020         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80021         call in strcasestr.
80022         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80023         __strcasestr_sse42_nonascii.
80024         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80025         strcasestr-nonascii.c.
80026         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80028 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80030         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80031         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80032         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80033         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80035 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80037         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80038         fcntl.
80040 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80042         [BZ #11577]
80043         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80044         dl_signal_cerror.
80046 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80048         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80049         _PC_PIPE_BUF using F_GETPIPE_SZ.
80051 2010-07-05  Roland McGrath  <roland@redhat.com>
80053         * manual/arith.texi (Rounding Functions): Fix rint description
80054         implicit in round description.
80056 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80058         * elf/Makefile: Fix linking for a few tests to make recent linker
80059         happy.
80061 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80063         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80064         $(common-objpfx)libc_nonshared.a.
80066 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80068         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80069         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80070         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80071         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80072         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80073         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80074         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80075         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80090         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80091         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80092         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80093         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80094         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80095         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80096         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80097         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80098         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80099         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80100         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80101         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80117 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80119         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80120         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80121         * string/memmove.c (memmove): Renamed to ...
80122         (MEMMOVE): ...this.  Default to memmove.
80123         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80124         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80125         (END_CHK): Define.
80126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80127         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80128         mempcpy-ssse3-back memmove-ssse3-back.
80129         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80131         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80132         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80133         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80134         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80135         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80136         * sysdeps/x86_64/multiarch/memmove.c: New file.
80137         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80138         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80139         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80140         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80141         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80142         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80143         Define.
80144         (index_Fast_Copy_Backward): Define.
80145         (HAS_ARCH_FEATURE): Define.
80146         (HAS_FAST_REP_STRING): Define.
80147         (HAS_FAST_COPY_BACKWARD): Define.
80149 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80152         Restore proper fallback handling.
80154 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80156         [BZ #11701]
80157         * posix/group_member.c (__group_member): Correct checking loop.
80159         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80160         OOM in getpwuid_r correctly.  Return error number when the caller
80161         should return, otherwise -1.
80162         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80163         call returning > 0 value.
80164         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80166 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80168         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80169         libc_nonshared.a from targets in modules-names.
80171 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80173         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80174         requires it.
80176 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80179         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80181         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80183 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80185         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80187 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80189         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80190         and F_GETPIPE_SZ.
80191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80196         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80198 2010-06-14  Roland McGrath  <roland@redhat.com>
80200         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80202 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80204         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80205         __REDIRECT followed by __THROW.
80206         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80207         * posix/getopt.h (getopt): Likewise.
80209 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80211         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80212         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80213         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80214         in AT_FLAGS.
80215         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80216         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80218 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80222 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80224         [BZ #11640]
80225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80226         Properly check family and model.
80228 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80230         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80232 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80234         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80236 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80238         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80239         symbol reference.
80241 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80243         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80244         symbol reference.
80246 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80248         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80249         and internal_recvmmsg.
80250         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80251         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80252         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80253         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80255         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80256         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80257         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80259 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80261         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80263 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80265         POWER7 optimizations.
80266         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80267         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80269 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80271         * version.h: Update for 2.13 development version.
80273 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80275         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80276         exceptions.  Return 0.
80278 2010-05-07  Roland McGrath  <roland@redhat.com>
80280         * elf/ldconfig.c (main): Add a const.
80282 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80284         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80285         (args_options): Add no-idn option.
80286         (ahosts_keys_int): Add idn_flags to ai_flags.
80287         (parse_option): Handle 'i' option to clear idn_flags.
80289         * malloc/malloc.c (_int_free): Possible race in the most recently
80290         added check.  Only act on the data if no current modification
80291         happened.
80293 See ChangeLog.17 for earlier changes.