Fix sys/ucontext.h namespace from signal.h etc. inclusion (bug 21457).
[glibc.git] / ChangeLog
blob85722c8f864463232507c29cf8a9f6474700ab98
1 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21457]
4         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
5         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
6         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
7         <bits/types/__sigset_t.h>.
8         (ucontext_t): Use sigset_t instead of __sigset_t.
9         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
10         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
11         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
12         <bits/types/__sigset_t.h>.
13         (ucontext_t): Use sigset_t instead of __sigset_t.
14         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
15         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
16         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
17         <bits/types/__sigset_t.h>.
18         (ucontext_t): Use sigset_t instead of __sigset_t.
19         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
20         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
21         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
22         <bits/types/__sigset_t.h>.
23         (ucontext_t): Use sigset_t instead of __sigset_t.
24         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
25         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
26         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
27         <bits/types/__sigset_t.h>.
28         (ucontext_t): Use sigset_t instead of __sigset_t.
29         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
31         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
32         <bits/types/__sigset_t.h>.
33         (ucontext_t): Use sigset_t instead of __sigset_t.
34         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
36         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
37         <bits/types/__sigset_t.h>.
38         (ucontext_t): Use sigset_t instead of __sigset_t.
39         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
40         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
41         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
42         <bits/types/__sigset_t.h>.
43         (ucontext_t): Use sigset_t instead of __sigset_t.
44         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
45         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
46         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
47         <bits/types/__sigset_t.h>.
48         (ucontext_t): Use sigset_t instead of __sigset_t.
49         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
50         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
51         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
52         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
53         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
54         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
55         <bits/types/__sigset_t.h>.
56         (ucontext_t): Use sigset_t instead of __sigset_t.
57         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
58         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
59         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
60         <bits/types/__sigset_t.h>.
61         (ucontext_t): Use sigset_t instead of __sigset_t.
62         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
63         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
64         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
65         <bits/types/__sigset_t.h>.
66         (ucontext_t): Use sigset_t instead of __sigset_t.
67         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
68         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
69         <bits/ss_flags.h>.
70         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
71         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
72         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
73         <bits/types/__sigset_t.h>.
74         (ucontext_t): Use sigset_t instead of __sigset_t.
75         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
76         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
77         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
78         <bits/types/__sigset_t.h>.
79         (ucontext_t): Use sigset_t instead of __sigset_t.
80         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
81         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
82         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
83         <bits/types/__sigset_t.h>.
84         (ucontext_t): Use sigset_t instead of __sigset_t.
85         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
86         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
87         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
88         <bits/types/__sigset_t.h>.
89         (ucontext_t): Use sigset_t instead of __sigset_t.
90         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
91         <bits/types.h>.
92         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
93         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
94         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
95         <bits/types/__sigset_t.h>.
96         (ucontext_t): Use sigset_t instead of __sigset_t.
98 2017-05-22  Zack Weinberg  <zackw@panix.com>
100         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
101         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
102         bits/siginfo-arch.h, only if not already defined.
103         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
104         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
105         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
106         Likewise.
108         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
109         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
111         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
112         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
113         Unconditionally define __SI_* macros.
115 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
117         [BZ #21393]
118         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
119         and add a check for dup3 failure.
120         * libio/freopen64.c (freopen64): Likewise.
121         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
122         libsupport.
123         (do_test_bz21398): New test.
124         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
126 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
129         Remove invalid comment.
131 2017-05-21  Zack Weinberg  <zackw@panix.com>
133         * signal/Makefile (headers): Add bits/types/sigval_t.h.
135 2017-05-20  Zack Weinberg  <zackw@panix.com>
137         * bits/sigevent-consts.h
138         * bits/siginfo-consts.h
139         * bits/types/__sigset_t.h
140         * bits/types/sigevent_t.h
141         * bits/types/siginfo_t.h
142         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
143         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
144         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
145         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
146         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
147         New system-dependent bits headers.
149         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
150         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
151         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
152         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
153         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
155         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
156         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
157         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
158         New Linux-only system-dependent bits headers.
160         * signal/bits/types/sig_atomic_t.h
161         * signal/bits/types/sigset_t.h
162         * signal/bits/types/sigval_t.h:
163         New non-system-dependent bits headers.
165         * sysdeps/generic/sigsetops.h
166         * sysdeps/unix/sysv/linux/sigsetops.h:
167         New internal headers.
169         * include/bits/types/sig_atomic_t.h
170         * include/bits/types/sigset_t.h
171         * include/bits/types/sigval_t.h:
172         New wrappers.
174         * signal/sigsetops.h
175         * bits/siginfo.h
176         * bits/sigset.h
177         * sysdeps/unix/sysv/linux/bits/siginfo.h
178         * sysdeps/unix/sysv/linux/bits/sigset.h
179         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
180         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
183         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
184         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
185         Deleted.
187         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
188         Update lists of installed headers.
190         * posix/bits/types.h: Define __sig_atomic_t here.
191         * signal/signal.h: Use the new bits headers; no need to handle
192         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
193         to define sigmask.
194         * include/signal.h: No need to handle __need_sig_atomic_t
195         nor __need_sigset_t.  Don't define __sigemptyset.
197         * io/sys/poll.h, setjmp/setjmp.h
198         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
199         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
200         * sysdeps/mach/hurd/i386/bits/sigcontext.h
201         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
202         * sysdeps/pthread/bits/sigthread.h
203         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
204         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
205         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
206         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
207         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
208         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
209         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
210         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
211         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
212         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
213         Use bits/types/__sigset_t.h.
215         * misc/sys/select.h, posix/spawn.h
216         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
217         * sysdeps/unix/sysv/linux/sys/epoll.h
218         * sysdeps/unix/sysv/linux/sys/signalfd.h:
219         Use bits/types/sigset_t.h.
221         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
222         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
223         * socket/sys/socket.h: Don't include bits/sigset.h.
225         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
226         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
227         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
228         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
229         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
230         * sysdeps/unix/sysv/linux/nptl-signals.h:
231         Include sigsetops.h.
233         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
234         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
235         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
236         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
237         now return no value.
239         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
240         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
241         "sigsetops.h".
243         * signal/sigsetops.c: Explicitly define __sigismember,
244         __sigaddset, and __sigdelset as compatibility symbols.
246         * signal/Versions: Correct commentary on __sigpause,
247         __sigaddset, __sigdelset, __sigismember.
249         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
250         __sigblock/__sigsetmask to use __sigprocmask and friends.
252         * resolv/resolv.h: Remove __need_res_state logic.
253         Move definition of res_state and related constants to ...
254         * resolv/bits/types/res_state.h: ...this new file.
255         * resolv/Makefile: Install bits/types/res_state.h.
256         * include/bits/types/res_state.h: New wrapper.
257         * include/list.h: Remove __need_list_t logic.
258         Move definition of list_t to ...
259         * include/list_t.h: ...this new file.
261         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
262         instead of list.h and resolv.h.
264         * resolv/resolv.h: Remove __need_res_state logic.
265         Move definition of res_state and related constants to ...
266         * resolv/bits/types/res_state.h: ...this new file.
267         * resolv/Makefile: Install bits/types/res_state.h.
268         * include/bits/types/res_state.h: New wrapper.
269         * include/list.h: Remove __need_list_t logic.
270         Move definition of list_t to ...
271         * include/list_t.h: ...this new file.
273         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
274         instead of list.h and resolv.h.
276 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
278         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
280 2017-05-20  Zack Weinberg  <zackw@panix.com>
282         * sysdeps/arm/sysdep.h
283         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
285         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
286         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
287         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
288         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
289         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
290         * sysdeps/arm/armv6t2/strlen.S
291         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
292         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
293         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
294         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
295         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
296         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
298 2017-05-20  Zack Weinberg  <zackw@panix.com>
300         Remove the NaCl port.
301         * sysdeps/arm/nacl: Remove directory and contents.
302         * sysdeps/nacl: Remove directory and contents.
303         * abi-tags: Remove .*-.*-nacl.* entry.
305 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
307         * manual/errno.texi: Convert @comment-based errno documentation to
308         @errno.
309         * manual/macros.texi (@errno): New macro.  Consolidate errors,
310         their values, and messages, adding the error string to the Concept
311         Index.  Provide a warning in the comment about external (to the
312         manual) dependencies.
313         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
314         * sysdeps/mach/hurd/errnos.awk: Likewise.
316 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
318         * bits/ss_flags.h: New file.
319         * bits/types/stack_t.h: Likewise.
320         * include/bits/types/struct_sigstack.h: Likewise.
321         * signal/bits/types/struct_sigstack.h: Likewise.
322         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
323         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
324         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
325         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
326         bits/types/stack_t.h and bits/ss_flags.h.
327         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
328         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
329         <bits/ss_flags.h>.
330         * bits/sigstack.h (struct sigstack): Remove.
331         (stack_t): Likewise.
332         (SS_ONSTACK): Likewise.
333         (SS_DISABLE): Likewise.
334         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
335         (struct sigstack): Likewise.
336         (stack_t): Likewise.
337         (SS_ONSTACK): Likewise.
338         (SS_DISABLE): Likewise.
339         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
340         Likewise.
341         (stack_t): Likewise.
342         (SS_ONSTACK): Likewise.
343         (SS_DISABLE): Likewise.
344         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
345         Likewise.
346         (stack_t): Likewise.
347         (SS_ONSTACK): Likewise.
348         (SS_DISABLE): Likewise.
349         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
350         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
351         Likewise.
352         (stack_t): Likewise.
353         (SS_ONSTACK): Likewise.
354         (SS_DISABLE): Likewise.
355         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
356         (struct sigstack): Likewise.
357         (stack_t): Likewise.
358         (SS_ONSTACK): Likewise.
359         (SS_DISABLE): Likewise.
360         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
361         Likewise.
362         (stack_t): Likewise.
363         (SS_ONSTACK): Likewise.
364         (SS_DISABLE): Likewise.
365         * sysdeps/arm/sys/ucontext.h: Include
366         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
367         <bits/ss_flags.h>.
368         * sysdeps/generic/sys/ucontext.h: Likewise.
369         * sysdeps/i386/sys/ucontext.h: Likewise.
370         * sysdeps/m68k/sys/ucontext.h: Likewise.
371         * sysdeps/mips/sys/ucontext.h: Likewise.
372         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
373         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
374         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
375         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
376         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
377         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
379         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
380         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
382         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
383         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
384         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
385         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
386         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
388 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
390         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
391         "edx + ecx - 16" to avoid possible addition overflow.
392         * sysdeps/x86_64/memchr.S (memchr): Likewise.
394 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
396         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
397         (CFLAGS-splice.c): Likewise.
398         (CFLAGS-open_by_handle_at.c): Likewise.
399         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
400         (CFLAGS-splice.c): Likewise.
401         (CFLAGS-open_by_handle_at.c): Likewise.
403 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
405         * scripts/versions.awk: Generate ldbl-compat-choose.h.
406         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
407         <ldbl-compat-choose.h>.
408         (maybe_long_double_symbol): New macro.
409         [!declare_mgen_alias] (declare_mgen_alias): Use
410         maybe_long_double_symbol.
411         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
412         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
413         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
414         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
415         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
416         * Makerules [$(build-shared) = yes && !avoid-generated]
417         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
418         [$(build-shared) = yes && !avoid-generated]
419         ($(common-objpfx)ldbl-compat-choose.h): New target.
421         * scripts/versions.awk: Generate first-versions.h.
422         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
423         <first-versions.h>.
424         (LDOUBLE_cabsl_libm_version): Remove macro.
425         (LDOUBLE_cargl_libm_version): Likewise.
426         (LDOUBLE_cimagl_libm_version): Likewise.
427         (LDOUBLE_conjl_libm_version): Likewise.
428         (LDOUBLE_creall_libm_version): Likewise.
429         (LDOUBLE_cacosl_libm_version): Likewise.
430         (LDOUBLE_cacoshl_libm_version): Likewise.
431         (LDOUBLE_ccosl_libm_version): Likewise.
432         (LDOUBLE_ccoshl_libm_version): Likewise.
433         (LDOUBLE_casinl_libm_version): Likewise.
434         (LDOUBLE_csinl_libm_version): Likewise.
435         (LDOUBLE_casinhl_libm_version): Likewise.
436         (LDOUBLE_csinhl_libm_version): Likewise.
437         (LDOUBLE_catanl_libm_version): Likewise.
438         (LDOUBLE_catanhl_libm_version): Likewise.
439         (LDOUBLE_ctanl_libm_version): Likewise.
440         (LDOUBLE_ctanhl_libm_version): Likewise.
441         (LDOUBLE_cexpl_libm_version): Likewise.
442         (LDOUBLE_clogl_libm_version): Likewise.
443         (LDOUBLE_cprojl_libm_version): Likewise.
444         (LDOUBLE_csqrtl_libm_version): Likewise.
445         (LDOUBLE_cpowl_libm_version): Likewise.
446         (LDOUBLE_clog10l_libm_version): Likewise.
447         (LDOUBLE___clog10l_libm_version): Likewise.
448         (LDOUBLE_fdiml_libm_version): Likewise.
449         (LDOUBLE_fmaxl_libm_version): Likewise.
450         (LDOUBLE_fminl_libm_version): Likewise.
451         (LDOUBLE_ilogbl_libm_version): Likewise.
452         (LDOUBLE_nanl_libm_version): Likewise.
453         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
454         FIRST_VERSION_libm_* macros.
455         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
456         * Makerules [$(build-shared) = yes && !avoid-generated]
457         (before-compile): Add $(common-objpfx)first-versions.h.
458         [$(build-shared) = yes && !avoid-generated]
459         ($(common-objpfx)first-versions.h): New target.
460         ($(common-objpfx)sysd-versions): Depend on and change to rule for
461         building $(common-objpfx)versions.stmp.
463 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
465         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
466         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
467         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
468         auto-generation list.
470         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
471         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
472         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
473         from auto-generation list.
475         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
476         open_by_handle_at.
477         (CFLAGS-open_by_handle_at.c): New flag.
478         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
479         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
480         file.
481         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
483         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
484         (CFLAGS-splice.c): New flag.
485         * sysdeps/unix/sysv/linux/splice.c: New file.
486         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
487         auto-generation syscall list.
488         * misc/Makefile (CFLAGS-splice.c): New rule.
490         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
491         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
492         auto-generation syscall list.
493         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
494         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
496         * misc/Makefile (CFLAGS-fsync.c): New flag.
497         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
498         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
499         syscall list.
500         * sysdeps/unix/sysv/linux/fsync.c: New file.
501         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
502         (__errno_location): Remove.
504         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
505         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
506         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
507         list.
508         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
510         * misc/Makefile (CFLAGS-msync.c): New rule.
511         * nptl/Makefile (CFLAGS-msync.c): Likewise.
512         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
513         * sysdeps/unix/sysv/linux/msync.c: New file.
515         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
516         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
517         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
518         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
519         (CFLAGS-sigsuspend.c): Remove rule.
521         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
522         (CFLAGS-tee.c): New rule.
523         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
524         auto-generated list.
525         * sysdeps/unix/sysv/linux/tee.c: New file.
527         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
528         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
529         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
530         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
531         auto-generated list.
533         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
534         auto-generated list.
535         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
536         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
537         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
538         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
539         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
541         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
542         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
543         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
544         (__NR_pause): Undefine.
545         * sysdeps/unix/sysv/linux/pause.c: New file.
546         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
547         auto-generation list.
548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
549         Remove rule.
550         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
552 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
555         comments.
557 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
559         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
560         LD_HWCAP_MASK.
562 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
564         * manual/conf.texi: Convert @tables of annotated @items to
565         @vtables.
566         * manual/lang.texi: Likewise.
567         * manual/pattern.texi: Likewise.
568         * manual/resource.texi: Likewise.
569         * manual/socket.texi: Likewise.
571 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
573         * manual/crypt.texi: Move a comment out of an @*x list.
574         * manual/filesys.texi: Refactor some comments, one of which looks
575         like a standard.  Fix incorrectly separated standards.
576         * manual/locale.texi: Invert an annotation.
577         * manual/resource.texi: Fix incorrectly separated standards.
578         * manual/time.texi: Refactor a @vtable that obscures an
579         annotation.
580         * manual/users.texi: Refactor multiple headers to occupy a single
581         @comment.
583 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
585         * sysdeps/powerpc/powerpc64/multiarch/Makefile
586         (sysdep_routines): Add memcmp-power8.
587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
588         (memcmp): Add __memcmp_power8 to list of memcmp functions.
589         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
590         (memcmp): Add __memcmp_power8 to ifunc list.
591         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
592         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
594 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
595             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
597         * math/math.h (__MATH_TG): Extend the conditions to add
598         _Float128 support.
599         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
601 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
604         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
605         s_cosf-ppc64.
606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
609         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
611 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
613         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
614         (gen-libm-calls): Add e_exp2F to use the template.
615         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
616         * math/e_exp2_template.c: New file, renamed from
617         math/e_exp2l.c, and made into a template.
618         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
620 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
622         * elf/dl-tunable-types.h (tunable_type_code_t): New type
623         TUNABLE_TYPE_UINT_64.
624         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
625         Simplify computation of overflow.
626         (tunable_set_val_if_valid_range_signed,
627         tunable_set_val_if_valid_range_unsigned): Remove and replace
628         with this...
629         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
630         (tunable_initialize): Adjust.  Add uint64_t support.
631         (__tunable_set_val): Add uint64_t support.
632         * README.tunables: Document it.
634         * scripts/gen-tunables.awk: Recognize 'default' keyword in
635         dl-tunables.list.
636         * README.tunables: Document it.
638 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
640         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
641         * sysdeps/posix/preadv64.c: Likewise.
642         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
643         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
644         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
645         * sysdeps/posix/pwritev64.c: Likewise.
646         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
647         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
648         * sysdeps/posix/preadv_common.c: New file.
649         * sysdeps/posix/pwritev_common.c: Likewise.
651 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
653         * sysdeps/generic/math-type-macros-float128.h
654         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
655         wrapper templates.
657 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
658             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
660         * include/complex.h (__kernel_casinhf128): New declaration.
661         * include/float.h: New file.
662         * include/math.h (__finitef128): Add a hidden def.
663         (__isinff128): Likewise.
664         (__isnanf128): Likewise.
665         (__fpclassify): Likewise.
666         (__issignalling): Likewise.
667         (__expf128): Likewise.
668         (__expm1f128): Likewise.
670         * sysdeps/generic/fix-fp-int-convert-overflow.h:
671         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
672         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
674         * sysdeps/generic/math-type-macros-float128.h: New file.
676         * sysdeps/generic/math_private.h: Include bits/floatn.h and
677         math_private_calls.h for _Float128.
678         (__isinff128): New inline implementation used when GCC < 7.0,
679         since in this case __builtin_isinf_sign is broken.
680         (fabsf128): New inline implementation that calls the builtin.
681         (__EXPR_FLT128): New macro.
682         (min_of_type): Optionally include _Float128 types too.
684         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
685         Declare for _Float128.
686         (__kernel_rem_pio2): Likewise.
688         * sysdeps/ieee754/ldbl-opt/s_sin.c:
689         (__DECL_SIMD_sincos_disablef128): New macro.
691 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
693         * math/math.h: Include bits/math-finite.h for float128.
694         (__MATH_DECLARING_FLOATN): Define to control declaration of
695         float128 functions.
696         * math/bits/math-finite.h (pow10): Do not declare for float128.
697         (gamma): Likewise.
698         (scalb): Likewise.
700 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
701             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
703         * bits/floatn.h: New file.
704         * bits/huge_val_flt128.h: Likewise.
706         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
707         (__DECL_SIMD_sinf128): Likewise.
708         (__DECL_SIMD_sincosf128): Likewise.
709         (__DECL_SIMD_logf128): Likewise.
710         (__DECL_SIMD_expf128): Likewise.
711         (__DECL_SIMD_powf128): Likewise.
713         * math/Makefile (headers): Install bits/floatn.h and
714         bits/huge_val_flt128.h.
716         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
717         defined.
719         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
720         (isnan, gamma, nexttoward, scalb): Only define if not
721         __MATH_DECLARING_FLOATN.
722         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
723         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
724         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
725         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
727         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
728         Include bits/cmathcalls.h to get the declarations of _Float128
729         versions of complex functions.
730         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
731         Define macro.
733         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
734         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
735         get the declarations of _Float128 versions of math functions.
736         (__MATH_DECLARING_FLOATN): New macro to control declaration of
737         _FloatN types.
738         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
739         is type-generic, so use it without __MATH_TG.
740         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
741         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
742         _Float128 type and GCC < 7.0, otherwise use the builtin.
743         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
744         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
745         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
746         New _GNU_SOURCE enabled macros.
748 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
750         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
751         (signbitf): Likewise.
752         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
753         Likewise.
754         (signbitl): Likewise.
755         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
756         Likewise.
757         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
758         (signbitl): Likewise.
759         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
761 2017-05-12  Florian Weimer  <fweimer@redhat.com>
763         [BZ #21386]
764         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
765         parent PID.  The assertion in the child is incorrect with PID
766         namespaces.
768 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
770         * sysdeps/unix/sysv/linux/kernel-features.h
771         (__ASSUME_STATFS_F_FLAGS): Remove macro.
772         * sysdeps/unix/sysv/linux/internal_statvfs.c
773         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
775 2017-05-11  Zack Weinberg  <zackw@panix.com>
777         * Makerules: New subdir configuration variables 'tests-internal'
778         and 'test-internal-extras'.  Test files in these categories will
779         still be compiled with MODULE_NAME=nonlib.  Test files in the
780         existing categories (tests, xtests, test-srcs, test-extras) are
781         now compiled with MODULE_NAME=testsuite.
782         New subdir configuration variable 'modules-names-tests'.  Files
783         which are in both 'modules-names' and 'modules-names-tests' will
784         be compiled with MODULE_NAME=testsuite instead of
785         MODULE_NAME=extramodules.
786         (gen-as-const-headers): Move to tests-internal.
787         (do-tests-clean, common-mostlyclean): Support tests-internal.
788         * Makeconfig (built-modules): Add testsuite.
789         * Makefile: Change libof-check-installed-headers-c and
790         libof-check-installed-headers-cxx to 'testsuite'.
791         * Rules: Likewise.  Support tests-internal.
792         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
793         Remove extra-modules.mk.
795         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
796         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
797         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
798         very top of the file and rationalize their order.
799         If MODULE_NAME is not defined at all, define IS_IN to always be
800         false, and don't define _ISOMAC.
801         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
802         true, define _ISOMAC and suppress everything else in this file,
803         starting with the inclusion of config.h.
804         Do check for inappropriate definitions of __OPTIMIZE__ and
805         __FAST_MATH__ here, but only if _ISOMAC is not defined.
806         Correct some out-of-date commentary.
808         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
809         and _Mlong_double_ before including math.h.
810         * include/string.h: If _ISOMAC is defined, don't expose
811         _STRING_ARCH_unaligned. Move a comment to a more appropriate
812         location.
814         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
815         * include/time.h, include/unistd.h, include/wchar.h: No need to
816         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
818         * misc/sys/cdefs.h (__NTHNL): New macro.
819         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
820         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
822         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
823         defined, for HAVE_TUNABLES.
824         * inet/tst-checks-posix.c: No need to define _ISOMAC.
825         * intl/tst-gettext2.c: Provide own definition of N_.
826         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
827         * math/test-signgam-main.c: No need to define _ISOMAC.
828         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
829         * stdlib/tst-strtod1i.c: ...this new file.
830         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
831         Split tests of __strtod_internal to...
832         * stdlib/tst-strtod5i.c: ...this new file.
833         * string/test-string.h: Include stdint.h. Duplicate definition of
834         inhibit_loop_to_libcall here (from libc-symbols.h).
835         * string/test-strstr.c: Provide dummy definition of
836         libc_hidden_builtin_def when including strstr.c.
837         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
838         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
839         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
840         Don't include init-arch.h.
841         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
842         Don't include init-arch.h.
844         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
845         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
846         unload, unload2, circleload1, neededtest, neededtest2,
847         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
848         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
849         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
850         ifunc tests to tests-internal.
851         Don't add $(modules-names) to test-extras.
852         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
853         Add tst-deadline to tests-static-internal.
854         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
855         tests-internal.
856         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
857         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
858         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
859         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
860         tst-sem12-static, and tst-stackguard1-static to tests-internal.
861         Link tests-internal with libpthread also.
862         Don't add $(modules-names) to test-extras.
863         * nss/Makefile: Move tst-field to tests-internal.
864         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
865         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
866         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
867         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
868         tests-internal.
869         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
870         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
871         test-get_hwcap-static to tests-internal.
872         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
873         tests-internal.
874         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
875         modules-names-tests.
877 2017-05-11  Zack Weinberg  <zackw@panix.com>
879         * libio/libio.h: Condition dummy definition of _IO_lock_t on
880         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
881         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
882         _IO_funlockfile, and _IO_ftrylockfile.  Only define
883         _IO_cleanup_region_start and _IO_cleanup_region_end if not
884         already defined.
885         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
886         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
887         appropriately.
888         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
889         Define _IO_lock_t_defined after defining _IO_lock_t.
891 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
893         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
894         void* for argument type and use VDSO_SYMBOL macro.
895         (is_sigtramp_address_rt): Likewise.
896         (__backtrace): Setup expected frame pointer address for signal
897         handling.
898         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
899         void* for argumetn type and use VSDO_SYMBOL macro.
900         (__backtrace): Setup expected frame pointer address for signal
901         handling.
903         * sysdeps/unix/sysv/linux/writev.c: New file.
905         * sysdeps/unix/sysv/linux/readv.c: New file.
907         * include/unistd.h (write): Add hidden proto.
908         * io/Makefile (CFLAGS-write.c): New define.
909         * nptl/Makefile (CFLAGS-write.c): Likewise.
910         * sysdeps/unix/sysv/linux/write.c: New file.
912         [BZ #21428]
913         * include/unistd.h (read): Add hidden proto.
914         * io/Makefile (CFLAGS-read.c): New define.
915         * nptl/Makefile (CFLAGS-read.c): Likewise.
916         * sysdeps/unix/sysv/linux/read.c: New file.
918         * io/Makefile (CFLAGS-creat.c): New rule.
919         (CFLAGS-creat64.c): Likewise.
920         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
921         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
922         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
923         * sysdeps/unix/sysv/linux/creat.c: New file.
924         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
925         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
926         auto-generated list.
927         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
929         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
930         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
931         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
932         * sysdeps/unix/sysv/linux/open.c: New file.
933         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
934         iff __WORDSIZE != 64 and use __NR_openat when available.
935         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
936         from auto-generated list.
938         * nptl/Makefile (CFLAGS-close.c): New flag.
939         * sysdeps/unix/sysv/linux/close.c: New file.
941 2017-05-11  DJ Delorie  <dj@redhat.com>
943         * MAINTAINERS: New.  Points to wiki.
945 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
947         * scripts/gen-tunables.awk: Add attribute_relro to
948         tunable_list.
950 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
952         [BZ #21457]
953         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
954         (R1): Likewise.
955         (R2): Likewise.
956         (R3): Likewise.
957         (R4): Likewise.
958         (R5): Likewise.
959         (R6): Likewise.
960         (R7): Likewise.
961         (R8): Likewise.
962         (R9): Likewise.
963         (R10): Likewise.
964         (R11): Likewise.
965         (R12): Likewise.
966         (R13): Likewise.
967         (R14): Likewise.
968         (R15): Likewise.
969         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
970         (REG_FS): Likewise.
971         (REG_ES): Likewise.
972         (REG_DS): Likewise.
973         (REG_EDI): Likewise.
974         (REG_ESI): Likewise.
975         (REG_EBP): Likewise.
976         (REG_ESP): Likewise.
977         (REG_EBX): Likewise.
978         (REG_EDX): Likewise.
979         (REG_ECX): Likewise.
980         (REG_EAX): Likewise.
981         (REG_TRAPNO): Likewise.
982         (REG_ERR): Likewise.
983         (REG_EIP): Likewise.
984         (REG_CS): Likewise.
985         (REG_EFL): Likewise.
986         (REG_UESP): Likewise.
987         (REG_SS): Likewise.
988         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
989         (R_D1): Likewise.
990         (R_D2): Likewise.
991         (R_D3): Likewise.
992         (R_D4): Likewise.
993         (R_D5): Likewise.
994         (R_D6): Likewise.
995         (R_D7): Likewise.
996         (R_A0): Likewise.
997         (R_A1): Likewise.
998         (R_A2): Likewise.
999         (R_A3): Likewise.
1000         (R_A4): Likewise.
1001         (R_A5): Likewise.
1002         (R_A6): Likewise.
1003         (R_A7): Likewise.
1004         (R_SP): Likewise.
1005         (R_PC): Likewise.
1006         (R_PS): Likewise.
1007         (fpregset_t): Likewise.
1008         (MCONTEXT_VERSION): Likewise.
1009         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1010         (CTX_AT): Likewise.
1011         (CTX_V0): Likewise.
1012         (CTX_V1): Likewise.
1013         (CTX_A0): Likewise.
1014         (CTX_A1): Likewise.
1015         (CTX_A2): Likewise.
1016         (CTX_A3): Likewise.
1017         (CTX_T0): Likewise.
1018         (CTX_T1): Likewise.
1019         (CTX_T2): Likewise.
1020         (CTX_T3): Likewise.
1021         (CTX_T4): Likewise.
1022         (CTX_T5): Likewise.
1023         (CTX_T6): Likewise.
1024         (CTX_T7): Likewise.
1025         (CTX_S0): Likewise.
1026         (CTX_S1): Likewise.
1027         (CTX_S2): Likewise.
1028         (CTX_S3): Likewise.
1029         (CTX_S4): Likewise.
1030         (CTX_S5): Likewise.
1031         (CTX_S6): Likewise.
1032         (CTX_S7): Likewise.
1033         (CTX_T8): Likewise.
1034         (CTX_T9): Likewise.
1035         (CTX_K0): Likewise.
1036         (CTX_K1): Likewise.
1037         (CTX_GP): Likewise.
1038         (CTX_SP): Likewise.
1039         (CTX_S8): Likewise.
1040         (CTX_RA): Likewise.
1041         (CTX_MDLO): Likewise.
1042         (CTX_MDHI): Likewise.
1043         (CTX_CAUSE): Likewise.
1044         (CTX_EPC): Likewise.
1045         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1046         inclusion of <sys/procfs.h> on [__USE_MISC].
1047         (greg_t): Condition on [__USE_MISC].
1048         (gregset_t): Likewise.
1049         (fpregset_t): Likewise.
1050         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
1051         (NGREG): Likewise.
1052         (gregset_t): Likewise.
1053         (REG_R0): Likewise.
1054         (REG_R1): Likewise.
1055         (REG_R2): Likewise.
1056         (REG_R3): Likewise.
1057         (REG_R4): Likewise.
1058         (REG_R5): Likewise.
1059         (REG_R6): Likewise.
1060         (REG_R7): Likewise.
1061         (REG_R8): Likewise.
1062         (REG_R9): Likewise.
1063         (REG_R10): Likewise.
1064         (REG_R11): Likewise.
1065         (REG_R12): Likewise.
1066         (REG_R13): Likewise.
1067         (REG_R14): Likewise.
1068         (REG_R15): Likewise.
1069         (struct _libc_fpstate): Likewise.
1070         (fpregset_t): Likewise.
1071         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
1072         (NFPREG): Likewise.
1073         (gregset_t): Likewise.
1074         (fpregset_t): Likewise.
1075         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
1076         (R_D1): Likewise.
1077         (R_D2): Likewise.
1078         (R_D3): Likewise.
1079         (R_D4): Likewise.
1080         (R_D5): Likewise.
1081         (R_D6): Likewise.
1082         (R_D7): Likewise.
1083         (R_A0): Likewise.
1084         (R_A1): Likewise.
1085         (R_A2): Likewise.
1086         (R_A3): Likewise.
1087         (R_A4): Likewise.
1088         (R_A5): Likewise.
1089         (R_A6): Likewise.
1090         (R_A7): Likewise.
1091         (R_SP): Likewise.
1092         (R_PC): Likewise.
1093         (R_PS): Likewise.
1094         (fpregset_t): Likewise.
1095         (MCONTEXT_VERSION): Likewise.
1096         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
1097         Likewise.
1098         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
1099         (REG_R1): Likewise.
1100         (REG_R2): Likewise.
1101         (REG_R3): Likewise.
1102         (REG_R4): Likewise.
1103         (REG_R5): Likewise.
1104         (REG_R6): Likewise.
1105         (REG_R7): Likewise.
1106         (REG_R8): Likewise.
1107         (REG_R9): Likewise.
1108         (REG_R10): Likewise.
1109         (REG_R11): Likewise.
1110         (REG_R12): Likewise.
1111         (REG_R13): Likewise.
1112         (REG_R14): Likewise.
1113         (REG_R15): Likewise.
1114         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
1115         of <arch/abi.h> on [__USE_MISC].
1116         (greg_t): Condition on [__USE_MISC].
1117         (NGREG): Likewise.
1118         (gregset_t): Likewise.
1120 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1122         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
1123         (__pthread_rwlock_arch_t): Remove __data definition.
1124         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
1125         (__pthread_rwlock_arch_t): Likewise.
1127 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1129         * resolv/inet_pton.c: Reformat in GNU style.  Remove
1130         internal_function on static functions.
1132 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1134         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
1135         from format_ai_flags.
1136         (format_ai_flags): New function.  Incorporate flag formatting code
1137         from format_ai_one.
1138         (format_ai_canonname): New function.
1139         (format_ai_one): Remove flags parameter.
1140         (format_ai_family): Likewise.
1141         (support_format_addrinfo): Call format_ai_flags,
1142         format_ai_canonname.
1143         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
1144         check_ai.
1145         (check_ai): Call check_ai_hints.
1146         (do_test): Add AI_CANONNAME tests.
1148 2017-05-11  Florian Weimer  <fweimer@redhat.com>
1150         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
1151         (gaih_inet): Likewise.
1153 2017-05-10  Andreas Schwab  <schwab@suse.de>
1155         * nptl/tst-fork1.c: Include <support/test-driver.c>.
1156         (main): Rename to do_test and make static.
1158 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
1160         * string/rawmemchr.c: Include <libc-diag.h>.
1161         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
1162         with size (size_t)-1.
1164 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1166         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
1167         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1168         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1170         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
1171         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
1172         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
1173         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
1174         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
1175         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
1176         * sysdeps/unix/sysv/linux/kernel-features.h
1177         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
1178         socket syscalls.
1179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1181         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1182         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1183         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1185         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
1186         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1187         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1188         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1189         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1190         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1191         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1192         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1193         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1195 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1197         * posix/Makefile (headers): Add pthreadtypes-arch.h and
1198         thread-shared-types.h.
1199         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
1200         specific thread definition.
1201         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
1202         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
1203         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
1204         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
1205         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
1206         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
1207         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
1208         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
1209         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
1210         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
1211         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
1212         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
1213         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
1214         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
1215         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
1216         thread definition between POSIX and C11.
1217         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
1218         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
1219         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
1220         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
1221         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
1222         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
1223         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
1224         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
1225         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
1226         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
1227         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
1228         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
1229         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
1230         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
1231         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
1232         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
1233         definitions shared across all architectures.
1235 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1237         * sysdeps/unix/sysv/linux/kernel-features.h
1238         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
1239         (__ASSUME_SENDMMSG): Likewise.
1240         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
1241         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
1242         sendmmsg syscall if that can be assumed to be present, socketcall
1243         otherwise, with no fallback for runtime failure.
1245         * sysdeps/unix/sysv/linux/kernel-features.h
1246         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
1247         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
1248         (__ASSUME_RECVMMSG): Likewise.
1249         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
1250         recvmmsg syscall if it can be assumed to be present, socketcall
1251         otherwise, with no fallback for runtime failure.
1253 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1254             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1256         * bits/libc-header-start.h:
1257         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
1258         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
1259         * manual/creature.texi: Likewise.
1261 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1262             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1264         * math/Makefile:
1265         (type-float128-suffix): New variable
1266         (type-float128-routines): Likewise
1267         (type-float128-yes): Likewise
1268         (types): Append float128 if supported
1269         (types-basic): New variable to control the use of templates for
1270         float, double, and long double, but not for float128 or newer types.
1271         (type-basic-foreach): Likewise.
1273         * sysdeps/ieee754/float128/Makeconfig: New file.
1274         * sysdeps/ieee754/float128/Versions: New file.
1276 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
1278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
1279         Remove macro.
1280         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
1281         prlimit64 is always available and does not give an ENOSYS error.
1282         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
1283         unconditional.
1284         [!__NR_prlimit64]: Remove conditional code.
1285         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
1286         prlimit64 is always available and does not give an ENOSYS error.
1287         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
1289 2017-05-09  Zack Weinberg  <zackw@panix.com>
1291         * sunrpc/tst-xdrmem2.c: Include stdint.h.
1293 2017-05-09  Florian Weimer  <fweimer@redhat.com>
1295         [BZ #21474]
1296         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
1297         (__res_maybe_init): Likewise.
1299 2017-05-09  Zack Weinberg  <zackw@panix.com>
1301         * extra-modules.mk: Delete file.
1302         * cppflags-iterator.mk: Rename to ...
1303         * libof-iterator.mk: ...this.  Adjust comments.
1305         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
1306         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
1307         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
1308         Use libof-iterator.mk instead of cppflags-iterator.mk or
1309         extra-modules.mk.
1311         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
1312         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
1314 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1316         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1318 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
1320         * stdio-common/vfprintf.c (EXTSIZ): Define.
1321         (vfprintf): Use EXTSIZ.
1322         (printf_positional): Likewise.
1324 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1326         * sysdeps/unix/sysv/linux/kernel-features.h
1327         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
1328         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
1329         <kernel-features.h>.
1330         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
1332         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1333         (__ASSUME_GETCPU_SYSCALL): Remove macro.
1335 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1337         Prevent multiple deletion of temporary files.
1338         * support/temp_file.c (struct temp_name_list): Add owner member.
1339         (add_temp_file): Record owner.
1340         (support_delete_temp_files): Delete file only if owner matches.
1341         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
1342         (do_prepare): Use create_temp_file instead of add_temp_file.
1343         Initialize temp_fd1, temp_fd2.
1344         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
1345         framework remove the temporary files.
1346         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
1347         (do_prepare): Use create_temp_file instead of add_temp_file.
1348         Initialize temp_fd1, temp_fd2, temp_fd3.
1349         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
1350         the test framework remove the temporary files.
1351         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
1352         deletion.
1353         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
1354         temporary directory.  It is removed by the test framework.
1355         * dirent/tst-scandir.c (do_test): Likewise.
1357 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1359         Delete temporary files in LIFO order.
1360         * support/temp_file.c (struct temp_name_list): Replace q member
1361         with next.
1362         (add_temp_file): Add new file to front of linked list.
1363         (support_delete_temp_files): Use next member.
1364         (support_print_temp_files): Likewise.
1366 2017-05-08  Florian Weimer  <fweimer@redhat.com>
1368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1369         sys/ultrasound.h.
1370         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
1372 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
1374         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1375         Remove.
1376         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1377         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1378         (arch_minimum_kernel): Remove.
1379         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1380         * README: Update statement about Linux kernel requirements.
1382 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1384         * manual/llio.texi: Add preadv and pwritev documentation.
1386 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1388         [BZ #21455]
1389         * bits/stdint-intn.h: New file.
1390         * bits/stdint-uintn.h: Likewise.
1391         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
1392         bits/stdint-uintn.h.
1393         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
1394         <stdint.h>.
1395         * posix/sys/types.h: Include <bits/stdint-intn.h>.
1396         (__int8_t_defined): Do not define here.
1397         (int8_t): Likewise.
1398         (int16_t): Likewise.
1399         (int32_t): Likewise.
1400         (int64_t): Likewise.
1401         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
1402         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
1403         <stdint.h>.
1404         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
1405         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
1406         <bits/stdint-uintn.h>.
1407         (int8_t): Do not define here.
1408         (int16_t): Likewise.
1409         (int32_t): Likewise.
1410         (int64_t): Likewise.
1411         (uint8_t): Likewise.
1412         (uint16_t): Likewise.
1413         (uint32_t): Likewise.
1414         (uint64_t): Likewise.
1415         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
1416         variable.
1417         (test-xfail-XPG42/netdb.h/conform): Likewise.
1418         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
1419         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1420         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1421         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1423 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1425         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
1426         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
1427         the above.
1428         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1429         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1431 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
1433         [BZ #21445]
1434         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
1436         [BZ #21457]
1437         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1438         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
1439         __glibc_reserved1.
1440         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1441         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
1442         (struct _fpxreg): Likewise.
1443         [!__x86_64__] (struct _fpstate): Rename field reserved to
1444         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
1445         [__x86_64__] (struct _fpstate): Rename field padding to
1446         __glibc_reserved1.
1447         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
1448         Rename field reserved2 to __glibc_reserved2.
1449         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
1450         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
1451         __glibc_reserved1.
1452         [__x86_64__] (struct _libc_fpstate): Rename field padding to
1453         __glibc_reserved1.
1455 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1457         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
1458         variable name.
1460 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
1462         [BZ #21391]
1463         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
1464         Only call init_cpu_features.
1465         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
1466         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1467         * sysdeps/i386/dl-procinfo.h: Removed.
1468         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
1469         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
1470         <sysdeps/x86/dl-procinfo.h>.
1471         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
1472         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
1473         Include <sysdeps/x86/dl-procinfo.h> instead of
1474          <sysdeps/generic/dl-procinfo.h>.
1475         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
1476         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
1477         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
1478         (bit_cpu_MOVBE): Likewise.
1479         (bit_cpu_BMI1): Likewise.
1480         (bit_cpu_BMI2): Likewise.
1481         (index_cpu_BMI1): Likewise.
1482         (index_cpu_BMI2): Likewise.
1483         (index_cpu_LZCNT): Likewise.
1484         (index_cpu_MOVBE): Likewise.
1485         (index_cpu_POPCNT): Likewise.
1486         (reg_BMI1): Likewise.
1487         (reg_BMI2): Likewise.
1488         (reg_LZCNT): Likewise.
1489         (reg_MOVBE): Likewise.
1490         (reg_POPCNT): Likewise.
1491         * sysdeps/x86/dl-hwcap.h: New file.
1492         * sysdeps/x86/dl-procinfo.h: Likewise.
1493         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
1494         (_dl_x86_platforms): Likewise.
1496 2017-05-03  DJ Delorie  <dj@redhat.com>
1498         [BZ #21411]
1499         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
1501 2017-05-03  Phil Blundell  <pb@pbcl.net>
1503         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
1504         comments.
1506 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
1508         [BZ #20116]
1509         * nptl/pthread_create.c: Expand comments to describe
1510         semaphore-like and mutex-like uses of PD->lock.
1512 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1514         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
1515         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
1516         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
1517         auto-generation list.
1518         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1519         epoll_wait.
1520         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
1521         Remove epoll_wait.
1523         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1524         osf_select.
1525         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
1526         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
1527         osf_select from auto-generation list.
1528         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1529         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1530         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
1531         * sysdeps/unix/sysv/linux/select.c: New file.
1533         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
1534         * sysdeps/unix/sysv/linux/poll.c: New file.
1535         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
1536         auto-generation list.
1538 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
1540         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
1541         New macro.
1543 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
1545         [BZ #21179]
1546         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
1547         R_SPARC_REGISTER relocations.
1549 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1551         * include/unistd.h (__pread): Add libc_hidden_proto.
1552         (__pread64): Likewise.
1553         (__pwrite): Likewise.
1554         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
1555         (__pread64): Remove.
1556         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
1557         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
1558         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
1560 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1564 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1566         * nptl/tst-cancel4-common.c: Use libsupport.
1567         * nptl/tst-cancel4-common.h: Likewise.
1568         * nptl/tst-cancel4.c (tf_read): Likewise.
1569         (tf_readv): Likewise.
1570         (tf_write): Likewise.
1571         (tf_writev): Likewise.
1572         (tf_sleep): Likewise.
1573         (tf_usleep): Likewise.
1574         (tf_nanosleep): Likewise.
1575         (tf_select): Likewise.
1576         (tf_pselect): Likewise.
1577         (tf_poll): Likewise.
1578         (tf_ppoll): Likewise.
1579         (tf_wait): Likewise.
1580         (tf_waitpid): Likewise.
1581         (tf_waitid): Likewise.
1582         (tf_sigpause): Likewise.
1583         (tf_sigsuspend): Likewise.
1584         (tf_sigwait): Likewise.
1585         (tf_sigwaitinfo): Likewise.
1586         (tf_sigtimedwait): Likewise.
1587         (tf_pause): Likewise.
1588         (tf_accept): Likewise.
1589         (tf_send): Likewise.
1590         (tf_recv): Likewise.
1591         (tf_recvfrom): Likewise.
1592         (tf_recvmsg): Likewise.
1593         (tf_open): Likewise.
1594         (tf_close): Likewise.
1595         (tf_pread): Likewise.
1596         (tf_pwrite): Likewise.
1597         (tf_preadv): Likewise.
1598         (tf_pwritev): Likewise.
1599         (tf_fsync): Likewise.
1600         (tf_fdatasync): Likewise.
1601         (tf_msync): Likewise.
1602         (tf_sendto): Likewise.
1603         (tf_sendmsg): Likewise.
1604         (tf_creat): Likewise.
1605         (tf_connect): Likewise.
1606         (tf_tcdrain): Likewise.
1607         (tf_msgrcv): Likewise.
1608         (tf_msgsnd): Likewise.
1609         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
1610         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
1612         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
1613         expected arguments.
1614         (do_test): Adapt to use libsupport.
1616 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
1618         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
1620         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
1621         (PF_MAX): Set to 44.
1622         (AF_SMC): New macro.
1624         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1625         kernel version to 4.11.
1627 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1629         [BZ #21280]
1630         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
1631         signal of subnormals and adjust the exponent of power of 2 down
1632         when low part has opposite sign.
1634 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1636         * sysdeps/powerpc/powerpc64le/Implies: New file.
1637         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
1638         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
1639         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
1640         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
1641         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
1642         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
1643         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
1644         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
1645         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
1646         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
1647         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
1648         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
1649         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
1650         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
1651         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
1652         * sysdeps/powerpc/preconfigure: New file.
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
1656 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
1658         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
1659         inclusion.
1660         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
1661         Remove.
1663 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
1665         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
1666         (XPG3): Rename standard to XPG4.
1667         * conform/Makefile: Likewise.
1668         * conform/list-header-symbols.pl: Likewise.
1669         * conform/data/aio.h-data: Likewise.
1670         * conform/data/arpa/inet.h-data: Likewise.
1671         * conform/data/complex.h-data: Likewise.
1672         * conform/data/ctype.h-data: Likewise.
1673         * conform/data/dlfcn.h-data: Likewise.
1674         * conform/data/fcntl.h-data: Likewise.
1675         * conform/data/fenv.h-data: Likewise.
1676         * conform/data/float.h-data: Likewise.
1677         * conform/data/fmtmsg.h-data: Likewise.
1678         * conform/data/ftw.h-data: Likewise.
1679         * conform/data/grp.h-data: Likewise.
1680         * conform/data/inttypes.h-data: Likewise.
1681         * conform/data/iso646.h-data: Likewise.
1682         * conform/data/langinfo.h-data: Likewise.
1683         * conform/data/libgen.h-data: Likewise.
1684         * conform/data/limits.h-data: Likewise.
1685         * conform/data/locale.h-data: Likewise.
1686         * conform/data/math.h-data: Likewise.
1687         * conform/data/mqueue.h-data: Likewise.
1688         * conform/data/ndbm.h-data: Likewise.
1689         * conform/data/net/if.h-data: Likewise.
1690         * conform/data/netdb.h-data: Likewise.
1691         * conform/data/netinet/in.h-data: Likewise.
1692         * conform/data/poll.h-data: Likewise.
1693         * conform/data/pthread.h-data: Likewise.
1694         * conform/data/pwd.h-data: Likewise.
1695         * conform/data/sched.h-data: Likewise.
1696         * conform/data/search.h-data: Likewise.
1697         * conform/data/semaphore.h-data: Likewise.
1698         * conform/data/signal.h-data: Likewise.
1699         * conform/data/spawn.h-data: Likewise.
1700         * conform/data/stdbool.h-data: Likewise.
1701         * conform/data/stdint.h-data: Likewise.
1702         * conform/data/stdio.h-data: Likewise.
1703         * conform/data/stdlib.h-data: Likewise.
1704         * conform/data/string.h-data: Likewise.
1705         * conform/data/strings.h-data: Likewise.
1706         * conform/data/stropts.h-data: Likewise.
1707         * conform/data/sys/mman.h-data: Likewise.
1708         * conform/data/sys/resource.h-data: Likewise.
1709         * conform/data/sys/select.h-data: Likewise.
1710         * conform/data/sys/socket.h-data: Likewise.
1711         * conform/data/sys/stat.h-data: Likewise.
1712         * conform/data/sys/statvfs.h-data: Likewise.
1713         * conform/data/sys/time.h-data: Likewise.
1714         * conform/data/sys/timeb.h-data: Likewise.
1715         * conform/data/sys/types.h-data: Likewise.
1716         * conform/data/sys/uio.h-data: Likewise.
1717         * conform/data/sys/un.h-data: Likewise.
1718         * conform/data/sys/wait.h-data: Likewise.
1719         * conform/data/syslog.h-data: Likewise.
1720         * conform/data/termios.h-data: Likewise.
1721         * conform/data/tgmath.h-data: Likewise.
1722         * conform/data/time.h-data: Likewise.
1723         * conform/data/ucontext.h-data: Likewise.
1724         * conform/data/unistd.h-data: Likewise.
1725         * conform/data/utmpx.h-data: Likewise.
1726         * conform/data/varargs.h-data: Likewise.
1727         * conform/data/wchar.h-data: Likewise.
1728         * conform/data/wctype.h-data: Likewise.
1730 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
1732         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
1733         version to 7 branch.
1735 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
1737         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
1738         earlyclobber to output operand of sqrt insn.
1739         (__ieee754_sqrtf): Ditto.
1741 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
1743         [BZ #21426]
1744         * misc/bits/types/struct_iovec.h: New file.
1745         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
1746         * include/bits/types/struct_iovec.h: New file.
1747         * bits/uio.h (struct iovec): Replace by inclusion of
1748         <bits/types/struct_iovec.h>.
1749         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
1750         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
1751         of <sys/uio.h>.
1752         * nptl/tst-cancel4.c: Include <sys/uio.h>
1753         * posix/test-errno.c: Likewise.
1754         * support/resolv_test.c: Likewise.
1755         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
1756         Remove.
1757         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1758         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1759         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1761         * conform/data/sys/socket.h-data (*_t): Allow.
1763 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1765         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
1766         assignment.
1768 2017-04-24  Daurnimator  <quae@daurnimator.com>
1769             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1771         [BZ #21340]
1772         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
1773         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
1774         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
1775         valid flags.
1776         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
1777         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
1778         POSIX_SPAWN_SETSID.
1779         * sysdeps/posix/spawni.c (__spawni): Likewise.
1780         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1781         * NEWS: Add note about POSIX_SPAWN_SETSID support.
1783 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1785         * sysdeps/generic/math_private.h: Move the declaration of many
1786         functions to sysdeps/generic/math_private_calls.h.
1787         * sysdeps/generic/math_private_calls.h: New file with the
1788         declarations of the functions removed from math_private.h
1789         macroized by floating-point type.
1791 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1793         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
1794         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
1795         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1796         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1797         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1798         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1800 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1802         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
1803         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
1804         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
1805         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
1806         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
1807         New Define.
1809 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1811         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
1812         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
1813         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
1814         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
1815         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
1816         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
1818 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1820         * sysdeps/s390/multiarch/ifunc-resolve.h
1821         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
1822         * sysdeps/s390/multiarch/8bit-generic.c
1823         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
1824         define ifunc resolvers.
1826 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1828         [BZ #20424]
1829         * manual/memory.texi (Replacing malloc): New section.
1830         (Allocating Storage For Program Data): Reference it.
1831         (The GNU Allocator): Likewise.
1833 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
1835         * stdlib/Versions (__strtod_internal): List explicitly, not as
1836         wildcard.
1837         (__strtof_internal): Likewise.
1838         (__strtold_internal): Likewise.
1839         (__strtol_internal): Likewise.
1840         (__strtoll_internal): Likewise.
1841         (__strtoul_internal): Likewise.
1842         (__strtoull_internal): Likewise.
1843         (__strtoq_internal): Likewise.
1844         (__strtouq_internal): Likewise.
1845         * wcsmbs/Versions (__wcstod_internal): Likewise.
1846         (__wcstof_internal): Likewise.
1847         (__wcstold_internal): Likewise.
1848         (__wcstol_internal): Likewise.
1849         (__wcstoll_internal): Likewise.
1850         (__wcstoul_internal): Likewise.
1851         (__wcstoull_internal): Likewise.
1853 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1855         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
1856         struct timespec definition.
1858 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1860         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
1862 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1864         * inet/rcmd.c (rresvport_af): Fix typo in comment.
1865         * inet/rexec.c (rexec_af): Likewise.
1867 2017-04-19  Zack Weinberg  <zackw@panix.com>
1869         * posix/tst-mmap-offset.c: Include stdint.h.
1870         * resolv/tst-ns_name_compress.c: Include string.h.
1871         * resolv/tst-resolv-edns.c: Include resolv.h.
1873 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1875         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
1876         with __glibc_likely.
1877         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
1878         Replace __builtin_expect with __glibc_unlikely.
1879         * resolv/res_init.c (__res_vinit): Likewise.
1880         * resolv/res_query.c (__libc_res_nquery): Likewise.
1881         * resolv/res_send.c (__libc_res_nsend): Likewise.
1883 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1885         [BZ #15722]
1886         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
1887         with SOCK_CLOEXEC.
1888         * resolv/res_send.c (send_vc, reopen): Likewise.
1889         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1890         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
1891         Likewise.
1892         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
1893         * inet/rexec.c (rexec_af): Add comment.
1894         * inet/rcmd.c (rresvport_af): Likewise.
1896 2017-04-19  Florian Weimer  <fweimer@redhat.com>
1898         * nscd/connections.c (have_accept4): Removed definition.
1899         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
1900         accept4 works.
1901         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
1902         ia64 because that was the first version with accept4 support.
1903         * support/Makefile (libsupport-routines): Add xaccept4.
1904         * support/xsocket.h (xaccept4): Declare.
1905         * support/xaccept4.c: New file.
1906         * socket/tst-accept4.c: New file.
1907         * socket/Makefile (tests): Add tst-accept4.
1908         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
1909         definition.
1910         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
1911         comment.
1912         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
1913         implementation is available.
1914         (accept4): Use the system call if available, otherwise use the
1915         socket call.
1916         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
1917         Set to 3.2.18.
1918         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1919         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
1920         accept4 is unconditionally available in later 3.2 stable kernels.
1921         (__ASSUME_ACCEPT4_SYSCALL): Define.
1922         * sysdeps/unix/sysv/linux/kernel-features.h
1923         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
1924         definitions.
1925         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1926         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
1928 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
1930         * conform/Makefile (tests-special): Do not make addition of
1931         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
1932         (generated): Do not make addition of $(conformtest-header-base)
1933         conditional on [$(cross-compiling) = no].
1935         [BZ #21267]
1936         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
1937         if defined by <asm/socket.h> and not previously defined.
1938         (IOCSIZE_SHIFT): Likewise.
1939         (IOC_IN): Likewise.
1940         (IOC_INOUT): Likewise.
1941         (IOC_OUT): Likewise.
1943 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1945         [BZ #21396]
1946         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1947         Prefer_No_AVX512 if AVX512ER isn't available.
1948         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
1949         (index_arch_Prefer_No_AVX512): Likewise.
1950         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
1951         AVX512 version if Prefer_No_AVX512 is set.
1952         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
1953         Likewise.
1954         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
1955         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
1956         Likewise.
1957         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1958         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
1959         Likewise.
1960         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
1961         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
1962         Likewise.
1964 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
1966         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1967         Prefer_No_VZEROUPPER if AVX512ER is available.
1968         * sysdeps/x86/cpu-features.h
1969         (bit_cpu_AVX512PF): New.
1970         (bit_cpu_AVX512ER): Likewise.
1971         (bit_cpu_AVX512CD): Likewise.
1972         (bit_cpu_AVX512BW): Likewise.
1973         (bit_cpu_AVX512VL): Likewise.
1974         (index_cpu_AVX512PF): Likewise.
1975         (index_cpu_AVX512ER): Likewise.
1976         (index_cpu_AVX512CD): Likewise.
1977         (index_cpu_AVX512BW): Likewise.
1978         (index_cpu_AVX512VL): Likewise.
1979         (reg_AVX512PF): Likewise.
1980         (reg_AVX512ER): Likewise.
1981         (reg_AVX512CD): Likewise.
1982         (reg_AVX512BW): Likewise.
1983         (reg_AVX512VL): Likewise.
1985 2017-04-18  Florian Weimer  <fweimer@redhat.com>
1987         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
1988         O_CLOEXEC is defined.
1989         * include/fcntl.h (__have_o_cloexec): Remove declaration.
1990         * io/Makefile (aux): Remove.
1991         * io/have_o_cloexec.c: Remove file.
1992         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
1993         defined and works.
1994         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
1995         defined.
1996         * login/utmp_file.c (O_flags): Remove definition.
1997         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
1998         O_CLOEXEC works.
1999         (pututline_file): Likewise.
2000         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2001         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2002         definition.
2003         (internal_setgrent): Assume that O_CLOEXEC works.
2004         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2005         Remove definition.
2006         (internal_setgrent): Assume that O_CLOEXEC works.
2007         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2008         definition.
2009         (internal_setpwent): Assume that O_CLOEXEC works.
2010         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2011         definition.
2012         (internal_setspent): Assume that O_CLOEXEC works.
2013         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2014         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2015         O_CLOEXEC is defined and works.
2016         * nss/Makefile (libnss_files-routines): Remove
2017         files-have_o_cloexec.
2018         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2019         defined.
2020         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2021         O_CLOEXEC is defined and works.
2022         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2023         * nss/nss_files/files-have_o_cloexec.c: Remove.
2024         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2025         defined.
2026         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2027         and works.
2028         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2029         definition.
2030         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2031         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2032         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2033         (__opendirat, __opendir): Adjust opendir_oflags call.
2034         (check_have_o_cloexec): Remove.
2035         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2036         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2037         defined.
2038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2039         Remove definition.
2041 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2043         * include/unistd.h (__have_dup3): Remove declaration.
2044         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2045         dup3 is available.
2046         * libio/freopen64.c (freopen64): Likewise.
2047         * socket/Makefile (aux): Remove have_sock_cloexec.
2048         * socket/have_sock_cloexec.c: Remove file.
2049         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
2050         definition.
2051         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
2052         Likewise.
2053         * sysdeps/nacl/kernel-features.h: Update comment.
2055 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2057         * include/unistd.h (__have_pipe2): Remove declaration.
2058         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
2059         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
2060         available.
2061         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
2062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
2063         Remove definition.
2065 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2067         * malloc/malloc.c (cfree): Turn into compat symbol.
2068         (__cfree): Remove alias.
2069         * stdlib/stdlib.h (cfree): Remove declaration.
2070         * malloc/malloc.h (cfree): Likewise.
2071         * manual/memory.texi (Freeing after Malloc): Remove cfree.
2072         * malloc/Versions (GLIBC_2.26): Add.
2074 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2076         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2077         (sysdep_routines): Add strrchr-power8.
2078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2079         (strrchr): Add __strrchr_power8 to list of strrchr functions.
2080         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
2081         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
2082         (strrchr): Add __strrchr_power8 to ifunc list.
2083         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
2085 2017-04-17  Rabin Vincent  <rabinv@axis.com>
2087         [BZ #21357]
2088         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
2089         Call free() outside of mutex.
2091 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2093         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
2094         is defined.
2095         * elf/rtld.c (process_envvars): Likewise.
2096         * sysdeps/posix/shm_open.c (shm_open): Likewise.
2097         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
2098         O_NOFOLLOW directly.
2099         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
2101 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2103         [BZ #21369]
2104         Remove EDNS fallback.
2105         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
2106         handling.
2107         * resolv/res_send.c (send_dg): Likewise.
2108         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
2109         "tcp." prefixes.
2110         (do_test): Send a "formerr."-prefixed query in an attempt to
2111         trigger EDNS fallback.
2113 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2115         [BZ #21361]
2116         Limit EDNS buffer size to 1200 bytes.
2117         * include/resolv.h (__res_nopt): Remove declaration.
2118         * resolv/Makefile (tests): tst-resolv-edns.
2119         (tst-resolv-edns): Link with -lresolv, -lpthread.
2120         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
2121         interval [512, 1200].
2122         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
2123         we can resize the buffer.
2124         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
2125         (__res_nopt): Declare.
2126         * resolv/tst-resolv-edns.c: New file.
2127         * resolv/resolv_test.h (struct resolv_edns_info): Define.
2128         (struct resolv_response_context): Add edns member.
2129         * resolv/resolv_test.c (struct query_info): Add edns member.
2130         (parse_query): Extract EDNS information from the query.
2131         (server_thread_udp_process_one): Propagate EDNS data.
2132         (server_thread_tcp_client): Likewise.
2134 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2136         [BZ #21359]
2137         * resolv/ns_name.c (ns_name_pack): Do not require an additional
2138         byte in the destination buffer.  Avoid out-of-bounds pointer
2139         arithmetic.
2140         * resolv/Makefile (tests): Add tst-ns_name_compress.
2141         (tst-ns_name_compress): Link with -lresolv.
2142         * resolv/tst-ns_name_compress.c: New file.
2143         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
2144         (response): Recognize LONG_NAME.
2145         (do_test): Add LONG_NAME tests.
2146         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
2147         for ns_name_unpack.  Add tests for ns_name_pton and
2148         ns_name_compress.
2150 2017-04-13  Florian Weimer  <fweimer@redhat.com>
2152         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
2153         (res_nisourserver): Remove definition.
2154         (p_section, res_npquery, res_nisourserver): Remove declaration.
2155         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
2156         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
2157         ... here.
2158         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
2159         <resolv.h>.
2160         * resolv/res_query.c: Likewise.
2161         * resolv/res_debug.c (p_section): Define as static.
2163 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2165         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
2166         strncat-power8.
2167         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
2168         __strncat_power8 to ifunc list.
2169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2170         (strncat): Add __strncat_power8 to list of strncat functions.
2171         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
2173 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2175         [BZ #21270]
2176         * posix/tst-mmap-offset.c (do_prepare): New function.
2177         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
2178         (do_test_bz21270): New function.
2179         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
2180         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
2181         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
2182         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
2183         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
2184         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2185         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
2186         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
2188         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
2189         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
2190         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2191         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2192         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2193         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
2194         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
2195         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2196         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
2197         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
2198         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
2199         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
2200         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
2201         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
2202         from auto-generation list.
2203         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
2204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2205         * sysdeps/unix/sysv/linux/mmap.c: New file.
2206         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
2207         offsets and support for mmap2 syscall.
2209         * posix/globtest.sh: Add cleanup routine on trap 0.
2211 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
2214         implementation-specific function name and remove unneeded
2215         macros definition.
2216         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
2217         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
2218         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
2219         name if not defined and pass as parameter to macros accordingly.
2220         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2221         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
2224         implementation-specific function name and remove unneeded
2225         macros definition.
2226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
2227         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
2228         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
2229         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
2230         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2231         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
2232         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
2233         name if not defined and pass as parameter to macros accordingly.
2234         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2241         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
2242         implementation-specific function name and remove unneeded macros
2243         definition.
2244         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
2245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
2246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
2247         function name if not defined and pass as parameter to macros
2248         accordingly.
2249         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2250         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2252         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
2253         implementation-specific function name and remove unneeded macros
2254         definition.
2255         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2256         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2257         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
2258         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2259         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
2260         not defined and pass as parameter to macros accordingly.
2261         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2262         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2263         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2264         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2266         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
2267         strcasestr implementation name and remove unneeded macros definition.
2268         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2269         strstr implementation name and remove unneeded macros definition.
2270         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
2271         name if not defined and pass as parameter to macros accordingly.
2272         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2274         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
2275         implementation-specific function name and remove unneeded macros
2276         definition.
2277         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
2278         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
2279         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
2280         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
2281         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
2282         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
2283         function name if not defined and pass as parameter to macros
2284         accordingly.
2285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2286         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2287         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2288         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2290         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
2291         the strlen implementation name and remove unneeded macros definition.
2292         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
2293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2294         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
2295         the strnlen implementation name and remove unneeded macros definition.
2296         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
2297         name if not defined and pass as parameter to macros accordingly.
2298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2299         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2300         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
2303         the implementation-specific function name and remove unneeded
2304         macros definition.
2305         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
2306         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
2307         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
2308         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2309         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
2310         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
2311         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
2312         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
2313         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2314         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
2315         name if not defined and pass as parameter to macros accordingly.
2316         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2318         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2319         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2320         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2321         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2322         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2323         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2325         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
2326         implementation-specific function name and remove unneeded macros
2327         definition.
2328         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2329         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
2331         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
2332         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2333         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
2334         function name if not defined.
2335         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2336         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2338 2017-04-11  Paul Clarke  <pc@us.ibm.com>
2340         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
2341         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
2342         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
2343         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
2345 2017-04-11  Florian Weimer  <fweimer@redhat.com>
2346             Zack Weinberg  <zackw@panix.com>
2348         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
2349         readdir64 as thread-safe.  Update warning about readdir_r.
2351 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2353         * sysdeps/unix/sysv/linux/x86/Implies: New file.
2354         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
2355         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
2356         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
2357         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
2358         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
2359         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2361 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2363         * sysdeps/i386/dl-procinfo.c: Include
2364         <sysdeps/x86/dl-procinfo.c>.
2365         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2366         * sysdeps/x86/dl-procinfo.c: New file.
2368 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2370         * sysdeps/generic/math_private.h: Remove declarations of
2371         many functions that are already declared in math.h.
2372         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
2373         declaration for __frexpl.
2374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
2375         the declarations for __scalbnl and fabsl.
2377 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
2379         [BZ #20831]
2380         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
2381         of __mprotect to change protection on the excess portion
2382         to disallow all access.
2384 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
2386         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
2387         HAS_CPU_FEATURE to check for SSE.
2388         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2389         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2390         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
2391         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
2392         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
2393         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
2394         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
2395         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
2396         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2397         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
2398         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2399         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
2400         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
2401         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
2402         (index_cpu_SSE): Likewise.
2403         (reg_SSE): Likewise.
2405 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
2407         * posix/getopt1.c: Include <config.h>, not "config.h".
2409 2017-04-07  Zack Weinberg  <zackw@panix.com>
2411         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
2412         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
2413         Mention in top-of-file boilerplate that these files are shared
2414         with gnulib.
2415         * posix/getopt.h, posix/bits/getopt_posix.h:
2416         Mention in top-of-file boilerplate that these files are NOT shared
2417         with gnulib, unlike the rest of the getopt implementation.
2419         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
2420         New files, intended to be shared with gnulib.
2421         * posix/bits/getopt_posix.h:
2422         New file, not intended to be shared with gnulib.
2423         * posix/getopt.h: Now just includes features.h,
2424         bits/getopt_core.h, and bits/getopt_ext.h.  Will
2425         no longer be shared with gnulib.
2426         * include/bits/getopt_core.h, include/bits/getopt_ext.h
2427         * include/bits/getopt_posix.h: New wrappers.
2428         * posix/Makefile: Install new headers.
2429         * posix/unistd.h, libio/stdio.h:
2430         Include bits/getopt_posix.h instead of getopt.h.
2432         * include/libc-symbols.h: For gnulib compatibility, define
2433         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
2434         _GL_ATTRIBUTE_CONST.
2435         * posix/getopt.c (_getopt_initialize): Mark argc and argv
2436         parameters with _GL_UNUSED.
2438         * posix/getopt.c: When used standalone, define __libc_use_alloca
2439         as always false and alloca to abort if called.
2440         (process_long_option): Rewrite handling of ambiguous long options
2441         to use a single boolean vector, not a linked list; use
2442         __libc_use_alloca to decide whether to allocate this using alloca.
2443         * posix/tst-getopt_long1.c: Adjust text of expected error message.
2445         * posix/getopt.c (process_long_option): New function split out
2446         from _getopt_internal_r.
2447         (_getopt_internal_r): Replace both copies of the long-option
2448         processing code with calls to process_long_option.
2449         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
2450         (do_test): Differentiate argv[0] in the two subtests.
2452         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
2453         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
2454         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
2456         * posix/getopt.h: Add backup definition of __nonnull for
2457         consistency with gnulib.  Define __getopt_argv_const to const
2458         if not already defined.
2459         (getopt): Update doc comment from gnulib.  Prototype
2460         unconditionally.  Add __nonnull annotation.
2461         (__posix_getopt): Add __nonnull annotation.
2462         (getopt_long, getopt_long_only): Use __getopt_argv_const in
2463         prototypes for consistency with gnulib.  Add __nonnull
2464         annotations.
2465         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
2466         (getopt_internal): Change 'argv' argument to type 'char **'.
2467         Remove now-unnecessary casts.
2468         (getopt, __posix_getopt): Eliminate repetition with a macro.
2469         Cast 'argv' to 'char **' when calling _getopt_internal.
2470         * posix/getopt1.c (getopt_long, getopt_long_only):
2471         Use __getopt_argv_const for consistency with gnulib.
2472         Cast 'argv' to 'char **' when calling _getopt_internal.
2473         (_getopt_long_r, _getopt_long_only_r):
2474         Change 'argv' argument to type 'char **'.
2475         (main): Constify 'long_options'.
2476         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
2477         (_getopt_long_r, _getopt_long_only_r):
2478         Change 'argv' argument to type 'char **'.
2480         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
2481         (locked_vfxprintf): New helper function. Handle arbitrary
2482         multibyte strings, not just ASCII.
2483         * include/stdio.h: Declare __fxprintf_nocancel.
2484         * posix/getopt.c: When _LIBC is defined, define fprintf to
2485         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
2486         to _IO_funlockfile.  When neither _LIBC nor
2487         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
2488         funlockfile as no-ops.
2489         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
2490         the standalone error-printing code can now be used for libc as
2491         well.  Add an flockfile/funlockfile pair around one case where
2492         the error message is printed in several chunks.  Don't use fputc.
2493         * posix/tst-getopt-cancel.c: New test.
2494         * posix/Makefile: Run it.
2496         * posix/getopt.c (_getopt_internal_r): Don't increment
2497         d->optind a second time when reporting ambiguous -W options.
2499         * posix/getopt_int.h: Include getopt.h.
2500         Use impl-namespace names for all arguments to _getopt_internal and
2501         _getopt_internal_r.
2502         Declare __ordering enum outside the struct.
2503         Harmonize comments with gnulib.
2504         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
2505         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
2506         #ifdef TEST block and make unconditional.  Do not define NULL.
2507         * posix/getopt.c: Partial merge from gnulib, covering the
2508         initial includes and global declarations, commentary, and
2509         a couple of semantically-neutral code changes.
2511         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
2512         Use '...' instead of `...' for quotation marks inside
2513         comments and strings.
2515         * config.h.in (USE_NONOPTION_FLAGS): Remove.
2516         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
2517         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2518         * posix/getopt_int.h: Likewise.
2519         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
2520         __libc_argc and __libc_argv externs, which were only used by
2521         #ifdef USE_NONOPTION_FLAGS blocks.
2522         * posix/getopt_init.c: Remove file.
2523         * posix/Makefile (routines): Remove getopt_init.
2524         * include/getopt.h: Don't declare __getopt_initialize_environment.
2525         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
2526         a comment.
2528 2017-04-07  Florian Weimer  <fweimer@redhat.com>
2530         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
2532 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2534         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
2535         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
2536         to __wrap_.udiv.
2537         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
2538         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
2540         * sysdeps/i386/symbol-hacks.h: New file.
2541         * sysdeps/m68k/symbol-hacks.h: New file.
2542         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
2543         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
2544         * sysdeps/unix/sysv/linux/i386/Makefile
2545         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
2546         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2547         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2548         * sysdeps/unix/sysv/linux/m68k/Makefile
2549         [$(subdir) = csu] (sysdep_routines): Likewise.
2550         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2551         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2553         [$(subdir) = csu] (sysdep_routines): Likewise.
2554         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2555         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2556         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2557         [$(subdir) = csu] (sysdep_routines): Likewise.
2558         [$(subdir) = csu] (sysdep-only-routines): Likewise.
2559         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2560         * sysdeps/wordsize-32/Makefile: Remove file.
2561         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
2562         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
2564 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
2566         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
2567         (TEST_FUNCTION_ARGV): New.
2569 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2571         * elf/next.c: Import support/test-driver.c instead of
2572         test-skeleton.c and delete TEST_FUNCTION macro definition.
2573         * elf/nodelete.c: Likewise.
2574         * elf/order2.c: Likewise.
2575         * elf/tst-_dl_addr_inside_object.c: Likewise.
2576         * elf/tst-addr1.c: Likewise.
2577         * elf/tst-align.c: Likewise.
2578         * elf/tst-align2.c: Likewise.
2579         * elf/tst-audit11.c: Likewise.
2580         * elf/tst-audit12.c: Likewise.
2581         * elf/tst-audit2.c: Likewise.
2582         * elf/tst-audit9.c: Likewise.
2583         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
2584         * elf/tst-deep1.c: Likewise.
2585         * elf/tst-dl-iter-static.c: Likewise.
2586         * elf/tst-dlmodcount.c: Likewise.
2587         * elf/tst-dlmopen1.c: Likewise.
2588         * elf/tst-dlmopen2.c: Likewise.
2589         * elf/tst-dlmopen3.c: Likewise.
2590         * elf/tst-dlopen-aout.c: Likewise.
2591         * elf/tst-dlopenrpath.c: Likewise.
2592         * elf/tst-dlsym-error.c: Likewise.
2593         * elf/tst-execstack-needed.c: Likewise.
2594         * elf/tst-execstack-prog.c: Likewise.
2595         * elf/tst-execstack.c: Likewise.
2596         * elf/tst-global1.c: Likewise.
2597         * elf/tst-gnu2-tls1.c: Likewise.
2598         * elf/tst-latepthread.c: Likewise.
2599         * elf/tst-leaks1.c: Likewise.
2600         * elf/tst-linkall-static.c: Likewise.
2601         (do_test): New function.
2602         * elf/tst-nodelete-opened.c: Likewise.
2603         * elf/tst-nodelete.cc: Likewise.
2604         * elf/tst-nodelete2.c: Likewise.
2605         * elf/tst-noload.c: Likewise.
2606         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
2607         * elf/tst-order-main.c: Likewise.
2608         * elf/tst-pathopt.c: Likewise.
2609         * elf/tst-pie2.c: Likewise.
2610         * elf/tst-piemod1.c: Likewise.
2611         * elf/tst-prelink.c: Likewise.
2612         * elf/tst-protected1a.c: Likewise.
2613         * elf/tst-protected1b.c: Likewise.
2614         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
2615         and define _GNU_SOURCE macro.
2616         (cmdline_process_function): New function.
2617         * elf/tst-relsort1.c: Likewise.
2618         * elf/tst-stackguard1.c: Likewise, import getopt.h,
2619         and define _GNU_SOURCE macro.
2620         (cmdline_process_function): New function.
2621         * elf/tst-thrlock.c: Likewise.
2622         * elf/tst-tls-dlinfo.c: Likewise.
2623         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
2624         * elf/tst-tls1.c: Likewise.
2625         * elf/tst-tls10.c: Likewise.
2626         * elf/tst-tls11.c: Likewise.
2627         * elf/tst-tls12.c: Likewise.
2628         * elf/tst-tls13.c: Likewise.
2629         * elf/tst-tls14.c: Likewise.
2630         * elf/tst-tls15.c: Likewise.
2631         * elf/tst-tls16.c: Likewise.
2632         * elf/tst-tls17.c: Likewise.
2633         * elf/tst-tls18.c: Likewise.
2634         * elf/tst-tls19.c: Likewise.
2635         * elf/tst-tls2.c: Likewise.
2636         * elf/tst-tls3.c: Likewise.
2637         * elf/tst-tls4.c: Likewise.
2638         * elf/tst-tls5.c: Likewise.
2639         * elf/tst-tls6.c: Likewise.
2640         * elf/tst-tls7.c: Likewise.
2641         * elf/tst-tls8.c: Likewise.
2642         * elf/tst-tls9.c: Likewise.
2643         * elf/tst-tlsalign-extern.c: Likewise.
2644         * elf/tst-tlsalign.c: Likewise.
2645         * elf/tst-unique1.c: Likewise.
2646         * elf/tst-unique2.c: Likewise.
2647         * elf/vismain.c: Likewise.
2649 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2651         * string/test-strnlen.c (do_page_tests): New function
2652         to check length of strings ending at the page boundary.
2653         (test_main): Added call to the do_page_tests function.
2655 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2656             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2658         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2659         (sysdep_routines): Add strnlen-power8.
2660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2661         (strnlen): Add __strnlen_power8 to list of strnlen functions.
2662         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
2663         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
2664         (__strnlen): Add __strnlen_power8 to ifunc list.
2665         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
2667 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2669         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
2670         the TEST_FUNCTION macro definition.
2671         * wcsmbs/tst-mbrtowc2.c: Likewise.
2672         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2673         * wcsmbs/tst-wchar-h.c: Likewise.
2674         * wcsmbs/tst-wcpncpy.c: Likewise.
2675         * wcsmbs/tst-wcrtomb.c: Likewise.
2676         * wcsmbs/tst-wcsnlen.c: Likewise.
2677         * wcsmbs/tst-wcstof.c: Likewise.
2679 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2681         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
2682         CALL_THREAD_FCT macro usage.
2683         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
2684         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
2685         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
2687         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
2688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2689         (__ASSUME_REQUEUE_PI): Likewise.
2690         * sysdeps/unix/sysv/linux/kernel-features.h
2691         (__ASSUME_REQUEUE_PI): Likewise.
2692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2693         (__ASSUME_REQUEUE_PI): Likewise.
2694         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2695         (__ASSUME_REQUEUE_PI): Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2697         (__ASSUME_REQUEUE_PI): Likewise.
2699 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2701         * resolv/tst-resolv-canonname.c: New file.
2702         * resolv/Makefile (tests): Add tst-resolv-canonname.
2703         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
2705 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2707         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
2708         Declare.
2709         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
2710         (NS_MAXCDNAME): Remove definition.
2711         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2712         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
2713         (NS_MAXCDNAME): Remove definition.
2714         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
2716 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2718         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
2719         call whose result is not used.
2721 2017-04-04  Florian Weimer  <fweimer@redhat.com>
2723         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
2724         * resolv/Makefile (tests): Add tst-ns_name.
2725         (tst-ns_name): Link with -lresolv.
2726         (tst-ns_name.out): Depend on the input data file.
2728 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2730         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
2731         Clobber also r14.
2733 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
2735         [BZ #21253]
2736         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
2737         slack space by 32KiB.
2739 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
2741         [BZ #21338]
2742         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
2743         instead of incorrect do_set_arena_test
2745 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2747         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
2748         * math/bits/math-finite.h: Likewise.
2750 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
2752         [BZ #21289]
2753         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
2755 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2757         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
2758         non expected inotify_add_watch and quotactl return.
2760 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2762         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
2763         to int32_t.
2764         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
2765         as returning int32_t.
2767 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2769         * math/math.h: Include bits/math-finite.h once per
2770         floating-point type.
2771         * math/bits/math-finite.h: Macroize all declarations by
2772         floating-point type.
2774 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2776         [BZ #21182]
2777         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
2778         near end of a page.
2779         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
2780         overflow calculation.
2782 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2784         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
2785         (IMPL) Call with 1 instead of 0 as argument.
2787 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2789         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2790         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2791         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2792         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2793         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2794         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2795         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2796         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2797         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2798         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2799         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2800         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2801         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2802         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2803         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2804         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2805         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2806         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2807         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2808         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2809         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2810         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2811         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2812         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2813         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2814         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2815         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2816         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2817         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2818         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2819         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2820         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2821         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2822         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2823         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2824         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2825         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2826         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2827         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2828         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2829         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2830         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2831         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2832         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2833         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2834         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2835         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2836         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2837         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2838         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2839         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2840         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2841         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2842         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2843         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2844         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2845         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2846         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2847         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2848         defined.
2849         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2850         __NR_setgroups32 if defined.
2851         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2852         if defined.
2853         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2854         __NR_setresgid32 is defined.
2855         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2856         __NR_setresuid32 if defined.
2857         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2858         __NR_setreuid32 if defined.
2859         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2860         defined.
2861         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
2862         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
2863         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
2864         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
2865         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
2866         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
2867         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
2868         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
2869         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
2870         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2871         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2872         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2873         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2874         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2875         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2876         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2877         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2878         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2879         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
2880         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
2881         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
2882         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
2883         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
2884         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
2885         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
2886         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
2887         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
2888         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
2889         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
2890         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
2891         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
2892         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
2893         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
2894         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
2895         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
2896         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
2897         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
2898         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
2899         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
2900         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
2901         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
2902         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
2903         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
2904         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
2905         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
2906         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
2907         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
2908         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
2909         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
2910         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
2911         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
2912         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
2913         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
2914         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
2915         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
2916         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
2917         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2918         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
2919         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
2920         defined.
2921         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
2922         __NR_setgroups32 if defined.
2923         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
2924         if defined.
2925         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
2926         __NR_setresgid32 is defined.
2927         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
2928         __NR_setresuid32 if defined.
2929         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
2930         __NR_setreuid32 if defined.
2931         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
2932         defined.
2934 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
2936         [BZ #21277]
2937         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
2938         unconditionally.
2939         (IMAXBEL): Likewise.
2940         (IUTF8): Likewise.
2942 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2944         * sysdeps/aarch64/libm-test-ulps: Update.
2946 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
2948         * README.tunables: Updated descriptions.
2949         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
2950         * scripts/gen-tunables.awk: Updated the code related to the
2951         commit.
2953 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
2955         * benchtests/Makefile (string-benchset): Add memcpy-random.
2956         * benchtests/bench-memcpy-random.c: New file.
2958 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2960         * stdio-common/printf.h (register_printf_modifier): Change the
2961         order of __wur and __THROW.
2962         (register_printf_type): Likewise.
2964 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2966         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
2967         test_main ().
2968         (CMDLINE_PROCESS): Use function instead of defined macro.
2969         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
2970         <suppport/support.h> to use set_fortify_handler().
2971         * string/bug-envz1.c: Import support/test-driver.c instead of
2972         test-skeleton.c.
2973         * string/bug-strcoll2.c: Likewise.
2974         * string/bug-strtok1.c: Likewise.
2975         * string/stratcliff.c: Likewise.
2976         * string/test-ffs.c: Likewise.
2977         * string/test-memccpy.c: Likewise.
2978         * string/test-memchr.c: Likewise.
2979         * string/test-memcmp.c: Likewise.
2980         * string/test-memcpy.c: Likewise.
2981         * string/test-memmem.c: Likewise.
2982         * string/test-memmove.c: Likewise.
2983         * string/test-memrchr.c: Likewise.
2984         * string/test-memset.c: Likewise.
2985         * string/test-rawmemchr.c: Likewise.
2986         * string/test-strcasecmp.c: Likewise.
2987         * string/test-strcasestr.c: Likewise.
2988         * string/test-strcat.c: Likewise.
2989         * string/test-strchr.c: Likewise.
2990         * string/test-strcmp.c: Likewise.
2991         * string/test-strcpy.c: Likewise.
2992         * string/test-string.h: Likewise.
2993         * string/test-strlen.c: Likewise.
2994         * string/test-strncasecmp.c: Likewise.
2995         * string/test-strncat.c: Likewise.
2996         * string/test-strncmp.c: Likewise.
2997         * string/test-strncpy.c: Likewise.
2998         * string/test-strnlen.c: Likewise.
2999         * string/test-strpbrk.c: Likewise.
3000         * string/test-strrchr.c: Likewise.
3001         * string/test-strspn.c: Likewise.
3002         * string/test-strstr.c: Likewise.
3003         * string/tst-bswap.c: Likewise.
3004         * string/tst-cmp.c: Likewise.
3005         * string/tst-endian.c: Likewise.
3006         * string/tst-inlcall.c: Likewise.
3007         * string/tst-strcoll-overflow.c: Likewise.
3008         * string/tst-strfry.c: Likewise.
3009         * string/tst-strlen.c: Likewise.
3010         * string/tst-strtok.c: Likewise.
3011         * string/tst-strtok_r.c: Likewise.
3012         * string/tst-strxfrm.c: Likewise.
3013         * string/tst-strxfrm2.c: Likewise.
3014         * string/tst-svc.c: Likewise.
3015         * string/tst-svc2.c: Likewise.
3017 2017-03-22  Zack Weinberg  <zackw@panix.com>
3019         * stdio-common/bug25.c: Include stdlib.h.
3020         * support/tst-support_format_dns_packet.c: Include stdio.h,
3021         stdlib.h, and string.h.
3022         * support/tst-support_record_failure.c: Include string.h.
3023         * support/tst-support_record_failure-2.sh: Adjust line number
3024         expectations and correct a typo in an error message.
3026 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3028         [BZ #21258]
3029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3030         Define only if _dl_runtime_resolve is defined to
3031         _dl_runtime_resolve_sse_vex.
3032         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3033         Fallthrough to _dl_runtime_resolve_sse_vex.
3035 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3037         * INSTALL: Regenerated.
3039 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3041         * config.h.in: Add LINK_OBSOLETE_NSL.
3042         * config.make.in: Add build-obsolete-nsl.
3043         * configure.ac: Add obsolete-nsl option.
3044         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3045         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3046         * include/rpcsvc/nislib.h: Likewise.
3047         * include/rpcsvc/ypclnt.h: Likewise.
3048         * manual/install.texi: Document --enable-obsolete-nsl.
3049         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
3050         * nis/nis_add.c: Replace libnsl_hidden_def with
3051         libnsl_hidden_nolink_def.
3052         * nis/nis_addmember.c: Likewise.
3053         * nis/nis_call.c: Likewise.
3054         * nis/nis_clone_obj.c: Likewise.
3055         * nis/nis_defaults.c: Likeise.
3056         * nis/nis_domain_of_r.c: Likewise.
3057         * nis/nis_error.c: Likewise.
3058         * nis/nis_file.c: Likewise.
3059         * nis/nis_free.c: Likewise.
3060         * nis_local_names.c: Likewise.
3061         * nis/nis_lookup.c: Likewise.
3062         * nis/nis_modify.c: Likewise.
3063         * nis/nis_print.c: Likewise.
3064         * nis/nis_remove.c: Likewise.
3065         * nis/nis_table.c: Likewise.
3066         * nis/nis_util.c: Likewise.
3067         * nis/nis_xdr.c: Likewise.
3068         * nis/yp_xdr.c: Likewise.
3069         * nis/ypclnt.c: Likewise.
3070         * nis/ypupdate_xdr.c: Likewise.
3071         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
3072         * nis/nis_clone_dir.c: Likewise.
3073         * nis/nis_clone_res.c: Likewise.
3074         * nis/nis_creategroup.c: Likewise.
3075         * nis/nis_destroygroup.c: Likewise.
3076         * nis/nis_domain_of.c: Likewise.
3077         * nis/nis_getservlist.c: Likewise.
3078         * nis/nis_ismember.c: Likewise.
3079         * nis/nis_mkdir.c: Likewise.
3080         * nis/nis_ping.c: Likewise.
3081         * nis/nis_print_group_entry.c: Likewise.
3082         * nis/nis_removemember.c: Likewise.
3083         * nis/nis_rmdir.c: Likewise.
3084         * nis/nis_server.c: Likewise.
3085         * nis/nis_subr.c: Likewise.
3086         * nis/nis_verifygroup.c: Likewise.
3088 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3090         * malloc/tst-interpose-aux.c (check_for_allocations):
3091         Move compiler barrier before free.
3093 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3095         [BZ #21279]
3096         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3097         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3098         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
3099         x86_64-x32-linux.
3100         (mq_attr.mq_maxmsg): Likewise.
3101         (mq_attr.mq_msgsize): Likewise.
3102         (mq_attr.mq_curmsgs): Likewise.
3104         [BZ #21278]
3105         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
3106         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
3107         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
3108         mips-o32-linux.
3110         [BZ #21268]
3111         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
3112         if [__USE_MISC]
3113         (NL3): Likewise.
3115 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3117         [BZ #21275]
3118         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
3119         __stack to __stackbase.
3120         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
3121         checks so we can include defined(__ia64__) first.
3123 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
3125         * sysdeps/unix/sysv/linux/ttyname.h: New file.
3126         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
3127         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
3128         Call is_pty when the link does not exist or does not match, fail
3129         with ENODEV when it returns true.
3130         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
3131         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
3132         Call is_pty when the link does not exist or does not match, fail
3133         with ENODEV when it returns true.
3135 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
3137         [BZ #16437]
3138         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
3139         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3140         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
3141         x86_64-x32-linux.
3142         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
3143         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
3144         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
3146         [BZ #21261]
3147         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
3148         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
3149         names for all fields.
3150         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
3151         for jmp_buf field renaming.
3152         (_JMPBUF_UNWINDS_ADJ): Likewise.
3154         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
3155         with allow-header.
3157 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
3159         * malloc/malloc.c (unlink): Add consistency check between size and
3160         next->prev->size, to further harden against 1-byte overflows.
3162 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3164         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
3165         CPU_FEATURES_CPU_P.
3167 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #21259]
3170         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
3171         unconditionally, not just for [__USE_MISC].
3173         [BZ #17786]
3174         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
3175         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
3176         mips-o32-linux.
3178         [BZ #21260]
3179         * sysdeps/unix/sysv/linux/alpha/Makefile
3180         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
3181         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
3183         * conform/conformtest.pl ($cross): New variable.
3184         (--cross): New command-line option.
3185         (runtest): Skip test execution when cross-compiling.
3186         * conform/Makefile (conformtest-cross): New variable.
3187         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
3188         conformtest.pl.
3190         * conform/conformtest.pl ($xfail_str): New variable.
3191         (--xfail=): New command-line option.
3192         (top level): Handle expectations starting xfail[cond]-.
3193         * conform/Makefile (conformtest-xfail): New variable.
3194         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
3195         conformtest.pl.
3197 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3199         * conform/conformtest.pl: Use compilation instead of execution
3200         tests for testing values of constants and usability in #if.
3202 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3204         * math/auto-libm-test-in: Mark some catan and catanh as
3205         xfail-rounding:ibm128-libgcc.
3206         * math/auto-libm-test-out-catan: Regenerate.
3207         * math/auto-libm-test-out-catanh: Likewise.
3209 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
3211         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
3212         (__END_NAMESPACE_STD): Likewise.
3213         (__USING_NAMESPACE_STD): Likewise.
3214         (__BEGIN_NAMESPACE_C99): Likewise.
3215         (__END_NAMESPACE_C99): Likewise.
3216         (__USING_NAMESPACE_C99): Likewise.
3217         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
3218         undefine macro.
3219         (_Mdouble_END_NAMESPACE): Likewise.
3220         * ctype/ctype.h: Do not handle C++ namespaces.
3221         * libio/bits/stdio-ldbl.h: Likewise.
3222         * libio/stdio.h: Likewise.
3223         * locale/locale.h: Likewise.
3224         * math/bits/mathcalls.h: Likewise.
3225         * setjmp/setjmp.h: Likewise.
3226         * signal/signal.h: Likewise.
3227         * stdlib/bits/stdlib-float.h: Likewise.
3228         * stdlib/bits/stdlib-ldbl.h: Likewise.
3229         * stdlib/stdlib.h: Likewise.
3230         * string/string.h: Likewise.
3231         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
3232         * time/bits/types/clock_t.h: Likewise.
3233         * time/bits/types/struct_tm.h: Likewise.
3234         * time/bits/types/time_t.h: Likewise.
3235         * time/time.h: Likewise.
3236         * wcsmbs/bits/wchar-ldbl.h: Likewise.
3237         * wcsmbs/uchar.h: Likewise.
3238         * wcsmbs/wchar.h: Likewise.
3239         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
3240         * wctype/wctype.h: Do not handle C++ namespaces.
3241         * scripts/begin-end-check.pl: Remove.
3242         * Makefile (installed-headers): Likewise.
3243         (tests-special): Do not add $(objpfx)begin-end-check.out.
3244         ($(objpfx)begin-end-check.out): Remove.
3246 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
3247             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3249         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
3250         (DL_PLATFORM_INIT): New define.
3251         (dl_platform_init): New function.
3252         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
3253         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
3254         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
3255         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
3256         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
3258 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
3260         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
3261         instead of PIC.
3263 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3265         [BZ #21094]
3266         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3267         24+24+24-bit pi for wider range of values around pi/2.
3268         * math/auto-libm-test-in: Add more tests of cos and tan.
3269         * math/auto-libm-test-out-cos: Regenerated.
3270         * math/auto-libm-test-out-tan: Likewise.
3272 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
3274         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
3275         (RTLD_START): Don't record stack end address in _dl_start_user.
3277 2017-03-15  Alexey Neyman  <stilor@att.net>
3279         [BZ #21088]
3280         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
3281         around definitions match those around use.
3283 2017-03-15  Alexey Neyman  <stilor@att.net>
3285         * configure.ac: Avoid empty subexpression in grep.
3286         * configure: Regenerate.
3288 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3290         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
3291         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
3292         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
3293         (test_wrp_rv): Fix format.
3294         (test_wrp_rv2): New macro.
3295         (do_test): Handle mlock return on 64 bits kernels with 32 bits
3296         binaries.
3298 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
3300         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
3301         Use a union when storing pointers.
3302         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
3303         cast result when passing to INIT_VEC_PTRS_LOOP.
3304         (VECTOR_WRAPPER_fFF_3): Likewise.
3305         (VECTOR_WRAPPER_fFF_4): Likewise.
3307 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3309         * include/bits/mathcalls-helper-functions.h: New file.
3310         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
3311         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
3312         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
3313         math/bits/mathcalls-helper-functions.h.
3314         * math/bits/mathcalls-helper-functions.h: New file.
3315         * math/math.h: Include bits/mathcalls-helper-functions.h for
3316         float, double, and long double.
3318 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3320         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
3321         instead of feraiseexcept.
3323 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3325         [BZ #21243]
3326         * support/temp_file.c (support_delete_temp_files): Add comment
3327         about ignored errors.
3329 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3331         [BZ #21244]
3332         * support/xclose.c: New file.
3333         * support/Makefile (libsupport-routines): Add xclose.
3334         * support/xunistd.h (xclose): Declare.
3335         * support/resolv_test.c (server_thread_tcp_client)
3336         (server_thread_tcp, make_server_sockets, resolv_test_start)
3337         (resolv_test_end): Call xclose instead of close.
3338         * support/support_enter_network_namespace.c
3339         (support_enter_network_namespace): Likewise.
3340         * support/support_run_diff.c (write_to_temp_file): Likewise.
3342 2017-03-15  Florian Weimer  <fweimer@redhat.com>
3344         * support/support_format_dns_packet.c (support_format_dns_packet):
3345         Handle CNAME records in the response.  Extract RDATA names from
3346         rdata, not the whole packet.  Check AAAA record length.
3347         * support/tst-support_format_dns_packet.c: New file.
3348         * support/Makefile (tests): Add tst-support_format_dns_packet.
3349         (tst-support_format_dns_packet): Link against libresolv.
3351 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3353         [BZ #21232]
3354         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
3355         posix_fadvise64 weak_alias for static build.
3357 2017-03-14  Andreas Schwab  <schwab@suse.de>
3359         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
3360         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
3361         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
3362         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
3363         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
3364         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
3365         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
3366         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
3368 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3370         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
3371         posix error code.
3372         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3374 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3376         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
3377         no_isolate usage for SH.
3379 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
3381         [BZ #15105]
3382         [BZ #19463]
3383         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
3384         * inet/rcmd.c (rcmd_af): Likewise.
3385         * inet/rexec.c   (rexec_af): Likewise.
3386         * intl/dcigettext.c (_LIBC): Likewise.
3387         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
3388         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
3389         * locale/setlocale.c (setlocale): Likewise.
3390         * posix/spawn_faction_addopen.c
3391         (posix_spawn_file_actions_addopen): Likewise.
3392         * stdlib/putenv.c (putenv): Use __strndup.
3393         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
3394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
3395         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
3396         (__Need_M_And_C) Remove define/undef.
3397         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
3398         (__malloc_and_calloc_defined): Remove define.
3399         * string/bits/string2.h (__strdup): Remove define.
3400         (strdup): Likewise.
3401         (__strndup): Likewise.
3402         (strndup): Likewise.
3404 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
3406         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
3407         macro.
3408         (IPV6_ADDR_PREFERENCES): Likewise.
3409         (IPV6_MINHOPCOUNT): Likewise.
3410         (IPV6_ORIGDSTADDR): Likewise.
3411         (IPV6_RECVORIGDSTADDR): Likewise.
3412         (IPV6_TRANSPARENT): Likewise.
3413         (IPV6_UNICAST_IF): Likewise.
3414         (IPV6_RECVFRAGSIZE): Likewise.
3416 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
3418         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
3420 2017-03-12  Alexey Neyman <stilor@att.net>
3422         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
3423         in R_SH_DIR32 case is always false when inlined from
3424         dl-conflict.c. Ifdef out to prevent GCC from insertin an
3426 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3428         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3429         (__ASSUME_RECV_SYSCALL): Replace duplicate by
3430         __ASSUME_SEND_SYSCALL.
3432 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
3434         * sunrpc/Makefile: don't build and install rpcsvc header
3435         files, rpcgen and librpcsvc.a by default.
3437 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
3439         * math/auto-libm-test-out-catan: Regenerated.
3440         * math/auto-libm-test-out-catanh: Likewise.
3441         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3443 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3445         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
3446         for long double with corrected test expectations.
3448 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3450         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
3451         Define.
3452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3453         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
3454         * sysdeps/unix/sysv/linux/nios2/sysdep.h
3455         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3456         * sysdeps/unix/sysv/linux/tile/sysdep.h
3457         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
3458         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3459         (__ASSUME_RECV_SYSCALL): Define.
3460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3461         (__ASSUME_RECV_SYSCALL): Likewise.
3462         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3463         (__ASSUME_RECV_SYSCALL): Likewise.
3464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3465         (__ASSUME_RECV_SYSCALL): Likewise.
3466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3467         (__ASSUME_RECV_SYSCALL): Likewise.
3468         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3469         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
3470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3471         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3472         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3473         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3474         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
3475         auto-generation list.
3476         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3477         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3478         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
3479         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3481         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
3482         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
3483         __ASSUME_SENDTO_SYSCALL.
3484         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
3485         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
3486         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
3488         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
3489         auto-generation list.
3490         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3491         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3492         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3493         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3494         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3495         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3497         * sysdeps/unix/sysv/linux/kernel-features.h
3498         (__ASSUME_SENDTO_SYSCALL): Define by default.
3499         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3500         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
3501         __NR_sendto.
3502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3503         (__ASSUME_SENDTO_SYSCALL): Likewise.
3504         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3505         (__ASSUME_SENDTO_SYSCALL): Likewise.
3506         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3507         (__ASSUME_SENDTO_SYSCALL): Remove definition.
3508         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3509         (__ASSUME_SENDTO_SYSCALL): Likewise.
3510         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
3511         (__ASSUME_SENDTO_SYSCALL): Likewise.
3512         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
3514         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
3515         auto-generation list.
3516         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3517         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3518         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3519         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3521         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3522         (__ASSUME_RECV_SYSCALL): New define.
3523         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3524         (__ASSUME_RECV_SYSCALL): Likewise.
3525         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3526         (__ASSUME_RECV_SYSCALL): Likewise.
3527         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3528         (__ASSUME_RECV_SYSCALL): Likewise.
3529         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3530         (__ASSUME_RECV_SYSCALL): Likewise.
3531         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3532         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3534         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3535         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3536         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
3537         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
3538         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
3539         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
3540         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
3541         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
3542         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
3544         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
3545         auto-generation list.
3546         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3547         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3548         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3549         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3550         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3551         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3552         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3553         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3554         (__ASSUME_RECVFROM_SYSCALL): Define by default.
3555         * sysdeps/unix/sysv/linux/kernel-features.h
3556         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
3557         __NR_recvfrom.
3558         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3559         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3560         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3561         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3563         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
3564         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3565         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3566         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3567         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3569         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3570         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
3572         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
3573         auto-generation list.
3574         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3575         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3576         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3577         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3578         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3579         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3580         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3581         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
3582         * sysdeps/unix/sysv/linux/kernel-features.h
3583         (__ASSUME_CONNECT_SYSCALL): Define.
3584         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3585         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
3586         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3587         (__ASSUME_CONNECT_SYSCALL): Likewise.
3588         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3589         (__ASSUME_CONNECT_SYSCALL): Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3591         (__ASSUME_CONNECT_SYSCALL): Likewise.
3593         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
3594         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
3595         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
3596         auto-generation list.
3597         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3598         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
3599         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3600         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3601         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3602         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3603         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3604         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3605         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3606         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3607         * sysdeps/unix/sysv/linux/kernel-features.h
3608         (__ASSUME_ACCEPT_SYSCALL): New define.
3609         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3610         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3611         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
3612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3613         (__ASSUME_ACCEPT_SYSCALL): Define.
3614         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3615         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3616         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3617         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
3618         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3619         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3620         (__ASSUME_ACCEPT_SYSCALL): Undefine.
3621         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3622         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
3624 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
3625             Zack Weinberg  <zackw@panix.com>
3627         * posix/test-errno.c: New file.
3628         * posix/Makefile (tests): Add test-errno.
3629         * sysdeps/unix/sysv/linux/test-errno.c: New file.
3630         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
3632 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3634         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3636 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3638         * time/tzset.c (compute_offset): Open-code min macro.
3639         (min, max, sign): Remove.
3641 2017-03-07  Florian Weimer  <fweimer@redhat.com>
3643         [BZ #15576]
3644         Remove TZNAME_MAX limit from sysconf.
3645         * include/time.h (__tzname_cur_max, __tzname_max): Remove
3646         declaration.
3647         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
3648         compute_tzname_max.
3649         (compute_tzname_max): Remove.
3650         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
3651         (update_vars): Do not update __tzname_cur_max.
3652         (tzset_internal): Remove argument.
3653         (__tzset): Adjust call to tzset_internal.
3654         (__tz_convert): Likewise.
3656         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
3657         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3658         * manual/conf.texi (Sysconf Definition): Update comment.
3660 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3662         [BZ #21209]
3663         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
3664         AT_SECURE processes.
3665         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
3666         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
3667         (test_child): Likewise.
3668         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
3670 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3672         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
3674 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3676         * sysdeps/s390/atomic-machine.h
3677         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
3678         (__arch_compare_and_exchange_val_8_acq,
3679         __arch_compare_and_exchange_val_16_acq,
3680         __arch_compare_and_exchange_val_32_acq,
3681         __arch_compare_and_exchange_val_64_acq):
3682         Delete macro.
3683         (atomic_compare_and_exchange_val_acq,
3684         atomic_compare_and_exchange_val_rel,
3685         atomic_compare_and_exchange_bool_acq,
3686         catomic_compare_and_exchange_bool_acq,
3687         atomic_exchange_acq, atomic_exchange_rel,
3688         atomic_exchange_and_add_acq,
3689         atomic_exchange_and_add_rel,
3690         catomic_exchange_and_add, atomic_or_val,
3691         atomic_or, catomic_or, atomic_bit_test_set,
3692         atomic_and_val, atomic_and, catomic_and):
3693         Define macros with help of C11 atomic builtins.
3695 2017-03-03  Justus Winter <justus@gnupg.org>
3697         * sysdeps/mach/hurd/ftruncate64.c: New file.
3698         * sysdeps/mach/hurd/truncate64.c: Likewise.
3700 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3702         * time/tzfile.c (NOID): Do not define.
3703         * time/tzset.c (NOID): Likewise.
3705 2017-03-03  Florian Weimer  <fweimer@redhat.com>
3707         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
3709 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3711         * elf/get-dynamic-info.h: Remove header file inclusion guard.
3713 2017-03-02  Florian Weimer  <fweimer@redhat.com>
3715         [BZ #21015]
3716         * manual/install.texi (Configuring and compiling): Document
3717         --enable-bind-now.
3718         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
3719         (build-shlib-helper): Use $(LDFLAGS-lib.so).
3720         (format.lds): Likewise.
3721         [bind-now] (LDFLAGS-c.so): Remove.
3722         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
3723         be R_X86_64_GLOB_DAT.
3724         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
3725         relocation can be R_386_GLOB_DAT.
3726         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
3727         relocaiton can be R_ALPHA_GLOB_DAT.
3728         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
3730 2017-03-01  Zack Weinberg  <zackw@panix.com>
3732         * include/libc-pointer-arith.h: New file.  Define
3733         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
3734         PTR_ALIGN_DOWN here.
3735         * include/libc-internal.h: Definitions of above macros
3736         moved from here.  Don't include libc-diag.h anymore either.
3737         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
3738         Don't include libc-internal.h.
3740         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
3741         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
3742         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
3743         * string/strcoll_l.c, sysdeps/nacl/brk.c
3744         * sysdeps/unix/clock_settime.c
3745         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
3746         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
3747         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
3748         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
3749         Don't include libc-internal.h.
3751         * elf/get-dynamic-info.h, iconv/loop.c
3752         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
3753         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
3754         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
3755         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
3756         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
3757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
3758         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
3759         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
3760         * sysdeps/ieee754/ldbl-128/k_tanl.c
3761         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
3762         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
3763         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
3764         Include libc-diag.h instead of libc-internal.h.
3766         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
3767         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
3768         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
3769         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
3770         * sysdeps/unix/sysv/linux/spawni.c
3771         * sysdeps/x86_64/nptl/tls.h:
3772         Include libc-pointer-arith.h instead of libc-internal.h.
3774         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
3775         * sysdeps/x86_64/atomic-machine.h:
3776         Add multiple include guard.
3778         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
3779         * string/strcasestr.c: No need to include config.h.
3780         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
3781         sys/auxv.h. Don't include sysdep.h.
3782         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
3784         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
3785         DL_LOOKUP_ADDRESS.
3786         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
3787         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
3788         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
3789         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
3790         of ARTIFICIAL_LIMIT.
3791         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
3792         declaration of __clone2.
3794 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3796         * scripts/backport-support.sh (latest_commit): New file.
3798 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3800         [BZ #20257]
3801         * inet/Makefile (routines): Add deadline.
3802         (tests-static): Add tst-deadline.
3803         * inet/net-internal.h (struct deadline_current_time)
3804         (__deadline_current_time, struct deadline, __deadline_is_infinite)
3805         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
3806         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
3807         * inet/deadline.c: New file.
3808         * inet/tst-deadline.c: Likewise.
3809         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
3810         tst-udp-timeout, tst-udp-garbage.
3811         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
3812         explicitly.
3813         (tst-udp-garbage): Likewise.  Also link against thread library.
3814         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
3815         struct layout is part of the ABI.
3816         (clntudp_call): Rework timeout handling.
3817         * sunrpc/tst-udp-garbage.c: New file.
3818         * sunrpc/tst-udp-nonblocking.c: Likewise.
3819         * sunrpc/tst-udp-timeout.c: Likewise.
3821 2017-02-28  Florian Weimer  <fweimer@redhat.com>
3823         [BZ #5010]
3824         * sunrpc/svc.c (svc_is_mapped): Remove.
3825         (svc_unregister): Obtain mapped status while the service is still
3826         registered.
3827         * sunrpc/Makefile [have-thread-library] (tests): Add
3828         tst-svc_register.
3829         (tst-svc_register): Link against libc.so explicitly and the thread
3830         library.
3831         * sunrpc/tst-svc_register.c: New file.
3833 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3835         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
3836         * sysdeps/pthread/bits/sigthread.h: Likewise.
3838 2017-02-27  Florian Weimer  <fweimer@redhat.com>
3840         [BZ #21115]
3841         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
3842         * sunrpc/Makefile (tests): Add tst-udp-error.
3843         (tst-udp-error): Link against libc.so explicitly.
3844         * sunrpc/tst-udp-error: New file.
3846 2017-02-25  Zack Weinberg  <zackw@panix.com>
3848         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
3849         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
3851         * sysdeps/generic/math_ldbl.h
3852         * sysdeps/ia64/fpu/math_ldbl.h
3853         * sysdeps/ieee754/ldbl-128/math_ldbl.h
3854         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3855         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3856         * sysdeps/powerpc/fpu/math_ldbl.h
3857         * sysdeps/x86_64/fpu/math_ldbl.h:
3858         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
3859         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
3860         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
3861         Add copyright notices.
3863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3864         Don't use EXTRACT_WORDS64.
3866         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
3867         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
3868         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
3869         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
3870         Include math_ldbl.h, not math_private.h.
3872 2017-02-25  Zack Weinberg  <zackw@panix.com>
3874         * include/libc-diag.h: New file.  Define ignore_value,
3875         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
3876         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
3878         * include/libc-internal.h: Definitions of above macros moved from
3879         here.  Include libc-diag.h.  Add copyright notice.
3881         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
3882         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
3883         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
3884         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
3885         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
3886         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
3887         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
3888         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
3889         Include libc-diag.h instead of libc-internal.h.
3891         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
3892         call to unsetenv (NULL).
3893         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
3894         call to pthread_mutexattr_destroy (NULL).
3896 2017-02-25  Zack Weinberg  <zackw@panix.com>
3898         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
3899         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
3900         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
3901         gets was removed from C++ in C++14.
3902         * include/stdio.h: Remove redundant declaration of gets.
3903         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
3904         be declared, since we are testing it.
3905         * stdio-common/Makefile (tst-gets.c): Compile with
3906         -Wno-deprecated-declarations.
3907         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
3908         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
3909         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
3910         Compile with -Wno-deprecated-declarations.
3912 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3914         * math/libm-test-support.c (check_ulp): Use LIT() around literal
3915         numbers.
3917 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3919         * resolv/tst-resolv-qtypes.c (domain):
3920         Change type to const pointer to const char.
3922 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
3924         * math/Makefile (libm-tests-generated): Remove variable.
3925         (libm-tests-base-normal): New variable.
3926         (libm-tests-base-finite): Likewise.
3927         (libm-tests-base-inline): Likewise.
3928         (libm-tests-base): Likewise.
3929         (libm-tests-normal): Likewise.
3930         (libm-tests-finite): Likewise.
3931         (libm-tests-inline): Likewise.
3932         (libm-tests-vector): Likewise.
3933         (libm-tests): Define in terms of these new variables.
3934         (libm-tests-for-type): New variable.
3935         (libm-tests.o): Move definition.
3936         (tests): Move addition of $(libm-tests).
3937         (generated): Update for new and removed libm test files.
3938         ($(objpfx)libm-test.c): Remove target.
3939         ($(objpfx)libm-have-vector-test.h): Likewise.
3940         (CFLAGS-test-double-vlen2.c): Remove variable.
3941         (CFLAGS-test-double-vlen4.c): Likewise.
3942         (CFLAGS-test-double-vlen8.c): Likewise.
3943         (CFLAGS-test-float-vlen4.c): Likewise.
3944         (CFLAGS-test-float-vlen8.c): Likewise.
3945         (CFLAGS-test-float-vlen16.c): Likewise.
3946         (CFLAGS-test-float.c): Likewise.
3947         (CFLAGS-test-float-finite.c): Likewise.
3948         (CFLAGS-libm-test-support-float.c): Likewise.
3949         (CFLAGS-test-double.c): Likewise.
3950         (CFLAGS-test-double-finite.c): Likewise.
3951         (CFLAGS-libm-test-support-double.c): Likewise.
3952         (CFLAGS-test-ldouble.c): Likewise.
3953         (CFLAGS-test-ldouble-finite.c): Likewise.
3954         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3955         (libm-test-inline-cflags): New variable.
3956         (CFLAGS-test-ifloat.c): Remove variable.
3957         (CFLAGS-test-idouble.c): Likewise.
3958         (CFLAGS-test-ildouble.c): Likewise.
3959         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
3960         dependencies.
3961         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
3962         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
3963         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
3964         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
3965         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
3966         Likewise.
3967         (dependencies on libm-test-support-*.o): Remove.
3968         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
3969         rules using iterators.
3970         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
3971         Likewise.
3972         ($(objpfx)libm-test-support-$(o).o): Likewise.
3973         ($(addprefix $(objpfx),$(filter-out $(tests-static)
3974         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
3975         instead.
3976         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
3977         define rule instead.
3978         * math/README.libm-test: Update.
3979         * math/libm-test-acos.inc: Include libm-test-driver.c.
3980         (do_test): New function.
3981         * math/libm-test-acosh.inc: Include libm-test-driver.c.
3982         (do_test): New function.
3983         * math/libm-test-asin.inc: Include libm-test-driver.c.
3984         (do_test): New function.
3985         * math/libm-test-asinh.inc: Include libm-test-driver.c.
3986         (do_test): New function.
3987         * math/libm-test-atan.inc: Include libm-test-driver.c.
3988         (do_test): New function.
3989         * math/libm-test-atan2.inc: Include libm-test-driver.c.
3990         (do_test): New function.
3991         * math/libm-test-atanh.inc: Include libm-test-driver.c.
3992         (do_test): New function.
3993         * math/libm-test-cabs.inc: Include libm-test-driver.c.
3994         (do_test): New function.
3995         * math/libm-test-cacos.inc: Include libm-test-driver.c.
3996         (do_test): New function.
3997         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
3998         (do_test): New function.
3999         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4000         (do_test): New function.
4001         * math/libm-test-carg.inc: Include libm-test-driver.c.
4002         (do_test): New function.
4003         * math/libm-test-casin.inc: Include libm-test-driver.c.
4004         (do_test): New function.
4005         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4006         (do_test): New function.
4007         * math/libm-test-catan.inc: Include libm-test-driver.c.
4008         (do_test): New function.
4009         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4010         (do_test): New function.
4011         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4012         (do_test): New function.
4013         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4014         (do_test): New function.
4015         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4016         (do_test): New function.
4017         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4018         (do_test): New function.
4019         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4020         (do_test): New function.
4021         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4022         (do_test): New function.
4023         * math/libm-test-clog.inc: Include libm-test-driver.c.
4024         (do_test): New function.
4025         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4026         (do_test): New function.
4027         * math/libm-test-conj.inc: Include libm-test-driver.c.
4028         (do_test): New function.
4029         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4030         (do_test): New function.
4031         * math/libm-test-cos.inc: Include libm-test-driver.c.
4032         (do_test): New function.
4033         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4034         (do_test): New function.
4035         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4036         (do_test): New function.
4037         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4038         (do_test): New function.
4039         * math/libm-test-creal.inc: Include libm-test-driver.c.
4040         (do_test): New function.
4041         * math/libm-test-csin.inc: Include libm-test-driver.c.
4042         (do_test): New function.
4043         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4044         (do_test): New function.
4045         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4046         (do_test): New function.
4047         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4048         (do_test): New function.
4049         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
4050         (do_test): New function.
4051         * math/libm-test-erf.inc: Include libm-test-driver.c.
4052         (do_test): New function.
4053         * math/libm-test-erfc.inc: Include libm-test-driver.c.
4054         (do_test): New function.
4055         * math/libm-test-exp.inc: Include libm-test-driver.c.
4056         (do_test): New function.
4057         * math/libm-test-exp10.inc: Include libm-test-driver.c.
4058         (do_test): New function.
4059         * math/libm-test-exp2.inc: Include libm-test-driver.c.
4060         (do_test): New function.
4061         * math/libm-test-expm1.inc: Include libm-test-driver.c.
4062         (do_test): New function.
4063         * math/libm-test-fabs.inc: Include libm-test-driver.c.
4064         (do_test): New function.
4065         * math/libm-test-fdim.inc: Include libm-test-driver.c.
4066         (do_test): New function.
4067         * math/libm-test-floor.inc: Include libm-test-driver.c.
4068         (do_test): New function.
4069         * math/libm-test-fma.inc: Include libm-test-driver.c.
4070         (do_test): New function.
4071         * math/libm-test-fmax.inc: Include libm-test-driver.c.
4072         (do_test): New function.
4073         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
4074         (do_test): New function.
4075         * math/libm-test-fmin.inc: Include libm-test-driver.c.
4076         (do_test): New function.
4077         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
4078         (do_test): New function.
4079         * math/libm-test-fmod.inc: Include libm-test-driver.c.
4080         (do_test): New function.
4081         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
4082         (do_test): New function.
4083         * math/libm-test-frexp.inc: Include libm-test-driver.c.
4084         (do_test): New function.
4085         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
4086         (do_test): New function.
4087         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
4088         (do_test): New function.
4089         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
4090         (do_test): New function.
4091         * math/libm-test-hypot.inc: Include libm-test-driver.c.
4092         (do_test): New function.
4093         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
4094         (do_test): New function.
4095         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
4096         (do_test): New function.
4097         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
4098         (do_test): New function.
4099         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
4100         (do_test): New function.
4101         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
4102         (do_test): New function.
4103         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
4104         (do_test): New function.
4105         * math/libm-test-isinf.inc: Include libm-test-driver.c.
4106         (do_test): New function.
4107         * math/libm-test-isless.inc: Include libm-test-driver.c.
4108         (do_test): New function.
4109         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
4110         (do_test): New function.
4111         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
4112         (do_test): New function.
4113         * math/libm-test-isnan.inc: Include libm-test-driver.c.
4114         (do_test): New function.
4115         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
4116         (do_test): New function.
4117         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
4118         (do_test): New function.
4119         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
4120         (do_test): New function.
4121         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
4122         (do_test): New function.
4123         * math/libm-test-iszero.inc: Include libm-test-driver.c.
4124         (do_test): New function.
4125         * math/libm-test-j0.inc: Include libm-test-driver.c.
4126         (do_test): New function.
4127         * math/libm-test-j1.inc: Include libm-test-driver.c.
4128         (do_test): New function.
4129         * math/libm-test-jn.inc: Include libm-test-driver.c.
4130         (do_test): New function.
4131         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
4132         (do_test): New function.
4133         * math/libm-test-llogb.inc: Include libm-test-driver.c.
4134         (do_test): New function.
4135         * math/libm-test-llrint.inc: Include libm-test-driver.c.
4136         (do_test): New function.
4137         * math/libm-test-llround.inc: Include libm-test-driver.c.
4138         (do_test): New function.
4139         * math/libm-test-log.inc: Include libm-test-driver.c.
4140         (do_test): New function.
4141         * math/libm-test-log10.inc: Include libm-test-driver.c.
4142         (do_test): New function.
4143         * math/libm-test-log1p.inc: Include libm-test-driver.c.
4144         (do_test): New function.
4145         * math/libm-test-log2.inc: Include libm-test-driver.c.
4146         (do_test): New function.
4147         * math/libm-test-logb.inc: Include libm-test-driver.c.
4148         (do_test): New function.
4149         * math/libm-test-lrint.inc: Include libm-test-driver.c.
4150         (do_test): New function.
4151         * math/libm-test-lround.inc: Include libm-test-driver.c.
4152         (do_test): New function.
4153         * math/libm-test-modf.inc: Include libm-test-driver.c.
4154         (do_test): New function.
4155         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
4156         (do_test): New function.
4157         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
4158         (do_test): New function.
4159         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
4160         (do_test): New function.
4161         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
4162         (do_test): New function.
4163         * math/libm-test-nextup.inc: Include libm-test-driver.c.
4164         (do_test): New function.
4165         * math/libm-test-pow.inc: Include libm-test-driver.c.
4166         (do_test): New function.
4167         * math/libm-test-remainder.inc: Include libm-test-driver.c.
4168         (do_test): New function.
4169         * math/libm-test-remquo.inc: Include libm-test-driver.c.
4170         (do_test): New function.
4171         * math/libm-test-rint.inc: Include libm-test-driver.c.
4172         (do_test): New function.
4173         * math/libm-test-round.inc: Include libm-test-driver.c.
4174         (do_test): New function.
4175         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
4176         (do_test): New function.
4177         * math/libm-test-scalb.inc: Include libm-test-driver.c.
4178         (do_test): New function.
4179         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
4180         (do_test): New function.
4181         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
4182         (do_test): New function.
4183         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
4184         (do_test): New function.
4185         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
4186         (do_test): New function.
4187         * math/libm-test-signbit.inc: Include libm-test-driver.c.
4188         (do_test): New function.
4189         * math/libm-test-significand.inc: Include libm-test-driver.c.
4190         (do_test): New function.
4191         * math/libm-test-sin.inc: Include libm-test-driver.c.
4192         (do_test): New function.
4193         * math/libm-test-sincos.inc: Include libm-test-driver.c.
4194         (do_test): New function.
4195         * math/libm-test-sinh.inc: Include libm-test-driver.c.
4196         (do_test): New function.
4197         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
4198         (do_test): New function.
4199         * math/libm-test-tan.inc: Include libm-test-driver.c.
4200         (do_test): New function.
4201         * math/libm-test-tanh.inc: Include libm-test-driver.c.
4202         (do_test): New function.
4203         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
4204         (do_test): New function.
4205         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
4206         (do_test): New function.
4207         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
4208         (do_test): New function.
4209         * math/libm-test-trunc.inc: Include libm-test-driver.c.
4210         (do_test): New function.
4211         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
4212         (do_test): New function.
4213         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
4214         (do_test): New function.
4215         * math/libm-test-y0.inc: Include libm-test-driver.c.
4216         (do_test): New function.
4217         * math/libm-test-y1.inc: Include libm-test-driver.c.
4218         (do_test): New function.
4219         * math/libm-test-yn.inc: Include libm-test-driver.c.
4220         (do_test): New function.
4221         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
4222         (HAVE_VECTOR): Remove macro.
4223         (START): Do not call HAVE_VECTOR.
4224         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
4225         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
4226         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
4227         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
4228         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
4229         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
4230         * math/test-math-vector.h (FUNC_TEST): New macro.
4231         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
4232         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
4233         (double-vlen4-funcs): Likewise.
4234         (double-vlen4-avx2-funcs): Likewise.
4235         (double-vlen8-funcs): Likewise.
4236         (float-vlen4-funcs): Likewise.
4237         (float-vlen8-funcs): Likewise.
4238         (float-vlen8-avx2-funcs): Likewise.
4239         (float-vlen16-funcs): Likewise.
4240         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
4241         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
4242         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
4243         macro.
4244         (TEST_VECTOR_sin): Likewise.
4245         (TEST_VECTOR_sincos): Likewise.
4246         (TEST_VECTOR_log): Likewise.
4247         (TEST_VECTOR_exp): Likewise.
4248         (TEST_VECTOR_pow): Likewise.
4249         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
4250         Likewise.
4251         (TEST_VECTOR_sin): Likewise.
4252         (TEST_VECTOR_sincos): Likewise.
4253         (TEST_VECTOR_log): Likewise.
4254         (TEST_VECTOR_exp): Likewise.
4255         (TEST_VECTOR_pow): Likewise.
4256         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
4257         Likewise.
4258         (TEST_VECTOR_sinf): Likewise.
4259         (TEST_VECTOR_sincosf): Likewise.
4260         (TEST_VECTOR_logf): Likewise.
4261         (TEST_VECTOR_expf): Likewise.
4262         (TEST_VECTOR_powf): Likewise.
4263         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
4264         Likewise.
4265         (TEST_VECTOR_sinf): Likewise.
4266         (TEST_VECTOR_sincosf): Likewise.
4267         (TEST_VECTOR_logf): Likewise.
4268         (TEST_VECTOR_expf): Likewise.
4269         (TEST_VECTOR_powf): Likewise.
4270         * math/gen-libm-have-vector-test.sh: Remove file.
4271         * math/libm-test.inc: Likewise.
4272         * math/libm-test-support-double.c: Likewise.
4273         * math/libm-test-support-float.c: Likewise.
4274         * math/libm-test-support-ldouble.c: Likewise.
4275         * math/test-double-finite.c: Likewise.: Likewise.
4276         * math/test-double.c: Likewise.
4277         * math/test-float-finite.c: Likewise.
4278         * math/test-float.c: Likewise.
4279         * math/test-idouble.c: Likewise.
4280         * math/test-ifloat.c: Likewise.
4281         * math/test-ildouble.c: Likewise.
4282         * math/test-ldouble-finite.c: Likewise.
4283         * math/test-ldouble.c: Likewise.
4284         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4285         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
4286         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4287         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4288         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4289         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4290         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4291         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
4292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4295 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4296            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4298         * math/Makefile: Add wrappers to gen-libm-calls.
4299         * math/w_acos_template.c: New file.
4300         * math/w_acosh_template.c: Likewise.
4301         * math/w_asin_template.c: Likewise.
4302         * math/w_atan2_template.c: Likewise.
4303         * math/w_atanh_template.c: Likewise.
4304         * math/w_cosh_template.c: Likewise.
4305         * math/w_exp10_template.c: Likewise.
4306         * math/w_exp2_template.c: Likewise.
4307         * math/w_exp_template.c: Likewise.
4308         * math/w_fmod_template.c: Likewise.
4309         * math/w_hypot_template.c: Likewise.
4310         * math/w_j0_template.c: Likewise.
4311         * math/w_j1_template.c: Likewise.
4312         * math/w_jn_template.c: Likewise.
4313         * math/w_lgamma_r_template.c: Likewise.
4314         * math/w_lgamma_template.c: Likewise.
4315         * math/w_log10_template.c: Likewise.
4316         * math/w_log2_template.c: Likewise.
4317         * math/w_log_template.c: Likewise.
4318         * math/w_pow_template.c: Likewise.
4319         * math/w_remainder_template.c: Likewise.
4320         * math/w_sinh_template.c: Likewise.
4321         * math/w_sqrt_template.c: Likewise.
4322         * math/w_tgamma_template.c: Likewise.: Likewise.
4323         * sysdeps/generic/math-type-macros-double.h
4324         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
4325         the new wrappers.
4326         * sysdeps/generic/math-type-macros-float.h: Likewise.
4327         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4329 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
4331         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
4332         New enum constant and macro.
4334         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4335         kernel version to 4.10.
4337 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
4339         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
4341 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4345 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4347         * sysdeps/powerpc/tst-set_ppr.c: New file.
4348         Implement test cases for __ppc_set_ppr_* functions.
4349         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
4350         in the list of tests.
4352 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4354         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
4355         instead of test-skeleton.c.
4356         (do_test): Replaced pthread_create and pthread_join with
4357         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
4358         Removed unneeded status variable.
4359         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
4360         instead of test-skeleton.c.
4361         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
4363 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
4365         [BZ #20313]
4366         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4367         201605L, for Unicode 9.
4369 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
4371         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
4372         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4373         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4374         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4375         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4376         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4378 2017-02-19  Zack Weinberg  <zackw@panix.com>
4380         * rt/tst-mqueue4.c: Include stdint.h.
4382 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4384         * sysdeps/arm/libm-test-ulps: Update.
4385         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4386         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4387         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4389 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4391         [BZ #21029]
4392         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
4393         * sysdeps/unix/sysv/linux/i386/Makefile
4394         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
4395         (uses-6-syscall-arguments): Remove.
4396         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
4397         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
4398         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
4399         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
4400         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
4401         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
4402         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
4403         [$(subdir) = misc] (cflags-pselect.o): Likewise.
4404         [$(subdir) = misc] (cflags-pselect.os): Likewise.
4405         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
4406         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
4407         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
4408         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
4409         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
4410         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
4411         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
4412         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
4413         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
4414         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
4415         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
4416         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
4417         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
4418         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
4419         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
4420         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
4421         Likewise.
4422         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
4423         Likewise.
4424         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
4425         Likewise.
4426         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
4427         Likewise.
4428         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
4429         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
4430         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
4431         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
4432         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
4433         ebp on inline assembly.
4434         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
4435         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4436         Set if CAN_USE_REGISTER_ASM_EBP is set.
4438 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
4440         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
4441         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
4443 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
4445         * math/auto-libm-test-in: Add tests of catan and catanh.
4446         * math/auto-libm-test-out-catan: New generated file.
4447         * math/auto-libm-test-out-catanh: Likewise.
4448         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
4449         Move tests with finite inputs, except divide-by-zero cases, to
4450         auto-libm-test-in.
4451         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
4452         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
4453         (libm-test-funcs-noauto): Remove catan and catanh.
4454         * sysdeps/i386/fpu/libm-test-ulps: Update.
4455         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458         * math/auto-libm-test-in: Add tests of casin and casinh.
4459         * math/auto-libm-test-out-casin: New generated file.
4460         * math/auto-libm-test-out-casinh: Likewise.
4461         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
4462         Move tests with finite inputs to auto-libm-test-in.
4463         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
4464         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
4465         (libm-test-funcs-noauto): Remove casin and casinh.
4466         * sysdeps/i386/fpu/libm-test-ulps: Update.
4467         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4470         * math/auto-libm-test-in: Add tests of cacos and cacosh.
4471         * math/auto-libm-test-out-cacos: New generated file.
4472         * math/auto-libm-test-out-cacosh: Likewise.
4473         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
4474         Move tests with finite inputs to auto-libm-test-in.
4475         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
4476         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
4477         (libm-test-funcs-noauto): Remove cacos and cacosh.
4478         * sysdeps/i386/fpu/libm-test-ulps: Update.
4479         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
4480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482         Revert:
4483         2017-02-16  Zack Weinberg  <zackw@panix.com>
4485         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4486         Don't include init-arch.h.
4487         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4488         Don't include init-arch.h.
4490 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4492         [BZ #21171]
4493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
4494         +Inf and raise divide-by-zero when x is negative.
4495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
4496         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
4497         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
4498         -Inf and raise divide-by-zero when x = +-0.
4499         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4500         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
4501         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
4502         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
4503         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4504         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4507 2017-02-16  Zack Weinberg  <zackw@panix.com>
4509         * scripts/build-many-glibcs.py (bot_build_mail): If the
4510         bot_config does not contain all of the necessary email-
4511         related settings, just print a warning and continue.
4513 2017-02-16  Zack Weinberg  <zackw@panix.com>
4515         * crypt/md5.h: Test _LIBC with #if defined, not #if.
4516         * dirent/opendir-tst1.c: Include sys/stat.h.
4517         * dirent/tst-fdopendir.c: Include sys/stat.h.
4518         * dirent/tst-fdopendir2.c: Include stdlib.h.
4519         * dirent/tst-scandir.c: Include stdbool.h.
4520         * elf/tst-auditmod1.c: Include link.h and stddef.h.
4521         * elf/tst-tls15.c: Include stdlib.h.
4522         * elf/tst-tls16.c: Include stdlib.h.
4523         * elf/tst-tls17.c: Include stdlib.h.
4524         * elf/tst-tls18.c: Include stdlib.h.
4525         * iconv/tst-iconv6.c: Include endian.h.
4526         * iconvdata/bug-iconv11.c: Include limits.h.
4527         * io/test-utime.c: Include stdint.h.
4528         * io/tst-faccessat.c: Include sys/stat.h.
4529         * io/tst-fchmodat.c: Include sys/stat.h.
4530         * io/tst-fchownat.c: Include sys/stat.h.
4531         * io/tst-fstatat.c: Include sys/stat.h.
4532         * io/tst-futimesat.c: Include sys/stat.h.
4533         * io/tst-linkat.c: Include sys/stat.h.
4534         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
4535         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
4536         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
4537         * io/tst-openat.c: Include stdbool.h.
4538         * io/tst-readlinkat.c: Include sys/stat.h.
4539         * io/tst-renameat.c: Include sys/stat.h.
4540         * io/tst-symlinkat.c: Include sys/stat.h.
4541         * io/tst-unlinkat.c: Include stdbool.h.
4542         * libio/bug-memstream1.c: Include stdlib.h.
4543         * libio/bug-wmemstream1.c: Include stdlib.h.
4544         * libio/tst-fwrite-error.c: Include stdlib.h.
4545         * libio/tst-memstream1.c: Include stdlib.h.
4546         * libio/tst-memstream2.c: Include stdlib.h.
4547         * libio/tst-memstream3.c: Include stdlib.h.
4548         * malloc/tst-interpose-aux.c: Include stdint.h.
4549         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
4550         * nptl/tst-basic7.c: Include limits.h.
4551         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
4552         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
4553         * nptl/tst-cancel4_1.c: Include stddef.h.
4554         * nptl/tst-cancel4_2.c: Include stddef.h.
4555         * nptl/tst-cond16.c: Include limits.h.
4556         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4557         * nptl/tst-cond18.c: Include limits.h.
4558         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
4559         * nptl/tst-cond4.c: Include stdint.h.
4560         * nptl/tst-cond6.c: Include stdint.h.
4561         * nptl/tst-stack2.c: Include limits.h.
4562         * nptl/tst-stackguard1.c: Include stddef.h.
4563         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
4564         * nptl/tst-tls4moda.c: Include stddef.h.
4565         Don't include stdio.h, unistd.h, or tls.h.
4566         * nptl/tst-tls4modb.c: Include stddef.h.
4567         Don't include stdio.h, unistd.h, or tls.h.
4568         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
4569         * posix/tst-getaddrinfo2.c: Include stdio.h.
4570         * posix/tst-getaddrinfo5.c: Include stdio.h.
4571         * posix/tst-pathconf.c: Include sys/stat.h.
4572         * posix/tst-posix_fadvise-common.c: Include stdint.h.
4573         * posix/tst-preadwrite-common.c: Include sys/stat.h.
4574         * posix/tst-regex.c: Include stdint.h.
4575         Don't include spawn.h or spawn_int.h.
4576         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
4577         * posix/tst-vfork3.c: Include sys/stat.h.
4578         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
4579         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
4580         * resolv/tst-resolv-search.c: Include stdlib.h.
4581         * stdio-common/tst-fmemopen2.c: Include stdint.h.
4582         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
4583         * stdlib/test-canon.c: Include sys/stat.h.
4584         * stdlib/tst-tls-atexit.c: Include stdbool.h.
4585         * string/test-memchr.c: Include stdint.h.
4586         * string/tst-cmp.c: Include stdint.h.
4587         * sysdeps/pthread/tst-timer.c: Include stdint.h.
4588         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
4589         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
4590         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4591         Don't include init-arch.h.
4592         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4593         Don't include init-arch.h.
4594         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
4595         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
4596         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
4597         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
4598         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
4599         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
4600         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
4601         * time/clocktest.c: Include stdint.h.
4602         * time/tst-posixtz.c: Include stdint.h.
4603         * timezone/tst-timezone.c: Include stdint.h.
4605 2017-02-16  Zack Weinberg  <zackw@panix.com>
4607         * string/string.h [__USE_MISC]: Include strings.h.
4608         (__bzero, bcmp, bcopy, bzero, index, rindex)
4609         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
4610         (ffs, ffsl, ffsll): Don't declare.
4611         * string/strings.h: Do not suppress the file if string.h has
4612         already been included.
4613         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
4614         annotations.
4615         (index, rindex): Define inline forwarders even if
4616         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
4617         (ffs): Use __attribute_const__.
4618         (ffsl, ffsll): Declare here.
4619         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
4620         have now been standardized.
4621         * include/string.h (__bzero): Declare here.
4623         * bits/types.h: Move to posix/bits.
4624         * include/bits/types.h: New wrapper.
4626 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4628         * string/bits/string2.h (strcmp): Remove define.
4629         (__strcmp_cg): Likewise.
4630         (strncmp): Likewise.
4632 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
4634         * include/string.h: Add __cplusplus check.
4636 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4638         [BZ #21134]
4639         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
4640         "divide by zero" exception when the input is zero.
4641         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
4642         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
4643         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
4644         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
4645         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4647 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
4649         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
4650         and include ...
4651         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
4652         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
4653         to, and include ...
4654         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
4655         file.
4656         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
4657         and include ...
4658         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
4659         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
4660         and include ...
4661         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
4662         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
4663         and include ...
4664         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
4665         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
4666         and include ...
4667         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
4668         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
4669         to, and include ...
4670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
4671         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
4672         and include ...
4673         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
4675 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
4677         * math/libm-test-support.h: Do not include <math-tests-arch.h>
4678         here.
4679         * math/libm-test-support.c (libm_test_init): Do not call
4680         INIT_ARCH_EXT here.
4681         * math/libm-test-driver.c: Include <math-tests-arch.h>.
4682         (main): Call INIT_ARCH_EXT.
4684 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4686         [BZ #21130]
4687         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
4688         with the "invalid" exception raised when x is -Inf.
4689         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4691 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
4693         * string/bits/string2.h (strchr): Remove define.
4695 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
4697         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
4698         tst-avx512.
4699         (test-extras): Add tst-avx-aux and tst-avx512-aux.
4700         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
4701         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
4702         ($(objpfx)tst-sse): New rule.
4703         ($(objpfx)tst-avx): Likewise.
4704         ($(objpfx)tst-avx512): Likewise.
4705         (CFLAGS-tst-avx-aux.c): New.
4706         (CFLAGS-tst-avxmod.c): Likewise.
4707         (CFLAGS-tst-avx512-aux.c): Likewise.
4708         (CFLAGS-tst-avx512mod.c): Likewise.
4709         * sysdeps/x86_64/tst-avx-aux.c: New file.
4710         * sysdeps/x86_64/tst-avx.c: Likewise.
4711         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
4712         * sysdeps/x86_64/tst-avx512.c: Likewise.
4713         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
4714         * sysdeps/x86_64/tst-avxmod.c: Likewise.
4715         * sysdeps/x86_64/tst-sse.c: Likewise.
4716         * sysdeps/x86_64/tst-ssemod.c: Likewise.
4718 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4720         * math/auto-libm-test-in: Add more tests of csin and csinh.
4721         * math/auto-libm-test-out-csin: Regenerated.
4722         * math/auto-libm-test-out-csinh: Likewise.
4723         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
4724         auto-libm-test-in.
4725         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
4727 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4729         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
4730         libm-compat-calls-auto.
4731         (libm-compat-calls): Likewise.
4732         (libm-compat-calls-auto): Rename to libm-compat-calls and add
4733         w_lgamma_compatF and k_standardF (merged from the items above).
4734         (libm-routines): Use libm-compat-calls, instead of
4735         libm-compat-calls-auto, with type-foreach.
4737 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
4739         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
4740         macro.
4741         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
4742         (CFLAGS-test-ifloat.c): ... this.  Remove
4743         -U__LIBC_INTERNAL_MATH_INLINES.
4744         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
4745         (CFLAGS-test-idouble.c): ... this.  Remove
4746         -U__LIBC_INTERNAL_MATH_INLINES.
4747         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
4748         (CFLAGS-test-ildouble.c): ... this.  Remove
4749         -U__LIBC_INTERNAL_MATH_INLINES.
4751 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
4753         * math/libm-test-support.c: New file.  Content from
4754         math/libm-test-driver.c.
4755         * math/libm-test-support.h: Likewise.
4756         * math/libm-test-support-double.c: New file.
4757         * math/libm-test-support-float.c: Likewise.
4758         * math/libm-test-support-ldouble.c: Likewise.
4759         * math/libm-test-driver.c: Remove main comment and header
4760         includes.  Include libm-test-support.h.
4761         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
4762         (flag_test_errno): Remove static.
4763         (flag_test_exceptions): Likewise.
4764         (flag_test_finite): Likewise.
4765         (flag_test_inline): Likewise.
4766         (flag_test_mathvec): Likewise.
4767         (test_msg): Likewise.
4768         (NO_EXCEPTION): Remove.
4769         (INVALID_EXCEPTION): Likewise.
4770         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4771         (OVERFLOW_EXCEPTION): Likewise.
4772         (UNDERFLOW_EXCEPTION): Likewise.
4773         (INEXACT_EXCEPTION): Likewise.
4774         (INVALID_EXCEPTION_OK): Likewise.
4775         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4776         (OVERFLOW_EXCEPTION_OK): Likewise.
4777         (UNDERFLOW_EXCEPTION_OK): Likewise.
4778         (NO_INEXACT_EXCEPTION): Likewise.
4779         (EXCEPTIONS_OK): Likewise.
4780         (IGNORE_ZERO_INF_SIGN): Likewise.
4781         (TEST_NAN_SIGN): Likewise.
4782         (TEST_NAN_PAYLOAD): Likewise.
4783         (NO_TEST_INLINE): Likewise.
4784         (XFAIL_TEST): Likewise.
4785         (ERRNO_UNCHANGED): Likewise.
4786         (ERRNO_EDOM): Likewise.
4787         (ERRNO_ERANGE): Likewise.
4788         (IGNORE_RESULT): Likewise.
4789         (NON_FINITE): Likewise.
4790         (TEST_SNAN): Likewise.
4791         (NO_TEST_MATHVEC): Likewise.
4792         (__CONCATX): Likewise.
4793         (TYPE_MIN): Likewise.
4794         (TYPE_TRUE_MIN): Likewise.
4795         (TYPE_MAX): Likewise.
4796         (MIN_EXP): Likewise.
4797         (MAX_EXP): Likewise.
4798         (MANT_DIG): Likewise.
4799         (FSTR_MAX): Likewise.
4800         (ulp_idx): Likewise.
4801         (qtype_str): Remove static.
4802         (TEST_COND_binary32): Remove.
4803         (TEST_COND_binary64): Likewise.
4804         (TEST_COND_binary128): Likewise.
4805         (TEST_COND_ibm128): Likewise.
4806         (TEST_COND_intel96): Likewise.
4807         (TEST_COND_m68k96): Likewise.
4808         (TEST_COND_ibm128_libgcc): Likewise.
4809         (XFAIL_IBM128_LIBGCC): Likewise.
4810         (PAYLOAD_DIG): Likewise.
4811         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4812         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4813         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4814         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4815         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4816         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4817         (TEST_COND_long32): Likewise.
4818         (TEST_COND_long64): Likewise.
4819         (TEST_COND_before_rounding): Likewise.
4820         (TEST_COND_after_rounding): Likewise.
4821         (ulps_file_name): Likewise.
4822         (ulps_file): Likewise.
4823         (output_ulps): Likewise.
4824         (output_dir): Likewise.
4825         (noErrors): Likewise.
4826         (noTests): Likewise.
4827         (noExcTests): Likewise.
4828         (noErrnoTests): Likewise.
4829         (verbose): Likewise.
4830         (output_max_error): Likewise.
4831         (output_points): Likewise.
4832         (ignore_max_ulp): Likewise.
4833         (max_error): Likewise.
4834         (real_max_error): Likewise.
4835         (imag_max_error): Likewise.
4836         (prev_max_error): Likewise.
4837         (prev_real_max_error): Likewise.
4838         (prev_imag_max_error): Likewise.
4839         (max_valid_error): Likewise.
4840         (TYPE_DECIMAL_DIG): Likewise.
4841         (TYPE_HEX_DIG): Likewise.
4842         (fmt_ftostr): Likewise.
4843         (compare_ulp_data): Likewise.
4844         (find_ulps): Likewise.
4845         (init_max_error): Likewise.
4846         (set_max_error): Likewise.
4847         (print_float): Likewise.
4848         (print_screen): Likewise.
4849         (print_screen_max_error): Likewise.
4850         (update_stats): Likewise.
4851         (print_function_ulps): Likewise.
4852         (print_complex_function_ulps): Likewise.
4853         (fpstack_test): Likewise.
4854         (print_max_error): Likewise.
4855         (print_complex_max_error): Likewise.
4856         (test_single_exception): Likewise.
4857         (test_exceptions): Likewise.
4858         (test_single_errno): Likewise.
4859         (test_errno): Likewise.
4860         (ULPDIFF): Likewise.
4861         (ulp): Likewise.
4862         (check_float_internal): Likewise.
4863         (check_float): Likewise.
4864         (check_complex): Likewise.
4865         (check_int): Likewise.
4866         (check_long): Likewise.
4867         (check_bool): Likewise.
4868         (check_longlong): Likewise.
4869         (check_intmax_t): Likewise.
4870         (check_uintmax_t): Likewise.
4871         (enable_test): Likewise.
4872         (matherr): Likewise.
4873         (initialize): Likewise.
4874         (options): Likewise.
4875         (doc): Remove static.
4876         (argp): Likewise.
4877         (parse_opt): Remove.
4878         (check_ulp): Likewise.
4879         (libm_test_init): Likewise.
4880         (libm_test_finish): Likewise.
4881         * math/Makefile (libm-test-support): New variable.
4882         (test-extras): Add libm-test-support files.
4883         (extra-test-objs): Likewise.
4884         (CFLAGS-libm-test-support-float.c): New variable.
4885         (CFLAGS-libm-test-support-double.c): Likewise.
4886         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4887         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
4888         libm-test-support objects.
4890 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4892         * math/Makefile (libm-calls): Move w_exp...
4893         (libm-compat-calls-auto): Here.
4895         * math/w_expl.c: Add suffix "_compat" to filename.
4896         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4897         * sysdeps/ia64/fpu/w_expf.c: Likewise.
4898         * sysdeps/ia64/fpu/w_exp.c: Likewise.
4899         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4900         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4902         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4903         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4905         * math/w_expl_compat.c: New file, copied from above.
4906         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
4907         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
4908         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
4909         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
4910         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
4911         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
4912         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
4913         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
4915         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
4916         to filename.
4917         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
4919         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
4920         copied from above and adjusted for the new filenames.
4921         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
4923 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4925         * math/Makefile (libm-calls): Move w_lgammaF...
4926         (libm-compat-calls-auto): Here.
4928         * math/w_lgamma.c: Add suffix "_compat2" to filename.
4929         * math/w_lgammaf.c: Likewise.
4930         * math/w_lgammal.c: Likewise.
4932         * math/w_lgamma_compat2.c: New file, copied from above.
4933         * math/w_lgammaf_compat2.c: Likewise.
4934         * math/w_lgammal_compat2.c: Likewise.
4936 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4938         * math/Makefile (libm-calls): Move w_lgammaF_r...
4939         (libm-compat-calls-auto): Here.
4941         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
4942         * math/w_lgammaf_r.c: Likewise.
4943         * math/w_lgammal_r.c: Likewise.
4944         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4945         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4946         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4948         * math/w_lgamma_r_compat.c: New file, copied from above.
4949         * math/w_lgammaf_r_compat.c: Likewise.
4950         * math/w_lgammal_r_compat.c: Likewise.
4951         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
4952         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
4953         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
4956         to filename.
4957         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
4959         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
4960         copied from above and adjusted for the new filenames.
4961         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
4963 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
4965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
4966         calculation in SYSCALL_ERROR_HANDLER().
4968 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
4970         * manual/contrib.texi: Fix typo.
4972 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4974         [BZ #21109]
4975         * elf/dl-tunable-types.h (tunable_callback_t): Accept
4976         tunable_val_t as argument.
4977         * elf/dl-tunables.c (__tunable_set_val): Add comment.
4978         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
4979         argument.
4980         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
4982 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
4984         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
4985         Add PTRACE_EVENT_STOP.
4986         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4988         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4990         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4991         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
4993 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
4995         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
4996         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
4997         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
4998         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
4999         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5000         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5001         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5002         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5003         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5004         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5006         [BZ #21112]
5007         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5008         12 bits zero.
5009         (cp_l): Update for new value of cp_h.
5010         * math/auto-libm-test-in: Add another test of pow.
5011         * math/auto-libm-test-out-pow: Regenerated.
5013 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5015         * manual/contrib.texi: Fix typo.
5017 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5019         [BZ #15998]
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5021         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5024 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5026         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5027         STRCHR as __strchr_power8.
5028         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5029         strlen as __strlen_power8.
5031 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5033         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5034         unaligned load for shorter strings.
5035         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5037 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5039         * math/libm-test-driver.c (flag_test_errno): New variable.
5040         (flag_test_exceptions): Likewise.
5041         (flag_test_finite): Likewise.
5042         (flag_test_inline): Likewise.
5043         (flag_test_mathvec): Likewise.
5044         (test_msg): Likewise.
5045         (ulp_idx): Likewise.
5046         (qtype_str): Likewise.
5047         (ULP_IDX): Remove macro.
5048         (QTYPE_STR): Likewise.
5049         (find_ulps): Use ulp_idx not ULP_IDX.
5050         (print_function_ulps): Use qtype_str, printed with %s, not
5051         QTYPE_STR, printed with concatentation to format string.
5052         (print_complex_function_ulps): Likewise.
5053         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
5054         (test_errno): Use flag_test_errno not TEST_ERRNO.
5055         (enable_test): Use flag_test_inline, flag_test_finite and
5056         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
5057         TEST_MATHVEC.
5058         (libm_test_init): New function.  Factored out of main.
5059         (libm_test_finish): Likewise.
5060         (main): Call libm_test_init and libm_test_finish and move most
5061         code to those functions.
5063         * math/libm-test-driver.c (STRX): New macro.
5064         (STR): Likewise.
5065         (STR_FLOAT): Likewise.
5066         (STR_VEC_LEN): Likewise.
5067         (TEST_MSG): Likewise.  Define here instead of expecting to be
5068         defined by including file.
5069         * math/test-double-finite.c (TEST_MSG): Remove macro.
5070         * math/test-double-vlen2.h (TEST_MSG): Likewise.
5071         * math/test-double-vlen4.h (TEST_MSG): Likewise.
5072         * math/test-double-vlen8.h (TEST_MSG): Likewise.
5073         * math/test-double.c (TEST_MSG): Likewise.
5074         * math/test-float-finite.c (TEST_MSG): Likewise.
5075         * math/test-float-vlen16.h (TEST_MSG): Likewise.
5076         * math/test-float-vlen4.h (TEST_MSG): Likewise.
5077         * math/test-float-vlen8.h (TEST_MSG): Likewise.
5078         * math/test-float.c (TEST_MSG): Likewise.
5079         * math/test-idouble.c (TEST_MSG): Likewise.
5080         * math/test-ifloat.c (TEST_MSG): Likewise.
5081         * math/test-ildouble.c (TEST_MSG): Likewise.
5082         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
5083         * math/test-ldouble.c (TEST_MSG): Likewise.
5085         * math/libm-test.inc: Move all tests of individual functions to
5086         libm-test-*.inc and #include libm-test-*.c files.
5087         (acos_test_data): Remove.
5088         (acos_test): Likewise.
5089         (acosh_test_data): Likewise.
5090         (acosh_test): Likewise.
5091         (asin_test_data): Likewise.
5092         (asin_test): Likewise.
5093         (asinh_test_data): Likewise.
5094         (asinh_test): Likewise.
5095         (atan_test_data): Likewise.
5096         (atan_test): Likewise.
5097         (atanh_test_data): Likewise.
5098         (atanh_test): Likewise.
5099         (atan2_test_data): Likewise.
5100         (atan2_test): Likewise.
5101         (cabs_test_data): Likewise.
5102         (cabs_test): Likewise.
5103         (cacos_test_data): Likewise.
5104         (cacos_test): Likewise.
5105         (cacosh_test_data): Likewise.
5106         (cacosh_test): Likewise.
5107         (canonicalize_test_data): Likewise.
5108         (canonicalize_test): Likewise.
5109         (carg_test_data): Likewise.
5110         (carg_test): Likewise.
5111         (casin_test_data): Likewise.
5112         (casin_test): Likewise.
5113         (casinh_test_data): Likewise.
5114         (casinh_test): Likewise.
5115         (catan_test_data): Likewise.
5116         (catan_test): Likewise.
5117         (catanh_test_data): Likewise.
5118         (catanh_test): Likewise.
5119         (cbrt_test_data): Likewise.
5120         (cbrt_test): Likewise.
5121         (ccos_test_data): Likewise.
5122         (ccos_test): Likewise.
5123         (ccosh_test_data): Likewise.
5124         (ccosh_test): Likewise.
5125         (ceil_test_data): Likewise.
5126         (ceil_test): Likewise.
5127         (cexp_test_data): Likewise.
5128         (cexp_test): Likewise.
5129         (cimag_test_data): Likewise.
5130         (cimag_test): Likewise.
5131         (clog_test_data): Likewise.
5132         (clog_test): Likewise.
5133         (clog10_test_data): Likewise.
5134         (clog10_test): Likewise.
5135         (conj_test_data): Likewise.
5136         (conj_test): Likewise.
5137         (copysign_test_data): Likewise.
5138         (copysign_test): Likewise.
5139         (cos_test_data): Likewise.
5140         (cos_test): Likewise.
5141         (cosh_test_data): Likewise.
5142         (cosh_test): Likewise.
5143         (cpow_test_data): Likewise.
5144         (cpow_test): Likewise.
5145         (cproj_test_data): Likewise.
5146         (cproj_test): Likewise.
5147         (creal_test_data): Likewise.
5148         (creal_test): Likewise.
5149         (csin_test_data): Likewise.
5150         (csin_test): Likewise.
5151         (csinh_test_data): Likewise.
5152         (csinh_test): Likewise.
5153         (csqrt_test_data): Likewise.
5154         (csqrt_test): Likewise.
5155         (ctan_test_data): Likewise.
5156         (ctan_test): Likewise.
5157         (ctanh_test_data): Likewise.
5158         (ctanh_test): Likewise.
5159         (erf_test_data): Likewise.
5160         (erf_test): Likewise.
5161         (erfc_test_data): Likewise.
5162         (erfc_test): Likewise.
5163         (exp_test_data): Likewise.
5164         (exp_test): Likewise.
5165         (exp10_test_data): Likewise.
5166         (exp10_test): Likewise.
5167         (pow10_test): Likewise.
5168         (exp2_test_data): Likewise.
5169         (exp2_test): Likewise.
5170         (expm1_test_data): Likewise.
5171         (expm1_test): Likewise.
5172         (fabs_test_data): Likewise.
5173         (fabs_test): Likewise.
5174         (fdim_test_data): Likewise.
5175         (fdim_test): Likewise.
5176         (floor_test_data): Likewise.
5177         (floor_test): Likewise.
5178         (fma_test_data): Likewise.
5179         (fma_test): Likewise.
5180         (fmax_test_data): Likewise.
5181         (fmax_test): Likewise.
5182         (fmaxmag_test_data): Likewise.
5183         (fmaxmag_test): Likewise.
5184         (fmin_test_data): Likewise.
5185         (fmin_test): Likewise.
5186         (fminmag_test_data): Likewise.
5187         (fminmag_test): Likewise.
5188         (fmod_test_data): Likewise.
5189         (fmod_test): Likewise.
5190         (fpclassify_test_data): Likewise.
5191         (fpclassify_test): Likewise.
5192         (frexp_test_data): Likewise.
5193         (frexp_test): Likewise.
5194         (fromfp_test_data): Likewise.
5195         (fromfp_test): Likewise.
5196         (fromfpx_test_data): Likewise.
5197         (fromfpx_test): Likewise.
5198         (getpayload_test_data): Likewise.
5199         (getpayload_test): Likewise.
5200         (hypot_test_data): Likewise.
5201         (hypot_test): Likewise.
5202         (ilogb_test_data): Likewise.
5203         (ilogb_test): Likewise.
5204         (iscanonical_test_data): Likewise.
5205         (iscanonical_test): Likewise.
5206         (iseqsig_test_data): Likewise.
5207         (iseqsig_test): Likewise.
5208         (isfinite_test_data): Likewise.
5209         (isfinite_test): Likewise.
5210         (finite_test): Likewise.
5211         (isgreater_test_data): Likewise.
5212         (isgreater_test): Likewise.
5213         (isgreaterequal_test_data): Likewise.
5214         (isgreaterequal_test): Likewise.
5215         (isinf_test_data): Likewise.
5216         (isinf_test): Likewise.
5217         (isless_test_data): Likewise.
5218         (isless_test): Likewise.
5219         (islessequal_test_data): Likewise.
5220         (islessequal_test): Likewise.
5221         (islessgreater_test_data): Likewise.
5222         (islessgreater_test): Likewise.
5223         (isnan_test_data): Likewise.
5224         (isnan_test): Likewise.
5225         (isnormal_test_data): Likewise.
5226         (isnormal_test): Likewise.
5227         (issignaling_test_data): Likewise.
5228         (issignaling_test): Likewise.
5229         (issubnormal_test_data): Likewise.
5230         (issubnormal_test): Likewise.
5231         (isunordered_test_data): Likewise.
5232         (isunordered_test): Likewise.
5233         (iszero_test_data): Likewise.
5234         (iszero_test): Likewise.
5235         (j0_test_data): Likewise.
5236         (j0_test): Likewise.
5237         (j1_test_data): Likewise.
5238         (j1_test): Likewise.
5239         (jn_test_data): Likewise.
5240         (jn_test): Likewise.
5241         (lgamma_test_data): Likewise.
5242         (lgamma_test): Likewise.
5243         (gamma_test): Likewise.
5244         (llogb_test_data): Likewise.
5245         (llogb_test): Likewise.
5246         (lrint_test_data): Likewise.
5247         (lrint_test): Likewise.
5248         (llrint_test_data): Likewise.
5249         (llrint_test): Likewise.
5250         (log_test_data): Likewise.
5251         (log_test): Likewise.
5252         (log10_test_data): Likewise.
5253         (log10_test): Likewise.
5254         (log1p_test_data): Likewise.
5255         (log1p_test): Likewise.
5256         (log2_test_data): Likewise.
5257         (log2_test): Likewise.
5258         (logb_test_data): Likewise.
5259         (logb_test): Likewise.
5260         (lround_test_data): Likewise.
5261         (lround_test): Likewise.
5262         (llround_test_data): Likewise.
5263         (llround_test): Likewise.
5264         (modf_test_data): Likewise.
5265         (modf_test): Likewise.
5266         (nearbyint_test_data): Likewise.
5267         (nearbyint_test): Likewise.
5268         (nextafter_test_data): Likewise.
5269         (nextafter_test): Likewise.
5270         (nextup_test_data): Likewise.
5271         (nextup_test): Likewise.
5272         (nextdown_test_data): Likewise.
5273         (nextdown_test): Likewise.
5274         (nexttoward_test_data): Likewise.
5275         (nexttoward_test): Likewise.
5276         (pow_test_data): Likewise.
5277         (pow_test): Likewise.
5278         (remainder_test_data): Likewise.
5279         (remainder_test): Likewise.
5280         (drem_test): Likewise.
5281         (remquo_test_data): Likewise.
5282         (remquo_test): Likewise.
5283         (rint_test_data): Likewise.
5284         (rint_test): Likewise.
5285         (round_test_data): Likewise.
5286         (round_test): Likewise.
5287         (roundeven_test_data): Likewise.
5288         (roundeven_test): Likewise.
5289         (scalb_test_data): Likewise.
5290         (scalb_test): Likewise.
5291         (scalbn_test_data): Likewise.
5292         (scalbn_test): Likewise.
5293         (ldexp_test): Likewise.
5294         (scalbln_test_data): Likewise.
5295         (scalbln_test): Likewise.
5296         (setpayload_test_data): Likewise.
5297         (setpayload_test): Likewise.
5298         (setpayloadsig_test_data): Likewise.
5299         (setpayloadsig_test): Likewise.
5300         (signbit_test_data): Likewise.
5301         (signbit_test): Likewise.
5302         (sin_test_data): Likewise.
5303         (sin_test): Likewise.
5304         (sincos_test_data): Likewise.
5305         (sincos_test): Likewise.
5306         (sinh_test_data): Likewise.
5307         (sinh_test): Likewise.
5308         (sqrt_test_data): Likewise.
5309         (sqrt_test): Likewise.
5310         (tan_test_data): Likewise.
5311         (tan_test): Likewise.
5312         (tanh_test_data): Likewise.
5313         (tanh_test): Likewise.
5314         (tgamma_test_data): Likewise.
5315         (tgamma_test): Likewise.
5316         (totalorder_test_data): Likewise.
5317         (totalorder_test): Likewise.
5318         (totalordermag_test_data): Likewise.
5319         (totalordermag_test): Likewise.
5320         (trunc_test_data): Likewise.
5321         (trunc_test): Likewise.
5322         (ufromfp_test_data): Likewise.
5323         (ufromfp_test): Likewise.
5324         (ufromfpx_test_data): Likewise.
5325         (ufromfpx_test): Likewise.
5326         (y0_test_data): Likewise.
5327         (y0_test): Likewise.
5328         (y1_test_data): Likewise.
5329         (y1_test): Likewise.
5330         (yn_test_data): Likewise.
5331         (yn_test): Likewise.
5332         (significand_test_data): Likewise.
5333         (significand_test): Likewise.
5334         * math/Makefile (auto-libm-test-out-files): Remove variable.
5335         (libm-test-funcs-noauto): New variable.
5336         (libm-test-funcs-all): Likewise.
5337         (libm-test-c-auto): Likewise.
5338         (libm-test-c-noauto): Likewise.
5339         (libm-tests-generated): Add $(libm-test-c-auto) and
5340         $(libm-test-c-noauto).
5341         (generated): Do not add auto-libm-test-out.
5342         (libm-test-c-auto-obj): New variable.
5343         (libm-test-c-noauto-obj): Likewise.
5344         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
5345         ($(libm-test-c-noauto-obj)): New static pattern rule.
5346         ($(libm-test-c-auto-obj)): Likewise.
5347         (libm-test-incs): New variable.
5348         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
5349         and pass it to gen-libm-have-vector-test.sh.
5350         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
5351         be passed on command line.
5352         * math/libm-test-acos.inc: New file.  Content from
5353         math/libm-test.inc.
5354         * math/libm-test-acosh.inc: Likewise.
5355         * math/libm-test-asin.inc: Likewise.
5356         * math/libm-test-asinh.inc: Likewise.
5357         * math/libm-test-atan.inc: Likewise.
5358         * math/libm-test-atan2.inc: Likewise.
5359         * math/libm-test-atanh.inc: Likewise.
5360         * math/libm-test-cabs.inc: Likewise.
5361         * math/libm-test-cacos.inc: Likewise.
5362         * math/libm-test-cacosh.inc: Likewise.
5363         * math/libm-test-canonicalize.inc: Likewise.
5364         * math/libm-test-carg.inc: Likewise.
5365         * math/libm-test-casin.inc: Likewise.
5366         * math/libm-test-casinh.inc: Likewise.
5367         * math/libm-test-catan.inc: Likewise.
5368         * math/libm-test-catanh.inc: Likewise.
5369         * math/libm-test-cbrt.inc: Likewise.
5370         * math/libm-test-ccos.inc: Likewise.
5371         * math/libm-test-ccosh.inc: Likewise.
5372         * math/libm-test-ceil.inc: Likewise.
5373         * math/libm-test-cexp.inc: Likewise.
5374         * math/libm-test-cimag.inc: Likewise.
5375         * math/libm-test-clog.inc: Likewise.
5376         * math/libm-test-clog10.inc: Likewise.
5377         * math/libm-test-conj.inc: Likewise.
5378         * math/libm-test-copysign.inc: Likewise.
5379         * math/libm-test-cos.inc: Likewise.
5380         * math/libm-test-cosh.inc: Likewise.
5381         * math/libm-test-cpow.inc: Likewise.
5382         * math/libm-test-cproj.inc: Likewise.
5383         * math/libm-test-creal.inc: Likewise.
5384         * math/libm-test-csin.inc: Likewise.
5385         * math/libm-test-csinh.inc: Likewise.
5386         * math/libm-test-csqrt.inc: Likewise.
5387         * math/libm-test-ctan.inc: Likewise.
5388         * math/libm-test-ctanh.inc: Likewise.
5389         * math/libm-test-erf.inc: Likewise.
5390         * math/libm-test-erfc.inc: Likewise.
5391         * math/libm-test-exp.inc: Likewise.
5392         * math/libm-test-exp10.inc: Likewise.
5393         * math/libm-test-exp2.inc: Likewise.
5394         * math/libm-test-expm1.inc: Likewise.
5395         * math/libm-test-fabs.inc: Likewise.
5396         * math/libm-test-fdim.inc: Likewise.
5397         * math/libm-test-floor.inc: Likewise.
5398         * math/libm-test-fma.inc: Likewise.
5399         * math/libm-test-fmax.inc: Likewise.
5400         * math/libm-test-fmaxmag.inc: Likewise.
5401         * math/libm-test-fmin.inc: Likewise.
5402         * math/libm-test-fminmag.inc: Likewise.
5403         * math/libm-test-fmod.inc: Likewise.
5404         * math/libm-test-fpclassify.inc: Likewise.
5405         * math/libm-test-frexp.inc: Likewise.
5406         * math/libm-test-fromfp.inc: Likewise.
5407         * math/libm-test-fromfpx.inc: Likewise.
5408         * math/libm-test-getpayload.inc: Likewise.
5409         * math/libm-test-hypot.inc: Likewise.
5410         * math/libm-test-ilogb.inc: Likewise.
5411         * math/libm-test-iscanonical.inc: Likewise.
5412         * math/libm-test-iseqsig.inc: Likewise.
5413         * math/libm-test-isfinite.inc: Likewise.
5414         * math/libm-test-isgreater.inc: Likewise.
5415         * math/libm-test-isgreaterequal.inc: Likewise.
5416         * math/libm-test-isinf.inc: Likewise.
5417         * math/libm-test-isless.inc: Likewise.
5418         * math/libm-test-islessequal.inc: Likewise.
5419         * math/libm-test-islessgreater.inc: Likewise.
5420         * math/libm-test-isnan.inc: Likewise.
5421         * math/libm-test-isnormal.inc: Likewise.
5422         * math/libm-test-issignaling.inc: Likewise.
5423         * math/libm-test-issubnormal.inc: Likewise.
5424         * math/libm-test-isunordered.inc: Likewise.
5425         * math/libm-test-iszero.inc: Likewise.
5426         * math/libm-test-j0.inc: Likewise.
5427         * math/libm-test-j1.inc: Likewise.
5428         * math/libm-test-jn.inc: Likewise.
5429         * math/libm-test-lgamma.inc: Likewise.
5430         * math/libm-test-llogb.inc: Likewise.
5431         * math/libm-test-llrint.inc: Likewise.
5432         * math/libm-test-llround.inc: Likewise.
5433         * math/libm-test-log.inc: Likewise.
5434         * math/libm-test-log10.inc: Likewise.
5435         * math/libm-test-log1p.inc: Likewise.
5436         * math/libm-test-log2.inc: Likewise.
5437         * math/libm-test-logb.inc: Likewise.
5438         * math/libm-test-lrint.inc: Likewise.
5439         * math/libm-test-lround.inc: Likewise.
5440         * math/libm-test-modf.inc: Likewise.
5441         * math/libm-test-nearbyint.inc: Likewise.
5442         * math/libm-test-nextafter.inc: Likewise.
5443         * math/libm-test-nextdown.inc: Likewise.
5444         * math/libm-test-nexttoward.inc: Likewise.
5445         * math/libm-test-nextup.inc: Likewise.
5446         * math/libm-test-pow.inc: Likewise.
5447         * math/libm-test-remainder.inc: Likewise.
5448         * math/libm-test-remquo.inc: Likewise.
5449         * math/libm-test-rint.inc: Likewise.
5450         * math/libm-test-round.inc: Likewise.
5451         * math/libm-test-roundeven.inc: Likewise.
5452         * math/libm-test-scalb.inc: Likewise.
5453         * math/libm-test-scalbln.inc: Likewise.
5454         * math/libm-test-scalbn.inc: Likewise.
5455         * math/libm-test-setpayload.inc: Likewise.
5456         * math/libm-test-setpayloadsig.inc: Likewise.
5457         * math/libm-test-signbit.inc: Likewise.
5458         * math/libm-test-significand.inc: Likewise.
5459         * math/libm-test-sin.inc: Likewise.
5460         * math/libm-test-sincos.inc: Likewise.
5461         * math/libm-test-sinh.inc: Likewise.
5462         * math/libm-test-sqrt.inc: Likewise.
5463         * math/libm-test-tan.inc: Likewise.
5464         * math/libm-test-tanh.inc: Likewise.
5465         * math/libm-test-tgamma.inc: Likewise.
5466         * math/libm-test-totalorder.inc: Likewise.
5467         * math/libm-test-totalordermag.inc: Likewise.
5468         * math/libm-test-trunc.inc: Likewise.
5469         * math/libm-test-ufromfp.inc: Likewise.
5470         * math/libm-test-ufromfpx.inc: Likewise.
5471         * math/libm-test-y0.inc: Likewise.
5472         * math/libm-test-y1.inc: Likewise.
5473         * math/libm-test-yn.inc: Likewise.
5474         * math/README.libm-test: Update.
5476         * math/gen-auto-libm-tests.c: Update comment about use of program.
5477         (generate_output): Add argument FUNCTION.
5478         (main): Require extra argument.  Pass function name to
5479         generate_output.
5480         * math/Makefile (generated): Add auto-libm-test-out.
5481         (libm-test-funcs-auto): New variable.
5482         (auto-libm-test-out-files): New variable.
5483         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
5484         Concatenate those files to form $(objpfx)auto-libm-test-out and
5485         use it as input to gen-libm-test.pl.
5486         * math/README.libm-test: Update.
5487         * math/auto-libm-test-out: Remove.
5488         * math/auto-libm-test-out-acos: New generated file.
5489         * math/auto-libm-test-out-acosh: Likewise.
5490         * math/auto-libm-test-out-asin: Likewise.
5491         * math/auto-libm-test-out-asinh: Likewise.
5492         * math/auto-libm-test-out-atan: Likewise.
5493         * math/auto-libm-test-out-atan2: Likewise.
5494         * math/auto-libm-test-out-atanh: Likewise.
5495         * math/auto-libm-test-out-cabs: Likewise.
5496         * math/auto-libm-test-out-carg: Likewise.
5497         * math/auto-libm-test-out-cbrt: Likewise.
5498         * math/auto-libm-test-out-ccos: Likewise.
5499         * math/auto-libm-test-out-ccosh: Likewise.
5500         * math/auto-libm-test-out-cexp: Likewise.
5501         * math/auto-libm-test-out-clog: Likewise.
5502         * math/auto-libm-test-out-clog10: Likewise.
5503         * math/auto-libm-test-out-cos: Likewise.
5504         * math/auto-libm-test-out-cosh: Likewise.
5505         * math/auto-libm-test-out-cpow: Likewise.
5506         * math/auto-libm-test-out-csin: Likewise.
5507         * math/auto-libm-test-out-csinh: Likewise.
5508         * math/auto-libm-test-out-csqrt: Likewise.
5509         * math/auto-libm-test-out-ctan: Likewise.
5510         * math/auto-libm-test-out-ctanh: Likewise.
5511         * math/auto-libm-test-out-erf: Likewise.
5512         * math/auto-libm-test-out-erfc: Likewise.
5513         * math/auto-libm-test-out-exp: Likewise.
5514         * math/auto-libm-test-out-exp10: Likewise.
5515         * math/auto-libm-test-out-exp2: Likewise.
5516         * math/auto-libm-test-out-expm1: Likewise.
5517         * math/auto-libm-test-out-fma: Likewise.
5518         * math/auto-libm-test-out-hypot: Likewise.
5519         * math/auto-libm-test-out-j0: Likewise.
5520         * math/auto-libm-test-out-j1: Likewise.
5521         * math/auto-libm-test-out-jn: Likewise.
5522         * math/auto-libm-test-out-lgamma: Likewise.
5523         * math/auto-libm-test-out-log: Likewise.
5524         * math/auto-libm-test-out-log10: Likewise.
5525         * math/auto-libm-test-out-log1p: Likewise.
5526         * math/auto-libm-test-out-log2: Likewise.
5527         * math/auto-libm-test-out-pow: Likewise.
5528         * math/auto-libm-test-out-sin: Likewise.
5529         * math/auto-libm-test-out-sincos: Likewise.
5530         * math/auto-libm-test-out-sinh: Likewise.
5531         * math/auto-libm-test-out-sqrt: Likewise.
5532         * math/auto-libm-test-out-tan: Likewise.
5533         * math/auto-libm-test-out-tanh: Likewise.
5534         * math/auto-libm-test-out-tgamma: Likewise.
5535         * math/auto-libm-test-out-y0: Likewise.
5536         * math/auto-libm-test-out-y1: Likewise.
5537         * math/auto-libm-test-out-yn: Likewise.
5539         * math/Makefile (generated): Do not include libm-test.stmp.
5540         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
5541         on $(objpfx)libm-test.stmp.
5542         ($(objpfx)libm-test.stmp): Remove rule.
5543         ($(objpfx)libm-test-ulps.h): New rule.
5544         ($(objpfx)libm-test.c): Likewise.
5545         ($(objpfx)libm-have-vector-test.h): Likewise.
5546         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
5547         individual generated files, not libm-test.stmp.
5549         * math/gen-libm-test.pl ($output_dir): Remove variable.
5550         ($srcdir): Likewise.
5551         ($opt_a): New variable.
5552         ($opt_c): Likewise.
5553         ($opt_C): Likewise.
5554         ($opt_H): Likewise.
5555         (-n): Make option take argument and use it as NewUlps output.
5556         (-a): New option.  Use its argument for auto-libm-test-out input.
5557         (-c): New option.  Use its argument for libm-test.inc input.
5558         (-C): New option.  Use its argument for libm-test.c output.
5559         (-H): New option.  Use its argument for libm-test-ulps.h output.
5560         (top level): Only process inputs needed to generate outputs
5561         specified by command-line options.  Only generate outputs
5562         specified by command-line options.
5563         * math/README.libm-test: Update example gen-libm-test.pl command.
5564         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
5565         commands.
5566         (regen-ulps): Likewise.
5568 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
5570         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
5571         * include/string.h (index): Remove define.
5572         (rindex): Likewise.
5573         * misc/getttyent.c (__getttyent): Rename index to strchr.
5574         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
5575         * sunrpc/rpc_main.c (mkfile_output): Likewise.
5577 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5579         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
5580         * math/libm-test.inc: Move all contents, other than tests of
5581         individual functions, to libm-test-driver.c.
5582         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
5583         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
5584         [!FE_UPWARD] (FE_UPWARD): Likewise.
5585         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
5586         (NO_EXCEPTION): Likewise.
5587         (INVALID_EXCEPTION): Likewise.
5588         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5589         (OVERFLOW_EXCEPTION): Likewise.
5590         (UNDERFLOW_EXCEPTION): Likewise.
5591         (INEXACT_EXCEPTION): Likewise.
5592         (INVALID_EXCEPTION_OK): Likewise.
5593         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5594         (OVERFLOW_EXCEPTION_OK): Likewise.
5595         (UNDERFLOW_EXCEPTION_OK): Likewise.
5596         (NO_INEXACT_EXCEPTION): Likewise.
5597         (EXCEPTIONS_OK): Likewise.
5598         (IGNORE_ZERO_INF_SIGN): Likewise.
5599         (TEST_NAN_SIGN): Likewise.
5600         (TEST_NAN_PAYLOAD): Likewise.
5601         (NO_TEST_INLINE): Likewise.
5602         (XFAIL_TEST): Likewise.
5603         (ERRNO_UNCHANGED): Likewise.
5604         (ERRNO_EDOM): Likewise.
5605         (ERRNO_ERANGE): Likewise.
5606         (IGNORE_RESULT): Likewise.
5607         (NON_FINITE): Likewise.
5608         (TEST_SNAN): Likewise.
5609         (NO_TEST_MATHVEC): Likewise.
5610         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
5611         (__CONCATX): Likewise.
5612         (TYPE_MIN): Likewise.
5613         (TYPE_TRUE_MIN): Likewise.
5614         (TYPE_MAX): Likewise.
5615         (MIN_EXP): Likewise.
5616         (MAX_EXP): Likewise.
5617         (MANT_DIG): Likewise.
5618         (FSTR_MAX): Likewise.
5619         (ULP_IDX): Likewise.
5620         (QTYPE_STR): Likewise.
5621         (TEST_COND_binary32): Likewise.
5622         (TEST_COND_binary64): Likewise.
5623         (TEST_COND_binary128): Likewise.
5624         (TEST_COND_ibm128): Likewise.
5625         (TEST_COND_intel96): Likewise.
5626         (TEST_COND_m68k96): Likewise.
5627         (TEST_COND_ibm128_libgcc): Likewise.
5628         (XFAIL_IBM128_LIBGCC): Likewise.
5629         (PAYLOAD_DIG): Likewise.
5630         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5631         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5632         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5633         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5634         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5635         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5636         (TEST_COND_long32): Likewise.
5637         (TEST_COND_long64): Likewise.
5638         (TEST_COND_before_rounding): Likewise.
5639         (TEST_COND_after_rounding): Likewise.
5640         (lit_pi_3_m_4_d): Likewise.
5641         (lit_pi_3_m_4_ln10_m_d): Likewise.
5642         (lit_pi_2_ln10_m_d): Likewise.
5643         (lit_pi_4_ln10_m_d): Likewise.
5644         (lit_pi_ln10_d): Likewise.
5645         (lit_pi_2_d): Likewise.
5646         (lit_pi_4_d): Likewise.
5647         (lit_pi): Likewise.
5648         (lit_e): Likewise.
5649         (ulps_file_name): Likewise.
5650         (ulps_file): Likewise.
5651         (output_ulps): Likewise.
5652         (output_dir): Likewise.
5653         (noErrors): Likewise.
5654         (noTests): Likewise.
5655         (noExcTests): Likewise.
5656         (noErrnoTests): Likewise.
5657         (verbose): Likewise.
5658         (output_max_error): Likewise.
5659         (output_points): Likewise.
5660         (ignore_max_ulp): Likewise.
5661         (plus_zero): Likewise.
5662         (minus_zero): Likewise.
5663         (plus_infty): Likewise.
5664         (minus_infty): Likewise.
5665         (qnan_value_pl): Likewise.
5666         (qnan_value): Likewise.
5667         (snan_value_pl): Likewise.
5668         (snan_value): Likewise.
5669         (max_value): Likewise.
5670         (min_value): Likewise.
5671         (min_subnorm_value): Likewise.
5672         (snan_value_ld): Likewise.
5673         (max_error): Likewise.
5674         (real_max_error): Likewise.
5675         (imag_max_error): Likewise.
5676         (prev_max_error): Likewise.
5677         (prev_real_max_error): Likewise.
5678         (prev_imag_max_error): Likewise.
5679         (max_valid_error): Likewise.
5680         (TYPE_DECIMAL_DIG): Likewise.
5681         (TYPE_HEX_DIG): Likewise.
5682         (fmt_ftostr): Likewise.
5683         (compare_ulp_data): Likewise.
5684         (find_ulps): Likewise.
5685         (init_max_error): Likewise.
5686         (set_max_error): Likewise.
5687         (print_float): Likewise.
5688         (print_screen): Likewise.
5689         (print_screen_max_error): Likewise.
5690         (update_stats): Likewise.
5691         (print_function_ulps): Likewise.
5692         (print_complex_function_ulps): Likewise.
5693         (fpstack_test): Likewise.
5694         (print_max_error): Likewise.
5695         (print_complex_max_error): Likewise.
5696         (test_single_exception): Likewise.
5697         (test_exceptions): Likewise.
5698         (test_single_errno): Likewise.
5699         (test_errno): Likewise.
5700         (ULPDIFF): Likewise.
5701         (ulp): Likewise.
5702         (check_float_internal): Likewise.
5703         (check_float): Likewise.
5704         (check_complex): Likewise.
5705         (check_int): Likewise.
5706         (check_long): Likewise.
5707         (check_bool): Likewise.
5708         (check_longlong): Likewise.
5709         (check_intmax_t): Likewise.
5710         (check_uintmax_t): Likewise.
5711         (enable_test): Likewise.
5712         (struct test_f_f_data): Likewise.
5713         (struct test_ff_f_data): Likewise.
5714         (struct test_fj_f_data): Likewise.
5715         (struct test_fi_f_data): Likewise.
5716         (struct test_fl_f_data): Likewise.
5717         (struct test_if_f_data): Likewise.
5718         (struct test_fff_f_data): Likewise.
5719         (struct test_fiu_M_data): Likewise.
5720         (struct test_fiu_U_data): Likewise.
5721         (struct test_c_f_data): Likewise.
5722         (struct test_f_f1_data): Likewise.
5723         (struct test_fF_f1_data): Likewise.
5724         (struct test_ffI_f1_data): Likewise.
5725         (struct test_c_c_data): Likewise.
5726         (struct test_cc_c_data): Likewise.
5727         (struct test_f_i_data): Likewise.
5728         (struct test_ff_i_data): Likewise.
5729         (struct test_f_l_data): Likewise.
5730         (struct test_f_L_data): Likewise.
5731         (struct test_fFF_11_data): Likewise.
5732         (struct test_Ff_b1_data): Likewise.
5733         (IF_ROUND_INIT_): Likewise.
5734         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5735         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5736         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5737         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5738         (ROUND_RESTORE_): Likewise.
5739         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5740         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5741         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5742         (ROUND_RESTORE_FE_UPWARD): Likewise.
5743         (RM_): Likewise.
5744         (RM_FE_DOWNWARD): Likewise.
5745         (RM_FE_TONEAREST): Likewise.
5746         (RM_FE_TOWARDZERO): Likewise.
5747         (RM_FE_UPWARD): Likewise.
5748         (COMMON_TEST_SETUP): Likewise.
5749         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5750         (COMMON_TEST_CLEANUP): Likewise.
5751         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5752         (RUN_TEST_f_f): Likewise.
5753         (RUN_TEST_LOOP_f_f): Likewise.
5754         (RUN_TEST_fp_f): Likewise.
5755         (RUN_TEST_LOOP_fp_f): Likewise.
5756         (RUN_TEST_2_f): Likewise.
5757         (RUN_TEST_LOOP_2_f): Likewise.
5758         (RUN_TEST_ff_f): Likewise.
5759         (RUN_TEST_LOOP_ff_f): Likewise.
5760         (RUN_TEST_LOOP_fj_f): Likewise.
5761         (RUN_TEST_fi_f): Likewise.
5762         (RUN_TEST_LOOP_fi_f): Likewise.
5763         (RUN_TEST_fl_f): Likewise.
5764         (RUN_TEST_LOOP_fl_f): Likewise.
5765         (RUN_TEST_if_f): Likewise.
5766         (RUN_TEST_LOOP_if_f): Likewise.
5767         (RUN_TEST_fff_f): Likewise.
5768         (RUN_TEST_LOOP_fff_f): Likewise.
5769         (RUN_TEST_fiu_M): Likewise.
5770         (RUN_TEST_LOOP_fiu_M): Likewise.
5771         (RUN_TEST_fiu_U): Likewise.
5772         (RUN_TEST_LOOP_fiu_U): Likewise.
5773         (RUN_TEST_c_f): Likewise.
5774         (RUN_TEST_LOOP_c_f): Likewise.
5775         (RUN_TEST_f_f1): Likewise.
5776         (RUN_TEST_LOOP_f_f1): Likewise.
5777         (RUN_TEST_fF_f1): Likewise.
5778         (RUN_TEST_LOOP_fF_f1): Likewise.
5779         (RUN_TEST_fI_f1): Likewise.
5780         (RUN_TEST_LOOP_fI_f1): Likewise.
5781         (RUN_TEST_ffI_f1_mod8): Likewise.
5782         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
5783         (RUN_TEST_Ff_b1): Likewise.
5784         (RUN_TEST_LOOP_Ff_b1): Likewise.
5785         (RUN_TEST_Ffp_b1): Likewise.
5786         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5787         (RUN_TEST_c_c): Likewise.
5788         (RUN_TEST_LOOP_c_c): Likewise.
5789         (RUN_TEST_cc_c): Likewise.
5790         (RUN_TEST_LOOP_cc_c): Likewise.
5791         (RUN_TEST_f_i): Likewise.
5792         (RUN_TEST_LOOP_f_i): Likewise.
5793         (RUN_TEST_f_i_tg): Likewise.
5794         (RUN_TEST_LOOP_f_i_tg): Likewise.
5795         (RUN_TEST_ff_b): Likewise.
5796         (RUN_TEST_LOOP_ff_b): Likewise.
5797         (RUN_TEST_ff_i_tg): Likewise.
5798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5799         (RUN_TEST_f_b): Likewise.
5800         (RUN_TEST_LOOP_f_b): Likewise.
5801         (RUN_TEST_f_b_tg): Likewise.
5802         (RUN_TEST_LOOP_f_b_tg): Likewise.
5803         (RUN_TEST_f_l): Likewise.
5804         (RUN_TEST_LOOP_f_l): Likewise.
5805         (RUN_TEST_f_L): Likewise.
5806         (RUN_TEST_LOOP_f_L): Likewise.
5807         (RUN_TEST_fFF_11): Likewise.
5808         (RUN_TEST_LOOP_fFF_11): Likewise.
5809         (VEC_SUFF): Likewise.
5810         (STR_CONCAT): Likewise.
5811         (STR_CON3): Likewise.
5812         (HAVE_VECTOR): Likewise.
5813         (START): Likewise.
5814         (END): Likewise.
5815         (END_COMPLEX): Likewise.
5816         (ALL_RM_TEST): Likewise.
5817         (matherr): Likewise.
5818         (initialize): Likewise.
5819         (options): Likewise.
5820         (doc): Likewise.
5821         (parse_opt): Likewise.
5822         (argp): Likewise.
5823         (check_ulp): Likewise.
5824         (main): Likewise.
5825         (do_test): New function.  Call tests of individual functions
5826         previously called from main.
5828         * math/libm-test.inc: Remove comment listing functions tested and
5829         not tested.
5831 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5833         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
5834         (allocate_stack): Remove COLORING_INCREMENT usage.
5835         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
5836         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
5838 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5840         * manual/libm-err-tab.pl (@all_functions): Change to
5841         %all_functions.  Initialize as empty.
5842         (parse_ulps): Add to %all_functions based on functions found in
5843         ulps files.  Ignore results for non-default rounding modes and
5844         vector functions.
5845         (print_platforms): Use %all_platforms.
5846         * manual/math.texi (Errors in Math Functions): Document omissions
5847         from the table.
5849         * math/Makefile (before-compile): Remove.
5851 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
5853         [BZ #21075]
5854         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
5855         unused assignment.
5856         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5858 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5860         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
5861         Add __glibc_unlikely hint.
5863 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5865         [BZ #16640]
5866         * sysdeps/i386/i686/strtok.S: Remove file.
5867         * sysdeps/i386/i686/strtok_r.S: Likewise.
5868         * sysdeps/i386/strtok.S: Likewise.
5869         * sysdeps/i386/strtok_r.S: Likewise.
5870         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
5871         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
5872         * sysdeps/x86_64/strtok.S: Likewise.
5873         * sysdeps/x86_64/strtok_r.S: Likewise.
5875         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
5876         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5877         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5878         (__ASSUME_FADVISE64_AS_64_64): Define.
5879         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
5880         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
5881         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
5882         __ALIGNMENT_ARG usage.
5883         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
5884         __NR_fadvise64_64 if it is not defined.
5886 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5888         * version.h (RELEASE): Set to "development"
5889         (VERSION): Set to 2.25.90.
5890         * NEWS: Add 2.26 section.
5892         * version.h (RELEASE): Set to "stable"
5893         (VERSION): Set to 2.25.
5894         * include/features.h (__GLIBC_MINOR__): Set to 25.
5896         * manual/contrib.texi: Add more contributors from this release
5897         and past releases.
5899         * NEWS (2.25): Add list of bugs fixed.
5901         * NEWS: Add missing news items.
5903 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5905         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
5906         parent if child exited in that manner.  Print WEXITSTATUS
5907         instead of the raw status.
5908         (do_test_prep): Rename to do_test.
5909         (do_test): Return the result of run_executable_sgid.
5910         (TEST_FUNCTION_ARGV): Adjust.
5912 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
5913             Florian Weimer  <fweimer@redhat.com>
5914             Carlos O'Donell  <carlos@redhat.com>
5916         [BZ #20915]
5917         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
5918         Do not initialize DTV.
5919         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5921 2017-02-03  David S. Miller  <davem@davemloft.net>
5923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
5924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
5926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
5928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
5930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5932         (libm-sysdep_routines): Update.
5933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
5934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
5935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
5937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5938         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
5939         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
5940         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
5941         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
5942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
5943         Likewise.
5944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
5946         Likewise.
5947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
5949         Likewise.
5950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
5952         Likewise.
5953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5955         (libm-sysdep_routines): Update.
5957 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
5960         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
5961         against unrelocated shared library.
5962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5964 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5966         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
5967         * elf/tst-env-setuid-tunables.c
5968         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
5969         GLIBC_TUNABLES is removed in a setgid process.
5971         [BZ #21073]
5972         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
5973         * elf/dl-tunables.c (tunables_strdup): Remove.
5974         (get_next_env): Also return the previous envp.
5975         (parse_tunables): Erase tunables of category
5976         TUNABLES_SECLEVEL_SXID_ERASE.
5977         (maybe_enable_malloc_check): Make MALLOC_CHECK_
5978         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
5979         (__tunables_init)[TUNABLES_FRONTEND ==
5980         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
5981         after parsing.
5982         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
5983         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
5984         * elf/dl-tunables.h (struct _tunable): Change member is_secure
5985         to security_level.
5986         * elf/dl-tunables.list: Add security_level annotations for all
5987         tunables.
5988         * scripts/gen-tunables.awk: Recognize and generate enum values
5989         for security_level.
5990         * elf/tst-env-setuid.c: New test case.
5991         * elf/tst-env-setuid-tunables: new test case.
5992         * elf/Makefile (tests-static): Add them.
5994 2017-02-01  Richard Henderson  <rth@twiddle.net>
5996         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
5997         adjusting the byte count.
5999 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6001         * conform/Makefile (linknamespace-libs): Define.
6003         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6004         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6005         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6006         operands.
6008 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6010         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6012 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6014         [BZ #21081]
6015         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6016         (L(stosb)): Add VZEROUPPER before ret.
6018 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6019             Alexey Makhalov <amakhalov@vmware.com>
6020             Florian Weimer <fweimer@redhat.com>
6022         [BZ #20116]
6023         * nptl/pthread_create.c: Document concurrency notes.
6024         Enhance thread creation notes.
6025         (create_thread): Use bool *stopped_start.
6026         (START_THREAD_DEFN): Comment ownership of PD.
6027         (__pthread_create_2_1): Add local bool stopped_start and use
6028         that instead of pd->stopped_start where appropriate.
6029         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6030         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6031         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6032         * nptl/tst-create-detached.c: New file.
6033         * nptl/Makefile (tests): Add tst-create-detached.
6034         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6035         Reference the enhanced thread creation notes.
6036         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6037         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6038         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6039         (__pthread_current_priority): Likewise.
6040         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6041         xpthread_attr_init, xpthread_attr_setdetachstate, and
6042         xpthread_attr_setstacksize.
6043         * support/xpthread_attr_destroy.c: New file.
6044         * support/xpthread_attr_init.c: New file.
6045         * support/xpthread_attr_setdetachstate.c: New file.
6046         * support/xpthread_attr_setstacksize.c: New file.
6047         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6048         xpthread_attr_init, xpthread_attr_setdetachstate, and
6049         xpthread_attr_setstacksize.
6051 2017-01-27  Florian Weimer  <fweimer@redhat.com>
6053         * nptl/Makefile (tests): Add tst-robust-fork.
6054         * nptl/tst-robust-fork.c: New file.
6055         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
6056         xpthread_mutex_consistent, xpthread_mutex_destroy,
6057         xpthread_mutex_init, xpthread_mutexattr_destroy,
6058         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
6059         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
6060         xpthread_mutexattr_settype.
6061         * support/xmmap.c: New file.
6062         * support/xmunmap.c: Likewise.
6063         * support/xpthread_mutex_consistent.c: Likewise.
6064         * support/xpthread_mutex_destroy.c: Likewise.
6065         * support/xpthread_mutex_init.c: Likewise.
6066         * support/xpthread_mutexattr_destroy.c: Likewise.
6067         * support/xpthread_mutexattr_init.c: Likewise.
6068         * support/xpthread_mutexattr_setprotocol.c: Likewise.
6069         * support/xpthread_mutexattr_setpshared.c: Likewise.
6070         * support/xpthread_mutexattr_setrobust.c: Likewise.
6071         * support/xpthread_mutexattr_settype.c: Likewise.
6072         * support/xthread.h (xpthread_mutexattr_destroy)
6073         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
6074         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
6075         (xpthread_mutexattr_settype, xpthread_mutex_init)
6076         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
6077         * support/xunistd.h (xmmap, xmunmap): Likewise.
6079 2017-01-25  Florian Weimer  <fweimer@redhat.com>
6081         * string/Makefile (xtests): Add comment.
6082         (LOCALES): Add en_GB.UTF-8.
6083         (tst-strcoll-overflow.out): Depend on generated locales.
6084         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
6085         (SIZE, TIMEOUT): Update comments.
6086         (do_test): Define as static.  Fail test if setlocale fails.
6087         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
6088         messages.
6089         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
6090         TIMEOUT at 300 seconds should be enough to run this test
6091         successfully.
6093 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
6095         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
6096         /* FALLTHRU */ comments.
6098 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
6100         [BZ #21053]
6101         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
6102         constants instead of the old R* ones.
6103         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
6104         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
6105         (NGREG): ... to this, to fit in with other architectures.
6106         (gpregset_t): Use new NGREG macro.
6107         [__USE_GNU]: Remove condition; all architectures other than tile
6108         are unconditional.
6109         (R*): Rename to REG_R*.
6111 2017-01-20  DJ Delorie  <dj@redhat.com>
6113         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
6114         (tunable_set_val_if_valid_range_signed) ... this, and ...
6115         (tunable_set_val_if_valid_range_unsigned) ... this.
6116         (tunable_initialize): Call the correct one of the above based on type.
6118 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
6120         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
6121         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6122         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6123         * sysdeps/microblaze/libm-test-ulps: Likewise.
6124         * sysdeps/sh/libm-test-ulps: Likewise.
6126         * math/README.libm-test: Update list of characters for input and
6127         output types.
6129 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6131         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6132         (__lll_unlock_elision): Fix adapt_count decrement.
6134 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
6136         * README.pretty-printers (Known issues): Warn about printers not
6137         always covering everything.
6138         * nptl/nptl-printers.py (MutexPrinter): Change output.
6139         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
6141 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6143         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
6144         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6145         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
6146         (__lll_lock_elision): Do not test futex before starting a
6147         transaction.  Use __glibc_likely instead of __builtin_expect.
6148         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
6149         (__lll_trylock_elision): Do not test futex before starting a
6150         transaction.  Use __glibc_likely instead of __builtin_expect.
6152 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6154         * po/Makefile (update-translations): New target.
6156 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6158         [BZ #21061]
6159         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
6161 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6163         * elf/dl-tunables (get_next_env): Always advance envp.
6164         * stdlib/tst-empty-env.c: New test case.
6165         * stdlib/Makefile (tests): Use it.
6167 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
6169         [BZ #21047]
6170         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
6171         name for instruction.
6172         [!__SOFTFP__] (_FPU_SETCW): Likewise.
6174 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6176         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
6177         for make install.
6179 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6181         * po/bg.po: Merge from Translation Project.
6182         * po/fr.po: Likewise.
6183         * po/ko.po: Likewise.
6184         * po/nl.po: Likewise.
6185         * po/sv.po: Likewise.
6187 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
6189         * manual/install.texi (Tools for Compilation): Update GCC version
6190         known to work to build glibc.
6191         * INSTALL: Regenerated.
6193 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6195         [BZ #21006]
6196         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
6198 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
6200         [BZ #21045]
6201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6202         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6203         to __sigprocmask.
6205 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
6207         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
6208         wrap-around.
6209         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
6211         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
6213 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6215         * NEWS: Fix typo.
6217 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6219         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
6220         barriers and comments.
6221         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
6222         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6223         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6225 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6227         [BZ #19402]
6228         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
6229         mutexes.
6231 2016-01-13  Torvald Riegel  <triegel@redhat.com>
6233         [BZ #20985]
6234         * nptl/Makefile: Adapt.
6235         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6236         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6237         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
6238         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
6239         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
6240         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
6241         lll_robust* functions and adapt.
6242         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6243         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
6244         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6245         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
6247         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
6249         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
6250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
6251         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
6252         __lll_robust_timedlock, __lll_robust_unlock): Remove.
6253         * nptl/lowlevelrobustlock.c: Remove file.
6254         * nptl/lowlevelrobustlock.sym: Likewise.
6255         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
6256         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
6258 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6260         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6262 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6264         * po/cs.po: Merge translations from the Translation Project.
6265         * po/de.po: Likewise.
6266         * po/pl.po: Likewise.
6267         * po/ru.po: Likewise.
6268         * po/tr.po: Likewise.
6269         * po/uk.po: Likewise.
6270         * po/vi.po: Likewise.
6271         * po/zh_CN.po: Likewise.
6273 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
6275         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
6277         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
6278         object.
6280 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6282         [BZ #16458]
6283         * bits/uintn-identity.h: New file.
6284         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
6285         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
6286         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
6287         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
6288         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
6289         * string/endian.h: Include <bits/uintn-identity.h>.
6290         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
6291         __uint16_identity.
6292         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
6293         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
6294         __uint32_identity.
6295         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
6296         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
6297         __uint64_identity.
6298         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
6299         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
6300         __uint16_identity.
6301         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
6302         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
6303         __uint32_identity.
6304         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
6305         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
6306         __uint64_identity.
6307         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
6308         * string/Makefile (headers): Add bits/uintn-identity.h.
6309         (tests): Add test-endian-types.
6310         * string/test-endian-types.c: New file.
6311         * inet/Makefile (tests): Add test-hnto-types.
6312         * inet/test-hnto-types.c: New file.
6314 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6316         * po/be.po: Update from Translation Project.
6317         * po/bg.po: Likewise.
6318         * po/ca.po: Likewise.
6319         * po/cs.po: Likewise.
6320         * po/da.po: Likewise.
6321         * po/de.po: Likewise.
6322         * po/el.po: Likewise.
6323         * po/eo.po: Likewise.
6324         * po/es.po: Likewise.
6325         * po/fi.po: Likewise.
6326         * po/fr.po: Likewise.
6327         * po/gl.po: Likewise.
6328         * po/hr.po: Likewise.
6329         * po/hu.po: Likewise.
6330         * po/ia.po: Likewise.
6331         * po/id.po: Likewise.
6332         * po/it.po: Likewise.
6333         * po/ja.po: Likewise.
6334         * po/ko.po: Likewise.
6335         * po/lt.po: Likewise.
6336         * po/nb.po: Likewise.
6337         * po/nl.po: Likewise.
6338         * po/pl.po: Likewise.
6339         * po/pt_BR.po: Likewise.
6340         * po/ru.po: Likewise.
6341         * po/rw.po: Likewise.
6342         * po/sk.po: Likewise.
6343         * po/sl.po: Likewise.
6344         * po/sv.po: Likewise.
6345         * po/tr.po: Likewise.
6346         * po/uk.po: Likewise.
6347         * po/vi.po: Likewise.
6348         * po/zh_CN.po: Likewise.
6349         * po/zh_TW.po: Likewise.
6351 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
6353         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
6354         -Wformat-truncation instead of -Wformat-length.
6355         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
6356         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
6357         GCC 7.
6358         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
6359         (do_test): Ignore -Wformat-truncation for GCC 7.
6361         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
6362         buffer used to print long int value.
6364         * elf/sotruss-lib.c (init): Increase space allocated for pid by
6365         one byte.  Print it with %ld, cast to long int.
6367 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6369         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
6370         (re.fullmatch, subprocess.run): Likewise.
6372 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6374         * po/libc.pot: Regenerate.
6376 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6378         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
6379         (min_strlen): Likewise.
6380         (disable_tunable): Likewise.
6381         (maybe_disable_malloc_check): Rename to
6382         maybe_enable_malloc_check.
6383         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
6384         if /etc/suid-debug file exists.
6385         (__tunables_init): Update caller.
6386         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
6387         secure.
6389 2016-01-10  Torvald Riegel  <triegel@redhat.com>
6391         * nptl/DESIGN-rwlock.txt: Remove.
6392         * nptl/lowlevelrwlock.sym: Remove.
6393         * nptl/Makefile: Add new tests.
6394         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
6395         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
6396         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
6397         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
6398         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
6399         PTHREAD_RWLOCK_FUTEX_USED): New.
6400         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
6401         implementation.
6402         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
6403         (__pthread_rwlock_rdlock): Adapt.
6404         * nptl/pthread_rwlock_timedrdlock.c
6405         (pthread_rwlock_timedrdlock): Adapt.
6406         * nptl/pthread_rwlock_timedwrlock.c
6407         (pthread_rwlock_timedwrlock): Adapt.
6408         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
6409         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
6410         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
6411         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
6412         (__pthread_rwlock_wrlock): Adapt.
6413         * nptl/tst-rwlock10.c: Adapt.
6414         * nptl/tst-rwlock11.c: Adapt.
6415         * nptl/tst-rwlock17.c: New file.
6416         * nptl/tst-rwlock18.c: New file.
6417         * nptl/tst-rwlock19.c: New file.
6418         * nptl/tst-rwlock2b.c: New file.
6419         * nptl/tst-rwlock8.c: Adapt.
6420         * nptl/tst-rwlock9.c: Adapt.
6421         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6422         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6423         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6424         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6425         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6426         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6427         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6428         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6429         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6430         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6431         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6432         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6433         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6434         (pthread_rwlock_t): Adapt.
6435         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6436         (pthread_rwlock_t): Adapt.
6437         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
6438         * nptl/nptl-printers.py (): Adapt.
6439         * nptl/nptl_lock_constants.pysym: Adapt.
6440         * nptl/test-rwlock-printers.py: Adapt.
6441         * nptl/test-rwlockattr-printers.c: Adapt.
6442         * nptl/test-rwlockattr-printers.py: Adapt.
6444 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
6446         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
6447         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
6448         (fma_test_data): Likewise.
6449         (hypot_test_data): Likewise.
6450         (log1p_test_data): Likewise.
6451         (modf_test_data): Likewise.
6452         (pow_test_data): Likewise.
6453         (remainder_test_data): Likewise.
6454         (remquo_test_data): Likewise.
6455         (scalb_test_data): Likewise.
6456         (scalbn_test_data): Likewise.
6457         (scalbln_test_data): Likewise.
6458         * math/gen-libm-test.pl (parse_args): Transform
6459         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
6460         on the rounding mode.
6462 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
6464         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
6465         xfail-rounding:ibm128-libgcc automatically to tests overflowing
6466         and those that can underflow to zero.
6467         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
6468         add others.
6469         * math/auto-libm-test-out: Regenerated.
6471         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
6472         supported.
6473         (feholdexcept_tests): Skip tests requiring exceptions or rounding
6474         modes support if not supported.
6476         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
6477         Add libc.so PLT entry.
6478         (__tls_get_addr): Make ld.so PLT entry optional.
6480 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6482         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
6483         * string/bits/string3.h: ... here.
6485 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6487         [BZ #21028]
6488         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
6489         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
6490         if EXCEPTION_TESTS returns false.
6492 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6494         [BZ #20558]
6495         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
6496         strings_fortified.h.
6497         [__USE_MISC] (bzero): Likewise.
6498         [__USE_MISC] (explicit_bzero): Likewise.
6499         * string/strings.h: Include strings_fortified.h.
6500         * string/Makefile (headers): Add strings_fortified.h.
6501         * string/bits/strings_fortified.h: New file.
6502         * include/bits/strings_fortified.h: Likewise.
6504 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
6506         * elf/tst-tls13.c (TIMEOUT): Remove.
6507         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
6508         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
6509         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
6510         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
6511         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
6513         [BZ #21026]
6514         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
6515         (readahead): New syscall entry.
6517 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6519         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
6520         around tests of strncat with large sizes.
6522         * malloc/tst-malloc.c: Include <libc-internal.h>.
6523         (do_test): Disable -Walloc-size-larger-than= around tests of
6524         malloc with negative sizes.
6525         * malloc/tst-mcheck.c: Include <libc-internal.h>.
6526         (do_test): Disable -Walloc-size-larger-than= around tests of
6527         malloc and realloc with negative sizes.
6528         * malloc/tst-realloc.c: Include <libc-internal.h>.
6529         (do_test): Disable -Walloc-size-larger-than= around tests of
6530         realloc with negative sizes.
6532         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
6533         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
6534         allowed to 16 ulps.
6535         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
6536         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
6537         * math/auto-libm-test-out: Regenerated.
6539 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6541         * math/Makefile (libm-calls): Move wrappers...
6542         (libm-compat-call-auto): Here.
6543         (libm-routines): Add items in libm-compat-calls-auto.
6544         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
6545         the filenames of the wrappers that have been renamed.
6546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
6547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6549         * math/w_acos.c: Add _compat suffix to filename.
6550         * math/w_acosf.c: Likewise.
6551         * math/w_acosh.c: Likewise.
6552         * math/w_acoshf.c: Likewise.
6553         * math/w_acoshl.c: Likewise.
6554         * math/w_acosl.c: Likewise.
6555         * math/w_asin.c: Likewise.
6556         * math/w_asinf.c: Likewise.
6557         * math/w_asinl.c: Likewise.
6558         * math/w_atan2.c: Likewise.
6559         * math/w_atan2f.c: Likewise.
6560         * math/w_atan2l.c: Likewise.
6561         * math/w_atanh.c: Likewise.
6562         * math/w_atanhf.c: Likewise.
6563         * math/w_atanhl.c: Likewise.
6564         * math/w_cosh.c: Likewise.
6565         * math/w_coshf.c: Likewise.
6566         * math/w_coshl.c: Likewise.
6567         * math/w_exp10.c: Likewise.
6568         * math/w_exp10f.c: Likewise.
6569         * math/w_exp10l.c: Likewise.
6570         * math/w_exp2.c: Likewise.
6571         * math/w_exp2f.c: Likewise.
6572         * math/w_exp2l.c: Likewise.
6573         * math/w_fmod.c: Likewise.
6574         * math/w_fmodf.c: Likewise.
6575         * math/w_fmodl.c: Likewise.
6576         * math/w_hypot.c: Likewise.
6577         * math/w_hypotf.c: Likewise.
6578         * math/w_hypotl.c: Likewise.
6579         * math/w_j0.c: Likewise.
6580         * math/w_j0f.c: Likewise.
6581         * math/w_j0l.c: Likewise.
6582         * math/w_j1.c: Likewise.
6583         * math/w_j1f.c: Likewise.
6584         * math/w_j1l.c: Likewise.
6585         * math/w_jn.c: Likewise.
6586         * math/w_jnf.c: Likewise.
6587         * math/w_jnl.c: Likewise.
6588         * math/w_log10.c: Likewise.
6589         * math/w_log10f.c: Likewise.
6590         * math/w_log10l.c: Likewise.
6591         * math/w_log2.c: Likewise.
6592         * math/w_log2f.c: Likewise.
6593         * math/w_log2l.c: Likewise.
6594         * math/w_log.c: Likewise.
6595         * math/w_logf.c: Likewise.
6596         * math/w_logl.c: Likewise.
6597         * math/w_pow.c: Likewise.
6598         * math/w_powf.c: Likewise.
6599         * math/w_powl.c: Likewise.
6600         * math/w_remainder.c: Likewise.
6601         * math/w_remainderf.c: Likewise.
6602         * math/w_remainderl.c: Likewise.
6603         * math/w_scalb.c: Likewise.
6604         * math/w_scalbf.c: Likewise.
6605         * math/w_scalbl.c: Likewise.
6606         * math/w_sinh.c: Likewise.
6607         * math/w_sinhf.c: Likewise.
6608         * math/w_sinhl.c: Likewise.
6609         * math/w_sqrt.c: Likewise.
6610         * math/w_sqrtf.c: Likewise.
6611         * math/w_sqrtl.c: Likewise.
6612         * math/w_tgamma.c: Likewise.
6613         * math/w_tgammaf.c: Likewise.
6614         * math/w_tgammal.c: Likewise.
6616         * math/w_acos_compat.c: New file copied from above and
6617         adjusted for new #includes path
6618         * math/w_acosf_compat.c: Likewise.
6619         * math/w_acosh_compat.c: Likewise.
6620         * math/w_acoshf_compat.c: Likewise.
6621         * math/w_acoshl_compat.c: Likewise.
6622         * math/w_acosl_compat.c: Likewise.
6623         * math/w_asin_compat.c: Likewise.
6624         * math/w_asinf_compat.c: Likewise.
6625         * math/w_asinl_compat.c: Likewise.
6626         * math/w_atan2_compat.c: Likewise.
6627         * math/w_atan2f_compat.c: Likewise.
6628         * math/w_atan2l_compat.c: Likewise.
6629         * math/w_atanh_compat.c: Likewise.
6630         * math/w_atanhf_compat.c: Likewise.
6631         * math/w_atanhl_compat.c: Likewise.
6632         * math/w_cosh_compat.c: Likewise.
6633         * math/w_coshf_compat.c: Likewise.
6634         * math/w_coshl_compat.c: Likewise.
6635         * math/w_exp10_compat.c: Likewise.
6636         * math/w_exp10f_compat.c: Likewise.
6637         * math/w_exp10l_compat.c: Likewise.
6638         * math/w_exp2_compat.c: Likewise.
6639         * math/w_exp2f_compat.c: Likewise.
6640         * math/w_exp2l_compat.c: Likewise.
6641         * math/w_fmod_compat.c: Likewise.
6642         * math/w_fmodf_compat.c: Likewise.
6643         * math/w_fmodl_compat.c: Likewise.
6644         * math/w_hypot_compat.c: Likewise.
6645         * math/w_hypotf_compat.c: Likewise.
6646         * math/w_hypotl_compat.c: Likewise.
6647         * math/w_j0_compat.c: Likewise.
6648         * math/w_j0f_compat.c: Likewise.
6649         * math/w_j0l_compat.c: Likewise.
6650         * math/w_j1_compat.c: Likewise.
6651         * math/w_j1f_compat.c: Likewise.
6652         * math/w_j1l_compat.c: Likewise.
6653         * math/w_jn_compat.c: Likewise.
6654         * math/w_jnf_compat.c: Likewise.
6655         * math/w_jnl_compat.c: Likewise.
6656         * math/w_log10_compat.c: Likewise.
6657         * math/w_log10f_compat.c: Likewise.
6658         * math/w_log10l_compat.c: Likewise.
6659         * math/w_log2_compat.c: Likewise.
6660         * math/w_log2f_compat.c: Likewise.
6661         * math/w_log2l_compat.c: Likewise.
6662         * math/w_log_compat.c: Likewise.
6663         * math/w_logf_compat.c: Likewise.
6664         * math/w_logl_compat.c: Likewise.
6665         * math/w_pow_compat.c: Likewise.
6666         * math/w_powf_compat.c: Likewise.
6667         * math/w_powl_compat.c: Likewise.
6668         * math/w_remainder_compat.c: Likewise.
6669         * math/w_remainderf_compat.c: Likewise.
6670         * math/w_remainderl_compat.c: Likewise.
6671         * math/w_scalb_compat.c: Likewise.
6672         * math/w_scalbf_compat.c: Likewise.
6673         * math/w_scalbl_compat.c: Likewise.
6674         * math/w_sinh_compat.c: Likewise.
6675         * math/w_sinhf_compat.c: Likewise.
6676         * math/w_sinhl_compat.c: Likewise.
6677         * math/w_sqrt_compat.c: Likewise.
6678         * math/w_sqrtf_compat.c: Likewise.
6679         * math/w_sqrtl_compat.c: Likewise.
6680         * math/w_tgamma_compat.c: Likewise.
6681         * math/w_tgammaf_compat.c: Likewise.
6682         * math/w_tgammal_compat.c: Likewise.
6684         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
6685         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
6686         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
6687         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
6688         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
6689         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
6690         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
6691         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
6692         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
6693         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
6694         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
6695         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
6696         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
6697         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
6698         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
6699         * sysdeps/ia64/fpu/w_powl.c: Likewise.
6700         * sysdeps/ia64/fpu/w_powf.c: Likewise.
6701         * sysdeps/ia64/fpu/w_pow.c: Likewise.
6702         * sysdeps/ia64/fpu/w_logl.c: Likewise.
6703         * sysdeps/ia64/fpu/w_logf.c: Likewise.
6704         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
6705         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
6706         * sysdeps/ia64/fpu/w_log2.c: Likewise.
6707         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
6708         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
6709         * sysdeps/ia64/fpu/w_log10.c: Likewise.
6710         * sysdeps/ia64/fpu/w_log.c: Likewise.
6711         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
6712         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
6713         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
6714         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
6715         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
6716         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
6717         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
6718         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
6719         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
6720         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
6721         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
6722         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
6723         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
6724         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
6725         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
6726         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
6727         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
6728         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
6729         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
6730         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
6731         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
6732         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
6733         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
6734         * sysdeps/ia64/fpu/w_asin.c: Likewise.
6735         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
6736         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
6737         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
6738         * sysdeps/ia64/fpu/w_acos.c: Likewise.
6739         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6740         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6741         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6742         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
6743         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
6744         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
6745         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
6746         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
6747         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
6748         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
6749         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
6750         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
6751         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
6752         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
6753         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
6755         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
6756         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
6757         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
6758         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
6759         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
6760         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
6761         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
6762         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
6763         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
6764         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
6765         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
6766         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
6767         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
6768         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
6769         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
6770         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
6771         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
6773         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
6774         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
6775         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
6776         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
6777         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
6778         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
6779         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
6780         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
6781         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
6782         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
6783         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
6784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
6785         Likewise.
6786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
6787         Likewise.
6788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
6789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
6790         Likewise.
6791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
6792         Likewise.
6793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
6794         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6796         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6797         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6798         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6799         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
6801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
6803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6804         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6805         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6806         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6807         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6809         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
6810         and adjusted for new #includes path
6811         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
6812         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
6813         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
6814         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
6815         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
6816         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
6817         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
6818         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
6819         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
6820         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
6821         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
6822         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
6823         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
6824         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
6825         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
6826         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
6827         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
6828         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
6829         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
6830         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
6831         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
6832         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
6833         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
6834         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
6835         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
6836         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
6837         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
6838         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
6839         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
6840         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
6841         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
6842         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
6843         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
6844         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
6845         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
6846         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
6847         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
6848         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
6849         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
6850         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
6851         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
6852         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
6853         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
6854         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
6855         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
6856         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
6857         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
6858         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
6859         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
6860         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
6861         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
6862         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
6863         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
6864         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
6865         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
6866         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
6867         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
6868         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
6869         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
6870         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
6871         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
6872         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
6873         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
6874         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
6875         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
6876         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
6877         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
6878         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
6879         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
6880         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
6881         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
6882         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
6883         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
6884         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
6885         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
6886         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
6887         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
6888         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
6889         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
6890         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
6891         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
6892         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
6893         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
6894         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
6895         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
6896         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
6897         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
6898         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
6899         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
6900         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
6901         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
6902         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
6903         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
6904         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
6905         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
6906         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
6907         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
6908         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
6909         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
6910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
6911         Likewise.
6912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
6913         Likewise.
6914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
6915         Likewise.
6916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
6917         Likewise.
6918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
6919         Likewise.
6920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
6921         Likewise.
6922         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
6923         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
6924         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
6925         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
6926         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
6927         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
6928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
6929         Likewise.
6930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
6931         Likewise.
6932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
6933         Likewise.
6934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
6935         Likewise.
6936         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
6937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
6938         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
6939         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
6941 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
6943         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
6944         __jmp_buf_internal_tag.
6946         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
6947         preserve NaN payload if [__mips_nan2008].
6948         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
6950         [BZ #21022]
6951         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
6953 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6955         * sysdeps/i386/fpu/libm-test-ulps: Update.
6957 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6959         * sysdeps/ia64/strcat.c: Remove file.
6960         * sysdeps/powerpc/strcat.c: Likewise.
6961         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6962         C implementation.
6963         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
6964         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
6966 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6967             Steven Munroe  <sjmunroe@us.ibm.com>
6968             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6970         [BZ #20822]
6971         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6972         (__lll_lock_elision): Access adapt_count via C11 atomics.
6973         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6974         (__lll_trylock_elision): Likewise.
6975         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6976         (__lll_unlock_elision):  Update adapt_count variable inside the
6977         critical section using C11 atomics.
6979 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6981         * math/test-fenvinline.c (do_test): Disable tests of raised
6982         exceptions if !EXCEPTION_TESTS (FLOAT).
6984 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6986         [BZ #19390]
6987         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
6988         maximum string size.
6989         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
6990         in pointer addition.
6991         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
6992         Likewise.
6994 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
6996         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
6997         passed to tst-ldconfig-X.sh.
6999 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7001         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7003 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7005         [BZ #21019]
7006         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7007         New syscall entry.
7008         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7009         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7010         lseek.
7012         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7013         power4 glibc for powerpc-linux-gnu.
7015 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7017         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7018         semctl.
7020 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7022         * math/test-nearbyint-except.c: Include <stdbool.h>.
7023         (any_supported): New variable.
7024         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7025         set any_supported.
7026         (do_test): Return 77 if no floating-point type supported
7027         exceptions.
7029         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7030         condition on [__mips_hard_float].
7032 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7034         [BZ #21014]
7035         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7036         in pointer addition.
7037         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7039 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7041         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7042         new condvar.
7044 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7046         * scripts/build-many-glibcs.py (Context.checkout): Default
7047         binutils version to 2.28 branch.
7049 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7051         * support/support_format_netent.c (support_format_netent): Work
7052         around alpha struct netent definition difference.
7054 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7056         * support/xwrite.c (xwrite): Use %td for pointer difference.
7058 2017-01-01  Florian Weimer  <fweimer@redhat.com>
7060         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
7061         have-tunables only.
7062         (tests-static): Add tst-malloc-usable-static-tunables for
7063         have-tunables only.
7065 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
7067         * scripts/config.guess: Update to version 2017-01-01.
7068         * scripts/config.sub: Update to version 2017-01-01.
7070         * NEWS: Update copyright dates.
7071         * catgets/gencat.c (print_version): Likewise.
7072         * csu/version.c (banner): Likewise.
7073         * debug/catchsegv.sh: Likewise.
7074         * debug/pcprofiledump.c (print_version): Likewise.
7075         * debug/xtrace.sh (do_version): Likewise.
7076         * elf/ldconfig.c (print_version): Likewise.
7077         * elf/ldd.bash.in: Likewise.
7078         * elf/pldd.c (print_version): Likewise.
7079         * elf/sotruss.sh: Likewise.
7080         * elf/sprof.c (print_version): Likewise.
7081         * iconv/iconv_prog.c (print_version): Likewise.
7082         * iconv/iconvconfig.c (print_version): Likewise.
7083         * locale/programs/locale.c (print_version): Likewise.
7084         * locale/programs/localedef.c (print_version): Likewise.
7085         * login/programs/pt_chown.c (print_version): Likewise.
7086         * malloc/memusage.sh (do_version): Likewise.
7087         * malloc/memusagestat.c (print_version): Likewise.
7088         * malloc/mtrace.pl: Likewise.
7089         * manual/libc.texinfo: Likewise.
7090         * nptl/version.c (banner): Likewise.
7091         * nscd/nscd.c (print_version): Likewise.
7092         * nss/getent.c (print_version): Likewise.
7093         * nss/makedb.c (print_version): Likewise.
7094         * posix/getconf.c (main): Likewise.
7095         * scripts/test-installation.pl: Likewise.
7096         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7098         * All files with FSF copyright notices: Update copyright dates
7099         using scripts/update-copyrights.
7100         * intl/plural.c: Regenerated.
7101         * locale/programs/charmap-kw.h: Likewise.
7102         * locale/programs/locfile-kw.h: Likewise.
7104 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7106         [BZ #20593]
7107         Update DNS RR type definitions.
7108         * scripts/gen-rrtypes.py: New file.
7109         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
7110         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
7111         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
7112         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
7113         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
7114         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
7115         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
7116         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
7117         ns_t_ta, ns_t_dlv.
7118         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
7119         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
7120         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
7121         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
7122         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
7123         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
7124         Define.
7125         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
7126         entry for ns_t_zxfr.
7128 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7130         [BZ #18784]
7131         CVE-2015-5180
7132         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
7133         T_UNSPEC.  Adjust value.
7134         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
7135         * resolv/res_query.c (__libc_res_nquery): Likewise.
7136         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
7137         QTYPEs.
7138         * resolv/tst-resolv-qtypes.c: New file.
7139         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
7140         (tst-resolv-qtypes): Link against libresolv and libpthread.
7142 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7144         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
7146 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7148         * manual/tunables.texi: New chapter.
7149         * manual/Makefile (chapters): Add it.
7150         * manual/probes.texi (@node): Point to the Tunables chapter.
7152         * Makeconfig (have-tunables): Check for non-negative instead
7153         of positive.
7154         * configure.ac: Add 'valstring' as a valid value for
7155         --enable-tunables.
7156         * configure: Regenerate.
7157         * elf/Makefile (have-tunables): Check for non-negative instead
7158         of positive.
7159         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
7160         dl-tunables.c.
7161         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
7162         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7163         (tunables_strdup): Likewise.
7164         (disable_tunables): Likewise.
7165         (parse_tunables): Likewise.
7166         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
7167         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
7168         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
7169         (TUNABLES_FRONTEND_yes): New macro, define as
7170         TUNABLES_FRONTEND_valstring by default.
7171         * manual/install.texi: Document new acceptable values for
7172         --enable-tunables.
7173         * INSTALL: Regenerate.
7175         * config.make.in (have-loop-to-function): Define.
7176         * elf/Makefile (CFLAGS-dl-tunables.c): Add
7177         -fno-tree-loop-distribute-patterns.
7178         * elf/dl-tunables.c: Include libc-internals.h.
7179         (GLIBC_TUNABLES): New macro.
7180         (tunables_strdup): New function.
7181         (parse_tunables): New function.
7182         (min_strlen): New function.
7183         (__tunables_init): Use the new functions and macro.
7184         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
7185         * malloc/tst-malloc-usable-tunables.c: New test case.
7186         * malloc/tst-malloc-usable-static-tunables.c: New test case.
7187         * malloc/Makefile (tests, tests-static): Add tests.
7189         * manual/install.texi: Add --enable-tunables option.
7190         * INSTALL: Regenerate.
7191         * README.tunables: New file.
7192         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
7193         (before-compile): Generate dl-tunable-list.h early.
7194         * config.h.in: Add HAVE_TUNABLES.
7195         * config.make.in: Add have-tunables.
7196         * configure.ac: Add --enable-tunables option.
7197         * configure: Regenerate.
7198         * csu/init-first.c (__libc_init_first): Move
7199         __libc_init_secure earlier...
7200         * csu/init-first.c (LIBC_START_MAIN):... to here.
7201         Include dl-tunables.h, libc-internal.h.
7202         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
7203         binaries.
7204         * elf/Makefile (dl-routines): Add dl-tunables.
7205         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
7206         namespace.
7207         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
7208         only when !HAVE_TUNABLES.
7209         * elf/rtld.c (process_envvars): Likewise.
7210         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
7211         (_dl_sysdep_start): Call __tunables_init.
7212         * elf/dl-tunable-types.h: New file.
7213         * elf/dl-tunables.c: New file.
7214         * elf/dl-tunables.h: New file.
7215         * elf/dl-tunables.list: New file.
7216         * malloc/tst-malloc-usable-static.c: New test case.
7217         * malloc/Makefile (tests-static): Add it.
7218         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
7219         Define TUNABLE_NAMESPACE.
7220         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
7221         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
7222         callback functions.
7223         (ptmalloc_init): Set tunable values.
7224         * scripts/gen-tunables.awk: New file.
7225         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
7226         (_dl_sysdep_start): Call __tunables_init.
7228 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7230         * resolv/resolv.h (RES_BLAST): Deprecate.
7231         * resolv/res_debug.c (p_option): Remove RES_BLAST.
7232         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
7233         to RES_BLAST.
7235 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7237         [BZ #19582]
7238         Deprecate RES_USE_INET6.
7239         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
7240         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
7241         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
7242         RES_USE_INET6.
7243         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
7244         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
7245         (_nss_nisplus_gethostbyaddr_r): Likewise.
7246         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
7247         of res_use_inet6.
7248         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
7249         instead of RES_USE_INET6.
7250         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
7251         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
7252         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
7253         Likewise.
7254         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
7255         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
7256         Likewise.
7257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
7258         (_nss_dns_gethostbyname_r): Likewise.
7259         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
7260         alternate RES_USE_INET6 handling.
7261         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
7262         instead of RES_USE_INET6.
7263         * resolv/res_init.c (res_setoptions): Likewise.
7264         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
7265         * resolv/resolv-internal.h: New file.
7266         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
7267         make the deprecation warning non-fatal.
7268         * resolv/README (Using the resolver in multi-threaded code): Drop
7269         reference to RES_USE_INET6.
7270         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
7271         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
7273 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7275         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
7276         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
7277         tst-resolv-search.
7278         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
7279         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
7280         with libresolv and libpthread.
7281         * resolv/tst-bug18665.c: New file.
7282         * resolv/tst-bug18665-tcp: Likewise.
7283         * resolv/tst-res_use_inet6: Likewise.
7284         * resolv/tst-resolv-basic: Likewise.
7285         * resolv/tst-resolv-network: Likewise.
7286         * resolv/tst-resolv-search: Likewise.
7287         * support/Makefile (libsupport-routines): Add check_addrinfo,
7288         check_dns_packet, check_hostent, check_netent, resolv_test,
7289         support_format_address_family, support_format_addrinfo,
7290         support_format_dns_packet, support_format_herrno,
7291         support_format_hostent, support_format_netent, support_run_diff,
7292         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
7293         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
7294         xstrdup, xwrite.
7295         * support/check_addrinfo.c: New file.
7296         * support/check_dns_packet.c: Likewise.
7297         * support/check_hostent.c: Likewise.
7298         * support/check_netent.c: Likewise.
7299         * support/check_nss.h: Likewise.
7300         * support/format_nss.h: Likewise.
7301         * support/resolv_test.c: Likewise.
7302         * support/resolv_test.h: Likewise.
7303         * support/run_diff.h: Likewise.
7304         * support/support_format_address_family.c: Likewise.
7305         * support/support_format_addrinfo.c: Likewise.
7306         * support/support_format_dns_packet.c: Likewise.
7307         * support/support_format_herrno.c: Likewise.
7308         * support/support_format_hostent.c: Likewise.
7309         * support/support_format_netent.c: Likewise.
7310         * support/support_run_diff.c: Likewise.
7311         * support/xaccept.c: Likewise.
7312         * support/xbind.c: Likewise.
7313         * support/xconnect.c: Likewise.
7314         * support/xfclose.c: Likewise.
7315         * support/xfopen.c: Likewise.
7316         * support/xgetsockname.c: Likewise.
7317         * support/xlisten.c: Likewise.
7318         * support/xmemstream.c: Likewise.
7319         * support/xmemstream.h: Likewise.
7320         * support/xpoll.c: Likewise.
7321         * support/xpthread_once.c: Likewise.
7322         * support/xrecvfrom.c: Likewise.
7323         * support/xsendto.c: Likewise.
7324         * support/xsetsockopt.c: Likewise.
7325         * support/xstdio.h: Likewise.
7326         * support/xstrdup.c: Likewise.
7327         * support/support.h (xstrdup): Declare.
7328         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
7329         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
7330         * support/xthread.h (xpthread_once): Likwise.
7331         * support/xunistd.h (xwrite): Declare.
7333 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7335         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
7336         (test_verbose): Declare.
7337         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
7338         * support/support_test_main.c (default_options): Likewise.
7339         (usage, support_test_main): Handle 'v'.
7340         (test_verbose): Define.
7341         * support/tst-support_record_failure.c (do_test): Use
7342         test_verbose.
7343         * support/tst-support_record_failure-2.sh (different_status): Add
7344         --verbose test.
7346 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7348         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
7349         test failures are recorded.
7350         * support/check.c (support_print_failure_impl): Call
7351         support_record_failure.
7352         (support_exit_failure_impl): Call support_record_failure if status
7353         indicates failure.
7354         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
7355         * support/xasprintf.c (xasprintf): Likewise.
7356         * support/xfork.c (xfork): Likewise.
7357         * support/xpthread_check_return.c (xpthread_check_return):
7358         Likewise.
7359         * support/xsocket.c (xsocket): Likeweise.
7360         * support/xwaitpid.c (xwaitpid): Likewise.
7361         * support/support_record_failure.c (struct test_failures): Adjust
7362         to coding style.
7363         * support/support_test_verify_impl.c (support_test_verify_impl):
7364         Adjust error messages.
7365         * support/tst-support_record_failure-2.sh (different_status):
7366         Adjust error messages.
7368 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7370         * support/namespace.h: New file.
7371         * support/support_become_root.c: Likewise.
7372         * support/support_enter_network_namespace.c: Likewise.
7373         * support/tst-support-namespace.c: Likewise.
7374         * support/xsocket.c: Likewise.
7375         * support/xsocket.h: Likewise.
7376         * support/Makefile (libsupport-routines): Add support_become_root,
7377         support_enter_network_namespace, xsocket.
7378         (tests): Add tst-support-namespace.
7380 2016-12-31  Florian Weimer  <fweimer@redhat.com>
7382         [BZ #17252]
7383         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
7384         __USE_GNU.
7386 2016-12-31  Torvald Riegel  <triegel@redhat.com>
7388         [BZ #13165]
7389         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
7390         use new algorithm.
7391         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7392         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7393         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7394         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7395         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
7396         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
7397         __condvar_cleanup_waiting, __condvar_dec_grefs,
7398         __pthread_cond_wait_common): New.
7399         (__condvar_cleanup): Remove.
7400         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
7401         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
7402         Likewise.
7403         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
7404         Likewise.
7405         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
7406         * nptl/tst-cond1.c: Add comment.
7407         * nptl/tst-cond20.c (do_test): Adapt.
7408         * nptl/tst-cond22.c (do_test): Likewise.
7409         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
7410         structure.
7411         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7412         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7413         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7414         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
7415         Likewise.
7416         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7417         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7418         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7419         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7420         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7421         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
7422         Likewise.
7423         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
7424         Likewise.
7425         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
7426         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
7427         (COND_CLOCK_BITS): Adapt.
7428         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
7429         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
7430         __PTHREAD_COND_SHARED_MASK): New.
7431         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
7432         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
7433         * nptl/nptl_lock_constants.pysym: Adapt.
7434         * nptl/test-cond-printers.py: Adapt.
7435         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
7436         cond_compat_check_and_clear): Adapt.
7437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
7438         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7439         (__pthread_cond_timedwait): ... and move here.
7440         * nptl/DESIGN-condvar.txt: Remove file.
7441         * nptl/lowlevelcond.sym: Likewise.
7442         * nptl/pthread_cond_timedwait.c: Likewise.
7443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
7444         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
7445         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
7446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
7447         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
7448         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
7449         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
7450         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
7451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
7452         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
7453         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
7454         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
7455         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
7456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
7457         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
7458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
7460 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
7462         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7463         (fromfp): New declaration.
7464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7467         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
7468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
7469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
7470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
7471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
7472         * math/math.h: Include <bits/types.h>.
7473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
7474         constant and macro.
7475         (FP_INT_DOWNWARD): Likewise.
7476         (FP_INT_TOWARDZERO): Likewise.
7477         (FP_INT_TONEARESTFROMZERO): Likewise.
7478         (FP_INT_TONEAREST): Likewise.
7479         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
7480         (fromfpf): Likewise.
7481         (fromfpl): Likewise.
7482         (ufromfp): Likewise.
7483         (ufromfpf): Likewise.
7484         (ufromfpl): Likewise.
7485         (fromfpx): Likewise.
7486         (fromfpxf): Likewise.
7487         (fromfpxl): Likewise.
7488         (ufromfpx): Likewise.
7489         (ufromfpxf): Likewise.
7490         (ufromfpxl): Likewise.
7491         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
7492         s_fromfpxF and s_ufromfpxF.
7493         * math/gen-fromfp-tests.py: New file.
7494         * math/gen-fromfp-tests-inputs: Likewise.
7495         * math/libm-test.inc: Include <stdint.h>
7496         (check_intmax_t): New function.
7497         (check_uintmax_t): Likewise.
7498         (struct test_fiu_M_data): New type.
7499         (struct test_fiu_U_data): Likewise.
7500         (RUN_TEST_fiu_M): New macro.
7501         (RUN_TEST_LOOP_fiu_M): Likewise.
7502         (RUN_TEST_fiu_U): Likewise.
7503         (RUN_TEST_LOOP_fiu_U): Likewise.
7504         (fromfp_test_data): New array.
7505         (fromfp_test): New function.
7506         (fromfpx_test_data): New array.
7507         (fromfpx_test): New function.
7508         (ufromfp_test_data): New array.
7509         (ufromfp_test): New function.
7510         (ufromfpx_test_data): New array.
7511         (ufromfpx_test): New function.
7512         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
7513         ufromfpx_test.
7514         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
7515         characters.
7516         * math/test-tgmath-ret.c: Include <stdint.h>.
7517         (rm): New variable.
7518         (width): Likewise.
7519         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
7520         called function.
7521         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
7522         CHECK_RET_CONST_TYPE.
7523         (CHECK_RET_CONST_DOUBLE): Likewise.
7524         (CHECK_RET_CONST_LDOUBLE): Likewise.
7525         (CHECK_RET_CONST): Take extra arguments and pass them to calls
7526         macros.
7527         (fromfp): New CHECK_RET_CONST call.
7528         (ufromfp): Likewise.
7529         (fromfpx): Likewise.
7530         (ufromfpx): Likewise.
7531         (do_test): Call check_return_fromfp, check_return_ufromfp,
7532         check_return_fromfpx and check_return_ufromfpx.
7533         * math/test-tgmath.c: Include <stdint.h>
7534         (NCALLS): Increase to 138.
7535         (F(compile_test)): Initialize i.  Call fromfp functions.
7536         (F(fromfp)): New function.
7537         (F(fromfpx)): Likewise.
7538         (F(ufromfp)): Likewise.
7539         (F(ufromfpx)): Likewise.
7540         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
7541         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
7542         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
7543         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
7544         ufromfpxl.
7545         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
7546         ufromfp and ufromfpx.
7547         * math/fromfp.h: New file.
7548         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
7549         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
7550         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
7551         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
7552         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
7553         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
7554         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
7555         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
7556         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
7557         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
7558         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
7559         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
7560         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
7561         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
7562         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
7563         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
7564         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
7565         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
7566         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
7567         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
7568         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
7569         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
7570         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
7571         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
7572         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
7573         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
7574         ufromfp, fromfpx and ufromfpx.
7575         (CFLAGS-nldbl-fromfp.c): New variable.
7576         (CFLAGS-nldbl-fromfpx.c): Likewise.
7577         (CFLAGS-nldbl-ufromfp.c): Likewise.
7578         (CFLAGS-nldbl-ufromfpx.c): Likewise.
7579         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
7580         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
7581         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
7582         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
7583         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
7584         * sysdeps/nacl/libm.abilist: Update.
7585         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7593         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7594         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7598         Likewise.
7599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7600         Likewise.
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7602         Likewise.
7603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7604         Likewise.
7605         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7618 2016-12-30  Florian Weimer  <fweimer@redhat.com>
7620         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
7621         compat-gethnamaddr.
7622         (CPPFLAGS): Remove.
7623         * resolv/gethnamaddr.c: Rename ...
7624         * resolv/compat-gethnamaddr.c: ... to this file.
7625         (_endhtent): Make static.
7626         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
7627         symbol.
7628         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
7629         compat symbol.
7630         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
7631         symbol.
7632         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
7633         Turn into compat symbol.
7634         * include/resolv.h (_endhtent): Remove declaration.
7636 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
7638         * bits/types.h (__intmax_t): New typedef.
7639         (__uintmax_t): Likewise.
7640         * sysdeps/generic/stdint.h: Include <bits/types.h>.
7641         (intmax_t): Define using __intmax_t.
7642         (uintmax_t): Define using __uintmax_t.
7644         * support/Makefile (tests-special): Make definition conditional on
7645         [$(run-built-tests) = yes].
7646         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
7647         on [$(run-built-tests) = yes].
7649 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7651         * Rules (tests): Add tests-printers-programs to tests to be
7652         built.
7654 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7656         * sysvipc/Makefile (tests): Add test-sysvshm.
7657         * sysvipc/test-sysvshm.c: New file.
7659         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
7660         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
7661         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
7662         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
7663         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
7664         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
7665         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
7666         Likewise.
7667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
7668         Likewise.
7669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
7670         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
7671         is defined.
7673         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
7674         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
7675         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
7676         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
7677         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
7678         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
7679         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
7680         Likewise.
7681         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
7682         Likewise.
7683         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
7684         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
7685         defined.
7687         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7688         oldshmctl.
7689         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
7690         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
7691         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
7692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
7693         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
7694         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
7695         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
7696         Likewise.
7697         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
7698         Likewise.
7699         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
7700         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
7701         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
7702         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
7703         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
7704         implementation.
7705         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
7706         if it is defined.
7708         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
7709         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
7710         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
7711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
7712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
7713         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
7714         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
7715         Likewise.
7716         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
7717         Likewise.
7718         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
7719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
7720         Define to __NR_osf_shmat.
7721         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
7722         defined.
7724         * sysvipc/Makefile (tests): Add test-sysvsem.
7725         * sysvipc/test-sysvsem.c: New file.
7727         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
7728         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
7729         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
7730         Likewise.
7731         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
7732         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
7733         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
7734         Likewise.
7735         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
7736         Likewise.
7737         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
7738         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
7739         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
7740         add a comment about s390 syscall difference from default one.
7741         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
7742         syscall if it is defined.
7744         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
7745         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
7746         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
7747         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
7748         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
7749         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
7750         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
7751         Likewise.
7752         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
7753         Likewise.
7754         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
7755         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
7756         defined.
7758         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
7759         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
7760         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
7761         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
7762         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
7763         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
7764         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
7765         Likewise.
7766         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
7767         Likewise.
7768         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
7769         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
7770         if it is defined.
7772         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7773         oldsemctl.
7774         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
7775         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
7776         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
7777         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
7778         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
7779         implementation.
7780         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
7781         syscall if it is defined.
7782         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
7783         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
7784         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
7785         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
7786         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
7787         Likewise.
7788         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
7790         * sysvipc/Makefile (tests): Add test-sysvmsg.
7791         * sysvipc/test-sysvmsg.c: New file.
7792         * support/check.h (FAIL_UNSUPPORTED): New define.
7794         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
7795         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
7796         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
7797         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7798         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
7799         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
7800         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
7801         Likewise.
7802         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
7803         Likewise.
7804         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
7805         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
7806         define.
7808         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
7809         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
7810         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
7811         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
7812         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
7813         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
7814         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
7815         Likewise.
7816         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
7817         Likewise.
7818         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
7819         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
7820         if defined.
7822         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
7823         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
7824         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7825         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7826         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7827         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
7828         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7829         Likewise.
7830         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
7831         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
7832         Likewise.
7833         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
7834         if defined.
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
7837         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
7838         oldmsgctl.
7839         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
7840         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
7841         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
7842         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
7843         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
7844         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
7845         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
7846         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
7847         Likewise.
7848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
7849         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
7850         implementation.
7851         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
7852         if defined.
7854         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
7855         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
7856         definition and define its own.
7857         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
7858         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
7859         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
7860         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
7861         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
7862         definitions to common header.
7863         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
7864         operation from ipc_ops.h.
7866         * sysdeps/unix/sysv/linux/kernel-features.h
7867         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
7868         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7869         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
7870         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7871         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7872         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7873         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7875         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7876         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7877         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7878         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7879         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7880         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7881         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
7883 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7885         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
7886         overflow in pointer addition.
7888 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7890         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7891         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
7892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7893         (strchr): Add __strchr_power8 to list of strchr functions.
7894         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
7895         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
7896         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
7897         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
7898         (strchr): Add __strchr_power8 to ifunc list.
7899         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
7900         (__strchrnul): Add __strchrnul_power8 to ifunc list.
7901         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
7902         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
7904 2016-12-28  Florian Weimer  <fweimer@redhat.com>
7906         * support/Makefile (libsupport-routines): Add
7907         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
7908         (tests): Add tst-support_record_failure.
7909         (tests-special): tst-support_record_failure-2.
7910         (tst-support_record_failure-2.out): Depend on
7911         tst-support_record_failure-2.sh and tst-support_record_failure.
7912         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
7913         (support_test_verify_impl, support_record_failure)
7914         (support_report_failure, support_report_failure_reset): Declare.
7915         * support/support_test_main.c (adjust_exit_status): New function.
7916         (support_test_main): Call it to incorporate record test failures.
7917         * support/support_test_verify_impl.c: New file.
7918         * support/support_record_failure.c: Likewise.
7919         * support/tst-support_record_failure.c: Likewise.
7920         * support/tst-support_record_failure-2.sh: Likewise.
7921         * support/xunistd.h: Likewise.
7922         * support/xfork.c: Likewise.
7923         * support/xwaitpid.c: Likewise.
7925 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
7927         * scripts/check-c++-types.sh: Add comments.
7929 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
7931         [BZ #19514]
7932         * resolv/res_send.c: Fix typo in comment.
7933         * sysdeps/i386/i386-mcount.S: Likewise.
7934         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7935         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7936         * sysdeps/sparc/sparc-mcount.S: Likewise.
7938 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7940         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
7941         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
7942         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
7943         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
7944         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
7945         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
7946         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
7947         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
7949 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7951         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
7953 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7955         [BZ #17252]
7956         * posix/unistd.h (getentropy): Declare.
7958 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7960         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
7961         Remove.
7962         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
7963         (cmd): Remove spoof, nospoof, spoofalert.
7964         (parse_line): Ignore spoof-related lines.
7965         (do_init): Do not process RESOLV_SPOOF_CHECK.
7967 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7969         [BZ #20964]
7970         sunrpc: Always obtain AF_INET addresses from NSS.
7971         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
7972         * sunrpc/rpc_gethostbyname.c: New file.
7973         * sunrpc/Makefile (routines): Add it.
7974         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
7975         * sunrpc/clnt_simp.c (callrpc): Likewise.
7976         * sunrpc/getrpcport.c (getrpcport): Likewise.
7978 2016-12-27  Florian Weimer  <fweimer@redhat.com>
7980         * sunrpc/rpcinfo.c: Remove.
7981         * sunrpc/Makefile: Remove comments referring to rpcinfo.
7983 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7985         [BZ #19387]
7986         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
7987         addition.
7988         * string/test-memchr.c (do_test): Remove alignment limitation.
7989         (test_main): Add test that trigger BZ #19387.
7991 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
7993         [BZ #7065]
7994         Enable stack protectore if requested by ./configure.
7995         * Makeconfig (+stack-protector): New variable.
7996         (+cflags): Use it.
7998 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8000         [BZ #7065]
8001         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8003         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8004         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8005         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8007 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8009         [BZ #7065]
8010         * login/Makefile (pt_chown-cflags): Remove.
8011         * nscd/Makefile (CFLAGS-nscd): Likewise.
8012         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8014 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8016         [BZ #7065]
8017         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8018         non-libc-linking testcase.
8020 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8021             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8022             Florian Weimer  <fweimer@redhat.com>
8024         [BZ #7065]
8025         PLT avoidance for __stack_chk_fail*.
8026         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8027         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8028         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8029         __stack_chk_fail_local alias.
8030         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8031         (__stack_chk_fail): Turn into hidden reference to
8032         __stack_chk_fail_local.
8034 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8036         [BZ #7065]
8037         * configure.ac: Add check for unsupported stack-protection level.
8038         (libc_cv_predef_stack_protector): Remove.
8039         (no_ssp): New variable.
8040         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8041         (stack_protector): Set to -fno-stack-protector similarly.
8042         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8043         (libc_cv_asm_set_directive): Likewise.
8044         (libc_cv_protected_data): Likewise.
8045         (libc_cv_z_combreloc): Likewise.
8046         (libc_cv_hashstyle): Likewise.
8047         (libc_cv_has_glob_dat): Likewise.
8048         (libc_cv_output_format): Likewise.
8049         (libc_cv_output_format): Likewise.
8050         (libc_cv_ehdr_start): Likewise.
8051         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
8052         (LIBC_LINKER_FEATURE): Likewise.
8053         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
8055 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8057         [BZ #7065]
8058         * elf/Makefile (dummy-stack-chk-fail): New.
8059         (librtld.map): Use it.
8061 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8063         [BZ #7065]
8064         Compile the dynamic linker without stack protection.
8065         * elf/Makefile (elide-stack-protector): New.
8066         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
8067         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
8068         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
8069         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
8071 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8073         [BZ #7065]
8074         * config.make.in (have-ssp, no-stack-protector): New.
8075         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
8076         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
8077         (CFLAGS-sbrk.op): Likewise.
8078         (CFLAGS-brk.o): Likewise.
8079         (CFLAGS-brk.op): Likewise.
8080         * string/Makefile (CFLAGS-memcpy.c): Likewise.
8081         (CFLAGS-wordcopy.c): Likewise.
8083 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8085         [BZ #7065]
8086         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
8087         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
8088         * include/libc-symbols.h (inhibit_stack_protector): New macro.
8089         (__ifunc_resolver): Use it.
8090         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
8091         inhibit_stack_protector.
8092         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
8093         * elf/ifuncmain7.c (foo_ifunc): Likewise.
8094         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
8095         (foo_protected_ifunc): Likewise.
8096         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
8097         (foo_protected_ifunc): Likewise.
8098         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8099         * sysdeps/nacl/nacl_interface_query.c
8100         (nacl_interface_query_ifunc): Likewise.
8101         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
8102         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
8103         Likewise.
8104         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
8105         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
8106         the generated vDSO syscall resolver.
8108 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8109             Florian Weimer  <fweimer@redhat.com>
8111         [BZ #7065]
8112         Initialize the stack guard earlier when linking statically.
8113         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
8114         (__pthread_initialize_minimal): Declare.
8115         * csu/libc-start.c (__pthread_initialize_minimal): Remove
8116         declaration.
8117         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
8118         stack canary and apply_irel initialization up.  Call
8119         __pthread_initialize_minimal only if linked in.
8120         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
8121         constant values.
8122         (__pthread_initialize_minimal): Remove.
8123         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
8124         (__pthread_initialize_minimal_internal): Do not call
8125         __libc_setup_tls.
8127 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8129         [BZ #7065]
8130         * configure.ac (libc_cv_ssp): Move up.
8131         (libc_cv_ssp_strong): Likewise.
8132         (libc_cv_ssp_all): New.
8133         (stack_protector): Augment, adding -fstack-protector-all.
8134         (no_stack_protector): New.
8135         (STACK_PROTECTOR_LEVEL): New.
8136         (AC_ARG_ENABLE(stack-protector)): New configure flag.
8137         * manual/install.texi (--enable-stack-protector): Document it.
8138         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
8140 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
8142         * README.pretty-printers: Must specify CPPFLAGS-* also.
8143         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
8144         (CPPFLAGS-test-mutex-printers.c): Define.
8145         (CPPFLAGS-test-condattr-printers.c): Define.
8146         (CPPFLAGS-test-cond-printers.c): Define.
8147         (CPPFLAGS-test-rwlockattr-printers.c): Define.
8148         (CPPFLAGS-test-rwlock-printers.c): Define.
8150         * nss/Makefile [ifeq (yes,$(have-thread-library))]
8151         (tests): Add tst-cancel-getpwuid_r.
8152         * nss/tst-cancel-getpwuid_r.c: New file.
8154         [BZ #11941]
8155         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
8156         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
8157         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
8158         tst-nodelete-dlclose.
8159         (modules-names): Add tst-nodelete-dlclose-dso and
8160         tst-nodelete-dlclose-plugin.
8161         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
8162         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
8163         ($(objpfx)tst-nodelete-dlclose): Define.
8164         ($(objpfx)tst-nodelete-dlclose.out): Define.
8166 2016-12-23  Florian Weimer  <fweimer@redhat.com>
8168         * scripts/test_printers_common.py: Log GDB output in case of
8169         Python detection failure.
8171 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8173         * configure.ac: Check for python3 or python.
8174         * configure: Regenerated.
8175         * config.make.in (PYTHON): New variable.
8176         * benchtests/Makefile: Don't define PYTHON.
8177         (bench): Define target only if PYTHON was defined.
8178         * Rules: Don't define PYTHON.
8179         Define pretty printer targets only if PYTHON was defined.
8180         (tests-printers): Add to tests-unsupported if PYTHON is not
8181         found.
8182         (python-flags, python-invoke): Remove.
8183         (tests-printers-out): Use PYTHON instead of python-invoke.
8185 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8187         [BZ #20978]
8188         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8189         Compare name == NULL, not name != NULL.
8191         * manual/texinfo.tex: Update to version 2016-09-18.18 with
8192         trailing whitespace removed.
8193         * scripts/config.guess: Update to version 2016-10-02.
8194         * scripts/config.sub: Update to version 2016-11-19.
8195         * scripts/install-sh: Update to version 2016-01-11.22.
8196         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
8197         * scripts/move-if-change: Update to version 2016-01-11 22:04.
8199 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
8201         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
8202         (do_one_test) Restore original string so iteration works.
8203         * string/string-inlines.c (do_test): Create better input strings.
8204         (test_main) Reduce number of testruns.
8205         * string/string-inlines.c (__old_strsep_1c): New function.
8206         (__old_strsep_2c): Likewise.
8207         (__old_strsep_3c): Likewise.
8208         * string/strsep.c (__strsep): Remove case of small delim string.
8209         Call strcspn directly rather than strpbrk.
8210         * string/bits/string2.h (__strsep): Remove define.
8211         (__strsep_1c): Remove.
8212         (__strsep_2c): Remove.
8213         (__strsep_3c): Remove.
8214         (strsep): Remove.
8215         * sysdeps/unix/sysv/linux/internal_statvfs.c
8216         (__statvfs_getflags): Rename to __strsep.
8218 2016-12-21  Florian Weimer  <fweimer@redhat.com>
8220         * csu/libc-tls.c (_dl_tls_setup): Remove.
8221         * elf/dl-tls.c (_dl_tls_setup): Likewise.
8222         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
8223         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
8225 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8227         [BZ #7065]
8228         * sysdeps/x86_64/Makefile [$(subdir) = elf]
8229         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
8231 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
8232             Florian Weimer  <fweimer@redhat.com>
8234         [BZ #7065]
8235         * csu/Makefile (tests): Empty assignment and document it.
8236         (tests-static): Remove.
8237         * csu/tst-empty.c: Move to...
8238         * misc/tst-empty.c: ... here.  Switch to new test driver.
8239         * csu/tst-atomic.c: Move to...
8240         * misc/tst-atomic.c: ... here.  Switch to new test driver.
8241         * csu/tst-atomic-long.c: Move to...
8242         * misc/tst-atomic-long.c: ... here.
8243         * misc/Makefile (tests): Add tst-empty, tst-atomic,
8244         tst-atomic-long.
8245         (tests-static): Add tst-empty.
8247 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
8249         * manual/nss.texi: Change incorrect @vtable to @table.
8250         * manual/arith.texi: Convert @tables of variables to @vtables
8251         and remove unnecessary indexing.
8252         * manual/filesys.texi: Likewise.
8253         * manual/llio.texi: Likewise.
8254         * manual/memory.texi: Likewise.
8255         * manual/process.texi: Likewise.
8256         * manual/resource.texi: Likewise.
8257         * manual/search.texi: Likewise.
8258         * manual/signal.texi: Likewise.
8259         * manual/socket.texi: Likewise.
8260         * manual/stdio.texi: Likewise.
8261         * manual/sysinfo.texi: Likewise.
8262         * manual/syslog.texi: Likewise.
8263         * manual/terminal.texi: Likewise.
8264         * manual/time.texi: Likewise.
8265         * manual/users.texi: Likewise.
8267 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
8269         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8270         (roundeven): New declaration.
8271         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
8272         macro.
8273         * math/Versions (roundeven): New libm symbol at version
8274         GLIBC_2.25.
8275         (roundevenf): Likewise.
8276         (roundevenl): Likewise.
8277         * math/Makefile (libm-calls): Add s_roundevenF.
8278         * math/libm-test.inc (roundeven_test_data): New array.
8279         (roundeven_test): New function.
8280         (main): Call roundeven_test.
8281         * math/test-tgmath.c (NCALLS): Increase to 134.
8282         (F(compile_test)): Call roundeven.
8283         (F(roundeven)): New function.
8284         * manual/arith.texi (Rounding Functions): Document roundeven,
8285         roundevenf and roundevenl.
8286         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
8287         * include/math.h (roundeven): Use libm_hidden_proto.
8288         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
8289         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
8290         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
8291         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
8293         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
8294         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8295         roundeven.
8296         (CFLAGS-nldbl-roundeven.c): New variable.
8297         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
8298         * sysdeps/nacl/libm.abilist: Update.
8299         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8301         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8302         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8303         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8305         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8306         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8307         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8308         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8314         Likewise.
8315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8316         Likewise.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8318         Likewise.
8319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8320         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8321         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8322         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8323         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8325         Likewise.
8326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8327         Likewise.
8328         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8332 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8334         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
8335         preprocessor indentation inside #if.
8337 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8339         * math/libm-test.inc (fmt_ftostr): New function.
8340         (print_float, check_float_internal): Replace some uses of
8341         FTOSTR with uses of fmt_ftostr.
8342         (print_max_error, print_complex_max_error, print_function_ulps)
8343         (print_complex_function_ulps): Remove uses of the macros
8344         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
8345         * math/test-double.h (FTOSTR): Define to strfromd.
8346         (PRINTF_EXPR): Delete.
8347         (PRINTF_XEXPR): Likewise.
8348         (PRINTF_NEXPR): Likewise.
8349         * math/test-float.h (FTOSTR): Define to strfromf.
8350         (PRINTF_EXPR): Delete.
8351         (PRINTF_XEXPR): Likewise.
8352         (PRINTF_NEXPR): Likewise.
8353         * math/test-ldouble.h (FTOSTR): Define to strfroml.
8354         (PRINTF_EXPR): Delete.
8355         (PRINTF_XEXPR): Likewise.
8356         (PRINTF_NEXPR): Likewise.
8358 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8360         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8361         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
8362         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8363         (__lll_lock_elision): Decrement adapt_count while unlocking
8364         instead of before locking.
8365         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8366         (__lll_trylock_elision): Likewise.
8367         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
8368         (__lll_unlock_elision): Likewise.
8370 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8372         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
8373         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
8374         Use __libc_tbegin_retry macro.
8376 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8378         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
8379         Add -msoft-float.
8380         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
8381         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
8382         Use __libc_t* transaction macros instead of __builtin_t*.
8383         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8384         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8386 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8388         * sysdeps/unix/sysv/linux/s390/elision-lock.c
8389         (__lll_lock_elision): Use atomics to load / store adapt_count.
8390         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
8391         (__lll_trylock_elision): Likewise.
8393 2016-12-20  Florian Weimer  <fweimer@redhat.com>
8395         Do not require memset elimination in explicit_bzero test.
8396         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
8397         (enum test_expectation): Add NO_EXPECTATIONS.
8398         (subtests): NO_EXPECTATIONS for ordinary clear.
8399         (check_test_buffer): Handle NO_EXPECTATIONS.
8400         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
8402 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
8404         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8405         (fmaxmag): New declaration.
8406         (fminmag): Likewise.
8407         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
8408         macro.
8409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
8410         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
8411         (fmaxmagf): Likewise.
8412         (fmaxmagl): Likewise.
8413         (fminmag): Likewise.
8414         (fminmagf): Likewise.
8415         (fminmagl): Likewise.
8416         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
8417         * math/s_fmaxmag_template.c: New file.
8418         * math/s_fminmag_template.c: Likewise.
8419         * math/libm-test.inc (fmaxmag_test_data): New array.
8420         (fmaxmag_test): New function.
8421         (fminmag_test_data): New array.
8422         (fminmag_test): New function.
8423         (main): Call fmaxmag_test and fminmag_test.
8424         * math/test-tgmath.c (NCALLS): Increase to 132.
8425         (F(compile_test)): Call fmaxmag and fminmag.
8426         (F(fminmag)): New function.
8427         (F(fmaxmag)): Likewise.
8428         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
8429         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
8430         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
8431         fminmag.
8432         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
8433         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
8434         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
8435         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
8436         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
8437         and fminmag.
8438         (CFLAGS-nldbl-fmaxmag.c): New variable.
8439         (CFLAGS-nldbl-fminmag.c): Likewise.
8440         * sysdeps/nacl/libm.abilist: Update.
8441         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8442         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8443         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8444         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8445         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8446         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8447         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8448         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8449         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8450         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8451         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8452         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8454         Likewise.
8455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8456         Likewise.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8458         Likewise.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8460         Likewise.
8461         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8462         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8463         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8464         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8465         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8467         Likewise.
8468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8469         Likewise.
8470         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8471         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8472         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8474 2016-12-19  Torvald Riegel  <triegel@redhat.com>
8476         [BZ #20973]
8477         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
8478         wake-up in robust mutexes.
8479         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8481 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8483         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
8484         (CFLAGS-bench-fmaxf.c): New rule.
8485         (CFLAGS-bench-fminf.c): Likewise.
8486         * benchtests/fmaxf-inputs: New file.
8487         * benchtests/fminf-inputs: Likewise.
8489         * benchtests/Makefile (bench-math): Add fmin and fmax.
8490         (CFLAGS-bench-fmax.c): New rule.
8491         (CFLAGS-bench-fmin.c): Likewise.
8492         * benchtests/fmax-inputs: New file.
8493         * benchtests/fmin-inputs: Likewise.
8495         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
8496         parenthesis.
8497         (CMDLINE_PROCESS): Define using function instead of macro.
8498         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
8499         of test-skeleton.
8500         * benchtests/bench-memchr.c: Likewise.
8501         * benchtests/bench-memcmp.c: Likewise.
8502         * benchtests/bench-memcpy-large.c: Likewise.
8503         * benchtests/bench-memcpy.c: Likewise.
8504         * benchtests/bench-memmem.c: Likewise.
8505         * benchtests/bench-memmove-large.c: Likewise.
8506         * benchtests/bench-memmove.c: Likewise.
8507         * benchtests/bench-memset-large.c: Likewise.
8508         * benchtests/bench-memset.c: Likewise.
8509         * benchtests/bench-rawmemchr.c: Likewise.
8510         * benchtests/bench-strcasecmp.c: Likewise.
8511         * benchtests/bench-strcasestr.c: Likewise.
8512         * benchtests/bench-strcat.c: Likewise.
8513         * benchtests/bench-strchr.c: Likewise.
8514         * benchtests/bench-strcmp.c: Likewise.
8515         * benchtests/bench-strcpy.c: Likewise.
8516         * benchtests/bench-strcpy_chk.c: Likewise.
8517         * benchtests/bench-strlen.c: Likewise.
8518         * benchtests/bench-strncasecmp.c: Likewise.
8519         * benchtests/bench-strncmp.c: Likewise.
8520         * benchtests/bench-strncpy.c: Likewise.
8521         * benchtests/bench-strnlen.c: Likewise.
8522         * benchtests/bench-strpbrk.c: Likewise.
8523         * benchtests/bench-strrchr.c: Likewise.
8524         * benchtests/bench-strsep.c: Likewise.
8525         * benchtests/bench-strspn.c: Likewise.
8526         * benchtests/bench-strstr.c: Likewise.
8527         * benchtests/bench-strtok.c: Likewise.
8529 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8531         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
8532         stepping identification.
8533         (init_cpu_features): Add handle of Haswell.
8535 2016-11-25  Jim Meyering  <meyering@fb.com>
8537         [BZ #20386]
8538         Let gcc detect assert(a = 1) errors.
8539         * assert/assert.h (assert): Rewrite, retaining the old definintion
8540         when required, but otherwise putting the expression as-is in an "if"
8541         expression (hence, with no added parentheses) within a statement
8542         expression.
8544 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8546         * benchtests/Makefile (binaries-benchset): Depend on libsupport
8547         DSO.
8549 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
8551         * Rules (python-flags, python-invoke): New.
8552         ($(test-printers-out)): Use $(python-flags).
8554 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8556         * manual/arith.texi (Math Error Reporting): Document that sNaN
8557         arguments are not considered domain errors.
8559 2016-12-16  Zack Weinberg <zackw@panix.com>
8560             Florian Weimer <fweimer@redhat.com>
8561             Nick Mathewson <nickm@torproject.org>
8563         * string/explicit_bzero.c: New routine.
8564         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
8565         * string/Makefile (routines, strop-tests, tests): Add them.
8566         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
8567         * string/string.h [__USE_MISC]: Declare explicit_bzero.
8569         * debug/explicit_bzero_chk.c: New routine.
8570         * debug/Makefile (routines): Add it.
8571         * debug/tst-chk1.c: Test fortification of explicit_bzero.
8572         * string/bits/string3.h: Fortify explicit_bzero.
8574         * manual/string.texi: Document explicit_bzero.
8575         * NEWS: Mention addition of explicit_bzero.
8577         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
8578         data before returning, using explicit_bzero.
8579         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
8580         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8581         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8583         * include/string.h: Redirect internal uses of explicit_bzero
8584         to __explicit_bzero_chk[_internal].
8585         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
8586         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
8587         * sysdeps/arm/nacl/libc.abilist
8588         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8589         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8590         * sysdeps/unix/sysv/linux/arm/libc.abilist
8591         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8592         * sysdeps/unix/sysv/linux/i386/libc.abilist
8593         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8594         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8595         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8596         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8597         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8598         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8599         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8601         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8606         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8607         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8608         * sysdeps/unix/sysv/linux/sh/libc.abilist
8609         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8610         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8613         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8614         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8615         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8616         Add entries for explicit_bzero and __explicit_bzero_chk.
8618 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8620         * math/fenv.h
8621         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
8622         (FE_SNANS_ALWAYS_SIGNAL): New macro.
8623         * math/test-fe-snans-always-signal.c: New file.
8624         * math/Makefile (tests): Add test-fe-snans-always-signal.
8625         (CFLAGS-test-fe-snans-always-signal.c): New variable.
8626         * manual/arith.texi (Infinity and NaN): Document
8627         FE_SNANS_ALWAYS_SIGNAL.
8629 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8631         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
8632         bracket.
8634 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
8636         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
8637         before calling execv.
8639 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8641         [BZ #20971]
8642         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
8643         overflow in pointer addition.
8644         * string/test-memchr.c (do_test): Add an argument to pass as
8645         the size on memchr.
8646         (test_main): Add check for SIZE_MAX.
8648 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8650         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
8651         (libm-calls): Add w_scalblnF.
8652         * math/w_scalbln.c: Remove.
8653         * math/w_scalblnf.c: Likewise.
8654         * math/w_scalblnl.c: Likewise.
8655         * math/w_scalbln_template.c: New file with type-generic
8656         implementation based on math/w_scalbln.c.
8657         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
8658         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
8660 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8662         [BZ #20947]
8663         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
8664         either is a signaling NaN.
8665         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
8666         follow fmaxl more closely.
8667         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
8668         when either is a signaling NaN.
8669         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
8670         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
8671         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
8672         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
8673         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
8674         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
8675         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
8676         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
8677         (fmin_test_data): Likewise.
8679 2016-12-15  Andreas Schwab  <schwab@suse.de>
8681         * support/support_test_main.c (support_test_main): Don't shadow
8682         file-local variable test_pid.
8684 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
8686         [BZ #20947]
8687         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
8688         either is a signaling NaN.
8689         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
8691 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #20947]
8694         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
8695         when either is a signaling NaN.
8696         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
8698         * bits/long-double.h: New file.
8699         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
8700         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
8701         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
8702         * sysdeps/mips/bits/long-double.h: Likewise.
8703         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
8704         * math/Makefile (headers): Add bits/long-double.h.
8705         * misc/sys/cdefs.h: Include <bits/long-double.h>.
8706         * stdlib/strtold.c: Include <bits/long-double.h> instead of
8707         <bits/wordsize.h>.
8708         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
8709         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
8710         * math/math.h: Do not include <bits/mathdef.h>.
8711         * sysdeps/aarch64/bits/mathdef.h: Remove file.
8712         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
8713         inclusion.
8714         * sysdeps/ia64/bits/mathdef.h: Remove file.
8715         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
8716         * sysdeps/mips/bits/mathdef.h: Likewise.
8717         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8718         * sysdeps/s390/bits/mathdef.h: Likewise.
8719         * sysdeps/sparc/bits/mathdef.h: Likewise.
8720         * sysdeps/x86/bits/mathdef.h: Likewise.
8721         * sysdeps/s390/s390-32/bits/wordsize.h
8722         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
8723         conditional code.
8724         * sysdeps/s390/s390-64/bits/wordsize.h
8725         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
8728         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8729         Likewise.
8730         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
8731         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8732         Likewise.
8733         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8734         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
8735         Likewise.
8737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
8738         <linux/falloc.h>.
8739         (FALLOC_FL_KEEP_SIZE): Remove.
8740         (FALLOC_FL_PUNCH_HOLE): Likewise.
8741         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
8742         (FALLOC_FL_ZERO_RANGE): Likewise.
8744 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8746         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
8748 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8750         * sysdeps/unix/sysv/linux/renameat.c: New file.
8751         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
8753         * sysdeps/unix/sysv/linux/rename.c: New file.
8754         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
8756 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8758         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
8759         * string/strtok.c (strtok): Change to tailcall __strtok_r.
8760         * string/strtok_r.c (__strtok_r): Optimize for performance.
8761         * string/string-inlines.c (__old_strtok_r_1c): New function.
8762         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
8764 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8766         * math/Makefile (gen-libm-calls): Add w_log1pF.
8767         (libm-calls): Remove w_log1pF.
8768         * math/w_log1p.c: Remove.
8769         * math/w_log1pf.c: Likewise.
8770         * math/w_log1pl.c: Likewise.
8771         * math/w_log1p_template.c: New file with type-generic
8772         implementation based on math/w_log1p.c.
8773         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
8774         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
8776 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
8778         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
8780 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
8782         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8783         kernel version to 4.9.
8785 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
8787         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
8788         ($(inst_libdir)/libm.a): Fix rule to create the target only.
8790 2016-12-13  Andreas Schwab  <schwab@suse.de>
8792         * sysdeps/powerpc/dl-procinfo.c: Don't define
8793         _dl_powerpc_platforms.
8794         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
8795         constants instead of referencing _dl_powerpc_platforms.
8796         (_dl_platform_string): Remove.
8798 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8800         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
8802 2016-12-13  Florian Weimer  <fweimer@redhat.com>
8804         * Rules (binaries-shared-tests, binaries-pie-tests)
8805         (binaries-static-tests): Link with $(link-extra-libs-tests).
8806         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
8807         Remove $(link-extra-libs-tests).
8809 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8811         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8812         (sysdep_routines): Add strncmp_power9.
8813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8814         (strncmp): Add __strncmp_power9 to list of strncmp functions.
8815         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
8816         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
8817         (strncmp): Add __strncmp_power9 to ifunc list.
8818         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
8820 2016-12-12  Florian Weimer  <fweimer@redhat.com>
8822         [BZ #17252]
8823         Add getentropy, getrandom.
8824         * stdlib/sys/random.h: New file.
8825         (headers): Add it.
8826         * stdlib/Makefile (routines): Add getentropy, getrandom.
8827         (tests): Add tst-getrandom.
8828         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
8829         * stdlib/getentropy.c: New file.
8830         * stdlib/getrandom.c: Likewise.
8831         * stdlib/tst-getrandom.c: Likewise.
8832         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
8833         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
8834         * manual/crypt.texi (Unpredictable Bytes): New section.
8835         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
8836         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
8837         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8838         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8839         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8840         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8841         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8842         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8844         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8845         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8848         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8849         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8852         Likewise.
8853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8854         Likewise.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8861         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8868 2016-12-10  Florian Weimer  <fweimer@redhat.com>
8870         [BZ #20956]
8871         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
8872         as additional compiler barriers.
8873         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
8874         (fn2, do_test): Declare with external linkage.
8875         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
8876         (do_test): Declare with external linkage.
8877         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
8878         (do_test): Declare with external linkage.
8879         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
8880         (do_test): Declare with external linkage.
8882 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
8884         * support/support_test_main.c (support_test_main): Use correct
8885         timeout.
8887 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
8888             Florian Weimer  <fweimer@redhat.com>
8890         [BZ #16421]
8891         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
8892         and __u6_addr32 members.
8893         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
8894         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
8895         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
8896         Use __u6_addr32.
8897         * inet/tst-checks.c: Use <support/test-driver.c>
8898         * inet/tst-checks-posix.c: New file.
8899         * inet/Makefile (tests): Add it.
8900         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
8902 2016-12-09  Florian Weimer  <fweimer@redhat.com>
8904         New subdirectory support for build and test infrastructure.
8905         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
8906         setting install-lib.
8907         * Makeconfig (link-extra-libs-tests): Define.
8908         (+link-pie-tests, +link-static-tests, +link-tests): Use
8909         link-extra-libs-tests.
8910         (rpath-dirs, all-subdirs): Add support.
8911         (built-modules): Add libsupport.
8912         (libsupport): Define.
8913         * support: New directory.
8914         * support/Makefile: New file.
8915         * support/check.c: Likewise.
8916         * support/check.h: Likewise.
8917         * support/delayed_exit.c: Likewise.
8918         * support/ignore_stderr.c: Likewise.
8919         * support/oom_error.c: Likewise.
8920         * support/set_fortify_handler.c: Likewise.
8921         * support/support.h: Likewise.
8922         * support/temp_file-internal.h: Likewise.
8923         * support/temp_file.c: Likewise.
8924         * support/test-driver.c: Likewise.
8925         * support/test-driver.h: Likewise.
8926         * support/test_main.c: Likewise.
8927         * support/write_message.c: Likewise.
8928         * support/xasprintf.c: Likewise.
8929         * support/xcalloc.c: Likewise.
8930         * support/xmalloc.c: Likewise.
8931         * support/xpthread_barrier_destroy.c: Likewise.
8932         * support/xpthread_barrier_init.c: Likewise.
8933         * support/xpthread_barrier_wait.c: Likewise.
8934         * support/xpthread_cancel.c: Likewise.
8935         * support/xpthread_check_return.c: Likewise.
8936         * support/xpthread_cond_wait.c: Likewise.
8937         * support/xpthread_create.c: Likewise.
8938         * support/xpthread_detach.c: Likewise.
8939         * support/xpthread_join.c: Likewise.
8940         * support/xpthread_mutex_lock.c: Likewise.
8941         * support/xpthread_mutex_unlock.c: Likewise.
8942         * support/xpthread_sigmask.c: Likewise.
8943         * support/xpthread_spin_lock.c: Likewise.
8944         * support/xpthread_spin_unlock.c: Likewise.
8945         * support/xrealloc.c: Likewise.
8946         * support/xsignal.h: Likewise.
8947         * support/xthread.h: Likewise.
8948         * support_tempfile.h: Likewise.
8949         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
8950         (TEST_DATA_LIMIT): Remove unused macro.
8951         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
8952         <support/check.h>.
8953         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
8954         (ignore_stderr, set_fortify_handler): Remove.  Now in
8955         <support/support.h>.
8956         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
8957         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
8958         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
8959         (xpthread_join): Remove.  Now in <support/xthread.h>.
8960         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
8961         Introduce legacy wrappers.
8962         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
8963         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
8964         (write_message): Remove.
8965         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
8966         test-skeleton.c.
8967         * io/test-open-tmpfile: Likewise.
8968         * io/tst-posix_fallocate-common.c: Likewise.
8969         * libio/tst-fseek.c: Likewise.
8970         * malloc/tst-malloc-backtrace.c: Likewise.
8971         * malloc/tst-malloc-fork-deadlock.c: Likewise.
8972         * malloc/tst-malloc-thread-exit.c: Likewise.
8973         * nptl/tst-cancel7.c: Likewise.
8974         * nptl/tst-cleanup0.c: Likewise.
8975         * posix/tst-posix_fadvise-common.c: Likewise.
8976         * rt/tst-shm.c: Likewise.
8977         * time/bug-getdate1.c: Likewise.
8978         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8979         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
8980         * elf/Makefile (tst-piemod1.so): Link against libsupport.
8982 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
8984         * Rules [$(run-built-tests) != no] (tests-expected): Add
8985         $(tests-printers).
8986         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
8988 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8990         [BZ #20539]
8991         * math/Makefile (install-lib-ldscripts): Add libm.a.
8992         (install_subdir): Remove.
8993         (install-others): Add.
8994         ($(inst_libdir)/libm.a): Add rule for installation as
8995         linker script.
8996         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
8998 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9000         * INSTALL: Regenerated.
9001         * Makeconfig: Add comments and whitespace to make the control flow
9002         clearer.
9003         (+link-printers-tests, +link-pie-printers-tests,
9004         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9005         built-rtld-LDFLAGS, link-libc-rpath,
9006         link-libc-tests-after-rpath-link,
9007         link-libc-printers-tests): New.
9008         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9009         link-libc-tests): Use the new variables as required.
9010         * Makerules ($(py-const)): New rule.
9011         generated: Add $(py-const).
9012         * README.pretty-printers: New file.
9013         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9014         (others): Depend on $(py-const).
9015         (tests): Depend on $(tests-printers-programs) or
9016         $(tests-printers-out),
9017         as required.  Pass $(tests-printers) to merge-test-results.sh.
9018         * manual/install.texi: Add requirements for testing the pretty
9019         printers.
9020         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9021         tests-printers, CFLAGS-test-mutexattr-printers.c
9022         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9023         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9024         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9025         * nptl/nptl-printers.py: New file.
9026         * nptl/nptl_lock_constants.pysym: Likewise.
9027         * nptl/test-cond-printers.c: Likewise.
9028         * nptl/test-cond-printers.py: Likewise.
9029         * nptl/test-condattr-printers.c: Likewise.
9030         * nptl/test-condattr-printers.py: Likewise.
9031         * nptl/test-mutex-printers.c: Likewise.
9032         * nptl/test-mutex-printers.py: Likewise.
9033         * nptl/test-mutexattr-printers.c: Likewise.
9034         * nptl/test-mutexattr-printers.py: Likewise.
9035         * nptl/test-rwlock-printers.c: Likewise.
9036         * nptl/test-rwlock-printers.py: Likewise.
9037         * nptl/test-rwlockattr-printers.c: Likewise.
9038         * nptl/test-rwlockattr-printers.py: Likewise.
9039         * scripts/gen-py-const.awk: Likewise.
9040         * scripts/test_printers_common.py: Likewise.
9041         * scripts/test_printers_exceptions.py: Likewise.
9043 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9045         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9046         argument.
9047         (Glibc.build_glibc): Strip installed shared libraries if
9048         requested.
9049         (get_parser): Add --strip option.
9050         (main): Update Context call.
9052 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9053             Dominik Vogt  <vogt@linux.vnet.ibm.com>
9055         [BZ #20847]
9056         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9057         array bounds for else branch.
9058         (__execvpe): Style fixes.
9059         * posix/tst-vfork3.c (run_script): New function.
9060         (create_script): Likewise.
9061         (do_test): Use run_script internal function.
9062         (do_prepare): Use create_script internal function.
9064 2016-12-07  Andreas Schwab  <schwab@suse.de>
9066         * sysdeps/unix/sysv/linux/x86/elision-conf.h
9067         (__elision_available): Don't declare.
9068         * sysdeps/unix/sysv/linux/x86/elision-conf.c
9069         (__elision_available): Don't define.
9070         (elision_init): Don't set __elision_available.
9072 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9074         [BZ #20940]
9075         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
9076         return Inf for arguments Inf and sNaN.
9077         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
9078         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9079         Likewise.
9080         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9081         Likewise.
9082         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9083         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
9084         for arguments Inf and sNaN.  When returning a NaN, compute it by
9085         arithmetic on the arguments.
9086         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
9087         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
9088         arguments.
9090 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
9092         [BZ #20916]
9093         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
9094         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
9095         to compute result.
9096         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9097         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
9099 2016-12-05  Torvald Riegel  <triegel@redhat.com>
9101         * include/atomic.h (__atomic_check_size_ls): New.
9102         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
9103         atomic_store_release): Use it.
9104         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
9105         (elision_adapt, ELIDE_LOCK): Use atomics.
9106         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
9107         atomics and improve code comments.
9108         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
9109         (__lll_trylock_elision): Likewise.
9111 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9113         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
9114         programs.
9116 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9118         [BZ #20916]
9119         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
9120         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
9121         arguments to compute result.
9122         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
9123         1 for arguments (sNaN, 0) or (1, sNaN).
9124         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9125         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9127         [BZ #20919]
9128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
9129         NaN first argument when raised to power 0.
9130         * math/w_pow.c (__pow): Do not check for NaN or zero results from
9131         raising to power zero.
9132         * math/w_powf.c (__powf): Likewise.
9133         * math/w_powl.c (__powl): Likewise.
9134         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
9135         pow (0, 0) or pow (NaN, 0).
9137 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
9139         [BZ #20918]
9140         * configure.ac: Test for static NSS cryptographic libraries and set
9141         libc_cv_static_nss_crypt.
9142         * configure: Regenerate.
9143         * config.make.in (static-nss-crypt): Define.
9144         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
9145         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
9146         (CFLAGS-tst-linkall-static.c): Define.
9147         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
9148         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
9149         ($(objpfx)tst-linkall-static): Define.
9150         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
9151         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
9153 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9155         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
9156         (one-hundred, tst-tls-many-dynamic-modules): Define.
9157         (modules-names): Add $(tst-tls-many-dynamic-modules).
9158         (tst-tls-manydynamic%mod.os): Build with special preprocessor
9159         macros.
9160         (tst-tls-manydynamic): Link against libdl, libpthread.
9161         (tst-tls-manydynamic.out): The test needs the test modules at run
9162         time.
9163         * elf/tst-tls-manydynamic.c: New file.
9164         * elf/tst-tls-manydynamic.h: Likewise.
9165         * elf/tst-tls-manydynamicmod.c: Likewise.
9167 2016-12-02  Florian Weimer  <fweimer@redhat.com>
9169         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
9170         (TLS_DTV_UNALLOCATED): Add.
9171         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
9172         offsets.
9174 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9176         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9178 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
9180         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
9181         Add -fno-optimize-sibling-calls.
9183 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
9185         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
9186         New declaration.
9187         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
9188         macro.
9189         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
9190         New macro.
9191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
9192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
9193         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
9194         (llogbf): Likewise.
9195         (llogbl): Likewise.
9196         * math/Makefile (gen-libm-calls): Add w_llogbF.
9197         (tests): Add test-fp-llogb-constants.
9198         * math/w_llogb_template.c: New file.  Based on
9199         math/w_ilogb_template.c.
9200         * math/libm-test.inc (llogb_test_data): New array.
9201         (llogb_test): New function.
9202         (main): Call llogb_test.
9203         * math/test-fp-llogb-constants.c: New file.  Based on
9204         math/test-fp-ilogb-constants.c.
9205         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
9206         (do_test): Call check_return_llogb.
9207         * math/test-tgmath.c (NCALLS): Increase to 126.
9208         (F(compile_test)): Call llogb.
9209         (F(llogb)): New function.
9210         * manual/math.texi (Exponents and Logarithms): Document llogb,
9211         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
9212         * manual/libm-err-tab.pl (@all_functions): Add llogb.
9213         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
9214         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
9215         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
9216         (CFLAGS-nldbl-llogb.c): New variable.
9217         * sysdeps/nacl/libm.abilist: Update.
9218         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9219         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9220         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9221         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9222         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9223         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9224         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9225         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9226         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9227         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9231         Likewise.
9232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9251 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9253         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
9254         _Float128 instead of long double.
9255         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
9257         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
9258         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
9259         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
9260         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9261         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
9262         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
9263         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
9264         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
9265         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
9266         Likewise.
9268 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9270         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
9271         Remove redirection to __strrchr_ppc.
9273 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9275         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9276         (sysdep_routines): Add strcmp_power9.
9277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9278         (strcmp): Add __strcmp_power9 to list of strcmp functions.
9279         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
9280         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9281         (strcmp): Add __strcmp_power9 to ifunc list.
9282         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
9284 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
9286         * bits/fp-logb.h: New file.
9287         * sysdeps/ia64/bits/fp-logb.h: Likewise.
9288         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
9289         * sysdeps/x86/bits/fp-logb.h: Likewise.
9290         * math/Makefile (headers): Add bits/fp-logb.h.
9291         * math/math.h: Include <bits/fp-logb.h>.
9292         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
9293         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
9294         * bits/mathdef.h (FP_ILOGB0): Remove.
9295         (FP_ILOGBNAN): Likewise.
9296         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
9297         (FP_ILOGBNAN): Likewise.
9298         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
9299         (FP_ILOGBNAN): Likewise.
9300         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
9301         (FP_ILOGBNAN): Likewise.
9302         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
9303         (FP_ILOGBNAN): Likewise.
9304         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
9305         (FP_ILOGBNAN): Likewise.
9306         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
9307         (FP_ILOGBNAN): Likewise.
9308         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
9309         (FP_ILOGBNAN): Likewise.
9310         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
9311         (FP_ILOGBNAN): Likewise.
9312         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
9313         (FP_ILOGBNAN): Likewise.
9315         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
9316         time module.
9317         (Context.__init__): Initialize self.logsdir_old.
9318         (Context.run_builds): Handle bot action.
9319         (Context.bot_cycle): Copy logs directory before running builds.
9320         (Context.bot_run_self): Take argument for whether to check
9321         subprocess result.  Flush stdout before running subprocess.
9322         (Context.bot): New function.
9323         (get_parser): Allow bot action.
9325 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
9327         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
9328         Import email.mime.text, email.utils and smtplib modules.
9329         (Context.__init__): Initialize self.bot_config_json.
9330         (Context.run_builds): Handle bot-cycle action.
9331         (Context.load_bot_config_json): New function.
9332         (Context.part_build_old): Likewise.
9333         (Context.bot_cycle): Likewise.
9334         (Context.bot_build_mail): Likewise.
9335         (Context.bot_run_self): Likewise.
9336         (get_parser): Allow bot-cycle action.
9338 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
9341         Remove redirection to __stpcpy_ppc.
9343 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9345         Remove __libc_memalign from ld.so because it is unused.
9346         * elf/dl-minimal.c: Update comment on the malloc implementation.
9347         (malloc): Renamed from __libc_memalign, replacing the original
9348         malloc implementation.  Replace the align parameter with
9349         MALLOC_ALIGNMENT.
9350         * elf/Versions (ld): Update comment and remove __libc_memalign.
9351         * sysdeps/nacl/ld.abilist: Likewise.
9352         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9353         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9354         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9355         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9356         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9357         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9358         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9359         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9360         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9361         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9362         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9363         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9364         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9368         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9369         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9370         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9371         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
9375         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
9376         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9377         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9378         * sysdeps/generic/localplt.data (ld.so): Likewise.
9379         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9380         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9381         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9382         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9383         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9384         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9385         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9386         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
9387         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9389         (ld.so): Likewise.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9391         (ld.so): Likewise.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9393         Likewise.
9394         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9395         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9396         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
9397         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
9398         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9400 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9402         [BZ #16628]
9403         Implement _dl_catch_error, _dl_signal_error in libc.so.
9404         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
9405         (catch_hook): Define as thread-local or regular variable,
9406         depending on DL_ERROR_BOOTSTRAP.
9407         (CATCH_HOOK): Remove.
9408         (dl_signal_error, _dl_catch_error): Use
9409         catch_hook.  Add hidden definition for libc.
9410         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
9411         for DL_ERROR_BOOTSTRAP only.
9412         * elf/dl-error.c: New file.
9413         * elf/dl-error-minimal.c: Likewise.
9414         * elf/tst-latepthread.c: Likewise.
9415         * elf/tst-latepthreadmod.c: Likewise.
9416         * elf/Makefile (routines): Add dl-error.
9417         (dl-routines): Remove dl-error.
9418         (rtld-routines): Add dl-error-minimal.
9419         [build-shared] (tests): Add tst-latepthread.
9420         (module-names): Add tst-latepthreadmod.
9421         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
9422         symbol.
9423         (tst-latepthreadmod.so): Link against libpthread.
9424         (tst-latepthread): Link against libdbl.
9425         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
9426         _dl_catch_error.
9427         [ld] (GLIBC_PRIVATE): Likewise.
9428         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
9429         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
9430         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
9431         directly.
9432         * elf/dl-tsd.c: Remove file.
9433         * elf/rtld.c (_rtld_global_ro): Remove initializers for
9434         _dl_catch_error, _dl_signal_error.
9435         (_dl_initial_error_catch_tsd): Remove definition.
9436         (do_preload): Remove initialization of dl_error_catch_tsd.
9437         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
9438         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
9439         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9440         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9441         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
9442         set dl_error_catch_tsd.
9443         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
9444         _dl_error_catch_tsd member.
9445         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
9446         members.
9447         (_dl_initial_error_catch_tsd): Remove declaration.
9448         (_dl_dprintf): Provide definition for use outside of ld.so.
9449         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
9450         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
9451         prototype for libc.
9452         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
9453         _dl_catch_error.
9454         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
9455         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
9456         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
9457         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
9458         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
9459         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
9460         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
9461         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
9462         Likewise.
9463         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
9464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
9465         (ld.so): Likewise.
9466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9467         (ld.so): Likewise.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
9469         Likewise.
9470         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
9471         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
9472         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
9473         Likewise.
9474         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
9475         Likewise.
9476         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
9478 2016-11-30  Florian Weimer  <fweimer@redhat.com>
9480         [BZ #4099]
9481         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
9482         _IO_BUFSIZ (8192).
9484 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
9486         * PROJECTS: Remove file.
9488 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9490         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
9492 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
9493             Steve Ellcey  <sellcey@caviumnetworks.com>
9495         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
9496         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
9497         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
9498         fxstatat.
9499         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
9500         lxstat.
9501         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
9502         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
9503         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
9504         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
9505         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
9506         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
9507         __xstat.
9509 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9511         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
9512         Define.
9513         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
9514         definition.
9516 2016-11-29  Florian Weimer  <fweimer@redhat.com>
9518         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
9519         version and turn into strong alias.  Remove compat symbol.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9522         (__longjmp): Remove.
9524 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
9526         * bits/fp-fast.h: New file.
9527         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
9528         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
9529         * math/Makefile (headers): Add bits/fp-fast.h.
9530         * math/math.h: Include <bits/fp-fast.h>.
9531         * bits/mathdef.h (FP_FAST_FMA): Remove.
9532         (FP_FAST_FMAF): Likewise.
9533         (FP_FAST_FMAL): Likewise.
9534         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
9535         (FP_FAST_FMAF): Likewise.
9536         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
9537         (FP_FAST_FMAF): Likewise.
9538         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
9539         (FP_FAST_FMAF): Likewise.
9540         (FP_FAST_FMAL): Likewise.
9541         * sysdeps/arm/bits/mathdef.h: Remove file.
9542         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
9543         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9544         * sysdeps/tile/bits/mathdef.h: Likewise.
9546 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9548         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
9549         * math/w_ilogb.c: Remove.
9550         * math/w_ilogbf.c: Likewise.
9551         * math/w_ilogbl.c: Likewise.
9552         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
9553         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
9554         * math/Makefile (gen-libm-calls): Add w_ilogbF.
9555         (libm-calls): Remove w_ilogbF.
9556         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
9557         (LDOUBLE_ilogbl_libm_version): New macro.
9559         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
9561         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
9562         [!__STRICT_ANSI__ && !__cplusplus].
9564 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9566         [BZ #20750]
9567         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
9568         of PIC.
9570 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9571             Yury Norov  <ynorov@caviumnetworks.com>
9572             Steve Ellcey  <sellcey@caviumnetworks.com>
9574         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
9575         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
9576         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
9577         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
9578         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
9579         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
9580         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
9581         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
9582         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
9583         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
9584         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
9585         to get correct reg name for ILP32.
9586         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
9587         (RELA_SIZE): New Macro.
9588         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
9589         to support ILP32.
9590         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
9591         cast for ILP32 mode.
9592         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
9593         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
9594         * sysdeps/aarch64/memset.S (__memset): Ditto.
9595         * sysdeps/aarch64/strchr.S (strchr): Ditto.
9596         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
9597         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
9598         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
9599         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
9600         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
9601         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
9602         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
9603         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
9604         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
9605         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
9606         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
9607         change PTR_MANGLE call to use register numbers instead of names.
9608         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
9609         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
9610         ILP32 mode, change PTR_MANGLE calls to use register numbers.
9611         * sysdeps/aarch64/start.S (_start): Ditto.
9612         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
9613         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
9614         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
9615         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
9616         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
9617         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
9618         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
9619         Make defined values dependent on __ILP32__.
9620         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
9621         (sem_t): Change __align type.
9622         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
9623         PTR_SIZE): New Macros.
9624         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
9625         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
9626         Set when in ILP32 mode.
9627         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
9628         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
9629         Set elf flags for ILP32.
9630         (add_system_dir): Set ILP32 library directories.
9631         * sysdeps/unix/sysv/linux/aarch64/init-first.c
9632         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
9633         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
9634         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
9635         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
9636         New Macros.
9637         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
9639 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
9641         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
9642         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
9643         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
9645 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
9647         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
9648         <asm/cachectl.h>.
9650 2016-11-27  Zack Weinberg  <zackw@panix.com>
9652         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
9653         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
9655 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9657         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
9658         error_t to fix usage in C++ programs.
9660 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
9662         * scripts/build-many-glibcs.py: Import datetime module.
9663         (Context.__init__): Load JSON build state.  Initialize list of
9664         status logs.
9665         (Context.run_builds): Update saved build state.
9666         (Context.add_makefile_cmdlist): Update list of status logs.
9667         (Context.load_build_state_json): New function.
9668         (Context.store_build_state_json): Likewise.
9669         (Context.clear_last_build_state): Likewise.
9670         (Context.update_build_state): Likewise.
9671         (CommandList.status_logs): Likewise.
9673 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
9675         * scripts/build-many-glibcs.py (Context.__init__): Save text of
9676         script being executed.
9677         (Context.get_script_text): New function.
9678         (Context.exec_self): Likewise.
9679         (Context.checkout): Re-exec script if changed by checkout process.
9681 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9683         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9684         (setpayloadsig): New declaration.
9685         * math/Versions (setpayloadsig): New libm symbol at version
9686         GLIBC_2.25.
9687         (setpayloadsigf): Likewise.
9688         (setpayloadsigl): Likewise.
9689         * math/Makefile (libm-calls): Add s_setpayloadsigF.
9690         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
9691         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
9692         (setpayloadsig_test_data): New array.
9693         (setpayloadsig_test): New function.
9694         (main): Call setpayloadsig_test.
9695         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
9696         setpayloadsigf and setpayloadsigl.
9697         * manual/libm-err-tab.pl: Update comment on interfaces without
9698         ulps tabulated.
9699         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
9700         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
9705         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9706         setpayloadsig.
9707         (CFLAGS-nldbl-setpayloadsig.c): New variable.
9708         * sysdeps/nacl/libm.abilist: Update.
9709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9711         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9713         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9714         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9715         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9716         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9719         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9722         Likewise.
9723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9724         Likewise.
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9742         * scripts/build-many-glibcs.py: Import json module.
9743         (Context.__init__): Take replace_sources argument.  Load
9744         versions.json.
9745         (Context.load_versions_json): New function.
9746         (Context.store_json): Likewise.
9747         (Context.store_versions_json): Likewise.
9748         (Context.set_component_version): Likewise.
9749         (Context.checkout): Update versions.json.  Check for and handle
9750         changes of version.  Prefer previously explicitly specified
9751         version to default version.
9752         (Context.checkout_vcs): Return a revision identifier.
9753         (Context.git_checkout): Likewise.
9754         (Context.gcc_checkout): Likewise.
9755         (get_parser): Add --replace-sources option.
9756         (main): Pass replace_sources argument to Context call.
9758 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9760         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
9761         * nptl/allocatestack.c (allocate_stack): Likewise.
9762         (__reclaim_stacks): Likewise.
9763         (setxid_signal_thread): Obtain pid through syscall.
9764         * nptl/nptl-init.c (sigcancel_handler): Likewise.
9765         (sighandle_setxid): Likewise.
9766         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
9767         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9768         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9769         Likewise.
9770         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9771         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
9772         comment.
9773         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
9774         * nptl/descr.h (struct pthread): Change comment about pid value.
9775         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
9776         pid assert.
9777         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
9778         Do not set pid value.
9779         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
9780         pid cache check.
9781         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
9782         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
9783         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
9784         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
9785         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
9786         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9787         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
9788         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
9789         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
9790         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
9791         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
9792         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9793         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
9794         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9795         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
9796         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
9797         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9798         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
9799         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9800         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
9801         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9802         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9803         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
9804         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9805         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9808         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9809         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9810         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9811         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9812         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9813         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
9814         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9815         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
9816         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9817         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
9818         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9819         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
9820         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
9821         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9823         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9826         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9827         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9828         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9829         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9830         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9831         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
9832         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9833         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
9834         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
9835         struct access.
9836         (clone_test): Remove function.
9837         (do_test): Rewrite to take in consideration pid is not cached anymore.
9839 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
9841         * bits/flt-eval-method.h: New file.
9842         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
9843         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
9844         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
9845         * math/Makefile (headers): Add bits/flt-eval-method.h.
9846         * math/math.h: Include <bits/flt-eval-method.h>.
9847         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
9848         [__USE_ISOC99] (double_t): Likewise.
9849         * bits/mathdef.h (float_t): Remove.
9850         (double_t): Likewise.
9851         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
9852         (double_t): Likewise.
9853         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
9854         (double_t): Likewise.
9855         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
9856         (double_t): Likewise.
9857         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
9858         (double_t): Likewise.
9859         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
9860         (double_t): Likewise.
9861         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
9862         (double_t): Likewise.
9863         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
9864         (double_t): Likewise.
9865         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
9866         (double_t): Likewise.
9867         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
9868         (double_t): Likewise.
9869         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
9870         (double_t): Likewise.
9871         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
9872         (double_t): Likewise.
9873         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
9874         (double_t): Likewise.
9875         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
9876         (double_t): Likewise.
9878 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
9880         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
9881         instead of PIC.
9883 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9885         [BZ #20859]
9886         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
9887         (-0x7fffffff) instead of 0x80000001.
9888         * math/test-fp-ilogb-constants.c: New file.
9889         * math/Makefile (tests): Add test-fp-ilogb-constants.
9891 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
9893         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
9894         (_init): Use it in place of hardcoded R_MIPS_JALR.
9895         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
9896         (_init): Use it in place of hardcoded R_MIPS_JALR.
9897         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
9898         (_init): Use it in place of hardcoded R_MIPS_JALR.
9900 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9902         [BZ #20787]
9903         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
9904         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
9905         (double_t): Do not define to double if [__x86_64__] when
9906         __FLT_EVAL_METHOD__ is nonzero.
9907         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
9908         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
9909         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9910         test-flt-eval-method-387 and test-flt-eval-method-sse.
9911         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
9912         variable.
9913         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
9915 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
9917         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
9918         use of -fno-isolate-erroneous-paths options for tilepro.
9920 2016-11-23  Florian Weimer  <fweimer@redhat.com>
9922         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
9923         structure initialization is no longer needed.
9925 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
9927         [BZ #20855]
9928         * bits/mathdef.h (float_t): Define to float.
9929         * math/test-flt-eval-method.c: New file.
9930         * math/Makefile (tests): Add test-flt-eval-method.
9931         (CFLAGS-test-flt-eval-method.c): New variable.
9933 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
9935         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
9936         and __fstatfs.  Make them aliases of __fstatfs64 if
9937         STATFS_IS_STATFS64 is set to non-zero.
9938         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
9939         and __statfs64.
9940         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
9941         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
9942         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
9943         for __statfs and statfs.
9944         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
9945         to 0.
9946         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
9947         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
9948         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
9949         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9950         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9951         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
9954         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
9955         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9956         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
9957         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
9959 2016-11-22  Andreas Schwab  <schwab@suse.de>
9961         * misc/mkstemp.c: Include <fcntl.h>.
9962         * misc/mkstemps.c: Likewise.
9963         * misc/mkostemp.c: Likewise.
9964         * misc/mkostemps.c: Likewise.
9966 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
9968         [BZ #20847]
9969         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
9970         array bounds.
9971         (__execvpe): Likewise.
9973 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
9975         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
9976         -fno-isolate-erroneous-paths options for tilepro.
9978 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
9980         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
9981         to 0 when in 32 bit mode.
9982         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
9983         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
9984         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
9985         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
9986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
9987         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
9988         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
9989         XSTAT_IS_XSTAT64 test.
9990         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
9991         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
9992         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
9993         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
9994         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
9995         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
9996         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
9997         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
9998         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
9999         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10000         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10002 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10004         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10005         (setpayload): New declaration.
10006         * math/Versions (setpayload): New libm symbol at version
10007         GLIBC_2.25.
10008         (setpayloadf): Likewise.
10009         (setpayloadl): Likewise.
10010         * math/Makefile (libm-calls): Add s_setpayloadF.
10011         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10012         test_Ff_b1_data.
10013         (RUN_TEST_Ff_b1): New macro.
10014         (RUN_TEST_LOOP_Ff_b1): Likewise.
10015         (canonicalize_test_data): Update type.
10016         (setpayload_test_data): New array.
10017         (setpayload_test): New function.
10018         (main): Call setpayload_test.
10019         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10020         setpayloadf and setpayloadl.
10021         * manual/libm-err-tab.pl: Update comment on interfaces without
10022         ulps tabulated.
10023         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10024         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10025         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10026         Likewise.
10027         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10028         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10029         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10030         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10031         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10032         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10033         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10034         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10035         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10036         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10037         setpayload.
10038         (CFLAGS-nldbl-setpayload.c): New variable.
10039         * sysdeps/nacl/libm.abilist: Update.
10040         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10041         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10042         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10043         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10047         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10053         Likewise.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10055         Likewise.
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10057         Likewise.
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10059         Likewise.
10060         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10061         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10062         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10073 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10075         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
10076         * include/unistd.h: Extend comment about __access_noerrno return
10077         semantics.
10078         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
10079         (access_common): Correct typo for EACCES.
10081 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
10083         * sysdeps/tile/math-tests.h: New file.
10085         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
10086         (__old_set_dataplane): Rename from set_dataplane and make a
10087         compatibility symbol.
10088         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
10089         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
10090         sys/dataplane.h.
10092 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
10094         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
10095         script quote words in command output to log suitably for input to
10096         the shell.
10098 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
10099             Maciej W. Rozycki  <macro@imgtec.com>
10101         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
10102         `.Lno_weak_fn' label.
10103         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
10104         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
10106 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10107             Yury Norov  <ynorov@caviumnetworks.com>
10109         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
10110         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
10111         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10112         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
10113         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
10115         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10117         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10118         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
10119         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
10120         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
10121         (sysdep_routines): Remove oldgetrlimit64.
10122         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
10123         (sysdep_routines): Likewise.
10124         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
10125         (sysdep_routines): Likewise.
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10127         [$(subdir) = resource] (sysdep_routines): Likewise.
10128         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
10129         [$(subdir) = resource] (sysdep_routines): Likewise.
10130         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
10131         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
10132         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
10133         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
10134         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
10135         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10136         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10137         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
10138         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
10139         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
10140         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
10141         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
10142         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
10143         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
10144         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
10145         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
10146         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
10147         setrlimit and getrlimit.
10148         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
10149         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10150         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
10153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10154         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
10155         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10157         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
10158         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
10159         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
10160         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
10161         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
10162         (__old_getrlimit64): Add compatibility symbol.
10163         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
10165 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
10167         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
10168         newly built gmp, mpfr and mpc.
10170         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
10172 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10174         * conform/Makefile (linknamespace-libs): Rename to
10175         linknamespace-libs-thr.
10176         (linknamespace-libs-posix): New variable.
10177         (linknamespace-libs-xsi): Likewise.
10178         (linknamespace-libs-XPG3): Include libcrypt.a.
10179         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
10180         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
10181         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
10182         (linknamespace-libs-XOPEN2K): Likewise.
10183         (linknamespace-libs-XOPEN2K8): Likewise.
10184         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
10186         [BZ #20829]
10187         * stdio-common/Versions (__snprintf): Add to version
10188         GLIBC_PRIVATE.
10189         * include/stdio.h (__snprintf): Use libc_hidden_proto.
10190         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
10191         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
10192         of snprintf.
10193         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10195 2016-11-16  Zack Weinberg  <zackw@panix.com>
10197         * string/string.h: Remove obsolete comment stating that
10198         strcoll_l and strxfrm_l have not yet been standardized.
10200 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10202         * hurd/hurd.h (__hurd_fail_noerrno): New function.
10203         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
10204         __access_noerrno.
10205         * io/access.c (__access_noerrno): New function.
10206         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
10207         (hurd_fail_seterrno): Likewise.
10208         (access_common): Likewise.
10209         (__access_noerrno): Likewise.
10210         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
10211         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
10212         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
10213         macro.
10215 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
10217         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
10218         Only declare fpregs if [__SH_FPU_ANY__].
10220 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
10222         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
10223         Make code unconditional.
10224         [!(__SH4__ || __SH4A__)]: Remove conditional code.
10226 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
10228         * manual/sysinfo.texi (S_APPEND): Delete.
10229         (S_IMMUTABLE): Likewise.
10231 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
10232             Magnus Granberg  <zorry@gentoo.org>
10233             Mike Frysinger  <vapier@gentoo.org>
10235         [BZ #20662]
10236         * configure.ac (libc_cv_predef_stack_protector): Also check for
10237         __stack_chk_fail_local symbols.
10238         * configure: Regenerated.
10240 2016-11-15  Florian Weimer  <fweimer@redhat.com>
10242         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10243         (libc_hidden_def): Remove redefinition.
10244         (__sigsetjmp): Add hidden definition.
10245         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
10246         (libc_hidden_def): Remove redefinition.
10247         (__sigsetjmp): Add hidden definition.
10249 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
10251         * scripts/build-many-glibcs.py (os.path): Do not import.
10252         (Context): Inherit explicitly from object.  Remove blank line
10253         between class and docstring.
10254         (Config): Likewise.
10255         (Glibc): Likewise.
10256         (Command): Likewise.
10257         (CommandList): Likewise.
10258         (Context.write_files): Store chmod mode in a variable.
10260         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
10261         LIBC_SLIBDIR_RTLDDIR for tilegx32.
10262         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
10264 2016-11-14  Zack Weinberg  <zackw@panix.com>
10266         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
10267         creating or re-creating it.
10269         * string/bits/string2.h: Fix typo in comment.
10271 2016-11-14  Zack Weinberg  <zackw@panix.com>
10273         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
10274         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
10275         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
10276         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
10277         of redirected function names.
10279         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
10280         as well.  Document that MESSAGE must be a single string literal.
10282 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
10284         * scripts/build-many-glibcs.py: New file.
10286         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
10287         (do_test): Disable -Wmaybe-uninitialized around uses of
10288         except_mask.
10290         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
10292 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
10294         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
10295         (atomic_store_release): Provide tilepro-specific implementations.
10297 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
10299         * math/math.h (__MATH_TG): New macro.
10300         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
10301         [__USE_ISOC99] (signbit): Likewise.
10302         [__USE_ISOC99] (isfinite): Likewise.
10303         [__USE_ISOC99] (isnan): Likewise.
10304         [__USE_ISOC99] (isinf): Likewise.
10305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
10306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
10307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
10308         __MATH_TG and __MATH_EVAL_FMT2.
10309         * sysdeps/generic/math_private.h (fabs_tg): Define using
10310         __MATH_TG.
10311         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10312         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
10313         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
10314         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
10315         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
10316         macro.
10317         (__iscanonical): Likewise.
10318         (iscanonical): Define using __MATH_TG.
10320 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10322         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
10323         guards.
10325         * sysdeps/unix/sysv/linux/access.c: New file.
10326         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
10328 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
10330         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
10331         and __WORDSIZE32_PTRDIFF_LONG.
10333 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10335         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10337 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10339         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
10340         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
10341         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
10342         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
10343         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
10345         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
10346         * sysdeps/unix/sysv/linux/truncate.c: New file.
10347         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
10348         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10349         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
10350         Remove.
10351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
10352         Likewise.
10354         * posix/tst-truncate-common.c: New file.
10355         * posix/tst-truncate.c: Use tst-truncate-common.c.
10356         * posix/tst-truncate64.c: Likewise and add LFS tests.
10357         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
10358         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
10359         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
10360         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
10361         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
10362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
10363         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
10364         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
10365         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
10366         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
10367         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
10368         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
10369         Remove.
10370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
10371         Likewise.
10373 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
10375         [BZ #20790]
10376         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
10377         to MAXLINESIZE.
10378         * sunrpc/bug20790.x: New file.
10379         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
10380         variable.
10381         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
10382         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
10384         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
10386         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
10388         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
10389         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
10390         calloc, realloc, free, memalign and __libc_memalign rather than
10391         making them optional.
10393         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
10394         for libc.so.
10396 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10398         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
10399         ptw-lseek64.
10400         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
10401         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
10402         Likewise.
10403         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
10404         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
10405         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
10406         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
10407         * sysdeps/unix/sysv/linux/lseek.c: New file.
10408         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
10409         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
10410         __libc_lseek64 from auto-generation.
10411         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10412         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
10414 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10416         * nptl/tst-basic1.c (tf, do_test): Use write_message.
10417         * nptl/tst-cleanup1.c (do_test): Likewise.
10418         * nptl/tst-cleanup3.c (do_test): Likewise.
10419         * nptl/tst-key1.c (do_test): Likewise.
10420         * nptl/tst-key2.c (tf, do_test): Likewise.
10421         * nptl/tst-key3.c (tf, do_test): Likewise.
10422         * nptl/tst-stdio1.c (do_test): Likewise.
10423         * nptl/tst-stdio2.c (do_test): Likewise.
10425         * nptl/tst-kill3.c (handler): Use write_message in place of write.
10426         * nptl/tst-kill6.c (handler): Likewise.
10427         * nptl/tst-tls2.c (CB): Likewise.
10428         * nptl/tst-tls3.c (CB): Likewise.
10430 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
10432         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
10434 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
10435             Steve Ellcey  <sellcey@caviumnetworks.com>
10437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
10438           __ASSUME_ST_INO_64_BIT as 0
10439         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
10440         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
10441           over the code where __ASSUME_ST_INO_64_BIT is used.
10442         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
10443         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
10444         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10446 2016-11-07  Florian Weimer  <fweimer@redhat.com>
10448         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10449         Document ABI exposure of the __kind offset.
10450         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10451         Mention reason for the __kind offset exposure in the ABI.
10452         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10453         Likewise.
10454         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10455         Likewise.
10456         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10457         Likewise.
10458         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
10459         (struct __pthread_mutex_s): Likewise.
10460         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10461         Likewise.
10462         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10463         Likewise.
10464         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10465         Likewise.
10466         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10467         Likewise.
10468         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10469         Likewise.
10470         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10473         (struct __pthread_mutex_s): Likewise.
10474         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10475         (struct __pthread_mutex_s): Likewise.
10476         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
10477         Likewise.
10479 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
10481         * test-skeleton.c: Document do_test usage.
10483 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
10485         * iconv/gconv.h (__gconv_info): Define __data element using a
10486         zero-length array.
10488 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
10490         * math/test-tgmath2.c: Split up test function.
10492 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10494         * Rules (tests-expected): New variable, depending on
10495         $(run-built-tests).
10496         (tests): Pass $(tests-expected) to merge-test-results.sh, not
10497         $(tests).
10499         * Rules [$(run-built-tests) = no] (tests): Do not depend on
10500         $(tests-unsupported).
10502 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10504         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10505         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
10507 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10509         [BZ #20768]
10510         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
10511         __fegetenv instead of fegetenv.
10513         [BZ #14139]
10514         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
10515         (find_files): Obtain platform name from libm-test-ulps-name and
10516         store in %pplatforms.
10517         (canonicalize_platform): Remove.
10518         (print_platforms): Use $pplatforms directly.
10519         (by_platforms): Do not allow for platforms missing from
10520         %pplatforms.
10521         * sysdeps/aarch64/libm-test-ulps-name: New file.
10522         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
10523         * sysdeps/arm/libm-test-ulps-name: Likewise.
10524         * sysdeps/generic/libm-test-ulps-name: Likewise.
10525         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
10526         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
10527         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
10528         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
10529         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
10530         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
10531         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
10532         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
10533         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
10534         * sysdeps/nios2/libm-test-ulps-name: Likewise.
10535         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
10536         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
10537         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
10538         * sysdeps/sh/libm-test-ulps-name: Likewise.
10539         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
10540         * sysdeps/tile/libm-test-ulps-name: Likewise.
10541         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
10543         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
10545         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
10546         (test-xfail-check-execstack): New variable.
10548         * sysdeps/mips/localplt.data: New file.
10550 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
10551             Steve Ellcey  <sellcey@caviumnetworks.com>
10553         * bits/wordsize.h: Add documentation.
10554         * sysdeps/aarch64/bits/wordsize.h : New file
10555         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
10556         definitions.
10557         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
10558         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
10559         with #if instead of #ifdef.
10560         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
10561         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
10562         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
10563         Add or change defines.
10564         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
10565         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10566         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
10567         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
10568         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10569         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10570         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
10571         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
10572         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
10573         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10574         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
10575         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
10576         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
10577         * sysdeps/x86/bits/wordsize.h: Likewise.
10579 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
10580             Kevin Petit  <kevin.petit@arm.com>
10582         * sysdeps/aarch64/memchr.S (__memchr): New file.
10584 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
10586         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
10588 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
10590         [BZ #19398]
10591         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
10592         $(linknamespace-symlists-tests).
10594 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
10596         * time/tst-strptime2.c: Ignore -Wformat-length warning.
10598 2016-11-02  Florian Weimer  <fweimer@redhat.com>
10599             Carlos O'Donell  <carlos@redhat.com>
10601         [Bug #20729]
10602         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
10603         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
10604         for -Os related change.
10606 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
10608         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
10610 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
10612         [BZ #19673]
10613         * manual/math.texi (Exponents and Logarithms): Correct description
10614         of clog10.
10616 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
10618         [Bz #20729]
10619         * locale/weight.h: Include libc-internal.h.
10620         * locale/weightwc.h: Likewise.
10621         * nptl/nptl_dbP.h: Likewise.
10623 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
10625         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
10626         when it is MACH_PORT_NULL.
10628 2016-10-31  Andreas Schwab  <schwab@suse.de>
10630         [BZ #20707]
10631         * posix/glob.c (glob): Initialize pglob before checking for
10632         GLOB_BRACE.  Don't call glob recursively if pattern contains no
10633         valid brace expression despite GLOB_BRACE.
10634         * posix/globtest.sh: Test it.
10636 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10638         [BZ #20729]
10639         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
10640         Define.
10641         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
10642         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
10643         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
10644         for seq2.back_us and seq1.back_us only for -Os compiles.
10645         * locale/weightwc.h (findix): Likewise.
10646         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
10647         DB_GET_FIELD_ADDRESS only for -Os compiles.
10648         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
10649         for slen only for -Os compiles.
10650         * string/strcoll_l.c (get_next_seq): Ignore
10651         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
10652         for -Os compiles.
10654         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
10655         * include/crypt.h: New file.
10657 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10659         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
10660         from test-skeleton.c.
10661         (statclass): Replace calls to write with calls to write_message.
10663 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10665         * math/math.h
10666         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
10667         New macro.
10668         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
10669         Likewise.
10670         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
10671         Likewise.
10672         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
10673         SNANL.
10674         * math/test-double.h (snan_value_MACRO): New macro.
10675         * math/test-float.h (snan_value_MACRO): Likewise.
10676         * math/test-ldouble.h (snan_value_MACRO): Likewise.
10677         * math/libm-test.inc (issignaling_test_data): Add tests of
10678         snan_value_MACRO.
10680 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10682         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
10683         behavior when eliding a lock not held by the current thread.
10684         * sysdeps/powerpc/nptl/elide.h: Likewise.
10686 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10688         [BZ #20728]
10689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
10690         branch to _exit() by a function call.
10692 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10694         * malloc/malloc.c: Update chunk layout comments.
10695         (chunk_main_arena): Update comment.
10697 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10699         * crypt/sha256.c, crypt/sha256-block.c,
10700         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
10701         sha256_process_block to __sha256_process_block.
10702         * crypt/sha512.c, crypt/sha512-block.c,
10703         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
10704         sha512_process_block to __sha512_process_block.
10706 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
10708         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
10710         * math/test-nan-overflow.c: Include stdlib.h for malloc.
10712 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
10714         [BZ #20019]
10715         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
10716         definition in unrelocated shared library.
10717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10719 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10721         [BZ #20729]
10722         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
10723         * sysdeps/unix/sysv/linux/i386/Makefile
10724         (uses-6-syscall-arguments): Define.
10725         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
10726         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
10727         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
10728         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
10729         Likewise.
10730         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
10731         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
10732         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
10733         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
10734         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
10735         (CFLAGS-fallocate64.os): Likewise.
10736         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
10737         (CFLAGS-pthread_rwlock_timedrdlock.os)
10738         (CFLAGS-pthread_rwlock_timedwrlock.o)
10739         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
10740         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
10741         (CFLAGS-sem_timedwait.os): Likewise.
10743 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10745         * elf/tst-linkall-static.c: New file.
10746         * elf/Makefile (tests-static): Add tst-linkall-static.
10747         (tst-linkall-static): Link against static libraries.
10749 2016-10-27  Florian Weimer  <fweimer@redhat.com>
10751         * malloc/malloc.c (sysmalloc): Initialize previous size field of
10752         mmaped chunks.
10754 2016-10-28  Florian Weimer  <fweimer@redhat.com>
10756         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
10757         members to mchunk_prev_size, mchunk_size.
10758         (chunk_main_arena): Reverse sense and rename from
10759         chunk_non_main_arena.
10760         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
10761         mchunk_size instead of size.
10762         (set_non_main_arena): Define.
10763         (chunksize): Use chunksize_nomask instead of direct member access.
10764         (chunksize_nomask): Define.
10765         (next_chunk): Use chunksize instead of direct member access.
10766         (prev_size, set_prev_size): Define.
10767         (prev_chunk): Use prev_size instead of direct member access.
10768         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
10769         (inuse_bit_at_offset, set_inuse_bit_at_offset)
10770         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
10771         (mchunk_prev_size, mchunk_size): Poison tokens.
10772         (unlink): Use chunksize_nomask, prev_size accessors.
10773         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
10774         (do_check_free_chunk): Use prev_size accessor.
10775         (sysmalloc): Use set_prev_size, set_head accessors.
10776         (munmap_chunk, mremap_chunk): Use prev_size accessor.
10777         (__libc_free): Use chunksize_nomask accessor.
10778         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
10779         chunk_main_arena accessors.
10780         (_int_free): Use chunksize_nomask, prev_size accessors.
10781         (malloc_consolidate): Use chunksize, prev_size accessors.
10782         (_int_realloc): Use chunksize_nomask accessor.
10783         (_int_memalign): Use set_prev_size accessor.
10784         (__malloc_info): Use chunksize_nomask accessor.
10785         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
10786         accessors.
10787         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
10788         (heap_trim): Use chunksize_nomask, prev_size accessors.
10790 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
10792         [BZ #19380]
10793         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
10794         for inexact results.
10795         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
10796         of inexact result where mpfr_subnormalize is the only inexact
10797         step.
10798         * stdlib/tst-strtod-round-data.h: Regenerated.
10799         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
10800         Define to 0.
10801         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
10803 2016-10-27  David S. Miller  <davem@davemloft.net>
10805         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
10807 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10809         * malloc/malloc.c (do_set_mallopt_check): New function.
10810         (do_set_mmap_threshold): Likewise.
10811         (do_set_mmaps_max): Likewise.
10812         (do_set_top_pad): Likewise.
10813         (do_set_perturb_byte): Likewise.
10814         (do_set_trim_threshold): Likewise.
10815         (do_set_arena_max): Likewise.
10816         (do_set_arena_test): Likewise.
10817         (__libc_mallopt): Use them.
10819 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
10821         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10822         (canonicalize): New declaration.
10823         * math/Versions (canonicalize): New libm symbol at version
10824         GLIBC_2.25.
10825         (canonicalizef): Likewise.
10826         (canonicalizel): Likewise.
10827         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
10828         * math/s_canonicalize_template.c: New file.
10829         * math/libm-test.inc: Update comment on functions tested and
10830         testing of NaN payloads.
10831         (TEST_NAN_PAYLOAD): New macro.
10832         (NO_TEST_INLINE): Update value.
10833         (XFAIL_TEST): Likewise.
10834         (ERRNO_UNCHANGED): Likewise.
10835         (ERRNO_EDOM): Likewise.
10836         (ERRNO_ERANGE): Likewise.
10837         (IGNORE_RESULT): Likewise.
10838         (NON_FINITE): Likewise.
10839         (TEST_SNAN): Likewise.
10840         (NO_TEST_MATHVEC): Likewise.
10841         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
10842         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
10843         (struct test_Ffp_b1_data): New type.
10844         (RUN_TEST_Ffp_b1): New macro.
10845         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10846         (canonicalize_test_data): New array.
10847         (canonicalize_test): New function.
10848         (main): Call canonicalize_test.
10849         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
10850         canonicalizef and canonicalizel.
10851         * manual/libm-err-tab.pl: Update comment on interfaces without
10852         ulps tabulated.
10853         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
10854         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
10855         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10856         canonicalize.
10857         (CFLAGS-nldbl-canonicalize.c): New variable.
10858         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
10859         to ...
10860         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
10861         ... here.
10862         (do_test): Also test canonicalizel.
10863         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
10864         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
10865         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
10866         file.
10867         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
10868         Use libm_hidden_def.
10869         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
10870         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
10871         (do_test): Also test canonicalizel.
10872         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
10873         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
10874         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
10875         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
10876         libm_hidden_def.
10877         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
10878         macro.
10879         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
10880         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
10881         * sysdeps/nacl/libm.abilist: Update.
10882         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10895         Likewise.
10896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10897         Likewise.
10898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10908         Likewise.
10909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10910         Likewise.
10911         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10912         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10913         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10915         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
10916         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10917         getpayload.
10918         (CFLAGS-nldbl-getpayload.c): New variable.
10920 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10922         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
10923         integer from the format string.
10925 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10927         [BZ #19473]
10928         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
10929         declarations.
10930         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
10931         weak aliases.
10932         * malloc/hooks.c (__malloc_get_state): Remove definition.
10933         (malloc_get_state): New stub implementation as
10934         compatibility symbol.
10935         (malloc_set_state): Rename from __malloc_set_state.  Turn into
10936         compat symbol.
10937         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
10938         malloc_set_state.
10939         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
10941 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10943         * iconvdata/iso646.c (enum variant): Drop illegal_var.
10944         (names): Turn into concatenation of strings.
10945         (gconv_init): Adapt iteration over names.
10947 2016-10-26  Florian Weimer  <fweimer@redhat.com>
10949         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10950         make const.
10951         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
10952         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
10953         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
10954         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
10955         character in sbconv.
10956         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
10957         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
10958         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
10960 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10962         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
10964         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
10965         (M_TRIM_THRESHOLD): Likewise.
10967         * manual/memory.texi (M_ARENA_TEST): Add documentation.
10968         (M_ARENA_MAX): Likewise.
10969         * malloc/malloc.c: Remove obsolete comment.
10971         * manual/memory.texi: Add environment variable alternatives to
10972         setting mallopt parameters.
10974 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
10976         * include/atomic.h
10977         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
10978         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
10980 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10982         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
10983         * stdlib/tst-strfrom.h: New file.
10984         * stdlib/tst-strfrom.c: New file.
10985         * stdlib/tst-strfrom-locale.c: New file.
10987         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
10988         * stdlib/bug-strtod2.c: Likewise.
10989         * stdlib/tst-strtod-round-skeleton.c: Likewise.
10990         * stdlib/tst-strtod6.c: Likewise.
10991         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
10993 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10995         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
10996         * manual/arith.texi: Document strfromd, strfromf, strfroml.
10997         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
10998         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
10999         * stdlib/stdlib.h (strfromd): New declaration.
11000         (strfromf): Likewise.
11001         (strfroml): Likewise.
11002         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11003         strfrom.
11004         * stdlib/strfromd.c: New file.
11005         * stdlib/strfromf.c: Likewise.
11006         * stdlib/strfroml.c: Likewise.
11007         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11008         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11009         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11010         * sysdeps/arm/nacl/libc.abilist: Update.
11011         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11013         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11014         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11016         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11017         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11022         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11023         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11024         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11031         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11032         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11033         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11036         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11037         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11038         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11040 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11042         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11043         instead of cmpli.
11044         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11045         instead of cmpli.
11047 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11049         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
11050         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11051         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
11052         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11053         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11054         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11056 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11058         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
11059         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11060         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
11061         SYSCALL_LL64_PRW.
11062         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11063         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
11064         __ASSUME_PRW_DUMMY_ARG.
11065         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
11066         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11067         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11068         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11069         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
11070         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
11072 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
11074         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
11076 2016-10-22  Florian Weimer  <fweimer@redhat.com>
11078         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
11079         "C++", to override a potential extern "C" directive around the
11080         header file inclusion.
11082 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
11084         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
11086 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11088         * sysdeps/powerpc/fpu/fenv_private.h:
11089         (_FPU_MASK_ALL): Rename to...
11090         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
11091         XE FPSCR bits.
11093         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
11095         (_FPU_MASK_ROUNDING): Rename to...
11096         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
11097         NI bits.
11099         (_FPU_MASK_EXCEPT_ROUND): Rename to...
11100         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
11101         bits and rounding bits.
11103         (__libc_feholdbits_ppc): New inline function to mask, set,
11104         and pontentially clear FSPCR bits, and change MSR[FE] bits.
11105         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
11106         (libc_feholdexcept_setround_ppc): Likewise.
11108         (__libc_femergeenv_ppc): New function to dynamically mask both
11109         old and new FP environments and merge.
11110         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
11111         (libc_feresetround_ppc): Likewise.
11112         (libc_feupdateenv_test_ppc): Likewise.
11113         (libc_feupdateenv_ppc): Likewise.
11115         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
11116         of ISA RN bits, and update macro names.
11117         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
11118         effectively the same as the previously mentioned function.
11120         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
11121         usage with fe_resetround_ppc.
11123         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
11124         to be used.
11125         (libc_feholdexcept_setround_ctxf): Likewise.
11126         (libc_feholdexcept_setround_ctxl): Likewise.
11128 2016-10-21  Florian Weimer  <fweimer@redhat.com>
11130         [BZ #20715]
11131         * math/math.h [__cplusplus] (iszero): Define as function template.
11132         * math/Makefile [CXX] (tests): Add test-math-iszero.
11133         (CFLAGS-test-math-iszero.cc): Set.
11134         * math/test-math-iszero.cc: New file.
11136 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #20660]
11139         * sysdeps/arm/e_sqrt.c: New file.
11140         * sysdeps/arm/e_sqrtf.c: Likewise.
11142 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
11144         [BZ #20718]
11145         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
11146         not use floating-point comparisons to test sign.
11147         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
11148         Likewise.
11150         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11151         (getpayload): New declaration.
11152         * math/Versions (getpayload): New libm symbol at version
11153         GLIBC_2.25.
11154         (getpayloadf): Likewise.
11155         (getpayloadl): Likewise.
11156         * math/Makefile (libm-calls): Add s_getpayloadF.
11157         * math/libm-test.inc: Include <nan-high-order-bit.h>.
11158         (struct test_f_f_data): Add comment.
11159         (RUN_TEST_fp_f): New macro.
11160         (RUN_TEST_LOOP_fp_f): Likewise.
11161         (getpayload_test_data): New array.
11162         (getpayload_test): New function.
11163         (main): Call getpayload_test.
11164         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
11165         descriptor.
11166         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
11167         getpayloadf and getpayloadl.
11168         * manual/libm-err-tab.pl: Update comment on interfaces without
11169         ulps tabulated.
11170         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
11171         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
11172         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
11173         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
11174         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
11175         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
11176         * sysdeps/nacl/libm.abilist: Update.
11177         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11181         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11190         Likewise.
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11192         Likewise.
11193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11194         Likewise.
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11196         Likewise.
11197         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11203         Likewise.
11204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11208         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11210 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11212         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
11213         tst-fallocate{64}.
11214         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
11215         on syscall return.
11217 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
11219         [BZ #20689]
11220         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
11221         usable.
11223 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
11225         * sysdeps/generic/nan-high-order-bit.h: New file.
11226         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
11227         * sysdeps/mips/nan-high-order-bit.h: Likewise.
11228         * sysdeps/hppa/math_private.h: Remove file.
11229         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
11230         not define here.
11231         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
11232         <nan-high-order-bit.h>.
11233         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11234         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
11235         <nan-high-order-bit.h>.
11236         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11237         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
11238         <nan-high-order-bit.h>.
11239         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11240         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
11241         <nan-high-order-bit.h>.
11242         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11243         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
11244         <nan-high-order-bit.h>.
11245         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11246         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
11247         <nan-high-order-bit.h>.
11248         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11249         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
11250         <nan-high-order-bit.h>.
11251         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11252         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
11253         <nan-high-order-bit.h>.
11254         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11255         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
11256         <nan-high-order-bit.h>.
11257         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11258         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
11259         <nan-high-order-bit.h>.
11260         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11261         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11262         <nan-high-order-bit.h>.
11263         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11264         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11265         <nan-high-order-bit.h>.
11266         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11267         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
11268         <nan-high-order-bit.h>.
11269         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11270         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
11271         <nan-high-order-bit.h>.
11272         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11273         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
11274         <nan-high-order-bit.h>.
11275         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11276         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
11277         <nan-high-order-bit.h>.
11278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11279         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11280         <nan-high-order-bit.h>.
11281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11282         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11283         <nan-high-order-bit.h>.
11284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
11286 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11288         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
11290 2016-09-22  John David Anglin  <dave.anglin@bell.net>
11292         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
11293         abort-instr.h.
11294         (EFAULT): Remove conditional define.
11295         (ENOSYS): Likewise.
11296         (atomic_compare_and_exchange_val_acq): Use instruction nullification
11297         instead of conditional branch instructions.
11299 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
11301         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11302         (totalordermag): New declaration.
11303         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
11304         New macro.
11305         * math/Versions (totalordermag): New libm symbol at version
11306         GLIBC_2.25.
11307         (totalordermagf): Likewise.
11308         (totalordermagl): Likewise.
11309         * math/Makefile (libm-calls): Add s_totalordermagF.
11310         * math/libm-test.inc (totalordermag_test_data): New array.
11311         (totalordermag_test): New function.
11312         (main): Call totalordermag_test.
11313         * math/test-tgmath.c (NCALLS): Increase to 125.
11314         (F(compile_test)): Call totalordermag.
11315         (F(totalordermag)): New function.
11316         * manual/arith.texi (FP Comparison Functions): Document
11317         totalordermag, totalordermagf and totalordermagl.
11318         * manual/libm-err-tab.pl: Update comment on interfaces without
11319         ulps tabulated.
11320         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
11321         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
11322         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
11323         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
11325         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
11326         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
11327         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11328         totalordermag.
11329         (CFLAGS-nldbl-totalordermag.c): New variable.
11330         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
11331         (do_test): Also test totalordermagl.
11332         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
11333         Likewise.
11334         * sysdeps/nacl/libm.abilist: Update.
11335         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11336         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11337         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11338         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11339         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11340         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11341         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11342         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11343         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11344         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11345         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11346         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11348         Likewise.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11352         Likewise.
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11356         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11357         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11359         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11361         Likewise.
11362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11363         Likewise.
11364         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11365         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11366         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11368 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
11370         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
11371         boolean.
11373 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
11375         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
11376         raising FE_INVALID with feraisexcept in case where part of
11377         argument is infinite, subtract that part of argument from itself.
11378         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
11379         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
11380         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11382 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11384         * math/libm-test.inc (totalorder_test_data): Add more tests.
11386 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11388         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
11389         Undefine weak_alias and add a comment why mips64 require
11390         versioning.
11392 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11394         [BZ #20647]
11395         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
11396         maximum CPUID level is less than 2.
11398 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
11400         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11401         (totalorder): New declaration.
11402         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
11403         New macro.
11404         * math/Versions (totalorder): New libm symbol at version
11405         GLIBC_2.25.
11406         (totalorderf): Likewise.
11407         (totalorderl): Likewise.
11408         * math/Makefile (libm-calls): Add s_totalorderF.
11409         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
11410         string.
11411         * math/libm-test.inc (PAYLOAD_DIG): New macro.
11412         (qnan_value_pl): Likewise.
11413         (snan_value_pl): Likewise.
11414         (qnan_value): Define using qnan_value_pl.
11415         (snan_value): Define using snan_value_pl.
11416         (struct test_ff_i_data): Add comment about which tests use this
11417         structure.
11418         (RUN_TEST_ff_b): New macro.
11419         (RUN_TEST_LOOP_ff_b): Likewise.
11420         (totalorder_test_data): New array.
11421         (totalorder_test): New function.
11422         (main): Call totalorder_test.
11423         * math/test-tgmath.c (NCALLS): Increase to 122.
11424         (F(compile_test)): Call totalorder.
11425         (F(totalorder)): New function.
11426         * manual/arith.texi (FP Comparison Functions): Document
11427         totalorder, totalorderf and totalorderl.
11428         * manual/libm-err-tab.pl: Update comment on interfaces without
11429         ulps tabulated.
11430         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
11431         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
11432         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
11433         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
11435         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
11436         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
11437         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11438         totalorder.
11439         (CFLAGS-nldbl-totalorder.c): New variable.
11440         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
11441         file.
11442         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11443         Add test-totalorderl-ldbl-128ibm.
11444         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
11445         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
11446         test-totalorderl-ldbl-96.
11447         * sysdeps/nacl/libm.abilist: Update.
11448         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11451         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11452         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11454         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11455         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11456         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11457         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11459         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11461         Likewise.
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11463         Likewise.
11464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11469         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11470         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11471         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11472         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11476         Likewise.
11477         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11478         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11481 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11483         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
11484         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
11485         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
11486         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
11487         remove ENOSYS implementation.
11488         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
11489         Consolidate all Linux implementations.
11491 2016-10-11  Florian Weimer  <fweimer@redhat.com>
11493         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
11494         * resolv/herror.c (herror): Cast away const-ness.
11495         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
11496         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
11498 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
11500         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
11501         instead of M_NAN + M_NAN.
11502         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
11504 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11506         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
11507         unused variable 'p'.
11509 2016-10-09  Alan Modra  <amodra@gmail.com>
11510             Andreas Schwab  <schwab@linux-m68k.org>
11512         [BZ #20554]
11513         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
11514         [PIC && !SHARED]: Set up PIC register for PLT call.
11516 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
11518         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
11519         conditional on value of [__FLT_EVAL_METHOD__].
11520         * math/test-iseqsig-excess-precision.c: New file.
11521         * math/Makefile (tests): Add test-iseqsig-excess-precision.
11523 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11525         * math/s_iseqsig_template.c: Include math-private.h.
11527         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
11528         * posix/tst-posix_fadvise.c: New file.
11529         * posix/tst-posix_fadvise64.c: Likewise.
11530         * posix/tst-posix_fadvise-common.c: Likewise.
11531         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11532         (__ASSUME_FADVISE64_64_6ARG): Define.
11533         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11534         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
11535         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11536         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
11537         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
11538         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
11539         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
11540         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
11541         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
11542         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
11543         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
11544         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
11546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
11547         Likewise.
11548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
11549         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
11550         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
11551         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11552         Alias to __posix_fadvise64_l32.
11553         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
11554         Add compat definition to posix_fadvise64.
11555         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
11556         Add versioned definition to posix_fadvise64.
11557         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
11558         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
11559         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
11560         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
11561         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
11563         * io/Makefile (tests): Add tst-posix_fallocate and
11564         tst-posix_fallocate64.
11565         * io/tst-posix_fallocate-common.c: New file.
11566         * io/tst-posix_fallocate.c: Likewise.
11567         * io/tst-posix_fallocate64.c: Likewise.
11568         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
11569         file.
11570         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
11571         Likewise.
11572         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
11573         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
11574         Likewise.
11575         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
11576         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
11577         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
11578         SYSCALL_LL to pass both offset and len arguments.
11579         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
11582         __libc_pwrite64 alias used by posix_fallocate64.
11584         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11585         tst-fallocate64.
11586         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11587         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11588         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11589         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11590         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11592         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11593         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11594         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11595         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11596         macro on offset argument.
11597         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11598         SYSCALL_LL64 on offset argument.
11600         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
11601         tst-fallocate64.
11602         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
11603         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
11604         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11605         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
11606         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
11607         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
11608         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
11609         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11610         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
11611         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
11612         macro on offset argument.
11613         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
11614         SYSCALL_LL64 on offset argument.
11615         * test-skeleton.c (FAIL_RET): Add macro.
11616         (FAIL_EXIT): Likewise.
11617         (FAIL_EXIT1): Likewise.
11618         (_FAIL): Likewise.
11620 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11622         [BZ #20629]
11623         resolv: Remove RES_USEBSTRING and its implementation.
11624         * resolv/resolv.h (RES_USEBSTRING): Remove.
11625         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
11626         (digitvalue, encode_bitstring, decode_bitstring): Remove.
11627         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
11628         (labellen): Remove extended label types support.
11629         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
11630         * resolv/res_init.c (res_setoptions): Likewise.
11631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11633 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11635         resolv: Remove RES_NOIP6DOTINT and its implementation.
11636         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
11637         (RES_NOIP6DOTINT): Remove.
11638         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
11639         handling.
11640         * resolv/res_debug.c (p_option): Likewise.
11641         * resolv/res_init.c (res_setoptions): Likewise.
11642         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
11644 2016-10-07  Florian Weimer  <fweimer@redhat.com>
11646         resolv: Deprecate unimplemented flags.
11647         * misc/sys/cdefs.h (__glibc_macro_warning1)
11648         (__glibc_macro_warning): Define.
11649         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
11650         (RES_KEEPTSIG): Mark as deprecated.
11651         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
11652         RES_NOCHECKNAME, RES_KEEPTSIG.
11653         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
11655 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11657         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
11658         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
11659         Use strong_alias to create symbols for glibc verison 2.19.
11661 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11663         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
11665 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11667         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
11669 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11671         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
11673 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11675         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11676         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
11677         in header for using it as type for ifunc function because __GI_* symbols
11678         for ppc32 do not target the ifunc symbols.
11679         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11681 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11683         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
11684         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
11685         libc_ifunc_hidden_def.
11686         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
11687         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
11688         Redirect ifunced function in header for using it as type of ifunc'ed
11689         function. Redefine libc_hidden_def to use fallback non ifunc'ed
11690         function for __GI_* symbol.
11691         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
11692         * include/libc-symbols.h
11693         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
11695 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11697         [BZ #20478]
11698         * sysdeps/s390/multiarch/ifunc-resolve.h
11699         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
11700         to create ifunc symbols.
11701         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
11702         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
11703         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
11704         for using it as type for ifunc function.
11705         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11706         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11707         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11708         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11709         * sysdeps/s390/multiarch/strcat.c: Likewise.
11710         * sysdeps/s390/multiarch/strchr.c: Likewise.
11711         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11712         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11713         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11714         * sysdeps/s390/multiarch/strlen.c: Likewise.
11715         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11716         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11717         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11718         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11719         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11720         * sysdeps/s390/multiarch/strspn.c: Likewise.
11721         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11722         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11723         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11724         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11725         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11726         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11727         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11728         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
11729         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
11730         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11731         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
11732         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
11734 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11736         * include/libc-symbols.h (__ifunc_resolver):
11737         New macro is used by __ifunc* macros.
11738         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
11739         depending on HAVE_GCC_IFUNC.
11740         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
11741         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
11742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11743         Redirect ifunced function in header for using as type for ifunc function.
11744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
11745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
11746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
11747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
11748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11750         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11752         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11753         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11754         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11757         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
11760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
11762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11763         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11764         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11765         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11766         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11767         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11768         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11769         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11770         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11771         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11772         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11773         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11774         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11775         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
11776         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
11778         Add libc_hidden_def() and use libc_ifunc_hidden() macro
11779         instead of libc_ifunc() macro.
11780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
11781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11783 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11785         * config.h.in (HAVE_GCC_IFUNC): New undef.
11786         * configure.ac: Add check if gcc supports attribute ifunc feature.
11787         * configure: Regenerated.
11788         * manual/install.texi: Add recommendation for gcc with
11789         indirect-function support.
11790         * INSTALL: Regenerated.
11792 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
11794         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
11795         macro.
11796         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11797         (__iseqsig): New declaration.
11798         * math/s_iseqsig_template.c: New file.
11799         * math/Versions (__iseqsigf): New libm symbol at version
11800         GLIBC_2.25.
11801         (__iseqsig): Likewise.
11802         (__iseqsigl): Likewise.
11803         * math/libm-test.inc (iseqsig_test_data): New array.
11804         (iseqsig_test): New function.
11805         (main): Call iseqsig_test.
11806         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
11807         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
11808         * manual/libm-err-tab.pl: Update comment on interfaces without
11809         ulps tabulated.
11810         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
11811         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
11812         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
11813         * sysdeps/nacl/libm.abilist: Update.
11814         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11816         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11817         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11818         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11819         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11820         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11821         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11822         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11823         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11824         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11825         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11827         Likewise.
11828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11829         Likewise.
11830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11831         Likewise.
11832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11833         Likewise.
11834         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11836         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11837         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11838         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11840         Likewise.
11841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11842         Likewise.
11843         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11844         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11845         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11847 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11849         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
11850         do_sincos_2, sloww, sloww1): Update comments.
11852         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
11853         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
11855         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
11856         K boolean and rename it.
11857         (__sin): Adjust.
11858         (__cos): Adjust.
11860 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11861             Siddhesh Poyarekar  <siddhesh@sourceware.org>
11863         * manual/nss.texi: Fix typos in the manual.
11865 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
11867         * manual/contrib.texi: Fix typos in the manual.
11869         * manual/maint.texi: Fix typos in the manual.
11871         * manual/install.texi: Fix typos in the manual.
11872         * INSTALL: Regenerated.
11874         * manual/lang.texi: Fix typos in the manual.
11876         * manual/probes.texi: Fix typos in the manual.
11878         * manual/threads.texi: Fix typos in the manual.
11880         * manual/debug.texi: Fix typos in the manual.
11882         * manual/crypt.texi: Fix typos in the manual.
11884         * manual/conf.texi: Fix typos in the manual.
11886         * manual/sysinfo.texi: Fix typos in the manual.
11888         * manual/users.texi: Fix typos in the manual.
11890         * manual/job.texi: Fix typos in the manual.
11892         * manual/process.texi: Fix typos in the manual.
11894         * manual/argp.texi: Fix typos in the manual.
11895         * manual/getopt.texi: Likewise.
11896         * manual/startup.texi: Likewise.
11898         * manual/signal.texi: Fix typos in the manual.
11900         * manual/setjmp.texi: Fix typos in the manual.
11902         * manual/resource.texi: Fix typos in the manual.
11904         * manual/time.texi: Fix typos in the manual.
11906         * manual/arith.texi: Fix typos in the manual.
11908         * manual/math.texi: Fix typos in the manual.
11910         * manual/syslog.texi: Fix typos in the manual.
11912         * manual/terminal.texi: Fix typos in the manual.
11914         * manual/socket.texi: Fix typos in the manual.
11916         * manual/filesys.texi: Fix typos in the manual.
11918         * manual/llio.texi: Fix typos in the manual.
11920         * manual/stdio.text: Fix typos in the manual.
11922 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11924         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
11925         instead of K1.
11927         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
11928         SHIFT_QUADRANT and make it bool.
11929         (do_sincos_2): Likewise.
11930         (sloww): Likewise.
11931         (sloww1): Likewise.
11932         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
11933         (__cos): Likewise.
11935 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11937         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11939 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
11941         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
11942         Define to __WORDSIZE, not conditional on [LONG_MAX ==
11943         0x7fffffffL].
11944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11946 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11948         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
11949         inline by __inline__.
11950         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
11951         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
11952         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
11953         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
11954         sigset_t from signal.h.
11955         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
11956         which is already required.
11958 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
11960         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11962 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
11964         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
11965         (struct tcp_repair_window): New type.
11967 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11969         * libio/tst-memstream3.c: Include string.h.
11971 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11973         [BZ #18241]
11974         [BZ #20181]
11975         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
11976         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
11977         write position is at the end the buffer.
11978         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
11979         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
11980         (_IO_str_seekoff): Set correct offset from negative displacement and
11981         set EINVAL for invalid ones.
11982         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
11983         buffer length.
11984         (_IO_wstr_switch_to_get_mode): New function.
11985         (_IO_wstr_seekoff): Set correct offset from negative displacement and
11986         set EINVAL for invalid ones.
11987         * libio/tst-memstream3.c: New file.
11988         * libio/tst-wmemstream3.c: Likewise.
11989         * manual/examples/memstrm.c: Remove warning when priting size_t.
11991 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
11993         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
11994         macro to use __builtin_fma.
11995         * sysdeps/x86_64/fpu/dla.h: Remove file.
11997         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11998         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
11999         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12001 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12003         [BZ #20292]
12004         * elf/Makefile (routines): Add dl-addr-obj.
12005         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12006         tst-_dl_addr_inside_object.
12007         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12008         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12009         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12010         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12011         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12012         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12013         * elf/dl-open.c: Likewise.
12014         * elf/dl-addr-obj.c: New file.
12015         * elf/tst-_dl_addr_inside_object.c: New file.
12017 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12019         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12020         <bits/iscanonical.h>.
12021         * bits/iscanonical.h: New file.
12022         * math/s_iscanonicall.c: Likewise.
12023         * math/Versions (__iscanonicall): New libm symbol at version
12024         GLIBC_2.25.
12025         * math/libm-test.inc (iscanonical_test_data): New array.
12026         (iscanonical_test): New function.
12027         (main): Call iscanonical_test.
12028         * math/Makefile (headers): Add bits/iscanonical.h.
12029         (type-ldouble-routines): Add s_iscanonicall.
12030         * manual/arith.texi (Floating Point Classes): Document
12031         iscanonical.
12032         * manual/libm-err-tab.pl: Update comment on interfaces without
12033         ulps tabulated.
12034         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12035         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12036         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12037         Likewise.
12038         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12039         test-iscanonical-ldbl-128ibm.
12040         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12041         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12042         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12043         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12044         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12045         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12046         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12048         Likewise.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12050         Likewise.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12052         Likewise.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12054         Likewise.
12055         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12056         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12058 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12060         * string/bits/string3.h: Remove C++ style comments.
12062 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12064         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
12065         instead of ternary condition.
12066         (do_sincos_2): Likewise.
12067         (__sin): Likewise.
12068         (__cos): Likewise.
12069         (slow): Likewise.
12070         (sloww): Likewise.
12071         (sloww1): Likewise.
12072         (bsloww): Likewise.
12073         (bsloww1): Likewise.
12075         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
12076         instead of ternary condition.
12077         (do_sin_slow): Likewise.
12078         (do_sincos_1): Likewise.
12079         (do_sincos_2): Likewise.
12080         (__cos): Likewise.
12081         (sloww): Likewise.
12082         (sloww1): Likewise.
12083         (sloww2): Likewise.
12084         (bsloww): Likewise.
12085         (bsloww1): Likewise.
12086         (bsloww2): Likewise.
12088         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
12089         check from here...
12090         (slow2): ... and here...
12091         (__sin): ... to here.
12093 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
12095         * math/math.h
12096         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
12097         Cast argument to its own type.
12098         * math/test-iszero-excess-precision.c: New file.
12099         * math/Makefile (tests): Add test-iszero-excess-precision.
12100         (CFLAGS-test-iszero-excess-precision.c): New variable.
12102 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
12104         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
12105         field, add err field.
12106         (__spawni_child): Report error through err member instead of pipe.
12107         (__spawnix): Likewise.
12109 2016-09-28  Zack Weinberg  <zackw@panix.com>
12111         * scripts/check-installed-headers.sh: Generalize treatment of
12112         sys/elf.h to all target architectures.
12114         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
12115         deleted typedef ucontext_t.
12117 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12119         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
12120         (__INTERNAL_SYSCALL1): Likewise.
12121         (__INTERNAL_SYSCALL2): Likewise.
12122         (__INTERNAL_SYSCALL3): Likewise.
12123         (__INTERNAL_SYSCALL4): Likewise.
12124         (__INTERNAL_SYSCALL5): Likewise.
12125         (__INTERNAL_SYSCALL6): Likewise.
12126         (__INTERNAL_SYSCALL7): Likewise.
12127         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
12128         (__INTERNAL_SYSCALL_NARGS): Likewise.
12129         (__INTERNAL_SYSCALL_DISP): Likewise.
12130         (INTERNAL_SYSCALL_CALL): Likewise.
12131         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
12132         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
12133         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
12134         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
12135         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
12136         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
12137         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
12138         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
12139         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
12140         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
12141         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
12142         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
12143         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
12145 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
12147         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
12148         macro.
12149         * math/libm-test.inc (iszero_test_data): New array.
12150         (iszero_test): New function.
12151         (main): Call iszero_test.
12152         * manual/arith.texi (Floating Point Classes): Document iszero.
12153         * manual/libm-err-tab.pl: Update comment on interfaces without
12154         ulps tabulated.
12156 2016-09-23  Zack Weinberg  <zackw@panix.com>
12158         * scripts/check-installed-headers.sh: New script.
12159         * Rules: In each directory that defines header files to be installed,
12160         run check-installed-headers.sh on them as a special test.
12161         * Makefile: Likewise for the headers installed at top level.
12163         * include/aliases.h, include/alloca.h, include/argz.h
12164         * include/arpa/nameser.h, include/arpa/nameser_compat.h
12165         * include/elf.h, include/envz.h, include/err.h
12166         * include/execinfo.h, include/fpu_control.h, include/getopt.h
12167         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
12168         * include/link.h, include/malloc.h, include/mcheck.h
12169         * include/mntent.h, include/netinet/ether.h
12170         * include/nss.h, include/obstack.h, include/printf.h
12171         * include/pty.h, include/resolv.h, include/rpc/auth.h
12172         * include/rpc/auth_des.h, include/rpc/auth_unix.h
12173         * include/rpc/clnt.h, include/rpc/des_crypt.h
12174         * include/rpc/key_prot.h, include/rpc/netdb.h
12175         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
12176         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
12177         * include/rpc/rpc_msg.h, include/rpc/svc.h
12178         * include/rpc/svc_auth.h, include/rpc/xdr.h
12179         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
12180         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
12181         * include/rpcsvc/ypupd.h, include/shadow.h
12182         * include/stdio_ext.h, include/sys/epoll.h
12183         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
12184         * include/sys/prctl.h, include/sys/profil.h
12185         * include/sys/statfs.h, include/sys/sysctl.h
12186         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
12187         * sysdeps/arm/nacl/include/bits/setjmp.h
12188         * sysdeps/mips/include/sys/asm.h
12189         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
12190         * sysdeps/unix/sysv/linux/include/sys/timex.h
12191         * sysdeps/x86/fpu/include/bits/fenv.h:
12192         Add #ifndef _ISOMAC guard around internal declarations.
12193         Add multiple-inclusion guard if not already present.
12195 2016-09-23  Zack Weinberg  <zackw@panix.com>
12197         * sysdeps/generic/sys/ucontext.h
12198         * sysdeps/arm/sys/ucontext.h
12199         * sysdeps/i386/sys/ucontext.h
12200         * sysdeps/m68k/sys/ucontext.h
12201         * sysdeps/mips/sys/ucontext.h
12202         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
12203         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
12204         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
12205         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
12206         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
12207         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
12208         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
12209         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
12210         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
12211         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
12212         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
12213         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
12214         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
12215         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
12216         Include both bits/sigcontext.h and bits/sigstack.h.
12217         Fix grammar error in comment, if present.
12219         * bits/sigstack.h
12220         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
12221         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
12222         * sysdeps/unix/sysv/linux/bits/sigstack.h
12223         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
12224         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
12225         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
12226         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
12227         * bits/sigcontext.h
12228         * sysdeps/mach/hurd/i386/bits/sigcontext.h
12229         * sysdeps/unix/sysv/linux/bits/sigcontext.h
12230         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
12231         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
12232         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
12233         as well as signal.h, if this was not already allowed.  Request
12234         definition of size_t if necessary.  Minimize semantically-null
12235         differences across files.
12237 2016-09-23  Zack Weinberg  <zackw@panix.com>
12239         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
12240         Remove all logic conditional on __need macros.  Move all the
12241         conditionally defined types to their own headers...
12242         * time/bits/types/clock_t.h: Define clock_t here.
12243         * time/bits/types/clockid_t.h: Define clockid_t here.
12244         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
12245         * time/bits/types/struct_timespec.h: Define struct timespec here.
12246         * time/bits/types/struct_timeval.h: Define struct timeval here.
12247         * time/bits/types/struct_tm.h: Define struct tm here.
12248         * time/bits/types/time_t.h: Define time_t here.
12249         * time/bits/types/timer_t.h: Define timer_t here.
12250         * time/Makefile: Install the new headers.
12252         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
12253         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
12254         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
12255         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
12256         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
12257         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
12258         * sysdeps/unix/sysv/linux/bits/resource.h
12259         * sysdeps/unix/sysv/linux/bits/timex.h
12260         * sysdeps/unix/sysv/linux/mips/bits/resource.h
12261         * sysdeps/unix/sysv/linux/net/ppp_defs.h
12262         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
12263         * sysdeps/unix/sysv/linux/sys/acct.h
12264         * sysdeps/unix/sysv/linux/sys/timerfd.h
12265         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
12266         * time/sys/time.h, time/sys/timeb.h
12267         Use the new bits/types headers.
12269         * include/time.h: Remove __need logic.
12270         * include/bits/time.h
12271         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
12272         * include/bits/types/time_t.h, include/bits/types/timer_t.h
12273         * include/bits/types/struct_itimerspec.h
12274         * include/bits/types/struct_timespec.h
12275         * include/bits/types/struct_timeval.h
12276         * include/bits/types/struct_tm.h:
12277         New wrapper headers.
12279 2016-09-23  Zack Weinberg  <zackw@panix.com>
12281         * sysdeps/mach/hurd/net/if_ppp.h
12282         * sysdeps/unix/sysv/linux/net/if_ppp.h:
12283         Only define struct ifpppstatsreq and struct ifpppcstatsreq
12284         if __USE_MISC is defined, to ensure struct ifreq is declared.
12286         * inet/netinet/ether.h: Condition all function prototypes
12287         on __USE_MISC, to ensure struct ether_addr is declared.
12289         * socket/bits/types/struct_osockaddr.h: New header.
12290         * include/bits/types/struct_osockaddr.h: New wrapper.
12291         * socket/Makefile: Install the new header.
12292         * socket/sys/socket.h, inet/protocols/talkd.h:
12293         Refer to bits/types/struct_osockaddr.h for the definition of
12294         struct osockaddr.
12296 2016-09-23  Zack Weinberg  <zackw@panix.com>
12298         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
12299         * inet/protocols/routed.h, inet/protocols/talkd.h
12300         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
12301         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
12302         * sysdeps/generic/netinet/if_ether.h
12303         * sysdeps/generic/netinet/in_systm.h
12304         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
12305         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12306         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
12307         * sysdeps/mach/hurd/net/if_arp.h
12308         * sysdeps/mach/hurd/net/if_ppp.h
12309         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
12310         * sysdeps/unix/sysv/linux/bits/in.h
12311         * sysdeps/unix/sysv/linux/net/ethernet.h
12312         * sysdeps/unix/sysv/linux/net/if_arp.h
12313         * sysdeps/unix/sysv/linux/net/if_ppp.h
12314         * sysdeps/unix/sysv/linux/net/if_shaper.h
12315         * sysdeps/unix/sysv/linux/net/route.h
12316         * sysdeps/unix/sysv/linux/netinet/if_ether.h
12317         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12318         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12319         * sysdeps/unix/sysv/linux/netipx/ipx.h
12320         * sysdeps/unix/sysv/linux/sys/acct.h
12321         * include/arpa/nameser.h, include/resolv.h:
12322         Change all uses of u_char to unsigned char,
12323         u_short and ushort to unsigned short, u_int and uint to unsigned int,
12324         u_long and ulong to unsigned long, u_int8_t to uint8_t,
12325         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
12326         and u_int64_t and u_quad_t to uint64_t.
12328         * mach/sys/reboot.h: Remove two casts of integer literals
12329         to the types they already have.
12331         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
12332         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
12333         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
12334         from referring to 'unsigned char' to 'uint8_t' for consistency with
12335         the macro definition below.
12337         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
12338         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
12339         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
12340         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
12341         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
12342         * sysdeps/unix/sysv/linux/sys/acct.h
12343         * include/arpa/nameser.h, include/resolv.h:
12344         Fix indentation disrupted by mechanical edits.
12346         * inet/protocols/talkd.h, resolv/arpa/nameser.h
12347         * sysdeps/generic/netinet/in_systm.h
12348         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
12349         * sysdeps/gnu/netinet/udp.h
12350         * sysdeps/unix/sysv/linux/net/ethernet.h
12351         * sysdeps/unix/sysv/linux/net/if_arp.h
12352         * sysdeps/unix/sysv/linux/net/if_ppp.h
12353         * sysdeps/unix/sysv/linux/net/if_shaper.h
12354         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
12355         * sysdeps/unix/sysv/linux/netinet/if_tr.h
12356         * sysdeps/unix/sysv/linux/netipx/ipx.h
12357         * sysdeps/unix/sysv/linux/sys/acct.h
12358         Include stdint.h for uintNN_t definitions.
12359         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
12361 2016-09-23  Zack Weinberg  <zackw@panix.com>
12363         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
12364         * sysdeps/unix/sysv/linux/netrose/rose.h:
12365         Include sys/socket.h and netax25/ax25.h.
12367         * inet/netinet/icmp6.h, inet/netinet/ip6.h
12368         * resolv/arpa/nameser_compat.h:
12369         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
12371         * sysdeps/unix/sysv/linux/sys/quota.h:
12372         Use __caddr_t instead of caddr_t.
12373         * sysdeps/unix/sysv/linux/sys/timerfd.h:
12374         Use __clockid_t instead of clockid_t.
12376         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
12378         * argp/argp.h: Check whether _LIBC is defined before expanding it.
12379         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
12380         expanding it.
12382         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
12383         Define __glibc_c99_flexarr_available to 1 when the compiler
12384         supports C99-compatible flexible array members, 0 otherwise.
12385         * sysdeps/unix/sysv/linux/bits/socket.h
12386         * sysdeps/mach/hurd/bits/socket.h
12387         * bits/socket.h: Use __glibc_c99_flexarr_available in
12388         definitions of struct cmsghdr and CMSG_DATA.
12390 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12392         * manual/nss.texi (NSS Modules Interface): Adjust function return
12393         type to enum nss_status.  Document errnop argument.  Clarify
12394         h_errnop semantics.  Fix cross-reference formatting.
12395         (NSS Module Function Internals): Mention that *errnop needs to be
12396         set on failure, but not to zero.
12398 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12400         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
12401         (get_random_name): New functions.
12402         (check_wrapper_flags_mode): Use linkat to give the new file a name
12403         determined by get_random_name.
12404         (do_test): Add calls to test open64 and openat64.
12406 2016-09-23  Florian Weimer  <fweimer@redhat.com>
12408         * test-skeleton.c: Remove #include <stdarg.h>.
12410 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
12412         [BZ #19826]
12413         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
12414         initialization of static TLS entries.
12415         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
12416         * nptl/allocatestack.c (init_one_static_tls): Likewise.
12418 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12420         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
12421         _hurd_malloc_fork_prepare.
12422         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
12423         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
12424         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
12425         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
12426         (_hurd_fork_child_hook): Drop malloc_fork_child.
12427         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
12428         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
12429         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
12430         after locking locks (notably hurd_dtable_lock). Call
12431         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
12432         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
12433         __malloc_fork_unlock_child.
12434         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
12436 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
12438         * soft-fp/extendhftf2.c: New.
12439         * soft-fp/fixhfti.c: Likewise.
12440         * soft-fp/fixunshfti.c: Likewise.
12441         * soft-fp/floattihf.c: Likewise.
12442         * soft-fp/floatuntihf.c: Likewise.
12443         * soft-fp/half.h: Likewise.
12444         * soft-fp/trunctfhf2.c: Likewise.
12446 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
12448         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
12449         macro.
12450         * math/libm-test.inc (issubnormal_test_data): New array.
12451         (issubnormal_test): New function.
12452         * manual/arith.texi (Floating Point Classes): Document
12453         issubnormal.
12454         * manual/libm-err-tab.pl: Update comment on interfaces without
12455         ulps tabulated.
12457         * sysdeps/generic/stdint.h: Define
12458         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12459         <bits/libc-header-start.h> instead of including <features.h>.
12460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
12461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
12462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
12463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
12464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
12465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
12466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
12467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
12468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
12469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
12470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
12471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
12472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
12473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
12474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
12475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
12476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
12477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
12478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
12479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
12480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
12481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
12482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
12483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
12484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
12485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
12486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
12487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
12488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
12489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
12490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
12491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
12492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
12493         * manual/arith.texi (Integers): Document these macros for types
12494         specified by width properties.
12495         * manual/lang.texi (Width of Type): Document these macros for
12496         other standard typedefs.
12497         * stdlib/tst-width-stdint.c: New file.
12498         * stdlib/Makefile (tests): Add tst-width-stdint.
12500 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12502         [BZ #20016]
12503         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
12504         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
12505         Move ...
12506         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
12507         ... here, as compatibility symbols in a new file.
12508         * resolv/Makefile (libresolv-routines): Add compat-hooks.
12509         * resolv/res_init.c (__res_vinit): Adjust member names.
12510         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
12511         * resolv/resolv.h (res_sendhookact, res_send_qhook)
12512         (res_send_rhook): Remove.
12513         (struct __res_state): Rename qhook, rhook members.
12515 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12517         malloc: Use __libc_lock wrappers.
12518         * malloc/arena.c (list_lock, free_list_lock): Define using
12519         __libc_lock_define_initialized.
12520         (arena_lock): Adjust formatting.
12521         * malloc/malloc.c (struct malloc_state): Define mutex using
12522         __libc_lock_define.
12523         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
12524         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
12525         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
12526         (mutex_unlock, mutex_trylock): Remove.
12527         (__pthread_initialize): Remove unused macro.
12528         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
12529         (mutex_unlock, mutex_trylock): Remove.
12531 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12533         [BZ #20592]
12534         Remove RR type classification macros.
12535         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
12536         (ns_t_udp_p, ns_t_xfr_p): Remove.
12538 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12540         Remove misleading version information.
12541         * resolv/arpa/nameser.h (__NAMESER): Remove.
12542         * resolv/arpa/nameser_compat.h (__BIND): Remove.
12544 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12546         Remove the always-defined BIND_4_COMPAT macro.
12547         * resolv/arpa/nameser.h: Unconditionally include
12548         <arpa/nameser_compat.h>.
12549         (BIND_4_COMPAT): Remove.
12550         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
12552 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12554         [BZ #20591]
12555         Remove obsolete DNSSEC support.
12556         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
12557         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
12558         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
12559         (ns_verify_tcp, ns_verify_tcp_init): Remove.
12560         (ns_cert_types): Add comment.
12561         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
12562         separately.
12563         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
12564         (dst_s_dns_key_id): Remove.
12565         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
12566         variables.
12568 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12570         [BZ #20524]
12571         * manual/string.texi (String/Array Comparison): Clarify the
12572         strverscmp behavior.
12574 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12576         * test-skeleton.c (xasprintf): Add function.
12577         * io/tst-open-tmpfile.c: New test.
12578         * io/Makefile (tests): Add it.
12580 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12582         Avoid running $(CXX) during build to obtain header file paths.
12583         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
12584         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
12585         * Makerules (cstdlib, cmath): Remove variables.  Use
12586         $(c++-cstdlib-header), $(c++-cmath-header) instead.
12587         * configure: Regenerate.
12589 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12591         * Makeconfig (all-object-suffixes): Include .op only if
12592         $(build-profile).
12594 2016-09-21  Florian Weimer  <fweimer@redhat.com>
12596         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
12597         conditionals.  Do not define PATH_MAX.
12599 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12601         * posix/Makefile (tests): Add tst-spawn3.
12602         * posix/tst-spawn3.c: New file.
12603         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
12604         if it is already opened for open action.
12606         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
12607         all signals when executing the clone vfork child.
12608         (SIGALL_SET): Remove macro.
12610         * nptl/Makefile (tests): Add tst-exec5.
12611         * nptl/tst-exec5.c: New file.
12612         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
12613         asynchronous cancellation.
12615 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12617         * hurd/exc2signal.c: #include <hurd/signal.h>
12618         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
12619         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
12620         accordingly.
12621         * mach/mach_error.c (mach_error): Fix old-style function definition.
12622         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
12624 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12626         * math/Makefile (libm-calls): Remove s_nanF.
12627         (gen-libm-calls): Add s_nanF.
12629         * math/s_nan.c: Refactor into ...
12630         * math/s_nan_template.c: New file.
12632         * math/s_nanf.c: Removed.
12633         * math/s_nanl.c: Removed.
12634         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12635         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
12637         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
12638         (LDOUBLE_nanl_libm_version): New macro.
12640         * sysdeps/generic/math-type-macros-double.h:
12641         (M_STRTO_NAN): New macro.
12642         * sysdeps/generic/math-type-macros-float.h: Likewise.
12643         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12645         * sysdeps/generic/math-type-macros.h: Document
12646         M_STRTO_NAN.
12648 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12650         * math/s_nanf.c: Remove __nanf undef.
12651         * math/s_nan.c: Remove __nan undef.
12652         * math/s_nanl.c: Remove __nanl undef.
12654         * sysdeps/generic/math_private.h (__nan): Remove macro
12655         override.
12656         (__nanf): Likewise.
12657         (__nanl): Likewise.
12659 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12661         * math/Makefile (gen-all-calls): New variable.
12662         (generated): Replace gen-libm-calls with gen-all-calls.
12663         (gen-libm-templates.stmp): Likewise.  Also, ensure
12664         the output directory exists or is created and add
12665         dependency on the Makefile.
12666         (calls): Move s_ldexpF into gen-calls.
12667         (gen-calls): New variable.
12669         * math/s_ldexpf.c: Removed.
12670         * math/s_ldexpl.c: Removed.
12671         * math/s_ldexp.c: Refactored into ...
12672         * math/s_ldexp_template.c: New file.
12674         * sysdeps/generic/math-type-macros-double.h: Remove
12675         redundant fall-through definition of declare_mgen_alias.
12676         (declare_mgen_alias_2): New macro.
12678         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
12679         New macro for function aliased to two exported symbols.
12681         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
12682         new template file.
12683         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12685 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12687         * Makeconfig (all-object-suffixes): Remove .og.
12688         * Makerules (elide-routines.og): Remove.
12689         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
12690         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
12691         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
12693 2016-09-20  Florian Weimer  <fweimer@redhat.com>
12695         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
12696         .os objects.
12698 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12700         [BZ #20615]
12701         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
12702         fpu directory by non-fpu.
12703         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
12704         on non-fpu directory from a fpu directory.
12706 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
12708         * include/limits.h: Define
12709         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12710         <bits/libc-header-start.h> instead of including <features.h>.
12711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
12712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
12713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
12714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
12715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
12716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
12717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
12718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
12719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
12721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
12722         * manual/lang.texi (Width of Type): Document these macros.
12723         * stdlib/tst-width.c: New file.
12724         * stdlib/Makefile (tests): Add tst-width.
12726 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12728         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
12729         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
12731 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12733         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
12734         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12735         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12737 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12739         [BZ #18243]
12740         * rt/Makefile (test): Add tst-shm-cancel.
12741         * rt/tst-shm-cancel.c: New file.
12742         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
12744         [BZ #18243]
12745         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
12746         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
12747         definition.
12748         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
12749         uncontended case.
12750         * nptl/sem_wait.c (__new_sem_wait): Likewise.
12751         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
12752         (tf): Fix check for uncontended case.
12753         (do_test): Likewise.
12754         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
12755         (tf): Fix check for uncontended case.
12756         (do_test): Likewise.
12757         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
12758         (tf): Fix check for uncontended case.
12759         (do_test): Likewise.
12760         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
12761         (tf): Fix check for uncontended case.
12762         (do_test): Likewise.
12764         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
12765         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
12767         [BZ #15765]
12768         * nptl/Makefile (tests): Add tst-sem16.
12769         * nptl/tst-sem16.c: New file.
12770         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
12772         * nptl/sem_open.c (sem_open): Init pad value to 0.
12773         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
12774         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
12776 2016-09-15  Florian Weimer  <fweimer@redhat.com>
12778         [BZ #20611]
12779         * inet/Makefile (routines): Add inet6_scopeid_pton.
12780         (tests): Add tst-inet6_scopeid_pton.
12781         * inet/inet6_scopeid_pton.c: New file.
12782         * inet/net-internal.h: Likewise.
12783         * inet/tst-inet6_scopeid_pton.c: New test.
12784         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
12785         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
12786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12788 2016-09-14  Florian Weimer  <fweimer@redhat.com>
12790         Remove support for compiling wrappers with PTW.
12791         * sysdeps/nptl/Makeconfig: Drop ptw- support.
12792         * nptl/Makefile (pthread-compat-wrappers): Define.
12793         (libpthread-routines): Use pthread-compat-wrappers.
12794         * sysdeps/unix/sysv/linux/alpha/Makefile
12795         (libpthread-routines, libpthread-shared-only-routines): Remove
12796         ptw- prefix.
12797         * sysdeps/s390/nptl/Makefile
12798         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12799         * sysdeps/ia64/nptl/Makefile
12800         (libpthread-routines, libpthread-shared-only-routines): Likewise.
12801         * sysdeps/nacl/Makefile (libpthread-routines): Use
12802         pthread-compat-wrappers to filter the routines list instead of the
12803         ptw- prefix.
12805 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12807         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
12808         with L() and remove explicit suffix, convert real literals
12809         which can be equivalentally substituted with integers, and
12810         transform -L(x) to L(-x).
12812         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12813         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12814         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12815         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12816         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12817         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12818         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12819         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12820         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12821         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12822         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12823         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12824         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12825         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12826         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12827         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12828         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12829         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12830         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12831         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12832         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12833         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12834         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12835         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12836         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12838         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12839         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12840         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12842         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12844         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12845         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12846         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12847         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12848         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12849         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12852         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12853         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12854         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12855         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12856         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12857         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12860         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12861         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12863 2016-09-13  Florian Weimer  <fweimer@redhat.com>
12865         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
12867 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12869         * malloc/Makefile (tests): Remove individual static test names
12870         and just add all of tests-static.
12872         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
12874 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
12876         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
12877         file.
12879         * sysdeps/sparc/fpu/fegetmode.c: New file.
12880         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12882         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
12883         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
12885         * sysdeps/s390/fpu/fegetmode.c: New file.
12886         * sysdeps/s390/fpu/fesetmode.c: Likewise.
12888         * sysdeps/powerpc/fpu/fegetmode.c: New file.
12889         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
12890         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
12891         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
12892         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
12893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
12895         * sysdeps/mips/fpu/fegetmode.c: New file.
12896         * sysdeps/mips/fpu/fesetmode.c: Likewise.
12898         * sysdeps/m68k/fpu/fegetmode.c: New file.
12899         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
12901         * sysdeps/ia64/fpu/fegetmode.c: New file.
12902         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
12904         * sysdeps/hppa/fpu/fegetmode.c: New file.
12905         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
12907         * sysdeps/arm/fegetmode.c: New file.
12908         * sysdeps/arm/fesetmode.c: Likewise.
12910         * sysdeps/alpha/fpu/fegetmode.c: New file.
12911         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
12913         * sysdeps/aarch64/fpu/fegetmode.c: New file.
12914         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
12916         * math/fegetmode.c: New file.
12917         * math/fesetmode.c: Likewise.
12918         * sysdeps/i386/fpu/fegetmode.c: Likewise.
12919         * sysdeps/i386/fpu/fesetmode.c: Likewise.
12920         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
12921         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
12922         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
12923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
12924         declaration.
12925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
12926         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
12927         typedef.
12928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12929         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12930         (femode_t): New typedef.
12931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12932         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12933         (femode_t): New typedef.
12934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12935         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12936         (femode_t): New typedef.
12937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12938         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12939         (femode_t): New typedef.
12940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12941         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12942         (femode_t): New typedef.
12943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12944         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12945         (femode_t): New typedef.
12946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12947         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12948         (femode_t): New typedef.
12949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12950         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12951         (femode_t): New typedef.
12952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12953         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12954         (femode_t): New typedef.
12955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12956         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12957         (femode_t): New typedef.
12958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
12959         declaration.
12960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12961         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12962         (femode_t): New typedef.
12963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12964         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12965         (femode_t): New typedef.
12966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12967         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12968         (femode_t): New typedef.
12969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12970         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12971         (femode_t): New typedef.
12972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12973         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12974         (femode_t): New typedef.
12975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
12976         * manual/arith.texi (FE_DFL_MODE): Document macro.
12977         (fegetmode): Document function.
12978         (fesetmode): Likewise.
12979         * math/Versions (fegetmode): New libm symbol at version
12980         GLIBC_2.25.
12981         (fesetmode): Likewise.
12982         * math/Makefile (libm-support): Add fegetmode and fesetmode.
12983         (tests): Add test-femode and test-femode-traps.
12984         * math/test-femode-traps.c: New file.
12985         * math/test-femode.c: Likewise.
12986         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
12987         alias for __fe_dfl_env.
12988         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
12989         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
12990         (__fe_dfl_mode): Likewise.
12991         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
12992         version GLIBC_2.25.
12993         * sysdeps/nacl/libm.abilist: Update.
12994         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12995         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12996         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12997         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12998         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12999         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13000         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13002         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13003         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13005         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13013         Likewise.
13014         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13015         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13016         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13017         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13018         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13020         Likewise.
13021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13022         Likewise.
13023         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13025         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13027 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13029         [BZ #20495]
13030         [BZ #20508]
13031         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13032         processors, set Use_dl_runtime_resolve_slow and set
13033         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13034         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13035         New.
13036         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13037         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13038         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13039         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13040         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13041         if Use_dl_runtime_resolve_opt is set.  Use
13042         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13043         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13044         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13045         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13046         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13047         New.
13048         (_dl_runtime_resolve_opt): Likewise.
13049         (_dl_runtime_profile): Define only if _dl_runtime_profile is
13050         defined.
13052 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13054         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
13055         __libc_memalign with "+ RELA R_390_GLOB_DAT".
13057 2016-09-06  Florian Weimer  <fweimer@redhat.com>
13059         Convert malloc to __libc_lock.  Automated part, using this Perl
13060         s/// command:
13061           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
13062             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
13063         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
13064         conversion.
13066 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
13068         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
13069         (linknamespace-symlists-tests): Likewise.
13070         (linknamespace-header-tests): Likewise.
13072 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
13074         [BZ #19810]
13075         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
13076         * elf/tst-noload.c: New test case.
13077         * elf/Makefile (tests): Add tst-noload.
13079 2016-09-02  Roland McGrath  <roland@hack.frob.com>
13081         * sysdeps/nacl/dup.c: Add libc_hidden_def.
13083         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
13084         not any more.
13086         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
13088 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13090         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
13091         (do_cos_slow): Likewise.
13092         (do_sin): Likewise.
13093         (do_sin_slow): Likewise.
13094         (slow): Likewise.
13095         (slow1): Likewise.
13096         (slow2): Likewise.
13097         (sloww): Likewise.
13098         (sloww1): Likewise.
13099         (sloww2): Likewise.
13100         (bsloww): Likewise.
13101         (bsloww1): Likewise.
13102         (bsloww2): Likewise.
13103         (cslow2): Likewise.
13105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
13107         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
13108         arguments.  Consolidate input partitioning from callers here.
13109         (do_cos_slow): Likewise.
13110         (do_sin): Likewise.
13111         (do_sin_slow): Likewise.
13112         (do_sincos_1): Remove the no longer necessary input partitioning.
13113         (do_sincos_2): Likewise.
13114         (__sin): Likewise.
13115         (__cos): Likewise.
13116         (slow1): Likewise.
13117         (slow2): Likewise.
13118         (sloww1): Likewise.
13119         (sloww2): Likewise.
13120         (bsloww1): Likewise.
13121         (bsloww2): Likewise.
13122         (cslow2): Likewise.
13124 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13126         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
13127         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
13128         outside of allocated array.
13130 2016-09-02  Florian Weimer  <fweimer@redhat.com>
13132         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
13133         instead of MB_CUR_MAX to avoid variable-length array.
13135 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13137         * math/Makefile (libm-calls): Remove k_rem_pio2F.
13138         (type-double-routines): Add k_rem_pio2.
13139         (type-float-routines): Add k_rem_pio2f.
13141         * sysdeps/generic/math_private.h:
13142         (__kernel_rem_pio2l): Removed.
13144         * math/k_rem_pio2l.c: Removed.
13145         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
13146         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
13147         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
13148         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
13150 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13152         * math/Makefile (gen-libm-calls): Add s_fmin
13153         (libm-calls): Remove above.
13155         * math/s_fmin.c: Refactor into ...
13156         * math/s_fmin_template.c: New file.
13158         * math/s_fminf.c: Removed.
13159         * math/s_fminl.c: Removed.
13160         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13161         (LDOUBLE_fmin_libm_version): New macro.
13163         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
13164         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
13166 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13168         * math/Makefile: (gen-libm-calls): Add s_fmax.
13169         (libm-calls): Remove above.
13171         * math/s_fmax.c: Refactor into ...
13172         * math/s_fmax_template.c: New file.
13173         * math/s_fmaxf.c: Removed.
13174         * math/s_fmaxl.c: Removed.
13176         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13177         (LDOUBLE_fmaxl_libm_version): New macro.
13179         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
13180         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
13182         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
13183         s_fmin.c to pick the aarch64 version of the file.
13184         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
13185         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
13187 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13189         * math/Makefile: (gen-libm-calls): Add s_nextdown.
13190         (libm-calls): Remove above.
13192         * math/s_nextdown.c: Refactor into ...
13193         * math/s_nextdown_template.c: New file.
13194         * math/s_nextdownf.c: Removed.
13195         * math/s_nextdownl.c: Removed.
13197         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
13199 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13201         * math/Makefile (gen-libm-calls): Add s_fdim.
13202         (libm-calls): Move to above.
13204         * math/s_fdim.c: Renamed and refactored into to ...
13205         * math/s_fdim_template.c: New file.
13206         * math/s_fdiml.c: Removed.
13207         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
13208         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
13210         * sysdeps/generic/math-type-macros-double.h:
13211         (declare_mgen_alias): Don't declare if already declared.
13212         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
13213         Likewise.
13215         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13216         (declare_mgen_alias): Don't declare if already declared.
13217         (M_LIBM_NEED_COMPAT): Likewise.
13218         (declare_mgen_libm_compat): Likewise.
13219         (LDOUBLE_fdiml_libm_version): New macro.
13221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13222         Include math/s_fdim.c now that ldbl-opt version is not needed.
13223         (declare_mgen_alias): New macro to disable aliasing.
13225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
13226         (declare_mgen_alias): Likewise.
13227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
13228         (declare_mgen_alias): Likewise.
13229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
13230         (declare_mgen_alias): Likewise.
13231         (M_LIBM_NEED_COMPAT): Likewise.
13233 2016-09-01  Florian Weimer  <fweimer@redhat.com>
13235         [BZ #20525]
13236         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
13237         Include <linux/quota.h>.
13238         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
13239         and btodb.
13240         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
13241         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
13242         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
13243         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
13244         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
13245         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
13246         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
13247         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
13248         types.
13249         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
13250         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
13252 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13254         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
13255         (gammal_positive): Fix spacing.
13256         (__ieee754_gammal_r): Likewise.
13258 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13260         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
13261         (_Float128): Define as long double, always.
13262         (L): Apply long double type suffix, always.
13264         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
13265         _Float128, excepting comments.
13267         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13268         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13269         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13270         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13273         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13274         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13275         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13276         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
13277         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13278         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13279         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13280         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13281         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13282         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13283         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13284         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13285         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13286         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13287         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13288         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13289         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13290         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13291         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13293         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13294         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13295         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13296         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13297         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13298         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13299         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13300         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13301         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13302         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13303         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13304         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13305         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13307         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13308         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13309         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13310         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13311         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13312         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13313         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13314         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13315         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13316         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13317         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13318         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13319         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13321         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13322         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13323         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13324         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13325         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13326         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13327         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13328         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13329         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13333         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13334         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13336         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
13337         _Float128, and include math_private.h.
13338         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
13341         long double semantics.
13342         (_Float128): Likewise.
13343         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
13344         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13345         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13346         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13348 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13350         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
13351         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
13352         * sysdeps/s390/configure: Regenerated.
13353         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
13354         instruction for raising over-/underflow if z196 zarch is supported
13355         by default.
13356         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
13358 2016-08-30  Svante Signell  <svante.signell@gmail.com>
13360         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
13361         it point to a dumb buffer for RPC to fill it.
13363 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13365         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
13366         instead of if/else.
13367         (do_sin_slow): Likewise.
13368         (do_sincos_1): Use fabs instead of if/else.
13369         (do_sincos_2): Likewise.
13370         (__sin): Likewise.
13371         (__cos): Likewise.
13372         (slow2): Likewise.
13373         (sloww): Likewise.
13374         (sloww1): Likewise.  Drop argument M.
13375         (sloww2): Use fabs instead of if/else.
13376         (bsloww): Likewise.
13377         (bsloww1): Likewise.
13378         (bsloww2): Likewise.
13380         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
13381         fall through comment.
13382         (do_sincos_1): Likewise.
13384         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
13385         Consolidate switch cases 0 and 2.
13387 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13389         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
13390         (libm-calls): Remove the above.
13392         * math/s_cexp_template.c: Update using type-generic macros.
13393         * math/s_clog10_template.c: Likewise.
13394         * math/s_cpow_template.c: Likewise.
13395         * math/s_clog_template.c: Likewise.
13396         * math/s_cproj_template.c: Likewise.
13397         * math/s_csqrt_template.c: Likewise.
13399         * math/s_cexp.c: Removed.
13400         * math/s_cexpf.c: Removed.
13401         * math/s_cexpl.c: Removed.
13402         * math/s_clog10.c: Removed.
13403         * math/s_clog10f.c: Removed.
13404         * math/s_clog10l.c: Removed.
13405         * math/s_cpow.c: Removed.
13406         * math/s_cpowf.c: Removed.
13407         * math/s_cpowl.c: Removed.
13408         * math/s_clog.c: Removed.
13409         * math/s_clogf.c: Removed.
13410         * math/s_clogl.c: Removed.
13411         * math/s_cproj.c: Removed.
13412         * math/s_cprojf.c: Removed.
13413         * math/s_cprojl.c: Removed.
13414         * math/s_csqrt.c: Removed.
13415         * math/s_csqrtf.c: Removed.
13416         * math/s_csqrtl.c: Removed.
13418         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
13419         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
13420         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
13421         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
13422         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
13423         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
13425         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
13426         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
13427         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
13428         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
13429         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
13430         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
13431         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
13432         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
13433         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
13434         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
13435         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
13437         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
13438         version.
13440         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
13441         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
13442         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
13443         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
13445 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13447         * s_cexp_template.c: Copy of s_cexp.c.
13448         * s_clog_template.c: Copy of s_clog.c.
13449         * s_clog10_template.c: Copy of s_clog10.c.
13450         * s_cpow_template.c: Copy of s_cpow.c.
13451         * s_cproj_template.c: Copy of s_cproj.c.
13452         * s_csqrt_template.c: Copy of s_csqrt.c.
13454 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13456         [BZ #20517]
13457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
13458         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
13459         exported.
13461 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
13463         * math/fetestexceptflag.c: New file.
13464         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
13465         Stefan Liebler.
13466         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13467         (fetestexceptflag): New function declaration.
13468         * manual/arith.texi (fetestexceptflag): Document function.
13469         * math/Versions (fetestexceptflag): New libm symbol at version
13470         GLIBC_2.25.
13471         * math/Makefile (libm-support): Add fetestexceptflag.
13472         (tests): Add test-fetestexceptflag.
13473         * math/test-fetestexceptflag.c: New file.
13474         * sysdeps/nacl/libm.abilist: Update.
13475         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13476         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13477         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13478         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13479         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13480         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13481         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13482         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13483         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13484         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13485         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13486         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13488         Likewise.
13489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13490         Likewise.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13492         Likewise.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13494         Likewise.
13495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13496         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13497         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13499         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13501         Likewise.
13502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13505         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13506         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13508 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13510         [BZ #20432]
13511         Avoid strong references to malloc-internal symbols when linking
13512         statically, to support statically interposed mallocs.
13513         * include/libc-symbols.h (call_function_static_weak): New macro.
13514         * malloc/Makefile (tests): Add tst-interpose-nothread,
13515         tst-interpose-thread, tst-interpose-static-nothread,
13516         tst-interpose-static-thread.
13517         (tests-static): Add tst-interpose-static-nothread,
13518         tst-interpose-static-thread.
13519         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
13520         tst-interpose-aux-thread.o.
13521         (test-extras): Add tst-interpose-aux-nothread,
13522         tst-interpose-aux-thread.
13523         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
13524         tst-interpose-aux-nothread.o.
13525         (tst-interpose-thread, tst-interpose-static-thread): Link with
13526         tst-interpose-aux-thread.o and libthread.
13527         * malloc/tst-interpose-aux-nothread.c: New file.
13528         * malloc/tst-interpose-aux-thread.c: Likewise.
13529         * malloc/tst-interpose-aux.c: Likewise.
13530         * malloc/tst-interpose-aux.h: Likewise.
13531         * malloc/tst-interpose-nothread.c: Likewise.
13532         * malloc/tst-interpose-skeleton.c: Likewise.
13533         * malloc/tst-interpose-static-nothread.c: Likewise.
13534         * malloc/tst-interpose-static-thread.c: Likewise.
13535         * malloc/tst-interpose-thread.c: Likewise.
13536         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
13537         * sysdeps/mach/hurd/fork.c (__fork): Only call
13538         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13539         __malloc_fork_unlock_child if defined.
13540         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13542 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13544         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
13545         timespec C99 designated initialization.
13547 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13549         [BZ #19946]
13550         Avoid expected SIGALRM signals.
13551         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
13552         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
13553         (xpthread_create, xpthread_detach, xpthread_join)
13554         (delayed_exit_thread, delayed_exit): New functions.
13555         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
13556         (tf): Use xpthread_cond_wait.
13557         (do_test): Likewise.  Replace alarm with delayed_exit.
13558         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13559         (do_test): Call delayed_exit.  Report failure.
13560         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13561         (do_test): Call delayed_exit.
13562         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13563         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
13564         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13565         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
13566         error.
13567         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
13568         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
13569         error.
13570         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
13571         (do_test): Call delayed_exit.
13572         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
13573         (do_test): Call delayed_exit.
13574         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
13575         (do_test): Call delayed_exit instead of alarm.  Use
13576         xpthread_mutex_lock.
13577         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
13578         (do_test): Call delayed_exit instead of alarm.  Use
13579         xpthread_mutex_lock.
13580         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
13581         (do_test): Call delayed_exit instead of alarm.
13582         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
13583         (do_test): Call delayed_exit instead of alarm.  Use
13584         xpthread_spin_lock.
13585         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
13586         (do_test): Call delayed_exit instead of alarm.  Use
13587         xpthread_join.
13589 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13591         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
13592         adjust CFA when allocating register save area on re-aligned
13593         stack.
13595 2016-08-26  Florian Weimer  <fweimer@redhat.com>
13597         * string/tst-cmp.c: New test.
13598         * string/Makefile (tests): Add it.
13600 2016-08-25  Mark Wielaard  <mark@klomp.org>
13602         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
13603         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
13604         (check_tree_recurse): Use newly defined accessors.
13605         (check_tree): Likewise.
13606         (maybe_split_for_insert): Likewise.
13607         (__tfind): Likewise.
13608         (__tdelete): Likewise.
13609         (trecurse): Likewise.
13610         (tdestroy_recurse): Likewise.
13611         (__tsearch): Likewise. And add asserts for malloc alignment.
13612         (__twalk): Cast root to node in case CHECK_TREE is defined.
13614 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13616         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
13618 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13620         * math/Makefile (libm-gen-calls): Add
13621         catan, catanh, ctan, ctanh.
13622         (libm-calls): Remove the above.
13624         * math/s_catan_template.c: Update using type-generic macros.
13625         * math/s_catanh_template.c: Likewise.
13626         * math/s_ctan_template.c: Likewise.
13627         * math/s_ctanh_template.c: Likewise.
13629         * math/s_catanf.c: Removed.
13630         * math/s_catan.c: Removed.
13631         * math/s_catanl.c: Removed.
13632         * math/s_catanhf.c: Removed.
13633         * math/s_catanh.c: Removed.
13634         * math/s_catanhl.c: Removed.
13635         * math/s_ctanf.c: Removed.
13636         * math/s_ctan.c: Removed.
13637         * math/s_ctanl.c: Removed.
13638         * math/s_ctanhf.c: Removed.
13639         * math/s_ctanh.c: Removed.
13640         * math/s_ctanhl.c: Removed.
13642         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
13643         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
13644         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
13645         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
13646         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
13647         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
13649         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
13650         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
13651         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
13652         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
13654 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13656         * s_catan_template.c: Copy of s_catan.c.
13657         * s_catanh_template.c: Copy of s_catanh.c.
13658         * s_ctan_template.c: Copy of s_ctan.c.
13659         * s_ctanh_template.c: Copy of s_ctanh.c.
13661 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13663         * math/Makefile (gen-libm-calls): Move
13664         casin, casinh, csin, csinh here.
13665         (libm-calls): Remove the above.
13667         * math/s_casin_template.c: Update using type-generic macros.
13668         * math/s_casinh_template.c: Likewise.
13669         * math/s_csin_template.c: Likewise.
13670         * math/s_csinh_template.c: Likewise.
13671         * math/k_casinh_template.c: Likewise.
13673         * math/s_casinf.c: Removed.
13674         * math/s_casin.c: Removed.
13675         * math/s_casinl.c: Removed.
13676         * math/s_casinh.c: Removed.
13677         * math/s_casinhf.c: Removed.
13678         * math/s_casinhl.c: Removed.
13679         * math/s_csin.c: Removed.
13680         * math/s_csinf.c: Removed.
13681         * math/s_csinl.c: Removed.
13682         * math/s_csinh.c: Removed.
13683         * math/s_csinhf.c: Removed.
13684         * math/s_csinhl.c: Removed.
13685         * math/k_casinh.c: Removed.
13686         * math/k_casinhf.c: Removed.
13687         * math/k_casinhl.c: Removed.
13689         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
13690         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
13691         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
13692         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
13694         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
13695         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
13696         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
13697         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
13698         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
13699         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
13700         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
13701         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
13703         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
13704         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
13705         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
13706         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
13708         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
13709         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
13710         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
13711         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
13713 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13715         * s_casin_template.c: Copy of s_casin.c.
13716         * s_casinh_template.c: Copy of s_casinh.c.
13717         * s_csin_template.c: Copy of s_csin.c.
13718         * s_csinh_template.c: Copy of s_csinh.c.
13719         * k_casinh_template.c: Copy of k_casinh.c.
13721 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13723         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
13725 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13727         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
13728         (mul_split) Remove, rename as mul_splitl, remove
13729         redundant float.h include, and include via mul_splitl.h
13731         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13732         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13733         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13734         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13735         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13737         * math/mul_splitl.h: New file.
13739         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
13740         Move into mul_split.h, and remove redundant float.h include.
13742         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13743         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
13744         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13745         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
13747         * math/mul_split.h: New file.
13749 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13751         * math/Makefile (libm-gen-calls): Move
13752         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
13753         (libm-calls): Remove above.
13755         * math/s_cacos_template.c: Update using type-generic macros.
13756         * math/s_cacosh_template.c: Likewise.
13757         * math/s_ccos_template.c: Likewise.
13758         * math/s_ccosh_template.c: Likewise.
13760         * math/s_cacosf.c: Removed.
13761         * math/s_cacos.c: Removed.
13762         * math/s_cacosl.c: Removed.
13763         * math/s_cacoshf.c: Removed.
13764         * math/s_cacosh.c: Removed.
13765         * math/s_cacoshl.c: Removed.
13766         * math/s_ccosf.c: Removed.
13767         * math/s_ccos.c: Removed.
13768         * math/s_ccosl.c: Removed.
13769         * math/s_ccoshf.c: Removed.
13770         * math/s_ccosh.c: Removed.
13771         * math/s_ccoshl.c: Removed.
13773         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
13774         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
13775         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
13776         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
13777         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
13778         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
13780         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
13781         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
13782         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
13783         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
13785         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
13786         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
13787         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
13788         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
13790 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13792         * s_cacos_template.c: Copy of s_cacos.c.
13793         * s_cacosh_template.c: Copy of s_cacosh.c.
13794         * s_ccos_template.c: Copy of s_ccos.c.
13795         * s_ccosh_template.c: Copy of s_ccosh.c.
13797 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13799         * stdlib/tst-strtod-round-skeleton.c:
13800         Refactored from tst-strtod-round.c.
13802         (L_): New macro to apply literal modifier.
13803         (FNPFX): New macro to select str or wcs prefix.
13804         (CHAR): New macro to choose wchar_t or char.
13805         (STRM): New macro to choose printf for tested character type.
13807         (STRTO): New macro to choose appropriate string -> real function.
13808         (FNPFXS): Stringitized version of FNPFX.
13809         (STR): Support for above macro.
13810         (STRX): Likewise.
13812         (TEST): Update with above macros.
13813         (test): Likewise.
13814         (GEN_ONE_TEST): Likewise.
13815         (test_in_one_mode): Likewise.
13817         * stdlib/tst-strtod-round.c: New file.
13818         * wcsmbs/tst-wcstod-round.c: New file.
13820         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
13821         (tst-wcstod-round): Add libm depencency for fesetround.
13823 2016-08-19  Zack Weinberg  <zackw@panix.com>
13825         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
13827 2016-08-18  Torvald Riegel  <triegel@redhat.com>
13829         [BZ #20477]
13830         * resolv/res_hconf.c (do_init): Use atomic access.
13831         * resolv/res_hconf.h: Add comments.
13832         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
13833         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
13834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13836 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13838         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13839         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
13840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13841         Likewise.
13843 2016-08-18  Florian Weimer  <fweimer@redhat.com>
13845         [BZ #16907]
13846         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
13847         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
13848         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
13849         (__attribute__): Remove definition.
13851 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13853         * sysdeps/ieee754/ldbl-128/e_asinl.c:
13854         Remove unused sqrtl declaration.
13856 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13858         * math/Makefile: (gen-libm-templates.stmp): New rule.
13859         (libm-calls): Move carg conj cimag and cabs into ...
13860         (gen-libm-calls): New variable.
13861         (generated): Inform Make objects from gen-libm-calls
13862         may be generated.
13864         * sysdeps/generic/math-type-macros.h: New file.
13865         * sysdeps/generic/math-type-macros-float.h: Likewise.
13866         * sysdeps/generic/math-type-macros-double.h: Likewise.
13867         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13868         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
13869         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
13871         * math/cabs.c: Refactor into
13872         * math/cabs_template.c: new file.
13873         * math/cabsf.c: Removed.
13874         * math/cabsl.c: Removed.
13875         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
13876         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
13878         * math/carg.c: Refactor into
13879         * math/carg_template.c: new file.
13880         * math/cargf.c: Removed.
13881         * math/cargl.c: Removed.
13882         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
13883         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
13885         * math/conj.c: Refactor into
13886         * math/conj_template.c: new file.
13887         * math/conjf.c: Removed.
13888         * math/conjl.c: Removed.
13889         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
13890         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
13892         * math/cimag.c: Refactor into
13893         * math/cimag_template.c: new file.
13894         * math/cimagf.c: Removed.
13895         * math/cimagl.c: Removed.
13896         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13897         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13899         * math/cimag.c: Refactor into
13900         * math/cimag_template.c: new file.
13901         * math/cimagf.c: Removed.
13902         * math/cimagl.c: Removed.
13903         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
13904         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
13906 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13908         Reduce time to expected nptl/tst-once5 failure.
13909         * nptl/tst-once5.cc (TIMEOUT): Define.
13911 2016-08-17  Florian Weimer  <fweimer@redhat.com>
13913         [BZ #20452]
13914         Avoid additional copies of objects in libc.a in static libraries.
13915         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
13916         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
13917         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
13918         rt-sysdep.
13919         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
13920         Add nptl-sysdep.
13921         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
13922         Add ptw-sysdep.
13923         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
13924         rt-sysdep.
13925         * sysdeps/unix/sysv/linux/alpha/Makefile
13926         (libpthread-shared-only-routines): Add ptw-sysdep,
13927         ptw-sigprocmask, ptw-rt_sigaction.
13928         * sysdeps/unix/sysv/linux/ia64/Makefile
13929         (librt-shared-only-routines): Add rt-sysdep.
13930         * sysdeps/unix/sysv/linux/i386/Makefile
13931         (libpthread-shared-only-routines): Add libc-do-syscall.
13932         * sysdeps/unix/sysv/linux/microblaze/Makefile
13933         (libpthread-shared-only-routines): Add sysdep.
13934         * sysdeps/unix/sysv/linux/powerpc/Makefile
13935         (librt-shared-only-routines): Add rt-sysdep.
13936         (libpthread-shared-only-routines): Add sysdep.
13937         * sysdeps/unix/sysv/linux/s390/Makefile
13938         (librt-shared-only-routines): Add rt-sysdep.
13939         * sysdeps/unix/sysv/linux/sparc/Makefile
13940         (librt-shared-only-routines): Add rt-sysdep.
13941         (libpthread-shared-only-routines): Add sysdep.
13942         * sysdeps/unix/sysv/linux/tile/Makefile
13943         (libpthread-shared-only-routines): Likewise.
13945 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
13947         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
13948         Mask implicit bit out of unpacked value.
13949         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
13950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
13951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
13953         * sysdeps/sparc/fpu/fesetexcept.c: New file.
13955         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
13957         * sysdeps/s390/fpu/fesetexcept.c: New file.
13959         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
13960         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
13961         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
13963         * sysdeps/mips/fpu/fesetexcept.c: New file.
13965         * sysdeps/m68k/fpu/fesetexcept.c: New file.
13967         * sysdeps/ia64/fpu/fesetexcept.c: New file.
13969         * sysdeps/hppa/fpu/fesetexcept.c: New file.
13971         * sysdeps/arm/fesetexcept.c: New file.
13973         * sysdeps/alpha/fpu/fesetexcept.c: New file.
13975         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
13977         * math/fesetexcept.c: New file.
13978         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
13979         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
13980         * math/fenv.h: Define
13981         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13982         <bits/libc-header-start.h> instead of including <features.h>.
13983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
13984         declaration.
13985         * manual/arith.texi (fesetexcept): Document function.
13986         * math/Versions (fesetexcept): New libm symbol at version
13987         GLIBC_2.25.
13988         * math/Makefile (libm-support): Add fesetexcept.
13989         (tests): Add test-fesetexcept and test-fesetexcept-traps.
13990         * math/test-fesetexcept.c: New file.
13991         * math/test-fesetexcept-traps.c: Likewise.
13992         * sysdeps/nacl/libm.abilist: Update.
13993         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13994         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13995         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13996         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13997         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13998         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13999         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14000         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14001         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14002         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14003         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14006         Likewise.
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14008         Likewise.
14009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14010         Likewise.
14011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14012         Likewise.
14013         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14014         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14015         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14016         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14017         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14019         Likewise.
14020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14021         Likewise.
14022         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14023         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14024         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14026 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14028         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14029         New.
14030         (do_test): Apply default_stack_size_in_mb if not set.
14031         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14033 2016-08-15  Andreas Schwab  <schwab@suse.de>
14035         [BZ #20435]
14036         CVE-2016-6323
14037         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14038         as .cantunwind.
14040 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14042         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14043         comment from fraiseexcpt.c.
14045         * math/test-fexcept.c (feraiseexcept_exact): New function.
14046         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14047         (test_except): Likewise.
14049 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
14051         [BZ #20455]
14052         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
14053         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
14054         to be restored.
14056         * math/test-fexcept-traps.c: New file.
14057         * math/test-fexcept.c: Likewise.
14058         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
14059         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
14060         macro.
14061         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14062         (EXCEPTION_SET_FORCES_TRAP): Likewise.
14064 2016-08-09  Torvald Riegel  <triegel@redhat.com>
14066         * include/atomic.h (atomic_fetch_and_relaxed,
14067         atomic_fetch_and_release, atomic_fetch_or_release,
14068         atomic_fetch_xor_release): New.
14070 2016-08-06  Christian Seiler  <christian@iwakd.de>
14072         [BZ #20444]
14073         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
14074         MACH_PORT_NULL.
14076 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14078         * math/s_fdim.c: Avoid alias renamed.
14079         * math/s_fdimf.c: Likewise.
14080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14081         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14082         Add s_fdimf-vis3, s_fdim-vis3.
14083         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14084         (CFLAGS-s_fdim-vis3.c): Likewise.
14085         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
14086         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
14088 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14091         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14092         Remove s_fdimf-vis3, s_fdim-vis3.
14093         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
14094         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
14095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
14096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
14097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
14098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
14099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
14100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
14101         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
14102         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
14104 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
14106         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
14107         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
14108         -Wa,-Av9a -mvis.
14110 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14112         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
14113         LIT() to individual constants in simple expressions
14114         after splitting on spaces.
14115         (_apply_lit): Rename replaced version, and use it to
14116         apply to what appears to be a token.
14118         * math/libm-test.inc: Fix many, many issues with
14119         spacing.
14121 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
14123         * math/math.h: Move comment about <bits/mathdef.h> definitions
14124         above inclusion of <bits/mathdef.h>.  Do not mention
14125         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
14127 2016-08-05  Torvald Riegel  <triegel@redhat.com>
14129         * include/atomic.h (atomic_exchange_relaxed): New.
14131 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
14133         * math/e_scalb.c: Do not include <fenv.h>.
14134         (invalid_fn): Do calculation resulting in NaN instead of raising
14135         FE_INVALID and returning a NaN explicitly.
14136         * math/e_scalbf.c: Do not include <fenv.h>.
14137         (invalid_fn): Do calculation resulting in NaN instead of raising
14138         FE_INVALID and returning a NaN explicitly.
14139         * math/e_scalbl.c: Do not include <fenv.h>.
14140         (invalid_fn): Do calculation resulting in NaN instead of raising
14141         FE_INVALID and returning a NaN explicitly.
14143 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
14145         * po/de.po: Updated from Translation Project.
14146         * po/fi.po: Likewise.
14147         * po/sv.po: Likewise.
14149 2016-08-04  Florian Weimer  <fweimer@redhat.com>
14151         [BZ #20452]
14152         Use sysdep.o from libc.a in static libraries.
14153         * sysdeps/unix/sysv/linux/i386/Makefile
14154         (libpthread-shared-only-routines): Add sysdep.
14155         (librt-shared-only-routines): Likewise.
14157 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14159         * math/tgmath.h (nextdown): Define if
14160         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
14161         (nextup): Likewise.
14163         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
14164         macro.
14165         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14166         Document.
14167         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
14168         Document macro.
14169         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
14170         (exp10f): Likewise.
14171         (exp10l): Likewise.
14172         * math/bits/mathcalls.h (exp10): Declare if
14173         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14175         * manual/arith.texi (nextup): Fix typo in last change.
14177 2016-08-03  Zack Weinberg  <zackw@panix.com>
14179         [BZ #19239]
14180         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
14181         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
14182         define major, minor, and makedev to issue deprecation warnings on use.
14183         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
14184         previously-activated deprecation warnings for these macros and prevent
14185         subsequent inclusions of this header from having any effect.
14186         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
14187         including <sys/sysmacros.h>, and undefine it again afterward.
14189 2016-08-03  Zack Weinberg  <zackw@panix.com>
14191         * sysdeps/generic/sys/sysmacros.h: Delete file.
14192         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
14193         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
14194         * bits/sysmacros.h: ... here; this encoding is now the generic
14195         encoding.  Now defines only the following macros:
14196         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
14197         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
14198         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
14200         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
14201         bits/sysmacros.h and the above new macros to generate the
14202         public implementations of major, minor, and makedev.
14203         * misc/tst-makedev.c: New test.
14204         * include/sys/sysmacros.h: New wrapper.
14206         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
14207         (routines): Add makedev.
14208         (tests): Add tst-makedev.
14209         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
14210         gnu_dev_makedev.
14211         * posix/Makefile (headers): Remove sys/sysmacros.h.
14212         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
14214         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
14215         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
14216         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
14217         * sysdeps/unix/sysv/linux/alpha/libc.abilist
14218         * sysdeps/unix/sysv/linux/arm/libc.abilist
14219         * sysdeps/unix/sysv/linux/hppa/libc.abilist
14220         * sysdeps/unix/sysv/linux/i386/libc.abilist
14221         * sysdeps/unix/sysv/linux/ia64/libc.abilist
14222         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14223         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
14224         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
14225         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14226         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14227         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14228         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14229         * sysdeps/unix/sysv/linux/nios2/libc.abilist
14230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
14235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
14236         * sysdeps/unix/sysv/linux/sh/libc.abilist
14237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14241         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
14242         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
14243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
14244         Add GLIBC_2.25.
14246         * include/features.h (__glibc_clang_prereq): New macro.
14247         * misc/sys/cdefs.h (__glibc_clang_has_extension)
14248         (__attribute_deprecated_msg__): New macros.
14250 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14252         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
14253         macro.
14254         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
14255         * manual/arith.texi (issignaling): Document as ISO from TS
14256         18661-1:2014.
14257         (nextup): Likewise.
14258         (nextupf): Likewise.
14259         (nextupl): Likewise.
14260         (nextdown): Likewise.
14261         (nextdownf): Likewise.
14262         (nextdownl): Likewise.
14263         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
14264         macro.
14265         * math/math.h: Define
14266         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14267         <bits/libc-header-start.h> instead of including <features.h>.
14268         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
14269         [__USE_GNU].
14270         * math/bits/mathcalls.h (nextdown): Declare if
14271         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
14272         (nextup): Likewise.
14273         (__issignaling): Likewise.
14275 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14277         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
14278         check, and remove __glibc_likely hint
14279         from FP_INFINITE check.
14280         * s_csinhf.c (__csinhf): Likewise.
14282         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
14283         hint from FP_INFINITE check.
14284         * s_csinhl.c (__csinhl): Likewise.
14286 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14288         * math/Makefile (libm-calls): Insert F placeholder into
14289         object names.  Move w_lgamma_compat* routines into
14290         (libm-compat-calls): New variable.
14291         (libm-compat-calls-ldouble-yes): New variable.
14292         (calls): Insert F placeholder.
14293         (generated): Redefine using new type-foreach macro call.
14294         (routines): Likewise.
14296         (types): New variable to hold a list of symbolic names
14297         for each type supported by the target machine.
14298         (libm-routines): Redefine using new types variable.
14299         (type-foreach): macro to replace fooF with the
14300         appropriately suffixed foo for each types.
14302         (type-ldouble-suffix): New variable.
14303         (type-ldouble-routines): Likewise.
14304         (type-ldouble-yes): Likewise.
14305         (type-double-suffix): Likewise.
14306         (type-double-routines): Likewise.
14307         (type-float-suffix): Likewise.
14308         (type-float-routines): Likewise.
14310         (dbl-only-routines): Remove.
14311         (long-c-yes): Likewise.
14312         (long-m-routines): Likewise.
14313         (long-m-support): Likewise.
14314         (long-m-yes): Likewise.
14315         (test-longdouble-yes): Likewise.
14317         (test-float.o): Simplify by increasing the scope of the
14318         recipe which adds libm-test.stmp to the vector types.
14319         (test-ifloat.o): Likewise.
14320         (test-float-finite.o): Likewise.
14321         (test-double.o): Likewise
14322         (test-idouble.o): Likewise.
14323         (test-double-finite.o): Likewise.
14324         (test-ldouble.o): Likewise
14325         (test-ildoubl.o): Likewise.
14326         (test-ldouble-finite.o): Likewise.
14328         (libm-tests): Redefine type tests using foreach and the
14329         list of types in types.
14331         (CPPFLAGS-test-ildoubl.c): Rename to
14332         (CPPFLAGS-test-ildouble.c): New variable
14334         * math/test-ildoubl.c: Rename to
14335         * math/test-ildouble.c: New file.
14337 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14339         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
14340         Use fabsl instead of fabs.
14341         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
14342         Likewise.
14343         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
14344         Add long double suffix to constant to ensure proper
14345         promotion to long double.
14347 2016-08-03  Tom Tromey  <tom@tromey.com>
14349         [BZ #20311]
14350         * nptl_db/Makefile (headers): Add proc_service.h.
14351         * nptl_db/proc_service.h: Add include guard.  Use
14352         __BEGIN/__END_DECLS.
14353         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
14354         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
14355         arguments.
14358 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14360         [BZ #17730]
14361         Avoid using memalign for TCB allocations.
14362         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
14363         (_dl_allocate_tls_storage): Use malloc and manual alignment.
14364         Avoid alignment gap in the TLS_DTV_AT_TP case.
14365         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
14366         determine the pointer to free.
14367         * nptl/tst-tls3-malloc.c: New test.
14368         * nptl/Makefile (tests): Add it.
14369         (tst-tls3-malloc): Link with libdl, libpthread.
14370         (LDFLAGS-tst-tls3-malloc): Set.
14371         (tst-tls3-malloc.out): Depend on DSO used in test.
14373 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14375         [BZ #17730]
14376         Avoid using memalign for TLS allocations.
14377         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
14378         is_static member with to_free member.
14379         (union dtv): Use struct dtv_pointer.
14380         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
14381         dtv_pointer instead of is_static.
14382         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
14383         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
14384         instead of val.
14385         (allocate_dtv_entry): New function.
14386         (allocate_and_init): Return struct dtv_pointer.  Call
14387         allocate_dtv_entry instead of __libc_memalign.
14388         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
14389         instead of val.
14390         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
14391         instead of is_static.  Adjust call to allocate_and_init.
14392         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
14393         struct dtv_pointer instead of val.
14395 2016-08-03  Florian Weimer  <fweimer@redhat.com>
14397         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
14398         (MALLOC_ALIGN_MASK): Move ...
14399         * malloc/malloc-internal.h: ... to here.
14400         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
14402 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
14404         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
14405         (UDP_ENCAP_GTP1U): Likewise.
14407         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
14408         (PF_MAX): Update value.
14409         (AF_QIPCRTR): New macro.
14411 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14413         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
14414         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14415         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14416         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
14417         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14418         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14419         s_truncf-vis3, s_trunc-vis3.
14420         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
14421         (CFLAGS-s_ceil-vis3.c): Likewise.
14422         (CFLAGS-s_floorf-vis3.c): Likewise.
14423         (CFLAGS-s_floor-vis3.c): Likewise.
14424         (CFLAGS-s_truncf-vis3.c): Likewise.
14425         (CFLAGS-s_trunc-vis3.c): Likewise.
14426         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
14427         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
14428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
14429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
14430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
14431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
14432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
14433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
14434         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
14435         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
14436         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
14437         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
14439 2016-08-02  David S. Miller  <davem@davemloft.net>
14441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14442         (__nearbyint_vis3): Don't check for sNaN before float register is
14443         loaded with the incoming argument.
14444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14445         (__nearbyintf_vis3): Likewise.
14446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
14447         Likewise.
14448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
14449         Likewise.
14451         * string/test-strncmp.c (do_test_limit): Make sure the test data
14452         stream is aligned as required for the type "CHAR".
14453         (do_test): Likewise.
14455 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
14457         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
14458         by beq instructions jumping to the end of the function.
14459         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
14460         clobber list. Use "i" constraint instead of "X".
14461         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
14462         of "X".
14464 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
14466         * bits/libc-header-start.h: New file.
14467         * Makefile (headers): Add bits/libc-header-start.h.
14468         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
14469         (__GLIBC_USE): New macro.
14470         * libio/stdio.h: Define
14471         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14472         <bits/libc-header-start.h> instead of including <features.h>.
14473         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
14474         (open_memstream): Likewise.
14475         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
14476         (__asprintf): Likewise.
14477         (asprintf): Likewise.
14478         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
14479         (getdelim): Likewise.
14480         (getline): Likewise.
14481         * string/string.h: Define
14482         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14483         <bits/libc-header-start.h> instead of including <features.h>.
14484         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
14485         (strndup): Likewise.
14486         * wcsmbs/wchar.h: Define
14487         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14488         <bits/libc-header-start.h> instead of including <features.h>.
14489         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
14490         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
14492 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14494         Support linking against compatibility symbols, for use in tests.
14495         * include/libc-symbols.h (symbol_version_reference): New macro.
14496         (symbol_version): Use it.
14497         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
14498         (compat_symbol): Use compat_symbol_reference.
14499         (compat_symbol_1, compat_symbol_2): Remove.
14500         (compat_symbol_reference, compat_symbol_reference_1)
14501         (compat_symbol_reference_2): New macro.  Use
14502         symbol_version_reference.
14504 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14506         [BZ #19469]
14507         * malloc/Makefile (CPPFLAGS): Compile tests with
14508         -DTEST_NO_MALLOPT.
14509         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
14511 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
14513         [BZ #20033]
14514         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
14515         finite version.
14516         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
14517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
14518         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
14519         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
14520         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
14521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
14522         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
14523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
14524         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
14525         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
14526         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
14527         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
14528         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
14529         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
14530         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
14531         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
14532         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
14533         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
14534         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
14535         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
14536         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
14537         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
14538         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
14539         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
14540         in zero power.
14542 2016-08-02  Florian Weimer  <fweimer@redhat.com>
14544         [BZ #20370]
14545         * malloc/arena.c (get_free_list): Update comment.  Assert that
14546         arenas on the free list have no attached threads.
14547         (remove_from_free_list): New function.
14548         (reused_arena): Call it.
14550 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
14552         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
14553         when it is a NaN.
14554         [_IEEE_FP_INEXACT] Remove.
14555         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
14556         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
14557         when it is a NaN.
14558         [_IEEE_FP_INEXACT] Remove.
14559         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
14560         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
14561         when it is a NaN.
14562         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
14563         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
14564         when its absolute value is greater than 0x1.0p52.
14565         [_IEEE_FP_INEXACT] Remove.
14566         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
14567         when its absolute value is greater than 0x1.0p23.
14568         [_IEEE_FP_INEXACT] Remove.
14570 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
14572         * version.h (RELEASE): Set to "development"
14573         (VERSION): Set to 2.24.90.
14574         * NEWS: Add 2.25 section.
14576         * version.h (RELEASE): Set to "stable"
14577         (VERSION): Set to 2.24.
14578         * include/features.h (__GLIBC_MINOR__): Set to 24.
14580         * NEWS: Add 2.24 fixed bugs.
14581         * po/libc.pot: Regenerate.
14583 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
14585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
14586         [$(subdir) = math] (libm-sysdep_routines): Remove.
14587         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
14588         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
14589         s_truncf-vis3, s_trunc-vis3.
14590         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
14592         file.
14593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
14594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
14595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
14599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
14600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
14602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
14603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
14604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
14605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
14606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
14607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
14608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
14612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
14613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
14614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
14615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
14618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
14621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
14624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14626         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
14627         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
14628         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
14629         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
14630         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14631         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14632         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
14633         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
14634         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
14635         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
14637 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
14639         [BZ #20384]
14640         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
14641         test-double-libmvec-sincos-avx-main.o,
14642         test-double-libmvec-sincos-avx2-main.o,
14643         test-double-libmvec-sincos-main.o,
14644         test-float-libmvec-sincosf-avx-main.o,
14645         test-float-libmvec-sincosf-avx2-main.o and
14646         test-float-libmvec-sincosf-main.o.
14647         test-float-libmvec-sincosf-avx512-main.o.
14648         ($(objpfx)test-double-libmvec-sincos): Also link with
14649         $(objpfx)test-double-libmvec-sincos-main.o.
14650         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
14651         $(objpfx)test-double-libmvec-sincos-avx-main.o.
14652         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
14653         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
14654         ($(objpfx)test-float-libmvec-sincosf): Also link with
14655         $(objpfx)test-float-libmvec-sincosf-main.o.
14656         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
14657         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
14658         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
14659         test-double-libmvec-sincos-avx512-main.o and
14660         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
14661         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
14662         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
14663         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
14664         (CFLAGS-test-double-libmvec-sincos.c): Removed.
14665         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
14666         (CFLAGS-test-double-libmvec-sincos-main.c): New.
14667         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
14668         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
14669         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
14670         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
14671         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
14672         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
14673         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
14674         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
14675         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
14676         -DREQUIRE_AVX2.
14677         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
14678         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
14679         -DREQUIRE_AVX512F.
14680         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
14681         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
14682         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
14683         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
14684         file.
14685         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
14686         Likewise.
14687         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
14688         Likewise.
14689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
14690         Likewise.
14691         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
14692         Likewise.
14693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
14694         Likewise.
14695         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
14696         Likewise.
14697         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
14698         Likewise.
14700 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
14702         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
14704 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
14706         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
14707         and typo in a comment about AT_HWCAP entry.
14709 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14711         * sysdeps/aarch64/libm-test-ulps: Updated.
14713 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14715         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
14716         of r13 as it is not restored in mvcle case.
14718 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
14720         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
14721         Rename "ret" to "__ret".
14722         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
14723         inline_syscall5, inline_syscall6): Likewise.
14725 2016-07-19   Will Newton  <will.newton@gmail.com>
14727         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
14728         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
14729         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
14730         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
14731         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
14733 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
14735         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
14736         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
14737         -mfpmath=387 with $(rtld-CFLAGS).
14738         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
14739         $(rtld-CFLAGS).
14741 2016-07-18   Ross Burton  <ross.burton@intel.com>
14742              Khem Raj  <raj.khem@gmail.com>
14744         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
14745         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
14746         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
14747         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
14748         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
14749         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
14750         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
14751         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
14752         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
14753         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
14754         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
14755         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
14756         R_METAG_TLS_DTPOFF): New.
14758 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14759             Matt Clay  <mclay@lycos.com>
14761         [BZ #20357]
14762         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
14763         to call __mpsin/__mpcos and to negate values.
14764         * math/auto-libm-test-in: Add test.
14765         * math/auto-libm-test-out: Regenerate.
14767 2016-07-18  Zack Weinberg  <zackw@panix.com>
14769         * grp/Makefile: Don't install the internal header grp-merge.h.
14771 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14773         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14775 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14777         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
14779 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14781         [BZ #15368]
14782         * sysdeps/unix/sysv/linux/nptl-signals.h
14783         (__nptl_clear_internal_signals): New function.
14784         (__libc_signal_block_all): Likewise.
14785         (__libc_signal_block_app): Likewise.
14786         (__libc_signal_restore_set): Likewise.
14787         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
14788         implementation.
14789         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
14790         the cached pid/tid value in pthread structure.
14792 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
14794         [BZ #20347]
14795         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
14797 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14799         [BZ #20348]
14800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
14801         preadv64, pwrite64 and pwritev64.
14803 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14805         [BZ #20350]
14806         * posix/tst-preadwrite.c: Renamed to ...
14807         * posix/tst-preadwrite-common.c: This.
14808         (PREAD): Removed.
14809         (PWRITE): Likewise.
14810         (STRINGIFY): Likewise.
14811         (STRINGIFY2): Likewise.
14812         (do_prepare): Make it static and remove function arguments.
14813         (do_test): Likewise.
14814         (PREPARE): Updated.
14815         (TEST_FUNCTION): New.
14816         (name): Make it static.
14817         (fd): Likewise.
14818         (do_prepare): Use create_temp_file.
14819         (do_test): Renamed to ...
14820         (do_test_with_offset): This.  Make it static and accept offset.
14821         Properly check return value of PWRITE and PREAD.  Return bytes
14822         read.  Don't close fd nor unlink name.
14823         * posix/tst-preadwrite.c: Rewrite.
14824         * posix/tst-preadwrite64.c: Likewise.
14826 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
14828         [BZ #20309]
14829         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
14830         -mtls-dialect=gnu2 works.
14831         * configure: Regenerated.
14832         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
14833         (tests): Add tst-gnu2-tls1.
14834         (modules-names): Add tst-gnu2-tls1mod.
14835         ($(objpfx)tst-gnu2-tls1): New.
14836         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
14837         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
14838         * elf/tst-gnu2-tls1.c: New file.
14839         * elf/tst-gnu2-tls1mod.c: Likewise.
14840         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
14841         bytes for push in the PLT entry to align the stack.
14843 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14845         [BZ #20349]
14846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
14848 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14850         [BZ #18707]
14851         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
14852         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
14854 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14856         * sysdeps/unix/sysv/linux/sysdep.h
14857         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
14858         guards.
14859         * misc/tst-preadvwritev-common.c: New file.
14860         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
14861         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
14862         a check for files larger than 2GB.
14864         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14865         (__ASSUME_OFF_DIFF_OFF64): Remove define.
14866         * sysdeps/unix/sysv/linux/pread.c
14867         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
14868         __OFF_T_MATCHES_OFF64_T.
14869         * sysdeps/unix/sysv/linux/pread64.c
14870         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
14871         * sysdeps/unix/sysv/linux/preadv.c
14872         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
14873         * sysdeps/unix/sysv/linux/preadv64.c
14874         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
14875         * sysdeps/unix/sysv/linux/pwrite.c
14876         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
14877         * sysdeps/unix/sysv/linux/pwrite64.c
14878         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
14879         * sysdeps/unix/sysv/linux/pwritev.c
14880         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
14881         * sysdeps/unix/sysv/linux/pwritev64.c
14882         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
14884 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
14886         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14887         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
14889 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14891         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
14893 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
14895         [BZ #20240]
14896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
14897         (CFLAGS-s_modf-ppc32.c): New variable.
14898         (CFLAGS-s_modff-ppc32.c): Likewise.
14899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
14900         (CFLAGS-s_modf-ppc64.c): Likewise.
14901         (CFLAGS-s_modff-ppc64.c): Likewise.
14903 2016-07-07  Andreas Schwab  <schwab@suse.de>
14905         [BZ #20263]
14906         * nptl/tst-robust10.c: New test.
14907         * nptl/Makefile (tests): Add tst-robust10.
14909 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
14911         [BZ #20263]
14912         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
14914 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14916         * sysdeps/s390/linkmap.h (struct link_map_machine):
14917         Remove member gotplt and add member jmprel.
14918         * sysdeps/s390/s390-32/dl-machine.h
14919         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
14920         instead of gotplt with &got[3].
14921         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
14922         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14924 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
14926         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
14928 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14930         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
14931         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
14932         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14933         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
14934         * libio/vtables.c (_IO_vtable_check)
14935         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
14936         * libio/libioP.h (IO_set_accept_foreign_vtables)
14937         [!PTR_MANGLE]: Do not call PTR_MANGLE.
14939 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
14941         [BZ #20314]
14942         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
14943         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
14944         $(common-objpfx)cmath.
14945         ($(common-objpfx)cstdlib): New target.
14946         ($(common-objpfx)cmath): Likewise.
14948 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
14950         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
14952 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14954         [BZ #20327]
14955         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
14956         are not part of the string.
14958 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14960         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
14961         * nptl/tst-cancel4-common.h (fifoname): New variable.
14962         (fifofd): Likewise.
14963         (cl_fifo): New function.
14964         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
14965         SIGINT.
14966         (tf_open): Add early cancel test.
14968 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
14970         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
14972 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
14974         * sysdeps/generic/ldsodefs.h
14975         (dl_symbol_visibility_binds_local_p): New inline function.
14976         * elf/dl-addr.c (determine_info): Treat hidden and internal
14977         symbols as local.
14978         * elf/dl-lookup.c (do_lookup_x): Likewise.
14979         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
14981 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
14983         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
14984         invalid exception for a sNaN input.
14985         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14986         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
14987         (__nearbyint_vis3): Likewise
14988         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
14989         (__nearbyintf_vis3): Likewise
14990         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
14991         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14992         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
14993         Likewise.
14994         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
14995         Likewise.
14997 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
14999         [BZ #20139]
15000         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15001         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15002         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15003         2.24 or above.
15004         (HAVE_AVX512_ASM_SUPPORT): Removed.
15005         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15006         * sysdeps/x86_64/configure: Regenerated.
15007         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15008         check unconditional.
15009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15010         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15012         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15013         Likewise.
15014         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15015         Likewise.
15016         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15017         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15018         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15020         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15021         Likewise.
15022         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15023         Likewise.
15024         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15025         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15027         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15028         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15029         Likewise.
15030         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15031         Likewise.
15032         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15033         Likewise.
15034         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15035         Likewise.
15036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15037         Likewise.
15038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15039         Likewise.
15040         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15041         Likewise.
15042         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15043         Likewise.
15044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15045         Likewise.
15046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15047         Likewise.
15048         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15049         Likewise.
15051 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
15053         [BZ #20024]
15054         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
15055         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
15056         of this implementation of vector function.
15057         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
15060         Likewise.
15061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15063         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
15064         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
15065         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
15066         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
15067         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
15068         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
15069         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
15070         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
15071         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
15072         for testing vector sincos with fixed ABI.
15073         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15074         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15075         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15076         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15077         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15078         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15079         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15080         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
15081         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
15082         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
15083         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
15084         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
15085         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
15086         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
15087         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15088         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15090 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15092         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
15094 2016-06-30  Anton Blanchard  <anton@samba.org>
15096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15097         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
15098         s_sinf-ppc64.
15099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
15100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
15101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
15102         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
15104 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15108         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
15109         e_expf-ppc64.
15110         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
15111         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
15112         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
15113         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
15115 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
15117         [BZ #20277]
15118         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
15119         when SHARED is defined.
15121 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
15123         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
15124         (index_arch_Prefer_ERMS): Likewise.
15125         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
15126         __memcpy_erms for Prefer_ERMS.
15127         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15128         (__memmove_erms): Enabled for libc.a.
15129         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
15130         __memmove_erms or Prefer_ERMS.
15131         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
15132         __mempcpy_erms for Prefer_ERMS.
15133         * sysdeps/x86_64/multiarch/memset.S (memset): Return
15134         __memset_erms for Prefer_ERMS.
15136 2016-06-30  Andreas Schwab  <schwab@suse.de>
15138         [BZ #20262]
15139         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
15140         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
15141         of memory.
15143 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
15145         [BZ #18645]
15146         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
15147         (test-extras): Add tst-cleanupx4aux.
15148         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
15149         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
15150         tst-cleanupx4aux.o.
15151         * nptl/tst-cleanupx4aux.c: New file.
15153 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
15155         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15157 2016-06-29  Andreas Schwab  <schwab@suse.de>
15159         [BZ #20260]
15160         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
15161         address before the beginning of the string as an integer to avoid
15162         array-bounds warning.
15164 2016-06-28  Richard Henderson  <rth@redhat.com>
15166         * elf/elf.h (EM_BPF): New.
15167         (EM_NUM): Update.
15168         (R_BPF_NONE, R_BPF_MAP_FD): New.
15170         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
15171         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
15172         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
15173         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
15174         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
15175         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
15176         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
15177         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
15178         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
15179         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
15180         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
15181         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
15182         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
15183         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
15184         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
15185         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
15186         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
15187         (EM_NUM): Update.
15189 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
15191         [BZ #18960]
15192         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
15193         Set _nl_current_LC_CATEGORY_used to two instead of one.
15195 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
15197         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
15198         (do_test): ... this.
15199         (TEST_FUNCTION): New macro.
15200          Include test-skeleton.c.
15201         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
15202         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
15204 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
15206         [BZ #15479]
15207         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
15208         floating-point environment rather than just control word.
15209         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15210         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
15211         floating-point environment, with "invalid" exceptions merged in,
15212         rather than just control word.
15213         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
15214         * math/libm-test.inc (trunc_test_data): Do not allow spurious
15215         "inexact" exceptions.
15217         [BZ #15479]
15218         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
15219         floating-point environment rather than just control word.
15220         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15221         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
15222         floating-point environment, with "invalid" exceptions merged in,
15223         rather than just control word.
15224         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
15225         * math/libm-test.inc (floor_test_data): Do not allow spurious
15226         "inexact" exceptions.
15228         [BZ #15479]
15229         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
15230         floating-point environment rather than just control word.
15231         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15232         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
15233         floating-point environment, with "invalid" exceptions merged in,
15234         rather than just control word.
15235         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
15236         * math/libm-test.inc (ceil_test_data): Do not allow spurious
15237         "inexact" exceptions.
15239 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
15241         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
15242         __libc_vfork.
15243         (__vfork) [IS_IN (libc)]: Remove alias.
15244         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
15245         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15246         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15248 2016-06-24  Torvald Riegel  <triegel@redhat.com>
15250         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
15251         of atomic_compare_and_exchange_bool_rel.
15252         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15253         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
15254         catomic_compare_and_exchange_bool_rel): Remove.
15255         * sysdeps/aarch64/atomic-machine.h
15256         (atomic_compare_and_exchange_bool_rel): Likewise.
15257         * sysdeps/alpha/atomic-machine.h
15258         (atomic_compare_and_exchange_bool_rel): Likewise.
15259         * sysdeps/arm/atomic-machine.h
15260         (atomic_compare_and_exchange_bool_rel): Likewise.
15261         * sysdeps/mips/atomic-machine.h
15262         (atomic_compare_and_exchange_bool_rel): Likewise.
15263         * sysdeps/microblaze/atomic-machine.h
15264         ( __arch_compare_and_exchange_bool_8_rel,
15265         __arch_compare_and_exchange_bool_16_rel): Likewise.
15266         * sysdeps/powerpc/atomic-machine.h
15267         ( __arch_compare_and_exchange_bool_8_rel,
15268         __arch_compare_and_exchange_bool_16_rel): Likewise.
15269         * sysdeps/powerpc/powerpc32/atomic-machine.h
15270         ( __arch_compare_and_exchange_bool_32_rel,
15271         __arch_compare_and_exchange_bool_64_rel): Likewise.
15272         * sysdeps/powerpc/powerpc64/atomic-machine.h
15273         ( __arch_compare_and_exchange_bool_32_rel,
15274         __arch_compare_and_exchange_bool_64_rel): Likewise.
15275         * sysdeps/tile/atomic-machine.h
15276         (atomic_compare_and_exchange_bool_rel): Likewise.
15278 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
15280         [BZ #20296]
15281         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
15282         when either argument is a NaN.
15283         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
15284         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
15286         * math/libm-test.inc (snan_value_ld): New macro.
15287         (isgreater_test_data): Add sNaN tests.
15288         (isgreaterequal_test_data): Likewise.
15289         (isless_test_data): Likewise.
15290         (islessequal_test_data): Likewise.
15291         (islessgreater_test_data): Likewise.
15292         (isunordered_test_data): Likewise.
15293         (nextafter_test_data): Likewise.
15294         (nexttoward_test_data): Likewise.
15295         (remainder_test_data): Likewise.
15296         (remquo_test_data): Likewise.
15297         (significand_test_data): Likewise.
15298         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
15300 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15302         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
15303         environment macros are defined.
15304         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
15306 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15308         [BZ #20191]
15309         Implement vtable verification in libio.
15310         * Makerules (shlib.lds): Place __libc_IO_vtables section.
15311         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
15312         * debug/vdprintf_chk.c (__vdprintf_chk): Call
15313         _IO_new_file_init_internal instead of _IO_file_init.
15314         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
15315         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
15316         * libio/Makefile (routines): Add vtables.
15317         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
15318         (_IO_init): Remove, not for internal use.
15319         (_IO_init_internal): Declare, internal replacement for _IO_init.
15320         (_IO_file_init): Remove, not for internal use.
15321         (_IO_new_file_init): Remove, not for internal use.
15322         (_IO_new_file_init_internal): Declare, internal replacement for
15323         _IO_new_file_init.
15324         (_IO_old_file_init): Remove, not for internal use.
15325         (_IO_old_file_init_internal): Declare, internal replacement for
15326         _IO_old_file_init.
15327         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
15328         internal use.
15329         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
15330         Declare.
15331         (libio_vtable): New macro.
15332         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
15333         functions.
15334         * libio/fileops.c (_IO_new_file_init_internal): Rename from
15335         _IO_new_file_init.
15336         (_IO_new_file_init): New externally visible wrapper which disables
15337         vtable verification.
15338         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
15339         Define as vtables.
15340         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
15341         (_IO_init): New externally visible wrapper which disables
15342         vtable verification.
15343         * libio/iofdopen.c (_IO_new_fdopen): Call
15344         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
15345         comment.
15346         * libio/iofopen.c (__fopen_internal): Call
15347         _IO_new_file_init_internal instead of _IO_file_init.
15348         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
15349         Define as vtables.
15350         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
15351         _IO_new_file_init_internal instead of _IO_file_init.
15352         * libio/iopopen.c (_IO_new_popen): Likewise.
15353         (_IO_proc_jumps): Define as vtable.
15354         * libio/iovdprintf.c (_IO_vdprintf): Call
15355         _IO_new_file_init_internal instead of _IO_file_init.
15356         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
15357         (__open_memstream): Call _IO_init_internal instead of _IO_init.
15358         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
15359         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
15360         _IO_old_file_init.
15361         (_IO_old_file_init): New externally visible wrapper which disables
15362         vtable verification.
15363         (_IO_old_file_jumps): Define as vtable.
15364         * libio/oldiofdopen.c (_IO_old_fdopen): Call
15365         _IO_old_file_init_internal instead of _IO_old_file_init.
15366         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15367         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15368         (_IO_old_proc_jumps): Define as vtable.
15369         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
15370         Define as vtables.
15371         * libio/vtables.c: New file.
15372         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
15373         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
15374         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
15375         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
15376         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
15377         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
15378         instead of _IO_init.
15380 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15382         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
15384 2016-06-23  Florian Weimer  <fweimer@redhat.com>
15386         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
15387         potentially unused.
15389 2016-06-22  Florian Weimer  <fweimer@redhat.com>
15391         * test-skeleton.c (write_message): New function.
15392         * malloc/tst-mallocfork2.c (write_message): Remove.
15393         * debug/tst-longjmp_chk2.c (write_indented): New function.
15394         (write_message): Remove.
15395         (stackoverflow_handler): Call write_indented.
15397 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
15399         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
15400         "inexact" exceptions after fnstenv.
15401         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15402         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15403         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15405 2015-06-22  Zack Weinberg  <zackw@panix.com>
15407         * sysdeps/generic/bits/hwcap.h: Moved to ...
15408         * bits/hwcap.h: Here.
15410 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
15412         * sysdeps/aarch64/memcpy.S (memcpy):
15413         Further tuning for performance.
15415 2016-06-21  Florian Weimer  <fweimer@redhat.com>
15417         [BZ #20284]
15418         * malloc/arena.c (reused_arena): Do not return NULL if we start
15419         out with a non-corrupted arena.
15421 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15423         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
15424         * misc/tst-preadvwritev.c: New file.
15425         * misc/tst-preadvwritev64.c: Likewise.
15426         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
15427         usage.
15428         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
15429         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
15430         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
15431         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
15433 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
15435         [BZ #19654]
15436         * sysdeps/x86_64/fpu/Makefile: Added new tests.
15437         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
15438         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
15439         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
15440         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
15441         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
15442         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
15443         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
15444         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
15445         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
15446         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
15447         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
15448         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
15449         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
15450         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
15451         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
15452         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
15453         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
15454         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
15455         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
15456         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
15457         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
15458         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
15459         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
15460         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
15461         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
15463 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15465         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
15466         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
15468 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
15470         * sysdeps/aarch64/memcpy.S (memcpy):
15471         Rewrite of optimized memcpy and memmove.
15472         * sysdeps/aarch64/memmove.S (memmove): Remove
15473         memmove code (merged into memcpy.S).
15475 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15477         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
15478         * sysdeps/generic/dl-dtv.h: New file.
15479         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15480         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
15481         (dtv_t): Remove.
15482         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15483         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
15484         (dtv_t): Remove.
15485         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15486         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
15487         (dtv_t): Remove.
15488         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15489         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
15490         (dtv_t): Remove.
15491         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15492         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
15493         (dtv_t): Remove.
15494         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15495         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
15496         (dtv_t): Remove.
15497         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15498         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
15499         (dtv_t): Remove.
15500         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
15501         (dtv_t): Remove.
15502         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15503         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
15504         (dtv_t): Remove.
15505         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15506         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
15507         (dtv_t): Remove.
15508         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15509         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
15510         (dtv_t): Remove.
15511         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15512         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
15513         (dtv_t): Remove.
15514         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15515         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
15516         (dtv_t): Remove.
15517         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15518         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
15519         (dtv_t): Remove.
15520         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15521         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
15522         (dtv_t): Remove.
15523         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
15524         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
15525         (dtv_t): Remove.
15527 2016-06-20  Florian Weimer  <fweimer@redhat.com>
15529         Revert symbol poisoning of  __malloc_initialize_hook.
15530         * include/stdc-predef.h (__malloc_initialize_hook): Remove
15531         poisoning.
15532         * malloc/Makefile: Remove un-poisoning.
15533         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
15534         instead of old__malloc_initialize_hook.
15535         * malloc/malloc-hooks.h: Likewise.
15536         * malloc/malloc.c: Likewise.
15537         * malloc/mcheck-init.c: Likewise.
15539 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
15541         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
15543 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
15545         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
15546         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
15547         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
15548         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
15550 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15552         * NEWS: Mention addition of nextup and nextdown.
15553         * manual/arith.texi: Document nextup and nextdown.
15554         * manual/libm-err-tab.pl: Add nextup and nextdown.
15555         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
15556         * math/Versions (libm): Add GLIBC_2.24.
15557         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
15558         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15559         Add new test.
15560         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
15561         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
15562         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
15563         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
15564         (nextup_test_data): Likewise.
15565         (nextdown_test_data): Likewise.
15566         * math/s_nextdown.c: New file.
15567         * math/s_nextdownf.c: Likewise.
15568         * math/s_nextdownl.c: Likewise.
15569         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
15570         F(nextup): New function.
15571         F(nextdown): Likewise.
15572         * math/tgmath.h: Add nextup and nextdown.
15573         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
15574         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15576         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15578         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
15579         Add nextup and nextdown.
15580         (CFLAGS-nldbl-nextup.c): New variable.
15581         (CFLAGS-nldbl-nextdown.c): Likewise.
15582         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
15583         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
15584         * sysdeps/nacl/libm.abilist: Update.
15585         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15586         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15587         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15588         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15589         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15590         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15591         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15592         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15593         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15594         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15595         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15596         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15599         Likewise.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15602         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15603         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15604         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15605         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15606         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
15608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
15609         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15610         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15611         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15612         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15614 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15616         * manual/pattern.texi: Fix typos & grammar errors.
15618 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15620         * manual/search.texi: Fix typos & grammar errors.
15622 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15624         * manual/message.texi: Fix typos & grammar errors.
15626 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
15628         * manual/contrib.texi: Fix spelling typos.
15629         * manual/crypt.texi: Likewise.
15630         * manual/filesys.texi: Likewise.
15631         * manual/locale.texi: Likewise.
15632         * manual/message.texi: Likewise.
15633         * manual/nss.texi: Likewise.
15634         * manual/string.texi: Likewise.
15636 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15638         * manual/locale.texi: Fix typos & grammar errors.
15640 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15642         * manual/charset.texi: Fix typos & grammar errors.
15644 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15646         * manual/string.texi: Fix typos.
15648 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15650         * manual/ctype.texi: Fix typos.
15652 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
15654         * manual/memory.texi: Fix various typos & grammar errors.
15656 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
15658         [BZ #20255]
15659         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
15660         * math/libm-test.inc (fdim_test_data): Add another test.
15662         [BZ #6796]
15663         [BZ #20255]
15664         [BZ #20256]
15665         * math/s_fdim.c: Include <math_private.h>.
15666         (__fdim): Use math_narrow_eval on result.
15667         * math/s_fdimf.c: Include <math_private.h>.
15668         (__fdimf): Use math_narrow_eval on result.
15669         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15670         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
15671         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
15672         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
15673         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
15674         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
15675         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
15676         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
15677         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
15678         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
15679         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
15680         * math/libm-test.inc (fdim_test_data): Expect errno setting on
15681         overflow.  Add sNaN tests.
15683         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
15684         fpclassify.
15685         * math/s_fdimf.c (__fdimf): Likewise.
15686         * math/s_fdiml.c (__fdiml): Likewise.
15688 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15690         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15691         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
15692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15693         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15694         ifunc'ed strcasecmp/strncasecmp.
15695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
15696         [EALIGN]: Removed.
15697         [END]: Likewise.
15698         [__strcasecmp]: Define instead of the above to control symbol name.
15699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
15700         for __strcasecmp_power8.
15701         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
15702         for __strncasecmp_power8.
15703         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
15704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
15705         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
15706         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
15707         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
15708         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
15710 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
15712         [BZ #20252]
15713         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
15714         arguments when second argument is a NaN.
15715         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
15716         qNaN tests.
15718         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
15719         (conj_test_data): Likewise.
15720         (copysign_test_data): Likewise.
15721         (creal_test_data): Likewise.
15722         (fma_test_data): Likewise.
15723         (fmod_test_data): Likewise.
15725         [BZ #20250]
15726         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
15727         itself.
15728         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
15729         zero input to itself.
15730         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
15731         Likewise.
15732         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
15733         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
15734         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15735         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
15736         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
15738 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15740         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
15741         * nptl/tst-cancel4-common.c: New file.
15742         * nptl/tst-cancel4-common.h: Likewise.
15743         * nptl/tst-cancel4.c: Move common definitions to
15744         tst-cancel4-common.{c,h} file.
15745         * nptl/tst-cancel4_1.c: New test.
15746         * nptl/tst-cancel4_2.c: New test.
15748 2016-06-13  Florian Weimer  <fweimer@redhat.com>
15750         [BZ #20248]
15751         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
15752         (write_message): New function.
15753         (stackoverflow_handler): Call it instead of printf, to avoid
15754         excessive stack usage by printf.
15755         (do_test): Restore SIGSEGV, SIGBUS default handlers.
15757 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15759         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
15760         (prio_inherit_missing): Remove define.
15761         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15762         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15763         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
15764         Likewise.
15765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15766         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15767         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15768         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15769         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15770         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15772 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15774         [BZ #19670]
15775         [BZ #19672]
15777         * io/test-lfs.c (do_prepare): Use xmalloc.
15778         * io/tst-fcntl.c (do_prepare): Likewise.
15779         * libio/tst-fopenloc.c (do_bz17916): Likewise.
15780         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
15781         * login/tst-utmp.c (do_prepare): Likewise.
15782         * posix/tst-exec.c (do_prepare): Likewise.
15783         * posix/tst-pathconf.c (prepare): Likewise.
15784         * posix/tst-spawn.c (do_prepare): Likewise.
15785         * posix/tst-truncate.c (do_prepare): Likewise.
15786         * rt/tst-aio.c (do_prepare): Likewise.
15787         * rt/tst-aio64.c (do_prepare): Likewise.
15789 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15791         [BZ #20237]
15792         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
15793         (get*ent): Set entidx to NULL during initialization.  If entidx is
15794         NULL, start iteration from the beginning.
15796 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15798         * malloc/malloc.c (musable): Return correct size for dumped fake
15799         mmapped chunk.
15801 2016-06-11  Florian Weimer  <fweimer@redhat.com>
15803         [BZ #20222]
15804         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
15805         (_IO_cookie_write): Likewise.
15806         (_IO_cookie_seek): Likewise.
15807         (_IO_cookie_close): Likewise.
15808         (_IO_old_cookie_seek): Likewise.
15809         (set_callbacks): New function.
15810         (_IO_cookie_init): Call set_callbacks to copy callbacks.
15812 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
15814         * locale/programs/localedef.c (oldstyle_tables): Remove.
15815         * locale/programs/localedef.h (oldstyle_tables): Likewise.
15817 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
15819         [BZ #20240]
15820         * math/Makefile (CFLAGS-s_modf.c): New variable.
15821         (CFLAGS-s_modff.c): Likewise.
15822         (CFLAGS-s_modfl.c): Likewise.
15823         * math/libm-test.inc (modf_test_data): Add sNaN tests.
15825 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
15827         [BZ #20215]
15828         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
15829         [!__GNUC_PREREQ (3,2)]: Likewise.
15831 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15833         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
15834         (msghdr.msg_controllen): Likewise.
15835         (cmsghdr.cmsg_len): Likewise.
15836         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
15837         ptw-oldsendmsg.
15838         (CFLAGS-oldrecvmsg.c): Remove rule.
15839         (CFLAGS-oldsendmsg.c): Likewise.
15840         (CFLAGS-recvmsg.c): Add rule.
15841         (CFLAGS-sendmsg.c): Likewise.
15842         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
15843         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
15844         (CFLAGS-recvmsg.c): Remove rule.
15845         (CFLAGS-sendmsg.c): Likewise.
15846         (CFLAGS-oldrecvmsg.c): Likewise.
15847         (CFLAGS-oldsendmsg.c): Likewise.
15848         (CFLAGS-recvmmsg.c): Likewise.
15849         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
15850         to kernel defined interfaces.
15851         (msghdr.msg_controllen): Likewise.
15852         (cmsghdr.cmsg_len): Likewise.
15853         (msghdr.__glibc_reserved1): Remove member.
15854         (msghdr.__glibc_reserved2): Likewise.
15855         (cmsghdr.__glibc_reserved1): Likewise.
15856         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
15857         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
15858         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15859         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15860         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
15861         version.
15862         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15863         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
15864         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15865         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
15866         Remove recvmsg and sendmsg.
15867         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
15868         Likewise.
15869         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15870         Likewise.
15871         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15872         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15873         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15874         Likewise.
15875         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15876         Likewise.
15877         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
15878         [libc] (GLIBC_2.24): Likewise.
15879         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15880         Likewise.
15881         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15882         Likewise.
15883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15884         [libc] (GLIBC_2.24): Likewise.
15885         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15886         Likewise.
15887         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15888         Likewise.
15889         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15890         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15891         Likewise.
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15893         Likewise.
15894         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15895         Likewise.
15896         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
15897         Likewise.
15898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
15899         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
15900         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
15901         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
15902         version for {recv,send,recm,sendm}msg.
15903         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15904         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15905         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15906         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15907         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15908         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15909         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15910         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15911         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15912         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15913         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15914         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15918         Likewise.
15919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15921         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15922         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15923         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15924         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15925         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15931         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15933 2016-06-10  Florian Weimer  <fweimer@redhat.com>
15935         [BZ #19564]
15936         Remove __malloc_initialize_hook from the API.
15937         * malloc/malloc.h (__malloc_initialize_hook): Remove.
15938         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
15939         #pragma GCC poison.
15940         * malloc/malloc-hooks.h: New file.
15941         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
15942         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
15943         (old__malloc_initialize_hook): Rename from
15944         __malloc_initialize_hook to evade poisoning.  Turn into compat
15945         symbol.
15946         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
15947         __malloc_initialize_hook.
15948         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
15949         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
15950         * manual/memory.texi (Hooks for Malloc): Remove
15951         __malloc_initialize_hook.  Adjust hook example.
15953 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #20235]
15956         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
15957         itself.
15958         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15959         * math/libm-test.inc (log2_test_data): Add sNaN tests.
15961         [BZ #20234]
15962         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
15963         infinity or NaN input to itself.
15965         [BZ #20233]
15966         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
15967         to itself.
15969         [BZ #20232]
15970         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
15971         itself.
15973 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15975         * sysdeps/x86_64/start.S (_start): Always indirect branch to
15976         __libc_start_main via GOT.
15978 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
15980         * sysdeps/x86_64/memcopy.h: New file.
15981         * sysdeps/x86_64/wordcopy.c: Likewise.
15983 2016-06-09  Florian Weimer  <fweimer@redhat.com>
15985         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
15986         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
15987         <cstdlib>.
15988         (optimization_barrier): New.
15989         (do_test): Use it.  Call quick_exit in the global namespace.
15990         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
15991         instead of <cstdlib>, <thread>.
15992         (optimization_barrier): New.
15993         (non_main_thread): Adjust declaration.  Call optimization_barrier.
15994         Call quick_exit in the global namespace.
15995         (do_test): Call optimization_barrier.  Use pthread_create,
15996         pthread_join instead of std::thread.
15998 2016-06-09  Andreas Schwab  <schwab@suse.de>
16000         [BZ #19755]
16001         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16002         new entries in auto-propagate mode.
16003         * nscd/grpcache.c (cache_addgr): Likewise.
16005 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16007         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16008         New functions.
16009         (add_temp_file): Use them.
16011 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16013         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16015 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #20229]
16018         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16019         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16020         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16022         [BZ #20228]
16023         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16024         itself.
16025         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16026         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16028         [BZ #20227]
16029         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16030         itself.
16031         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16032         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16033         * math/libm-test.inc (log_test_data): Add sNaN tests.
16035         [BZ #20226]
16036         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16037         itself.
16038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16039         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16040         (exp10_test_data): Likewise.
16041         (expm1_test_data): Likewise.
16043         [BZ #20225]
16044         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16045         itself.
16046         * math/s_ldexpf.c (__ldexpf): Likewise.
16047         * math/s_ldexpl.c (__ldexpl): Likewise.
16048         * math/w_scalbln.c (__w_scalbln): Likewise.
16049         * math/w_scalblnf.c (__w_scalblnf): Likewise.
16050         * math/w_scalblnl.c (__w_scalblnl): Likewise.
16051         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
16052         (scalbln_test_data): Likewise.
16054         [BZ #20224]
16055         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
16056         argument to itself.
16057         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
16059 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16061         [BZ #19776]
16062         * sysdeps/x86_64/memcpy.S: Make it dummy.
16063         * sysdeps/x86_64/mempcpy.S: Likewise.
16064         * sysdeps/x86_64/memmove.S: New file.
16065         * sysdeps/x86_64/memmove_chk.S: Likewise.
16066         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16067         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16068         * sysdeps/x86_64/memmove.c: Removed.
16069         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16070         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16071         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
16072         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16073         Likewise.
16074         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16075         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16077         memcpy-sse2-unaligned, memmove-avx-unaligned,
16078         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
16079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16080         (__libc_ifunc_impl_list): Replace
16081         __memmove_chk_avx512_unaligned_2 with
16082         __memmove_chk_avx512_unaligned.  Remove
16083         __memmove_chk_avx_unaligned_2.  Replace
16084         __memmove_chk_sse2_unaligned_2 with
16085         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
16086         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
16087         with __memmove_avx512_unaligned.  Replace
16088         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
16089         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
16090         with __memcpy_chk_avx512_unaligned.  Remove
16091         __memcpy_chk_avx_unaligned_2.  Replace
16092         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
16093         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
16094         Replace __memcpy_avx512_unaligned_2 with
16095         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
16096         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
16097         with __mempcpy_chk_avx512_unaligned.  Remove
16098         __mempcpy_chk_avx_unaligned_2.  Replace
16099         __mempcpy_chk_sse2_unaligned_2 with
16100         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
16101         Replace __mempcpy_avx512_unaligned_2 with
16102         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
16103         Replace __mempcpy_sse2_unaligned_2 with
16104         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
16105         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
16106         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
16107         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
16108         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
16109         (ENTRY): Removed.
16110         (END): Likewise.
16111         (ENTRY_CHK): Likewise.
16112         (libc_hidden_builtin_def): Likewise.
16113         Don't include ../memcpy.S.
16114         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
16115         __memcpy_chk_avx512_unaligned_erms and
16116         __memcpy_chk_avx512_unaligned.  Use
16117         __memcpy_chk_avx_unaligned_erms and
16118         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16119         Default to __memcpy_chk_sse2_unaligned.
16120         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16121         Change function suffix from unaligned_2 to unaligned.
16122         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
16123         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
16124         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
16125         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
16126         (ENTRY): Removed.
16127         (END): Likewise.
16128         (ENTRY_CHK): Likewise.
16129         (libc_hidden_builtin_def): Likewise.
16130         Don't include ../mempcpy.S.
16131         (mempcpy): New.  Add a weak alias.
16132         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
16133         __mempcpy_chk_avx512_unaligned_erms and
16134         __mempcpy_chk_avx512_unaligned.  Use
16135         __mempcpy_chk_avx_unaligned_erms and
16136         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
16137         Default to __mempcpy_chk_sse2_unaligned.
16139 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
16141         [BZ #19881]
16142         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
16143         into ...
16144         * sysdeps/x86_64/memset.S: This.
16145         (__bzero): Removed.
16146         (__memset_tail): Likewise.
16147         (__memset_chk): Likewise.
16148         (memset): Likewise.
16149         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
16150         defined.
16151         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
16152         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
16153         (__memset_zero_constant_len_parameter): Check SHARED instead of
16154         PIC.
16155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16156         memset-avx2 and memset-sse2-unaligned-erms.
16157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16158         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
16159         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
16160         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16161         (__bzero): Enabled.
16162         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
16163         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
16164         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
16165         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
16166         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16167         (memset): Removed.
16168         (__memset_chk): Likewise.
16169         (MEMSET_SYMBOL): New.
16170         (libc_hidden_builtin_def): Replace __memset_sse2 with
16171         __memset_sse2_unaligned.
16172         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
16173         __memset_chk_sse2 and __memset_chk_avx2 with
16174         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
16175         Use __memset_chk_sse2_unaligned_erms or
16176         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
16177         __memset_chk_avx512_unaligned_erms and
16178         __memset_chk_avx512_unaligned.
16180 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16182         * math/gen-auto-libm-test.c (fp_format_desc): remove
16183         suffix member.
16184         (output_generic_value): Remove usage of suffix member,
16185         and the resulting unuse of the fp_format argument.
16186         (output_for_one_input_case): Remove unused fp_format
16187         parameter.
16189         * math/auto-libm-test-out: Regenerate.
16191         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
16192         usage with TEST_COND_ibm128.
16193         (TEST_COND_flt_32): Remove.
16194         (TEST_COND_dbl_64): Remove.
16195         (TEST_COND_ldbl_96_intel): Remove.
16196         (TEST_COND_ldbl_96_m68k): Remove.
16197         (TEST_COND_ldbl_128): Remove.
16199 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16201         * auto-libm-test-in:
16202         Replace flt-32 usage with binary32.
16203         Replace dbl-64 usage with binary64.
16204         Replace ldbl-intel-96 usage with intel96.
16205         Replace ldbl-m68k-96 usage with m68k96.
16206         Replace ldbl-128ibm usage with ibm128.
16207         Replace ldbl-128 usage with binary128.
16209         * auto-libm-test-out: Regenerate.
16211 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16213         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
16214         (parse_ulps): Dynamically generate type name matching
16215         string from all_floats.
16216         (get_ulps): Generate the ulps as an array instead.
16217         (output_ulps): Dynamically compose the type based
16218         on the number of supported formats, and print
16219         the indices as type specific helper macros.
16221         * math/libm-test.inc: Remove comment about CHOOSE.
16222         (ulp_data): Generate the type in libm-test-ulps.h.
16223         (ULP_IDX): New macro.
16224         (find_ulps): Update usage of max_ulp.
16226         * math/test-double-vlen2.h (CHOOSE): Remove.
16227         * math/test-double-vlen4.h (CHOOSE): Likewise.
16228         * math/test-double-vlen8.h (CHOOSE): Likewise.
16229         * math/test-float.c (CHOOSE): Likewise.
16230         * math/test-float-finite.c (CHOOSE): Likewise.
16231         * math/test-double.c (CHOOSE): Likewise.
16232         * math/test-double-finite.c (CHOOSE): Likewise.
16233         * math/test-idouble.c (CHOOSE): Likewise.
16234         * math/test-ifloat.c (CHOOSE): Likewise.
16235         * math/test-ildoubl.c (CHOOSE): Likewise.
16236         * math/test-ldouble-finite.c (CHOOSE): Likewise.
16237         * math/test-ldouble.c (CHOOSE): Likewise.
16239         * math/test-float.h (TEST_FLOAT): Remove.
16240         * math/test-double.h (TEST_DOUBLE): Likewise.
16241         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
16243 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16245         * math/gen-libm-test.pl: (apply_lit): New subroutine.
16246         (parse_args): Strip C suffix from floating point literals
16247         typed with 'f' and wrap them with LIT().
16249         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
16250         (test_ff_f_data_nexttoward): Rename to
16251         (test_fj_f_data): New struct.
16252         (nexttoward_test_data): Relabel tests as
16253         TEST_fj_f instead of TEST_ff_f.
16255 2016-06-08  Florian Weimer  <fweimer@redhat.com>
16257         Emacs bug 23726.
16258         * malloc/malloc.c (dumped_main_arena_start): Update comment.
16259         (__libc_realloc): Correct size computation for dumped fake mmapped
16260         chunks.
16262 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
16264         [BZ #20219]
16265         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
16266         to itself.
16267         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
16269         [BZ #20218]
16270         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
16271         to itself.
16272         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
16274 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
16276         [BZ #20195]
16277         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
16278         check to ...
16279         (init_cpu_features): Here.
16281 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
16283         [BZ #20214]
16284         * sysdeps/unix/sysv/linux/bits/in.h
16285         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16286          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
16287         Define to 1.
16288         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
16289          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
16290         Define to 0.
16291         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
16292         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
16294 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
16296         [BZ #20198]
16297         * stdlib/Makefile (tests): Add tst-quick_exit, and
16298         tst-thread-quick_exit.
16299         [ifeq ($(have-cxx-thread_local),yes)]
16300         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
16301         (CFLAGS-tst-thread-quick_exit.o): Likewise.
16302         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
16303         (LDLIBS-tst-thread-quick_exit): Likewise.
16304         [ifneq ($(have-cxx-thread_local),yes)]
16305         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
16306         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
16307         If run_dtors is true call __call_tls_dtors.
16308         (exit): Call __run_exit_handlers with run_dtors set to true.
16309         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
16310         definition.
16311         * stdlib/quick_exit.c (quick_exit): Remove function.
16312         (__new_quick_exit): New function.
16313         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
16314         function.
16315         * stdlib/tst-quick_exit.cc: New file.
16316         * stdlib/tst-thread-quick_exit.cc: New file.
16317         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
16318         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
16319         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
16320         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
16321         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
16322         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
16323         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
16324         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
16325         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
16326         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
16327         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
16328         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
16329         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
16330         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
16331         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
16332         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
16335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
16337         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
16338         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
16339         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
16340         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
16341         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
16342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
16343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
16344         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
16345         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
16346         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
16348 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
16350         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
16351         a typo in comments.
16353 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #20213]
16356         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
16357         argument to itself.
16358         * math/libm-test.inc (asin_test_data): Add sNaN tests.
16360 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16362         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16363         required flags.
16364         (CFLAGS-pwritev64.c): Likewise.
16365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
16366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16367         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
16368         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16369         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
16370         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
16371         syscall from auto-generation.
16372         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
16373         [WORDSIZE == 64] (pwritev64): Remove macro.
16374         [!PWRITEV] (PWRITEV): Likewise.
16375         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16376         [!PWRITEV] (PWRITE): Likewise.
16377         [!PWRITEV] (OFF_T): Likewise.
16378         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
16379         (LO_HI_LONG): Remove macro.
16380         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
16381         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
16382         (PWRITEV): Remove macro.
16383         (PWRITEV_REPLACEMENTE): Likewise.
16384         (PWRITE): Likewise.
16385         (OFF_T): Likewise.
16386         (pwritev64): New function.
16387         * nptl/tst-cancel4.c (tf_writev): Add test.
16389         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
16390         required flags.
16391         (CFLAGS-preadv64.c): Likewise.
16392         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
16393         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16394         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
16395         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
16396         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
16397         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
16398         syscall from auto-generation.
16399         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
16400         [WORDSIZE == 64] (preadv64): Remove macro.
16401         [!PREADV] (PREADV): Likewise.
16402         [!PREADV] (PREADV_REPLACEMENT): Likewise.
16403         [!PREADV] (PREAD): Likewise.
16404         [!PREADV] (OFF_T): Likewise.
16405         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
16406         (LO_HI_LONG): Remove macro.
16407         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
16408         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
16409         (PREADV): Remove macro.
16410         (PREADV_REPLACEMENTE): Likewise.
16411         (PREAD): Likewise.
16412         (OFF_T): Likewise.
16413         (preadv64): New function.
16414         * nptl/tst-cancel4.c (tf_preadv): Add test.
16416 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
16418         [BZ #20212]
16419         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
16420         argument to itself.
16421         * math/libm-test.inc (acos_test_data): Add sNaN tests.
16423 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16425         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
16426         New symbol defined as libc_hidden_def.
16427         (strcasestr): Became a weak alias to __strcasestr.
16428         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
16429         according to multi-arch support.  Move __stpncpy hidden
16430         definition from here to...
16431         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
16432         symbol stpncpy.
16433         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
16434         libc_hidden_builtin_def.
16435         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
16436         memset symbol to use when multi-arch support is available.
16438 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16440         * dlfcn/tst-rec-dlopen.c: Include string.h.
16442 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16444         * manual/install.texi: Remove mention of --without-tls
16445         * INSTALL: Regenerate.
16447 2016-06-05  Florian Weimer  <fweimer@redhat.com>
16449         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
16450         Remove.
16451         (call_function, interposed_malloc_called): New variables.
16452         (malloc): New function.
16453         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
16454         and clear call_function as needed.
16456 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
16458         * include/wchar.h (__wmemset): Use __typeof.
16460 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
16462         * include/wchar.h (__wmemset): Declare function without typeof.
16464 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
16466         [BZ #20205]
16467         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
16468         exponent when incrementing negative subnormal with low mantissa
16469         word zero.
16470         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16471         Add another test.
16473 2016-06-03  Florian Weimer  <fweimer@redhat.com>
16475         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
16476         __wmemset instead of wmemset.
16478 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
16480         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
16481         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
16482         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
16483         __USE_KERNEL_IPV6_DEFS to 0.
16484         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
16485         Update comment.
16487 2016-06-01  Florian Weimer  <fweimer@redhat.com>
16489         [BZ #19861]
16490         Do not use IFUNC resolver with potentially unrelocated symbol.
16491         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
16492         (DEFINE_FORK): Remove macro and inline definition.
16493         (fork_alias): Renamed from fork_ifunc.
16494         (__fork_alias): Renamed from __fork_ifunc.
16496 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
16498         [BZ 19653]
16499         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
16500         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
16502 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16504         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
16505         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
16506         i386-linux-gnu).
16507         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
16508         Set to no.
16509         * sysdeps/mach/hurd/configure: Refresh.
16511 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16513         [BZ #20178]
16514         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
16515         on failure instead of exit.
16517 2016-05-30  Roland McGrath  <roland@hack.frob.com>
16519         [BZ #3629]
16520         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
16521         of POSIX.1-2008.
16523 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16525         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
16526           Use PLT entry for calling _hurd_self_sigstate.
16528 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
16530         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
16531         available logical processors with SMT level type sharing L2
16532         cache for Intel processors.
16534 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16536         [BZ #20160]
16537         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
16538         argument to itself before returning the result.
16539         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
16540         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
16541         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
16542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16543         Likewise.
16544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16545         Likewise.
16546         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
16547         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
16548         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16549         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16550         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
16551         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
16553         [BZ #20160]
16554         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
16555         argument to itself before returning the result.
16556         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
16557         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
16558         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
16559         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
16560         Likewise.
16561         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16562         Likewise.
16563         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
16564         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
16565         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
16566         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16567         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
16568         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
16570 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16572         * libm-test.inc: Replace usage of M_El with
16573         (lit_e): New macro.
16575 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16577         * libm-test.inc: Replace usage of M_PI_4l with
16578         (lit_pi_4_d): New macro.
16580 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16582         * libm-test.inc: Replace usage of M_PIl with
16583         (lit_pi): New macro.
16585 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16587         * libm-test.inc: Replace usage of M_PI2l with
16588         (lit_pi_2_d): New macro.
16590         * math/test-double.h (LITM): New macro.
16591         * math/test-float.h (LITM): Likewise.
16592         * math/test-ldouble.h (LITM): Likewise.
16594 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16596         * libm-test.inc (M_PI_34l): Rename to
16597         (lit_pi_3_m_4_d): New Macro.
16598         (M_PI_34_LOG10El): Rename to
16599         (lit_pi_3_m_4_ln10_m_d): New Macro.
16600         (M_PI2_LOG10El): Rename to
16601         (lit_pi_2_ln10_m_d):  New Macro.
16602         (M_PI4_LOG10El): Rename to
16603         (lit_pi_4_ln10_m_d):  New Macro.
16604         (M_PI_LOG10El): Rename to
16605         (lit_pi_ln10_d):  New Macro.
16607 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16609         [BZ #20157]
16610         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
16611         determine whether to negate low half if [_ARCH_PPCGR], and integer
16612         comparison otherwise.
16613         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
16614         determine whether to negate low half.
16616         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
16617         (NO_TEST_INLINE_DOUBLE): Likewise.
16618         (TEST_COND_x86_64): Likewise.
16619         (TEST_COND_x86): Likewise.
16620         (M_PI_6l): Likewise.
16622 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16624         * math/libm-test.inc:
16625         (TEST_FLOAT): Change usage to TEST_COND_binary32.
16626         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
16627         (TEST_LDOUBLE): Update usage to evaluate as true if
16628         the guarded tests match the property being tested.
16629         (LDBL_MAX_EXP): Change to MAX_EXP.
16630         (LDBL_MIN_EXP): Change to MIN_EXP.
16631         (LDBL_MANT_DIG): Change to MANT_DIG, except for
16632         nexttoward tests.
16634 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16636         * math/libm-test.inc:
16637         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
16638         (TYPE_MIN): Likewise.
16639         (TYPE_TRUE_MIN): Likewise.
16640         (TYPE_MAX): Likewise.
16641         (MIN_EXP): Likewise.
16642         (MAX_EXP): Likewise.
16643         (MANT_DIG): Likewise.
16645         (FSTR_MAX): New macro.
16646         (__CONCATX): Likewise.
16647         (QTYPE_STR): Likewise.
16648         (TEST_COND_binary32): Likewise.
16649         (TEST_COND_binary64): Likewise.
16650         (TEST_COND_binary128): Likewise.
16651         (TEST_COND_ibm128): Likewise.
16652         (TEST_COND_intel96): Likewise.
16653         (TEST_COND_m68k96): Likewise.
16655         (TEST_COND_flt_32): Redefine as equivalent format test macro.
16656         (TEST_COND_dbl_64): Likewise.
16657         (TEST_COND_ldbl_96_intel): Likewise.
16658         (TEST_COND_ldbl_96_m68k): Likewise.
16659         (TEST_COND_ldbl_128): Likewise.
16660         (TEST_COND_ldbl_128ibm): Likewise.
16662         (plus_zero): Redefine using LIT macro.
16663         (minus_zero): Likewise.
16664         (plus_infty): Redefine as (INF).
16665         (minux_infty): Redefine as (-INF).
16666         (max_value): Redefine as TYPE_MAX.
16667         (min_value): Redefine as TYPE_MIN.
16668         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
16670         (print_float): Refactor to use snprintf to convert FLOAT values
16671         to string. This brings it closer to dropin replacement of strtof
16672         for the TS 18661 defined types.
16673         (update_stats): Likewise.
16674         (print_complex_function_ulps): Likewise.
16675         (print_max_error): Likewise.
16676         (print_complex_max_error): Likewise.
16677         (check_float_internal): Likewise.
16679         * math/test-float.h (PREFIX): New macro.
16680         (LIT): Likewise.
16681         (TYPE_STR): Likewise.
16682         (FTOSTR): Likewise.
16684         * math/test-double.h (PREFIX): New macro.
16685         (LIT): Likewise.
16686         (TYPE_STR): Likewise.
16687         (FTOSTR): Likewise.
16689         * math/test-ldouble.h (PREFIX): New macro.
16690         (LIT): Likewise.
16691         (TYPE_STR): Likewise.
16692         (FTOSTR): Likewise.
16694 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #20156]
16697         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
16698         to itself when zero or not finite.
16699         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
16700         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
16702         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
16704 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
16706         [BZ #20153]
16707         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
16708         x * x + x for infinities and NaNs.
16710         [BZ #20151]
16711         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
16712         argument to itself before returning result.
16713         (__ieee754_y0l): Likewise.
16714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16715         (__ieee754_y1l).
16717         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
16718         (atan_test_data): Likewise.
16719         (ceil_test_data): Likewise.
16720         (cos_test_data): Likewise.
16721         (cosh_test_data): Likewise.
16722         (erf_test_data): Likewise.
16723         (exp2_test_data): Likewise.
16724         (fabs_test_data): Likewise.
16725         (floor_test_data): Likewise.
16726         (ilogb_test_data): Likewise.
16727         (j0_test_data): Likewise.
16728         (j1_test_data): Likewise.
16729         (jn_test_data): Likewise.
16730         (lgamma_test_data): Likewise.
16731         (lrint_test_data): Likewise.
16732         (llrint_test_data): Likewise.
16733         (logb_test_data): Likewise.
16734         (lround_test_data): Likewise.
16735         (llround_test_data): Likewise.
16736         (nearbyint_test_data): Likewise.
16737         (rint_test_data): Likewise.
16738         (round_test_data): Likewise.
16739         (sin_test_data): Likewise.
16740         (sincos_test_data): Likewise.
16741         (sinh_test_data): Likewise.
16742         (sqrt_test_data): Likewise.
16743         (tan_test_data): Likewise.
16744         (tanh_test_data): Likewise.
16745         (tgamma_test_data): Likewise.
16746         (trunc_test_data): Likewise.
16747         (y0_test_data): Likewise.
16748         (y1_test_data): Likewise.
16749         (yn_test_data): Likewise.
16751         * math/libm-test.inc: Update comment about NaN testing.
16752         (TEST_SNAN): New macro.
16753         (snan_value): Likewise.
16754         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
16755         (fpclassify_test_data): Add sNaN tests.
16756         (isfinite_test_data): Likewise.
16757         (isinf_test_data): Likewise.
16758         (isnan_test_data): Likewise.
16759         (isnormal_test_data): Likewise.
16760         (issignaling_test_data): Likewise.
16761         (signbit_test_data): Likewise.
16762         * math/gen-libm-test.pl (%beautify): Add snan_value.
16763         (show_exceptions): Add argument $test_snan.
16764         (parse_args): Handle snan_value as non-finite.  Update call to
16765         show_exceptions.
16766         * math/Makefile (libm-test-no-inline-cflags): Add
16767         -fsignaling-nans.
16769 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16771         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
16772         (CFLAGS-oldsendmsg.c): Add rule.
16773         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16774         Correct recvmsg symbol name.
16775         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
16776         Likewise.
16778 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16780         * sysdeps/unix/sysv/linux/Makefile
16781         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
16782         oldsendmmsg.
16783         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
16784         sendmmsg.
16785         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16786         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16787         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16788         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16790         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16791         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16793         Likewise.
16794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16795         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
16796         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16797         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
16798         iovlen and controllen fields to adjust to POSIX specification.
16799         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16801         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
16802         and change to correct expected type.
16803         (msghdr.msg_controllen): Likewise.
16804         (cmsghdr.cmsg_len): Likewise.
16805         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
16806         expected POSIX assumption about the size.
16807         (msghdr.msg_controllen): Likewise.
16808         (msghdr.__glibc_reserved1): Likewise.
16809         (msghdr.__glibc_reserved2): Likewise.
16810         (cmsghdr.cmsg_len): Likewise.
16811         (cmsghdr.__glibc_reserved1): Likewise.
16812         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
16813         Add ptw-oldrecvmsg and ptw-oldsendmsg.
16814         (CFLAGS-sendmsg.c): Remove rule.
16815         (CFLAGS-recvmsg.c): Likewise.
16816         (CFLAGS-oldsendmsg.c): Add rule.
16817         (CFLAGS-oldrecvmsg.c): Likewise.
16818         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
16819         recvmsg and sendmsg.
16820         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
16821         Likewise.
16822         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
16823         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
16824         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16825         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
16826         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16827         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
16834         Likewise.
16835         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16838         Likewise.
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
16840         (GLIBC_2.24): Likewise.
16841         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16842         Likewise.
16843         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16844         Likewise.
16845         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16846         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16847         Likewise.
16848         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16849         Likewise.
16850         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16851         Likewise.
16852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
16853         (GLIBC_2.24): Likewise.
16854         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
16855         Likewise.
16856         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
16857         Likewise.
16858         * sysdeps/unix/sysv/linux/Makefile
16859         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
16860         (CFLAGS-sendmsg.c): Add rule.
16861         (CFLAGS-recvmsg.c): Likewise.
16862         (CFLAGS-oldsendmsg.c): Likewise.
16863         (CFLAGS-oldrecvmsg.c): Likewise.
16864         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
16865         initialization.
16866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16867         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16868         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
16869         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16870         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
16871         iovlen and controllen fields to adjust to POSIX specification.
16872         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
16873         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
16874         added recvmsg and sendmsg.
16875         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16876         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16877         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16878         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16879         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16882         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16883         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16884         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16886         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16888         Likewise.
16889         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
16890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16891         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16892         Likewise.
16893         Likewise.
16894         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16895         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16896         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16898         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16901         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16903         Likewise.
16904         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16905         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16907         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
16908         from auto-generation.
16909         (sendmsg): Likewise.
16910         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
16911         (sendmsg): Likewise.
16912         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
16913         (sendmsg): Likewise.
16914         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
16915         (sendmsg): Likewise.
16916         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
16917         (sendmsg): Likewise.
16918         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
16919         (sendmsg): Likewise.
16920         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
16921         Likewise.
16922         (sendmsg): Likewise.
16923         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
16924         (sendmsg): Likewise.
16925         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16927         Remove.
16928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16929         Likewise.
16930         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16931         Undefine.
16932         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16933         Likewise.
16934         * sysdeps/unix/sysv/linux/kernel-features.h
16935         (__ASSUME_SENDMSG_SYSCALL): Define.
16936         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16938         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16939         Remove.
16940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16941         Likewise.
16942         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16943         Undefine.
16944         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16945         Likewise.
16946         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16948         Remove.
16949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16950         Likewise.
16951         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16952         Undefine.
16953         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16954         Likewise.
16955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16956         (__ASSUME_SENDMSG_SYSCALL): Undefine.
16957         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16958         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16959         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16960         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16961         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16962         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16963         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16965 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16967         * stdlib/gen-tst-strtod-round.c: Add backslash to
16968         compile command in comment.
16969         (printfp): Remove the literal suffix, and define an infinite
16970         value as INF to avoid expansion clash with INFINITY.
16971         (round_str): Remove the literal suffix.
16972         (round_for_all): Likewise, remove the now duplicate ldbl-64
16973         entry, and remove some magic constants.
16975         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
16976         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
16977         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
16978         (_CONCAT): New macro.
16979         (CONCAT): Likewise.
16980         (CHOOSE_ld): Likewise.
16981         (CHOOSE_f): Likewise.
16982         (CHOOSE_d): Likewise.
16983         (FTYPE_MEMBER): Likewise.
16984         (BOOL_MEMBER): Likewise.
16985         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
16986         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
16987         (_XNTRY): Likewise.
16988         (XNTRY): Likewise.
16989         (_ENTRY): Likewise.
16990         (ENTRY): Likewise.
16991         (test_exactness): Generate members via macro.
16992         (test_results): Likewise.
16993         (test): Update members.
16994         (TEST): Redefine using new macros.
16995         (INF): New macro.
16996         (fetestmodes): New structure.
16997         (do_test): Refactor to be type generic.
16998         (test_in_one_mode): Refactor duplicate code into
16999         (GEN_ONE_TEST): New macro.
17001         * stdlib/tst-strtod-round-data.h: Regenerate.
17003         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17004         Extend to pass additional arbitrary parameters to
17005         generators.
17007 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #15479]
17010         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17011         floating-point state after first floating-point operation on
17012         input.  Restore full floating-point state instead of just rounding
17013         mode.
17014         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17015         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17016         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17017         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17018         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17020         [BZ #15479]
17021         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17022         floating-point state after first floating-point operation on
17023         input.  Restore full floating-point state instead of just rounding
17024         mode.
17025         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17026         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17027         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17028         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17029         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17031 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17033         [BZ #19727]
17034         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17035         valid high surrogate.
17036         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17037         of an utf16 surrogate.
17038         * iconv/gconv_simple.c (BODY): Likewise.
17039         * iconvdata/bug-iconv12.c: New file.
17040         * iconvdata/Makefile (tests): Add bug-iconv12.
17042 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17044         [BZ #19726]
17045         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17046         outptrp in case of an illegal input.
17047         * iconv/tst-iconv6.c: New file.
17048         * iconv/Makefile (tests): Add tst-iconv6.
17050 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17052         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
17053         an error in case of a value in range of an utf16 low surrogate.
17055 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17057         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
17058         an error in case of a value in range of an utf16 low surrogate.
17060 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17062         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
17063         Move to ...
17064         * sysdeps/s390/Makefile: ... here.
17065         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
17066         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
17067         (BRANCH_ON_COUNT): New define.
17068         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
17069         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
17070         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
17071         run on s390-32, too.
17072         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
17073         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
17074         run on s390-32, too.
17075         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17076         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
17077         run on s390-32, too.
17079 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17081         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
17082         etf3eh or new vector loop-variant.
17084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17086         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
17087         etf3eh or new vector loop-variant.
17089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17091         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
17092         or new vector loop-variant.
17094 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17096         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
17097         Rename to TR_LOOP and usage of tr instead of troo instruction.
17099 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17101         * sysdeps/s390/multiarch/gconv_simple.c: New File.
17102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
17104 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17106         * sysdeps/s390/multiarch/8bit-generic.c: New File.
17107         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
17108         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
17109         New override define.
17110         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
17112 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17114         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17115         * sysdeps/s390/configure.ac: Add test for S390 vector register
17116         support in gcc.
17117         * sysdeps/s390/configure: Regenerated.
17119 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17121         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
17122         Install file from $(objpfx)gconv-modules.
17123         ($(objpfx)gconv-modules): Concatenate architecture specific file
17124         in variable sysdeps-gconv-modules and gconv-modules in src dir.
17125         * sysdeps/s390/gconv-modules: New file.
17126         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
17127         Deleted.
17128         ($(objpfx)gconv-modules-s390): Deleted.
17129         (sysdeps-gconv-modules): New variable.
17131 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17133         [BZ #15479]
17134         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
17135         of immediate operand to rounding instruction.
17136         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
17137         Likewise.
17138         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
17139         Likewise.
17140         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
17141         Likewise.
17143 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17145         * math/libm-test.inc (MIN_EXP): Directly define as
17146         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
17148 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17150         * math/libm-test.inc (MANT_DIG): Directly define as
17151         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
17153 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17155         * stdlib/gen-tst-strtod-round.c (main):
17156           Change usage to more closely match the generated
17157           output.  Add usage and compilation instructions.
17158           (string_to_fp): Add and use FILE* parameter as
17159           output target.
17160           (print_fp): Likewise.
17161           (round_str): Likewise.
17162           (round_for_all): Likewise.
17163         * stdlib/tst-strtod-round.c (tests): Move into
17164         * stdlib/tst-strtod-round-data.h: New file.
17166 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
17168         [BZ #15479]
17169         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
17170         (__round): Do not force "inexact" exception.
17171         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
17172         variable.
17173         (__round): Do not force "inexact" exception.
17174         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
17175         (__roundf): Do not force "inexact" exception.
17176         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
17177         (__roundl): Do not force "inexact" exception.
17178         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
17179         (__roundl): Do not force "inexact" exception.
17180         * math/libm-test.inc (round_test_data): Do not allow spurious
17181         "inexact" exceptions.
17183         [BZ #15479]
17184         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
17185         exception in comment.
17186         (huge): Remove variable.
17187         (__floor): Do not force "inexact" exception.
17188         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
17189         "inexact" exception in comment.
17190         (huge): Remove variable.
17191         (__floor): Do not force "inexact" exception.
17192         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
17193         exception in comment.
17194         (huge): Remove variable.
17195         (__floorf): Do not force "inexact" exception.
17196         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
17197         exception in comment.
17198         (huge): Remove variable.
17199         (__floorl): Do not force "inexact" exception.
17201         [BZ #15479]
17202         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
17203         exception in comment.
17204         (huge): Remove variable.
17205         (__ceil): Do not force "inexact" exception.
17206         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
17207         "inexact" exception in comment.
17208         (huge): Remove variable.
17209         (__ceil): Do not force "inexact" exception.
17210         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
17211         (__ceilf): Do not force "inexact" exception.
17212         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
17213         exception in comment.
17214         (huge): Remove variable.
17215         (__ceill): Do not force "inexact" exception.
17217 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17219         * config.h.in (BIND_NOW): New.
17220         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
17221         * configure: Regenerated.
17222         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
17223         indirect branch via the GOT slot.
17225 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17227         [BZ #19765]
17228         * sysdeps/s390/mempcpy.S: New File.
17229         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
17230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
17231         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17232         Add mempcpy variants.
17233         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
17234         (memcpy): Adjust to be usable from mempcpy entry point.
17235         (__memcpy_mvcle): Likewise.
17236         * sysdeps/s390/s390-64/memcpy.S: Likewise.
17237         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
17238         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
17239         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
17240         (__memcpy_z10): Likewise.
17241         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17243 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17245         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
17246         Remove __GI_ symbol.
17247         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
17248         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
17249         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
17250         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
17251         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
17252         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
17254 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17256         * sysdeps/s390/s390-64/memcpy.S (memcpy):
17257         Use cghi instead of chi to compare 64bit value.
17259 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17261         * sysdeps/s390/s390-32/memcpy.S (memcpy):
17262         Jump to 1MB check before executing mvc-loop.
17264 2016-05-24  Florian Weimer  <fweimer@redhat.com>
17266         [BZ #6527]
17267         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
17268         unconditionally.
17269         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
17271 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17273         * stdlib/tst-strtod6.c (do_test): Use new type generic
17274         invocation of the test function.
17275         (test): Refactor into ...
17276         (TEST_STRTOD): New macro base function.
17278 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17280         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
17281         (TEST_STRTOD): New macro.
17282         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
17284 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17286         * stdlib/tst-strtod6.c (do_test): Use new type generic
17287         invocation of the test function.
17288         (test): Refactor into ...
17289         (TEST_STRTOD): New macro base function.
17291 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17293         CVE-2016-4429
17294         [BZ #20112]
17295         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
17296         payload.
17298 2016-05-23  Florian Weimer  <fweimer@redhat.com>
17300         [BZ #20111]
17301         * bits/sockaddr.h (_SS_SIZE): Define.
17302         * bits/socket.h (_SS_SIZE): Remove.
17303         (_SS_PADSIZE): Adjust to account for all padding.
17304         (struct sockaddr_storage): Update comment.  Avoid implicit
17305         padding.
17306         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
17307         (_SS_PADSIZE): Adjust to account for all padding.
17308         (struct sockaddr_storage): Update comment.  Avoid implicit
17309         padding.
17310         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
17311         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
17312         (_SS_PADSIZE): Adjust to account for all padding.
17313         (struct sockaddr_storage): Update comment.  Avoid implicit
17314         padding.
17315         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
17316         __SS_SIZE is 126 in this version.
17317         * inet/tst-sockaddr.c: New file.
17318         * inet/Makefile (tests): Add tst-sockaddr.c
17319         (tst-sockaddr.c): Compile with non-strict aliasing.
17321 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
17323         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
17324         [XPG3 || XPG4].
17325         (NL_ARGMAX): Also expect for [XPG3].
17326         (NL_LANGMAX): Likewise.
17327         (NL_MSGMAX): Likewise.
17328         (NL_NMAX): Likewise.
17329         (NL_SETMAX): Likewise.
17330         (NL_TEXTMAX): Likewise.
17331         (NZERO): Likewise.
17332         (TMP_MAX): Likewise.
17333         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
17334         variable.
17336         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
17337         (PF_MAX): Update value.
17338         (AF_KCM): New macro.
17339         (SOL_NETBEUI): Likewise.
17340         (SOL_LLC): Likewise.
17341         (SOL_DCCP): Likewise.
17342         (SOL_NETLINK): Likewise.
17343         (SOL_TIPC): Likewise.
17344         (SOL_RXRPC): Likewise.
17345         (SOL_PPPOL2TP): Likewise.
17346         (SOL_BLUETOOTH): Likewise.
17347         (SOL_PNPIPE): Likewise.
17348         (SOL_RDS): Likewise.
17349         (SOL_IUCV): Likewise.
17350         (SOL_CAIF): Likewise.
17351         (SOL_ALG): Likewise.
17352         (SOL_NFC): Likewise.
17353         (SOL_KCM): Likewise.
17354         (MSG_BATCH): New enum value and macro.
17356 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
17358         [BZ #18185]
17359         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
17360         sharing L2 cache to 2 for Knights Landing.
17362 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
17364         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
17365         (FTW_DP): Do not expect for [XPG3 || XPG4].
17366         (FTW_SL): Do not expect for [XPG3].
17367         (FTW_SLN): Likewise.
17368         (FTW_PHYS): Likewise.
17369         (FTW_MOUNT): Likewise.
17370         (FTW_DEPTH): Likewise.
17371         (FTW_CHDIR): Likewise.
17372         (nftw): Likewise.
17373         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
17374         variable.
17376 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17378         * manual/errno.texi: Fix various typos & grammar errors.
17380 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
17382         * manual/intro.texi: Fix duplicated typo.
17384 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17386         [BZ #13304]
17387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
17388         <float.h>, <math_private.h> and <stdlib.h>.
17389         (add_split): New function.
17390         (mul_split): Likewise.
17391         (ext_val): New typedef.
17392         (store_ext_val): New function.
17393         (mul_ext_val): New function.
17394         (compare): New function.
17395         (add_split_ext): New function.
17396         (__fmal): After checking for Inf, NaN and zero, compute result as
17397         an exact sum of scaled double values in round-to-nearest before
17398         adding those up and adjusting for other rounding modes.
17399         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
17400         tests of fma.
17401         * math/auto-libm-test-out: Regenerated.
17403 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17405         [BZ #20119]
17406         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
17407         processor level type mask for CPUID with EAX == 11.
17409 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17411         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
17412         logical threads if the HTT bit is 0.
17413         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
17414         (index_cpu_HTT): Likewise.
17415         (reg_HTT): Likewise.
17417 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17419         [BZ #20115]
17420         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
17421         Remove alignments on jump targets.
17423 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
17425         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
17426         (getpwent): Likewise.
17427         (setpwent): Likewise.
17428         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
17429         variable.
17431         * conform/data/search.h-data (insque): Do not expect for [XPG3].
17432         (remque): Likewise.
17433         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
17434         variable.
17436 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17438         * math/libm-test.inc: Update comment not to refer to signs of NaNs
17439         not being tested.
17441 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17443         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17444         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
17445         call.
17446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17447         (__condvar_cleanup1): Likewise.
17449 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17451         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
17452         New
17453         (__pthread_unwind): Renamed to ...
17454         (PTHREAD_UNWIND): This.
17455         (__pthread_enable_asynccancel): Replace
17456         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
17458 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
17460         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
17461         (CLONE_NEWCGROUP): New macro.
17463         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
17464         (Q_GETNEXTQUOTA): New macro.
17466 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17468         [BZ #19907]
17469         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
17470         buffer updated by the previous run.
17471         * string/test-memcpy.c (do_one_test): Likewise.
17472         * benchtests/bench-memmove.c (do_one_test): Add a comment.
17473         * string/test-memmove.c (do_one_test): Likewise.
17475 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
17477         [BZ #20094]
17478         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
17479         not [__USE_XOPEN].
17480         (unlockpt): Likewise.
17481         (ptsname): Likewise.
17482         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
17483         variable.
17485         [BZ #20076]
17486         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
17487         instead of [__USE_UNIX98].
17488         (S_ISSOCK): Likewise.
17489         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
17490         variable.
17492         [BZ #20074]
17493         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
17494         [__USE_POSIX].
17495         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
17496         variable.
17498         [BZ #20051]
17499         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
17500         (ttyslot): Do not declare.
17501         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
17502         (ttyslot): New prototype.
17503         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
17504         variable.
17505         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17507 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17509         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
17511 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17513         Fix race condition in tst-mallocfork2, use fewer resources.
17514         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
17515         to current process group.
17516         (signal_sender): Yield in the non-sleeping case.
17518 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
17520         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
17521         (ecvt): Likewise.
17522         (fcvt): Likewise.
17523         (gcvt): Likewise.
17524         (getsubopt): Likewise.
17525         (grantpt): Likewise.
17526         (initstate): Likewise.
17527         (l64a): Likewise.
17528         (mktemp): Likewise.
17529         (mkstemp): Likewise.
17530         (ptsname): Likewise.
17531         (random): Likewise.
17532         (realpath): Likewise.
17533         (setstate): Likewise.
17534         (srandom): Likewise.
17535         (ttyslot): Likewise.
17536         (unlockpt): Likewise.
17537         (valloc): Likewise.
17539         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
17540         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
17541         variable.
17543 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17545         [BZ #20072]
17546         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
17547         init_cpu_features only if SHARED is defined.
17548         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
17550 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17552         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
17553         non-inclusive caches on Intel processors.
17555 2016-05-13  Florian Weimer  <fweimer@redhat.com>
17557         * malloc/malloc.c (dumped_main_arena_start)
17558         (dumped_main_arena_end): New variables.
17559         (DUMPED_MAIN_ARENA_CHUNK): New macro.
17560         (do_check_chunk): Skip dumped fake mmapped chunks.
17561         (munmap_chunk): Likewise.
17562         (__libc_free): Do not adjust statistics for fake mmapped chunks.
17563         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
17564         mmapped chunks.
17565         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
17566         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
17567         and dumped_main_arena_end to cover the dumped heap.
17569 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
17571         * conform/data/time.h-data (getdate_err): Do not expect for
17572         [XPG3].
17573         (getdate): Likewise.
17574         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
17575         variable.
17577         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
17578         (F_ULOCK): Likewise.
17579         (F_TEST): Likewise.
17580         (F_TLOCK): Likewise.
17581         (useconds_t): Likewise.
17582         (intptr_t): Do not expect for [XPG3] or [XPG4].
17583         (brk): Do not expect for [XPG3]
17584         (fchown): Likewise.
17585         (fchdir): Likewise.
17586         (ftruncate): Likewise.
17587         (getdtablesize): Likewise.
17588         (gethostid): Likewise.
17589         (getpagesize): Likewise.
17590         (getpgid): Likewise.
17591         (getsid): Likewise.
17592         (getwd): Likewise.
17593         (lchown): Likewise.
17594         (lockf): Likewise.
17595         (readlink): Likewise.
17596         (sbrk): Likewise.
17597         (setpgrp): Likewise.
17598         (setregid): Likewise.
17599         (setreuid): Likewise.
17600         (symlink): Likewise.
17601         (sync): Likewise.
17602         (truncate): Likewise.
17603         (ualarm): Likewise.
17604         (usleep): Likewise.
17605         (vfork): Likewise.
17606         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
17607         variable.
17609         [BZ #20054]
17610         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
17611         not [__USE_UNIX98].
17612         * conform/data/unistd.h-data (gethostname): Do not expect for
17613         [XPG3].
17615         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
17616         [!POSIX] (S_IFBLK): Likewise.
17617         [!POSIX] (S_IFCHR): Likewise.
17618         [!POSIX] (S_IFIFO): Likewise.
17619         [!POSIX] (S_IFREG): Likewise.
17620         [!POSIX] (S_IFDIR): Likewise.
17621         [!POSIX] (S_IFLNK): Likewise.
17622         [!POSIX] (S_IFSOCK): Likewise.
17623         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
17624         variable.
17625         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17627 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
17629         * sysdeps/aarch64/memset.S (__memset):
17630         Rewrite of optimized memset.
17632 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17634         [BZ #19703]
17635         Partially async-signal-safe fork for single-threaded processes.
17636         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
17637         variable.  Do not acquire and reset/release malloc and libio locks
17638         in single-threaded processes.
17639         * malloc/tst-mallocfork2.c: New file.
17640         * malloc/Makefile (tests): Add it.
17642 2016-05-12  Florian Weimer  <fweimer@redhat.com>
17644         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
17645         argument.  Use scratch buffer instead of extend_alloca.
17646         (gethosts): Use scratch buffer instead of extend_alloca.
17647         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
17648         extend_alloca.
17649         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
17651 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
17653         [BZ #20055]
17654         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
17655         instead of [__USE_UNIX98].
17656         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
17657         [__USE_UNIX98].
17658         * conform/data/termios.h-data (tcgetsid): Do not expect for
17659         [XPG3].
17660         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
17661         variable.
17662         (test-xfail-XPG4/termios.h/conform): Likewise.
17664 2016-05-11  Florian Weimer  <fweimer@redhat.com>
17666         Do not use mcheck in localedef.
17667         * locale/programs/localedef.c (turn_on_mcheck)
17668         (__malloc_initialize_hook): Remove.
17670 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17672         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
17673         * sysdeps/s390/s390-64/Makefile: Likewise.
17675 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17677         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
17678         Remove ifunc-defines.sym.
17679         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
17680         Likewise.
17681         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
17682         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17683         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
17684         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
17685         rtld-global-offsets.sym.
17686         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
17687         * sysdeps/x86/cpu-features-offsets.sym: This.
17688         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
17689         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
17691 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
17693         [BZ #20073]
17694         * io/sys/stat.h (fchmod): Declare for
17695         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
17696         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
17697         variable.
17699         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
17700         [XPG3] (S_IFSOCK): Likewise.
17701         [XPG3] (S_ISVTX): Likewise.
17702         [XPG3] (S_ISLNK): Likewise.
17703         [XPG3] (S_ISSOCK): Likewise.
17704         [XPG3] (fchmod): Likewise.
17705         [XPG3] (lstat): Likewise.
17706         [XPG3] (mknod): Likewise.
17708         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
17709         [XPG3].  Expect type long and XFAIL for [XPG4].
17710         (st_blocks): Likewise.
17712         [BZ #20044]
17713         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
17714         (pthread_atfork): New prototype.
17715         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
17716         variable.
17718         [BZ #20043]
17719         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
17720         prototype.
17722 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17724         [BZ #20017]
17725         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
17726         gmtime.
17728 2016-05-10  Florian Weimer  <fweimer@redhat.com>
17730         [BZ #19994]
17731         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
17732         flag in _res.options.
17734 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
17736         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
17737         [XPG3 || XPG4].
17738         (blksize_t): Likewise.
17739         (clockid_t): Likewise.
17740         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
17741         variable.
17742         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17744 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17746         * sysdeps/unix/sysv/linux/s390/init-first.c:
17747         Add VDSO_SYMBOL(getcpu).
17748         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
17749         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
17750         Add VDSO_SYMBOL(getcpu).
17751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
17752         New define HAVE_GETCPU_VSYSCALL.
17753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17755 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
17757         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
17758         instead of <sysdeps/x86_64/cacheinfo.c>.
17759         * sysdeps/x86_64/cacheinfo.c: Moved to ...
17760         * sysdeps/x86/cacheinfo.c: Here.
17762 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17764         * malloc/malloc-internal.h: Adjust header file guard.
17766 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17768         [BZ #19787]
17769         * inet/getnameinfo.c (check_sprintf_result): New function.
17770         (CHECKED_SNPRINTF): New macro.
17771         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
17772         to the host buffer.
17773         (gni_host_local): Use checked_copy to copy the host name.
17774         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
17775         (gni_serv_local): Use checked_copy to copy the service name.
17776         (getnameinfo): Remove unnecessary truncation of result buffers.
17778 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17780         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
17781         in case of inet_ntop failure.
17783 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17785         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
17786         avoid long lines.
17787         (gni_host_inet_numeric): Likewise.  Reduce scope of local
17788         variables.
17789         (gni_host_inet, gni_host_local): Add comment.
17790         (gni_host): Add comment.  Use temporary to avoid long lines.
17792 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17794         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
17795         registers specifiers where general purpose registers specifiers should
17796         have been used.
17798 2016-05-04  Florian Weimer  <fweimer@redhat.com>
17800         [BZ #19779]
17801         CVE-2016-1234
17802         Avoid copying names of directory entries.
17803         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
17804         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
17805         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
17806         (struct readdir_result): New type.
17807         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
17808         (GL_READDIR): New macros.
17809         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
17810         (convert_dirent, convert_dirent64): New functions.
17811         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
17812         convert_dirent64.  Adjust references to the readdir result.
17813         * sysdeps/unix/sysv/linux/i386/glob64.c:
17814         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
17815         * posix/bug-glob2.c (LONG_NAME): Define.
17816         (filesystem): Add LONG_NAME.
17817         (my_DIR): Increase the size of room_for_dirent.
17819 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
17821         [BZ #20041]
17822         * misc/sys/select.h (__need_timespec): Only define if
17823         [__USE_XOPEN2K].
17824         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
17825         variable.
17826         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17827         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17828         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17830 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17831             Segher Boessenkool  <segher@gcc.gnu.org>
17833         [BZ #20004]
17834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
17835         (__novec_swapcontext): Add missing load.
17837 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
17839         [BZ #20023]
17840         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
17841         <time.h>.
17842         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
17843         variable.
17844         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17846 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
17849         flags CLONE_VM compare.
17851 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17853         [BZ #20031]
17854         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
17855         completely empty.
17857 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17859         [BZ #19573]
17860         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
17861         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
17862         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
17863         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
17864         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
17865         (hesiod_free_list): Mark as hidden.
17866         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
17867         res_set, res_get.
17868         * hesiod/hesiod.c: Remove unnecessary forward declarations.
17869         (init, __hesiod_res_get, __hesiod_res_set): Remove.
17870         (hesiod_init): Remove obsolete res_ninit call.
17871         (hesiod_end): Do not free resolver state.  Do not invoke callback.
17872         (hesiod_bind): Do not call init.
17873         (get_txt_records): Use res_mkquery, res_send instead of
17874         res_nmkquery, res_nsend.
17875         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
17876         instead of _nss_hesiod_init.
17877         (_nss_hesiod_initgroups_dyn): Likewise.
17878         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
17879         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
17880         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
17882 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17884         * hesiod/hesiod_p.h (DEF_RHS): Remove.
17885         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
17887 2016-05-02  Florian Weimer  <fweimer@redhat.com>
17889         * hesiod/hesiod.h: Remove RCS keyword.
17890         * hesiod/hesiod_p.h: Likewise.
17892         * hesiod/hesiod.c: Likewise.
17894 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
17896         [BZ #12450]
17897         * locale/iso-639.def: Add Samogitian/sgs.
17899 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17901         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
17903         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
17905 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
17906             Carlos O'Donell  <carlos@redhat.com>
17908         [BZ #19072]
17909         * grp/Makefile (headers): Add grp-merge.h
17910         (routines): Add grp-merge.
17911         * grp/getgrgid_r.c: Include grp-merge.h.
17912         (DEEPCOPY_FN): Define.
17913         (MERGE_FN): Define.
17914         * grp/getgrname_r.c: Include grp-merge.h.
17915         (DEEPCOPY_FN): Define.
17916         (MERGE_FN): Define.
17917         * grp/grp-merge.c: New file.
17918         * grp/grp-merge.h: New file.
17919         * include/grp-merge.h: New file.
17920         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
17921         __copy_grp@GLIBC_PRIVATE.
17922         * manual/nss.texi (Actions in the NSS configuration): Describe
17923         return, continue, and merge.
17924         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
17925         (DEEPCOPY_FN): Define.
17926         (MERGE_FN): Define.
17927         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
17928         (DEEPCOPY_FN): Define.
17929         (MERGE_FN): Define.
17930         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
17931         [!MERGE_FN]: Define __merge_einval.
17932         (CHECK_MERGE): Define.
17933         (REENTRANT_NAME): Process merge if do_merge is true.
17934         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
17935         (__nss_getent_r): Likewise.
17936         * nss/nsswitch.c (nss_parse_service_list): Likewise.
17937         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
17939 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17941         [BZ #20012]
17942         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
17943         length to calculate the buffer to read.
17944         (fmemopen_write): Set the buffer position based on bytes written.
17945         (fmemopen_seek): Return EINVAL for invalid whence modes.
17947         [BZ #19957]
17948         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
17949         tst-getpid2.
17950         (test): Add tst-clone2.
17951         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
17952         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
17953         pid/tid fields for CLONE_VM.
17954         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17955         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17956         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17957         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
17958         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17959         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17960         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17961         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17963         Likewise.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17965         Likewise.
17966         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17967         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17968         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17969         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17970         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17971         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17972         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17973         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
17975 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17977         [BZ #19642]
17978         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
17979         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
17980         (gni_serv_local, gni_serv): New functions extracted from
17981         getnameinfo.
17982         (getnameinfo): Call gni_host and gni_serv to perform the
17983         processing.  Always free scratch buffer.
17985 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17987         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
17988         remaining bytes in the dest string, with zeros.
17990 2016-04-29  Florian Weimer  <fweimer@redhat.com>
17992         [BZ #20010]
17993         CVE-2016-3706
17994         * sysdeps/posix/getaddrinfo.c
17995         (convert_hostent_to_gaih_addrtuple): New function.
17996         (gethosts): Call convert_hostent_to_gaih_addrtuple.
17997         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
17998         AF_INET data.
18000 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18002         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18003         callback function gl_readdir.
18004         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18005         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18006         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18007         memcpy to copy the name.
18008         * manual/pattern.texi (Calling Glob): Document requirements for
18009         implementations of the gl_readdir callback function.
18010         * manual/examples/mkdirent.c: New example.
18011         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18012         per the manual guidance.
18013         * posix/tst-gnuglob.c (my_readdir): Likewise.
18015 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18017         [BZ #20014]
18018         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18019         not [__USE_POSIX].
18020         (getchar_unlocked): Likewise.
18021         (putc_unlocked): Likewise.
18022         (putchar_unlocked): Likewise.
18023         (flockfile): Likewise.
18024         (ftrylockfile): Likewise.
18025         (funlockfile): Likewise.
18026         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18027         variable.
18028         (test-xfail-XPG4/stdio.h/conform): Likewise.
18030         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18031         Expect constant.
18032         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18033         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18034         variable.
18035         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18036         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18038         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18039         [__USE_LARGEFILE64] (off64_t): Likewise.
18040         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18041         variable.
18043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18045         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18047 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18049         * resolv/inet_addr.c: Reindent preprocessor conditionals.
18050         * resolv/res_init.c: Likewise.
18051         * resolv/res_mkquery.c: Likewise.
18053 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18055         * resolv/res_init.c (isascii): Do not define.  Use definition in
18056         <ctype.h>.
18057         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
18058         (LOG_AUTH): Remove.
18059         (SPRINTF): Remove, adjust caller.
18060         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
18062 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18064         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
18065         SUNSECURITY conditional.
18066         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
18068 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18070         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
18071         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
18072         Remove BSD-related preprocessor conditionals.
18073         * conf/portability.h: Remove.
18075 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18077         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
18078         * resolv/res_data.c: Likewise.
18080 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18082         * resolv/res_comp.c: Remove code conditional on __ultrix__.
18083         * resolv/res_data.c: Remove code conditional on ultrix.
18085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18087         * resolv/res_init.c (RFC1535): Do not define.  Remove
18088         RFC1535 preprocessor conditionals.
18089         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
18090         because there configuration options which make the resolver
18091         behavior different.
18093 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18095         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
18096         RESOLVSORT preprocessor conditionals.
18097         * resolv/nss_dns/dns-host.c: Likewise.
18098         * resolv/res_init.c: Likewise.
18100 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18102         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
18103         is never defined.
18105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18107         * inet/inet_lnaof.c: Remove SCSS keyword.
18108         * inet/inet_mkadr.c: Likewise.
18109         * inet/inet_net.c: Likewise.
18110         * inet/inet_netof.c: Likewise.
18111         * inet/rcmd.c: Likewise.
18112         * inet/rexec.c: Likewise.
18113         * inet/ruserpass.c: Likewise.
18115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18117         * resolv/inet_addr.c: Remove _LIBC conditionals.
18118         * resolv/res_data.c: Likewise.
18119         * resolv/res_init.c: Likewise.
18120         * resolv/res_mkquery.c: Likewise.
18121         * resolv/res_libc.c: Update comment.
18122         * resolv/README: Update.
18124 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18126         * resolv/gethnamaddr.c: Remove SCSS keyword.
18127         * resolv/herror.c: Likewise.
18128         * resolv/inet_addr.c: Likewise.
18129         * resolv/inet_net_ntop.c: Likewise.
18130         * resolv/inet_net_pton.c: Likewise.
18131         * resolv/inet_neta.c: Likewise.
18132         * resolv/inet_ntop.c: Likewise.
18133         * resolv/inet_pton.c: Likewise.
18134         * resolv/ns_date.c: Remove RCS keyword.
18135         * resolv/ns_name.c: Likewise.
18136         * resolv/ns_netint.c: Likewise.
18137         * resolv/ns_parse.c: Likewise.
18138         * resolv/ns_print.c: Likewise.
18139         * resolv/ns_samedomain.c: Likewise.
18140         * resolv/ns_ttl.c: Likewise.
18141         * resolv/nsap_addr.c: Likewise.
18142         * resolv/res_comp.c: Remove SCSS and RCS keyword.
18143         * resolv/res_data.c: Remove RCS keyword.
18144         * resolv/res_debug.c: Remove SCSS and RCS keyword.
18145         * resolv/res_init.c: Likewise.
18146         * resolv/res_mkquery.c: Likewise.
18147         * resolv/res_query.c: Likewise.
18148         * resolv/res_send.c: Likewise.
18150 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18152         * conform/data/stdio.h-data (fdopen): Expect also for
18153         [XPG3 || XPG4].
18155         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
18156         (fseeko): Likewise.
18157         (ftello): Likewise.
18158         (ftrylockfile): Likewise.
18159         (funlockfile): Likewise.
18160         (getc_unlocked): Likewise.
18161         (getchar_unlocked): Likewise.
18162         (putc_unlocked): Likewise.
18163         (putchar_unlocked): Likewise.
18165 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18167         [BZ #19868]
18168         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
18169         DNS packet syntax checks (which were not needed before).  Skip
18170         over non-PTR records.
18172 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18174         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
18175         definition.  Include <stddef.h> instead.
18177 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18179         [BZ #19831]
18180         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
18181         function.
18182         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
18183         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
18185 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18187         [BZ #19862]
18188         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
18189         (getanswer_r): Do not call syslog.
18190         (gaih_getanswer_slice): Likewise.
18191         * resolv/gethnamaddr.c (AskedForGot): Remove.
18192         (getanswer): Do not call syslog.
18193         (gethostbyaddr): Likewise.
18195 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
18197         * conform/data/signal.h-data (union sigval): Expect also if
18198         [XOPEN2K].
18199         (struct sigevent): Likewise.
18200         (SIGEV_NONE): Likewise.
18201         (SIGEV_SIGNAL): Likewise.
18202         (SIGEV_THREAD): Likewise.
18203         (SIGRTMIN): Likewise.
18204         (SIGRTMAX): Likewise.
18205         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
18206         variable.
18207         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18209 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18211         [BZ #19830]
18212         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
18213         (gaih_getanswer_slice): Likewise.
18214         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
18215         Also check for availability of RR metadata.
18217 2016-04-27  Florian Weimer  <fweimer@redhat.com>
18219         [BZ #19825]
18220         * resolv/res_send.c (send_vc): Remove early *resplen2
18221         initialization.  Set *resplen2 on socket error.  Call
18222         close_and_return_error for other errors.
18224 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18226         * sysdeps/unix/sysv/linux/netiucv/iucv.h
18227         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
18228         (SCM_IUCV_TRGCLS): New define.
18230 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18232         [BZ #20005]
18233         * libio/fmemopen.c (fmemopen_write): Update internal position after
18234         write.
18235         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
18236         * stdio-common/tst-fmemopen4.c: New file..
18238 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #19996]
18241         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
18242         not [__USE_XOPEN2K].
18243         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
18244         variable.
18246         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
18247         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
18248         variable.
18250         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
18251         [__USE_XOPEN2K8].
18252         [__USE_LARGEFILE64] (off64_t): Likewise.
18253         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
18254         variable.
18256 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
18258         [BZ #19989]
18259         * libio/stdio.h (cuserid): Do not declare if
18260         [__USE_XOPEN2K && !__USE_GNU].
18261         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
18262         variable.
18264 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18266         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18267         (sysdep_routines): Add P8 and PPC64 strcspn targets.
18268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18269         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18270         ifunc'ed strcspn.
18271         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18272         [EALIGN]: Removed.
18273         [END]: Likewise
18274         [STRSPN]: Define instead of the above to control symbol name.
18275         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
18276         New file.
18277         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
18278         Likewise.
18279         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
18280         Likewise.
18281         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
18282         Likewise.
18283         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18284         [INITIAL_MASK]: New macro.
18285         [STRCSPN]: Likewise.
18286         [UPDATE_MASK]: Likewise.
18287         [USE_AS_STRCSPN]: Likewise.
18289 2016-04-25  Florian Weimer  <fweimer@redhat.com>
18291         [BZ #19931]
18292         * stdio-common/tst-vfprintf-width-prec.c: New file.
18293         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
18294         (tests-special): Add tst-vfprintf-width-prec-mem.out.
18295         (generated): Add mtrace-related files.
18296         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
18297         (tst-%-mem.out): New pattern rule, replaces
18298         tst-printf-bz18872-mem.out.
18299         * stdio-common/vfprintf.c (vfprintf): When handling a precision
18300         specifier, deallocate any previously allocated work buffer.
18302 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
18304         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
18305         Add nop before __startcontext, add explaining comments.
18307 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
18309         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
18310         any more. Notably since IPV6_PKTINFO has been reintroduced with a
18311         completely different API.
18313         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
18314         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
18315         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
18316         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
18317         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
18318         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
18319         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
18320         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
18321         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
18322         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
18324 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
18326         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
18328 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
18330         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
18331         when it is the default of 0.
18333 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18335         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
18336         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18337         (sysdep_routines): Add new strcasestr targets.
18338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18339         (__libc_ifunc_impl_list): Likewise.
18340         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
18341         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
18342         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
18343         * sysdeps/powerpc/powerpc64/power8/Makefile:
18344         New file to add strcasestr-ppc64 to sysdep_routines.
18345         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
18346         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
18348 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
18350         * benchtests/Makefile (wcsmbs-benchset): Include only for
18351         native builds and runs.
18352         (LOCALES): Likewise.
18353         (bench-build): Build timing-type here instead of the bench
18354         target.  Generate locale only for native builds.
18355         * benchtests/README: Add note for cross-building.
18357         * benchtests/Makefile (bench-clean): Clean up extra-objs.
18359         * benchtests/README: Update README to include instructions on
18360         using bench-build.
18362         * Makefile.in (bench-build): New target.
18363         * Rules (PHONY): Add bench-build target.
18364         * benchtests/Makefile (bench): Depend on bench-build.
18365         (bench-build): New target.
18367 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18369         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
18370         profil_reply_port.
18371         (profile_waiter): Do not initialize profil_reply_port.
18372         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
18373         frequency instead of tick length in us.
18375 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
18377         [BZ #18712]
18378         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
18379         (__old_mempcpy_small): Likewise.
18380         (__old_strcpy_small): Likewise.
18381         (__old_stpcpy_small): Likewise.
18382         (__old_strpbrk_c2): Fix compat symbol name.
18383         (__old_strpbrk_c3): Likewise.
18384         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
18385         (__mempcpy_small): Remove.
18386         (__strcpy_small): Remove.
18387         (__stpcpy_small): Remove.
18389 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
18391         [BZ #19400]
18392         * locale/iso-639.def: Add the Talossan/tzl language.
18394 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18396         [BZ #16983]
18397         * locale/programs/ld-address.c (address_finish): Update postal_fmt
18398         comment.  Add "ln" to strchr check on postal_fmt.
18400 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
18402         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
18403         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
18404         tel_dom_fmt.
18406 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18408         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18409         (sysdep_routines): Added __strlen_power8.
18410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
18411         __strlen_power8 entry.
18412         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
18413         Implementation for POWER8.
18414         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
18415         for __strlen_power8.
18416         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
18417         Implementation for POWER8.
18419 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
18421         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
18423 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
18425         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
18426         Goldmont and Airmont processors.
18428 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
18430         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
18431         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
18432         (__STRING2_SMALL_GET32): Remove.
18433         (memset): Remove.
18434         (__memset_1): Remove.
18435         (__memset_gc): Remove.
18436         (__mempcpy): Remove.
18437         (mempcpy): Remove.
18438         (__mempcpy_args): Remove.
18439         (strchr): Remove.
18440         (strcpy): Remove.
18441         (strcpy_args): Remove.
18442         (__stpcpy_args): Remove.
18443         (__strcmp_cc): Remove.
18444         (__strcmp_gc): Remove.
18445         (strstr): Remove.
18447 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
18449         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
18450         * nis/nis_call.c (nis_server_cache_add): Likewise.
18452 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18454         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
18456 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18458         * malloc/arena.c (__malloc_fork_lock_parent)
18459         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
18460         internal_function attribute.
18462 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
18464         * stdio-common/printf_fp.c (__printf_fp_l):
18465         Rename ___printf_fp_l to __printf_fp_l and
18466         remove strong alias. Use libc_hidden_def instead
18467         of ldbl_hidden_def macro.
18469 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18471         Remove malloc hooks from fork handler.  They are no longer needed
18472         because malloc runs right before fork, and no malloc calls from
18473         other fork handlers are not possible anymore.
18474         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
18475         declarations.
18476         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
18477         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
18478         (atfork_recursive_cntr): Remove.
18479         (__malloc_fork_lock_parent): Do not override malloc hooks and
18480         thread_arena.
18481         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
18482         thread_arena.
18483         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
18484         thread_arena instead of save_arena.
18486 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18488         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
18489         (thread_atfork, thread_atfork_static): Remove.
18490         * sysdeps/mach/hurd/malloc-machine.h:
18491         (thread_atfork, thread_atfork_static): Remove.
18493 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18495         [BZ #19431]
18496         Run the malloc fork handler as late as possible to avoid deadlocks.
18497         * malloc/malloc-internal.h: New file.
18498         * malloc/malloc.c: Include it.
18499         * malloc/arena.c (ATFORK_MEM): Remove.
18500         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
18501         Update comment.
18502         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
18503         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
18504         Remove outdated comment.
18505         (ptmalloc_init): Do not call thread_atfork.  Remove
18506         thread_atfork_static.
18507         * malloc/tst-malloc-fork-deadlock.c: New file.
18508         * Makefile (tests): Add tst-malloc-fork-deadlock.
18509         (tst-malloc-fork-deadlock): Link against libpthread.
18510         * manual/memory.texi (Aligned Memory Blocks): Update safety
18511         annotation comments.
18512         * sysdeps/nptl/fork.c (__libc_fork): Call
18513         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18514         __malloc_fork_unlock_child.
18515         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
18517 2016-04-14  Florian Weimer  <fweimer@redhat.com>
18519         [BZ #19613]
18520         Remove union wait.
18521         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
18522         (w_stopsig, w_stopval): Remove.
18523         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
18524         stat_loc argument.
18525         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
18526         (__WAIT_STATUS_DEFN): Remove.
18527         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18528         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
18529         (wait, wait3, wait4): Use int * for the stat_loc argument.
18530         * posix/wait.c (__wait): Likewise.
18531         * posix/wait3.c (__wait3): Likewise.
18532         * posix/wait4.c (__wait4): Likewise.
18533         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
18534         (__WAIT_STATUS_DEFN): Remove.
18535         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
18536         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
18537         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
18538         argument.
18539         * sysdeps/posix/wait.c (__libc_wait): Likewise.
18540         * sysdeps/posix/wait3.c (__wait3): Likewise.
18541         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
18542         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18543         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
18544         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
18545         stat_loc argument.
18546         * manual/process.texi (BSD Wait Functions): Remove union wait.
18548 2016-04-13  Andreas Schwab  <schwab@suse.de>
18550         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
18551         (test-extras): Add tst-tlsalign-vars.
18552         * math/Makefile: Wrap long lines.
18553         (libm-vec-test-wrappers): Define.
18554         (test-extras): Add $(libm-vec-test-wrappers).
18555         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
18556         * nss/Makefile (extra-test-objs): Add nss_test1.os.
18557         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
18558         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
18559         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
18560         (extra-test-objs): Add corresponding objects.
18562 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
18564         [BZ #19928]
18565         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
18566         New.
18567         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
18568         times of shared cache size.
18569         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
18570         (VMOVNT): New.
18571         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
18572         (VMOVNT): Likewise.
18573         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18574         (VMOVNT): Likewise.
18575         (VMOVU): Changed to movups for smaller code sizes.
18576         (VMOVA): Changed to movaps for smaller code sizes.
18577         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
18578         comments.
18579         (PREFETCH): New.
18580         (PREFETCH_SIZE): Likewise.
18581         (PREFETCHED_LOAD_SIZE): Likewise.
18582         (PREFETCH_ONE_SET): Likewise.
18583         Rewrite to use forward and backward loops, which move 4 vector
18584         registers at a time, to support overlapping addresses and use
18585         non temporal store if size is above the threshold and there is
18586         no overlap between destination and source.
18588 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
18590         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
18591         Include dl-vdso.
18592         * sysdeps/unix/sysv/linux/mips/Versions: Add
18593         __vdso_clock_gettime.
18594         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
18595         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
18596         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
18597         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
18598         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
18599         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
18600         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18601         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18602         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18604 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18606         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
18607         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
18608         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18609         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18610         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18611         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18614         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
18615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
18616         syscalls generation.
18617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18618         [__NR_pwrite64] (__NR_write): Remove define.
18619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18620         [__NR_pwrite64] (__NR_write): Remove define.
18621         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
18622         Remove define.
18623         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
18624         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
18625         Remove define.
18626         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
18627         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
18628         Linux implementation as base.
18629         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18631         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
18632         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
18633         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18634         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
18636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18637         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
18638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
18639         syscall generation.
18640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18641         [__NR_pread64] (__NR_pread): Remove define.
18642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18643         [__NR_pread64] (__NR_pread): Likewise.
18644         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
18645         define.
18646         (__libc_pread): Use SYSCALL_LL macro on offset argument.
18647         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
18648         Remove define.
18649         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
18650         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
18651         Linux implementation as base.
18652         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18653         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18654         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18656         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
18657         definition.
18658         (__ALIGNMENT_COUNT): Likewise.
18659         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
18660         (__ALIGNMENT_COUNT): Likewise.
18661         (SYSCALL_LL): New define.
18662         (SYSCALL_LL64): Likewise.
18663         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
18664         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
18665         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
18666         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
18668         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18669         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
18670         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18671         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18673         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
18675 2016-04-11  Florian Weimer  <fweimer@redhat.com>
18677         [BZ #19865]
18678         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
18679         original buffer before retry.
18681 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
18684         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
18685         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
18686         GLRO(dl_auxv) list.
18687         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
18688         including <ldsodefs.h>.
18689         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
18691 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
18693         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
18694         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
18695         $(CPPFLAGS).
18697 2016-04-09  Khem Raj  <raj.khem@gmail.com>
18699         [BZ #17950]
18700         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
18701         Add -mfpmath=387.
18703 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
18705         * sysdeps/i386/configure.ac: Change == to = when calling test.
18706         * sysdeps/x86_64/configure.ac: Likewise.
18707         * sysdeps/i386/configure: Regenerated.
18708         * sysdeps/x86_64/configure: Likewise.
18710 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
18712         [BZ #16137]
18713         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
18714         * benchtests/bench-strcoll.c (input_files): Likewise.
18715         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18716         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
18717         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
18719 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
18721         [BZ #19929]
18722         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
18723         [__USE_XOPEN2K8 && !__USE_GNU].
18724         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
18725         variable.
18727         [BZ #19925]
18728         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
18729         define if [!__USE_MISC && __USE_XOPEN2K].
18730         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
18731         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
18732         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
18733         Likewise.
18734         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
18735         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
18736         variable.
18737         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18739 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18741         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18742         (sysdep_routines): Add new strspn targets.
18743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18744         (__libc_ifunc_impl_list): Add strspn.
18745         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
18746         New file.
18747         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
18748         Likewise.
18749         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
18750         Likewise.
18751         * sysdeps/powerpc/powerpc64/power8/strspn.S:
18752         Likewise.
18754 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18756         * misc/hsearch_r.c: Include <limits.h>.
18758 2016-04-07  Florian Weimer  <fweimer@redhat.com>
18760         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
18762 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18764         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18765         (MEMCPY_SYMBOL): New.
18766         (MEMPCPY_SYMBOL): Likewise.
18767         (MEMMOVE_CHK_SYMBOL): Likewise.
18768         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
18769         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
18770         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
18771         Provide alias for memcpy in libc.a and ld.so.
18773 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18775         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18776         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
18777         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
18778         Disabled fro now.
18779         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
18780         symbols.  Properly check USE_MULTIARCH on __memset symbols.
18782 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
18784         * benchtests/Makefile (string-benchset): Add memcpy-large,
18785         memmove-large and memset-large.
18786         * benchtests/bench-memcpy-large.c: New file.
18787         * benchtests/bench-memmove-large.c: Likewise.
18788         * benchtests/bench-memmove-large.c: Likewise.
18789         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
18791 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18793         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
18794         32-bit displacement to avoid long nop between instructions.
18796 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
18798         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
18799         a comment on VMOVU and VMOVA.
18801 2016-04-04  Florian Weimer  <fweimer@redhat.com>
18803         [BZ #19633]
18804         Use specified locale for number formatting in strfmon_l.
18805         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
18806         (__nl_lookup_word): New inline functions.
18807         * include/printf.h (__print_fp_l): Declare.
18808         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
18809         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
18810         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
18811         (___printf_fp): New function.
18812         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
18813         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
18814         * stdlib/tst-strfmon_l.c (do_test): New test.
18815         * stdlib/Makefile (tests): Add kt.
18816         (LOCALES): Build additional locales.
18817         (tst-strfmon_l.out): Require locales.
18819 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18821         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
18822         if not in libc.
18823         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18824         Likewise.
18825         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
18826         Likewise.
18827         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18828         Likewise.
18830 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
18832         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18833         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
18834         with unaligned_erms.
18835         (__memmove_erms): Skip if source == destination.
18836         (__memmove_unaligned_erms): Don't check source == destination
18837         first.
18839 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18841         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
18842         bit_arch_Fast_Copy_Backward for Intel Core proessors.
18844 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18846         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
18847         * string/strspn.c (strspn): Likewise.
18849 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18851         * benchtests/bench-memset.c (do_test): Support 64-byte
18852         alignment.
18853         (test_main): Test 64-byte alignment.
18855 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18857         * benchtests/bench-memmove.c (test_main): Test 64-byte
18858         alignment.
18860 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
18862         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
18864 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18866         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
18867         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
18868         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
18870         * string/strpbrk.c (strpbrk): Rewrite function.
18871         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
18872         (__strpbrk_c2): Likewise.
18873         (__strpbrk_c3): Likewise.
18874         * string/string-inlines.c
18875         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
18876         Likewise.
18877         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
18878         Likewise.
18880         * string/strspn.c (strcspn): Rewrite function.
18881         * string/bits/string2.h (strspn): Use __builtin_strcspn.
18882         (__strspn_c1): Remove inline function.
18883         (__strspn_c2): Likewise.
18884         (__strspn_c3): Likewise.
18885         * string/string-inlines.c
18886         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
18887         compatibility symbol.
18888         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
18889         Likewise.
18890         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
18891         Likewise.
18892         * string/string-inlines.c: Include generic version.
18894 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
18895             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18897         * string/Version (libc): Add GLIBC_2.24.
18898         * string/strcspn.c (strcspn): Rewrite function.
18899         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
18900         (__strcspn_c1): Remove inline function.
18901         (__strcspn_c2): Likewise.
18902         (__strcspn_c3): Likewise.
18903         * string/string-inline.c
18904         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
18905         compatibility symbol.
18906         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
18907         Likewise.
18908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
18909         Likewise.
18910         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
18912 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18914         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18915         Use ahi instead of aghi to adjust stack pointer.
18917 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18919         [BZ #19853]
18920         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
18921         TEST to take significant digits as second parameter.
18922         [TEST]: Redefine in terms of TEST_N taking 30
18923         significant digits.
18924         (do_test): Add test case to demonstrate precision
18925         failure in the ldbl-128ibm printf.
18926         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
18927         (__mpn_extract_long_double): Carry 7 extra intermediate
18928         bits of precision to aide computing difference when
18929         signs differ.
18931 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18933         [BZ #19881]
18934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18935         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
18936         memset-avx512-unaligned-erms.
18937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18938         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
18939         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
18940         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
18941         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
18942         __memset_sse2_unaligned_erms, __memset_erms,
18943         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
18944         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18945         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
18946         file.
18947         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18948         Likewise.
18949         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
18950         Likewise.
18951         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
18952         Likewise.
18954 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
18956         [BZ #19776]
18957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18958         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
18959         memmove-avx512-unaligned-erms.
18960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18961         (__libc_ifunc_impl_list): Test
18962         __memmove_chk_avx512_unaligned_2,
18963         __memmove_chk_avx512_unaligned_erms,
18964         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
18965         __memmove_chk_sse2_unaligned_2,
18966         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
18967         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
18968         __memmove_avx512_unaligned_erms, __memmove_erms,
18969         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
18970         __memcpy_chk_avx512_unaligned_2,
18971         __memcpy_chk_avx512_unaligned_erms,
18972         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
18973         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
18974         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
18975         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
18976         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
18977         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
18978         __mempcpy_chk_avx512_unaligned_erms,
18979         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
18980         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
18981         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
18982         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
18983         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
18984         __mempcpy_erms.
18985         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
18986         file.
18987         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18988         Likewise.
18989         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18990         Likewise.
18991         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
18992         Likewise.
18994 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
18996         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
18997         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
18998         (La_s390_64_regs): Likewise.
18999         (La_s390_32_retval): Append vector register lrv_v24.
19000         (La_s390_64_retval): Likeweise.
19001         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19002         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19003         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19004         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19006 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19008         [BZ #19916]
19009         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19010         to create a non-vector/vector version for _dl_runtime_resolve and
19011         _dl_runtime_profile. Move implementation to ...
19012         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19013         (_dl_runtime_resolve) Save and restore fpr/vrs.
19014         (_dl_runtime_profile) Save and restore vrs and fix some issues
19015         if _dl_call_pltexit is called.
19016         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19017         Choose the correct resolver function if running on a machine with vx.
19018         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19019         to create a non-vector/vector version for _dl_runtime_resolve and
19020         _dl_runtime_profile. Move implementation to ...
19021         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19022         (_dl_runtime_resolve) Save and restore fpr/vrs.
19023         (_dl_runtime_profile) Save and restore vrs and fix some issues
19024         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19025         Choose the correct resolver function if running on a machine with vx.
19027 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19029         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19031 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19033         [BZ #19509]
19034         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19035         skip_map != NULL.
19036         * elf/tst-dlsym-error.c: New file.
19037         * elf/Makefile (tests): Add tst-dlsym-error.
19038         (tst-dlsym-error): Link against libdl.
19040 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19042         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19043         (__ASSUME_FUTIMESAT): Remove macro.
19044         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19046 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19048         [BZ #19879]
19049         CVE-2016-3075
19050         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
19051         copy name.
19053 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19055         [BZ #19837]
19056         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
19057         error if parse_line fails.
19059 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19061         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
19062         (index_cpu_ERMS): Likewise.
19063         (reg_ERMS): Likewise.
19065 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
19067         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
19068         PER_LINUX_FDPIC): Add.
19070 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19073         memcpy-avx512-no-vzeroupper.
19074         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
19075         to ...
19076         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
19077         (MEMCPY): Don't define.
19078         (MEMCPY_CHK): Likewise.
19079         (MEMPCPY): Likewise.
19080         (MEMPCPY_CHK): Likewise.
19081         (MEMPCPY_CHK): Renamed to ...
19082         (__mempcpy_chk_avx512_no_vzeroupper): This.
19083         (MEMPCPY_CHK): Renamed to ...
19084         (__mempcpy_chk_avx512_no_vzeroupper): This.
19085         (MEMCPY_CHK): Renamed to ...
19086         (__memmove_chk_avx512_no_vzeroupper): This.
19087         (MEMCPY): Renamed to ...
19088         (__memmove_avx512_no_vzeroupper): This.
19089         (__memcpy_avx512_no_vzeroupper): New alias.
19090         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
19092 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19094         [BZ #18858]
19095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19096         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
19097         and mempcpy-avx512-no-vzeroupper.
19098         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
19099         New.
19100         (MEMPCPY): Likewise.
19101         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
19102         (MEMPCPY_CHK): New.
19103         (MEMPCPY): Likewise.
19104         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
19105         (MEMPCPY): Likewise.
19106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
19107         (MEMPCPY): Likewise.
19108         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
19109         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
19110         Likewise.
19111         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
19112         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
19114 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
19115              Amit Pawar  <Amit.Pawar@amd.com>
19117         [BZ #19583]
19118         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19119         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
19120         processors.  Set Fast_Copy_Backward for AMD Excavator
19121         processors.
19122         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
19123         New.
19124         (index_arch_Fast_Unaligned_Copy): Likewise.
19125         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
19126         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
19128 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19130         [BZ #19791]
19131         * resolv/res_send.c (close_and_return_error): New function.
19132         (send_dg): Initialize *resplen2 after reopen failure.  Call
19133         close_and_return_error for error returns.  On error paths without
19134         __res_iclose, initialze *resplen2 explicitly.  Update comment for
19135         successful return.
19137 2016-03-25  Florian Weimer  <fweimer@redhat.com>
19139         [BZ #19860]
19140         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
19141         zero if the compiler does not provide the AVX512F bit.
19143 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
19145         [BZ #19848]
19146         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
19147         from 8 to 4.
19148         (__ieee754_powl): Compare integer exponent against 4 not 8.
19149         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
19150         from 8 to 4.
19151         (__ieee754_powl): Compare integer exponent against 4 not 8.
19152         * math/auto-libm-test-in: Add more tests of pow.
19153         * math/auto-libm-test-out: Regenerated.
19154         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
19155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19159         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
19160         Make code unconditional.
19161         [!__NR_utimensat]: Remove conditional code.
19162         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
19163         Make code unconditional.
19164         [!__NR_utimensat]: Remove conditional code.
19165         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
19166         Make code unconditional.
19167         [!__NR_utimensat]: Remove conditional code.
19169 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
19171         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
19172         Make code unconditional.
19174 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
19176         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
19177         call-clobbered %eax on retry path.
19178         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19180 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19182         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
19183         Don't set %rcx twice before "rep movsb".
19185 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
19187         [BZ #19583]
19188         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
19189         inline.  Check family before setting family, model and
19190         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
19191         bits here.
19192         (init_cpu_features): Replace HAS_CPU_FEATURE and
19193         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
19194         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
19195         for Intel processors with usable AVX2.  Call get_common_indeces
19196         for other processors with family == NULL.
19197         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
19198         (CPU_FEATURES_ARCH_P): Likewise.
19199         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
19200         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
19202 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19204         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
19205         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
19206         $(shared-thread-library) instead of hardcoding the path to libpthread.
19208 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
19210         * sysdeps/unix/sysv/linux/kernel-features.h
19211         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
19212         * sysdeps/unix/sysv/linux/getdents.c
19213         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
19214         [!have_no_getdents64_defined]: Likewise.
19215         (__GETDENTS): Remove __have_no_getdents64 conditional.
19217 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
19219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
19220         Remove macro.
19221         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
19222         <kernel-features.h>.
19223         (signalfd) [__NR_signalfd4]: Make code unconditional.
19224         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
19226 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19228         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
19229         style.
19231 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
19233         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
19234         (__pthread_enable_asynccancel): Use JUMPTARGET to call
19235         __pthread_unwind.
19236         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19237         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
19238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19239         (__condvar_cleanup1): Likewise.
19241 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
19243         [BZ #19822]
19244         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
19245         move it to the final $@ location.
19247 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19249         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
19250         access where posix_spawn success and pid argument is null.
19251         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
19252         success case.
19254 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
19256         * sysdeps/mach/hurd/i386/c++-types.data: New file.
19258         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
19260         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
19261         and __fcntl.
19262         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
19263         __fcntl only.
19264         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
19265         adding attribute_hidden to __open and __fcntl.
19267         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
19268         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
19269         depend on libc-modules.h,
19270         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
19272 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
19274         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
19275         Remove macro.
19276         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
19277         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
19278         entry.
19280         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
19281         Remove macro.
19282         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
19283         include <kernel-features.h>.
19284         [!__ASSUME_FALLOCATE]: Remove conditional code.
19285         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
19287 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19289         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
19290         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
19291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
19292         (_ZGVdN4v_cos_avx2): Likewise.
19293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
19294         (_ZGVdN4v_cos): Likewise.
19295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
19296         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
19297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
19298         (_ZGVdN4v_exp_avx2): Likewise.
19299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
19300         (_ZGVdN4v_exp): Likewise.
19301         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
19302         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
19303         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
19304         (_ZGVdN4v_log_avx2): Likewise.
19305         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
19306         (_ZGVdN4v_log): Likewise.
19307         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
19308         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
19309         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
19310         (_ZGVdN4vv_pow_avx2): Likewise.
19311         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
19312         (_ZGVdN4vv_pow): Likewise.
19313         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
19314         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
19315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
19316         (_ZGVdN4v_sin_avx2): Likewise.
19317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
19318         (_ZGVdN4v_sin): Likewise.
19319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
19320         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
19321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
19322         (_ZGVdN4vvv_sincos_avx2): Likewise.
19323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
19324         (_ZGVdN4vvv_sincos): Likewise.
19325         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
19326         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
19327         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
19328         (_ZGVbN4v_cosf_sse4): Likewise.
19329         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
19330         (_ZGVdN8v_cosf_avx2): Likewise.
19331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
19332         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
19333         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
19334         (_ZGVbN4v_expf_sse4): Likewise.
19335         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
19336         (_ZGVdN8v_expf_avx2): Likewise.
19337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
19338         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
19339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
19340         (_ZGVbN4v_logf_sse4): Likewise.
19341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
19342         (_ZGVdN8v_logf_avx2): Likewise.
19343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
19344         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
19345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
19346         (_ZGVbN4vv_powf_sse4): Likewise.
19347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
19348         (_ZGVdN8vv_powf_avx2): Likewise.
19349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19350         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
19351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19352         (_ZGVbN4vvv_sincosf_sse4): Likewise.
19353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19354         (_ZGVdN8vvv_sincosf_avx2): Likewise.
19355         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
19356         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
19357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
19358         (_ZGVbN4v_sinf_sse4): Likewise.
19359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
19360         (_ZGVdN8v_sinf_avx2): Likewise.
19361         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19362         Use JUMPTARGET to call callee.
19363         (WRAPPER_IMPL_SSE2_ff): Likewise.
19364         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19365         (WRAPPER_IMPL_AVX): Likewise.
19366         (WRAPPER_IMPL_AVX_ff): Likewise.
19367         (WRAPPER_IMPL_AVX_fFF): Likewise.
19368         (WRAPPER_IMPL_AVX512): Likewise.
19369         (WRAPPER_IMPL_AVX512_ff): Likewise.
19370         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
19371         Likewise.
19372         (WRAPPER_IMPL_SSE2_ff): Likewise.
19373         (WRAPPER_IMPL_SSE2_fFF): Likewise.
19374         (WRAPPER_IMPL_AVX): Likewise.
19375         (WRAPPER_IMPL_AVX_ff): Likewise.
19376         (WRAPPER_IMPL_AVX_fFF): Likewise.
19377         (WRAPPER_IMPL_AVX512): Likewise.
19378         (WRAPPER_IMPL_AVX512_ff): Likewise.
19379         (WRAPPER_IMPL_AVX512_fFF): Likewise.
19381 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19383         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
19384         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
19385         qualifier.
19386         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
19387         internal_function qualifiers.
19389 2016-03-15  Carlos O'Donell <carlos@redhat.com>
19391         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
19392         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
19393         * math/atest-exp.c (exp_mpn): Mark chk unused.
19394         * math/atest-exp2.c (exp_mpn): Likewise.
19395         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
19396         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
19398 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
19400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
19401         Remove macro.
19402         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
19403         <kernel-features.h>.
19404         [__NR_ppoll]: Make code unconditional.
19405         [!__ASSUME_PPOLL]: Remove conditional code.
19407         * sysdeps/unix/sysv/linux/kernel-features.h
19408         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
19409         (__ASSUME_ACCEPT4): Likewise.
19410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19411         Define.
19412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
19413         Likewise.
19414         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19415         Likewise.
19416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
19417         Likewise.
19418         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
19419         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
19420         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19421         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19422         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19426         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19428         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19429         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19432         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19434         Likewise.
19435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19436         Likewise.
19437         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19438         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19439         0x040300].
19440         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19441         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19442         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19443         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19444         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19445         0x030300].
19446         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
19447         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19448         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19449         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19450         0x040300].
19451         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19453         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19454         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19455         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19456         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19457         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
19458         0x030300].
19459         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19460         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19463         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19467         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19468         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
19469         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
19470         0x040300].
19471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19473         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19474         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19475         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19476         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19477         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19478         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19479         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19480         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19481         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19482         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19485         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
19486         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19487         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19488         Likewise.
19489         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19490         Likewise.
19492 2016-03-15  Andreas Schwab  <schwab@suse.de>
19494         [BZ #19257]
19495         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
19496         statp->_u._ext.nscount as loop count.
19498 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19500         * math/test-signgam-finite-c99.c: Also #undef
19501         __LIBC_INTERNAL_MATH_INLINES.
19502         * math/test-signgam-main.c: Likewise.
19504 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
19506         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
19507         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19508         (MADV_FREE): Likewise.
19509         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
19510         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
19511         EPOLLEXCLUSIVE.
19513 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
19515         * timezone/README: Remove mention of checktab.awk. Mention wiki
19516         SharedSourceFiles.
19518 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
19520         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
19521         WUNTRACED.
19523 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19525         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
19526         order to match the type of p when calling atomic_exchange_acq().
19528 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19530         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
19531         cfi_offset calls.
19532         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19533         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
19534         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
19535         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
19536         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
19538 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
19540         * timezone/checktab.awk: Removed.
19542 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
19544         * manual/math.texi (Errors in Math Functions): Document relaxed
19545         accuracy goals for IBM long double.
19546         * math/libm-test.inc (test_exceptions): Always allow spurious
19547         "underflow" and "inexact" exceptions for IBM long double.
19549 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
19551         [BZ #19762]
19552         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19553         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
19554         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
19555         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
19556         (bit_arch_*): This for feature array.
19557         (bit_*): Renamed to ...
19558         (bit_cpu_*): This for cpu array.
19559         (index_*): Renamed to ...
19560         (index_arch_*): This for feature array.
19561         (index_*): Renamed to ...
19562         (index_cpu_*): This for cpu array.
19563         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
19564         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
19565         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
19566         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
19567         bit_##name with index_cpu_##name and bit_cpu_##name.
19568         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
19569         bit_##name with index_arch_##name and bit_arch_##name.
19571 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
19573         [BZ #19792]
19574         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
19575         Terminate FDE before return label.
19577 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
19579         [BZ #19790]
19580         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
19581         (rintl): Define as macro.
19582         [USE_AS_NEARBYINTL] (__rintl): Likewise.
19583         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
19584         of fesetround.  Ensure results are evaluated before end of scope.
19585         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
19586         USE_AS_NEARBYINTL and include s_rintl.c.
19587         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
19588         Disable exception traps in new environment.
19589         (libc_feholdsetround_ppc_ctx): Likewise.
19591 2016-03-08  Roland McGrath  <roland@hack.frob.com>
19593         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
19594         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
19595         (tst_audit10_aux) [__AVX512F__]: ... here.
19597 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
19599         * include/sys/auxv.h: New file.
19601 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19603         [BZ #19759]
19604         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
19606 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19608         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
19609         operand modifier.
19610         (feclearexcept): Likewise.
19612 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19614         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
19615         to reflect the entire 32-bit HWCAP.
19616         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
19617         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
19619 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
19621         [BZ #19783]
19622         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
19623         $(test-via-rtld-prefix).
19624         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
19626 2016-03-08  Florian Weimer  <fweimer@redhat.com>
19628         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
19629         union wait.  Report any non-zero exit status as error.
19631 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19633         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
19634         configured with --enable-hardcoded-path-in-tests.
19636 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
19638         [BZ #19677]
19639         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
19640         (__ieee754_remainderl): Put zero low parts in canonical form.
19641         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
19642         file.  Based on
19643         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
19644         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
19645         with wrapper round test-fmodrem-ldbl-128ibm.c.
19646         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
19647         file.
19648         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
19649         Likewise.
19650         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
19651         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
19653 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19655         [BZ #19610]
19656         * elf/ldconfig.c (opt_link): Update comment.
19657         (options): Update help string for option -X.
19658         (search_dir): Unlink stale symbolic link only if updating symbolic
19659         links.
19660         * elf/tst-ldconfig-X.sh: New file.
19661         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
19662         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
19664 2016-03-07  Andreas Schwab  <schwab@suse.de>
19666         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
19667         needed arguments.
19669 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
19671         [BZ #15333]
19672         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
19673         to lstat64.
19675 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19677         * libio/filedoalloc.c (isatty): Remove.
19678         (local_isatty): Add comment.  Call __isatty directly.
19679         (_IO_file_doallocate): Update comment.  Assume _LIBC.
19680         * libio/wfiledoalloc.c (isatty): Remove.
19681         (_IO_wfile_doallocate): Update comment.
19683 2016-03-07  Florian Weimer  <fweimer@redhat.com>
19685         [BZ #19269]
19686         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
19687         tst-audit4-aux.o.
19688         (tst-audit10): Depend on tst-audit10-aux.o.
19689         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
19690         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
19691         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
19692         instead of inline AVX code.
19693         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
19694         instead of inline AVX512 code.
19695         * sysdeps/x86_64/tst-audit4-aux.c: New file
19696         * sysdeps/x86_64/tst-audit10-aux.c: New file
19698         [BZ #19648]
19699         * test-skeleton.c (main): Do not set RLIMIT_DATA.
19701 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19703         [BZ #14750]
19704         [BZ #10354]
19705         [BZ #18433]
19706         * include/sched.h (__clone): Add hidden prototype.
19707         (__clone2): Likewise.
19708         * include/unistd.h (__dup): Likewise.
19709         * posix/Makefile (tests): Add tst-spawn2.
19710         * posix/tst-spawn2.c: New file.
19711         * sysdeps/posix/dup.c (__dup): Add hidden definition.
19712         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
19713         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19714         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19715         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19716         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19717         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
19718         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19719         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
19720         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19721         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19723         Likewise.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19725         Likewise.
19726         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19727         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19728         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19729         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19730         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19731         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19732         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19733         * sysdeps/unix/sysv/linux/nptl-signals.h
19734         (____nptl_is_internal_signal): New function.
19735         * sysdeps/unix/sysv/linux/spawni.c: New file.
19737         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
19738         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
19739         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
19740         * posix/tst-execvp2.c (do_test): Likewise.
19741         * posix/tst-execvp3.c (do_test): Likewise.
19742         * posix/tst-execvp4.c (do_test): Likewise.
19743         * posix/tst-execvpe1.c: New file.
19744         * posix/tst-execvpe2.c: Likewise.
19745         * posix/tst-execvpe3.c: Likewise.
19746         * posix/tst-execvpe4.c: Likewise.
19747         * posix/tst-execvpe5.c: Likewise.
19748         * posix/tst-execvpe6.c: Likewise.
19750         [BZ #19534]
19751         * posix/execl.c (execl): Remove dynamic memory allocation.
19752         * posix/execle.c (execle): Likewise.
19753         * posix/execlp.c (execlp): Likewise.
19755 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19757         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
19758         Replace .text with .text.avx512.
19759         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19760         Likewise.
19762 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
19764         * sysdeps/generic/libnsl.abilist: New file.
19765         * sysdeps/generic/libutil.abilist: New file.
19767 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19769         [BZ #19762]
19770         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
19771         HAS_ARCH_FEATURE with Fast_Rep_String.
19772         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
19773         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
19774         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
19775         Likewise.
19776         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
19777         Likewise.
19778         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
19779         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
19780         Likewise.
19781         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
19782         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
19783         Likewise.
19785 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19787         [BZ #19745]
19788         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
19789         with *%rax in call.
19791 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19793         [BZ #19745]
19794         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
19795         with *__libc_start_main@GOTPCREL(%rip) in call.
19797 2016-03-04  Roland McGrath  <roland@hack.frob.com>
19799         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
19800         inside conditional for nonempty $(CXX).
19802         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
19803         nonempty.
19805         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
19806         to test for empty $(CXX) rather than $(CXX) of "no".
19808 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
19810         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
19812 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
19813             H.J. Lu  <hongjiu.lu@intel.com>
19815         [BZ #18880]
19816         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
19817         instead of Slow_BSF, and also check for Fast_Copy_Backward to
19818         enable __memcpy_ssse3_back.
19820 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19822         [BZ #19758]
19823         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
19824         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
19826 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19828         [BZ #19490]
19829         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
19830         (__fentry__): Likewise.
19832 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
19834         * gmon/Makefile (noprof): Add $(sysdep_noprof).
19835         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
19837 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19839         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
19840         __mcount_internal directly.
19841         (C_LABEL(__fentry__)): Likewise.
19842         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
19843         directly.
19845 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
19847         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19848         (__start_context): Call __setcontext directly.
19850 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
19852         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19853         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19854         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
19855         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19856         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19857         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19858         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
19859         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19860         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19861         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
19862         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19863         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19865         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19866         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19867         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19868         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
19869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19870         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19871         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
19872         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
19873         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19874         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19875         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
19876         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
19877         Remove conditional code.
19878         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19879         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
19880         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19881         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19882         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
19883         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19884         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
19885         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19886         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
19887         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19889         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
19891 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
19893         * NEWS (2.23): Fix typo in bug 19048 text.
19895 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
19897         [BZ #14259]
19898         * Makeconfig: Rename msgcatdir to localedir.
19899         Rename inst_msgcatdir to inst_localedir.
19900         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
19901         * config.make.in: Add localedir.
19902         * elf/Makefile ($(objpfx)sotruss): Use localedir.
19903         (ldd-rewrite): Likewise.
19904         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
19905         (install-others): Use inst_localedir.
19906         (CPPFLAGS): Use localedir.
19907         * locale/Makefile (locale-CPPFLAGS): Likewise.
19908         * po/Makefile (mo-installed): Use inst_localedir.
19910         [BZ #19575]
19911         * localedata/charmaps/GB18030: Update comments regarding PAU to
19912         non-PUA mappings.
19914 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
19916         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
19917         test for header.
19918         * sysdeps/unix/sysv/linux/configure: Regenerated.
19919         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
19920         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
19921         Remove conditional code.
19922         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
19924         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19925         Define to 3.2.0.
19926         (arch_minimum_kernel): Likewise.
19927         * sysdeps/unix/sysv/linux/configure: Regenerated.
19928         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
19929         Define to 2.6.32.
19930         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
19931         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
19932         (arch_minimum_kernel): Define to 2.6.32.
19933         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
19934         * README: Document Linux 3.2 requirement.
19935         * manual/install.texi (Linux): Document Linux 3.2 headers
19936         requirement.
19937         * INSTALL: Regenerated.
19939 2016-02-24  Andreas Schwab  <schwab@suse.de>
19941         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
19942         if !NO_LONG_DOUBLE.
19944 2016-02-22  Roland McGrath  <roland@hack.frob.com>
19946         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
19947         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
19949 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
19951         [BZ #19512]
19952         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
19954 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19956         * posix/tst-dir.c: Include libc-internal.h.
19958 2016-02-20  Florian Weimer  <fweimer@redhat.com>
19960         [BZ #19056]
19961         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
19962         * manual/filesys.texi (Reading/Closing Directory): Mention
19963         deprecaion.
19964         * posix/tst-dir.c (main): Disable deprecation warning in test.
19966 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
19968         [BZ #19679]
19969         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
19970         Renamed to ...
19971         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
19972         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19973         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
19974         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19975         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19976         * sysdeps/x86_64/dl-trampoline.h
19977         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
19978         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
19980 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19982         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
19984 2016-02-19  Mark Wielaard  <mjw@redhat.com>
19986         * elf/elf.h (R_386_GOT32X): New.
19987         (R_386_NUM): Update.
19988         (R_X86_64_GOTPCRELX: New.
19989         (R_X86_64_REX_GOTPCRELX): New.
19990         (R_X86_64_NUM): Update.
19992 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
19994         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
19996 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
19998         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
19999         assign attr->stackaddr to it, and adjust it down when
20000         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20001         [_STACK_GROWS_UP]: Delete assert.
20002         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20003         Implement stack grows up logic.
20004         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20005         stack grows up logic.
20007 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20009         * NEWS: Update with 2.24 template.
20011 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #19678]
20014         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20015         Ensure +0.0 is returned when taking the next value below the least
20016         positive value.
20018 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20020         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20021         available.  Do not define NO_THREADS.
20022         * malloc/malloc.c: Do not check NO_THREADS.
20023         * malloc/arena.c: Likewise.
20025 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20027         * malloc/malloc.c (__libc_mallinfo): Update comment.
20028         (struct malloc_par): Remove max_total_mem member, it was always 0.
20029         (int_mallinfo): Store 0 into usmblks (no functional change).
20030         * malloc/hooks.c (struct malloc_state): Document that
20031         max_total_mem is always 0.
20032         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20033         always 0.
20034         * manual/memory.texi (Statistics of Malloc): Likewise.
20036 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20038         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20039         * malloc/arena.c (arena_max): Remove.
20040         (heap_trim, _int_new_arena): Do not update arena_max.
20042 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20044         * resolv/res_init.c (res_ninit): Update comment.
20046 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20048         [BZ #19505]
20049         * posix/spawn_int.h: Add headers and include guard.
20050         (__spawn_valid_fd): New function.
20051         * posix/spawn_faction_addopen.c
20052         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
20053         * posix/spawn_faction_addclose.c
20054         (posix_spawn_file_actions_addclose): Likewise.
20055         * posix/spawn_faction_adddup2.c
20056         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
20057         second file descriptor.
20058         * posix/spawn_valid_fd.c: New file.
20059         * posix/tst-posix_spawn-fd.c: New file.
20060         * posix/Makefile (routines): Add spawn_valid_fd.
20061         (tests): Add tst-posix_spawn-fd.
20063 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20065         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
20066         (do_test): Limit the number of arenas, so that we can use fewer
20067         outer threads.  Limit timeout to 3 seconds, in preparation for a
20068         larger TIMEOUT value.
20070 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #19674]
20073         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
20074         sign in overflowing and underflowing results when overflow or
20075         underflow is detected early.  Include sign in result before rather
20076         than after scaling.
20078         [BZ #19603]
20079         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20080         (__ieee754_remainderl): Adjust sign of integer version of low part
20081         when taking absolute value of high part.
20082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20083         * math/libm-test.inc (remainder_test_data): Add another test.
20084         (remquo_test_data): Likewise.
20086 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
20088         [BZ #19602]
20089         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
20090         equal high parts and both low parts zero specially.
20091         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
20092         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
20093         Add test-fmodl-ldbl-128ibm.
20095         [BZ #19595]
20096         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
20097         common logic for all cases of shifting subnormal results.  Do not
20098         insert sign bit in shifted mantissa.  Always pass -1023 as biased
20099         exponent to ldbl_insert_mantissa in subnormal case.
20101         [BZ #19594]
20102         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
20103         on high and low parts then adjust result and use
20104         ldbl_canonicalize_int if needed.
20106         [BZ #19593]
20107         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
20108         on high part and __floor or __ceil on low part then use
20109         ldbl_canonicalize_int if needed.
20111         [BZ #19592]
20112         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
20113         high and low parts then use ldbl_canonicalize_int if needed.
20115         [BZ #17899]
20116         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
20117         New function.
20118         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
20119         on high and low parts then use ldbl_canonicalize_int if needed.
20121 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20123         * configure: Regenerated.
20125         * po/libc.pot: Regenerated.
20127         * po/be.po: Updated translation.
20128         * po/bg.po: Likewise.
20129         * po/ca.po: Likewise.
20130         * po/cs.po: Likewise.
20131         * po/da.po: Likewise.
20132         * po/el.po: Likewise.
20133         * po/eo.po: Likewise.
20134         * po/es.po: Likewise.
20135         * po/fi.po: Likewise.
20136         * po/fr.po: Likewise.
20137         * po/gl.po: Likewise.
20138         * po/hr.po: Likewise.
20139         * po/hu.po: Likewise.
20140         * po/ia.po: Likewise.
20141         * po/id.po: Likewise.
20142         * po/it.po: Likewise.
20143         * po/ja.po: Likewise.
20144         * po/lt.po: Likewise.
20145         * po/nb.po: Likewise.
20146         * po/nl.po: Likewise.
20147         * po/pt_BR.po: Likewise.
20148         * po/rw.po: Likewise.
20149         * po/sk.po: Likewise.
20150         * po/sl.po: Likewise.
20151         * po/sv.po: Likewise.
20152         * po/tr.po: Likewise.
20153         * po/zh_CN.po: Likewise.
20154         * po/zh_TW.po: Likewise.
20156         * version.h (RELEAES): Set to "development".
20157         (VERSION): Set to 2.23.90.
20159         * version.h (RELEASE): Set to "stable".
20160         (VERSION): Set to 2.23.
20161         * include/feature.h (__GLIBC_MINOR__): Set to 23.
20163         * NEWS: Updated fixed bugs.
20165 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
20166             Wilco Dijkstra  <wdijkstr@arm.com>
20168         [BZ #19462]
20169         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
20170         (_STRING_INLINE_unaligned): This.
20171         * include/string.h: Include <string_private.h>.
20172         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
20173         _STRING_INLINE_unaligned.
20174         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
20175         (_STRING_INLINE_unaligned): New.
20176         * sysdeps/aarch64/string_private.h: New file.
20177         * sysdeps/generic/string_private.h: Likewise.
20178         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
20179         * sysdeps/s390/string_private.h: Likewise.
20180         * sysdeps/x86/string_private.h: Likewise.
20181         * sysdeps/m68k/m680x0/m68020/bits/string.h
20182         (_STRING_ARCH_unaligned): Renamed to ...
20183         (_STRING_INLINE_unaligned): This.
20184         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
20185         to ...
20186         (_STRING_INLINE_unaligned): This.
20187         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
20188         to ...
20189         (_STRING_INLINE_unaligned): This.
20190         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
20191         to ...
20192         (_STRING_INLINE_unaligned): This.
20194 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20195             H.J. Lu  <hongjiu.lu@intel.com>
20197         [BZ #19590]
20198         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
20199         relocation.
20201 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
20203         [BZ #18665]
20204         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
20205         *herrno_p.
20206         (gaih_getanswer): Document functional behviour. Return tryagain
20207         if any result is tryagain.
20208         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
20209         when freed.
20210         * resolv/res_send.c: Add copyright text.
20211         (__libc_res_nsend): Document that MAXPACKET is expected.
20212         (send_vc): Document. Remove buffer reuse.
20213         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
20214         size of the buffer. Add Dprint for truncated UDP buffer.
20216 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
20218         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
20219         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
20220         * INSTALL: Regenerate.
20222 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
20223             Jonathan Wakely  <jwakely@redhat.com>
20224             Carlos O'Donell  <carlos@redhat.com>
20226         [BZ 19439]
20227         * math/Makefile (tests): Add test-math-isinff.
20228         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
20229         * math/bits/mathcalls.h [__USE_MISC]: Use
20230         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
20231         functions not in C++11 and which don't conflict e.g. isinff,
20232         isinfl etc.
20233         * math/test-math-isinff.cc: New file.
20235 2016-02-12  Florian Weimer  <fweimer@redhat.com>
20237         * misc/bug18240.c (do_test): Set RLIMIT_AS.
20239 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20241         [BZ #19529]
20242         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
20244 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20246         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
20248 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
20250         [BZ #19550]
20251         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
20252         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
20253         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
20254         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
20255         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
20256         New syscall entry.
20257         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
20258         New syscall entry.
20259         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
20260         syscall entry.
20262 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
20264         [BZ #18240]
20265         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
20266         unsigned int wraparound.
20268 2016-01-27  Florian Weimer  <fweimer@redhat.com>
20270         [BZ #18240]
20271         * misc/bug18240.c: New test.
20272         * misc/Makefile (tests): Add it.
20274 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
20275             Joseph Myers  <joseph@codesourcery.com>
20277         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
20278         load in branch delay slot when less than a word of input left.
20280 2016-01-27  Andreas Schwab  <schwab@suse.de>
20282         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
20283         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
20284         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
20285         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
20287 2016-01-26  David S. Miller  <davem@davemloft.net>
20289         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
20291 2016-01-25  David S. Miller  <davem@davemloft.net>
20293         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
20294         __sqrtl_finite.
20295         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
20296         instead using versioned_symbol.
20297         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
20298         of entries.
20300         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
20301         __sqrtl_finite to GLIBC_2.23
20303 2016-01-25  Ricchard Henderson  <rth@redhat.com>
20305         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20307 2016-01-25  Andreas Schwab  <schwab@suse.de>
20309         [BZ #17514]
20310         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
20311         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
20312         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
20313         * nptl/tst-mutex-errorcheck.c: New file.
20315 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20317         [BZ #18560]
20318         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
20319         (IPCOP_semop): Likewise.
20320         (IPCOP_semget): Likewise.
20321         (IPCOP_semctl): Likewise.
20322         (IPCOP_msgsnd): Likewise.
20323         (IPCOP_msgrcv): Likewise.
20324         (IPCOP_msgget): Likewise.
20325         (IPCOP_msgctl): Likewise.
20326         (IPCOP_shmat): Likewise.
20327         (IPCOP_shmdt): Likewise.
20328         (IPCOP_shmget): Likewise.
20329         (IPCOP_shmctl): Likewise.
20331 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20333         * string/tst-endian.c: Include <libc-internal.h>.
20334         (do_test): Ignore tautological-compare warnings around
20335         "htobeXX (beXXtoh (i)) != i" and
20336         "htoleXX (leXXtoh (i)) != i" if-statements.
20338 2016-01-24  David S. Miller  <davem@davemloft.net>
20340         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
20341         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
20342         alias.
20343         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
20344         __sqrtl_finite.
20346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20348 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
20350         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
20351         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
20352         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20354 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20356         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
20357         (thread_func): Use new function to simplify barrier check.
20358         (do_test): Use new function to simplify checking barrier exit
20359         code, and actually join the child thread.
20361 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20363         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
20364         semicolon.
20365         (__libc_tend): Likewise.
20366         (__libc_tabort): Likewise.
20368 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
20370         * sysdeps/nios2/libm-test-ulps: Update.
20371         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
20372         (__gtsf2): Likewise.
20373         (__unorddf2): Likewise.
20374         (__unordsf2): Likewise.
20375         (__ledf2): Likewise.
20377 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
20379         * nis/nis_table.c (__follow_path): Disable diagnostic for
20380         uninitialized variable that is a false positive for gcc 4.7.
20381         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
20383 2016-01-20  Roland McGrath  <roland@hack.frob.com>
20385         * sysdeps/nacl/lowlevellock-futex.h
20386         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
20387         Always evaluate PRIVATE argument.
20389 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
20391         [BZ #19490]
20392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
20393         (pthread_cond_broadcast): Use ENTRY/END
20394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
20395         (pthread_cond_signal): Likewise.
20396         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
20397         Likewise.
20398         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
20399         Likewise.
20400         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
20401         Likewise.
20403 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
20405         * sysdeps/ieee754/dbl-64/s_finite.c
20406         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
20407         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
20408         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
20409         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
20410         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
20412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
20413         (__gtsf2): Add as optional for libc.so.
20414         (__unordsf2): Likewise.
20415         (__signbit): Remove for libc.so.
20416         (__signbitl): Likewise.
20418 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20420         * iconvdata/bug-iconv11.c (test_ibm93x):
20421         Use %zu printf format specifier for size_t argument.
20423 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
20425         * math/gen-libm-test.pl (parse_ulps): Do not reduce
20426         already-recorded ulps.
20427         * sysdeps/arm/libm-test-ulps: Regenerated.
20428         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20429         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20430         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20432 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20433             Paul Pluzhnikov  <ppluzhnikov@google.com>
20435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
20436         assembler not supporting AVX-512.
20438 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
20440         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20442 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
20444         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20445         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20447         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20449         * sysdeps/arm/libm-test-ulps: Regenerated.
20451 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20453         [BZ #19451]
20454         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
20456 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20458         [BZ #19486]
20459         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
20460         * sysdeps/generic/fix-fp-int-convert-overflow.h
20461         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
20462         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
20463         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
20464         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
20465         Likewise.
20466         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
20467         Avoid conversions to long int where inexact exceptions
20468         could be raised.
20469         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
20470         Likewise.
20471         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
20472         Avoid conversions to long long int where inexact exceptions
20473         could be raised.
20474         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
20475         Likewise.
20477 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
20479         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
20480         * configure: Regenerated.
20482 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20484         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
20486 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
20488         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
20489         outside of comment.
20491 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20493         * nptl/tst-barrier1.c: Add description on first line.
20494         * nptl/tst-barrier2.c: Likewise.
20495         * nptl/tst-barrier3.c: Likewise.
20496         * nptl/tst-barrier4.c: Likewise.
20497         * nptl/tst-barrier5.c: Likewise.
20499 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20501         [BZ #18868]
20502         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
20504 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
20506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
20507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
20508         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
20509         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
20510         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
20511         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
20512         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20513         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20514         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20515         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20516         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20518 2016-01-15  Torvald Riegel  <triegel@redhat.com>
20520         [BZ #13065]
20521         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
20522         new implementation.
20523         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
20524         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
20525         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
20526         (BARRIER_IN_THRESHOLD): New macro.
20527         * nptl/pthread_barrierattr_setpshared.c
20528         (pthread_barrierattr_setpshared): Clean up.
20529         * nptl/tst-barrier4.c: Correct comment.
20530         * nptl/tst-barrier5.c: New file.
20531         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
20532         (gen-as-const-headers): Remove lowlevelbarrier.sym.
20533         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
20534         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
20535         * nptl/lowlevelbarrier.sym: Remove.
20536         * nptl/DESIGN-barrier.txt: Remove.
20537         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
20538         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
20539         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
20540         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
20541         error.
20542         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
20543         implementation.
20545 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20547         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
20548         (do_child): Mask SIGRTMIN while thr is running.
20550 2016-01-15  Martin Sebor  <msebor@redhat.com>
20552         [BZ #19432]
20553         * iconvdata/Makefile: Add bug-iconv11.
20554         * iconvdata/bug-iconv11.c: New test.
20555         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
20556         * iconvdata/ibm933.c: Same.
20557         * iconvdata/ibm935.c: Same.
20558         * iconvdata/ibm937.c: Same.
20559         * iconvdata/ibm939.c: Same.
20561 2016-01-15  Martin Sebor  <msebor@redhat.com>
20563         [BZ #19443]
20564         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
20565         [DEBUG] (_ufc_set_bits): Declare used.
20566         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
20567         [DEBUG] (print_all): Declare used.
20568         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
20569         operands of the ternary ?: expression to target type.
20570         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
20571         calling the undeclared abort.
20572         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
20574 2016-01-15  Martin Sebor  <msebor@redhat.com>
20576         [BZ #18755]
20577         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
20578         warnings.
20579         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
20580         (__gai_create_helper_thread): Same.
20581         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
20582         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
20583         to suppress -Wmaybe-uninitialized warnings.
20585 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
20587         [BZ #19465]
20588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
20589         inside if.
20590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20594 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
20596         [BZ #19466]
20597         * time/tst-mktime2.c (time_t_max): Removed.
20598         (time_t_min): Likewise.
20599         (TYPE_SIGNED): New.
20600         (TYPE_MINIMUM): Likewise.
20601         (TYPE_MAXIMUM): Likewise.
20602         (TIME_T_MIN): Likewise.
20603         (TIME_T_MAX): Likewise.
20604         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
20605         and TIME_T_MIN.
20606         (do_test): Likewise.
20608 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
20610         [BZ #19467]
20611         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20612         index_Fast_Unaligned_Load flag for Excavator family CPUs.
20614 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
20616         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
20618 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
20620         * benchtests/Makefile (PYTHON): Define.
20621         (bench-func): Use $(PYTHON) to run python scripts.
20622         ($(objpfx)bench-%.c): Likewise.
20624 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
20626         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20627         leading slash when `file_name' is "/".
20629 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
20631         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
20632         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
20633         Likewise.
20634         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
20635         Likewise.
20636         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
20637         Likewise.
20638         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
20639         enum constant and macro.
20640         (PTRACE_SETSIGMASK): Likewise.
20641         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20642         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20643         (PTRACE_GETSIGMASK): Likewise.
20644         (PTRACE_SETSIGMASK): Likewise.
20645         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20646         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
20647         Likewise.
20648         (PTRACE_SETSIGMASK): Likewise.
20649         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20650         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20651         (PTRACE_GETSIGMASK): Likewise.
20652         (PTRACE_SETSIGMASK): Likewise.
20653         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20654         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
20655         Likewise.
20656         (PTRACE_SETSIGMASK): Likewise.
20657         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20658         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
20659         Likewise.
20660         (PTRACE_SETSIGMASK): Likewise.
20661         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20662         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
20663         Likewise.
20664         (PTRACE_SETSIGMASK): Likewise.
20665         (PTRACE_SECCOMP_GET_FILTER): Likewise.
20667 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
20668             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20670         [BZ #19439]
20671         * math/bits/mathcalls.h
20672         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
20673         prototype.
20674         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
20676 2016-01-11  Andreas Schwab  <schwab@suse.de>
20678         [BZ #19253]
20679         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
20680         cache when TZDEFRULES was used.
20681         * time/tst-tzname.c: New file.
20682         * time/Makefile (test): Add tst-tzname.
20683         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
20684         * timezone/Makefile (test-zones): Add $(posixrules-file).
20685         ($(testdata)/$(posixrules-file)): New rule.
20687 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
20689         Fix doc quoting problems with Texinfo 5
20690         Without this change, in the info file output, Texinfo 5 quotes code
20691         in text with undirected single quotes 'like this' and generates
20692         code examples that with many PDF readers cannot be cut out of PDFs
20693         and pasted into code.
20694         * manual/libc.texinfo: Configure the libc manual like the GNU
20695         Emacs manual, by using @documentencoding and setting
20696         txicodequoteundirected and txicodequotebacktick.  This way,
20697         Texinfo 5 quotes code in text with directed single quotes ‘like
20698         this’ and produces examples that can be cut out of PDFs.  This
20699         change causes Texinfo 5 to generate info files that contain UTF-8
20700         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
20701         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
20703 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20705         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
20706         __libc_tabort, __libc_tend): New wrappers that enforce compiler
20707         barriers to their respective compiler built-ins.
20708         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
20709         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
20710         * sysdeps/powerpc/sysdep.h: Likewise.
20711         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
20713         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
20715 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
20717         * scripts/config.guess: Revert previous shebang change.
20718         * scripts/config.sub: Likewise.
20719         * scripts/mkinstalldirs: Likewise.
20721 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20723         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
20724         PPC_FEATURE2_HAS_IEEE128.
20725         * sysdeps/powerpc/dl-procinfo.c:
20726         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
20728 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
20730         [BZ #19415]
20731         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
20732         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
20733         (_dl_lookup_address): Rewrite using function resolver trampoline.
20734         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
20735         two bits in address.
20737 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20739         * longlong.h: Change !__SHMEDIA__ to
20740         (!defined (__SHMEDIA__) || !__SHMEDIA__).
20741         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
20743 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
20744             Joseph Myers  <joseph@codesourcery.com>
20745             Mark Shinwell  <shinwell@codesourcery.com>
20746             Andrew Stubbs  <ams@codesourcery.com>
20747             Rich Felker <dalias@libc.org>
20749         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
20751 2016-01-07  Richard Henderson  <rth@redhat.com>
20753         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
20755 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
20757         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
20758         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
20759         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20760         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20761         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
20763 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
20764             Joseph Myers  <joseph@codesourcery.com>
20766         * timezone/private.h: Update from tzcode 2015g.
20767         * timezone/tzfile.h: Likewise.
20768         * timezone/tzselect.ksh: Likewise.
20769         * timezone/zdump.c: Likewise.
20770         * timezone/zic.c: Likewise.
20771         * timezone/ialloc.c: Remove file.
20772         * timezone/scheck.c: Likewise.
20773         * timezone/Makefile (extra-objs): Remove variable.
20774         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
20775         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
20776         -Wno-maybe-uninitialized.
20777         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
20778         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
20779         (CFLAGS-ialloc.c): Remove variable.
20780         (CFLAGS-scheck.c): Likewise.
20781         * timezone/README: Update list of files from tzcode.
20783 2016-01-07  Khem Raj  <raj.khem@gmail.com>
20785         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
20786         instead of __fxprintf when _LIBC is undefined.
20788 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
20790         * catgets/test-gencat.sh: Remove space after shebang.
20791         * conform/GlibcConform.pm: Likewise.
20792         * conform/check-header-lists.sh: Likewise.
20793         * conform/conformtest.pl: Likewise.
20794         * conform/linknamespace.pl: Likewise.
20795         * conform/list-header-symbols.pl: Likewise.
20796         * debug/catchsegv.sh: Likewise.
20797         * elf/genrtldtbl.awk: Likewise.
20798         * elf/tst-pathopt.sh: Likewise.
20799         * elf/tst-rtld-load-self.sh: Likewise.
20800         * grp/tst_fgetgrent.sh: Likewise.
20801         * iconvdata/gen-8bit-gap-1.sh: Likewise.
20802         * iconvdata/gen-8bit-gap.sh: Likewise.
20803         * iconvdata/gen-8bit.sh: Likewise.
20804         * iconvdata/run-iconv-test.sh: Likewise.
20805         * intl/tst-gettext.sh: Likewise.
20806         * intl/tst-gettext2.sh: Likewise.
20807         * intl/tst-gettext4.sh: Likewise.
20808         * intl/tst-gettext6.sh: Likewise.
20809         * intl/tst-translit.sh: Likewise.
20810         * io/ftwtest-sh: Likewise.
20811         * libio/test-freopen.sh: Likewise.
20812         * locale/gen-translit.pl: Likewise.
20813         * malloc/tst-mtrace.sh: Likewise.
20814         * manual/check-safety.sh: Likewise.
20815         * manual/libc-texinfo.sh: Likewise.
20816         * manual/tsort.awk: Likewise.
20817         * manual/xtract-typefun.awk: Likewise.
20818         * nptl/tst-cancel-wrappers.sh: Likewise.
20819         * nptl/tst-tls6.sh: Likewise.
20820         * posix/globtest.sh: Likewise.
20821         * posix/tst-getconf.sh: Likewise.
20822         * posix/wordexp-tst.sh: Likewise.
20823         * scripts/check-c++-types.sh: Likewise.
20824         * scripts/check-local-headers.sh: Likewise.
20825         * scripts/config.guess: Likewise.
20826         * scripts/config.sub: Likewise.
20827         * scripts/cpp: Likewise.
20828         * scripts/cross-test-ssh.sh: Likewise.
20829         * scripts/documented.sh: Likewise.
20830         * scripts/evaluate-test.sh: Likewise.
20831         * scripts/gen-libc-abis: Likewise.
20832         * scripts/gen-sorted.awk: Likewise.
20833         * scripts/list-fixed-bugs.py: Likewise.
20834         * scripts/merge-test-results.sh: Likewise.
20835         * scripts/mkinstalldirs: Likewise.
20836         * scripts/rellns-sh: Likewise.
20837         * scripts/test-installation.pl: Likewise.
20838         * scripts/update-copyrights: Likewise.
20839         * stdio-common/tst-printf.sh: Likewise.
20840         * stdio-common/tst-unbputc.sh: Likewise.
20841         * stdlib/tst-fmtmsg.sh: Likewise.
20842         * stdlib/tst-setcontext3.sh: Likewise.
20843         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
20844         * sysdeps/unix/make-syscalls.sh: Likewise.
20846 2016-01-06  John David Anglin  <dave.anglin@bell.net>
20848         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
20849         asm stw with atomic_exchange_rel.  Add explanatory comment.
20850         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20851         Likewise.
20853 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20855         [BZ #19122]
20856         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
20857         * sysdeps/generic/dl-unistd.h: New file.
20858         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
20860 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
20862          [BZ #19122]
20863          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
20864          * sysdeps/generic/dl-mman.h: New file.
20865          * sysdeps/mach/hurd/dl-mman.h: Likewise.
20867 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
20869         * manual/texinfo.tex: Update to version 2016-01-04.21 with
20870         trailing whitespace removed.
20871         * scripts/config.guess: Update to version 2016-01-01.
20872         * scripts/config.sub: Update to version 2016-01-01.
20873         * scripts/move-if-change: Update from gnulib.
20875 2016-01-04  Anton Blanchard  <anton@samba.org>
20877         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
20878         for array indices.
20879         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
20881 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
20883         * NEWS: Update copyright dates.
20884         * catgets/gencat.c (print_version): Likewise.
20885         * csu/version.c (banner): Likewise.
20886         * debug/catchsegv.sh: Likewise.
20887         * debug/pcprofiledump.c (print_version): Likewise.
20888         * debug/xtrace.sh (do_version): Likewise.
20889         * elf/ldconfig.c (print_version): Likewise.
20890         * elf/ldd.bash.in: Likewise.
20891         * elf/pldd.c (print_version): Likewise.
20892         * elf/sotruss.sh: Likewise.
20893         * elf/sprof.c (print_version): Likewise.
20894         * iconv/iconv_prog.c (print_version): Likewise.
20895         * iconv/iconvconfig.c (print_version): Likewise.
20896         * locale/programs/locale.c (print_version): Likewise.
20897         * locale/programs/localedef.c (print_version): Likewise.
20898         * login/programs/pt_chown.c (print_version): Likewise.
20899         * malloc/memusage.sh (do_version): Likewise.
20900         * malloc/memusagestat.c (print_version): Likewise.
20901         * malloc/mtrace.pl: Likewise.
20902         * manual/libc.texinfo: Likewise.
20903         * nptl/version.c (banner): Likewise.
20904         * nscd/nscd.c (print_version): Likewise.
20905         * nss/getent.c (print_version): Likewise.
20906         * nss/makedb.c (print_version): Likewise.
20907         * posix/getconf.c (main): Likewise.
20908         * scripts/test-installation.pl: Likewise.
20909         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20911         * All files with FSF copyright notices: Update copyright dates
20912         using scripts/update-copyrights.
20913         * intl/plural.c: Regenerated.
20914         * locale/programs/charmap-kw.h: Likewise.
20915         * locale/programs/locfile-kw.h: Likewise.
20917 2016-01-02  Helge Deller  <deller@gmx.de>
20919         [BZ #19285]
20920         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
20921         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
20922         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
20923         (MADV_xxK_PAGES): Remove.
20925 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
20927         [BZ #15421]
20928         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
20929         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
20930         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
20931         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
20933 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
20935         [BZ #19408]
20936         * sysdeps/unix/sysv/linux/personality.c: New file.
20937         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
20938         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
20939         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
20940         (sysdep_routines): Add personality.
20941         (tests): Add tst-personality.
20942         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
20943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
20944         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
20945         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
20946         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
20947         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
20948         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
20949         Likewise.
20950         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
20951         Likewise.
20952         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
20953         Likewise.
20954         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
20955         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
20956         Likewise.
20958 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
20960         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
20961         (PATH_ARM_SYSTYPE): Remove.
20962         (PATH_CPUINFO): Likewise.
20963         (IO_BASE_FOOTBRIDGE): Likewise.
20964         (IO_SHIFT_FOOTBRIDGE): Likewise.
20965         (struct platform): Likewise.
20966         (init_iosys): Remove compatibility code for 2.4 kernels.
20967         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
20969 2015-12-29  Florian Weimer  <fweimer@redhat.com>
20971         * malloc/tst-malloc-thread-fail.c: New file.
20972         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
20973         (tst-malloc-thread-fail): Link against libpthread.
20975 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
20977         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
20978         (get_parser): New function.
20979         (main): New function.
20981 2015-12-29  Rob Wu  <rob@robwu.nl>
20983         [BZ #19369]
20984         * resolv/res_init.c (__res_vinit): Reset defdname before use.
20986 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
20988         [BZ #19270]
20989         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20991 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
20993         [BZ #15421]
20994         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
20996 2015-12-23  Torvald Riegel  <triegel@redhat.com>
20998         [BZ #13690]
20999         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21000         after releasing it.
21001         (__lll_robust_unlock): Likewise.
21002         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21004         (lll_robust_unlock): Likewise.
21005         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21006         Prevent warnings in callers.
21008 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21010         * malloc/arena.c (list_lock): Update comment.
21012 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21014         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21015         __parse_hwcap_and_convert_at_platform to libc.a.
21017 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21019         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21020         platform and feature support for POWER9.
21021         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21022         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21023         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21024         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21025         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21026         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21027         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21028         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21030 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21032         Harmonize generic stdio-lock support with nptl
21034         This fixes build when _IO_funlockfile is a macro, fixes build where
21035         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21036         stack unwind.
21038         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21039         _IO_release_lock ): Use cleanup attribute on new
21040         _IO_acquire_lock_file variable instead of assuming that
21041         _IO_release_lock will be called.
21042         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21043         _IO_acquire_lock_needs_exceptions_enabled.
21044         (_IO_acquire_lock_clear_flags2): New macro.
21046 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21048         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21050 2015-12-21  Florian Weimer  <fweimer@redhat.com>
21052         [BZ #19182]
21053         * malloc/arena.c (list_lock): Document lock ordering requirements.
21054         (free_list_lock): New lock.
21055         (ptmalloc_lock_all): Comment on free_list_lock.
21056         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
21057         (detach_arena): Update comment.  free_list_lock is now needed.
21058         (_int_new_arena): Use free_list_lock around detach_arena call.
21059         Acquire arena lock after list_lock.  Add comment, including FIXME
21060         about incorrect synchronization.
21061         (get_free_list): Switch to free_list_lock.
21062         (reused_arena): Acquire free_list_lock around detach_arena call
21063         and attached threads counter update.  Add two FIXMEs about
21064         incorrect synchronization.
21065         (arena_thread_freeres): Switch to free_list_lock.
21066         * malloc/malloc.c (struct malloc_state): Update comments to
21067         mention free_list_lock.
21069 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
21071         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
21072         Remove functions.
21073         (sloww, sloww1): Accept argument to offset quadrant.
21074         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
21075         quadrant.
21076         (__sin, __cos): Consolidate common code into new functions.
21077         (reduce_sincos_1, do_sincos_1): New functions.
21078         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21080         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
21081         code to new functions.
21082         (reduce_sincos_2, do_sincos_2): New functions.
21083         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
21085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
21086         common code for sincos.
21087         (__cos) [!IN_SINCOS]: Likewise.
21088         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
21089         New function.
21090         (__sincos): Use it.
21092 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
21094         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
21095         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
21096         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21098 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21100         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
21101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
21102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21103         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
21104         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21105         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
21106         index_Prefer_No_VZEROUPPER): New feature.
21107         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
21108         Prefer_No_VZEROUPPER for Knights Landing.
21110 015-12-18  Torvald Riegel  <triegel@redhat.com>
21112         * math/atest-exp2.c (mp_exp_m1): Remove.
21114 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21116         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
21117         syscalls.
21118         (__SYSCALL0): New macro.
21119         (__SYSCALL1): Likewise.
21120         (__SYSCALL2): Likewise.
21121         (__SYSCALL3): Likewise.
21122         (__SYSCALL4): Likewise.
21123         (__SYSCALL5): Likewise.
21124         (__SYSCALL6): Likewise.
21125         (__SYSCALL_CONCAT_X): Likewise.
21126         (__SYSCALL_CONCAT): Likewise.
21127         (__SYSCALL_DIST): Likewise.
21128         (__SYSCALL_CALL): Likewise.
21130 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
21132         [BZ #19363]
21133         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
21135 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21137         [BZ #19375]
21138         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
21139         negative subnormals.
21141 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
21143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21144         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
21145         (INTERNAL_SYSCALL_NCS): Use it.
21146         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21148 2015-12-16  Florian Weimer  <fweimer@redhat.com>
21150         [BZ #19243]
21151         * malloc/arena.c (get_free_list): Remove assert and adjust
21152         reference count handling.  Add comment about reused_arena
21153         interaction.
21154         (reused_arena): Add comments abount get_free_list interaction.
21155         * malloc/tst-malloc-thread-exit.c: New file.
21156         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
21157         (tst-malloc-thread-exit): Link against libpthread.
21159 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21161         [BZ #19367]
21162         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
21163         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
21164         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
21165         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
21166         (index_Prefer_MAP_32BIT_EXEC): Likewise.
21168 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
21170         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
21171         Silvermont optimizations for Knights Landing.
21173 2015-12-15  Andreas Schwab  <schwab@suse.de>
21175         [BZ #17197]
21176         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
21177         immediately after emitting SI.
21178         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
21179         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
21180         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
21181         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
21182         * iconvdata/bug-iconv10.c: New file.
21183         * iconvdata/Makefile (tests): Add bug-iconv10.
21184         ($(objpfx)bug-iconv10.out): New rule.
21186 2015-12-15  Florian Weimer  <fweimer@redhat.com>
21188         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
21189         aliasing violation.
21191 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
21193         [BZ #18472]
21194         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
21195         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
21196         conditionals for them.
21197         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
21198         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
21199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
21200         sys/kdaemon.h.
21201         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
21202         compat-only syscall, obsoleted in glibc 2.23.
21203         (create_module): Likewise.
21204         (get_kernel_syms): Likewise.
21205         (query_module): Likewise.
21206         (uselib): Likewise.
21207         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
21209 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
21211         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
21212         <linux/version.h>.
21213         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
21214         conditional code.
21215         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
21216         and ioshift_name initialization.
21218 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21221         Fix indentation.
21223 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21225         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
21227 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
21229         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
21231 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
21232             Jakub Wilk  <jwilk@debian.org>
21234         [BZ #19347]
21235         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
21236         to change the group of the device to the tty group.
21238 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
21240         Split large string section; add truncation advice
21241         * manual/examples/strncat.c: Remove.
21242         This example was misleading, as the code would have undefined
21243         behavior if "hello" was longer than SIZE.  Anyway, the manual
21244         shouldn't encourage strncpy+strncat for this sort of thing.
21245         * manual/string.texi (Copying Strings and Arrays): Split into
21246         three sections Copying Strings and Arrays, Concatenating Strings,
21247         and Truncating Strings, as this section was way too long.  All
21248         cross-referenced changed.  Add advice about string-truncation
21249         functions.  Remove misleading strncat example.
21251 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
21253         * manual/nss.texi (NSS Modules Interface): Document
21254         NSS_STATUS_NOTFOUND and SUCCESS.
21256 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21258         [BZ 18568]
21259         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21260         201505L, for Unicode 8.
21262 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
21264         * locale/C-translit.h: Regenerate.
21266 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
21268         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
21269         and U+0153.
21271 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
21273         [BZ #19351]
21274         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
21275         expanding log(1+z), compare z rather than its square with epsilon
21276         to determine when to avoid evaluating the expansion.
21278         [BZ #19350]
21279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21280         Increase overflow threshold.
21282         [BZ #19349]
21283         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
21284         when small.
21286         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21288         New macro.
21289         [__LINUX_KERNEL_VERSION >= 0x040300]
21290         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21292         Likewise.
21293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21294         Likewise.
21295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21296         Likewise.
21297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21298         Likewise.
21299         [__LINUX_KERNEL_VERSION >= 0x040300]
21300         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21301         [__LINUX_KERNEL_VERSION >= 0x040300]
21302         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21303         [__LINUX_KERNEL_VERSION >= 0x040300]
21304         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21305         [__LINUX_KERNEL_VERSION >= 0x040300]
21306         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21307         [__LINUX_KERNEL_VERSION >= 0x040300]
21308         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21310         Likewise.
21311         [__LINUX_KERNEL_VERSION >= 0x040300]
21312         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21314         Likewise.
21315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21316         Likewise.
21317         [__LINUX_KERNEL_VERSION >= 0x040300]
21318         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21320         Likewise.
21321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21322         Likewise.
21323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
21325         Likewise.
21326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
21327         Likewise.
21328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
21329         Likewise.
21330         [__LINUX_KERNEL_VERSION >= 0x040300]
21331         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
21333         Likewise.
21334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
21335         Likewise.
21336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
21337         Likewise.
21338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
21339         Likewise.
21340         [__LINUX_KERNEL_VERSION >= 0x040300]
21341         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
21342         [__LINUX_KERNEL_VERSION >= 0x040300]
21343         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21344         [__LINUX_KERNEL_VERSION >= 0x040300]
21345         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21346         [__LINUX_KERNEL_VERSION >= 0x040300]
21347         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21348         [__LINUX_KERNEL_VERSION >= 0x040300]
21349         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
21351         Likewise.
21352         [__LINUX_KERNEL_VERSION >= 0x040300]
21353         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
21354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21355         Likewise.
21356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
21357         Likewise.
21358         [__LINUX_KERNEL_VERSION >= 0x040300]
21359         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
21360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21361         Likewise.
21362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
21363         Likewise.
21364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21365         (__ASSUME_SOCKET_SYSCALL): Likewise.
21366         (__ASSUME_BIND_SYSCALL): Likewise.
21367         (__ASSUME_CONNECT_SYSCALL): Likewise.
21368         (__ASSUME_LISTEN_SYSCALL): Likewise.
21369         (__ASSUME_ACCEPT_SYSCALL): Likewise.
21370         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21371         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21372         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21373         (__ASSUME_SEND_SYSCALL): Likewise.
21374         (__ASSUME_SENDTO_SYSCALL): Likewise.
21375         (__ASSUME_RECV_SYSCALL): Likewise.
21376         (__ASSUME_RECVFROM_SYSCALL): Likewise.
21377         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
21378         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21379         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21380         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21381         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21382         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21383         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
21384         Likewise.
21385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
21386         Likewise.
21387         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
21388         Likewise.
21389         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
21390         Likewise.
21391         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
21392         Likewise.
21393         [__LINUX_KERNEL_VERSION >= 0x020625]
21394         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
21395         [__LINUX_KERNEL_VERSION >= 0x020625]
21396         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
21397         [__LINUX_KERNEL_VERSION >= 0x020625]
21398         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
21399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
21400         Likewise.
21401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
21402         Likewise.
21403         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
21404         Likewise.
21405         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
21406         Likewise.
21407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
21408         Likewise.
21409         [__LINUX_KERNEL_VERSION >= 0x020625]
21410         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
21411         [__LINUX_KERNEL_VERSION >= 0x020625]
21412         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
21413         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
21414         Likewise.
21415         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
21416         Likewise.
21418 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21420         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
21421         record the current if the current ABI and CPU support the FP64
21422         extension.
21423         (has-modd-spreg): Define to record the current if the current ABI and
21424         CPU support 32-bit floating point values in odd FPU registers.
21425         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21426         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
21427         $(has-modd-spreg) equals yes.
21428         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
21429         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
21430         $(has-modd-spreg) equal yes.
21432 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
21434         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
21435         basename.
21437 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
21439         * benchtests/Makefile (bench-math): Move ffs and ffsll...
21440         (bench-string): ... here.
21441         (bench): Add bench-string.
21442         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
21443         to *-benchset to reflect what they are.
21444         (benchset): Adjust.
21446         * benchtests/sincos-inputs: Add inputs from sin-inputs and
21447         cos-inputs.
21449 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
21451         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
21452         __attribute__ ((__simd__)) for vector math function declarations.
21454 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21456         Fix typo in strncat, wcsncat manual entries
21457         * manual/string.texi (Copying and Concatenation): Fix typos in
21458         sample implementations of strncat and wcsncat, by having them use
21459         the old value of the destination length, not the new one.
21461 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
21463         [BZ #16961]
21464         [BZ #16962]
21465         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
21466         string on the stack for strtod.
21467         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
21468         a string on the stack for strtof.
21469         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
21470         constructing a string on the stack for strtold.
21471         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
21472         __strtold_nan to GLIBC_PRIVATE.
21473         * math/test-nan-overflow.c: New file.
21474         * math/test-nan-payload.c: Likewise.
21475         * math/Makefile (tests): Add test-nan-overflow and
21476         test-nan-payload.
21478 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21480         Consistency about byte vs character in string.texi
21481         * manual/string.texi (String and Array Utilities):
21482         Distinguish more carefully among bytes, multibyte characters,
21483         and wide characters.  Use "byte" when talking about C 'char',
21484         to distinguish it more clearly from multibyte characters.
21485         Say "wide character" or "multibyte character" instead of
21486         "character", when a wide or multibyte character is intended.
21487         Similarly for "multibyte string" versus "string".
21488         Define these terms more carefully.
21490 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
21492         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
21493         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
21494         Likewise.
21495         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21496         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21497         * sysdeps/sh/math_private.h: New file.
21498         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
21499         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
21500         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
21501         long double function name.
21502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21503         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21504         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21508         Remove __finitel, __isinfl, and __isnanl.
21509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21510         Likewise.
21511         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21513         Remove __finitel.
21514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21515         Likewise.
21516         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21518 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
21520         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
21521         installed libmvec_nonshared.a.
21523 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21525         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
21526         (sysdep_routines): Likewise.
21527         (sysdep-rtld-routines): Likewise.
21528         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
21529         [$(subdir) = nptl](tests-static): test-get_hwcap-static
21530         * sysdeps/powerpc/Versions: Added new
21531         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
21532         * sysdeps/powerpc/hwcapinfo.c: New file.
21533         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
21534         and parse hwcap, hwcap2 and platform number information.
21535         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
21536         to store HWCAP+HWCAP2 and platform number.
21537         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
21538         for HWCAP+HWCAP2 and platform number in the TCB.
21539         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
21540         the HWCAP, HWCAP2 and platform number in the TCB.
21541         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
21542         (TLS_INIT_TP): Included calls to add the hwcap and
21543         at_platform values in the TCB in TP initialization.
21544         (TLS_DEFINE_INIT_TP): Likewise.
21545         (THREAD_GET_HWCAP): New macro.
21546         (THREAD_SET_HWCAP): Likewise.
21547         (THREAD_GET_AT_PLATFORM): Likewise.
21548         (THREAD_SET_AT_PLATFORM): Likewise.
21549         * sysdeps/powerpc/powerpc32/dl-machine.h:
21550         (dl_platform_init): New function that calls
21551         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
21552         powerpc32.
21553         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
21554         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
21555         this functionality, static linking case.
21556         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
21557         linking case.
21558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
21559         __parse_hwcap_and_convert_at_platform for the static linking case.
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
21561         Included the new __parse_hwcap_and_convert_at_platform symbol in the
21562         ABI list for GLIBC 2.23.
21563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
21564         Likewise.
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
21566         Likewise.
21568 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
21570         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
21571         * configure: Regenerate.
21572         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
21573         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
21575 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
21577         * iconvdata/ibm930.c: Add comment explaining encoding uses.
21578         * iconvdata/ibm933.c: Likewise.
21579         * iconvdata/ibm935.c: Likewise.
21580         * iconvdata/ibm937.c: Likewise.
21581         * iconvdata/ibm939.c: Likewise.
21583 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21585         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
21586         pthread_join.
21587         * nptl/tst-cancel21.c (tf): Likewise.
21589 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
21591         [BZ #19313]
21592         * bits/typesizes.h (__CPU_MASK_TYPE): New.
21593         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21594         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
21595         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
21596         Likewise.
21597         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
21598         Likewise.
21599         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
21600         Likewise.
21601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
21602         Likewise.
21603         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
21604         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
21605         unsigned long int with __CPU_MASK_TYPE.
21607 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21609         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21611 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
21613         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
21614         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
21615         t512.x.
21616         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
21618 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
21620         [BZ #19214]
21621         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
21622         argument to return extended model.  Update family and model
21623         with extended family and model when family == 0x0f.
21624         (init_cpu_features): Updated.
21626 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21628         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
21629         signed off_t, so 32bit bigger than 2GiB values are fine actually.
21631         * sysdeps/mach/hurd/mmap64.c: New file.
21633 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
21635         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
21636         rights for its main user thread in NEWTASK.
21638 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
21640         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
21641         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
21643 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
21645         [BZ #14259]
21646         * Makeconfig: Rename localedir to complocaledir.
21647         Rename inst_localedir to inst_complocaledir.
21648         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
21649         * config.make.in: Use complocaledir and libc_cv_complocaledir.
21650         * configure.ac: Use libc_cv_complocaledir.
21651         * configure: Regenerate.
21652         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
21653         -DCOMPLOCALEDIR.
21654         * locale/findlocale.c: Use COMPLOCALEDIR.
21655         * locale/loadarchive.c: Likewise.
21656         * locale/programs/locale.c: Likewise.
21657         * locale/programs/localedef.c: Likewise.
21658         * locale/programs/locarchive.c: Likewise.
21659         * localedata/Makefile: Use inst_complocaledir.
21660         * sysdeps/gnu/configure: Regenerate.
21661         * sysdeps/hppa/configure: Regenerate.
21662         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21663         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21665         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21666         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21667         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21668         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21670 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
21672         [BZ #19058]
21673         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
21674         AS_NEEDED.
21675         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
21676         workaround.
21677         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
21678         libmvec-static-only-routines): Added new file.
21679         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
21681 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21683         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
21684         of interrupted RPC instead of restoring it.
21686         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
21687         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
21688         libc_hidden_def.
21689         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
21690         into initialized data instead of common. Define rtld_hidden_data_def.
21691         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
21692         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
21693         libc_hidden_def.
21694         (if_freenameindex): Add libc_hidden_weak.
21695         (if_nameindex): Add libc_hidden_weak.
21696         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
21697         __open64.
21698         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
21699         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
21700         * sysdeps/mach/nanosleep.c: Include <time.h>
21701         (__nanosleep): Rename to __libc_nanosleep.
21702         (__nanosleep): Add weak_alias.
21703         (nanosleep): Update alias.
21705 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
21707         * stdlib/strtod_nan.c: New file.
21708         * stdlib/strtod_nan_double.h: Likewise.
21709         * stdlib/strtod_nan_float.h: Likewise.
21710         * stdlib/strtod_nan_main.c: Likewise.
21711         * stdlib/strtod_nan_narrow.h: Likewise.
21712         * stdlib/strtod_nan_wide.h: Likewise.
21713         * stdlib/strtof_nan.c: Likewise.
21714         * stdlib/strtold_nan.c: Likewise.
21715         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
21716         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
21717         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
21718         * wcsmbs/wcstod_nan.c: Likewise.
21719         * wcsmbs/wcstof_nan.c: Likewise.
21720         * wcsmbs/wcstold_nan.c: Likewise.
21721         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
21722         strtold_nan.
21723         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
21724         wcstof_nan.
21725         * include/stdlib.h (__strtof_nan): Declare and use
21726         libc_hidden_proto.
21727         (__strtod_nan): Likewise.
21728         (__strtold_nan): Likewise.
21729         (__wcstof_nan): Likewise.
21730         (__wcstod_nan): Likewise.
21731         (__wcstold_nan): Likewise.
21732         * include/wchar.h (____wcstoull_l_internal): Declare.
21733         * stdlib/strtod_l.c: Do not include <ieee754.h>.
21734         (____strtoull_l_internal): Remove declaration.
21735         (STRTOF_NAN): Define macro.
21736         (SET_MANTISSA): Remove macro.
21737         (STRTOULL): Likewise.
21738         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
21739         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
21740         (STRTOF_NAN): Define macro.
21741         (SET_MANTISSA): Remove macro.
21742         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
21743         (SET_MANTISSA): Remove macro.
21744         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
21745         macro.
21746         (SET_MANTISSA): Remove macro.
21747         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
21748         macro.
21749         (SET_MANTISSA): Remove macro.
21750         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
21751         (SET_MANTISSA): Remove macro.
21752         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
21753         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
21754         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
21756         [BZ #19266]
21757         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
21758         upper case and lower case letters inside NAN(), not using TOLOWER.
21759         * stdlib/tst-strtod-nan-locale-main.c: New file.
21760         * stdlib/tst-strtod-nan-locale.c: Likewise.
21761         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
21762         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
21763         Depend on $(gen-locales).
21764         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
21765         * wcsmbs/tst-wcstod-nan-locale.c: New file.
21766         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
21767         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
21768         Depend on $(gen-locales).
21769         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
21771 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
21773         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
21775         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
21777         __finitel, __isinfl, and __isnanl.
21778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21779         Likewise.
21780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
21782         __finitel.
21783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21784         Likewise.
21785         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21787 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21789         * malloc/memusage.c (me): Remove redundant getenv call.
21791 2015-10-24  Florian Weimer  <fweimer@redhat.com>
21793         [BZ #19143]
21794         [BZ #19164]
21795         * nptl/check-cpuset.h: Remove.
21796         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21797         Remove CPU set size check.
21798         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21799         Likewise.
21800         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
21801         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21802         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
21803         (__pthread_setaffinity_new): Remove CPU set size check.
21804         * sysdeps/unix/sysv/linux/sched_setaffinity.c
21805         (__kernel_cpumask_size): Remove.
21806         (__sched_setaffinity_new): Remove CPU set size check.
21807         * manual/threads.texi (Default Thread Attributes): Remove stale
21808         reference to check_cpuset_attr, determine_cpumask_size in comment.
21809         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
21810         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
21811         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
21812         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
21813         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
21814         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
21815         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
21816         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
21817         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
21818         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
21819         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
21820         skeleton test file.
21821         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
21822         tst-affinity-pid.
21824 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21826         * scripts/update-abilist.sh: New file.
21827         * Makefile (+subdir_targets): Add subdir_update-all-abi.
21828         * Makerules (update-all-abi-%, update-all-abi)
21829         (subdir_update-all-abi): New targets.
21830         * elf/Makefile (update-all-abi): New target.
21832 2015-11-24  Florian Weimer  <fweimer@redhat.com>
21834         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
21835         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
21836         (__libc_lock_define_initialized): Use it.
21837         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
21838         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
21839         * malloc/malloc.c (main_arena): Likewise.
21840         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21841         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
21843 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
21845         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21846         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
21847         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21848         (PTRACE_O_MASK): Update value.
21849         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
21850         New value in enum __ptrace_setoptions.
21851         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21852         (PTRACE_O_MASK): Update value.
21853         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21854         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21855         (PTRACE_O_MASK): Update value.
21856         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
21857         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21858         (PTRACE_O_MASK): Update value.
21859         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
21860         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
21861         (PTRACE_O_MASK): Update value.
21862         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
21863         New value in enum __ptrace_setoptions.
21864         (PTRACE_O_MASK): Update value.
21865         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
21866         New value in enum __ptrace_setoptions.
21867         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
21868         (PTRACE_O_MASK): Update value.
21870         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
21871         New macro.
21872         (PACKET_AUXDATA): Likewise.
21873         (PACKET_ORIGDEV): Likewise.
21874         (PACKET_VERSION): Likewise.
21875         (PACKET_HDRLEN): Likewise.
21876         (PACKET_RESERVE): Likewise.
21877         (PACKET_TX_RING): Likewise.
21878         (PACKET_LOSS): Likewise.
21879         (PACKET_VNET_HDR): Likewise.
21880         (PACKET_TX_TIMESTAMP): Likewise.
21881         (PACKET_TIMESTAMP): Likewise.
21882         (PACKET_FANOUT): Likewise.
21883         (PACKET_TX_HAS_OFF): Likewise.
21884         (PACKET_QDISC_BYPASS): Likewise.
21885         (PACKET_ROLLOVER_STATS): Likewise.
21886         (PACKET_FANOUT_DATA): Likewise.
21887         (PACKET_MR_UNICAST): Likewise.
21889         [BZ #19242]
21890         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
21891         (TOUPPER): Likewise.
21892         * stdlib/tst-strtol-locale-main.c: New file.
21893         * stdlib/tst-strtol-locale.c: Likewise.
21894         * stdlib/Makefile (tests): Add tst-strtol-locale.
21895         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
21896         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
21897         Depend on $(gen-locales).
21898         * wcsmbs/tst-wcstol-locale.c: New file.
21899         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
21900         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
21901         tr_TR.ISO-8859-9.
21902         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
21903         Depend on $(gen-locales).
21905 2015-11-20  Roland McGrath  <roland@hack.frob.com>
21907         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
21908         __glibc_likely instead of __builtin_expect.  After falling back to
21909         dyncode_create in a non-ET_DYN case, use the allocate_code_data
21910         system interface to register the code pages as occupied.
21912 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
21914         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21915         [!ARM_MATH_PRIVATE_H].
21916         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
21917         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21918         [!HPPA_MATH_PRIVATE_H].
21919         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
21920         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
21921         to [!I386_MATH_PRIVATE_H].
21922         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
21923         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
21924         Change guard to [!M68K_MATH_PRIVATE_H].
21925         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
21926         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
21927         guard to [!MICROBLAZE_MATH_PRIVATE_H].
21928         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
21929         macro.
21930         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21931         [!MIPS_MATH_PRIVATE_H].
21932         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
21933         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21934         [!NIO2_MATH_PRIVATE_H].
21935         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
21936         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
21937         [!TILE_MATH_PRIVATE_H].
21938         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
21940         [BZ #15421]
21941         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
21942         initialize with 0 and define as weak alias of __signgam.
21943         * include/math.h [!_ISOMAC] (__signgam): Declare.
21944         * math/Makefile (libm-calls): Add w_lgamma_compat.
21945         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
21946         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
21947         test-signgam-ullong-init.
21948         (tests-static): Add test-signgam-uchar-static,
21949         test-signgam-uchar-init-static, test-signgam-uint-static,
21950         test-signgam-uint-init-static, test-signgam-ullong-static and
21951         test-signgam-ullong-init-static.
21952         (CFLAGS-test-signgam-uchar.c): New variable.
21953         (CFLAGS-test-signgam-uchar-init.c): Likewise.
21954         (CFLAGS-test-signgam-uchar-static.c): Likewise.
21955         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21956         (CFLAGS-test-signgam-uint.c): Likewise.
21957         (CFLAGS-test-signgam-uint-init.c): Likewise.
21958         (CFLAGS-test-signgam-uint-static.c): Likewise.
21959         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21960         (CFLAGS-test-signgam-ullong.c): Likewise.
21961         (CFLAGS-test-signgam-ullong-init.c): Likewise.
21962         (CFLAGS-test-signgam-ullong-static.c): Likewise.
21963         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21964         * math/Versions (libm): Add GLIBC_2.23.
21965         * math/lgamma-compat.h: New file.
21966         * math/test-signgam-main.c: Likewise.
21967         * math/test-signgam-uchar-init-static.c: Likewise.
21968         * math/test-signgam-uchar-init.c: Likewise.
21969         * math/test-signgam-uchar-static.c: Likewise.
21970         * math/test-signgam-uchar.c: Likewise.
21971         * math/test-signgam-uint-init-static.c: Likewise.
21972         * math/test-signgam-uint-init.c: Likewise.
21973         * math/test-signgam-uint-static.c: Likewise.
21974         * math/test-signgam-uint.c: Likewise.
21975         * math/test-signgam-ullong-init-static.c: Likewise.
21976         * math/test-signgam-ullong-init.c: Likewise.
21977         * math/test-signgam-ullong-static.c: Likewise.
21978         * math/test-signgam-ullong.c: Likewise.
21979         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
21980         wrapper of w_lgamma_main.c.
21981         * math/w_lgamma_compat.c: New file.
21982         * math/w_lgamma_compatf.c: Likewise.
21983         * math/w_lgamma_compatl.c: Likewise.
21984         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
21985         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21986         defining compatibility symbols.
21987         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
21988         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
21989         wrapper of w_lgammaf_main.c.
21990         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
21991         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21992         defining compatibility symbols.
21993         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
21994         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
21995         wrapper of w_lgammal_main.c.
21996         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
21997         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
21998         defining compatibility symbols.
21999         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22000         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22001         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22002         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22003         <lgamma-compat.h>.
22004         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22005         (__ieee754_gamma): Define as alias.
22006         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22007         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22008         <lgamma-compat.h>.
22009         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22010         (__ieee754_gammaf): Define as alias.
22011         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22012         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22013         <lgamma-compat.h>.
22014         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22015         (__ieee754_gammal): Define as alias.
22016         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22017         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22018         <math/w_lgamma_compat.c>.
22019         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22020         Define as alias of __lgamma_compat and use in defining lgammal.
22021         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22022         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22023         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22024         (USE_AS_COMPAT): New macro.
22025         (LGAMMA_OLD_VER): Undefine and redefine.
22026         (lgammal): Do not define here.
22027         (gammal): Only define here if [GAMMA_ALIAS].
22028         * conform/linknamespace.pl (@whitelist): Remove signgam.
22029         * sysdeps/nacl/libm.abilist: Update.
22030         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22031         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22032         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22033         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22034         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22035         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22036         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22037         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22038         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22039         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22040         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22041         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22043         Likewise.
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22045         Likewise.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22047         Likewise.
22048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22049         Likewise.
22050         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22051         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22052         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22053         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22054         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22056         Likewise.
22057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22058         Likewise.
22059         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22060         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22061         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22063 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22065         [BZ #16364]
22066         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
22067         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
22069 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22071         * sysdeps/s390/fpu/bits/mathinline.h:
22072         Use __asm__ [__volatile__] instead of asm [volatile].
22073         * sysdeps/s390/abort-instr.h: Likewise.
22074         * sysdeps/s390/atomic-machine.h: Likewise.
22075         * sysdeps/s390/bits/string.h: Likewise.
22076         * sysdeps/s390/dl-tls.h: Likewise.
22077         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22078         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22079         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22080         * sysdeps/s390/fpu/fesetround.c: Likewise.
22081         * sysdeps/s390/fpu/fpu_control.h: Likewise.
22082         * sysdeps/s390/fpu/s_fma.c: Likewise.
22083         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
22084         * sysdeps/s390/memusage.h: Likewise.
22085         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
22086         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
22087         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
22088         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
22089         * sysdeps/s390/nptl/tls.h: Likewise.
22090         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
22091         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22092         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22093         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
22094         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22095         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22096         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
22097         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22098         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22099         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
22100         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
22101         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22102         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
22104         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22105         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22106         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
22107         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22108         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
22109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22110         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
22111         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22112         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
22114 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22115             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22117         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22118         Add lwarx hint, and use macro for acquire instruction.
22119         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22120         Likewise.
22121         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
22122         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
22123         update to use new atomic macros.
22125 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22127         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22128         (__lll_trylock_elision): Fix setting of adapt_count.
22129         * sysdeps/unix/sysv/linux/powerpc/htm.h
22130         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
22131         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
22132         (_ABORT_SYSCALL): Renumber, and clarify definition.
22133         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
22135 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22137         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
22138         after system headers to prevent MIN/MAX redefinition.  Define
22139         HAVE_ALLOCA to preserve builtin alloca usage.
22141 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
22144         static and don't set or restore rounding.
22145         (__cos)[IN_SINCOS]: Likewise.
22146         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
22147         (__sincos): Set and restore rounding mode.  Remove check for infinite
22148         or NaN input.
22150         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
22152         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
22153         as used.
22155 2015-11-16  Florian Weimer  <fweimer@redhat.com>
22157         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
22159 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22161         * config.make.in (have-glob-dat-reloc): New.
22162         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
22163         target supports GLOB_DAT relocaton. AC_SUBST.
22164         * configure: Regenerated.
22165         * elf/Makefile (tests): Add tst-prelink.
22166         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22167         (tst-prelink-ENV): New.
22168         ($(objpfx)tst-prelink-conflict.out): Likewise.
22169         ($(objpfx)tst-prelink-cmp.out): Likewise.
22170         * sysdeps/x86/tst-prelink.c: Moved to ...
22171         * elf/tst-prelink.c: Here.
22172         * sysdeps/x86/tst-prelink.exp: Moved to ...
22173         * elf/tst-prelink.exp: Here.
22174         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
22175         (tst-prelink-ENV): Removed.
22176         ($(objpfx)tst-prelink-conflict.out): Likewise.
22177         ($(objpfx)tst-prelink-cmp.out): Likewise.
22178         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
22180 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
22182         [BZ #14551]
22183         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
22184         (__mpn_construct_long_double): If high part overflows to infinity,
22185         set errno and recompute overflowed result of the correct sign.
22186         * sysdeps/ieee754/ldbl-128ibm/Makefile
22187         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
22188         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
22189         $(libm).
22190         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
22192 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
22194         [BZ #15479]
22195         [BZ #19238]
22196         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
22197         floating-point state after first operation on input.  Restore full
22198         state rather than just rounding mode.
22199         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
22200         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
22201         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
22203         [BZ #19235]
22204         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
22205         add 0.5 to integer arguments.
22206         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
22207         Likewise.
22208         (.LC2): New object.
22210 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
22212         * scripts/pylintrc (reports): Set to no.
22214 2015-11-10  Roland McGrath  <roland@hack.frob.com>
22216         * elf/dl-load.c (open_verify): Take new argument FD.
22217         Skip __open call if passed FD is not -1.
22218         (_dl_map_object, open_path): Update callers.
22219         * elf/dl-sysdep-open.h: New file.
22220         * elf/dl-load.c: Include it.
22221         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
22222         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
22223         * sysdeps/nacl/dl-sysdep-open.h: New file.
22224         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
22225         from libc to rtld.
22227 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22229         [BZ #19228]
22230         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
22231         and restore full floating-point state.
22232         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22233         Likewise.
22234         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
22235         Likewise.
22236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
22237         Likewise.
22238         * math/test-nearbyint-except-2.c: New file.
22239         * math/Makefile (tests): Add test-nearbyint-except-2.
22241 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
22243         [BZ #19178]
22244         * sysdeps/x86/Makefile (tests): Add tst-prelink.
22245         (tst-prelink-ENV): New.
22246         ($(objpfx)tst-prelink-conflict.out): Likewise.
22247         ($(objpfx)tst-prelink-cmp.out): Likewise.
22248         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
22249         * sysdeps/x86/tst-prelink.c: New file.
22250         * sysdeps/x86/tst-prelink.exp: Likewise.
22252 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
22254         * math/auto-libm-test-in: Add another test of pow.
22255         * math/auto-libm-test-out: Regenerated.
22256         * math/libm-test.inc (pow_test_data): Add another test.
22258 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22260         [BZ #19219]
22261         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
22262         weak_alias to nearbyintl.
22264 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22266         * sysdeps/aarch64/bits/string.h: New file.
22267         (_STRING_ARCH_unaligned): Define.
22269 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
22271         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
22272         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22273         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22274         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
22275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
22277 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
22279         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
22280         for original name of the DSO.  Add it to the name list of the DSO
22281         if it is actually given.
22282         (_dl_map_object): Keep track of whether an audit module rewrote
22283         the file name.  If yes, pass the original name to
22284         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
22285         debugging is enabled, log the change of the file name.
22286         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
22287         _dl_map_object_from_fd.
22288         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
22289         * elf/tst-audit11.c: New file
22290         * elf/tst-auditmod11.c: New file.
22291         * elf/tst-audit11mod1.c: New file.
22292         * elf/tst-audit11mod2.c: New file.
22293         * elf/tst-audit11mod2.map: New file.
22294         * elf/tst-audit12.c: New file
22295         * elf/tst-auditmod12.c: New file.
22296         * elf/tst-audit12mod1.c: New file.
22297         * elf/tst-audit12mod2.c: New file.
22298         * elf/tst-audit12mod2.map: New file.
22299         * elf/tst-audit12mod3.c: New file.
22301 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22303         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
22304         Don't create weak aliases,
22305         because versioned symbols are created later.
22306         * sysdeps/s390/s390-32/setjmp.S
22307         (setjmp, _setjmp): Remove weak and rename to an unique name
22308         in SHARED case due to existing versioned symbols.
22309         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22310         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
22311         (getcontext): Create weak alias only in non SHARED case.
22312         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22314 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22316         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
22317         (__ASSUME_*_SYSCALL) Define new macros.
22318         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
22319         Remove socketcall syscalls.
22320         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
22321         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
22322         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
22323         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
22324         * sysdeps/unix/sysv/linux/send.c (__libc_send):
22325         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
22327 2015-11-09  Florian Weimer  <fweimer@redhat.com>
22329         [BZ #12926]
22330         Terminate process on invalid netlink response.
22331         * sysdeps/unix/sysv/linux/netlinkaccess.h
22332         (__netlink_assert_response): Declare.
22333         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
22334         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
22335         (sysdep_routines): Add netlink_assert_response.
22336         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
22337         __netlink_assert_response.
22338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
22339         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
22340         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
22341         __netlink_assert_response.
22343 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22345         [BZ #19178]
22346         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
22347         (RTYPE_CLASS_PLT): Likewise.
22348         (RTYPE_CLASS_COPY): Likewise.
22349         (RTYPE_CLASS_TLS): Likewise.
22350         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
22351         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
22352         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
22353         DL_DEBUG_PRELINK.
22355 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
22357         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
22358         calls with argument -0.5.
22359         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
22361         * configure.ac (libc_cv_z_nodelete): Remove configure test.
22362         (libc_cv_z_nodlopen): Likewise.
22363         (libc_cv_z_initfirst): Likewise.
22364         * configure: Regenerated.
22366 2015-11-06  Florian Weimer  <fweimer@redhat.com>
22368         Simplify abilist format to be line-based.
22369         * scripts/abilist.awk: Collect descriptors in the descs variable.
22370         (emit): Write descs variable and sort it
22371         externally, with sort.
22372         * sysdeps/**/*.abilist: Convert to new format.
22374 2015-11-06  Mark Wielaard  <mjw@redhat.com>
22376         [BZ #11460]
22377         * io/Makefile (routines): Add fts64.
22378         (tests): Add tst-fts and tst-fts-lfs.
22379         (CFLAGS-fts64.c): New.
22380         * io/Versions (GLIBC_2.23): New.
22381         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
22382         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
22383         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
22384         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
22385         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
22386         (FTSENT64): Likewise.
22387         (fts64_children): Likewise.
22388         (fts64_close): Likewise.
22389         (fts64_open): Likewise.
22390         (fts64_read): Likewise.
22391         (fts64_set): Likewise.
22392         * io/fts64.c: New file.
22393         * io/tst-fts.c: New test.
22394         * io/tst-fts-lfs.c: Likewise.
22395         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
22396         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
22397         fts64_set.
22398         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22399         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22400         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22401         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22402         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22403         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22404         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22405         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22406         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22407         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
22408         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22409         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22410         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22414         Likewise.
22415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
22417         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22418         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22419         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22420         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22421         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
22423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
22424         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22425         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22426         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22427         * sysdeps/wordsize-64/fts.c: New file.
22428         * sysdeps/wordsize-64/fts64.c: Likewise.
22429         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
22430         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
22431         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
22432         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
22434 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22436         * math/libm-test.inc (NON_FINITE): New macro.
22437         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
22438         * math/gen-libm-test.pl (show_exceptions): Add argument
22439         $non_finite.
22440         (parse_args): Update call to show_exceptions.
22441         * math/test-math-finite.h: New file.
22442         * math/test-math-no-finite.h: Likewise.
22443         * math/test-double-finite.c: Likewise.
22444         * math/test-float-finite.c: Likewise.
22445         * math/test-ldouble-finite.c: Likewise.
22446         * math/test-double.c: Include "test-math-no-finite.h".
22447         * math/test-float.c: Include "test-math-no-finite.h".
22448         * math/test-ldouble.c: Include "test-math-no-finite.h".
22449         * math/test-math-inline.h (TEST_FINITE): New macro.
22450         * math/test-math-vector.h (TEST_FINITE): Likewise.
22451         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
22452         (libm-tests): Add test-float-finite and test-double-finite.
22453         ($(objpfx)test-float-finite.o): New dependency on
22454         $(objpfx)libm-test.stmp.
22455         ($(objpfx)test-double-finite.o): Likewise.
22456         ($(objpfx)test-ldouble-finite.o): Likewise.
22457         (libm-test-no-inline-cflags): New variable.
22458         (libm-test-finite-cflags): Likewise.
22459         (CFLAGS-test-float-finite.c): Likewise.
22460         (CFLAGS-test-double-finite.c): Likewise.
22461         (CFLAGS-test-ldouble-finite.c): Likewise.
22462         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
22463         (CFLAGS-test-double.c): Likewise.
22464         (CFLAGS-test-ldouble.c): Likewise.
22466 2015-11-05  Roland McGrath  <roland@hack.frob.com>
22468         * io/fcntl.c (__fcntl): Add ... to prototype.
22469         * misc/ioctl.c (__ioctl): Likewise.
22470         * misc/syscall.c (syscall): Likewise.
22472 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
22474         * scripts/list-fixed-bugs.py: New file.
22476         [BZ #19213]
22477         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
22478         returned for argument 1.
22479         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
22480         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
22481         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
22482         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
22483         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
22484         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
22486         [BZ #19211]
22487         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
22488         __USE_XOPEN], not if [!__USE_ISOC99].
22489         (lgammaf): Likewise.
22490         (lgammal): Likewise.
22491         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
22492         (gammaf): Likewise.
22493         (gammal): Likewise.
22494         * math/test-signgam-finite-c11.c: New file.
22495         * math/test-signgam-finite-c99.c: Likewise.
22496         * math/test-signgam-finite.c: Likewise.
22497         * math/Makefile (tests): Add test-signgam-finite,
22498         test-signgam-finite-c99 and test-signgam-finite-c11.
22499         (CFLAGS-test-signgam-finite.c): New variable.
22500         (CFLAGS-test-signgam-finite-c99.c): Likewise.
22501         (CFLAGS-test-signgam-finite-c11.c): Likewise.
22503         [BZ #19212]
22504         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
22505         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
22506         500].
22507         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
22508         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
22509         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
22510         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
22511         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
22512         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
22513         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
22514         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
22515         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
22516         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
22518         [BZ #19209]
22519         * math/bits/math-finite.h (ldexp): Remove declaration.
22520         (ldexpf): Likewise.
22521         (ldexpl): Likewise.
22523         [BZ #19205]
22524         * math/bits/math-finite.h (acosf): Condition declaration on
22525         [__USE_ISOC99].
22526         (acosl): Likewise.
22527         (acoshf): Likewise.
22528         (acoshl): Likewise.
22529         (asinf): Likewise.
22530         (asinl): Likewise.
22531         (atan2f): Likewise.
22532         (atan2l): Likewise.
22533         (atanhf): Likewise.
22534         (atanhl): Likewise.
22535         (coshf): Likewise.
22536         (coshl): Likewise.
22537         (expf): Likewise.
22538         (expl): Likewise.
22539         (fmodf): Likewise.
22540         (fmodl): Likewise.
22541         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
22542         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
22543         (j0l): Likewise.
22544         (y0f): Likewise.
22545         (y0l): Likewise.
22546         (j1f): Likewise.
22547         (j1l): Likewise.
22548         (y1f): Likewise.
22549         (y1l): Likewise.
22550         (jnf): Likewise.
22551         (jnl): Likewise.
22552         (ynf): Likewise.
22553         (ynl): Likewise.
22554         (lgammaf_r): Condition declaration on [__USE_ISOC99].
22555         (lgammal_r): Likewise.
22556         (__lgamma_r_finite): New declaration.
22557         (__lgammaf_r_finite): Likewise.
22558         (__lgammal_r_finite): Likewise.
22559         (lgamma): Use __lgamma_r_finite.
22560         (lgammaf): Condition definition on [__USE_ISOC99].  Use
22561         __lgammaf_r_finite.
22562         (lgammal): Condition definition on [__USE_ISOC99].  Use
22563         __lgammal_r_finite.
22564         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
22565         __lgamma_r_finite.
22566         (gammaf): Condition definition on [__USE_ISOC99].  Use
22567         __lgammaf_r_finite.
22568         (gammal): Condition definition on [__USE_ISOC99].  Use
22569         __lgammal_r_finite.
22570         (logf): Condition declaration on [__USE_ISOC99].
22571         (logl): Likewise.
22572         (log10f): Likewise.
22573         (log10l): Likewise.
22574         (ldexpf): Likewise.
22575         (ldexpl): Likewise.
22576         (powf): Likewise.
22577         (powl): Likewise.
22578         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
22579         __USE_ISOC99].
22580         (remainderf): Condition declaration on [__USE_ISOC99].
22581         (remainderl): Likewise.
22582         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
22583         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
22584         (scalbl): Likewise.
22585         (sinhf): Condition declaration on [__USE_ISOC99].
22586         (sinhl): Likewise.
22587         (sqrtf): Likewise.
22588         (sqrtl): Likewise.
22590 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22592         * sysdeps/arm/atomic-machine.h
22593         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22594         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22595         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
22596         Remove conditional code.
22597         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
22598         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
22599         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
22600         Change conditional to [__ASSEMBLER__].
22601         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22602         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
22603         [!__ASSEMBLER__].
22604         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
22605         code.
22606         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
22607         conditional macro definitions.
22608         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
22609         (__arch_compare_and_exchange_val_16_acq): Likewise.
22610         (__arch_compare_and_exchange_val_32_acq): Likewise.
22611         (atomic_exchange_and_add): Likewise.
22612         (atomic_add): Likewise.
22613         (atomic_add_negative): Likewise.
22614         (atomic_add_zero): Likewise.
22615         (atomic_bit_set): Likewise.
22616         (atomic_bit_test_set): Likewise.
22617         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
22618         code unconditional.
22619         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22621         * math/test-math-errno.h: New file.
22622         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
22623         empty.
22624         (TEST_ERRNO): New macro.
22625         (TEST_EXCEPTIONS): Likewise.
22626         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
22627         (TEST_EXCEPTIONS): Likewise.
22628         * math/test-math-vector.h (TEST_ERRNO): Likewise.
22629         * math/test-double.c: Include "test-math-errno.h".
22630         * math/test-float.c: Likewise.
22631         * math/test-ldouble.c: Likewise.
22632         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
22633         code unconditional.
22634         (test_exceptions): Only run code if TEST_EXCEPTIONS.
22635         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
22636         unconditional.
22637         (test_errno): Only run code if TEST_ERRNO.
22638         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
22640 2015-11-04  Florian Weimer  <fweimer@redhat.com>
22642         * nptl/tst-once5.cc: Remove attribution.
22644 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
22646         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
22647         sqrt, tan, tanh, y0, y1 and yn.
22648         * math/auto-libm-test-out: Regenerated.
22649         * math/libm-test.inc (scalb_test_data): Add more tests.
22650         (scalbn_test_data): Likewise.
22651         (scalbln_test_data): Likewise.
22652         (signbit_test_data): Likewise.
22653         (sin_test_data): Likewise.
22654         (sincos_test_data): Likewise.
22655         (sinh_test_data): Likewise.
22656         (sqrt_test_data): Likewise.
22657         (tan_test_data): Likewise.
22658         (tanh_test_data): Likewise.
22659         (tgamma_test_data): Likewise.
22660         (y0_test_data): Likewise.
22661         (y1_test_data): Likewise.
22662         (yn_test_data): Likewise.
22663         (significand_test_data): Likewise.
22664         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666 2015-11-03  David Kastrup  <dak@gnu.org>
22668         [BZ #18604]
22669         * assert/assert.h (assert): Don't macro-expand failed assertion
22670         expression in error message.
22671         * malloc/malloc.c (assert): Likewise.
22673 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
22675         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
22676         test.
22677         * configure: Regenerated.
22679 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
22681         * math/libm-test.inc (modf_test_data): Add more tests.
22682         (nearbyint_test_data): Likewise.
22683         (nextafter_test_data): Likewise.
22684         (nexttoward_test_data): Likewise.
22685         (pow_test_data): Likewise.
22686         (remainder_test_data): Likewise.
22687         (remquo_test_data): Likewise.
22688         (rint_test_data): Likewise.
22690         [BZ #19201]
22691         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22692         Check for zero remainder in case of large exponents and ensure
22693         correct sign of result in that case.
22694         * math/libm-test.inc (remainder_test_data): Add more tests.
22696         [BZ #6799]
22697         * math/s_nextafter.c: Include <errno.h>.
22698         (__nextafter): Set errno on overflow and underflow.
22699         * math/s_nexttowardf.c: Include <errno.h>.
22700         (__nexttowardf): Set errno on overflow and underflow.
22701         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
22702         (__nextafterl): Set errno on overflow and underflow.
22703         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
22704         (__nexttoward): Set errno on overflow and underflow.
22705         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
22706         (__nexttowardf): Set errno on overflow and underflow.
22707         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
22708         (__nextafterf): Set errno on overflow and underflow.
22709         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
22710         (__nextafterl): Set errno on overflow and underflow.
22711         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
22712         (__nexttoward): Set errno on overflow and underflow.
22713         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
22714         (__nexttowardf): Set errno on overflow and underflow.
22715         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
22716         (__nextafterl): Set errno on overflow and underflow.
22717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
22718         (__nexttoward): Set errno on overflow and underflow.
22719         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
22720         (__nexttowardf): Set errno on overflow and underflow.
22721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
22722         (__nexttoward): Set errno on overflow and underflow.
22723         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
22724         (__nexttowardf): Set errno on overflow and underflow.
22725         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
22726         (__nldbl_nexttowardf): Set errno on overflow and underflow.
22727         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
22728         (__nextafterl): Set errno on overflow and underflow.
22729         * math/libm-test.inc (nextafter_test_data): Do not allow errno
22730         setting to be missing on overflow.  Add more tests.
22731         (nexttoward_test_data): Likewise.
22733         * configure.ac (libc_cv_initfini_array): Remove configure test.
22734         * configure: Regenerated.
22736 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
22738         [BZ #19189]
22739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
22740         non-finite argument handle arguments with negative sign.
22742         * math/libm-test.inc (j0_test_data): Do not test sign of zero
22743         result from infinite argument.
22744         (j1_test_data): Likewise.
22745         (jn_test_data): Likewise.
22746         (y0_test_data): Likewise.
22747         (y1_test_data): Likewise.
22748         (yn_test_data): Likewise.
22750         [BZ #16171]
22751         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22752         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
22753         * math/w_remainderf.c (dremf): Define as weak alias of
22754         __remainderf.
22755         * math/w_remainderl.c (dreml): Define as weak alias of
22756         __remainderl.
22757         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
22758         __remainder.
22759         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
22760         __remainderf.
22761         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
22762         __remainderl.
22763         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
22764         weak alias of remainderl.
22765         * sysdeps/ieee754/ldbl-opt/w_remainder.c
22766         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
22767         alias of __remainder.
22768         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
22769         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
22770         strong alias of __remainderl.
22771         (dreml): Use long_double_symbol.
22772         * math/Makefile (libm-calls): Remove w_drem.
22773         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
22774         (CFLAGS-nldbl-drem.c): Remove variable.
22775         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
22776         * math/w_drem.c: Remove file.
22777         * math/w_dremf.c: Likewise.
22778         * math/w_dreml.c: Likewise.
22779         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
22780         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
22781         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
22783         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
22784         * sysdeps/i386/configure: Regenerated.
22785         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
22786         * sysdeps/x86_64/configure: Regenerated.
22788         * configure.ac (libc_cv_asm_protected_directive): Remove configure
22789         test.
22790         (libc_cv_visibility_attribute): Likewise.
22791         (libc_cv_protected_data): Test unconditionally.
22792         (libc_cv_broken_visibility_attribute): Remove configure test.
22793         (libc_cv_have_sdata_section): Test unconditionally.
22794         * configure: Regenerated.
22796         * include/libc-internal.h (libc_max_align_t): Remove typedef.
22797         * include/scratch_buffer.h: Include <stddef.h> instead of
22798         <libc-internal.h>.
22799         (struct scratch_buffer): Use max_align_t instead of
22800         libc_max_align_t.
22802 2015-10-29  Florian Weimer  <fweimer@redhat.com>
22804         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
22805         instead of extend_alloca.  Change control flow to avoid a goto.
22806         Remove assert which is trivially always true.
22808 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22810         [BZ #16068]
22811         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
22812         (FE_ALL_EXCEPT_X86): New macro.
22813         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22814         FE_ALL_EXCEPT.  Ensure precision control is included in
22815         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22816         handle "denormal operand exception" and clear FZ and DAZ bits.
22817         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
22818         (FE_ALL_EXCEPT_X86): New macro.
22819         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
22820         FE_ALL_EXCEPT.  Ensure precision control is included in
22821         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
22822         handle "denormal operand exception" and clear FZ and DAZ bits.
22823         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
22824         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
22825         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22826         test-fenv-x87 and test-fenv-sse-2.
22827         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
22829         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
22830         * math/test-double.h (BUILD_COMPLEX): New macro.
22831         * math/test-float.h (BUILD_COMPLEX): Likewise.
22832         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
22834         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
22835         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
22836         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
22837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
22838         instead of DBL_DENORM_MIN in comment.
22839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
22840         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
22842         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
22843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
22844         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
22846 2015-10-28  Florian Weimer  <fweimer@redhat.com>
22848         [BZ #19048]
22849         * malloc/malloc.c (struct malloc_state): Update comment.  Add
22850         attached_threads member.
22851         (main_arena): Initialize attached_threads.
22852         * malloc/arena.c (list_lock): Update comment.
22853         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
22854         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
22855         (deattach_arena): New function.
22856         (_int_new_arena): Initialize arena reference count and deattach
22857         replaced arena.
22858         (get_free_list, reused_arena): Update reference count and deattach
22859         replaced arena.
22860         (arena_thread_freeres): Update arena reference count and only put
22861         unreferenced arenas on the free list.
22863 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22865         [BZ #19181]
22866         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
22867         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
22868         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
22869         * math/test-fenv-clear-main.c: New file.
22870         * math/test-fenv-clear.c: Likewise.
22871         * math/Makefile (tests): Add test-fenv-clear.
22872         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
22873         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22874         test-fenv-clear-sse.
22875         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
22877         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
22878         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
22879         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
22881 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22883         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
22884         static libc.
22886 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
22888         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
22889         test.
22890         * sysdeps/i386/configure: Regenerated.
22891         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
22892         test.
22893         * sysdeps/x86_64/configure: Regenerated.
22894         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
22895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22896         memset-avx2 unconditionally instead of conditionally on
22897         [$(config-cflags-avx2) = yes].
22898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22899         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
22900         unconditional.
22901         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
22902         * sysdeps/x86_64/multiarch/memset_chk.S
22903         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
22904         to [IS_IN (libc) && SHARED].
22906 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
22908         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
22909         configure test.
22910         * sysdeps/arm/configure: Regenerated.
22911         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
22912         Define variable if not already defined.
22914         [BZ #17404]
22915         * sysdeps/mips/atomic-machine.h
22916         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
22917         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
22918         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
22920         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
22921         unconditional.
22922         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
22923         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22924         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
22925         unconditional.
22926         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22927         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
22928         unconditional.
22929         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22930         * stdlib/setenv.c
22931         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
22932         code unconditional.
22933         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
22934         Remove conditional code.
22935         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22936         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
22937         unconditional.
22938         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22939         code.
22940         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22941         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
22942         unconditional.
22943         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22944         code.
22945         * sysdeps/ieee754/ldbl-128/k_tanl.c
22946         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22947         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22948         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
22949         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22950         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22951         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
22952         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
22953         unconditional.
22954         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
22955         code.
22956         * sysdeps/ieee754/ldbl-96/k_tanl.c
22957         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
22958         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
22960         * nptl/tst-initializers1-c11.c: New file.
22961         * nptl/tst-initializers1-gnu11.c: Likewise.
22962         * nptl/Makefile (tests): Add these new tests.
22963         (CFLAGS-tst-initializers1-c11.c): New variable.
22964         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22966         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
22967         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
22968         instead of -std=gnu99.
22969         * configure.ac (systemtap): Test with -std=gnu11 instead of
22970         -std=gnu99.
22971         * configure: Regenerated.
22972         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
22973         in compilation command in comment.
22975         * sysdeps/nptl/configure.ac: Remove file.
22976         * sysdeps/nptl/configure: Remove generated file.
22977         * configure.ac (libc_cv_forced_unwind): Do not substitute.
22978         * configure: Regenerated.
22979         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
22980         * config.make.in (have-forced-unwind): Remove variable.
22981         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22982         unconditional.
22983         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
22984         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
22985         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
22986         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
22987         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
22988         unconditional.
22990 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22992         [BZ #19174]
22993         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
22994         .skip_lock_out_of_tbegin_retries.
22995         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22996         (__lll_lock_elision): Likewise, and respect a value of
22997         try_tbegin <= 0.
22999 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23001         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23002         statement.
23004 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23006         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23007         variable.
23008         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23009         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23011         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23012         of -std=c1x -D_ISOC11_SOURCE.
23014         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23015         * configure: Regenerated.
23016         * manual/install.texi (Tools for Compilation): Document
23017         requirement for GCC 4.7 or later.
23018         * INSTALL: Regenerated.
23020 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23022         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23023         on CNT to a conditional jump to 'puntdata'.
23025 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23027         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23028         (libc_cv_gcc_tls_model_attr): Likewise.
23029         * configure: Regenerated.
23031         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23032         * configure: Regenerated.
23033         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23035 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23037         * configure.ac (old_glibc_headers): Remove configure test.
23038         * configure: Regenerated.
23039         * config.make.in (old-glibc-headers): Remove variable.
23040         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23041         (install): Remove dependency on remove-old-headers.
23042         (headers2_0): Remove variable.
23043         (remove-old-headers): Remove rule.
23045         * configure.ac (libc_cv_dot_text): Remove configure test.
23046         (libc_cv_asm_set_directive): Use .text instead of
23047         ${libc_cv_dot_text} in configure test.
23048         * configure: Regenerated.
23050 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23052         [BZ #19168]
23053         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23055 2015-10-26  Florian Weimer  <fweimer@redhat.com>
23057         * configure.ac (CXX): Clear the variable if the C++ toolchain does
23058         not support static linking.
23059         * configure: Regenerate.
23061 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
23063         * math/libm-test.inc (check_float_internal): Do not special-case
23064         errors up to 0.5 ulp.
23066         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23067         log2.
23068         * math/auto-libm-test-out: Regenerated.
23069         * math/libm-test.inc (MAX_EXP): New macro.
23070         (ilogb_test_data): Add more tests.
23071         (isfinite_test_data): Likewise.
23072         (isgreater_test_data): Likewise.
23073         (isgreaterequal_test_data): Likewise.
23074         (isinf_test_data): Likewise.
23075         (isless_test_data): Likewise.
23076         (islessequal_test_data): Likewise.
23077         (islessgreater_test_data): Likewise.
23078         (isnan_test_data): Likewise.
23079         (isnormal_test_data): Likewise.
23080         (issignaling_test_data): Likewise.
23081         (isunordered_test_data): Likewise.
23082         (j0_test_data): Likewise.
23083         (j1_test_data): Likewise.
23084         (jn_test_data): Likewise.
23085         (lgamma_test_data): Likewise.
23086         (log_test_data): Likewise.
23087         (log10_test_data): Likewise.
23088         (log1p_test_data): Likewise.
23089         (log2_test_data): Likewise.
23090         (logb_test_data): Likewise.
23091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23093         [BZ #18611]
23094         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
23095         avoid excess range and precision on underflow.
23096         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23097         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
23098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
23100         underflow.
23101         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23103         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23104         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23105         * math/auto-libm-test-in: Do not allow missing errno setting for
23106         tests of j1 and jn.
23107         * math/auto-libm-test-out: Regenerated.
23109 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
23111         [BZ #15491]
23112         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
23113         floating-point environment instead of clearing all exceptions.
23114         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
23115         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
23116         merging in "invalid" exceptions from frndint.
23117         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
23118         * math/test-nearbyint-except.c: New file.
23119         * math/Makefile (tests): Add test-nearbyint-except.
23121 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
23123         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
23125         * sysdeps/tile/libm-test-ulps: Regenerated.
23127 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
23130         (__NR_sync_file_range2): Assume it is always defined.
23131         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23132         (__NR_sync_file_range): Assume it is always defined.
23134 2015-10-22  Andreas Schwab  <schwab@suse.de>
23136         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23137         INTERNAL_SYSCALL_ERRNO.
23138         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23139         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23140         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23141         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23142         Likewise.
23143         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23145 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23147         * io/tst-fcntl.c (fd): New static variable.
23148         (do_prepare): Open temporary file here....
23149         (do_test): ...not here.
23151         * io/ftwtest-sh: Also trap on exit to remove temporary files.
23153 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23155         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
23156         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23157         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23158         Moved before "#ifdef __ASSEMBLER__".
23160 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23162         [BZ #19156]
23163         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
23164         arguments very close to 0.
23166 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
23168         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
23169         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
23171 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
23173         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
23174         New.  Defined for GCC 5 and above when not compiling for
23175         profiling.
23176         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
23178         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23179         Renamed to ...
23180         (CFLAGS-epoll_pwait.o): This.
23181         (CFLAGS-mmap.c): Renamed to ...
23182         (CFLAGS-mmap.o): This.
23183         (CFLAGS-mmap64.c): Renamed to ...
23184         (CFLAGS-mmap64.o): This.
23185         (CFLAGS-epoll_pwait.os): New.
23186         (CFLAGS-mmap.os): Likewise.
23187         (CFLAGS-mmap64.os): Likewise.
23188         (CFLAGS-semtimedop.os): Likewise.
23189         (CFLAGS-semtimedop.c): Renamed to ...
23190         (CFLAGS-semtimedop.o): This.
23192 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23194         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
23195         warning message.
23197 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
23199         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
23200         * Makefile ($(objpfx)c++-types-check.out): Filter out
23201         $(+gccwarn-c) instead of -Wstrict-prototypes.
23203         * io/fts.c (fts_open): Convert to prototype-style function
23204         definition.
23205         * malloc/mcheck.c (mcheck): Likewise.
23206         (mcheck_pedantic): Likewise.
23207         * posix/regexec.c (re_search_2_stub): Likewise.  Use
23208         internal_function.
23209         (re_search_internal): Likewise.
23210         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
23211         prototype-style function definition.
23212         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
23213         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
23214         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
23215         (xdr_utmpptr): Likewise.
23216         (xdr_utmparr): Likewise.
23217         (xdr_utmpidle): Likewise.
23218         (xdr_utmpidleptr): Likewise.
23219         (xdr_utmpidlearr): Likewise.
23221         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
23222         log, log10 and log2.
23223         * math/auto-libm-test-out: Regenerated.
23224         * math/libm-test.inc (fmod_test_data): Add more tests.
23225         (fpclassify_test_data): Likewise.
23226         (frexp_test_data): Likewise.
23227         (hypot_test_data): Likewise.
23228         (ilogb_test_data): Likewise.
23230 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
23232         * debug/fortify_fail.c (__fortify_fail): Convert to
23233         prototype-style function definition.  Use internal_function.
23234         * libio/genops.c (save_for_backup): Convert to prototype-style
23235         function definition.
23236         * libio/wgenops.c (save_for_wbackup): Likewise.
23237         * login/grantpt.c (grantpt): Likewise.
23238         * login/ptsname.c (ptsname): Likewise.
23239         (__ptsname_r): Likewise.
23240         * login/unlockpt.c (unlockpt): Likewise.
23241         * mach/msgserver.c (__mach_msg_server): Likewise.
23242         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
23243         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
23244         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
23245         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
23246         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
23247         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
23248         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
23249         Likewise.
23250         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
23251         internal_function.
23252         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
23253         prototype-style function definition.
23254         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
23255         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
23256         (__pthread_create_2_0): Likewise.
23257         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
23258         * nptl/register-atfork.c (__register_atfork): Likewise.
23259         * posix/glob.c (glob): Likewise.
23260         * posix/regcomp.c (re_comp): Likewise.
23261         * posix/regexec.c (re_exec): Likewise.
23262         * stdlib/add_n.c [__STDC__]: Make code unconditional.
23263         [!__STDC__]: Remove conditional code.
23264         * stdlib/cmp.c [__STDC__]: Make code unconditional.
23265         [!__STDC__]: Remove conditional code.
23266         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
23267         [!__STDC__]: Remove conditional code.
23268         * stdlib/divrem.c [__STDC__]: Make code unconditional.
23269         [!__STDC__]: Remove conditional code.
23270         * stdlib/lshift.c [__STDC__]: Make code unconditional.
23271         [!__STDC__]: Remove conditional code.
23272         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
23273         [!__STDC__]: Remove conditional code.
23274         * stdlib/mul.c [__STDC__]: Make code unconditional.
23275         [!__STDC__]: Remove conditional code.
23276         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
23277         [!__STDC__]: Remove conditional code.
23278         * stdlib/rshift.c [__STDC__]: Make code unconditional.
23279         [!__STDC__]: Remove conditional code.
23280         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
23281         function definition.
23282         (STRTOF): Likewise.
23283         * stdlib/strtod_l.c (__STRTOF): Likewise.
23284         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
23285         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
23286         (__strtol_l): Likewise.
23287         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
23288         [!__STDC__]: Remove conditional code.
23289         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
23290         definition.
23291         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23292         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23293         type.
23294         (__strcasecmp): Convert to prototype-style function definition.
23295         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
23296         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23297         type.
23298         (__strncasecmp): Convert to prototype-style function definition.
23299         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
23300         * sunrpc/xdr.c (xdr_union): Likewise.
23301         * sunrpc/xdr_array.c (xdr_array): Likewise.
23302         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
23303         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
23304         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
23305         Likewise.
23306         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
23307         Likewise.
23308         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
23309         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23310         Likewise.
23311         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
23312         (LOCALE_PARAM_PROTO): Likewise.
23313         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
23314         argument type.
23315         (ut_argument_spec): Remove macro.
23316         (ut_argument_spec_iso): Rename to ut_argument_spec.
23317         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
23318         prototype-style function definition.
23319         (memcpy_uppcase): Likewise.
23320         (__strftime_internal): Likewise.
23321         (my_strftime): Likewise.
23322         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
23323         (LOCALE_PARAM_DECL): Likewise.
23324         [_LIBC] (LOCALE_PARAM): Include argument type.
23325         (__strptime_internal): Convert to prototype-style function
23326         definition.
23327         (strptime): Likewise.
23328         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
23329         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23330         type.
23331         (__wcscasecmp): Convert to prototype-style function definition.
23332         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
23333         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
23334         type.
23335         (__wcsncasecmp): Convert to prototype-style function definition.
23337         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
23338         function definition.
23339         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23340         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23341         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
23342         * elf/dl-minimal.c (_itoa): Likewise.
23343         * hurd/hurdmalloc.c (malloc): Likewise.
23344         (free): Likewise.
23345         (realloc): Likewise.
23346         * inet/inet6_option.c (inet6_option_space): Likewise.
23347         (inet6_option_init): Likewise.
23348         (inet6_option_append): Likewise.
23349         (inet6_option_alloc): Likewise.
23350         (inet6_option_next): Likewise.
23351         (inet6_option_find): Likewise.
23352         * io/ftw.c (FTW_NAME): Likewise.
23353         (NFTW_NAME): Likewise.
23354         (NFTW_NEW_NAME): Likewise.
23355         (NFTW_OLD_NAME): Likewise.
23356         * libio/iofwide.c (_IO_fwide): Likewise.
23357         * libio/strops.c (_IO_str_init_static_internal): Likewise.
23358         (_IO_str_init_static): Likewise.
23359         (_IO_str_init_readonly): Likewise.
23360         (_IO_str_overflow): Likewise.
23361         (_IO_str_underflow): Likewise.
23362         (_IO_str_count): Likewise.
23363         (_IO_str_seekoff): Likewise.
23364         (_IO_str_pbackfail): Likewise.
23365         (_IO_str_finish): Likewise.
23366         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
23367         (_IO_wstr_overflow): Likewise.
23368         (_IO_wstr_underflow): Likewise.
23369         (_IO_wstr_count): Likewise.
23370         (_IO_wstr_seekoff): Likewise.
23371         (_IO_wstr_pbackfail): Likewise.
23372         (_IO_wstr_finish): Likewise.
23373         * locale/programs/localedef.c (normalize_codeset): Likewise.
23374         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23375         (add_locales_to_archive): Likewise.
23376         (delete_locales_from_archive): Likewise.
23377         * malloc/malloc.c (__libc_mallinfo): Likewise.
23378         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
23379         * misc/tsearch.c (__tfind): Likewise.
23380         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
23381         * nptl/pthread_attr_getdetachstate.c
23382         (__pthread_attr_getdetachstate): Likewise.
23383         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
23384         Likewise.
23385         * nptl/pthread_attr_getinheritsched.c
23386         (__pthread_attr_getinheritsched): Likewise.
23387         * nptl/pthread_attr_getschedparam.c
23388         (__pthread_attr_getschedparam): Likewise.
23389         * nptl/pthread_attr_getschedpolicy.c
23390         (__pthread_attr_getschedpolicy): Likewise.
23391         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
23392         Likewise.
23393         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
23394         Likewise.
23395         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
23396         Likewise.
23397         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
23398         Likewise.
23399         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
23400         (__pthread_attr_init_2_0): Likewise.
23401         * nptl/pthread_attr_setdetachstate.c
23402         (__pthread_attr_setdetachstate): Likewise.
23403         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
23404         Likewise.
23405         * nptl/pthread_attr_setinheritsched.c
23406         (__pthread_attr_setinheritsched): Likewise.
23407         * nptl/pthread_attr_setschedparam.c
23408         (__pthread_attr_setschedparam): Likewise.
23409         * nptl/pthread_attr_setschedpolicy.c
23410         (__pthread_attr_setschedpolicy): Likewise.
23411         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
23412         Likewise.
23413         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
23414         Likewise.
23415         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
23416         Likewise.
23417         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
23418         Likewise.
23419         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
23420         Likewise.
23421         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
23422         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23423         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
23424         use internal_function.
23425         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
23426         prototype-style function definition.
23427         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
23428         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
23429         internal_function.
23430         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
23431         Convert to prototype-style function definition.
23432         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
23433         Likewise.
23434         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
23435         Likewise.
23436         (__pthread_mutex_unlock): Likewise.
23437         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
23438         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
23439         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
23440         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
23441         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
23442         * nss/makedb.c (process_input): Likewise.
23443         * posix/fnmatch.c (__strchrnul): Likewise.
23444         (__wcschrnul): Likewise.
23445         (fnmatch): Likewise.
23446         * posix/fnmatch_loop.c (FCT): Likewise.
23447         * posix/glob.c (globfree): Likewise.
23448         (__glob_pattern_type): Likewise.
23449         (__glob_pattern_p): Likewise.
23450         * posix/regcomp.c (re_compile_pattern): Likewise.
23451         (re_set_syntax): Likewise.
23452         (re_compile_fastmap): Likewise.
23453         (regcomp): Likewise.
23454         (regerror): Likewise.
23455         (regfree): Likewise.
23456         * posix/regexec.c (regexec): Likewise.
23457         (re_match): Likewise.
23458         (re_search): Likewise.
23459         (re_match_2): Likewise.
23460         (re_search_2): Likewise.
23461         (re_search_stub): Likewise.  Use internal_function
23462         (re_copy_regs): Likewise.
23463         (re_set_registers): Convert to prototype-style function
23464         definition.
23465         (prune_impossible_nodes): Likewise.  Use internal_function.
23466         * resolv/inet_net_pton.c (inet_net_pton): Convert to
23467         prototype-style function definition.
23468         (inet_net_pton_ipv4): Likewise.
23469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23470         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
23471         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
23472         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
23473         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23474         Make variadic.
23475         * time/strptime_l.c (localtime_r): Convert to prototype-style
23476         function definition.
23477         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23478         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23479         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23480         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23482         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
23483         definition.
23484         (_ufc_doit_r): Likewise.
23485         * crypt/crypt_util.c (_ufc_copymem): Likewise.
23486         (_ufc_output_conversion_r): Likewise.
23487         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
23488         * inet/rcmd.c (rcmd_af): Likewise.
23489         (rcmd): Likewise.
23490         (ruserok_af): Likewise.
23491         (ruserok): Likewise.
23492         (ruserok2_sa): Likewise.
23493         (ruserok_sa): Likewise.
23494         (iruserok_af): Likewise.
23495         (iruserok): Likewise.
23496         (__ivaliduser): Likewise.
23497         (__validuser2_sa): Likewise.
23498         * inet/rexec.c (rexec_af): Likewise.
23499         (rexec): Likewise.
23500         * inet/ruserpass.c (ruserpass): Likewise.
23501         * locale/programs/xmalloc.c (xcalloc): Likewise.
23502         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
23503         * math/w_drem.c (__drem): Likewise.
23504         * math/w_dremf.c (__dremf): Likewise.
23505         * math/w_dreml.c (__dreml): Likewise.
23506         * misc/daemon.c (daemon): Likewise.
23507         * resolv/res_debug.c (p_fqnname): Likewise.
23508         * stdlib/div.c (div): Likewise.
23509         * string/memcmp.c (memcmp_bytes): Likewise.
23510         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
23511         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
23513         * crypt/cert.c (main): Convert to prototype-style function
23514         definition.
23515         * io/pipe.c (__pipe): Likewise.
23516         * io/pipe2.c (__pipe2): Likewise.
23517         * misc/futimesat.c (futimesat): Likewise.
23518         * misc/utimes.c (__utimes): Likewise.
23519         * posix/execve.c (__execve): Likewise.
23520         * posix/execvp.c (execvp): Likewise.
23521         * posix/execvpe.c (__execvpe): Likewise.
23522         * posix/fexecve.c (fexecve): Likewise.
23523         * socket/socketpair.c (socketpair): Likewise.
23524         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23525         * stdlib/erand48.c (erand48): Likewise.
23526         * stdlib/erand48_r.c (__erand48_r): Likewise.
23527         * stdlib/jrand48.c (jrand48): Likewise.
23528         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
23529         * stdlib/lcong48.c (lcong48): Likewise.
23530         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
23531         * stdlib/nrand48.c (nrand48): Likewise.
23532         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23533         * stdlib/seed48.c (seed48): Likewise.
23534         * stdlib/seed48_r.c (__seed48_r): Likewise.
23535         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
23536         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
23537         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
23539 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23541         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
23542         * configure: Regenerated.
23543         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
23544         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
23545         unconditional.
23546         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23547         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23548         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23549         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
23550         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
23551         unconditional.
23552         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
23554         * posix/Makefile (CFLAGS-regex.c): Remove variable.
23555         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
23557         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
23558         function definition.
23559         * crypt/crypt_util.c (__encrypt_r): Likewise.
23560         * libio/genops.c (_IO_no_init): Likewise.
23561         * libio/iofopncook.c (_IO_fopencookie): Likewise.
23562         (_IO_old_fopencookie): Likewise.
23563         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23564         * libio/iogetline.c (_IO_getline): Likewise.
23565         (_IO_getline_info): Likewise.
23566         * libio/iogetwline.c (_IO_getwline): Likewise.
23567         (_IO_getwline_info): Likewise.
23568         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
23569         * libio/vswprintf.c (_IO_vswprintf): Likewise.
23570         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
23571         (find_entry): Likewise.
23572         (iterate_table): Likewise.
23573         (lookup): Likewise.
23574         * login/forkpty.c (forkpty): Likewise.
23575         * misc/hsearch_r.c (__hsearch_r): Likewise.
23576         * misc/select.c (__select): Likewise.
23577         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
23578         Likewise.
23579         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
23580         Likewise.
23581         * nptl/old_pthread_cond_timedwait.c
23582         (__pthread_cond_timedwait_2_0): Likewise.
23583         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
23584         * nptl/pthread_barrierattr_getpshared.c
23585         (pthread_barrierattr_getpshared): Likewise.
23586         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
23587         Likewise.
23588         * nptl/pthread_mutex_setprioceiling.c
23589         (pthread_mutex_setprioceiling): Likewise.
23590         * nptl/pthread_mutexattr_getprioceiling.c
23591         (pthread_mutexattr_getprioceiling): Likewise.
23592         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
23593         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23594         Likewise.
23595         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23596         Likewise.
23597         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
23598         Likewise.
23599         * socket/recvfrom.c (__recvfrom): Likewise.
23600         * socket/sendto.c (__sendto): Likewise.
23601         * socket/setsockopt.c (__setsockopt): Likewise.
23602         * stdio-common/_itoa.c (_itoa): Likewise.
23603         * stdio-common/_itowa.c (_itowa): Likewise.
23604         * stdio-common/reg-printf.c (__register_printf_specifier):
23605         Likewise.
23606         (__register_printf_function): Likewise.
23607         * stdio-common/tempname.c (__path_search): Likewise.
23608         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
23609         * stdlib/mul_1.c (mpn_mul_1): Likewise.
23610         * stdlib/random_r.c (__initstate_r): Likewise.
23611         * stdlib/setenv.c (__add_to_environ): Likewise.
23612         * stdlib/submul_1.c (mpn_submul_1): Likewise.
23613         * streams/getpmsg.c (getpmsg): Likewise.
23614         * streams/putmsg.c (putmsg): Likewise.
23615         * streams/putpmsg.c (putpmsg): Likewise.
23616         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
23617         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
23618         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
23619         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
23620         * sunrpc/pm_getport.c (pmap_getport): Likewise.
23621         * sunrpc/svc_udp.c (cache_get): Likewise.
23622         * sunrpc/xdr_array.c (xdr_vector): Likewise.
23623         * sysdeps/mach/hurd/getcwd.c
23624         (__canonicalize_directory_name_internal): Likewise.
23625         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
23626         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
23627         * sysdeps/mach/hurd/select.c (__select): Likewise.
23628         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
23629         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
23630         * sysdeps/sparc/nptl/pthread_barrier_init.c
23631         (__pthread_barrier_init): Likewise.
23632         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
23633         (__pthread_cond_timedwait): Likewise.
23634         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
23635         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
23636         Likewise.
23637         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
23638         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
23639         Likewise.
23640         * sysvipc/semtimedop.c (semtimedop): Likewise.
23641         * time/setitimer.c (__setitimer): Likewise.
23642         * time/strftime_l.c (emacs_strftime): Likewise.
23644 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23646         * config.make.in (have-ssp): Delete.
23647         (stack-protector): New variable.
23648         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
23649         cache test for -fstack-protector-strong.  Export stack_protector to
23650         the best ssp flag.
23651         * configure: Regenerated.
23652         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
23653         * nscd/Makefile (CFLAGS-nscd): Likewise.
23654         * resolv/Makefile (CFLAGS-libresolv): Likewise.
23656 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
23658         [BZ #19122]
23659         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
23660         attribute_hidden.
23662 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23664         [BZ #18743]
23665         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
23666         code to...
23667         (ELIDE_LOCK): ...here.
23668         (__get_new_count): New function with part of the code from
23669         __elide_lock that updates the value of adapt_count after a
23670         transaction abort.
23671         (__elided_trylock): Moved this code to...
23672         (ELIDE_TRYLOCK): ...here.
23674 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
23676         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
23677         * configure: Regenerate.
23678         * INSTALL: Regenerate.
23679         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
23680         and tweak grammar.
23682 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
23684         * login/programs/pt_chown.c: Include signal.h
23685         (main): Clear any signal mask from the parent process.
23687 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
23689         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
23690         * configure: Regenerated.
23691         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
23692         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
23693         $(gnu89-inline-CFLAGS).
23695         * configure.ac (libc_cv_asm_weak_directive): Remove configure
23696         test.
23697         (libc_cv_asm_weakext_directive): Likewise.
23698         * configure: Regenerated.
23699         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
23700         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
23701         * include/libc-symbols.h
23702         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
23703         #error.
23704         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
23705         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
23707         * sysdeps/arm/backtrace.c (__backtrace): Convert to
23708         prototype-style function definition.
23709         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23710         * sysdeps/i386/ffs.c (__ffs): Likewise.
23711         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23712         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
23713         Likewise.
23714         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23715         Likewise.
23716         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23717         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23718         Likewise.
23719         * sysdeps/m68k/ffs.c (__ffs): Likewise.
23720         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
23721         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
23722         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
23723         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
23724         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
23725         * sysdeps/mach/hurd/access.c (__access): Likewise.
23726         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
23727         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
23728         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
23729         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
23730         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
23731         (cthread_getspecific): Likewise.
23732         (cthread_setspecific): Likewise.
23733         (__libc_getspecific): Likewise.
23734         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
23735         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
23736         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
23737         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
23738         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
23739         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
23740         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
23741         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
23742         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
23743         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
23744         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
23745         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
23746         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
23747         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
23748         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
23749         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
23750         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
23751         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
23752         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
23753         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
23754         * sysdeps/mach/hurd/link.c (__link): Likewise.
23755         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
23756         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
23757         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
23758         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
23759         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23760         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
23761         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
23762         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
23763         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23764         * sysdeps/mach/hurd/rename.c (rename): Likewise.
23765         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
23766         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23767         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
23768         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
23769         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
23770         * sysdeps/mach/hurd/send.c (__send): Likewise.
23771         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
23772         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
23773         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
23774         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
23775         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
23776         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
23777         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
23778         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
23779         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
23780         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
23781         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
23782         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
23783         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
23784         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
23785         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
23786         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23787         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
23788         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23789         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
23790         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23791         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
23792         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
23793         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
23794         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
23795         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
23796         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
23797         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
23798         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
23799         * sysdeps/posix/alarm.c (alarm): Likewise.
23800         * sysdeps/posix/cuserid.c (cuserid): Likewise.
23801         * sysdeps/posix/dirfd.c (dirfd): Likewise.
23802         * sysdeps/posix/dup.c (__dup): Likewise.
23803         * sysdeps/posix/dup2.c (__dup2): Likewise.
23804         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
23805         (main): Likewise.
23806         * sysdeps/posix/flock.c (__flock): Likewise.
23807         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
23808         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
23809         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
23810         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
23811         * sysdeps/posix/isatty.c (__isatty): Likewise.
23812         * sysdeps/posix/killpg.c (killpg): Likewise.
23813         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23814         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
23815         * sysdeps/posix/raise.c (raise): Likewise.
23816         * sysdeps/posix/remove.c (remove): Likewise.
23817         * sysdeps/posix/rename.c (rename): Likewise.
23818         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
23819         * sysdeps/posix/seekdir.c (seekdir): Likewise.
23820         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23821         * sysdeps/posix/sigignore.c (sigignore): Likewise.
23822         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
23823         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
23824         * sysdeps/posix/sigset.c (sigset): Likewise.
23825         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
23826         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
23827         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
23828         * sysdeps/posix/time.c (time): Likewise.
23829         * sysdeps/posix/ttyname.c (getttyname): Likewise.
23830         (ttyname): Likewise.
23831         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
23832         * sysdeps/posix/utime.c (utime): Likewise.
23833         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
23834         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23835         Likewise.
23836         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
23837         (pthread_spin_trylock): Likewise.
23838         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
23839         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
23840         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
23841         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
23842         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
23843         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
23844         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
23845         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
23846         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
23847         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
23848         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
23849         * sysdeps/s390/ffs.c (__ffs): Likewise.
23850         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
23851         Likewise.
23852         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23853         Likewise.
23854         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
23855         Likewise.
23856         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
23857         (pthread_barrier_destroy): Likewise.
23858         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23859         (__pthread_barrier_wait): Likewise.
23860         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
23861         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23862         (__pthread_barrier_wait): Likewise.
23863         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
23864         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
23865         (memcmp_not_common_alignment): Likewise.
23866         (MEMCMP): Likewise.
23867         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
23868         (_wordcopy_fwd_dest_aligned): Likewise.
23869         (_wordcopy_bwd_aligned): Likewise.
23870         (_wordcopy_bwd_dest_aligned): Likewise.
23871         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
23872         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
23873         * sysdeps/unix/bsd/stty.c (stty): Likewise.
23874         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
23875         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
23876         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
23877         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
23878         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
23879         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
23880         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
23881         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
23882         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23883         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
23884         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
23885         * sysdeps/unix/stime.c (stime): Likewise.
23886         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
23887         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
23888         Likewise.  Use internal_function.
23889         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
23890         Convert to prototype-style function definition.
23891         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23892         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
23894         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23895         Likewise.  Use internal_function.
23896         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
23897         prototype-style function definition
23898         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23899         Likewise.
23900         (__getlogin_r): Likewise.
23901         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
23902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
23903         (__pthread_cond_broadcast): Likewise.
23904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
23905         (__pthread_cond_destroy): Likewise.
23906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
23907         (__pthread_cond_init): Likewise.
23908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
23909         (__pthread_cond_signal): Likewise.
23910         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
23911         (__pthread_cond_wait): Likewise.
23912         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
23913         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23914         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
23917         Likewise.
23918         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
23921         Likewise.
23922         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
23923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
23924         (__ftruncate64): Likewise.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
23926         (truncate64): Likewise.
23927         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
23928         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
23929         (pthread_getcpuclockid): Likewise.
23930         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
23931         Likewise.
23932         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
23933         Likewise.
23934         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
23935         Likewise.
23936         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
23937         Likewise.
23938         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
23939         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
23940         (__libc_sigaction): Likewise.
23941         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
23942         Likewise.
23943         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23944         (__sigprocmask): Likewise.
23945         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
23946         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
23947         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
23948         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23949         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23950         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
23951         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23952         Likewise.
23953         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
23954         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
23955         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23956         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
23957         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
23958         Likewise.
23959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23960         (__sigprocmask): Likewise.
23961         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
23962         (cfgetispeed): Likewise.
23963         (cfsetospeed): Likewise.
23964         (cfsetispeed): Likewise.
23965         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
23966         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
23967         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23968         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23969         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
23970         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
23971         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
23972         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
23973         Likewise.
23974         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
23975         Likewise.
23976         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
23977         Likewise.
23978         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23979         Likewise.
23980         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23982 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23984         sunrpc: Rewrite with explicit TLS access using __thread.
23985         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
23986         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
23987         directly.
23988         (__rpc_thread_variables): Access thread_rpc_vars directly.
23989         Eliminate redundant assignment of the tvp variable.
23991 2015-10-17  Florian Weimer  <fweimer@redhat.com>
23993         malloc: Rewrite with explicit TLS access using __thread.
23994         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
23995         (tsd_setspecific, tsd_getspecific): Remove.
23996         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
23997         (tsd_setspecific, tsd_getspecific): Likewise.
23998         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
23999         (tsd_setspecific, tsd_getspecific): Likewise.
24000         * malloc/arena.c (thread_arena): New TLS variable.
24001         (arena_key): Remove variable.
24002         (arena_get): Use thread_arena.
24003         (arena_lookup): Remove macro.
24004         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24005         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24006         (_int_new_arena, get_free_list, reused_arena)
24007         (arena_thread_freeres): Use thread_arena.
24008         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24009         tsd_getspecific, tsd_setspecific from safety annotations.
24010         (Allocating Cleared Space): Remove arena_lookup from safety
24011         annotations.
24013 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24015         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24016         struct scratch_buffer instead of extend_alloca.
24018 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24020         * sysdeps/unix/sysv/linux/kernel-features.h
24021         (__ASSUME_SOCK_CLOEXEC): Remove.
24022         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24023         (__have_paccept): Remove unused macro.
24024         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24025         * misc/syslog.c (openlog_internal): Remove fallback code for
24026         !__ASSUME_SOCK_CLOEXEC.
24027         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24028         missing SOCK_CLOEXEC.
24029         * nscd/connections.c (have_sock_cloexec): Remove definition.
24030         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24031         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24032         !__ASSUME_SOCK_CLOEXEC.
24033         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24034         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24035         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24036         definition.
24037         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24038         code for !__ASSUME_SOCK_CLOEXEC.
24040 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24042         [BZ #18982]
24043         * manual/stdio.texi (Variable Arguments Output): Add portability
24044         note, explaining that vfprintf clobbers the va_list pointer.
24046 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24048         * math/libm-test.inc (fabs_test_data): Add more tests.
24049         (fdim_test_data): Likewise.
24050         (fma_test_data): Likewise.
24051         (fmax_test_data): Likewise.
24052         (fmin_test_data): Likewise.
24053         (fmod_test_data): Likewise.
24055 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
24057         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
24058         data.
24060 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24062         * math/libm-test.inc (ceil_test_data): Add more tests and more
24063         expectations for "inexact".
24064         (floor_test_data): Add more tests.
24065         (round_test_data): Likewise.
24066         (trunc_test_data): Likewise.
24068         * crypt/cert.c (good_bye): Convert to prototype-style function
24069         definition.
24070         (get8): Likewise.
24071         (put8): Likewise.
24072         * crypt/crypt-entry.c (crypt): Likewise.
24073         (__fcrypt): Likewise.
24074         * crypt/crypt_util.c (_ufc_prbits): Likewise.
24075         (_ufc_set_bits): Likewise.
24076         (_ufc_clearmem): Likewise.
24077         (__init_des_r): Likewise.
24078         (shuffle_sb): Likewise.
24079         (shuffle_sb): Likewise.
24080         (_ufc_setup_salt_r): Likewise.
24081         (_ufc_mk_keytab_r): Likewise.
24082         (_ufc_dofinalperm_r): Likewise.
24083         (encrypt): Likewise.
24084         (__setkey_r): Likewise.
24085         (setkey): Likewise.
24086         * crypt/md5.c (md5_init_ctx): Likewise.
24087         (md5_read_ctx): Likewise.
24088         (md5_finish_ctx): Likewise.
24089         (md5_stream): Likewise.
24090         (md5_buffer): Likewise.
24091         (md5_process_bytes): Likewise.
24092         * crypt/sha256.c (__sha256_init_ctx): Likewise.
24093         (__sha256_finish_ctx): Likewise.
24094         (__sha256_process_bytes): Likewise.
24095         * crypt/sha512.c (__sha512_init_ctx): Likewise.
24096         (__sha512_finish_ctx): Likewise.
24097         (__sha512_process_bytes): Likewise.
24098         * ctype/isctype.c (__isctype): Likewise.
24099         * debug/backtrace.c (__backtrace): Likewise.
24100         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
24101         * debug/fgets_chk.c (__fgets_chk): Likewise.
24102         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
24103         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
24104         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24105         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24106         * debug/memset_chk.c (__memset_chk): Likewise.
24107         * debug/strcat_chk.c (__strcat_chk): Likewise.
24108         * debug/strncat_chk.c (__strncat_chk): Likewise.
24109         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
24110         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
24111         * dirent/dirfd.c (dirfd): Likewise.
24112         * dirent/getdents.c (__getdirentries): Likewise.
24113         * dirent/getdents64.c (getdirentries64): Likewise.
24114         * dirent/rewinddir.c (__rewinddir): Likewise.
24115         * dirent/seekdir.c (seekdir): Likewise.
24116         * dirent/telldir.c (telldir): Likewise.
24117         * elf/sln.c (makesymlinks): Likewise.
24118         (makesymlink): Likewise.
24119         * gmon/gmon.c (__moncontrol): Likewise.
24120         (__monstartup): Likewise.
24121         (write_hist): Likewise.
24122         (write_call_graph): Likewise.
24123         (write_bb_counts): Likewise.
24124         * grp/setgroups.c (setgroups): Likewise.
24125         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24126         * inet/inet_net.c (inet_network): Likewise.
24127         * inet/inet_netof.c (inet_netof): Likewise.
24128         * inet/rcmd.c (rresvport_af): Likewise.
24129         (rresvport): Likewise.
24130         * io/access.c (__access): Likewise.
24131         * io/chdir.c (__chdir): Likewise.
24132         * io/chmod.c (__chmod): Likewise.
24133         * io/chown.c (__chown): Likewise.
24134         * io/close.c (__close): Likewise.
24135         * io/creat.c (creat): Likewise.
24136         * io/creat64.c (creat64): Likewise.
24137         * io/dup.c (__dup): Likewise.
24138         * io/dup2.c (__dup2): Likewise.
24139         * io/dup3.c (__dup3): Likewise.
24140         * io/euidaccess.c (__euidaccess): Likewise.
24141         * io/faccessat.c (faccessat): Likewise.
24142         * io/fchmod.c (__fchmod): Likewise.
24143         * io/fchmodat.c (fchmodat): Likewise.
24144         * io/fchown.c (__fchown): Likewise.
24145         * io/fchownat.c (fchownat): Likewise.
24146         * io/fcntl.c (__fcntl): Likewise.
24147         * io/flock.c (__flock): Likewise.
24148         * io/fts.c (fts_load): Likewise.
24149         (fts_close): Likewise.
24150         (fts_read): Likewise.
24151         (fts_set): Likewise.
24152         (fts_children): Likewise.
24153         (fts_build): Likewise.
24154         (fts_stat): Likewise.
24155         (fts_sort): Likewise.
24156         (fts_alloc): Likewise.
24157         (fts_lfree): Likewise.
24158         (fts_palloc): Likewise.
24159         (fts_padjust): Likewise.
24160         (fts_maxarglen): Likewise.
24161         (fts_safe_changedir): Likewise.
24162         * io/getwd.c (getwd): Likewise.
24163         * io/isatty.c (__isatty): Likewise.
24164         * io/lchown.c (__lchown): Likewise.
24165         * io/link.c (__link): Likewise.
24166         * io/linkat.c (linkat): Likewise.
24167         * io/lseek.c (__libc_lseek): Likewise.
24168         * io/mkdir.c (__mkdir): Likewise.
24169         * io/mkdirat.c (mkdirat): Likewise.
24170         * io/mkfifo.c (mkfifo): Likewise.
24171         * io/mkfifoat.c (mkfifoat): Likewise.
24172         * io/open.c (__libc_open): Likewise.
24173         * io/open64.c (__libc_open64): Likewise.
24174         * io/readlink.c (__readlink): Likewise.
24175         * io/readlinkat.c (readlinkat): Likewise.
24176         * io/rmdir.c (__rmdir): Likewise.
24177         * io/symlink.c (__symlink): Likewise.
24178         * io/symlinkat.c (symlinkat): Likewise.
24179         * io/ttyname.c (ttyname): Likewise.
24180         * io/ttyname_r.c (__ttyname_r): Likewise.
24181         * io/umask.c (__umask): Likewise.
24182         * io/unlink.c (__unlink): Likewise.
24183         * io/unlinkat.c (unlinkat): Likewise.
24184         * io/utime.c (utime): Likewise.
24185         * libio/clearerr.c (clearerr): Likewise.
24186         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
24187         * libio/feof.c (_IO_feof): Likewise.
24188         * libio/feof_u.c (feof_unlocked): Likewise.
24189         * libio/ferror.c (_IO_ferror): Likewise.
24190         * libio/ferror_u.c (ferror_unlocked): Likewise.
24191         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24192         * libio/fileno.c (__fileno): Likewise.
24193         * libio/fputc.c (fputc): Likewise.
24194         * libio/fputc_u.c (fputc_unlocked): Likewise.
24195         * libio/fputwc.c (fputwc): Likewise.
24196         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
24197         * libio/freopen.c (freopen): Likewise.
24198         * libio/freopen64.c (freopen64): Likewise.
24199         * libio/fseek.c (fseek): Likewise.
24200         * libio/fseeko.c (fseeko): Likewise.
24201         * libio/fseeko64.c (fseeko64): Likewise.
24202         * libio/ftello.c (__ftello): Likewise.
24203         * libio/ftello64.c (ftello64): Likewise.
24204         * libio/fwide.c (fwide): Likewise.
24205         * libio/genops.c (_IO_un_link): Likewise.
24206         (_IO_link_in): Likewise.
24207         (_IO_least_marker): Likewise.
24208         (_IO_switch_to_main_get_area): Likewise.
24209         (_IO_switch_to_backup_area): Likewise.
24210         (_IO_switch_to_get_mode): Likewise.
24211         (_IO_free_backup_area): Likewise.
24212         (_IO_switch_to_put_mode): Likewise.
24213         (__overflow): Likewise.
24214         (__underflow): Likewise.
24215         (__uflow): Likewise.
24216         (_IO_setb): Likewise.
24217         (_IO_doallocbuf): Likewise.
24218         (_IO_default_underflow): Likewise.
24219         (_IO_default_uflow): Likewise.
24220         (_IO_default_xsputn): Likewise.
24221         (_IO_sgetn): Likewise.
24222         (_IO_default_xsgetn): Likewise.
24223         (_IO_sync): Likewise.
24224         (_IO_default_setbuf): Likewise.
24225         (_IO_default_seekpos): Likewise.
24226         (_IO_default_doallocate): Likewise.
24227         (_IO_init): Likewise.
24228         (_IO_old_init): Likewise.
24229         (_IO_default_sync): Likewise.
24230         (_IO_default_finish): Likewise.
24231         (_IO_default_seekoff): Likewise.
24232         (_IO_sputbackc): Likewise.
24233         (_IO_sungetc): Likewise.
24234         (_IO_set_column): Likewise.
24235         (_IO_set_column): Likewise.
24236         (_IO_adjust_column): Likewise.
24237         (_IO_get_column): Likewise.
24238         (_IO_init_marker): Likewise.
24239         (_IO_remove_marker): Likewise.
24240         (_IO_marker_difference): Likewise.
24241         (_IO_marker_delta): Likewise.
24242         (_IO_seekmark): Likewise.
24243         (_IO_unsave_markers): Likewise.
24244         (_IO_nobackup_pbackfail): Likewise.
24245         (_IO_default_pbackfail): Likewise.
24246         (_IO_default_seek): Likewise.
24247         (_IO_default_stat): Likewise.
24248         (_IO_default_read): Likewise.
24249         (_IO_default_write): Likewise.
24250         (_IO_default_showmanyc): Likewise.
24251         (_IO_default_imbue): Likewise.
24252         (_IO_iter_next): Likewise.
24253         (_IO_iter_file): Likewise.
24254         * libio/getc.c (_IO_getc): Likewise.
24255         * libio/getwc.c (_IO_getwc): Likewise.
24256         * libio/iofclose.c (_IO_new_fclose): Likewise.
24257         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24258         * libio/iofflush.c (_IO_fflush): Likewise.
24259         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
24260         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
24261         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
24262         * libio/iofgets.c (_IO_fgets): Likewise.
24263         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
24264         * libio/iofgetws.c (fgetws): Likewise.
24265         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24266         * libio/iofopen64.c (_IO_fopen64): Likewise.
24267         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24268         (_IO_cookie_write): Likewise.
24269         (_IO_cookie_seek): Likewise.
24270         (_IO_cookie_close): Likewise.
24271         (_IO_cookie_seekoff): Likewise.
24272         (_IO_old_cookie_seek): Likewise.
24273         * libio/iofputs.c (_IO_fputs): Likewise.
24274         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
24275         * libio/iofputws.c (fputws): Likewise.
24276         * libio/iofputws_u.c (fputws_unlocked): Likewise.
24277         * libio/iofread.c (_IO_fread): Likewise.
24278         * libio/iofread_u.c (__fread_unlocked): Likewise.
24279         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
24280         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
24281         * libio/ioftell.c (_IO_ftell): Likewise.
24282         * libio/iofwrite.c (_IO_fwrite): Likewise.
24283         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24284         * libio/iogets.c (_IO_gets): Likewise.
24285         * libio/iopadn.c (_IO_padn): Likewise.
24286         * libio/iopopen.c (_IO_new_proc_open): Likewise.
24287         (_IO_new_popen): Likewise.
24288         (_IO_new_proc_close): Likewise.
24289         * libio/ioputs.c (_IO_puts): Likewise.
24290         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
24291         (_IO_seekoff): Likewise.
24292         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
24293         (_IO_seekpos): Likewise.
24294         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
24295         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
24296         * libio/ioungetc.c (_IO_ungetc): Likewise.
24297         * libio/ioungetwc.c (ungetwc): Likewise.
24298         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24299         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
24300         * libio/iowpadn.c (_IO_wpadn): Likewise.
24301         * libio/libc_fatal.c (__libc_fatal): Likewise.
24302         * libio/memstream.c (__open_memstream): Likewise.
24303         (_IO_mem_sync): Likewise.
24304         (_IO_mem_finish): Likewise.
24305         * libio/oldfileops.c (_IO_old_file_init): Likewise.
24306         (_IO_old_file_close_it): Likewise.
24307         (_IO_old_file_finish): Likewise.
24308         (_IO_old_file_fopen): Likewise.
24309         (_IO_old_file_attach): Likewise.
24310         (_IO_old_file_setbuf): Likewise.
24311         (_IO_old_do_write): Likewise.
24312         (old_do_write): Likewise.
24313         (_IO_old_file_underflow): Likewise.
24314         (_IO_old_file_overflow): Likewise.
24315         (_IO_old_file_sync): Likewise.
24316         (_IO_old_file_seekoff): Likewise.
24317         (_IO_old_file_write): Likewise.
24318         (_IO_old_file_xsputn): Likewise.
24319         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
24320         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24321         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
24322         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
24323         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24324         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
24325         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
24326         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
24327         (_IO_old_popen): Likewise.
24328         (_IO_old_proc_close): Likewise.
24329         * libio/oldpclose.c (__old_pclose): Likewise.
24330         * libio/pclose.c (__new_pclose): Likewise.
24331         * libio/peekc.c (_IO_peekc_locked): Likewise.
24332         * libio/putc.c (_IO_putc): Likewise.
24333         * libio/putc_u.c (putc_unlocked): Likewise.
24334         * libio/putchar.c (putchar): Likewise.
24335         * libio/putchar_u.c (putchar_unlocked): Likewise.
24336         * libio/putwc.c (putwc): Likewise.
24337         * libio/putwc_u.c (putwc_unlocked): Likewise.
24338         * libio/putwchar.c (putwchar): Likewise.
24339         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
24340         * libio/rewind.c (rewind): Likewise.
24341         * libio/setbuf.c (setbuf): Likewise.
24342         * libio/setlinebuf.c (setlinebuf): Likewise.
24343         * libio/vasprintf.c (_IO_vasprintf): Likewise.
24344         * libio/vscanf.c (_IO_vscanf): Likewise.
24345         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
24346         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
24347         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24348         * libio/wgenops.c (_IO_least_wmarker): Likewise.
24349         (_IO_switch_to_main_wget_area): Likewise.
24350         (_IO_switch_to_wbackup_area): Likewise.
24351         (_IO_wsetb): Likewise.
24352         (_IO_wdefault_pbackfail): Likewise.
24353         (_IO_wdefault_finish): Likewise.
24354         (_IO_wdefault_uflow): Likewise.
24355         (__woverflow): Likewise.
24356         (__wuflow): Likewise.
24357         (__wunderflow): Likewise.
24358         (_IO_wdefault_xsputn): Likewise.
24359         (_IO_wdefault_xsgetn): Likewise.
24360         (_IO_wdoallocbuf): Likewise.
24361         (_IO_wdefault_doallocate): Likewise.
24362         (_IO_switch_to_wget_mode): Likewise.
24363         (_IO_free_wbackup_area): Likewise.
24364         (_IO_switch_to_wput_mode): Likewise.
24365         (_IO_sputbackwc): Likewise.
24366         (_IO_sungetwc): Likewise.
24367         (_IO_adjust_wcolumn): Likewise.
24368         (_IO_init_wmarker): Likewise.
24369         (_IO_wmarker_delta): Likewise.
24370         (_IO_seekwmark): Likewise.
24371         (_IO_unsave_wmarkers): Likewise.
24372         * libio/wmemstream.c (open_wmemstream): Likewise.
24373         (_IO_wmem_sync): Likewise.
24374         (_IO_wmem_finish): Likewise.
24375         * locale/nl_langinfo.c (nl_langinfo): Likewise.
24376         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
24377         * locale/programs/simple-hash.c (init_hash): Likewise.
24378         (delete_hash): Likewise.
24379         (insert_entry): Likewise.
24380         (set_entry): Likewise.
24381         (next_prime): Likewise.
24382         (is_prime): Likewise.
24383         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
24384         (xmalloc): Likewise.
24385         (xrealloc): Likewise.
24386         * locale/programs/xstrdup.c (xstrdup): Likewise.
24387         * localedata/collate-test.c (xstrcoll): Likewise.
24388         * localedata/xfrm-test.c (xstrcmp): Likewise.
24389         * login/getlogin_r.c (__getlogin_r): Likewise.
24390         * login/getpt.c (__posix_openpt): Likewise.
24391         * login/login_tty.c (login_tty): Likewise.
24392         * login/setlogin.c (setlogin): Likewise.
24393         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
24394         (mach_msg_destroy_port): Likewise.
24395         (mach_msg_destroy_memory): Likewise.
24396         * malloc/mcheck.c (flood): Likewise.
24397         * misc/acct.c (acct): Likewise.
24398         * misc/brk.c (__brk): Likewise.
24399         * misc/chflags.c (chflags): Likewise.
24400         * misc/chroot.c (chroot): Likewise.
24401         * misc/fchflags.c (fchflags): Likewise.
24402         * misc/fstab.c (getfsspec): Likewise.
24403         (getfsfile): Likewise.
24404         * misc/fsync.c (fsync): Likewise.
24405         * misc/ftruncate.c (__ftruncate): Likewise.
24406         * misc/ftruncate64.c (__ftruncate64): Likewise.
24407         * misc/getdomain.c (getdomainname): Likewise.
24408         (getdomainname): Likewise.
24409         * misc/gethostname.c (__gethostname): Likewise.
24410         * misc/getpass.c (getpass): Likewise.
24411         * misc/getttyent.c (skip): Likewise.
24412         (value): Likewise.
24413         * misc/gtty.c (gtty): Likewise.
24414         * misc/hsearch.c (hsearch): Likewise.
24415         (hcreate): Likewise.
24416         * misc/hsearch_r.c (__hcreate_r): Likewise.
24417         (__hdestroy_r): Likewise.
24418         * misc/ioctl.c (__ioctl): Likewise.
24419         * misc/mkdtemp.c (mkdtemp): Likewise.
24420         * misc/mkostemp.c (mkostemp): Likewise.
24421         * misc/mkostemp64.c (mkostemp64): Likewise.
24422         * misc/mkostemps.c (mkostemps): Likewise.
24423         * misc/mkostemps64.c (mkostemps64): Likewise.
24424         * misc/mkstemp.c (mkstemp): Likewise.
24425         * misc/mkstemp64.c (mkstemp64): Likewise.
24426         * misc/mkstemps.c (mkstemps): Likewise.
24427         * misc/mkstemps64.c (mkstemps64): Likewise.
24428         * misc/mktemp.c (__mktemp): Likewise.
24429         * misc/preadv.c (preadv): Likewise.
24430         * misc/preadv64.c (preadv64): Likewise.
24431         * misc/pwritev.c (pwritev): Likewise.
24432         * misc/pwritev64.c (pwritev64): Likewise.
24433         * misc/readv.c (__readv): Likewise.
24434         * misc/revoke.c (revoke): Likewise.
24435         * misc/setdomain.c (setdomainname): Likewise.
24436         * misc/setegid.c (setegid): Likewise.
24437         * misc/seteuid.c (seteuid): Likewise.
24438         * misc/sethostid.c (sethostid): Likewise.
24439         * misc/sethostname.c (sethostname): Likewise.
24440         * misc/setregid.c (__setregid): Likewise.
24441         * misc/setreuid.c (__setreuid): Likewise.
24442         * misc/sstk.c (sstk): Likewise.
24443         * misc/stty.c (stty): Likewise.
24444         * misc/syscall.c (syscall): Likewise.
24445         * misc/syslog.c (setlogmask): Likewise.
24446         * misc/truncate.c (__truncate): Likewise.
24447         * misc/truncate64.c (truncate64): Likewise.
24448         * misc/ualarm.c (ualarm): Likewise.
24449         * misc/usleep.c (usleep): Likewise.
24450         * misc/ustat.c (ustat): Likewise.
24451         * misc/writev.c (__writev): Likewise.
24452         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
24453         * nptl/old_pthread_cond_broadcast.c
24454         (__pthread_cond_broadcast_2_0): Likewise.
24455         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
24456         Likewise.
24457         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
24458         Likewise.
24459         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
24460         Likewise.
24461         * nptl/pt-raise.c (raise): Likewise.
24462         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
24463         Likewise.
24464         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
24465         * nptl/pthread_barrierattr_destroy.c
24466         (pthread_barrierattr_destroy): Likewise.
24467         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24468         Likewise.
24469         * nptl/pthread_barrierattr_setpshared.c
24470         (pthread_barrierattr_setpshared): Likewise.
24471         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
24472         Likewise.
24473         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
24474         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24475         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
24476         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
24477         Likewise.
24478         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
24479         Likewise.
24480         * nptl/pthread_condattr_getpshared.c
24481         (pthread_condattr_getpshared): Likewise.
24482         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
24483         Likewise.
24484         * nptl/pthread_condattr_setpshared.c
24485         (pthread_condattr_setpshared): Likewise.
24486         * nptl/pthread_detach.c (pthread_detach): Likewise.
24487         * nptl/pthread_equal.c (__pthread_equal): Likewise.
24488         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
24489         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
24490         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
24491         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
24492         Likewise.
24493         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
24494         Likewise.
24495         * nptl/pthread_mutex_getprioceiling.c
24496         (pthread_mutex_getprioceiling): Likewise.
24497         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
24498         Likewise.
24499         * nptl/pthread_mutexattr_getprotocol.c
24500         (pthread_mutexattr_getprotocol): Likewise.
24501         * nptl/pthread_mutexattr_getpshared.c
24502         (pthread_mutexattr_getpshared): Likewise.
24503         * nptl/pthread_mutexattr_getrobust.c
24504         (pthread_mutexattr_getrobust): Likewise.
24505         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24506         Likewise.
24507         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
24508         Likewise.
24509         * nptl/pthread_mutexattr_setprioceiling.c
24510         (pthread_mutexattr_setprioceiling): Likewise.
24511         * nptl/pthread_mutexattr_setprotocol.c
24512         (pthread_mutexattr_setprotocol): Likewise.
24513         * nptl/pthread_mutexattr_setpshared.c
24514         (pthread_mutexattr_setpshared): Likewise.
24515         * nptl/pthread_mutexattr_setrobust.c
24516         (pthread_mutexattr_setrobust): Likewise.
24517         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
24518         Likewise.
24519         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
24520         Likewise.
24521         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
24522         Likewise.
24523         * nptl/pthread_rwlockattr_getkind_np.c
24524         (pthread_rwlockattr_getkind_np): Likewise.
24525         * nptl/pthread_rwlockattr_getpshared.c
24526         (pthread_rwlockattr_getpshared): Likewise.
24527         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
24528         Likewise.
24529         * nptl/pthread_rwlockattr_setkind_np.c
24530         (pthread_rwlockattr_setkind_np): Likewise.
24531         * nptl/pthread_rwlockattr_setpshared.c
24532         (pthread_rwlockattr_setpshared): Likewise.
24533         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
24534         Likewise.
24535         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
24536         Likewise.
24537         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
24538         Likewise.
24539         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
24540         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
24541         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
24542         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
24543         * nptl/sem_close.c (sem_close): Likewise.
24544         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
24545         * nptl/sem_init.c (__old_sem_init): Likewise.
24546         * nptl/sigaction.c (__sigaction): Likewise.
24547         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24548         * posix/_exit.c (_exit): Likewise.
24549         * posix/alarm.c (alarm): Likewise.
24550         * posix/confstr.c (confstr): Likewise.
24551         * posix/fpathconf.c (__fpathconf): Likewise.
24552         * posix/getgroups.c (__getgroups): Likewise.
24553         * posix/getpgid.c (__getpgid): Likewise.
24554         * posix/group_member.c (__group_member): Likewise.
24555         * posix/pathconf.c (__pathconf): Likewise.
24556         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
24557         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
24558         * posix/setgid.c (__setgid): Likewise.
24559         * posix/setpgid.c (__setpgid): Likewise.
24560         * posix/setuid.c (__setuid): Likewise.
24561         * posix/sleep.c (__sleep): Likewise.
24562         * posix/sysconf.c (__sysconf): Likewise.
24563         * posix/times.c (__times): Likewise.
24564         * posix/uname.c (__uname): Likewise.
24565         * posix/waitid.c (__waitid): Likewise.
24566         * pwd/getpw.c (__getpw): Likewise.
24567         * resolv/base64.c (b64_pton): Likewise.
24568         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
24569         * resolv/gethnamaddr.c (Dprintf): Likewise.
24570         (gethostbyname): Likewise.
24571         (gethostbyname2): Likewise.
24572         (gethostbyaddr): Likewise.
24573         (_sethtent): Likewise.
24574         (_gethtbyname): Likewise.
24575         (_gethtbyname2): Likewise.
24576         (_gethtbyaddr): Likewise.
24577         (map_v4v6_address): Likewise.
24578         (map_v4v6_hostent): Likewise.
24579         (addrsort): Likewise.
24580         (ht_sethostent): Likewise.
24581         (ht_gethostbyname): Likewise.
24582         (ht_gethostbyaddr): Likewise.
24583         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
24584         (inet_net_ntop_ipv4): Likewise.
24585         * resolv/inet_neta.c (inet_neta): Likewise.
24586         * resolv/inet_ntop.c (inet_ntop): Likewise.
24587         (inet_ntop4): Likewise.
24588         (inet_ntop6): Likewise.
24589         * resolv/inet_pton.c (__inet_pton): Likewise.
24590         (inet_pton4): Likewise.
24591         (inet_pton6): Likewise.
24592         * resolv/res_debug.c (loc_aton): Likewise.
24593         (loc_ntoa): Likewise.
24594         * resource/getpriority.c (__getpriority): Likewise.
24595         * resource/getrusage.c (__getrusage): Likewise.
24596         * resource/nice.c (nice): Likewise.
24597         * resource/setpriority.c (__setpriority): Likewise.
24598         * resource/setrlimit64.c (setrlimit64): Likewise.
24599         * resource/vlimit.c (vlimit): Likewise.
24600         * resource/vtimes.c (vtimes): Likewise.
24601         * rt/aio_error.c (aio_error): Likewise.
24602         * rt/aio_return.c (aio_return): Likewise.
24603         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
24604         * signal/kill.c (__kill): Likewise.
24605         * signal/killpg.c (killpg): Likewise.
24606         * signal/raise.c (raise): Likewise.
24607         * signal/sigaction.c (__sigaction): Likewise.
24608         * signal/sigaddset.c (sigaddset): Likewise.
24609         * signal/sigaltstack.c (sigaltstack): Likewise.
24610         * signal/sigandset.c (sigandset): Likewise.
24611         * signal/sigblock.c (__sigblock): Likewise.
24612         * signal/sigdelset.c (sigdelset): Likewise.
24613         * signal/sigempty.c (sigemptyset): Likewise.
24614         * signal/sigfillset.c (sigfillset): Likewise.
24615         * signal/sighold.c (sighold): Likewise.
24616         * signal/sigignore.c (sigignore): Likewise.
24617         * signal/sigintr.c (siginterrupt): Likewise.
24618         * signal/sigisempty.c (sigisemptyset): Likewise.
24619         * signal/sigismem.c (sigismember): Likewise.
24620         * signal/signal.c (signal): Likewise.
24621         * signal/sigorset.c (sigorset): Likewise.
24622         * signal/sigpause.c (__sigpause): Likewise.
24623         * signal/sigpending.c (sigpending): Likewise.
24624         * signal/sigprocmask.c (__sigprocmask): Likewise.
24625         * signal/sigrelse.c (sigrelse): Likewise.
24626         * signal/sigreturn.c (__sigreturn): Likewise.
24627         * signal/sigset.c (sigset): Likewise.
24628         * signal/sigsetmask.c (__sigsetmask): Likewise.
24629         * signal/sigstack.c (sigstack): Likewise.
24630         * signal/sigsuspend.c (__sigsuspend): Likewise.
24631         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
24632         * signal/sysv_signal.c (__sysv_signal): Likewise.
24633         * socket/accept.c (accept): Likewise.
24634         * socket/accept4.c (__libc_accept4): Likewise.
24635         * socket/bind.c (__bind): Likewise.
24636         * socket/connect.c (__connect): Likewise.
24637         * socket/getpeername.c (getpeername): Likewise.
24638         * socket/getsockname.c (__getsockname): Likewise.
24639         * socket/getsockopt.c (getsockopt): Likewise.
24640         * socket/listen.c (__listen): Likewise.
24641         * socket/recv.c (__recv): Likewise.
24642         * socket/recvmsg.c (__recvmsg): Likewise.
24643         * socket/send.c (__send): Likewise.
24644         * socket/sendmsg.c (__sendmsg): Likewise.
24645         * socket/shutdown.c (shutdown): Likewise.
24646         * socket/sockatmark.c (sockatmark): Likewise.
24647         * socket/socket.c (__socket): Likewise.
24648         * stdio-common/ctermid.c (ctermid): Likewise.
24649         * stdio-common/cuserid.c (cuserid): Likewise.
24650         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
24651         * stdio-common/remove.c (remove): Likewise.
24652         * stdio-common/rename.c (rename): Likewise.
24653         * stdio-common/renameat.c (renameat): Likewise.
24654         * stdio-common/tempname.c (__gen_tempname): Likewise.
24655         * stdio-common/xbug.c (InitBuffer): Likewise.
24656         (AppendToBuffer): Likewise.
24657         (ReadFile): Likewise.
24658         * stdlib/a64l.c (a64l): Likewise.
24659         * stdlib/drand48_r.c (drand48_r): Likewise.
24660         * stdlib/getcontext.c (getcontext): Likewise.
24661         * stdlib/getenv.c (getenv): Likewise.
24662         * stdlib/l64a.c (l64a): Likewise.
24663         * stdlib/llabs.c (llabs): Likewise.
24664         * stdlib/lldiv.c (lldiv): Likewise.
24665         * stdlib/lrand48_r.c (lrand48_r): Likewise.
24666         * stdlib/mrand48_r.c (mrand48_r): Likewise.
24667         * stdlib/putenv.c (putenv): Likewise.
24668         * stdlib/random.c (__srandom): Likewise.
24669         (__initstate): Likewise.
24670         (__setstate): Likewise.
24671         * stdlib/random_r.c (__srandom_r): Likewise.
24672         (__setstate_r): Likewise.
24673         (__random_r): Likewise.
24674         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
24675         * stdlib/setcontext.c (setcontext): Likewise.
24676         * stdlib/setenv.c (setenv): Likewise.
24677         (unsetenv): Likewise.
24678         * stdlib/srand48.c (srand48): Likewise.
24679         * stdlib/srand48_r.c (__srand48_r): Likewise.
24680         * stdlib/swapcontext.c (swapcontext): Likewise.
24681         * stdlib/system.c (__libc_system): Likewise.
24682         * stdlib/tst-strtod.c (expand): Likewise.
24683         * stdlib/tst-strtol.c (expand): Likewise.
24684         * stdlib/tst-strtoll.c (expand): Likewise.
24685         * streams/fattach.c (fattach): Likewise.
24686         * streams/fdetach.c (fdetach): Likewise.
24687         * streams/getmsg.c (getmsg): Likewise.
24688         * streams/isastream.c (isastream): Likewise.
24689         * string/ffs.c (__ffs): Likewise.
24690         * string/ffsll.c (ffsll): Likewise.
24691         * string/memcmp.c (memcmp_common_alignment): Likewise.
24692         (memcmp_not_common_alignment): Likewise.
24693         (MEMCMP): Likewise.
24694         * string/memcpy.c (memcpy): Likewise.
24695         * string/memmove.c (MEMMOVE): Likewise.
24696         * string/memset.c (memset): Likewise.
24697         * string/rawmemchr.c (RAWMEMCHR): Likewise.
24698         * string/strchrnul.c (STRCHRNUL): Likewise.
24699         * string/strerror.c (strerror): Likewise.
24700         * string/strndup.c (__strndup): Likewise.
24701         * string/strverscmp.c (__strverscmp): Likewise.
24702         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
24703         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
24704         (clnttcp_freeres): Likewise.
24705         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
24706         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
24707         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
24708         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
24709         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
24710         (xdr_callhdr): Likewise.
24711         * sunrpc/rpcinfo.c (udpping): Likewise.
24712         (tcpping): Likewise.
24713         (pstatus): Likewise.
24714         (pmapdump): Likewise.
24715         (brdcst): Likewise.
24716         (deletereg): Likewise.
24717         (getprognum): Likewise.
24718         (getvers): Likewise.
24719         (get_inet_address): Likewise.
24720         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
24721         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24722         (svcudp_stat): Likewise.
24723         (svcudp_recv): Likewise.
24724         (svcudp_reply): Likewise.
24725         (svcudp_getargs): Likewise.
24726         (svcudp_freeargs): Likewise.
24727         (svcudp_destroy): Likewise.
24728         * sunrpc/xdr.c (xdr_bytes): Likewise.
24729         (xdr_netobj): Likewise.
24730         (xdr_string): Likewise.
24731         (xdr_wrapstring): Likewise.
24732         * sunrpc/xdr_float.c (xdr_float): Likewise.
24733         (xdr_double): Likewise.
24734         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
24735         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
24736         * sysvipc/ftok.c (ftok): Likewise.
24737         * sysvipc/msgctl.c (msgctl): Likewise.
24738         * sysvipc/msgget.c (msgget): Likewise.
24739         * sysvipc/msgrcv.c (msgrcv): Likewise.
24740         * sysvipc/msgsnd.c (msgsnd): Likewise.
24741         * sysvipc/semget.c (semget): Likewise.
24742         * sysvipc/semop.c (semop): Likewise.
24743         * sysvipc/shmat.c (shmat): Likewise.
24744         * sysvipc/shmctl.c (shmctl): Likewise.
24745         * sysvipc/shmdt.c (shmdt): Likewise.
24746         * sysvipc/shmget.c (shmget): Likewise.
24747         * termios/cfmakeraw.c (cfmakeraw): Likewise.
24748         * termios/speed.c (cfgetospeed): Likewise.
24749         (cfgetispeed): Likewise.
24750         (cfsetospeed): Likewise.
24751         (cfsetispeed): Likewise.
24752         * termios/tcflow.c (tcflow): Likewise.
24753         * termios/tcflush.c (tcflush): Likewise.
24754         * termios/tcgetattr.c (__tcgetattr): Likewise.
24755         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
24756         * termios/tcgetsid.c (tcgetsid): Likewise.
24757         * termios/tcsendbrk.c (tcsendbreak): Likewise.
24758         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
24759         * time/adjtime.c (__adjtime): Likewise.
24760         * time/dysize.c (dysize): Likewise.
24761         * time/ftime.c (ftime): Likewise.
24762         * time/getitimer.c (__getitimer): Likewise.
24763         * time/gettimeofday.c (__gettimeofday): Likewise.
24764         * time/gmtime.c (__gmtime_r): Likewise.
24765         (gmtime): Likewise.
24766         * time/localtime.c (__localtime_r): Likewise.
24767         (localtime): Likewise.
24768         * time/offtime.c (__offtime): Likewise.
24769         * time/settimeofday.c (__settimeofday): Likewise.
24770         * time/stime.c (stime): Likewise.
24771         * time/strftime_l.c (tm_diff): Likewise.
24772         (iso_week_days): Likewise.
24773         * time/strptime.c (strptime): Likewise.
24774         * time/time.c (time): Likewise.
24775         * time/timespec_get.c (timespec_get): Likewise.
24776         * time/tzset.c (tzset_internal): Likewise.
24777         (compute_change): Likewise.
24778         (__tz_compute): Likewise.
24779         * wcsmbs/btowc.c (__btowc): Likewise.
24780         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
24781         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
24782         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
24783         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
24784         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
24785         * wcsmbs/wcscat.c (__wcscat): Likewise.
24786         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24787         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
24788         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
24789         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24790         * wcsmbs/wcsdup.c (wcsdup): Likewise.
24791         * wcsmbs/wcslen.c (__wcslen): Likewise.
24792         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
24793         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
24794         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
24795         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
24796         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24797         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
24798         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24799         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24800         * wcsmbs/wcstok.c (wcstok): Likewise.
24801         * wcsmbs/wctob.c (wctob): Likewise.
24802         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
24803         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24804         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
24805         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
24806         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
24807         * wcsmbs/wmemset.c (__wmemset): Likewise.
24808         * wctype/wcfuncs.c (__towlower): Likewise.
24809         (__towupper): Likewise.
24811         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
24812         (lll_unlock_elision): Add adapt_count parameter.
24814 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
24816         * sysdeps/nptl/configure.ac: Do not give errors based on the
24817         results of top-level configure tests.
24818         * sysdeps/nptl/configure: Regenerated.
24820         * configure.ac (libc_cv_Bgroup): Remove configure test.
24821         * configure: Regenerated.
24822         * config.make.in (have-Bgroup): Remove variable.
24824         * configure.ac (sizeof_long_double): Remove configure test.
24825         * configure: Regenerated.
24826         * config.make.in (sizeof-long-double): Remove variable.
24828         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
24829         * configure: Regenerated.
24830         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
24831         variable.
24832         (exceptions): Likewise.
24833         * sysdeps/arm/configure: Regenerated.
24834         * config.make.in (exceptions): Remove variable.
24835         * Makeconfig (uses-callbacks): Use -fexceptions instead of
24836         $(exceptions).
24837         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
24838         (CFLAGS-vdprintf_chk.c): Likewise.
24839         (CFLAGS-printf_chk.c): Likewise.
24840         (CFLAGS-fprintf_chk.c): Likewise.
24841         (CFLAGS-vprintf_chk.c): Likewise.
24842         (CFLAGS-vfprintf_chk.c): Likewise.
24843         (CFLAGS-gets_chk.c): Likewise.
24844         (CFLAGS-fgets_chk.c): Likewise.
24845         (CFLAGS-fgets_u_chk.c): Likewise.
24846         (CFLAGS-fread_chk.c): Likewise.
24847         (CFLAGS-fread_u_chk.c): Likewise.
24848         (CFLAGS-wprintf_chk.c): Likewise.
24849         (CFLAGS-fwprintf_chk.c): Likewise.
24850         (CFLAGS-vwprintf_chk.c): Likewise.
24851         (CFLAGS-vfwprintf_chk.c): Likewise.
24852         (CFLAGS-fgetws_chk.c): Likewise.
24853         (CFLAGS-fgetws_u_chk.c): Likewise.
24854         * libio/Makefile (CFLAGS-fileops.c): Likewise.
24855         (CFLAGS-fputc.c): Likewise.
24856         (CFLAGS-fputwc.c): Likewise.
24857         (CFLAGS-freopen64.c): Likewise.
24858         (CFLAGS-freopen.c): Likewise.
24859         (CFLAGS-fseek.c): Likewise.
24860         (CFLAGS-fseeko64.c): Likewise.
24861         (CFLAGS-fseeko.c): Likewise.
24862         (CFLAGS-ftello64.c): Likewise.
24863         (CFLAGS-ftello.c): Likewise.
24864         (CFLAGS-fwide.c): Likewise.
24865         (CFLAGS-genops.c): Likewise.
24866         (CFLAGS-getc.c): Likewise.
24867         (CFLAGS-getchar.c): Likewise.
24868         (CFLAGS-getwc.c): Likewise.
24869         (CFLAGS-getwchar.c): Likewise.
24870         (CFLAGS-iofclose.c): Likewise.
24871         (CFLAGS-iofflush.c): Likewise.
24872         (CFLAGS-iofgetpos64.c): Likewise.
24873         (CFLAGS-iofgetpos.c): Likewise.
24874         (CFLAGS-iofgets.c): Likewise.
24875         (CFLAGS-iofgetws.c): Likewise.
24876         (CFLAGS-iofputs.c): Likewise.
24877         (CFLAGS-iofputws.c): Likewise.
24878         (CFLAGS-iofread.c): Likewise.
24879         (CFLAGS-iofsetpos64.c): Likewise.
24880         (CFLAGS-iofsetpos.c): Likewise.
24881         (CFLAGS-ioftell.c): Likewise.
24882         (CFLAGS-iofwrite.c): Likewise.
24883         (CFLAGS-iogetdelim.c): Likewise.
24884         (CFLAGS-iogetline.c): Likewise.
24885         (CFLAGS-iogets.c): Likewise.
24886         (CFLAGS-iogetwline.c): Likewise.
24887         (CFLAGS-ioputs.c): Likewise.
24888         (CFLAGS-ioseekoff.c): Likewise.
24889         (CFLAGS-ioseekpos.c): Likewise.
24890         (CFLAGS-iosetbuffer.c): Likewise.
24891         (CFLAGS-iosetvbuf.c): Likewise.
24892         (CFLAGS-ioungetc.c): Likewise.
24893         (CFLAGS-ioungetwc.c): Likewise.
24894         (CFLAGS-oldfileops.c): Likewise.
24895         (CFLAGS-oldiofclose.c): Likewise.
24896         (CFLAGS-oldiofgetpos64.c): Likewise.
24897         (CFLAGS-oldiofgetpos.c): Likewise.
24898         (CFLAGS-oldiofsetpos64.c): Likewise.
24899         (CFLAGS-oldiofsetpos.c): Likewise.
24900         (CFLAGS-peekc.c): Likewise.
24901         (CFLAGS-putc.c): Likewise.
24902         (CFLAGS-putchar.c): Likewise.
24903         (CFLAGS-putwc.c): Likewise.
24904         (CFLAGS-putwchar.c): Likewise.
24905         (CFLAGS-rewind.c): Likewise.
24906         (CFLAGS-wfileops.c): Likewise.
24907         (CFLAGS-wgenops.c): Likewise.
24908         (CFLAGS-oldiofopen.c): Likewise.
24909         (CFLAGS-iofopen.c): Likewise.
24910         (CFLAGS-iofopen64.c): Likewise.
24911         (CFLAGS-oldtmpfile.c): Likewise.
24912         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24913         (CFLAGS-fprintf.c): Likewise.
24914         (CFLAGS-printf.c): Likewise.
24915         (CFLAGS-vfwprintf.c): Likewise.
24916         (CFLAGS-vfscanf.c): Likewise.
24917         (CFLAGS-vfwscanf.c): Likewise.
24918         (CFLAGS-fscanf.c): Likewise.
24919         (CFLAGS-scanf.c): Likewise.
24920         (CFLAGS-isoc99_vfscanf.c): Likewise.
24921         (CFLAGS-isoc99_vscanf.c): Likewise.
24922         (CFLAGS-isoc99_fscanf.c): Likewise.
24923         (CFLAGS-isoc99_scanf.c): Likewise.
24924         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
24925         (CFLAGS-isoc99_fwscanf.c): Likewise.
24926         (CFLAGS-isoc99_vwscanf.c): Likewise.
24927         (CFLAGS-isoc99_vfwscanf.c): Likewise.
24929         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
24930         after mkstemp64.
24931         * login/tst-utmp.c (do_prepare): Likewise.
24932         * rt/tst-aio.c (do_prepare): Likewise.
24933         * rt/tst-aio64.c (do_prepare): Likewise.
24935 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24937         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24938         (__lll_lock_elision): Remove adapt_count decrement...
24939         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24940         (__lll_trylock_elision): Likewise.
24941         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
24942         (__lll_unlock_elision): ... to here. And utilize
24943         new adapt_count parameter.
24944         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24945         (__lll_unlock_elision): Update to include adapt_count
24946         parameter.
24947         (lll_unlock_elision): Pass pointer to adapt_count
24948         variable.
24950 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24952         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
24953         Add elision adapt_count parameter to list of arguments.
24954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
24955         (lll_unlock_elision): Update with new parameter list
24956         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
24957         (lll_unlock_elision): Likewise.
24958         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
24959         (lll_unlock_elision): Likewise.
24961 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
24963         [BZ #19122]
24964         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
24965         attribute_hidden.
24967         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
24968         attribute_hidden.
24969         [IS_IN (rtld)] (__strdup): Likewise.
24970         [IS_IN (rtld)] (__strerror_r): Likewise.
24971         [IS_IN (rtld)] (__strsep_g): Likewise.
24972         [IS_IN (rtld)] (memchr): Likewise.
24973         [IS_IN (rtld)] (memcmp): Likewise.
24974         [IS_IN (rtld)] (memcpy): Likewise.
24975         [IS_IN (rtld)] (memmove): Likewise.
24976         [IS_IN (rtld)] (memset): Likewise.
24977         [IS_IN (rtld)] (rawmemchr): Likewise.
24978         [IS_IN (rtld)] (stpcpy): Likewise.
24979         [IS_IN (rtld)] (strchr): Likewise.
24980         [IS_IN (rtld)] (strcmp): Likewise.
24981         [IS_IN (rtld)] (strlen): Likewise.
24982         [IS_IN (rtld)] (strnlen): Likewise.
24983         [IS_IN (rtld)] (strsep): Likewise.
24985         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
24986         attribute_hidden.
24987         [IS_IN (rtld)] (__strtoul_internal): Likewise.
24989         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
24990         attribute_hidden.
24991         [IS_IN (rtld)] (__libc_sigaction): Likewise.
24993         * include/setjmp.h (__longjmp): Add attribute_hidden.
24994         [IS_IN (rtld)] (__sigsetjmp): Likewise.
24996         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
24997         Add attribute_hidden.
24999         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25000         [IS_IN (rtld)] (__open): Likewise.
25001         [IS_IN (rtld)] (__fcntl): Likewise.
25003         * include/dirent.h (__opendirat): Add attribute_hidden.
25004         (__getdents): Likewise.
25005         (__getdents64): Likewise.
25006         (__alloc_dir): Likewise.
25007         [IS_IN (rtld)] (__closedir): Likewise.
25008         [IS_IN (rtld)] (__fdopendir): Likewise.
25009         [IS_IN (rtld)] (__readdir): Likewise.
25010         [IS_IN (rtld)] (__readdir64): Likewise.
25011         [IS_IN (rtld)] (__rewinddir): Likewise.
25013         * include/dlfcn.h (_dl_catch_error): Moved to ...
25014         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25015         attribute_hidden.
25017         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25018         (_itoa_word): Likewise.
25020         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25021         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25022         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25023         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25024         (_dl_higher_prime_number): Likewise.
25025         (_dl_debug_printf_c): Likewise.
25026         (_dl_signal_cerror): Likewise.
25027         (_dl_receive_error): Likewise.
25028         (_dl_reloc_bad_type): Likewise.
25029         (_dl_resolve_conflicts): Likewise.
25030         (_dl_check_all_versions): Likewise.
25031         (_dl_check_map_versions): Likewise.
25032         (_dl_sort_fini): Likewise.
25033         (_dl_debug_initialize): Likewise.
25034         (_dl_init_paths): Likewise.
25035         (_dl_show_auxv): Likewise.
25036         (_dl_next_ld_env_entry): Likewise.
25037         (_dl_important_hwcaps): Likewise.
25038         (_dl_load_cache_lookup): Likewise.
25039         (_dl_update_slotinfo): Likewise.
25040         (_dl_show_scope): Likewise.
25042         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25043         attribute_hidden.
25044         (_wordcopy_fwd_dest_aligned): Likewise.
25045         (_wordcopy_bwd_aligned): Likewise.
25046         (_wordcopy_bwd_dest_aligned): Likewise.
25048         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25049         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25050         Likewise.
25051         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
25052         Likewise.
25053         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25055 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
25058         GCC 5 requirement.
25060 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25062         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
25063         test.
25064         * sysdeps/i386/configure: Regenerated.
25065         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
25066         code unconditional.
25068         * configure.ac (libc_cv_asm_previous_directive): Remove configure
25069         test.
25070         (libc_cv_asm_popsection_directive): Likewise.
25071         * configure: Regenerated.
25072         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
25073         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
25074         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
25075         (__make_section_unallocated): Make definition unconditional.
25076         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
25077         Remove conditional definition.
25078         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
25079         (__make_section_unallocated): Likewise.
25081         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
25082         * configure: Regenerated.
25083         * config.make.in (static-libgcc): Remove variable.
25084         * Makerules (build-shlib-helper): Use -static-libgcc instead of
25085         $(static-libgcc).
25086         (build-module-helper): Likewise.
25088         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
25089         * configure: Regenerated.
25091 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25093         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
25094         (struct char_buffer): New type.
25095         (char_buffer_start, char_buffer_size, char_buffer_error)
25096         (char_buffer_rewind, char_buffer_add): New functions.
25097         (ADDW): Remove macro, replaced by the char_buffer_add function.
25098         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
25099         of extend_alloca.  Make control flow more explicit.
25101 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25103         [BZ #19137]
25104         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25105         Add -fomit-frame-pointer.
25106         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
25108 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25110         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
25111         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
25112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
25113         only if !__GNUC_PREREQ (5,0).
25114         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
25115         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
25116         (INTERNAL_SYSCALL_NCS): Likewise.
25117         (LOADREGS_0): New macro for GCC 5.
25118         (ASMARGS_0): Likewise.
25119         (LOADREGS_1): Likewise.
25120         (ASMARGS_1): Likewise.
25121         (LOADREGS_2): Likewise.
25122         (ASMARGS_2): Likewise.
25123         (LOADREGS_3): Likewise.
25124         (ASMARGS_3): Likewise.
25125         (LOADREGS_4): Likewise.
25126         (ASMARGS_4): Likewise.
25127         (LOADREGS_5): Likewise.
25128         (ASMARGS_5): Likewise.
25129         (LOADREGS_6): Likewise.
25130         (ASMARGS_6): Likewise.
25132 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25134         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
25135         -fomit-frame-pointer.
25136         (CFLAGS-mmap64.c): Likewise.
25137         (CFLAGS-semtimedop.c): Likewise.
25138         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
25139         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
25140         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25141         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25143 2015-10-15  Florian Weimer  <fweimer@redhat.com>
25145         [BZ #18928]
25146         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
25147         _dl_pointer_guard member.
25148         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
25149         initializer.
25150         (security_init): Always set up pointer guard.
25151         (process_envvars): Do not process LD_POINTER_GUARD.
25153 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
25155         [BZ #19134]
25156         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
25157         (.LC2): Likewise.
25158         (.LC3): Likewise.
25159         (__lround): Do not add 0.5 to integer or out-of-range arguments.
25161 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25163         [BZ #19129]
25164         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
25165         r0 and r1.
25167 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
25169         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
25171 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
25173         * include/stap-probe.h: Fix macro definition formatting.
25175 2015-10-14  Florian Weimer  <fweimer@redhat.com>
25177         [BZ #19074]
25178         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
25179         load and store num_ifs.
25181 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25183         [BZ #18822]
25184         * sysdeps/unix/sysv/linux/sched_getaffinity.c
25185         (__sched_getaffinity_new): Add libc_hidden_proto and
25186         libc_hidden_def.
25188 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25190         [BZ #19007]
25191         * scripts/localplt.awk: Also allow GOT references.
25192         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
25193         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
25194         with "+ REL R_386_GLOB_DAT".
25195         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
25196         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
25198 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
25200         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
25201         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25202         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
25203         Likewise.
25204         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25205         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
25206         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25207         INTERNAL_SYSCALLINTERNAL_SYSCALL and
25208         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25209         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25210         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25211         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25212         Likewise.
25213         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25215 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #19125]
25218         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
25219         <math_private.h> and <stdint.h>.
25220         (__llround): Avoid conversions to and from long long int, and
25221         subtractions, where those might raise spurious exceptions.
25222         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25223         <math_private.h> and <stdint.h>.
25224         (__llroundf): Avoid conversions to and from long long int, and
25225         subtractions, where those might raise spurious exceptions.
25227 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25229         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
25230         INLINE_SYSCALL_ERROR_RETURN_VALUE.
25231         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25232         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
25233         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25234         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25235         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
25236         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
25237         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
25238         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25239         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25240         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25241         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
25242         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25243         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25244         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
25245         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
25246         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25247         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
25248         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
25249         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25250         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
25251         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
25252         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25253         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
25254         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25255         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
25256         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25257         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25258         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
25259         (__xstat64_conv): Likewise.
25260         (__xstat32_conv): Likewise.
25262 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25264         * sysdeps/unix/sysv/linux/sysdep.h: New file.
25265         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
25266         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
25267         <sysdeps/unix/sysv/linux/sysdep.h>.
25268         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25269         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
25270         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
25271         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25272         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25273         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
25274         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
25275         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
25276         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25280         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25281         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25282         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25284         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
25285         (sysdep-dl-routines): Add sysdep.
25286         [$(subdir) == nptl] (libpthread-routines): Likewise.
25287         [$(subdir) == rt] (librt-routines): Likewise.
25288         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
25289         PIC when branching to SYSCALL_ERROR_LABEL.
25290         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
25291         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
25292         <sysdeps/unix/sysv/linux/sysdep.h>.
25293         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
25294         (SYSCALL_ERROR_ERRNO): Removed.
25295         (SYSCALL_ERROR_HANDLER): Changed to empty.
25296         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
25297         (__syscall_error): New prototype.
25298         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
25299         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
25301 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
25303         [BZ #19124]
25304         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
25305         (_dl_runtime_resolve_avx512): Make it a hidden alias of
25306         _dl_runtime_resolve_avx.
25307         (_dl_runtime_profile_avx512): Make it a hidden alias of
25308         _dl_runtime_profile_avx.
25310 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
25312         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
25313         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
25314         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
25315         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
25317         [BZ #16422]
25318         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
25319         New configure test.
25320         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
25321         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
25322         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
25323         <math_private.h> and <stdint.h>.
25324         (__llrint): Avoid conversions to long long int where those might
25325         raise spurious exceptions.
25326         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25327         <math_private.h> and <stdint.h>.
25328         (__llrintf): Avoid conversions to long long int where those might
25329         raise spurious exceptions.
25331 2015-10-12  Andreas Schwab  <schwab@suse.de>
25333         [BZ #18969]
25334         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
25335         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
25336         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
25337         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
25338         $(gen-locales).
25339         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
25340         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
25341         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
25342         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
25343         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
25344         $(gen-locales).
25345         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
25346         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
25347         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
25348         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
25349         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
25350         ($(objpfx)tst-ftell-active-handler.out)
25351         ($(objpfx)tst-ftell-append.out)
25352         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
25353         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
25354         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
25355         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
25356         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
25357         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
25358         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
25359         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
25360         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
25361         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
25362         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
25363         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
25364         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
25365         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
25366         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
25367         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
25368         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
25369         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
25370         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
25371         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
25372         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
25373         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
25374         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
25375         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
25376         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
25377         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
25378         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
25379         $(gen-locales).
25380         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
25381         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
25382         $(gen-locales).
25383         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
25384         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
25385         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
25386         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
25387         $(gen-locales).
25388         * libio/tst_wprintf2.c (main): Use explicit locale.
25389         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
25391 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25393         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
25394         __msg_sig_post.
25395         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
25397 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25399         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25400         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25402         * sysdeps/arm/libm-test-ulps: Regenerated.
25404         [BZ #15470]
25405         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
25407         [BZ #16399]
25408         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
25409         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
25410         and <fix-fp-int-convert-overflow.h>.
25411         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25412         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25413         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
25414         and <fix-fp-int-convert-overflow.h>.
25415         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
25416         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25417         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
25418         <fix-fp-int-convert-overflow.h>.
25419         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
25420         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25421         * sysdeps/ieee754/dbl-64/s_lround.c: Include
25422         <fix-fp-int-convert-overflow.h>.
25423         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
25424         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25425         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
25426         and <fix-fp-int-convert-overflow.h>.
25427         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25428         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25429         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
25430         <limits.h> and <fix-fp-int-convert-overflow.h>.
25431         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25432         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25433         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
25434         and <fix-fp-int-convert-overflow.h>.
25435         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
25436         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25437         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
25438         and <fix-fp-int-convert-overflow.h>.
25439         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
25440         FIX_DBL_LLONG_CONVERT_OVERFLOW.
25441         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
25443 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
25445         [BZ #18589]
25446         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
25447         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
25448         $(gen-locales).
25450 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25451             Phil Blundell <pb@pbcl.net>
25453         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
25454         * nptl/tst-cancel26.c: New file.
25455         * nptl/tst-cancel27.c: Likewise.
25457 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
25459         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
25460         __ILP32__ isn't defined.
25461         (lrint): Likewise.
25462         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
25463         (lrintf): Likewise.
25464         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
25465         (lrintl): Likewise.
25466         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
25467         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
25468         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
25470 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25472         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
25473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
25475         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
25476         file.
25477         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
25478         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
25480 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
25482         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
25483         configure test.
25484         * sysdeps/i386/configure: Regenerated.
25485         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
25486         configure test.
25487         * sysdeps/x86_64/configure: Regenerated.
25488         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
25489         Make code unconditional.
25491         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
25492         test.
25493         * sysdeps/i386/configure: Regenerated.
25494         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
25495         test.
25496         * sysdeps/x86_64/configure: Regenerated.
25497         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
25498         Make code unconditional.
25499         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25500         Likewise.
25501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
25502         Likewise.
25503         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25504         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
25505         code unconditional.
25506         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25507         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
25508         code unconditional.
25509         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25510         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
25511         code unconditional.
25512         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
25513         code unconditional.
25514         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25515         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
25516         code unconditional.
25517         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25518         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
25519         code unconditional.
25520         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25521         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
25522         code unconditional.
25523         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25524         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
25525         code unconditional.
25526         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
25527         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
25529         [BZ #19095]
25530         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
25531         mantissa to long int before shifting left.
25533 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25535         [BZ #19094]
25536         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
25537         <limits.h>.
25538         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25539         when result overflows but exception would not result from cast.
25540         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
25541         <limits.h>.
25542         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25543         when result overflows but exception would not result from cast.
25544         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
25545         <limits.h>.
25546         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25547         when result overflows but exception would not result from cast.
25548         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
25549         <limits.h>.
25550         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25551         when result overflows but exception would not result from cast.
25552         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
25553         <limits.h>.
25554         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
25555         when result overflows but exception would not result from cast.
25556         * math/libm-test.inc (lrint_test_data): Add more tests.
25557         (llrint_test_data): Likewise.
25559 2015-10-08  Roland McGrath  <roland@hack.frob.com>
25561         [BZ #18872]
25562         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
25563         Move out from under [$(run-built-tests) = yes] conditional.
25564         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
25565         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
25567 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
25569         [BZ #18589]
25570         * string/Makefile (tests): Add bug-strcoll2.
25571         (LOCALES): Add cs_CZ.UTF-8.
25572         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
25574         [BZ #18589]
25575         * string/bug-strcoll2.c: New file.
25576         * locale/categories.def: Revert commit
25577         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
25578         * locale/langinfo.h: Likewise.
25579         * locale/localeinfo.h: Likewise.
25580         * locale/C-collate.c: Likewise.
25581         * locale/programs/ld-collate.c (collate_output): Likewise.
25582         * string/strcoll_l.c (STRDIFF): Likewise.
25583         (STRCOLL): Likewise.
25584         * wcsmbs/wcscoll_l.c: Likewise.
25586 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
25588         * math/libm-test.inc (lround_test_data): Do not expect the absence
25589         of "inexact" for some tests with non-integer arguments.
25590         (llround_test_data): Likewise.
25592         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
25593         test.
25594         (libc_cv_cc_sse2avx): Likewise.
25595         * sysdeps/i386/configure: Regenerated.
25596         * sysdeps/i386/i686/multiarch/Makefile
25597         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
25598         [$(subdir) = math].
25599         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
25600         code unconditional.
25601         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25602         Likewise.
25603         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
25604         Likewise.
25605         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25606         Likewise.
25607         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
25608         test.
25609         (libc_cv_cc_sse2avx): Likewise.
25610         * sysdeps/x86_64/configure: Regenerated.
25611         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
25612         unconditional.
25613         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
25614         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
25615         unconditional.
25616         (_dl_runtime_profile)
25617         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
25618         conditional code.
25619         * sysdeps/x86_64/fpu/multiarch/Makefile
25620         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
25621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25622         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25623         * sysdeps/x86_64/fpu/multiarch/e_exp.c
25624         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25625         * sysdeps/x86_64/fpu/multiarch/e_log.c
25626         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25627         * sysdeps/x86_64/fpu/multiarch/s_atan.c
25628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25629         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
25630         Likewise.
25631         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
25632         Likewise.
25633         * sysdeps/x86_64/fpu/multiarch/s_sin.c
25634         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25635         * sysdeps/x86_64/fpu/multiarch/s_tan.c
25636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
25637         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
25638         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
25639         (HAVE_SSE2AVX_SUPPORT): Likewise.
25641 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
25643         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
25644         instead of #pragma optimize.
25646 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25648         [BZ #17195]
25649         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
25650         as is similarly done in systrim and _int_free already.
25652 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25654         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
25656 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25658         [BZ #19088]
25659         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
25660         <limits.h>.
25661         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25662         overflows but exception would not result from cast.
25663         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
25664         and <limits.h>.
25665         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
25666         overflows but exception would not result from cast.
25667         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
25668         <limits.h>.
25669         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25670         overflows but exception would not result from cast.
25671         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
25672         <limits.h>.
25673         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25674         overflows but exception would not result from cast.
25675         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
25676         <limits.h>.
25677         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
25678         overflows but exception would not result from cast.
25679         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
25680         <limits.h>.
25681         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
25682         overflows but exception would not result from cast.
25683         * math/libm-test.inc (lround_test_data): Add more tests.
25684         (llround_test_data): Likewise.
25686 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
25688         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
25689         (CFLAGS-ialloc.c): Ditto.
25690         (CFLAGS-scheck.c): Ditto.
25692 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
25694         [BZ #19086]
25695         * manual/filesys.texi (Storage Allocation): Fix argument order for
25696         posix_fallocate64.
25698 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25700         [BZ #19085]
25701         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
25702         exponent below 48 inside case for non-overflowing exponent.
25703         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
25705 2015-10-07  Florian Weimer  <fweimer@redhat.com>
25707         * iconvdata/cp737.h (from_idx): Add const.
25708         * iconvdata/cp775.h (from_idx): Likewise.
25710 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
25712         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
25713         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
25714         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
25716         [BZ #19079]
25717         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
25718         file, conditioned on [!_LP64].
25719         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
25720         [!_LP64] (__lround): Do not define as function or alias.
25721         [!_LP64] (lround): Likewise.
25722         [!_LP64] (__lroundl): Likewise.
25723         [!_LP64] (lroundl): Likewise.
25724         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
25725         macro.
25726         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25727         Likewise.
25729 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25731         * math/libm-test.inc (lrint_test_data): Add more tests.
25732         (llrint_test_data): Likewise.
25733         (lround_test_data): Likewise.
25734         (llround_test_data): Likewise.
25736         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
25737         (llrint_test_data): Add tests used for lrint.
25739         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
25740         test.
25741         * sysdeps/i386/configure: Regenerated.
25742         * sysdeps/i386/i686/multiarch/Makefile
25743         [$(config-cflags-sse4) = yes]: Make code unconditional.
25744         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25745         Likewise.
25746         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
25747         Likewise.
25748         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
25749         test.
25750         * sysdeps/x86_64/configure: Regenerated.
25751         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
25752         Make code unconditional.
25753         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
25754         Likewise.
25755         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
25756         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
25758         * scripts/rpm2dynsym.sh: Remove file.
25760 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25762         * configure.ac (libc_cv_cxx_thread_local): Define.
25763         * configure: Regenerate.
25764         * config.make.in (have-cxx-thread_local): Define.
25765         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
25766         (LDLIBS-tst-thread_local1): Define.
25767         (tests): Add tst-thread_local1.
25768         [have-cxx-thread_local != yes] (tests-unsupported): Add
25769         tst-thread_local1.
25770         * nptl/tst-thread_local1.cc: New file.
25772 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
25774         [BZ #19078]
25775         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
25776         (u_thres): Likewise.
25777         (__expl): Determine whether to call __kernel_standard_l based on
25778         value of result, not argument.
25780         * math/libm-test.inc (scalb_test_data): Add more expectations for
25781         the "inexact" exception.
25783         [BZ #19077]
25784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
25785         0.0L for argument 1.0L.
25787         [BZ #19076]
25788         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
25789         constant 0.0L when computing infinite result.
25791 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25793         [BZ #10432]
25794         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
25795         malloc_usable_size.
25797 2015-10-06  Florian Weimer  <fweimer@redhat.com>
25799         [BZ #19018]
25800         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25801         Mangle function pointer before storing it.
25802         (__call_tls_dtors): Demangle function pointer before calling it.
25804 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25806         [BZ #19012]
25807         * iconv/gconv_db.c (gen_steps): Check for additional errors.
25808         Clean up on failure.
25810 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
25812         [BZ #19071]
25813         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
25814         long int variable to store possibly incremented high part of
25815         mantissa.
25816         * math/libm-test.inc (lround_test_data): Add tests used for
25817         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
25818         for tests requiring 64-bit long.  Do not condition tests on
25819         [TEST_FLOAT] unnecessarily.
25820         (llround_test_data): Add tests used for lround.  Add another
25821         expectation for the "inexact" exception.  Do not condition tests
25822         on [TEST_FLOAT] unnecessarily.
25824         [BZ #887]
25825         [BZ #19049]
25826         [BZ #19050]
25827         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
25828         * sysdeps/ieee754/dbl-64/e_log10.c: Include
25829         <fix-int-fp-convert-zero.h>.
25830         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25831         * sysdeps/ieee754/dbl-64/e_log2.c: Include
25832         <fix-int-fp-convert-zero.h>.
25833         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25834         * sysdeps/ieee754/dbl-64/s_erf.c: Include
25835         <fix-int-fp-convert-zero.h>.
25836         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25837         * sysdeps/ieee754/dbl-64/s_logb.c: Include
25838         <fix-int-fp-convert-zero.h>.
25839         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25840         * sysdeps/ieee754/flt-32/e_log10f.c: Include
25841         <fix-int-fp-convert-zero.h>.
25842         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25843         * sysdeps/ieee754/flt-32/e_log2f.c: Include
25844         <fix-int-fp-convert-zero.h>.
25845         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25846         * sysdeps/ieee754/flt-32/s_erff.c: Include
25847         <fix-int-fp-convert-zero.h>.
25848         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25849         * sysdeps/ieee754/flt-32/s_logbf.c: Include
25850         <fix-int-fp-convert-zero.h>.
25851         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
25853         <fix-int-fp-convert-zero.h>.
25854         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
25856         <fix-int-fp-convert-zero.h>.
25857         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
25858         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
25859         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
25860         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
25861         file.
25862         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
25864 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
25866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25868 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
25870         [BZ #19059]
25871         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
25872         overflowing computation.
25873         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25874         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25876         Likewise.
25877         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25878         Likewise.
25879         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25880         Likewise.
25881         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25882         Likewise.
25883         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25884         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25885         Likewise.
25886         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25887         Likewise.
25888         * math/libm-test.inc (nexttoward_test_data): Add more tests.
25890         * nss/rewrite_field.c (__nss_rewrite_field): Use
25891         internal_function.
25892         * nss/valid_field.c (__nss_valid_field): Likewise.
25893         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25895 2015-10-02  Florian Weimer  <fweimer@redhat.com>
25897         [BZ #18724]
25898         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
25899         (__nss_invalid_field_characters, __nss_valid_field)
25900         (__nss_valid_list_field, __nss_rewrite_field): Declare.
25901         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
25902         tst-field.c: New file.
25903         * nss/Makefile (routines): Add valid_field, rewrite_field.
25904         (tests-static): Define unconditionally.
25905         (tests): Include tests-static.
25906         [build-static-nss] (tests-static): Use append.
25907         [build-static-nss] (tests): Remove modification.
25908         * nss/getent.c (print_group): Call putgrent.  Report error.
25909         (print_gshadow): Call putsgent.  Report error.
25910         (print_passwd): Call putpwent.  Report error.
25911         (print_shadow): Call putspent.  Report error.
25912         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
25913         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
25914         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
25915         name, password, directory, shell fields for valid syntax.  Rewrite
25916         GECOS field to match syntax.
25917         * pwd/Makefile (tests): Add tst-putpwent.
25918         * pwd/tst-putpwent.c: New file.
25919         * grp/putgrent.c (putgrent): Convert to ISO function definition.
25920         Check grName, grpasswd, gr_mem fields for valid syntax.
25921         Change loop variable i to size_t.
25922         * grp/Makefile (tests): Add tst-putgrent.
25923         * grp/tst-putgrent.c: New file.
25924         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
25925         valid syntax.
25926         * shadow/Makefile (tests): Add tst-putspent.
25927         * shadow/tst-putspent.c: New file.
25928         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
25929         sg_mem fields for valid syntax.
25930         * gshadow/Makefile (tests): Add tst-putsgent.
25931         * gshadow/tst-putsgent.c: New file.
25933 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25935         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
25936         assembly instructions.
25938 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25940         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
25941         prefix from operands.
25943 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
25945         [BZ #16347]
25946         [BZ #19046]
25947         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
25948         <libc-internal.h>.
25949         (MAXLGM): Do not use diagnostic control macros.
25950         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
25951         threshold for ldbl-128ibm.
25952         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
25953         instead of multiplying by log then subtracting.
25954         * math/auto-libm-test-in: Add more tests of lgamma.
25955         * math/auto-libm-test-out: Regenerated.
25957         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
25958         (TYPE_HEX_DIG): Likewise.
25959         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
25960         precisions when printing floating-point numbers.
25961         (check_float_internal): Likewise.
25963 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
25965         [BZ #16620]
25966         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
25967         of log (10) rounded downward to 48 bits.
25968         (log10_low): Use corresponding low part of log (10).
25970         [BZ #19032]
25971         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
25972         compute result as (x - x) / (x - x) not as 0 / 0.
25973         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25974         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
25976         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25977         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
25978         and expm1.
25979         * math/auto-libm-test-out: Regenerated.
25980         * math/libm-test.inc (acos_test_data): Add more tests.
25981         (asin_test_data): Likewise.
25982         (asinh_test_data): Likewise.
25983         (atan_test_data): Likewise.
25984         (atanh_test_data): Likewise.
25985         (atan2_test_data): Likewise.
25986         (cbrt_test_data): Likewise.
25987         (ceil_test_data): Likewise.
25988         (copysign_test_data): Likewise.
25989         (cos_test_data): Likewise.
25990         (cosh_test_data): Likewise.
25991         (erf_test_data): Likewise.
25992         (erfc_test_data): Likewise.
25993         (exp_test_data): Likewise.
25994         (exp10_test_data): Likewise.
25995         (exp2_test_data): Likewise.
25996         (expm1_test_data): Likewise.
25997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25999 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26001         [BZ #19006]
26002         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26003         to ...
26004         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26005         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26006         to ...
26007         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26008         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26009         to ...
26010         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26011         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26012         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26013         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26014         to ...
26015         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26016         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26017         Moved to ...
26018         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26019         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26020         Moved to ...
26021         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26022         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26023         to ...
26024         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26025         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26026         Moved to ...
26027         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26028         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26029         to ...
26030         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26031         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26032         Removed.
26033         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26034         Likewise.
26035         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26036         Likewise.
26037         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26038         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26039         Likewise.
26040         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26041         Likewise.
26042         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26043         Likewise.
26044         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26045         Likewise.
26046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26047         Likewise.
26048         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26049         Likewise.
26050         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
26051         Likewise.
26052         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
26053         Likewise.
26054         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
26055         Likewise.
26056         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
26057         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
26058         Likewise.
26059         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26060         Likewise.
26061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26062         Likewise.
26063         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26064         Likewise.
26065         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
26066         Likewise.
26067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26068         Replace ../i486/pthread_cond_timedwait.S with
26069         ../pthread_cond_timedwait.S.
26071 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26073         * math/libm-test.inc (acos_test_data): Refine expectations for
26074         errno and "inexact" exceptions.
26075         (acosh_test_data): Likewise.
26076         (asin_test_data): Likewise.
26077         (asinh_test_data): Likewise.
26078         (atan_test_data): Likewise.
26079         (atanh_test_data): Likewise.
26080         (atan2_test_data): Likewise.
26081         (cbrt_test_data): Likewise.
26082         (ceil_test_data): Likewise.
26083         (copysign_test_data): Likewise.
26084         (cosh_test_data): Likewise.
26085         (erf_test_data): Likewise.
26086         (erfc_test_data): Likewise.
26087         (exp_test_data): Likewise.
26088         (exp10_test_data): Likewise.
26089         (exp2_test_data): Likewise.
26090         (expm1_test_data): Likewise.
26091         (fabs_test_data): Likewise.
26092         (floor_test_data): Likewise.
26093         (fma_test_data): Likewise.
26094         (fmax_test_data): Likewise.
26095         (fmin_test_data): Likewise.
26096         (fmod_test_data): Likewise.
26097         (fpclassify_test_data): Likewise.
26098         (frexp_test_data): Likewise.
26099         (hypot_test_data): Likewise.
26100         (ilogb_test_data): Likewise.
26101         (isgreater_test_data): Likewise.
26102         (isgreaterequal_test_data): Likewise.
26103         (isinf_test_data): Likewise.
26104         (isless_test_data): Likewise.
26105         (islessequal_test_data): Likewise.
26106         (islessgreater_test_data): Likewise.
26107         (isnan_test_data): Likewise.
26108         (isnormal_test_data): Likewise.
26109         (issignaling_test_data): Likewise.
26110         (isunordered_test_data): Likewise.
26111         (j0_test_data): Likewise.
26112         (j1_test_data): Likewise.
26113         (jn_test_data): Likewise.
26114         (lgamma_test_data): Likewise.
26115         (lrint_test_data): Likewise.
26116         (llrint_test_data): Likewise.
26117         (log_test_data): Likewise.
26118         (log10_test_data): Likewise.
26119         (log1p_test_data): Likewise.
26120         (log2_test_data): Likewise.
26121         (logb_test_data): Likewise.
26122         (lround_test_data): Likewise.
26123         (llround_test_data): Likewise.
26124         (modf_test_data): Likewise.
26125         (nearbyint_test_data): Likewise.
26126         (nextafter_test_data): Likewise.
26127         (nexttoward_test_data): Likewise.
26128         (pow_test_data): Likewise.
26129         (remainder_test_data): Likewise.
26130         (remquo_test_data): Likewise.
26131         (rint_test_data): Likewise.
26132         (round_test_data): Likewise.
26133         (signbit_test_data): Likewise.
26134         (sinh_test_data): Likewise.
26135         (sqrt_test_data): Likewise.
26136         (tanh_test_data): Likewise.
26137         (tgamma_test_data): Likewise.
26138         (trunc_test_data): Likewise.
26139         (y0_test_data): Likewise.
26140         (y1_test_data): Likewise.
26141         (yn_test_data): Likewise.
26142         (significand_test_data): Likewise.
26144 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
26146         * manual/filesys.texi (Storage Allocation): Document that
26147         posix_fallocate emulation fails when fd is open with O_WRONLY.
26149 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
26151         [BZ #19016]
26152         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
26153         allow more cases with X^2 + Y^2 >= 0.5.
26154         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
26155         normal element in sum instead of special-casing based on values of
26156         arguments.
26157         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
26158         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
26159         -1 as normal element in sum instead of special-casing based on
26160         values of arguments.
26161         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
26162         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
26163         (__x2y2m1): Update comment.
26164         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
26165         as normal element in sum instead of special-casing based on values
26166         of arguments.
26167         * math/s_clog.c (__clog): Handle more cases using log1p without
26168         hypot.
26169         * math/s_clog10.c (__clog10): Likewise.
26170         * math/s_clog10f.c (__clog10f): Likewise.
26171         * math/s_clog10l.c (__clog10l): Likewise.
26172         * math/s_clogf.c (__clogf): Likewise.
26173         * math/s_clogl.c (__clogl): Likewise.
26174         * math/auto-libm-test-in: Add more tests of clog and clog10.
26175         * math/auto-libm-test-out: Regenerated.
26176         * sysdeps/i386/fpu/libm-test-ulps: Update.
26177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26179 2015-09-28  Martin Sebor  <msebor@redhat.com>
26181         [BZ #18969]
26182         * string/Makefile (LOCALES): Define.
26183         (gen-locales.mk): Include.
26184         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
26185         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
26186         * string/tst-strxfrm2.c (do_test): Print the name of the locale
26187         on setlocale failure.
26189 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26191         [BZ #18985]
26192         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
26193         (__strftime_internal): Likewise.
26194         * time/tst-strftime.c (do_bz18985): New test.
26195         (do_test): Call it.
26197 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
26199         [BZ #18956]
26200         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
26201         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
26202         extracting high part.
26203         * math/auto-libm-test-in: Add another test of pow.
26204         * math/auto-libm-test-out: Regenerated.
26205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26207 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26209         [BZ #18825]
26210         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
26211         New macro.
26212         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
26213         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26214         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
26215         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
26216         DBL_NARROW_EVAL, reloading the PIC register as needed.
26217         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
26218         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
26219         FLT_NARROW_EVAL.  Use separate return path for case when first
26220         argument is NaN.
26221         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
26222         DEFINE_LDBL_MIN.
26223         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
26224         PIC register.
26225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
26226         math_check_force_underflow_nonneg.
26227         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
26228         underflow for subnormal result.
26229         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
26230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
26231         math_check_force_underflow_nonneg.
26232         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
26233         math_check_force_underflow.
26234         * sysdeps/x86_64/fpu/x86_64-math-asm.h
26235         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
26236         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
26237         DEFINE_LDBL_MIN.
26238         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
26239         * math/auto-libm-test-in: Add more tests of pow.
26240         * math/auto-libm-test-out: Regenerated.
26242 2015-09-25  Florian Weimer  <fweimer@redhat.com>
26244         * nss/bug17079.c (init_test_items): Add diagnostic for
26245         inconsistent entries.
26246         (test_buffer_size): Skip inconsistent entries.
26248 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
26250         [BZ #13304]
26251         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
26252         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
26253         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
26255         [BZ #13304]
26256         * sysdeps/microblaze/s_fma.c: New file.
26257         * sysdeps/microblaze/s_fmaf.c: Likewise.
26258         * sysdeps/microblaze/sfp-machine.h: Likewise.
26260 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
26262         [BZ #17250]
26263         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
26264         member.
26266 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26268         [BZ #18803]
26269         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
26270         (MO): New macro.
26271         (__ieee754_hypot) [PIC]: Load PIC register.
26272         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
26273         DBL_NARROW_EVAL.
26274         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
26275         math_check_force_underflow_nonneg in case where result might be
26276         tiny.
26277         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26278         Likewise.
26279         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26280         Likewise.
26281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
26282         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
26283         * math/auto-libm-test-in: Add more tests of hypot.
26284         * math/auto-libm-test-out: Regenerated.
26286 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
26288         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
26290 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
26292         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
26293         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
26294         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26295         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26296         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
26297         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26298         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26300         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
26301         LOAD_PIC_REG.
26303         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
26304         (FLT_CHECK_FORCE_UFLOW): Likewise.
26305         (DBL_CHECK_FORCE_UFLOW): Likewise.
26306         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
26307         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
26308         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
26309         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26310         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26311         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26312         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26313         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
26314         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
26315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26316         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
26317         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
26318         (flt_min): Replace with use of DEFINE_FLT_MIN.
26319         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
26320         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
26321         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26322         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
26323         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
26324         (flt_min): Replace with use of DEFINE_FLT_MIN.
26325         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
26326         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
26327         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26328         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
26329         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
26330         (flt_min): Replace with use of DEFINE_FLT_MIN.
26331         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
26332         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
26333         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
26334         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
26335         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
26336         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
26337         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
26338         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
26339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26340         (__atan): Use DBL_CHECK_FORCE_UFLOW.
26341         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
26342         (flt_min): Replace with use of DEFINE_FLT_MIN.
26343         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
26344         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
26345         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26346         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
26347         main computation.
26348         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
26349         (flt_min): Replace with use of DEFINE_FLT_MIN.
26350         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
26351         main computation.
26352         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
26353         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26354         (MO): New macro.
26355         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
26356         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
26357         (flt_min): Replace with use of DEFINE_FLT_MIN.
26358         (MO): New macro.
26359         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
26360         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
26361         (__log1pl): Use MO.
26363         [BZ #19003]
26364         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
26365         $(config-cflags-nofma).
26367 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26369         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26371 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
26373         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
26374         (TWO127): Likewise.
26376         * sysdeps/generic/math_private.h (fabs_tg): New macro.
26377         (min_of_type): Likewise.
26378         (math_check_force_underflow): Likewise.
26379         (math_check_force_underflow_nonneg): Likewise.
26380         (math_check_force_underflow_complex): Likewise.
26381         * math/e_exp2l.c (__ieee754_exp2l): Use
26382         math_check_force_underflow_nonneg.
26383         * math/k_casinh.c (__kernel_casinh): Likewise.
26384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26386         * math/s_catan.c (__catan): Use
26387         math_check_force_underflow_complex.
26388         * math/s_catanf.c (__catanf): Likewise.
26389         * math/s_catanh.c (__catanh): Likewise.
26390         * math/s_catanhf.c (__catanhf): Likewise.
26391         * math/s_catanhl.c (__catanhl): Likewise.
26392         * math/s_catanl.c (__catanl): Likewise.
26393         * math/s_ccosh.c (__ccosh): Likewise.
26394         * math/s_ccoshf.c (__ccoshf): Likewise.
26395         * math/s_ccoshl.c (__ccoshl): Likewise.
26396         * math/s_cexp.c (__cexp): Likewise.
26397         * math/s_cexpf.c (__cexpf): Likewise.
26398         * math/s_cexpl.c (__cexpl): Likewise.
26399         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
26400         * math/s_clog10.c (__clog10): Likewise.
26401         * math/s_clog10f.c (__clog10f): Likewise.
26402         * math/s_clog10l.c (__clog10l): Likewise.
26403         * math/s_clogf.c (__clogf): Likewise.
26404         * math/s_clogl.c (__clogl): Likewise.
26405         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
26406         * math/s_csinf.c (__csinf): Likewise.
26407         * math/s_csinh.c (__csinh): Likewise.
26408         * math/s_csinhf.c (__csinhf): Likewise.
26409         * math/s_csinhl.c (__csinhl): Likewise.
26410         * math/s_csinl.c (__csinl): Likewise.
26411         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
26412         * math/s_csqrtf.c (__csqrtf): Likewise.
26413         * math/s_csqrtl.c (__csqrtl): Likewise.
26414         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
26415         * math/s_ctanf.c (__ctanf): Likewise.
26416         * math/s_ctanh.c (__ctanh): Likewise.
26417         * math/s_ctanhf.c (__ctanhf): Likewise.
26418         * math/s_ctanhl.c (__ctanhl): Likewise.
26419         * math/s_ctanl.c (__ctanl): Likewise.
26420         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
26421         instead of volatile.
26422         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
26423         math_check_force_underflow.
26424         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26425         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
26426         volatile when forcing underflow.
26427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26428         math_check_force_underflow_nonneg.
26429         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
26430         Likewise.
26431         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
26432         math_check_force_underflow.
26433         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26434         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26435         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26436         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
26437         math_check_force_underflow_nonneg.
26438         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
26439         math_check_force_underflow.
26440         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
26441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
26442         instead of volatile.
26443         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
26444         math_check_force_underflow.
26445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26446         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26447         math_check_force_underflow_nonneg.
26448         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
26449         math_check_force_underflow.
26450         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
26451         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26452         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
26453         math_check_force_underflow_nonneg.
26454         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26455         Likewise.
26456         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
26457         math_check_force_underflow.
26458         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26459         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26460         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
26461         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
26462         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
26463         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
26464         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
26465         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
26466         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26467         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
26468         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
26469         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
26470         Likewise.
26471         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
26472         math_check_force_underflow_nonneg.
26473         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26474         Likewise.
26475         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
26476         math_check_force_underflow.
26477         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26478         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
26479         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26480         Likewise.
26481         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
26482         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
26483         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
26484         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
26485         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
26486         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
26487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
26488         instead of volatile.
26489         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
26490         math_check_force_underflow.
26491         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
26492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
26493         math_check_force_underflow.
26494         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
26495         Likewise.
26496         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26497         Use math_check_force_underflow_nonneg.
26498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
26499         math_check_force_underflow.
26500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
26501         Likewise.
26502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26503         Likewise.
26504         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26505         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26506         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26507         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26508         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
26509         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26510         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
26511         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
26512         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
26513         math_check_force_underflow_nonneg.
26514         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
26515         math_check_force_underflow.
26516         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26517         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
26518         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
26519         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
26520         math_check_force_underflow_nonneg.
26521         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
26522         math_check_force_underflow.
26523         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
26524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
26525         instead of volatile.
26526         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
26527         math_check_force_underflow.
26529         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
26530         * stdlib/strtod_l.c: Include <math_private.h>.
26531         (overflow_value): Use math_narrow_eval.
26532         (underflow_value): Likewise.
26533         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26534         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26535         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
26536         (__ieee754_gamma_r): Likewise.
26537         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
26538         Likewise.
26539         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
26540         Likewise.
26541         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
26542         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
26543         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
26544         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
26545         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
26546         (__ieee754_gammaf_r): Likewise.
26547         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
26548         Likewise.
26549         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
26550         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
26551         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
26552         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
26553         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
26554         volatile.
26555         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
26556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
26557         math_narrow_eval.
26558         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26559         Likewise.
26560         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26561         Likewise.
26562         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
26563         Likewise.
26564         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
26565         volatile.
26566         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
26567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
26568         math_narrow_eval.
26569         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26570         Likewise.
26571         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26572         Likewise.
26574 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
26576         * nptl/Versions: Remove ignored symbols.
26578 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26580         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
26581         * nss/Makefile (tests): Update.
26583 2015-09-22  Florian Weimer  <fweimer@redhat.com>
26585         * nss/bug18287.c: New file.
26586         * nss/Makefile (tests): Add bug18287.
26588 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26590         * mach/Versions (__mach_host_self_): Add symbol.
26592 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26594         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
26595         vm_page_size.
26597 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26599         Really fix sysdeps/i386/fpu/s_scalbn.S build
26601         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
26602         (libc: GLIBC_2_22): Remove unused version set.
26604 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26606         * config.make.in (enable-timezone-tools): New variable.
26607         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
26608         (enable_timezone_tools): Export to generated files.
26609         * configure: Regenerate.
26610         * INSTALL: Regenerate.
26611         * manual/install.texi (--disable-timezone-tools): Document new flag.
26612         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
26613         ifeq ($(enable-timezone-tools),yes) check.
26615 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26617         * timezone/Makefile: Revert previous change.
26619         [BZ #18980]
26620         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
26621         (DEFINE_DBL_MIN): Likewise.
26622         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26623         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
26624         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26625         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
26626         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
26627         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26628         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26629         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
26630         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
26631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26632         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26633         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
26634         (flt_min): Replace with use of DEFINE_FLT_MIN.
26635         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26636         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
26637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
26638         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
26639         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
26640         (flt_min): Replace with use of DEFINE_FLT_MIN.
26641         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26642         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
26643         (flt_min): Replace with use of DEFINE_FLT_MIN.
26644         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
26645         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
26646         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
26647         (__ieee754_hypot): Use DBL_NARROW_EVAL.
26648         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
26649         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
26650         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
26651         (__ieee754_pow): Use DBL_NARROW_EVAL.
26652         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
26653         (__ieee754_powf): Use FLT_NARROW_EVAL.
26654         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
26655         (__ieee754_expf_sse2): Convert double-precision result to single
26656         precision.
26657         * sysdeps/i386/fpu/libm-test-ulps: Update.
26659 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26661         * timezone/Makefile: Ignore unused variable errors due to private.h
26662         (time_t_min) and (time_t_max).
26663         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
26664         Likewise.
26666 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26668         [BZ #18981]
26669         * sysdeps/i386/fpu/i386-math-asm.h: New file.
26670         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
26671         (__ieee754_scalb): Use DBL_NARROW_EVAL.
26672         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
26673         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
26674         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
26675         (__scalbn): Use DBL_NARROW_EVAL.
26676         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
26677         (__scalbnf): Use FLT_NARROW_EVAL.
26679 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26681         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
26682         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
26683         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
26684         * stdio-common/printf_fp.c (___printf_fp):
26685         Use signbit to get the sign. Use isinf macro to allow inlining.
26686         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
26687         * stdio-common/printf_size.c (__printf_size): Likewise.
26689 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26691         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
26693 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
26695         [BZ #18980]
26696         * sysdeps/generic/math_private.h: Include <float.h>.
26697         (math_narrow_eval): New macro.
26698         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
26699         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
26700         math_narrow_eval on overflowing return value.
26701         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
26702         Likewise.
26703         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26704         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
26705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
26706         Likewise.
26707         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
26709 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26711         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
26712         * math/Makefile: Remove isinf_ns.c.
26713         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
26714         * math/multc3.c (__multc3): Likewise.
26715         * math/s_casin.c (__casin): Likewise.
26716         * math/s_casinf.c (__casinf): Likewise.
26717         * math/s_casinl.c (__casinl): Likewise.
26718         * math/s_cproj.c (__cproj): Likewise.
26719         * math/s_cprojf.c (__cprojf): Likewise.
26720         * math/s_cprojl.c (__cprofl): Likewise.
26721         * math/s_ctan.c (__ctan): Likewise.
26722         * math/s_ctanf.c (__ctanf): Likewise.
26723         * math/s_ctanh.c (__ctanh): Likewise.
26724         * math/s_ctanhf.c (__ctanhf): Likewise.
26725         * math/s_ctanhl.c (__ctanhl): Likewise.
26726         * math/s_ctanl.c (__ctanl): Likewise.
26727         * math/w_fmod.c (__fmod): Likewise.
26728         * math/w_fmodf.c (__fmodf): Likewise.
26729         * math/w_fmodl.c (_fmodl): Likewise.
26730         * math/w_remainder.c (__remainder): Likewise.
26731         * math/w_remainderf.c (__remainderf): Likewise.
26732         * math/w_remainderl.c (__remainderl): Likewise.
26733         * math/w_scalb.c (__scalb): Likewise.
26734         * math/w_scalbf.c (__scalbf): Likewise.
26735         * math/w_scalbl.c (__scalbl): Likewise.
26736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
26737         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
26738         with isinf.
26739         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
26740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
26741         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
26742         __isinf_nsf with isinf.
26743         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
26744         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
26745         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
26746         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
26747         with isinf.
26748         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
26749         __isinf_nsl with isinf.
26750         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
26751         with isinf.
26752         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
26753         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
26754         __isinf_nsl with isinf.
26755         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
26756         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
26757         with isinf.
26759 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26761         * resolv/base64.c (rcsid): Remove unused static.
26762         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
26763         static.  (tqpi1): Likewise.
26764         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
26765         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
26766         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
26767         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
26768         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
26769         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
26770         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
26771         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
26772         Likewise.
26774 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
26776         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
26777         <nptl/pthreadP.h>.
26778         (_longjmp_unwind): Use __libc_ptf_call.
26779         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
26781 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
26783         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
26784         * sysdeps/arm/__longjmp.S: Likewise.
26786 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26788         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
26789         Use __builtin_signbit.
26790         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
26791         Use __builtin_signbitf.
26792         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
26793         Use __builtin_signbitl.
26794         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26795         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
26797 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26799         [BZ #15367]
26800         [BZ #17441]
26802         * math/Makefile: Build test-snan.c with -fsignaling-nans.
26803         * math/math.h (fpclassify): Use __builtin_fpclassify when
26804         available.  (signbit): Use __builtin_signbit(f/l).
26805         (isfinite): Use__builtin_isfinite.  (isnormal): Use
26806         __builtin_isnormal.  (isnan): Use __builtin_isnan.
26807         (isinf): Use __builtin_isinf_sign.
26809 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
26811         * benchtests/Makefile: Add bench-math-inlines, link with libm.
26812         * benchtests/bench-math-inlines.c: New benchmark.
26813         * benchtests/bench-util.h: New file.
26814         * benchtests/bench-util.c: New file.
26815         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
26817 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
26819         * elf/tst-dlmopen1.c: Define TEST_SO.
26820         (do_test): Use TEST_SO.
26822         * elf/dl-load.c: Include libc-internal.h.
26823         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
26825 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26827         [BZ #17887]
26828         * time/strptime_l.c (__strptime_internal): Make %z accept
26829         [+-]HH:MM time zones.
26831 2015-09-18  Vincent Bernat  <vincent@bernat.im>
26833         [BZ #17886]
26834         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
26835         valid time zone.
26837 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
26839         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
26840         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
26841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26842         (__ASSUME_FDATASYNC): Delete.
26844 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26846         * conform/linknamespace.pl: Require weak undefined symbols to be
26847         in the standard namespace.
26848         (%strong_syms): Rename to %seen_syms.
26849         (%strong_seen): Rename to %seen_where.
26851 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
26853         [BZ #18970]
26854         * misc/error.c (error): Replace pthread_setcancelstate with
26855         __pthread_setcancelstate.
26856         (error_at_line): Likewise.
26857         * posix/wordexp.c (parse_comm): Likewise.
26858         * stdlib/fmtmsg.c (fmtmsg): Likewise.
26859         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
26860         (__pthread_setcancelstate): This.
26861         (pthread_setcancelstate): Add an alias.
26862         * nptl/nptl-init.c (pthread_functions): Replace
26863         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
26864         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
26865         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
26866         hidden_proto.
26867         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
26868         it with hidden_def.
26869         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
26870         (pthread_setcancelstate): Renamed to ...
26871         (__pthread_setcancelstate): This.
26872         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
26873         __libc_ptf_call with __pthread_setcancelstate.
26875 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26876             Andreas Schwab  <schwab@suse.de>
26878         [BZ #17118]
26879         * math/s_ctan.c (__ctan): Determine sign of zero real part of
26880         result when imaginary part of argument is infinite using sine and
26881         cosine.
26882         * math/s_ctanf.c (__ctanf): Likewise.
26883         * math/s_ctanl.c (__ctanl): Likewise.
26884         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
26885         of result when real part of argument is infinite using sine and
26886         cosine.
26887         * math/s_ctanhf.c (__ctanhf): Likewise.
26888         * math/s_ctanhl.c (__ctanhl): Likewise.
26889         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
26890         (ctanh_test_data): Add more tests of ctanh.
26892 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
26894         [BZ #15384]
26895         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
26896         bit-mask as in subtraction.
26897         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
26898         Likewise.
26899         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
26900         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
26901         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
26903         [BZ #18951]
26904         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
26905         underflow exception for small results.
26906         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
26907         Likewise.
26908         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
26909         Likewise.
26910         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26911         Likewise.
26912         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26913         Likewise.
26914         * math/auto-libm-test-in: Add more tests of tgamma.
26915         * math/auto-libm-test-out: Regenerated.
26917 2015-09-17  Andreas Schwab  <schwab@suse.de>
26919         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
26921 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26923         [BZ #18977]
26924         * math/bits/mathcalls.h
26925         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
26926         not declare.
26927         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
26928         Likewise.
26929         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
26930         Likewise.
26931         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
26932         Likewise.
26933         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
26934         Likewise.
26935         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
26936         Likewise.
26937         * conform/data/math.h-data
26938         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
26939         function.
26940         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
26941         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26942         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
26943         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
26944         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
26945         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
26946         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
26947         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
26948         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
26949         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
26950         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
26952         [BZ #6803]
26953         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
26954         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
26955         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
26956         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
26957         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
26958         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
26959         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
26960         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
26961         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
26963         Likewise.
26964         [NO_LONG_DOUBLE] (scalbnl): Likewise.
26965         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
26966         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
26967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
26968         long_double_symbol calls.
26969         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
26970         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
26971         strong alias of __ldexpl.
26972         (scalbnl): Define using long_double_symbol.
26973         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
26974         Remove alias.
26975         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
26976         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
26977         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
26978         (scalbln_test_data): Add more errno expectations.
26980 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
26982         Cache the host port like we cache the task port.  This way we do not
26983         need to call the kernel just to get the port.  Furthermore, we no
26984         longer increase the reference count on every invocation of
26985         `mach_host_self'.
26987         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
26988         Protect declarations against the macro expansion.
26989         * mach/mach_init.c (__mach_host_self_): New variable.
26990         (mach_init): Initialize `__mach_host_self_'.
26991         * mach/mach_init.h (__mach_host_self_): New declaration.
26992         (__mach_host_self, mach_host_self): New macros.
26993         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
26994         Release reference.
26996 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
26998         [BZ #4404]
26999         * po/de.po: Update from Translation Project.
27001         [BZ #16415]
27002         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27003         (__expm1l): Remove code to handle positive infinity and overflow.
27004         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27005         variable.
27006         (__expm1l): Remove code to handle positive infinity and overflow.
27008 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27009             Paul Pluzhnikov  <ppluzhnikov@google.com>
27011         [BZ #18872]
27012         * stdio-common/Makefile (tst-printf-bz18872): New test.
27013         (tst-printf-bz18872-mem.out): Likewise.
27014         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27015         * stdio-common/vfprintf.c: Fix memory leaks.
27017 2015-09-16  Andreas Schwab  <schwab@suse.de>
27019         [BZ #17244]
27020         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27021         Remove extra va_start/va_end calls.
27023         [BZ #17243]
27024         * posix/execl.c (execl): Add missing va_end.
27025         * posix/execle.c (execle): Likewise.
27026         * posix/execlp.c (execlp): Likewise.
27028 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27030         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27031         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27033 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27035         [BZ #18967]
27036         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27037         undefine around includes of <bits/mathcalls.h>.
27038         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27039         not declare function.
27040         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27041         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27042         (scalb): Likewise.
27043         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27044         not define macro.
27045         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27046         variable.
27047         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27048         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27049         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27051         [BZ #18857]
27052         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
27053         return non-finite argument without doing ordered comparisons on
27054         it.
27056         [BZ #16296]
27057         * math/fenv.h (fegetround): Use __attribute_pure__.
27058         * include/fenv.h (__fegetround): Likewise.
27060         [BZ #18595]
27061         * math/s_ctan.c (__ctan): Force underflow exception for results
27062         whose real or imaginary part has small absolute value.
27063         * math/s_ctanf.c (__ctanf): Likewise.
27064         * math/s_ctanh.c (__ctanh): Likewise.
27065         * math/s_ctanhf.c (__ctanhf): Likewise.
27066         * math/s_ctanhl.c (__ctanhl): Likewise.
27067         * math/s_ctanl.c (__ctanl): Likewise.
27068         * math/auto-libm-test-in: Do not allow missing underflow for ctan
27069         and ctanh.  Add more tests of ctan and ctanh.
27071         [BZ #15918]
27072         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
27073         handling of cases where one argument is an infinity.
27075         [BZ #18875]
27076         [BZ #18966]
27077         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
27078         (MO): New macro.
27079         (__ieee754_exp10): For small results, force underflow exception
27080         and remove excess range and precision from return value.
27081         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
27082         (MO): New macro.
27083         (__ieee754_exp10f): For small results, force underflow exception
27084         and remove excess range and precision from return value.
27085         * math/auto-libm-test-in: Add more tests of exp10.
27086         * math/auto-libm-test-out: Regenerated.
27088 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #18875]
27091         [BZ #18961]
27092         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
27093         (MO): New macro.
27094         (__ieee754_exp): For small results, force underflow exception and
27095         remove excess range and precision from return value.
27096         (__exp_finite): Likewise.
27097         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
27098         (MO): New macro.
27099         (__ieee754_expf): For small results, force underflow exception and
27100         remove excess range and precision from return value.
27101         (__expf_finite): Likewise.
27102         * math/auto-libm-test-in: Add more tests of exp.
27103         * math/auto-libm-test-out: Regenerated.
27105         [BZ #16521]
27106         [BZ #18875]
27107         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
27108         small results.
27109         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
27110         (MO): New macro.
27111         (__ieee754_exp2): For small results, force underflow exception and
27112         remove excess range and precision from return value.
27113         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
27114         (MO): New macro.
27115         (__ieee754_exp2f): For small results, force underflow exception
27116         and remove excess range and precision from return value.
27117         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
27118         (MO): New macro.
27119         (__ieee754_exp2l): Force underflow exception for small results.
27120         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27121         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27122         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
27123         (MO): New macro.
27124         (__ieee754_exp2l): Force underflow exception for small results.
27125         * math/auto-libm-test-in: Add more tests or exp2.
27126         * math/auto-libm-test-out: Regenerated.
27128 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
27130         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
27132         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
27133         /dev/null.
27135 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27137         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27138         io fs process)): Drop spurious backslash.
27140 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
27143         Use sysinfo system call instead of parsing /proc/meminfo.
27144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
27145         Likewise.
27147 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
27149         [BZ #16985]
27150         * programs/localedef.c (main): Display argv[remaining] when
27151         output_path is NULL.
27153 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27155         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27156         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
27157         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
27158         tanh.
27159         * math/auto-libm-test-out: Regenerated.
27160         * sysdeps/i386/fpu/libm-test-ulps: Update.
27161         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27162         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27165 2015-09-11  Roland McGrath  <roland@hack.frob.com>
27167         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
27168         Use 'override' keyword to freeze the value here, preventing
27169         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
27171 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
27173         [BZ #14912]
27174         * sysdeps/aarch64/bits/atomic.h: Move to ...
27175         * sysdeps/aarch64/atomic-machine.h: ...here.
27176         (_AARCH64_BITS_ATOMIC_H): Rename macro to
27177         _AARCH64_ATOMIC_MACHINE_H.
27178         * sysdeps/alpha/bits/atomic.h: Move to ...
27179         * sysdeps/alpha/atomic-machine.h: ...here.
27180         * sysdeps/arm/bits/atomic.h: Move to ...
27181         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
27182         * bits/atomic.h: Move to ...
27183         * sysdeps/generic/atomic-machine.h: ...here.
27184         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27185         * sysdeps/i386/bits/atomic.h: Move to ...
27186         * sysdeps/i386/atomic-machine.h: ...here.
27187         * sysdeps/ia64/bits/atomic.h: Move to ...
27188         * sysdeps/ia64/atomic-machine.h: ...here.
27189         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
27190         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
27191         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27192         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
27193         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
27194         * sysdeps/microblaze/bits/atomic.h: Move to ...
27195         * sysdeps/microblaze/atomic-machine.h: ...here.
27196         * sysdeps/mips/bits/atomic.h: Move to ...
27197         * sysdeps/mips/atomic-machine.h: ...here.
27198         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
27199         * sysdeps/powerpc/bits/atomic.h: Move to ...
27200         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
27201         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
27202         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
27203         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
27204         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
27205         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
27206         <atomic-machine.h> instead of <bits/atomic.h>.
27207         * sysdeps/s390/bits/atomic.h: Move to ...
27208         * sysdeps/s390/atomic-machine.h: ...here.
27209         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
27210         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
27211         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27212         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
27213         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
27214         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
27215         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
27216         * sysdeps/tile/bits/atomic.h: Move to ...
27217         * sysdeps/tile/atomic-machine.h: ...here.
27218         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
27219         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
27220         <sysdeps/tile/atomic-machine.h> instead of
27221         <sysdeps/tile/bits/atomic.h>.
27222         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27223         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
27224         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
27225         <sysdeps/tile/atomic-machine.h> instead of
27226         <sysdeps/tile/bits/atomic.h>.
27227         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27228         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
27229         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
27230         <sysdeps/arm/atomic-machine.h> instead of
27231         <sysdeps/arm/bits/atomic.h>.
27232         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
27233         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
27234         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27235         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
27236         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
27237         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
27238         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
27239         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
27240         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
27241         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
27242         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
27243         * sysdeps/x86_64/bits/atomic.h: Move to ...
27244         * sysdeps/x86_64/atomic-machine.h: ...here.
27245         * include/atomic.h: Include <atomic-machine.h> instead of
27246         <bits/atomic.h>.
27248         * sysdeps/mips/mips32/libm-test-ulps: Update.
27249         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27251         [BZ #18952]
27252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
27253         not convert non-integer negative arguments to int to determine the
27254         value of signgam.
27255         * math/auto-libm-test-in: Add more tests of lgamma.
27256         * math/auto-libm-test-out: Regenerated.
27258         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
27259         cosh, csqrt, erfc, expm1 and lgamma.
27260         * math/auto-libm-test-out: Regenerated.
27261         * sysdeps/i386/fpu/libm-test-ulps: Update.
27262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #2542]
27267         [BZ #2543]
27268         [BZ #2558]
27269         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
27270         __lgamma_neg for arguments from -28.0 to -2.0.
27271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
27272         __lgamma_negf for arguments from -15.0 to -2.0.
27273         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27274         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
27275         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
27276         Call __lgamma_negl for arguments from -33.0 to -2.0.
27277         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
27278         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
27279         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
27280         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
27281         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
27282         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
27284         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
27285         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
27286         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
27287         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
27288         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
27289         (__lgamma_neg): Likewise.
27290         (__lgamma_negl): Likewise.
27291         (__lgamma_product): Likewise.
27292         (__lgamma_productl): Likewise.
27293         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
27294         * math/auto-libm-test-in: Add more tests of lgamma.
27295         * math/auto-libm-test-out: Regenerated.
27296         * sysdeps/i386/fpu/libm-test-ulps: Update.
27297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27299 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
27301         [BZ #18675]
27302         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
27304 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
27306         [BZ #14912]
27307         * bits/libc-lock.h: Move to ...
27308         * sysdeps/generic/libc-lock.h: ...here.
27309         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27310         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
27311         * sysdeps/mach/hurd/libc-lock.h: ...here.
27312         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27313         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
27314         * sysdeps/mach/bits/libc-lock.h: Move to ...
27315         * sysdeps/mach/libc-lock.h: ...here.
27316         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27317         * sysdeps/nptl/bits/libc-lock.h: Move to ...
27318         * sysdeps/nptl/libc-lock.h: ...here.
27319         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
27320         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
27321         * sysdeps/nptl/libc-lockP.h: ...here.
27322         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
27323         * crypt/crypt_util.c: Include <libc-lock.h> instead of
27324         <bits/libc-lock.h>.
27325         * dirent/scandir-tail.c: Likewise.
27326         * dlfcn/dlerror.c: Likewise.
27327         * elf/dl-close.c: Likewise.
27328         * elf/dl-iteratephdr.c: Likewise.
27329         * elf/dl-lookup.c: Likewise.
27330         * elf/dl-open.c: Likewise.
27331         * elf/dl-support.c: Likewise.
27332         * elf/dl-writev.h: Likewise.
27333         * elf/rtld.c: Likewise.
27334         * grp/fgetgrent.c: Likewise.
27335         * gshadow/fgetsgent.c: Likewise.
27336         * gshadow/sgetsgent.c: Likewise.
27337         * iconv/gconv_conf.c: Likewise.
27338         * iconv/gconv_db.c: Likewise.
27339         * iconv/gconv_dl.c: Likewise.
27340         * iconv/gconv_int.h: Likewise.
27341         * iconv/gconv_trans.c: Likewise.
27342         * include/link.h: Likewise.
27343         * inet/getnameinfo.c: Likewise.
27344         * inet/getnetgrent.c: Likewise.
27345         * inet/getnetgrent_r.c: Likewise.
27346         * intl/bindtextdom.c: Likewise.
27347         * intl/dcigettext.c: Likewise.
27348         * intl/finddomain.c: Likewise.
27349         * intl/gettextP.h: Likewise.
27350         * intl/loadmsgcat.c: Likewise.
27351         * intl/localealias.c: Likewise.
27352         * intl/textdomain.c: Likewise.
27353         * libidn/idn-stub.c: Likewise.
27354         * libio/libioP.h: Likewise.
27355         * locale/duplocale.c: Likewise.
27356         * locale/freelocale.c: Likewise.
27357         * locale/newlocale.c: Likewise.
27358         * locale/setlocale.c: Likewise.
27359         * login/getutent_r.c: Likewise.
27360         * login/getutid_r.c: Likewise.
27361         * login/getutline_r.c: Likewise.
27362         * login/utmp-private.h: Likewise.
27363         * login/utmpname.c: Likewise.
27364         * malloc/mtrace.c: Likewise.
27365         * misc/efgcvt.c: Likewise.
27366         * misc/error.c: Likewise.
27367         * misc/fstab.c: Likewise.
27368         * misc/getpass.c: Likewise.
27369         * misc/mntent.c: Likewise.
27370         * misc/syslog.c: Likewise.
27371         * nis/nis_call.c: Likewise.
27372         * nis/nis_callback.c: Likewise.
27373         * nis/nss-default.c: Likewise.
27374         * nis/nss_compat/compat-grp.c: Likewise.
27375         * nis/nss_compat/compat-initgroups.c: Likewise.
27376         * nis/nss_compat/compat-pwd.c: Likewise.
27377         * nis/nss_compat/compat-spwd.c: Likewise.
27378         * nis/nss_nis/nis-alias.c: Likewise.
27379         * nis/nss_nis/nis-ethers.c: Likewise.
27380         * nis/nss_nis/nis-grp.c: Likewise.
27381         * nis/nss_nis/nis-hosts.c: Likewise.
27382         * nis/nss_nis/nis-network.c: Likewise.
27383         * nis/nss_nis/nis-proto.c: Likewise.
27384         * nis/nss_nis/nis-pwd.c: Likewise.
27385         * nis/nss_nis/nis-rpc.c: Likewise.
27386         * nis/nss_nis/nis-service.c: Likewise.
27387         * nis/nss_nis/nis-spwd.c: Likewise.
27388         * nis/nss_nisplus/nisplus-alias.c: Likewise.
27389         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
27390         * nis/nss_nisplus/nisplus-grp.c: Likewise.
27391         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
27392         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
27393         * nis/nss_nisplus/nisplus-network.c: Likewise.
27394         * nis/nss_nisplus/nisplus-proto.c: Likewise.
27395         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
27396         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
27397         * nis/nss_nisplus/nisplus-service.c: Likewise.
27398         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
27399         * nis/ypclnt.c: Likewise.
27400         * nptl/libc_pthread_init.c: Likewise.
27401         * nss/getXXbyYY.c: Likewise.
27402         * nss/getXXent.c: Likewise.
27403         * nss/getXXent_r.c: Likewise.
27404         * nss/nss_db/db-XXX.c: Likewise.
27405         * nss/nss_db/db-netgrp.c: Likewise.
27406         * nss/nss_db/nss_db.h: Likewise.
27407         * nss/nss_files/files-XXX.c: Likewise.
27408         * nss/nss_files/files-alias.c: Likewise.
27409         * nss/nsswitch.c: Likewise.
27410         * posix/regex_internal.h: Likewise.
27411         * posix/wordexp.c: Likewise.
27412         * pwd/fgetpwent.c: Likewise.
27413         * resolv/res_hconf.c: Likewise.
27414         * resolv/res_libc.c: Likewise.
27415         * shadow/fgetspent.c: Likewise.
27416         * shadow/lckpwdf.c: Likewise.
27417         * shadow/sgetspent.c: Likewise.
27418         * socket/opensock.c: Likewise.
27419         * stdio-common/reg-modifier.c: Likewise.
27420         * stdio-common/reg-printf.c: Likewise.
27421         * stdio-common/reg-type.c: Likewise.
27422         * stdio-common/vfprintf.c: Likewise.
27423         * stdio-common/vfscanf.c: Likewise.
27424         * stdlib/abort.c: Likewise.
27425         * stdlib/cxa_atexit.c: Likewise.
27426         * stdlib/fmtmsg.c: Likewise.
27427         * stdlib/random.c: Likewise.
27428         * stdlib/setenv.c: Likewise.
27429         * string/strsignal.c: Likewise.
27430         * sunrpc/auth_none.c: Likewise.
27431         * sunrpc/bindrsvprt.c: Likewise.
27432         * sunrpc/create_xid.c: Likewise.
27433         * sunrpc/key_call.c: Likewise.
27434         * sunrpc/rpc_thread.c: Likewise.
27435         * sysdeps/arm/backtrace.c: Likewise.
27436         * sysdeps/generic/ldsodefs.h: Likewise.
27437         * sysdeps/generic/stdio-lock.h: Likewise.
27438         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
27439         * sysdeps/i386/backtrace.c: Likewise.
27440         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27441         * sysdeps/m68k/backtrace.c: Likewise.
27442         * sysdeps/mach/hurd/cthreads.c: Likewise.
27443         * sysdeps/mach/hurd/dirstream.h: Likewise.
27444         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27445         * sysdeps/nptl/malloc-machine.h: Likewise.
27446         * sysdeps/nptl/stdio-lock.h: Likewise.
27447         * sysdeps/posix/dirstream.h: Likewise.
27448         * sysdeps/posix/getaddrinfo.c: Likewise.
27449         * sysdeps/posix/system.c: Likewise.
27450         * sysdeps/pthread/aio_suspend.c: Likewise.
27451         * sysdeps/s390/s390-32/backtrace.c: Likewise.
27452         * sysdeps/s390/s390-64/backtrace.c: Likewise.
27453         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27454         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27455         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
27456         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
27457         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
27458         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27459         * sysdeps/unix/sysv/linux/system.c: Likewise.
27460         * sysdeps/x86_64/backtrace.c: Likewise.
27461         * time/alt_digit.c: Likewise.
27462         * time/era.c: Likewise.
27463         * time/tzset.c: Likewise.
27464         * wcsmbs/wcsmbsload.c: Likewise.
27465         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
27466         instead of <bits/libc-lock.h> in comment.
27468 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
27470         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
27471         Only use .set mips2 if the current ISA is below mips2.
27472         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
27473         Likewise.
27474         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
27475         mips32r2 if the current ISA is below mips32r2.
27476         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
27477         (TLS_IE): Updated to use the TLD_RDHWR macro.
27478         (TLS_LE): Likewise.
27479         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
27480         __ASSEMBLER__ condition.
27482 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27484         Fix parallel build of before-compile targets.
27486         * sysdeps/mach/Makefile ($(patsubst
27487         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
27488         mach-before-compile target.
27489         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27490         io fs process)): Move rule to dedicated hurd-before-compile target.
27492 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27494         Fix rules generating headers in hurd/ and mach/ when initial make call
27495         has subdir= explicitly set.
27497         * sysdeps/mach/Makefile ($(patsubst
27498         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
27499         calling $(MAKE).
27500         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
27501         io fs process)): Force subdir to hurd when calling $(MAKE).
27502         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
27503         subdir to mach when calling $(MAKE).
27505 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
27507         Check sysheaders when looking for Mach and Hurd headers
27509         * sysdeps/mach/configure.ac: Add sysheaders check.
27510         * sysdeps/mach/configure: Regenerate.
27511         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
27512         * sysdeps/mach/hurd/configure: Regenerate.
27514 2015-09-04  Roland McGrath  <roland@hack.frob.com>
27516         [BZ #18921]
27517         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
27518         Fix inverted sense of test of 'o_directory_works' value.
27519         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
27520         Bernhard Voelker <mail@bernhard-voelker.de>.
27522 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #14912]
27525         * bits/linkmap.h: Move to ...
27526         * sysdeps/generic/linkmap.h: ...here.
27527         * sysdeps/aarch64/bits/linkmap.h: Move to ...
27528         * sysdeps/aarch64/linkmap.h: ...here.
27529         * sysdeps/arm/bits/linkmap.h: Move to ...
27530         * sysdeps/arm/linkmap.h: ...here.
27531         * sysdeps/hppa/bits/linkmap.h: Move to ...
27532         * sysdeps/hppa/linkmap.h: ...here.
27533         * sysdeps/ia64/bits/linkmap.h: Move to ...
27534         * sysdeps/ia64/linkmap.h: ...here.
27535         * sysdeps/mips/bits/linkmap.h: Move to ...
27536         * sysdeps/mips/linkmap.h: ...here.
27537         * sysdeps/s390/bits/linkmap.h: Move to ...
27538         * sysdeps/s390/linkmap.h: ...here.
27539         * sysdeps/sh/bits/linkmap.h: Move to ...
27540         * sysdeps/sh/linkmap.h: ...here.
27541         * sysdeps/x86/bits/linkmap.h: Move to ...
27542         * sysdeps/x86/linkmap.h: ...here.
27543         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
27545 2015-09-04  Andreas Schwab  <schwab@suse.de>
27547         [BZ #18635]
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
27549         (__makecontext): Terminate FDE before return label.
27550         (__novec_makecontext): Likewise.
27552 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27554         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
27555         first member of struct sv in syscall macro.
27557 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
27559         [BZ #14912]
27560         * bits/stdio-lock.h: Move to ...
27561         * sysdeps/generic/stdio-lock.h: ...here.
27562         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27563         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
27564         * sysdeps/nptl/stdio-lock.h: ...here.
27565         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
27566         * include/libio.h: Include <stdio-lock.h> instead of
27567         <bits/stdio-lock.h>.
27568         * sysdeps/nptl/fork.c: Likewise.
27569         * sysdeps/pthread/flockfile.c: Likewise.
27570         * sysdeps/pthread/ftrylockfile.c: Likewise.
27571         * sysdeps/pthread/funlockfile.c: Likewise.
27573         [BZ #14912]
27574         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
27575         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
27576         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
27577         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
27578         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
27579         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27580         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
27582 2015-09-03  Roland McGrath  <roland@hack.frob.com>
27584         * elf/Makefile (test-xfail-tst-protected1a): New variable.
27585         (test-xfail-tst-protected1b): New variable.
27587 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
27589         [BZ #14912]
27590         * bits/libc-tsd.h: Move to ...
27591         * sysdeps/generic/libc-tsd.h: ...here.
27592         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
27593         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
27594         * sysdeps/mach/hurd/libc-tsd.h: ...here.
27595         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
27596         * include/ctype.h: Include <libc-tsd.h> instead of
27597         <bits/libc-tsd.h>.
27598         * include/rpc/rpc.h: Likewise.
27599         * locale/localeinfo.h: Likewise.
27600         * sunrpc/rpc_thread.c: Likewise.
27601         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
27602         * sysdeps/nptl/malloc-machine.h: Likewise.
27604         * Makefile (headers): Remove bits/libc-lock.h.
27605         * libio/Makefile (headers): Remove bits/stdio-lock.h.
27607         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
27608         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
27609         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
27610         <bits/stdio-lock.h>.
27611         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
27612         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
27614 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27616         [BZ #18757]
27617         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
27618         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
27619         BZ #18757.
27621 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
27623         * malloc/mtrace.pl: Filter out NULL entries.
27625 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
27627         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
27628         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
27629         macro.
27631         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
27632         (TCP_CC_INFO): Likewise.
27633         (TCP_SAVE_SYN): Likewise.
27634         (TCP_SAVED_SYN): Likewise.
27636 2015-08-31  Brett Neumeier <brett@neumeier.us>
27638         [BZ #18870]
27639         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
27641 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
27643         [BZ #18873]
27644         Fix broken overflow check in posix_fallocate
27645         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
27646         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27647         Fix parenthesization typo.
27649 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
27651         [BZ #18887]
27652         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
27653         tst-mntent-blank-passno.
27654         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
27655         * misc/tst-mntent-blank-corrupt.c: New test.
27656         * misc/tst-mntent-blank-passno.c: New test ripped from ...
27657         * misc/tst-mntent.c (do_test): ... here.
27659 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
27661         [BZ #4404]
27662         * po/de.po: Fix SIGALRM typo.
27664 2015-08-28  James Perkins  <james@loowit.net>
27666         * time/tst-strptime2.c (tests): Replace short list of test
27667         strings for strptime %z specifier with code which exhaustively
27668         tests every combination of sign and 0 to 5 digits. Tests for
27669         rejection of invalid strings.
27671 2015-08-28  James Perkins  <james@loowit.net>
27673         [BZ #16141]
27674         * time/strptime_l.c (__strptime_internal): Fix %z minutes
27675         calculation, removing incorrect decimal time rounding, so that
27676         all minute values result in a valid seconds value.
27677         * time/strptime_l.c (__strptime_internal): Extend %z time zone
27678         offset range limits to UTC-99:59 through UTC+99:59 to parse
27679         current and historical use cases.
27680         * time/tst-strptime2.c (tests): Modify and add tests for the
27681         strptime %z input field descriptor, specifically conversion of
27682         minutes to seconds and validating an offset range of -9959 to
27683         +9959.
27685 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27686             Dmitry V. Levin  <ldv@altlinux.org>
27688         [BZ #18877]
27689         * posix/Makefile (tests): Add tst-mmap-offset.
27690         * posix/tst-mmap.c: New file.
27691         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
27692         offset calculation for negative values.
27694 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27696         * sysdeps/i386/init-arch.h: New file.
27697         * sysdeps/i386/i586/init-arch.h: Likewise.
27698         * sysdeps/i386/i686/init-arch.h: Likewise.
27699         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
27700         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
27701         * sysdeps/x86/cpu-features.h (bit_I586): New.
27702         (bit_I686): Likewise.
27703         (bit_CX8): Likewise.
27704         (bit_CMOV): Likewise.
27705         (index_CX8): Likewise.
27706         (index_CMOV): Likewise.
27707         (index_I586): Likewise.
27708         (index_I686): Likewise.
27709         (reg_CX8): Likewise.
27710         (reg_CMOV): Likewise.
27711         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
27712         available at compile-time.
27713         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
27714         available at compile-time.
27715         * sysdeps/x86/init-arch.h (USE_I586): New macro.
27716         (USE_I686): Likewise.
27718 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27720         * sysdeps/i386/bcopy.S: New file.
27721         * sysdeps/i386/bzero.S: Likewise.
27722         * sysdeps/i386/memcpy.S: Likewise.
27723         * sysdeps/i386/memmove.S: Likewise.
27724         * sysdeps/i386/mempcpy.S: Likewise.
27725         * sysdeps/i386/memset.S: Likewise.
27726         * sysdeps/i386/bzero.c: Removed.
27727         * sysdeps/i386/memset.c: Likewise.
27728         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
27729         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
27730         * sysdeps/i386/i586/memset_chk.S: Likewise.
27731         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
27732         * sysdeps/i386/memcpy_chk.S: Here.
27733         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
27734         * sysdeps/i386/memmove_chk.S: Here.
27735         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
27736         * sysdeps/i386/mempcpy_chk.S: Likewise.
27737         * sysdeps/i386/i686/memset_chk.S: Moved to ...
27738         * sysdeps/i386/memset_chk.S: Likewise.
27740 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
27742         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
27743         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
27744         file, move DIAG_POP_NEEDS_COMMENT to end of file.
27745         * soft-fp/fmadf4.c: Ditto.
27746         * soft-fp/fmatf4.c: Ditto.
27748 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27750         * sysdeps/i386/i586/Implies: Removed.
27751         * sysdeps/i386/i686/Implies: Likewise.
27753 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27755         * sysdeps/i386/i486/strlen.S: Moved to ...
27756         * sysdeps/i386/strlen.S: Here.
27758 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27760         * sysdeps/i386/i486/strcat.S: Moved to ...
27761         * sysdeps/i386/strcat.S: Here.
27763 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27765         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
27766         * sysdeps/i386/pthread_spin_trylock.S: Here.
27767         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
27768         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
27770 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27772         * sysdeps/i386/i486/string-inlines.c: Moved to ...
27773         * sysdeps/i386/string-inlines.c: Here.
27775 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27777         * sysdeps/i386/i486/htonl.S: Moved ...
27778         * sysdeps/i386/htonl.S: here.
27780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27782         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
27783         * sysdeps/i386/bits/atomic.h: Here.
27785 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27787         * sysdeps/i386/i486/Versions: Removed.
27789 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27791         [BZ #2898]
27792         * misc/mktemp.c: Add mkdtemp to the link_warning message.
27793         Based on patch by Aurelien Jarno.
27795 2015-08-26  Stan Shebs  <stanshebs@google.com>
27797         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
27798         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27800 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27802         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
27803         * sysdeps/powerpc/dl-procinfo.c:
27804         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
27805         feature so it shows when LD_SHOW_AUXV=1.
27807 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27809         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27810         (__arch_compare_and_exchange_val_32_acq): Remove and use common
27811         definition.  ISA 2.07B no longer requires full sync.
27813 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
27815         [BZ #18863]
27816         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
27817         (si_call_addr): Define.
27818         (si_syscall): Define.
27819         (si_arch): Define.
27821 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27823         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
27824         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
27825         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
27826         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27827         (__memset_zero_constant_len_parameter): New.
27828         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
27829         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
27830         (__memset_zero_constant_len_parameter): Don't define if
27831         __memset_chk or USE_AS_BZERO are defined.
27833         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
27834         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
27835         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
27837         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
27838         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
27839         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
27840         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
27841         comments.
27842         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
27843         -mno-mmx for $(all-rtld-routines).
27844         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
27845         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
27846         i386.
27848 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
27850         * sysdeps/generic/unwind.h
27851         (_Unwind_Word): Use __mode__(__unwind_word__)
27852         instead of __mode__(__word__).
27853         (_Unwind_Sword): Likewise.
27855         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27856         (MAX_NEEDED_INPUT): New define.
27857         (MAX_NEEDED_OUTPUT): New define.
27859         * NEWS: New item for IBM z13 string optimizations.
27861         * sysdeps/s390/multiarch/memrchr-c.c: New File.
27862         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
27863         * sysdeps/s390/multiarch/memrchr.c: Likewise.
27864         * sysdeps/s390/multiarch/Makefile
27865         (sysdep_routines): Add memrchr functions.
27866         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27867         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
27869         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
27870         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
27871         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
27872         * sysdeps/s390/multiarch/Makefile
27873         (sysdep_routines): Add wmemcmp functions.
27874         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27875         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
27876         * benchtests/bench-wmemcmp.c: New File.
27877         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
27879         * sysdeps/s390/multiarch/wmemset-c.c: New File.
27880         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
27881         * sysdeps/s390/multiarch/wmemset.c: Likewise.
27882         * sysdeps/s390/multiarch/Makefile
27883         (sysdep_routines): Add wmemset functions.
27884         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27885         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
27886         * wcsmbs/wmemset.c: Use WMEMSET if defined.
27887         * string/test-memset.c: Add wmemset support.
27888         * wcsmbs/test-wmemset.c: New File.
27889         * wcsmbs/Makefile (strop-tests): Add wmemset.
27890         * benchtests/bench-memset.c: Add wmemset support.
27891         * benchtests/bench-wmemset.c: New File.
27892         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
27894         * sysdeps/s390/multiarch/memccpy-c.c: New File.
27895         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
27896         * sysdeps/s390/multiarch/memccpy.c: Likewise.
27897         * sysdeps/s390/multiarch/Makefile
27898         (sysdep_routines): Add memccpy functions.
27899         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27900         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27901         * string/memccpy.c: Use MEMCCPY if defined.
27903         * sysdeps/s390/multiarch/memchr-vx.S: New File.
27904         * sysdeps/s390/multiarch/memchr.c: Likewise.
27905         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
27906         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
27907         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
27908         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
27909         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
27910         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
27911         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
27912         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
27913         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
27914         and rawmemchr functions.
27915         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
27916         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
27917         and wmemchr.
27918         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
27919         * string/test-memchr.c: Add wmemchr support.
27920         * wcsmbs/test-wmemchr.c: New File.
27921         * wcsmbs/Makefile (strop-tests): Add wmemchr.
27922         * benchtests/bench-memchr.c: Add wmemchr support.
27923         * benchtests/bench-wmemchr.c: New File.
27924         * benchtests/Makefile (wcsmbs-bench): wmemchr.
27926         * sysdeps/s390/multiarch/strcspn-c.c: New File.
27927         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
27928         * sysdeps/s390/multiarch/strcspn.c: Likewise.
27929         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
27930         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
27931         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
27932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
27933         wcscspn functions.
27934         * sysdeps/s390/multiarch/ifunc-impl-list.c
27935         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
27936         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
27937         * string/test-strcspn.c: Add wcscspn support.
27938         * wcsmbs/test-wcscspn.c: New File.
27939         * wcsmbs/Makefile (strop-tests): Add wcscspn.
27940         * benchtests/bench-strcspn.c: Add wcscspn support.
27941         * benchtests/bench-wcscspn.c: New File.
27942         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
27944         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
27945         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
27946         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
27947         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
27948         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
27949         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
27950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
27951         wcspbrk functions.
27952         * sysdeps/s390/multiarch/ifunc-impl-list.c
27953         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
27954         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
27955         * string/test-strpbrk.c: Add wcspbrk support.
27956         * wcsmbs/test-wcspbrk.c: New File.
27957         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
27958         * benchtests/bench-strpbrk.c: Add wcspbrk support.
27959         * benchtests/bench-wcspbrk.c: New File.
27960         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
27962         * sysdeps/s390/multiarch/strspn-c.c: New File.
27963         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
27964         * sysdeps/s390/multiarch/strspn.c: Likewise.
27965         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
27966         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
27967         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
27968         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
27969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
27970         wcsspn functions.
27971         * sysdeps/s390/multiarch/ifunc-impl-list.c
27972         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
27973         * string/test-strspn.c: Add wcsspn support.
27974         * wcsmbs/test-wcsspn.c: New File.
27975         * wcsmbs/Makefile (strop-tests): Add wcsspn.
27976         * benchtests/bench-strspn.c: Add wcsspn support.
27977         * benchtests/bench-wcsspn.c: New File.
27978         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
27980         * sysdeps/s390/multiarch/strrchr-c.c: New File.
27981         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
27982         * sysdeps/s390/multiarch/strrchr.c: Likewise.
27983         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
27984         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
27985         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
27986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
27987         wcsrchr functions.
27988         * sysdeps/s390/multiarch/ifunc-impl-list.c
27989         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
27990         * benchtests/bench-wcsrchr.c: New File.
27991         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
27993         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
27994         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
27995         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
27996         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
27997         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
27998         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
27999         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28000         wcschrnul functions.
28001         * sysdeps/s390/multiarch/ifunc-impl-list.c
28002         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28003         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28004         * string/test-strchr.c: Add wcschrnul support.
28005         * wcsmbs/test-wcschrnul.c: New File.
28006         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28007         * benchtests/bench-strchr.c: Add wcschrnul support.
28008         * benchtests/bench-wcschrnul.c: New File.
28009         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28011         * sysdeps/s390/multiarch/strchr-c.c: New File.
28012         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28013         * sysdeps/s390/multiarch/strchr.c: Likewise.
28014         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28015         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28016         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28018         wcschr functions.
28019         * sysdeps/s390/multiarch/ifunc-impl-list.c
28020         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28021         * string/strchr.c (STRCHR): Define and use macro.
28022         * benchtests/bench-wcschr.c: New File.
28023         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28025         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28026         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28027         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28028         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28029         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28030         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28032         wcsncmp functions.
28033         * sysdeps/s390/multiarch/ifunc-impl-list.c
28034         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28035         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28036         * benchtests/bench-strncmp.c: Add wcsncmp support.
28037         * benchtests/bench-wcsncmp.c: New File.
28038         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28040         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28041         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28042         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28043         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28044         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28045         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28046         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28048         wcscmp functions.
28049         * sysdeps/s390/multiarch/ifunc-impl-list.c
28050         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
28051         * string/strcmp.c (STRCMP): Define and use macro.
28052         * benchtests/bench-wcscmp.c: New File.
28053         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
28054         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
28055         instead of _HAVE_STRING_ARCH_memchr.
28057         * sysdeps/s390/multiarch/strncat-c.c: New File.
28058         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
28059         * sysdeps/s390/multiarch/strncat.c: Likewise.
28060         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
28061         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
28062         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
28063         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
28064         wcsncat functions.
28065         * sysdeps/s390/multiarch/ifunc-impl-list.c
28066         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
28067         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
28068         * string/test-strncat.c: Add wcsncat support.
28069         * wcsmbs/test-wcsncat.c: New File.
28070         * wcsmbs/Makefile (strop-tests): Add wcsncat.
28071         * benchtests/bench-strncat.c: Add wcsncat support.
28072         * benchtests/bench-wcsncat.c: New File.
28073         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
28075         * sysdeps/s390/multiarch/strcat-c.c: New File.
28076         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
28077         * sysdeps/s390/multiarch/strcat.c: Likewise.
28078         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
28079         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
28080         * sysdeps/s390/multiarch/wcscat.c: Likewise.
28081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
28082         wcscat functions.
28083         * sysdeps/s390/multiarch/ifunc-impl-list.c
28084         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
28085         * string/strcat.c (STRCAT): Define and use macro.
28086         * wcsmbs/wcscat.c: Use WCSCAT if defined.
28087         * string/test-strcat.c: Add wcscat support.
28088         * wcsmbs/test-wcscat.c: New File.
28089         * wcsmbs/Makefile (strop-tests): Add wcscat.
28090         * benchtests/bench-strcat.c: Add wcscat support.
28091         * benchtests/bench-wcscat.c: New File.
28092         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
28094         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
28095         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
28096         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
28097         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
28098         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
28099         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
28100         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
28101         wcpncpy functions.
28102         * sysdeps/s390/multiarch/ifunc-impl-list.c
28103         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
28104         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
28105         * string/test-stpncpy.c: Add wcpncpy support.
28106         * wcsmbs/test-wcpncpy.c: New File.
28107         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
28108         * benchtests/bench-stpncpy.c: Add wcpncpy support.
28109         * benchtests/bench-wcpncpy.c: New File.
28110         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
28112         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
28113         * sysdeps/s390/multiarch/strncpy.c: Likewise.
28114         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
28115         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
28116         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
28117         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
28118         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
28119         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
28120         wcsncpy functions.
28121         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
28122         * sysdeps/s390/multiarch/ifunc-impl-list.c
28123         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
28124         * string/test-strncpy.c: Add wcsncpy support.
28125         * wcsmbs/test-wcsncpy.c: New File.
28126         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
28127         * benchtests/bench-strncpy.c: Add wcsncpy support.
28128         * benchtests/bench-wcsncpy.c: New File.
28129         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
28131         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
28132         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
28133         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
28134         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
28135         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
28136         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
28137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
28138         wcpcpy functions.
28139         * string/stpcpy.c: Use STPCPY if defined.
28140         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
28141         * sysdeps/s390/multiarch/ifunc-impl-list.c
28142         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
28143         * string/test-stpcpy.c: Add wcpcpy support.
28144         * wcsmbs/test-wcpcpy.c: New File.
28145         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
28146         * benchtests/bench-stpcpy.c: Add wcpcpy support.
28147         * benchtests/bench-wcpcpy.c: New File.
28148         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
28150         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
28151         * sysdeps/s390/multiarch/strcpy.c: Likewise.
28152         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
28153         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
28154         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
28155         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
28156         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
28157         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
28158         wcscpy functions.
28159         * sysdeps/s390/multiarch/ifunc-impl-list.c
28160         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
28161         * benchtests/bench-wcscpy.c: New File.
28162         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
28164         * sysdeps/s390/multiarch/strnlen-c.c: New File.
28165         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
28166         * sysdeps/s390/multiarch/strnlen.c: Likewise.
28167         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
28168         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
28169         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
28170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
28171         wcsnlen functions.
28172         * sysdeps/s390/multiarch/ifunc-impl-list.c
28173         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
28174         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
28175         * string/test-strnlen.c: Add wcsnlen support.
28176         * wcsmbs/test-wcsnlen.c: New File.
28177         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
28178         * benchtests/bench-strnlen.c: Add wcsnlen support.
28179         * benchtests/bench-wcsnlen.c: New File.
28180         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
28182         * sysdeps/s390/multiarch/Makefile: New File.
28183         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
28184         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
28185         * sysdeps/s390/multiarch/strlen.c: Likewise.
28186         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28187         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
28188         * sysdeps/s390/multiarch/wcslen.c: Likewise.
28189         * string/strlen.c (STRLEN): Define and use macro.
28190         * sysdeps/s390/multiarch/ifunc-impl-list.c
28191         (IFUNC_VX_IMPL): New macro function.
28192         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
28193         * benchtests/Makefile (wcsmbs-bench): New variable.
28194         (string-bench-all): Added wcsmbs-bench.
28195         * benchtests/bench-wcslen.c: New File.
28197         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
28198         s390_vx_libc_ifunc2): New macro function.
28200         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
28201         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
28202         assembler support.
28203         * sysdeps/s390/configure: Regenerated.
28205         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
28206         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28208         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
28209         * sysdeps/s390/dl-procinfo.h: Add vector capability.
28210         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
28212         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
28213         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
28214         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
28215         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
28216         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
28217         (memcmp, bcmp): Use __memcmp_default as alias source.
28218         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
28219         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
28220         Rename to __memcmp_default.
28221         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
28222         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
28223         (memcpy): Use __memcpy_default as alias source.
28224         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
28225         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
28226         Rename to __memcpy_default.
28227         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
28228         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
28229         (memset): Use __memset_default as alias source.
28230         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28231         * sysdeps/s390/s390-32/memset.S (__memset_g5):
28232         Rename to __memset_default.
28233         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
28234         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
28235         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
28236         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
28237         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
28238         (memcmp, bcmp): Use __memcmp_default as alias source.
28239         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
28240         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
28241         Rename to __memcmp_default.
28242         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
28243         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
28244         (memcpy): Use __memcpy_default as alias source.
28245         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
28246         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
28247         Rename to __memcpy_default.
28248         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
28249         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
28250         (memset): Use __memset_default as alias source.
28251         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
28252         * sysdeps/s390/s390-64/memset.S (__memset_z900):
28253         Rename to __memset_default.
28254         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
28255         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
28257         [BZ #18610]
28258         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
28259         __ieee_instruction_pointer to __unused.
28260         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
28261         __ieee_instruction_pointer.
28262         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
28263         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
28264         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28265         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28266         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
28267         Mark dxc-field as reserved.
28269 2015-08-25  Roland McGrath  <roland@hack.frob.com>
28271         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
28272         if the weak reference is not null.
28274 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28276         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
28278         [BZ #11214]
28279         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
28281 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28283         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
28284         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
28285         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
28286         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
28287         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
28288         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
28289         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
28290         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
28291         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
28292         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
28293         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
28294         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
28295         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
28296         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
28297         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
28298         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
28299         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
28300         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
28302 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28304         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
28305         register other than r0 for tabort, it has special meaning.
28306         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
28307         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
28308         transaction before starting syscall.
28310 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28312         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
28314 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28316         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
28318         * sysdeps/x86_64/rtld-memcmp.c: Removed.
28319         * sysdeps/x86_64/rtld-memset.S: Likewise.
28320         * sysdeps/x86_64/rtld-strchr.S: Likewise.
28321         * sysdeps/x86_64/rtld-strlen.S: Likewise.
28322         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
28323         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28325         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
28327 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
28329         * debug/strcpy_chk.c: Improve performance.
28330         * debug/stpcpy_chk.c: Likewise.
28331         * sysdeps/x86_64/strcpy_chk.S: Remove.
28332         * sysdeps/x86_64/stpcpy_chk.S: Remove.
28334         [BZ #18240]
28335         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
28337 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
28339         [BZ #15128]
28340         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
28341         ifuncmain8.
28342         (modules-names): Add ifuncmod8.
28343         ($(objpfx)ifuncmain8): New rule.
28344         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
28345         <cpuid.h>.
28346         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
28347         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
28348         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
28349         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
28350         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
28351         * sysdeps/x86_64/dl-trampoline.h: Likewise.
28352         * sysdeps/x86_64/ifuncmain8.c: New file.
28353         * sysdeps/x86_64/ifuncmod8.c: Likewise.
28354         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
28355         Removed.
28356         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
28357         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
28358         Change rtld_savespace_sse to __glibc_unused2.
28359         (RTLD_CHECK_FOREIGN_CALL): Removed.
28360         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
28361         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
28362         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
28364 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28366         * sysdeps/aarch64/bzero.S (__bzero): Remove.
28368 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
28370         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
28371         Unconditionally set __fpcr to avoid uninialized warning.
28372         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
28374 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28376         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
28377         is corrupt.
28379         * malloc/arena.c (arena_get2): Drop unused argument.
28380         (arena_lock): Adjust.
28381         (arena_get_retry): Likewise.
28383 2015-08-24  Andreas Schwab  <schwab@suse.de>
28385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
28386         Don't define.
28387         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
28388         (__ASSUME_IPC64): Don't undef.
28389         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
28390         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28391         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28392         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
28393         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
28394         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
28395         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
28396         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
28397         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
28398         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
28399         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
28400         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
28401         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
28402         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
28403         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
28404         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
28405         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
28406         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
28407         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
28408         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
28409         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
28411 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
28413         * manual/Makefile (install): Only build manual when perl is available.
28415 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28417         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
28418         '#undef memcpy' by '#undef memchr'.
28420 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28422         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
28423         memchr not point to the internal __GI_memchr implementation.
28425 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28427         * timezone/Makefile (CFLAGS-zdump.c): Remove
28428         -Wno-strict-prototypes.
28429         (CFLAGS-zic.c): Likewise.
28430         (CFLAGS-ialloc.c): Likewise.
28431         (CFLAGS-scheck.c): Likewise.
28433         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
28434         -Wno-error=undef.
28436 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28438         * i386/i686/multiarch/strcasestr-c.c: Removed.
28439         * x86_64/multiarch/strcasestr.c: Likewise.
28440         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28441         Remove strcasestr.
28443 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
28445         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
28447         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
28448         variables for high and low parts before possibly modifying them.
28450 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28452         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
28453         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
28454         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
28455         of "multiarch/init-arch.h".
28456         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
28457         * sysdeps/x86/init-arch.h: This.
28459 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
28461         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
28462         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
28464 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
28466         [BZ #17787]
28467         * manual/macros.texi: Add twoexp macro.
28468         * manual/filesys.texi: Fix exponents.
28469         * manual/llio.texi: Likewise.
28470         * manual/stdio.texi: Likewise.
28472 2015-08-20  Florian Weimer  <fweimer@redhat.com>
28474         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
28475         incorrect use.
28477 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #18370]
28480         * math/s_csqrt.c (__csqrt): Force underflow exception for results
28481         whose real or imaginary part has small absolute value.
28482         * math/s_csqrtf.c (__csqrtf): Likewise.
28483         * math/s_csqrtl.c (__csqrtl): Likewise.
28484         * math/auto-libm-test-in: Add more tests of csqrt.
28485         * math/auto-libm-test-out: Regenerated.
28486         * sysdeps/i386/fpu/libm-test-ulps: Update.
28488 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28490         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
28491         __ppc_set_ppr_very_low): New functions.
28492         * manual/platform.texi: Add documentation about
28493         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
28495 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
28497         * string/stpncpy.c (stpncpy): Improve performance using
28498         __strnlen/memcpy/memset.
28500 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28502         [BZ #18796]
28503         * scripts/test-installation.pl: Don't add -lmvec to build options if
28504         libmvec wasn't built.
28506 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28508         [BZ #14341]
28509         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
28510         case when there is a gap between DT_REL and DT_JMPREL sections.
28511         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
28512         (LDFLAGS-tst-split-dynreloc): New.
28513         (tst-split-dynreloc-ENV): Likewise.
28514         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
28515         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
28517 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28519         [BZ #18822]
28520         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
28521         attribute_hidden.
28522         (__xstat64_conv): Likewise.
28523         (__xstat32_conv): Likewise.
28525 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28527         [BZ #18822]
28528         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
28529         Don't load %ebx when calling __setcontext.  Call __setcontext
28530         with HIDDEN_JUMPTARGET.
28531         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
28532         libc_hidden_def.
28534 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28536         * sysdeps/i386/i686/Makefile
28537         [$(subdir) == string] (sysdep_routines): Moved to ...
28538         * sysdeps/i386/Makefile: Here.
28539         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
28540         * sysdeps/i386/cacheinfo.c: Here.
28541         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
28542         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
28543         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
28544         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
28546 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
28548         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
28549         __i586__ is defined.
28550         (HAS_I686): Defined to 1 if __i686__ is defined.
28552 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
28554         * elf/Makefile [$(have-z-execstack) = yes]
28555         (CPPFLAGS-tst-execstack.c): New variable.
28557         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
28558         conditional to [defined UTMPX || _HAVE_UT_TYPE].
28559         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
28560         UTMPX || _HAVE_UT_TV].
28561         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
28562         UTMPX || _HAVE_UT_TV - 0].
28564 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
28566         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
28567         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
28568         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
28570 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28572         * sysdeps/powerpc/dl-procinfo.c:
28573         (_dl_powerpc_cap_flags): Added missing strings for some
28574         hwcap features.
28575         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
28577 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
28579         Port the 0x7efe...feff pattern to GCC 6.
28580         See Steve Ellcey's bug report in:
28581         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
28582         * string/memrchr.c (MEMRCHR):
28583         * string/rawmemchr.c (RAWMEMCHR):
28584         * string/strchr.c (strchr):
28585         * string/strchrnul.c (STRCHRNUL):
28586         Rewrite code to avoid issues with signed shift overflow.
28588 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
28590         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
28591         whether cpuid is available only if HAS_CPUID is 0.
28592         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
28593         (HAS_I586): Likewise.
28594         (HAS_I686): Likewise.
28596 2015-08-18  Zack Weinberg  <zackw@panix.com>
28598         * misc/Versions (libc): Add GLIBC_2.23.
28600 2015-08-18  Alan Modra  <amodra@gmail.com>
28602         [BZ #18421]
28603         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
28604         .Lp__global.
28605         (_start): Load %dp via .Lp__global.
28606         [!SHARED]: Use .section .rodata.
28608 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28610         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
28611         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
28613 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28615         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
28616         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
28618 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28620         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
28621         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
28623 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28625         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
28626         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
28628 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28630         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
28631         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
28633 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28635         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
28636         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
28638 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28640         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
28642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28644         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
28645         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
28646         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28647         (__ASSUME_LWS_CAS): Delete.
28649 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
28651         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
28652         * sysdeps/hppa/configure: Regenerated.
28653         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
28654         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
28655         * sysdeps/hppa/nptl/tls.h: Likewise.
28657 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
28659         [BZ #18823]
28660         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
28661         for scaling up small arguments.
28662         * math/s_csqrtf.c (__csqrtf): Likewise.
28663         * math/s_csqrtl.c (__csqrtl): Likewise.
28664         * math/auto-libm-test-in: Add more tests of csqrt.
28665         * math/auto-libm-test-out: Regenerated.
28667 2015-08-17  Andreas Schwab  <schwab@suse.de>
28669         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
28670         version set GLIBC_2.19.
28672 2015-08-16  Zack Weinberg  <zackw@panix.com>
28674         [BZ #18681]
28675         * misc/regexp.h: This interface is no longer supported.
28676         Remove all contents, leaving only an #error directive.
28677         * misc/regexp.c (loc1, loc2, locs, step, advance):
28678         Demote to compatibility symbols.
28680 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
28682         [BZ #18084]
28683         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
28684         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
28685         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28686         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
28687         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
28688         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
28689         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
28690         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
28691         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28693 2015-08-15  Zack Weinberg  <zackw@panix.com>
28695         [BZ #18795]
28696         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
28697         buffer length is known to be too large, not if it's known to be
28698         small enough.
28699         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
28700         overflow at runtime, involving a length parameter, twice: once
28701         with a compile-time constant length parameter, once without.
28703 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
28705         [BZ #18824]
28706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
28707         scaling x * y up instead of down.
28708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28710         * math/auto-libm-test-in: Add more tests of fma.
28711         * math/auto-libm-test-out: Regenerated.
28713 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28715         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28717 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28719         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
28720         unnecessary movq.
28721         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
28722         Likewise.
28724 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
28726         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28727         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
28728         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
28729         and tgamma.
28730         * math/auto-libm-test-out: Regenerated.
28731         * sysdeps/i386/fpu/libm-test-ulps: Update.
28732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28734         [BZ #16520]
28735         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
28736         (__tanh): Force underflow exception for arguments with small
28737         absolute value.
28738         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
28739         (__tanhf): Force underflow exception for arguments with small
28740         absolute value.
28741         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
28742         (__tanhl): Force underflow exception for arguments with small
28743         absolute value.
28744         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
28745         (__tanhl): Force underflow exception for arguments with small
28746         absolute value.
28747         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
28748         (__tanhl): Force underflow exception for arguments with small
28749         absolute value.
28750         * math/auto-libm-test-in: Add more tests of tanh.
28751         * math/auto-libm-test-out: Regenerated.
28752         * sysdeps/i386/fpu/libm-test-ulps: Update.
28754 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28756         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
28757         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
28759 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28761         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
28762         <cpuid.h>.
28764 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28766         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
28767         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
28769 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28771         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
28772         Remove $(objpfx)init-arch.o.
28773         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
28774         init-arch.
28775         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
28776         (INIT_ARCH_EXT): Defined as empty.
28777         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
28778         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
28779         __init_cpu_features call.  Replace HAS_XXX with
28780         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28781         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
28782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
28783         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
28784         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
28785         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28786         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
28787         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
28788         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
28790         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
28791         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28792         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
28793         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
28794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28795         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
28796         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
28797         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28799         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
28800         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
28801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
28803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
28804         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28805         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
28806         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
28807         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28808         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
28809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
28810         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
28812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
28813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
28815         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
28817 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28819         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
28820         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28821         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28822         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
28823         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
28824         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
28825         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
28826         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
28827         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
28828         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
28829         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
28830         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
28831         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28832         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28833         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28834         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28835         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28836         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28837         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28838         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28839         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28840         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28841         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28842         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28843         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28844         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28845         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28846         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28847         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28848         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28849         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28850         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28851         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28852         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28853         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28854         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28855         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28856         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28857         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28858         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28859         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28860         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28861         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28863 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
28866         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28868         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28869         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28870         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28871         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28872         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
28873         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28876         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
28877         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
28878         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
28879         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
28880         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
28881         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
28882         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
28883         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
28884         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
28885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
28886         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
28887         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
28888         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28889         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28890         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
28891         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
28892         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
28893         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
28894         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28895         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28896         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28897         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28898         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28899         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28900         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28901         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28902         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28903         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28904         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28905         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28906         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28907         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28909 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
28911         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
28912         (dl_platform_init): Call init_cpu_features.
28913         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
28914         * sysdeps/i386/i686/cacheinfo.c
28915         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
28916         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
28917         * sysdeps/i386/i686/multiarch/Versions: Removed.
28918         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
28919         Removed.
28920         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
28921         * sysdeps/unix/sysv/linux/x86/Makefile
28922         (libpthread-sysdep_routines): Remove init-arch.
28923         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
28924         <sysdeps/x86_64/dl-procinfo.c> instead of
28925         sysdeps/generic/dl-procinfo.c>.
28926         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
28927         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
28928         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
28929         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
28930         [$(subdir) == elf] (tests-static): Add
28931         tst-get-cpu-features-static.
28932         * sysdeps/x86/Versions: New file.
28933         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
28934         * sysdeps/x86/cpu-features.c: Likewise.
28935         * sysdeps/x86/cpu-features.h: Likewise.
28936         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
28937         * sysdeps/x86/libc-start.c: Likewise.
28938         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
28939         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
28940         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
28941         * sysdeps/x86_64/dl-procinfo.c: Likewise.
28942         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
28943         Assume USE_MULTIARCH is defined and don't check it.
28944         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
28945         (is_amd): Likewise.
28946         (max_cpuid): Likewise.
28947         (intel_check_word): Likewise.
28948         (__cache_sysconf): Don't call __init_cpu_features.
28949         (__x86_preferred_memory_instruction): Removed.
28950         (init_cacheinfo): Don't call __init_cpu_features. Replace
28951         __cpu_features with GLRO(dl_x86_cpu_features).
28952         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
28953         (dl_platform_init): Call init_cpu_features.
28954         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
28955         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
28956         * sysdeps/x86_64/multiarch/Versions: Removed.
28957         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
28958         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
28959         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
28960         Removed.
28961         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
28963 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28965         [BZ #18820]
28966         * libio/Makefile (test-fmemopen-mem): New test.
28967         * libio/test-fmemopen.c (do_bz18820): New test.
28968         * libio/fmemopen.c (__fmemopen): Fix memory leak.
28969         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
28971 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28973         [BZ #16734]
28974         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
28975         (FREE_BUF): Delete.
28976         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
28977         * libio/genops.c (_IO_setb): Use malloc and free directly.
28978         (_IO_default_doallocate, _IO_default_finish): Likewise.
28979         ( _IO_unbuffer_all): Likewise.
28980         ( libc_freeres_fn): Likewise.
28981         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28982         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28983         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
28984         (_IO_wdefault_doallocate): Likewise.
28986 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28988         [BZ #18086]
28989         * sysdeps/posix/nice.c (nice): Restore old errno.
28990         * posix/tst-nice.c (do_test): Add test for BZ #18086.
28992 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
28994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
28996 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28998         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
28999         __bcopy and add a weak_alias to bcopy.
29000         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29001         for static build.
29003         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29004         cleanup macro usage.
29005         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29006         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29007         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29008         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29009         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29010         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29011         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29012         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29013         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29014         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29015         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29016         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29018         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29021         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29022         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29023         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29025         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29026         libc_hidden_def.
29027         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29029         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29030         (sysdep_routines): Add strstr-ppc64.
29031         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29033 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29035         [BZ #18778]
29036         * elf/Makefile (tests): Add Add tst-nodelete2.
29037         (modules-names): Add tst-nodelete2mod.
29038         (tst-nodelete2mod.so-no-z-defs): New.
29039         ($(objpfx)tst-nodelete2): Likewise.
29040         ($(objpfx)tst-nodelete2.out): Likewise.
29041         (LDFLAGS-tst-nodelete2): Likewise.
29042         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29043         out of loop through all loaded libraries.
29044         * elf/tst-nodelete2.c: New file.
29045         * elf/tst-nodelete2mod.c: Likewise.
29046         * elf/tst-znodelete-zlib.cc: Delete.
29048 2015-08-11  Andreas Schwab  <schwab@suse.de>
29050         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
29051         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
29052         (__openat64_nocancel): Likewise.
29054 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
29056         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
29057         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
29058         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
29059         * math/auto-libm-test-out: Regenerated.
29060         * sysdeps/i386/fpu/libm-test-ulps: Update.
29061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29063 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29065         [BZ #18790]
29066         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
29067         threshold for returning +/- 1.
29068         * math/auto-libm-test-in: Add more tests of tanh.
29069         * math/auto-libm-test-out: Regenerated.
29070         * sysdeps/i386/fpu/libm-test-ulps: Update.
29072 2015-08-10  Andreas Schwab  <schwab@suse.de>
29074         [BZ #18781]
29075         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
29076         MORE_OFLAGS to oflag.
29077         * io/test-lfs.c (do_test): Test openat64.
29079 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
29081         [BZ #18789]
29082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
29083         smaller threshold for returning the argument.
29084         * math/auto-libm-test-in: Add more tests of sinh.
29085         * math/auto-libm-test-out: Regenerated.
29086         * sysdeps/i386/fpu/libm-test-ulps: Update.
29088 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29090         [BZ #18674]
29091         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
29092         break.
29094 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
29096         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
29097         (generated): Don't add $(addprefix z.,$(tzfiles)).
29099 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29101         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
29102         * scripts/sysd-rules.awk: Likewise.
29104 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29106         * iconvdata/tst-tables.sh: Change echo -n to printf.
29107         * nss/db-Makefile: Likewise.
29108         * posix/tst-getconf.sh: Likewise.
29109         * stdio-common/tst-unbputc.sh: Likewise.
29111 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
29113         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
29114         MADV_*_PAGES defines behind this feature check.
29116 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
29118         [BZ #18480]
29119         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
29120         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
29121         Define.
29122         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
29123         LOAD_REGS_5, LOAD_REGS_6): Update.
29124         (INTERNAL_SYSCALL): Update using new LOAD defines.
29125         (INTERNAL_SYSCALL_NCS): Likewise.
29126         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
29128 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29130         [BZ #16734]
29131         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
29133 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29135         [BZ #17905]
29136         * catgets/Makefile (tst-catgets-mem): New test.
29137         * catgets/catgets.c (catopen): Don't use unbounded alloca.
29138         * catgets/open_catalog.c (__open_catalog): Likewise.
29139         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
29141 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
29143         [BZ #18787]
29144         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
29145         clobber registers.
29146         (atomic_compare_and_exchange_val_acq): Use register asms to assign
29147         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
29148         Cast return to __typeof (oldval).
29150 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
29152         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
29153         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
29154         and delete sys/syscall.h include.
29156 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
29158         [BZ #16517]
29159         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
29160         (tan): Force underflow exception for arguments with small absolute
29161         value.
29162         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
29163         (__kernel_tanf): Force underflow exception for arguments with
29164         small absolute value.
29165         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
29166         (__kernel_tanl): Force underflow exception for arguments with
29167         small absolute value.
29168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29169         (__kernel_tanl): Force underflow exception for arguments with
29170         small absolute value.
29171         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
29172         (__kernel_tanl): Force underflow exception for arguments with
29173         small absolute value.
29174         * math/auto-libm-test-in: Add more tests of tan.
29175         * math/auto-libm-test-out: Regenerated.
29177 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29179         Fix sysdeps/i386/fpu/s_scalbn.S build
29181         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
29183 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
29185         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29187 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29189         Fix gcrt0.o compilation
29191         When static-start-installed-name is different from
29192         start-installed-name, we must not use the shared objects.
29194         * csu/Makefile
29195         (extra-objs): Add gmon-start.o when building shared library and
29196         $(static-start-installed-name) is different from
29197         $(start-installed-name).
29198         $(objpfx)g$(static-start-installed-name): When building shared
29199         library and $(static-start-installed-name) is different from
29200         $(static-start-installed-name), revert to non-shared rule,
29201         i.e. using $(objpfx)% and gmon-start.o.
29203 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
29205         [BZ #16519]
29206         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
29207         (__ieee754_sinh): Force underflow exception for arguments with
29208         small absolute value.
29209         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
29210         (__ieee754_sinhf): Force underflow exception for arguments with
29211         small absolute value.
29212         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
29213         (__ieee754_sinhl): Force underflow exception for arguments with
29214         small absolute value.
29215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
29216         (__ieee754_sinhl): Force underflow exception for arguments with
29217         small absolute value.
29218         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
29219         (__ieee754_sinhl): Force underflow exception for arguments with
29220         small absolute value.
29221         * math/auto-libm-test-in: Add more tests of sinh.
29222         * math/auto-libm-test-out: Regenerated.
29223         * sysdeps/i386/fpu/libm-test-ulps: Update.
29225 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29227         * libio/oldfileops.c: Include unistd.h.
29229 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
29231         * stdlib/isomac.c: Include ctype.h.
29233 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
29235         * dirent/tst-seekdir.c (main): Converted to ...
29236         (do_test): ... this.
29237         (TEST_FUNCTION): New macro.
29238         Include test-skeleton.c.
29239         * elf/tst-dlmodcount.c (main): Converted to ...
29240         (do_test): ... this.
29241         (TEST_FUNCTION): New macro.
29242         Include test-skeleton.c.
29243         * elf/tst-order-main.c (main): Converted to ...
29244         (do_test): ... this.
29245         (TEST_FUNCTION): New macro.
29246         Include test-skeleton.c.
29247         * elf/tst-pie2.c (main): Converted to ...
29248         (do_test): ... this.
29249         (TEST_FUNCTION): New macro.
29250         Include test-skeleton.c.
29251         * inet/tst-ether_aton.c (main): Converted to ...
29252         (do_test): ... this.
29253         (TEST_FUNCTION): New macro.
29254         Include test-skeleton.c.
29255         * misc/tst-mntent.c (main): Converted to ...
29256         (do_test): ... this.
29257         (TEST_FUNCTION): New macro.
29258         Include test-skeleton.c.
29259         * misc/tst-tsearch.c (main): Converted to ...
29260         (do_test): ... this.
29261         (TEST_FUNCTION): New macro.
29262         Include test-skeleton.c.
29263         * posix/tst-regexloc.c (main): Converted to ...
29264         (do_test): ... this.
29265         (TEST_FUNCTION): New macro.
29266         Include test-skeleton.c.
29267         * resolv/tst-aton.c (main): Converted to ...
29268         (do_test): ... this.
29269         (TEST_FUNCTION): New macro.
29270         Include test-skeleton.c.
29271         * stdio-common/test-fwrite.c (main): Converted to ...
29272         (do_test): ... this.
29273         (TEST_FUNCTION): New macro.
29274         Include test-skeleton.c.
29275         * stdio-common/tst-ferror.c (main): Converted to ...
29276         (do_test): ... this.
29277         (TEST_FUNCTION): New macro.
29278         Include test-skeleton.c.
29279         * stdio-common/tst-printf.c (main): Converted to ...
29280         (do_test): ... this.
29281         (TEST_FUNCTION): New macro.
29282         Include test-skeleton.c.
29283         * stdio-common/tst-printfsz.c (main): Converted to ...
29284         (do_test): ... this.
29285         (TEST_FUNCTION): New macro.
29286         Include test-skeleton.c.
29287         * stdlib/tst-strtod.c (main): Converted to ...
29288         (do_test): ... this.
29289         (TEST_FUNCTION): New macro.
29290         Include test-skeleton.c.
29291         * string/tst-strlen.c (main): Converted to ...
29292         (do_test): ... this.
29293         (TEST_FUNCTION): New macro.
29294         Include test-skeleton.c.
29295         * string/tst-svc.c (main): Converted to ...
29296         (do_test): ... this.
29297         (TEST_FUNCTION): New macro.
29298         Include test-skeleton.c.
29299         * time/tst-strptime.c (main): Converted to ...
29300         (do_test): ... this.
29301         (TEST_FUNCTION): New macro.
29302         Include test-skeleton.c.
29303         * timezone/tst-timezone.c (main): Converted to ...
29304         (do_test): ... this.
29305         (TEST_FUNCTION): New macro.
29306         Include test-skeleton.c.
29308 2015-08-05  Zack Weinberg  <zackw@panix.com>
29310         * misc/regexp.h: Update comments.
29312 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
29314         [BZ #18635]
29315         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
29316         before return label.
29318 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29320         [BZ #18661]
29321         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
29322         when calling __errno_location.
29323         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
29324         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
29326 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29328         [BZ #18661]
29329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
29330         (__lll_timedwait_tid): Align stack to 16 bytes when calling
29331         __gettimeofday.
29333 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29335         [BZ #18661]
29336         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29337         (__start_context): Don't use pop to restore %rdi so that stack
29338         is aligned to 16 bytes when calling __setcontext.
29340 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29342         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
29343         only for libc.
29344         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29346 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29348         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
29349         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
29350         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
29352 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29354         * string/memccpy.c (memccpy):
29355         Improve performance by using memchr/memcpy/__mempcpy.
29357 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29359         * string/strncpy.c (strncpy):
29360         Improve performance by using __strnlen/memcpy.
29362 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29364         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29365         Optimize to avoid an unnecessary FPCR read.
29367 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
29369         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29370         Optimize to reduce FPCR/FPSR accesses.
29372 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
29374         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
29375         dead->data[category] != NULL.
29377 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
29379         [BZ #18647]
29380         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
29381         and |x| close to 1, use absolute value of x when computing log.
29382         * math/auto-libm-test-in: Add more tests of pow.
29383         * math/auto-libm-test-out: Regenerated.
29385 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29387         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
29388         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
29389         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
29391 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
29393         [BZ #18525]
29394         * locales/km_KH: Remove timezone definition.
29395         * locales/lo_LA: Likewise.
29396         * locales/my_MM: Likewise.
29397         * locales/nan_TW@latin: Likewise.
29398         * locales/th_TH: Likewise.
29399         * locales/uk_UA: Likewise.
29401 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29403         [BZ #18265]
29404         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
29405         (wcsncat): Likewise.
29406         (wcscmp): Likewise.
29407         (wcsncmp): Likewise.
29409 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29411         * test-skeleton.c (usage): New function.
29412         (main): Call usage when opt is '?'.
29414 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29416         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
29417         before first use.
29419 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
29421         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
29422         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
29423         in there too.
29425 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
29427         * version.h (RELEASE): Set to "development".
29428         (VERSION): Set to "2.22.90"
29430         * version.h (RELEASE): Set to "stable".
29431         (VERSION): Set to "2.22"
29432         * include/features.h (__GLIBC_MINOR__): Set to 22.
29434 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
29436         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
29437         Restructure macro to avoid "value computed is not used" warning.
29438         (atomic_compare_and_exchange_val_acq): Likewise.
29440 2015-08-04  Andreas Schwab  <schwab@suse.de>
29442         [BZ #18635]
29443         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
29444         ret.
29445         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
29447 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
29449         * po/pl.po: Updated translation.
29450         * po/uk.po: Likewise.
29451         * po/fi.po: Likewise.
29452         * po/ko.po: Likewise.
29453         * po/ru.po: Likewise.
29454         * po/vi.po: Likewise.
29456 2015-07-31  Zack Weinberg  <zackw@panix.com>
29458         [BZ #18681]
29459         * regexp.h: Add unconditional #warning stating that this header
29460         will be removed soon.  Revise banner comment to match.
29461         (compile): Consistently use ERROR instead of RETURN to report
29462         errors (partial fix for BZ #18681).
29463         * regexp.c: Don't include regexp.h. Remove some unnecessary
29464         declarations.
29466 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
29468         * po/libc.pot: Regenerated.
29470 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29472         [BZ #18740]
29473         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
29474         float-vlen4-arch-ext-cflags): Removed.
29475         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
29476         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
29478 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29480         [BZ #14113]
29481         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
29482         aligned to __aligned__.
29483         (pthread_cond_t, pthread_rwlock_t): Likewise.
29485 2015-07-30  Torvald Riegel  <triegel@redhat.com>
29487         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
29489 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29491         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
29492         (struct sigaction): Change sa_flags from a long to an int, and add
29493         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
29495 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29497         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
29498         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
29499         sysdeps/generic/sysdep.h include.
29500         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
29501         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
29502         sysdeps/hppa/sysdep.h.
29503         (ENTRY, PSEUDO): Undefine before defining.
29505 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
29507         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
29508         from scratch to use INTERNAL_SYSCALL.
29510 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
29512         [BZ #18078]
29513         * scripts/check-localplt.awk: Support alternate relocations.
29514         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
29515         sections.
29516         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
29517         malloc entries with + REL R_386_GLOB_DAT.
29518         * sysdeps/x86_64/localplt.data: New file.
29520 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
29522         [BZ #18731]
29523         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
29524         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29527 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29529         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
29531 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29533         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
29534         directly in terms of __sync_fetch_and_add and delete (int) cast.
29536 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29538         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
29539         the -D_ASM_IA64_CURRENT_H flag.
29541 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
29543         [BZ #18641]
29544         * pwd/pwd.h (putpwent): Delete __nonnull markings.
29546 2015-07-27  Andreas Schwab  <schwab@suse.de>
29548         * conform/conformtest.pl (checknamespace): Filter out string
29549         literals while tokenizing.
29551 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29553         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29554         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29555         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29557 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
29559         * nptl/tst-join7mod.c: Add #include <string.h>.
29561 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29563         * sysdeps/nios2/libm-test-ulps: Update.
29565 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
29567         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
29568         Fix order of arguments to the rt_sigprocmask syscall.
29569         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
29570         Likewise.
29572 2015-07-24  Roland McGrath  <roland@hack.frob.com>
29574         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
29576 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29578         [BZ #18457]
29579         * nptl/Makefile (tests): New test case tst-join7.
29580         (modules-names): New test case module tst-join7mod.
29581         * nptl/tst-join7.c: New file.
29582         * nptl/tst-join7mod.c: New file.
29583         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
29584         all translation units in libc.so, libpthread.so and rtld.
29586 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29590 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29592         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
29593         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29594         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29596         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29598         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29599         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29601         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29603         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29604         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
29605         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
29607         implementation.
29609 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29611         [BZ #17711]
29612         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29613         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
29614         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29615         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
29616         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
29617         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
29619 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29621         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
29622         instead of just saying load lock in the comments.
29624 2015-07-23  Roland McGrath  <roland@hack.frob.com>
29626         * sysdeps/unix/Subdirs: Moved ...
29627         * sysdeps/posix/Subdirs: ... here.
29628         * login/pty.h (struct termios, struct winsize): Add forward decls.
29629         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
29630         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
29631         * sysdeps/arm/nacl/libc.abilist: Updated.
29632         * sysdeps/nacl/libutil.abilist: New file.
29634         * bits/signum.h: Update comments to mention 1003.1-2013 too.
29635         (SIGWINCH): New macro.
29637         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
29638         * sysdeps/arm/nacl/libc.abilist: Add it.
29640 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29642         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
29644 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
29646         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29647         Swap __glibc_reserved0 and sa_flags order.
29649 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29651         [BZ #18657]
29652         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
29653         are pending TLS destructor calls.
29654         * include/link.h (struct link_map): Add concurrency note for
29655         L_TLS_DTOR_COUNT.
29656         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29657         Don't touch the link map flag.  Atomically increment
29658         l_tls_dtor_count.
29659         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
29660         Avoid taking the load lock and don't touch the link map flag.
29661         * stdlib/tst-tls-atexit-nodelete.c: New test case.
29662         * stdlib/Makefile (tests): Use it.
29663         * stdlib/tst-tls-atexit.c (do_test): dlopen
29664         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
29665         to allow tst-tls-atexit-nodelete test case to use it.
29667 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29669         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
29670         to bits/types.h.
29671         (msgqnum_t): New typedef.
29672         (msglen_t): Likewise.
29673         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
29674         and msg_qbytes type to msglen_t.
29676 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29678         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
29679         pad0 to __glibc_reserved0.
29680         (struct stat64): Likewise.
29682 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29684         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
29685         Change sa_flags from a long to an int and add __glibc_reserved0 before
29686         it for padding.
29688 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
29690         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
29691         anonymous by deleting "siginfo" name.
29693 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29695         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
29696         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
29697         rather than __nacl_irt_filename.
29698         * sysdeps/nacl/xstat.c (__xstat): Likewise.
29700         * NEWS: New item for arm-nacl port.
29701         * sysdeps/arm/nacl/libc.abilist: New file.
29702         * sysdeps/nacl/ld.abilist: New file.
29703         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29704         * sysdeps/nacl/libanl.abilist: New file.
29705         * sysdeps/nacl/libcrypt.abilist: New file.
29706         * sysdeps/nacl/libdl.abilist: New file.
29707         * sysdeps/nacl/libm.abilist: New file.
29708         * sysdeps/nacl/libpthread.abilist: New file.
29709         * sysdeps/nacl/libresolv.abilist: New file.
29710         * sysdeps/nacl/librt.abilist: New file.
29712 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
29714         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
29715         __startcontext to initialize the new context.
29716         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
29717         up CFI directive to forbid further backtracing.
29719 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
29721         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
29722         reference.
29723         * charmaps/ANSI_X3.4-1968: Likewise.
29724         * charmaps/BS_4730: Likewise.
29725         * charmaps/BS_VIEWDATA: Likewise.
29726         * charmaps/CP1250: Likewise.
29727         * charmaps/CP1251: Likewise.
29728         * charmaps/CP1252: Likewise.
29729         * charmaps/CP1253: Likewise.
29730         * charmaps/CP1254: Likewise.
29731         * charmaps/CP1255: Likewise.
29732         * charmaps/CP1256: Likewise.
29733         * charmaps/CSN_369103: Likewise.
29734         * charmaps/EBCDIC-DK-NO: Likewise.
29735         * charmaps/GB_1988-80: Likewise.
29736         * charmaps/GREEK-CCITT: Likewise.
29737         * charmaps/GREEK7: Likewise.
29738         * charmaps/INIS-8: Likewise.
29739         * charmaps/ISIRI-3342: Likewise.
29740         * charmaps/ISO_2033-1983: Likewise.
29741         * charmaps/ISO_5427-EXT: Likewise.
29742         * locales/POSIX: Likewise.
29743         * locales/ar_SA: Likewise.
29744         * locales/be_BY: Likewise.
29745         * locales/be_BY@latin: Likewise.
29746         * locales/ca_ES: Likewise.
29747         * locales/cs_CZ: Likewise.
29748         * locales/da_DK: Likewise.
29749         * locales/de_BE: Likewise.
29750         * locales/de_CH: Likewise.
29751         * locales/de_LU: Likewise.
29752         * locales/en_AU: Likewise.
29753         * locales/en_BW: Likewise.
29754         * locales/en_CA: Likewise.
29755         * locales/en_DK: Likewise.
29756         * locales/en_GB: Likewise.
29757         * locales/en_IE: Likewise.
29758         * locales/en_NZ: Likewise.
29759         * locales/en_ZA: Likewise.
29760         * locales/en_ZW: Likewise.
29761         * locales/es_AR: Likewise.
29762         * locales/es_BO: Likewise.
29763         * locales/es_CL: Likewise.
29764         * locales/es_CO: Likewise.
29765         * locales/es_DO: Likewise.
29766         * locales/es_EC: Likewise.
29767         * locales/es_ES: Likewise.
29768         * locales/es_HN: Likewise.
29769         * locales/es_MX: Likewise.
29770         * locales/es_PA: Likewise.
29771         * locales/es_PE: Likewise.
29772         * locales/es_PY: Likewise.
29773         * locales/es_SV: Likewise.
29774         * locales/es_US: Likewise.
29775         * locales/es_UY: Likewise.
29776         * locales/es_VE: Likewise.
29777         * locales/et_EE: Likewise.
29778         * locales/fa_IR: Likewise.
29779         * locales/fo_FO: Likewise.
29780         * locales/fr_CA: Likewise.
29781         * locales/fr_CH: Likewise.
29782         * locales/gv_GB: Likewise.
29783         * locales/he_IL: Likewise.
29784         * locales/hr_HR: Likewise.
29785         * locales/id_ID: Likewise.
29786         * locales/is_IS: Likewise.
29787         * locales/it_CH: Likewise.
29788         * locales/iw_IL: Likewise.
29789         * locales/kl_GL: Likewise.
29790         * locales/ko_KR: Likewise.
29791         * locales/kw_GB: Likewise.
29792         * locales/lg_UG: Likewise.
29793         * locales/lt_LT: Likewise.
29794         * locales/lv_LV: Likewise.
29795         * locales/mi_NZ: Likewise.
29796         * locales/nhn_MX: Likewise.
29797         * locales/nl_BE: Likewise.
29798         * locales/pl_PL: Likewise.
29799         * locales/sk_SK: Likewise.
29800         * locales/sl_SI: Likewise.
29801         * locales/sv_FI: Likewise.
29802         * locales/tl_PH: Likewise.
29803         * locales/tr_TR: Likewise.
29804         * locales/vi_VN: Likewise.
29806 2015-07-21  Khem Raj  <raj.khem@gmail.com>
29808         [BZ #17475]
29809         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
29810         of tu_IN and bh_IN.
29812 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
29814         [BZ #18694]
29815         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
29816         bits/wordsize.h.
29817         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
29819 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29821         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
29822         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
29823         (spawn_thread): New function.
29824         (load): Rename to reg_dtor_and_close.  Move dlopen to...
29825         (do_test): ... here.  Use IS_LOADED to test for its
29826         availability.
29828 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
29830         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29832 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
29834         [BZ #18696]
29835         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29836         si_addr_bnd.
29837         (si_lower): New.
29838         (si_upper): Likewise.
29840 2015-07-16  David S. Miller  <davem@davemloft.net>
29842         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
29844 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29846         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
29847         buffer.
29848         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
29849         fail output information.
29851 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
29854         and strstr-ppc64..
29855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29856         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
29857         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
29858         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
29859         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
29861 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29863         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29864         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29865         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
29866         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29868 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
29870         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
29871         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
29872         rtld_hidden_proto.
29873         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
29875 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29877         * tst-nodelete-opened.c (do_test): Add comment to clarify how
29878         the test can fail.
29880         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
29882         [BZ #18676]
29883         * elf/tst-nodelete-opened.c: New test case.
29884         * elf/tst-nodelete-opened-lib.c: New test case module.
29885         * elf/Makefile (tests, modules-names): Use them.
29886         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
29887         early.
29889 2015-07-15  David S. Miller  <davem@davemloft.net>
29891         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
29892         futex-intenal.h
29893         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
29894         * sysdeps/sparc/sparc64/Makefile: Likewise.
29895         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29896         Remove space from macro define.
29897         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
29899 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
29901         [BZ #17475]
29902         * locale/iso-639.def: Update Bhili and Tulu language codes as
29903         per iso639-3.
29905 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
29907         * elf/tst-leaks1.c (main): Converted to ...
29908         (do_test): ... this.
29909         (TEST_FUNCTION): New macro.
29910         Include test-skeleton.c.
29911         * localedata/tst-langinfo.c (main): Converted to ...
29912         (do_test): ... this.
29913         (TEST_FUNCTION): New macro.
29914         Include test-skeleton.c.
29915         * math/test-fpucw.c (main): Converted to ...
29916         (do_test): ... this.
29917         (TEST_FUNCTION): New macro.
29918         Include test-skeleton.c.
29919         * math/test-tgmath.c (main): Converted to ...
29920         (do_test): ... this.
29921         (TEST_FUNCTION): New macro.
29922         Include test-skeleton.c.
29923         * math/test-tgmath2.c (main): Converted to ...
29924         (do_test): ... this.
29925         (TEST_FUNCTION): New macro.
29926         Include test-skeleton.c.
29927         * setjmp/tst-setjmp.c (main): Converted to ...
29928         (do_test): ... this.
29929         (TEST_FUNCTION): New macro.
29930         Include test-skeleton.c.
29931         * stdio-common/tst-sscanf.c (main): Converted to ...
29932         (do_test): ... this.
29933         (TEST_FUNCTION): New macro.
29934         Include test-skeleton.c.
29935         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
29936         (do_test): ... this.
29937         (TEST_FUNCTION): New macro.
29938         Include test-skeleton.c.
29940         * elf/tst-audit9.c (main): Converted to ...
29941         (do_test): ... this.
29942         (TEST_FUNCTION): New macro.
29943         Include test-skeleton.c.
29945 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
29947         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
29949 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29951         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
29952         New variable.
29954 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
29956         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29958 2015-07-14  Roland McGrath  <roland@hack.frob.com>
29960         * sysdeps/generic/dl-fileid.h: New file.
29961         * sysdeps/posix/dl-fileid.h: New file.
29962         * sysdeps/nacl/dl-fileid.h: New file.
29963         * include/link.h: Include <dl-fileid.h>.
29964         (struct link_map): Replace l_dev and l_ino with l_file_id.
29965         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
29966         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
29967         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
29969 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29971         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
29973 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29975         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
29976         Add iff $CXX is set.
29977         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
29978         Likewise.
29979         (tst-nodelete-zmodiff): Likewise.
29980         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
29982 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29984         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
29986 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29988         * sysdeps/aarch64/fpu/math_private.h
29989         (define math_opt_barrier): Add AArch64 version.
29990         (math_force_eval): Likewise.
29992 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
29994         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
29996 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
29998         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
29999         %ld with %jd and cast to intmax_t.
30000         (do_test_length_zero): Likewise.
30002 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30004         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30006 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30008         * sysdeps/tile/libm-test-ulps: Regenerated.
30010         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30011         Comment out the whole function, not just its body.
30013 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30015         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30016         locks.
30018         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30020 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30022         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30023         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30025 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30027         * sysdeps/nptl/futex-internal.h: New file.
30028         * sysdeps/nacl/futex-internal.h: New file.
30029         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30030         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30031         error checking.
30032         (setxid_unmark_thread): Likewise.
30033         (__nptl_setxid): Likewise.
30034         (__wait_lookup_done): Likewise.
30035         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30036         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30037         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30038         * nptl/pthread_once.c (clear_once_control): Likewise.
30039         (__pthread_once_slow): Likewise.
30040         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30041         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30042         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30043         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30044         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30045         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30046         Likewise.
30047         (__pthread_rwlock_rdlock): Likewise.
30048         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30049         Likewise.
30050         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30051         Likewise.
30052         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30053         Likewise.
30054         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
30055         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
30056         Likewise.
30057         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
30058         __ASSUME_PRIVATE_FUTEX check.
30059         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
30060         Check that shared futexes are supported.
30061         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
30062         wrappers with error checking.
30063         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
30064         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
30065         * nptl/pthread_barrierattr_setpshared.c
30066         (pthread_barrierattr_setpshared): Check that shared futexes are
30067         supported.
30068         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
30069         Likewise.
30070         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
30071         Likewise.
30072         * nptl/sem_init.c (futex_private_if_supported): Remove.
30073         (__new_sem_init): Adapt and check that shared futexes are supported.
30074         * nptl/sem_open.c (sem_open): Likewise.
30075         * nptl/sem_post.c (futex_wake): Remove.
30076         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
30077         (do_futex_wait): Use futex wrappers with error checking.
30078         * nptl/sem_wait.c: Include lowlevellock.h.
30079         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
30080         Use futex_supports_pshared.
30081         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
30082         Use futex wrappers with error checking.
30083         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
30084         Likewise.
30085         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
30086         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
30087         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
30088         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
30089         (futex_wake): Likewise.
30090         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
30091         (do_futex_wait): Use futex wrappers with error checking.
30092         (__new_sem_wait_slow): Update EINTR handling.
30093         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
30095 2015-07-09  Martin Sebor  <msebor@redhat.com>
30097         [BZ #18435]
30098         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30099         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
30100         * nptl/Makefile (test-xfail-tst-once5): Define.
30102 2015-07-09  Roland McGrath  <roland@hack.frob.com>
30104         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
30105         * elf/dl-minimal.c: For readability, reorder some definitions and
30106         introduce more page breaks.  Include <stdio.h>.
30107         (__libc_fatal): New function.
30109         * include/unistd.h: Add rtld_hidden_proto for _exit.
30110         * posix/_exit.c: Add rtld_hidden_def.
30111         * sysdeps/mach/hurd/_exit.c: Likewise.
30112         * sysdeps/nacl/_exit.c: Likewise.
30113         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
30114         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
30116 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
30118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
30119         bndmov encoding with zero displacement.
30121 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30122             H.J. Lu  <hongjiu.lu@intel.com>
30124         [BZ #18134]
30125         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
30126         * sysdeps/i386/configure: Regenerated.
30127         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30128         (_dl_runtime_profile): Save and restore Intel MPX return bound
30129         registers when calling _dl_call_pltexit.  Add
30130         PRESERVE_BND_REGS_PREFIX before return.
30131         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
30132         (LRV_BND1_OFFSET): Likewise.
30133         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
30134         lrv_bnd1.
30135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
30136         typo in bndmov encoding.
30137         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
30138         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
30139         branch instructions to preserve bounds.
30141 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
30144         [GLIBC_2.22]: Add fmemopen.
30146 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30148         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
30149         returns an error, also try to use host port from __mach_host_self for
30150         the __vm_wire call.
30151         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
30153 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30155         [BZ #18400]
30156         [BZ #18648]
30157         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
30158         Fix pr_uid and pr_gid members.
30159         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
30160         definition to elf_greg_t.
30162 2015-07-08  Roland McGrath  <roland@hack.frob.com>
30164         [BZ #18383]
30165         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
30166         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
30167         * sysdeps/arm/configure: Regenerated.
30168         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
30169         (test-xfail-tst-tlsalign-static): Variable removed.
30171         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
30172         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
30173         rather than explicit 'ln -s'.
30175         * resolv/rpc/netdb.h: New file.
30176         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
30178 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30180         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
30181         length buffers.
30182         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30183         test-skeleton.c.
30185         [BZ #6544]
30186         [BZ #11216]
30187         [BZ #12836]
30188         [BZ #13151]
30189         [BZ #13152]
30190         [BZ #14292]
30191         * include/stdio.h (fmemopen): Remove hidden prototype.
30192         (__fmemopen): Add new hidden prototype.
30193         * libio/Makefile: Add oldfmemopen object.
30194         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
30195         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
30196         compliance.
30197         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30198         symbol compatibility.
30199         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
30200         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
30201         fmemopen.
30202         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
30203         on append and read mode.
30204         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
30205         fmemopen.
30206         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30207         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
30208         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
30209         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
30210         Likewise.
30211         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
30212         [GLIBC_2.22]: Likewise.
30213         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
30214         Likewise.
30215         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
30216         Likewise.
30217         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
30218         [GLIBC_2.22]: Likewise.
30219         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
30220         [GLIBC_2.22]: Likewise.
30221         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
30222         [GLIBC_2.22]: Likewise.
30223         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
30224         [GLIBC_2.22]: Likewise.
30225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
30226         [GLIBC_2.22]: Likewise.
30227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
30228         [GLIBC_2.22]: Likewise.
30229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
30230         [GLIBC_2.22]: Likewise.
30231         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
30232         Likewise.
30233         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
30234         Likewise.
30235         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
30236         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
30237         [GLIBC_2.22]: Likewise.
30238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
30239         [GLIBC_2.22]: Likewise.
30240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
30241         [GLIBC_2.22]: Likewise.
30242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
30243         [GLIBC_2.22]: Likewise.
30244         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
30245         Likewise.
30246         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
30247         Likewise.
30248         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
30249         Likewise.
30250         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
30251         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
30253 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30255         [BZ #18643]
30256         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
30257         IPV6_PATHMTU, and IPV6_DONTFRAG.
30259 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
30261         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
30262         and _IO_UNBUFFERED.
30263         * libio/oldfileops.c: Likewise.
30264         * libio/wfileops.c: Likewise.
30266 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30268         * nscd/selinux.c: Delete selinux/flask.h include.
30270 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
30272         [BZ #18641]
30273         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
30274         (putpwent): Likewise.
30275         (getpwnam): Likewise.
30276         (getpwent_r): Likewise.
30277         (getpwuid_r): Likewise.
30278         (getpwnam_r): Likewise.
30279         (fgetpwent_r): Likewise.
30281 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
30283         [BZ #18557]
30284         * inet/rcmd.c (__validuser2_sa): Check user first to
30285         short-circuit host check.
30287 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
30288             Mikhail Ilin  <m.ilin@samsung.com>
30290         [BZ #17833]
30291         * elf/Makefile (tests): Add tst-nodelete.
30292         (modules-names): Add tst-nodelete-uniquemod.
30293         (tst-nodelete-uniquemod.so-no-z-defs): New.
30294         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
30295         (tst-nodelete-zmod.so-no-z-defs): Likewise.
30296         ($(objpfx)tst-nodelete): Likewise.
30297         ($(objpfx)tst-nodelete.out): Likewise.
30298         (LDFLAGS-tst-nodelete): Likewise.
30299         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
30300         * elf/dl-close.c (_dl_close_worker): Add a parameter to
30301         implement forced object deletion.
30302         (_dl_close): Pass false to _dl_close_worker.
30303         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
30304         * elf/tst-nodelete.cc: New file.
30305         * elf/tst-nodeletelib.cc: Likewise.
30306         * elf/tst-znodeletelib.cc: Likewise.
30307         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
30309 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30311         [BZ #18508]
30312         * stdlib/Makefile ($(objpfx)tst-makecontext3):
30313         Depend on $(libdl).
30314         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
30315         is not called infinitely times.
30316         (backtrace_helper): New function.
30317         (trace_arg): New struct.
30318         (st1): Enlarge stack size.
30319         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30320         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
30321         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30322         Likewise.
30324 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30326         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30328 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
30330         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
30331         Include sys/types.h instead of bits/types.h.
30332         Remove inclusion of bits/wordsize.h.
30334 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30336         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
30337         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
30338         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
30339         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
30340         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
30341         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
30343 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30345         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
30346         link-defines.sym.
30347         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
30348         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
30349         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
30350         and LR_SIZE.
30351         * sysdeps/i386/link-defines.sym: New file.
30353 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
30355         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
30356         (modules-names): Add tst-auditmod3a tst-auditmod3b.
30357         ($(objpfx)tst-audit3): New rule.
30358         ($(objpfx)tst-audit3.out): Likewise.
30359         * sysdeps/i386/tst-audit3.c: New file.
30360         * sysdeps/i386/tst-audit3.h: Likewise.
30361         * sysdeps/i386/tst-auditmod3a.c: Likewise.
30362         * sysdeps/i386/tst-auditmod3b.c: Likewise.
30364 2015-07-07  Torvald Riegel  <triegel@redhat.com>
30366         [BZ #18633]
30367         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
30368         pointer in C code.
30369         (__strcat_c): Likewise.
30370         (__strcat_g): Likewise.
30372 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
30374         [BZ #18592]
30375         * misc/sbrk.c: Set errno to ENOMEM on overflow.
30377 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30379         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
30380         New function.  (__ieee754_sqrtf): New function.
30381         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
30382         New function.
30383         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
30384         New function.
30386 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
30388         * sysdeps/ieee754/support.c: Remove unused file.
30390 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30392         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
30393         registers instead of d ones so the layout is kernel abi compatible.
30394         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
30395         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
30396         Likewise.
30398 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30400         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30402 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30404         [BZ #18619]
30405         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
30406         and return argument in case of subnormal argument.
30408 2015-07-01  Martin Sebor  <msebor@redhat.com>
30410         [BZ #18435]
30411         * nptl/Makefile: Add tst-once5.cc.
30412         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
30413         Remove macro redefinitions.
30414         * nptl/tst-once5.cc: New test.
30416 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
30418         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30420         * sysdeps/arm/libm-test-ulps: Regenerated.
30422         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30425 2015-06-30  Torvald Riegel  <triegel@redhat.com>
30427         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
30428         lll_lock_wait_private and lll_futex_wake probes.
30430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30431         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
30432         Likewise.
30433         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
30434         atomic_spin_nop.
30435         * sysdeps/x86_64/bits/atomic.h: Likewise.
30436         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
30437         to atomic_spin_nop and move ...
30438         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30439         ... here and ...
30440         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
30441         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
30442         atomic_spin_nop instead of BUSY_WAIT_NOP.
30443         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
30444         Likewise.
30445         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
30446         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
30447         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
30448         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
30449         instead of atomic_delay.
30451 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
30453         [BZ #18613]
30454         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
30455         X_ADJ not X when adjusting exponent.
30456         (__ieee754_gamma_r): Do intermediate computations in
30457         round-to-nearest then adjust overflowing and underflowing results
30458         as needed.
30459         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
30460         of X_ADJ not X when adjusting exponent.
30461         (__ieee754_gammaf_r): Do intermediate computations in
30462         round-to-nearest then adjust overflowing and underflowing results
30463         as needed.
30464         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
30465         log of X_ADJ not X when adjusting exponent.
30466         (__ieee754_gammal_r): Do intermediate computations in
30467         round-to-nearest then adjust overflowing and underflowing results
30468         as needed.  Use 1.0L not 1.0f as numerator of division.
30469         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
30470         log of X_ADJ not X when adjusting exponent.
30471         (__ieee754_gammal_r): Do intermediate computations in
30472         round-to-nearest then adjust overflowing and underflowing results
30473         as needed.  Use 1.0L not 1.0f as numerator of division.
30474         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
30475         of X_ADJ not X when adjusting exponent.
30476         (__ieee754_gammal_r): Do intermediate computations in
30477         round-to-nearest then adjust overflowing and underflowing results
30478         as needed.  Use 1.0L not 1.0f as numerator of division.
30479         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
30480         to auto-libm-test-in.
30481         (tgamma_test): Use ALL_RM_TEST.
30482         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
30483         tests of tgamma with spurious-overflow.
30484         * math/auto-libm-test-out: Regenerated.
30485         * math/gen-libm-have-vector-test.sh: Do not check for START.
30486         * sysdeps/i386/fpu/libm-test-ulps: Update.
30487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30489         [BZ #18612]
30490         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
30491         arguments, just return 0.5 times the argument, with underflow
30492         forced as needed.
30493         * math/auto-libm-test-in: Add more tests of j1.
30494         * math/auto-libm-test-out: Regenerated.
30496         [BZ #16559]
30497         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
30498         (__ieee754_j1): Force underflow exception for small results.
30499         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30500         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
30501         (__ieee754_j1f): Force underflow exception for small results.
30502         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30503         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
30506         (__ieee754_j1l): Force underflow exception for small results.
30507         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30508         * math/auto-libm-test-in: Add more tests of j1 and jn.
30509         * math/auto-libm-test-out: Regenerated.
30511         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
30512         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
30513         (PF_MPLS): Likewise.
30514         (AF_IB): Likewise.
30515         (AF_MPLS): Likewise.
30516         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
30517         value and macro.
30518         (MS_RMT_MASK): Include MS_LAZYTIME.
30520 2015-06-26  Mel Gorman  <mgorman@suse.de>
30522         [BZ #18502]
30523         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
30524         already minimal.
30526 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
30528         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
30529         (DT_MIPS_NUM): Update.
30530         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
30531         DT_MIPS_RLD_MAP_REL.
30533 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #16559]
30536         [BZ #18602]
30537         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
30538         round-to-nearest internally then recompute results that
30539         underflowed to zero in the original rounding mode.
30540         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30541         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30543         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30544         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
30545         * sysdeps/i386/fpu/libm-test-ulps: Update.
30546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30548 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30550         * NEWS: Fixed description of link with vector math library.
30552 2015-06-25  Andreas Schwab  <schwab@suse.de>
30554         [BZ #18549]
30555         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
30556         * libio/test-fmemopen.c (do_test): Add test for it.
30558 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
30560         [BZ #17841]
30561         * Makeconfig (no-pie-ldflag): New.
30562         (+link): Set to $(+link-pie) if default to PIE.
30563         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
30564         * config.make.in (build-pie-default): New.
30565         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
30566         is default.  AC_SUBST.
30567         * configure: Regenerated.
30568         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
30570 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30572         * nptl/descr.h (struct pthread): Change type of field setxid_futex
30573         to 'unsigned int'.
30575         * resolv/gai_misc.h (struct waitlist): Change type of field
30576         counterp to 'volatile unsigned int *'.
30577         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
30578         FUTEXADDR and OLDVAL.
30579         * resolv/getaddrinfo_a.c (getaddrinfo_a):
30580         Give local variable TOTAL type 'volatile unsigned int'.
30581         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30582         * resolv/gai_suspend.c (gai_suspend):
30583         Give local variable CNTR type 'unsigned int'.
30585         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
30586         counterp to 'volatile unsigned int *'.
30587         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
30588         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
30589         (aio_suspend): Give local variable CNTR type 'unsigned int'.
30590         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
30591         Give local variable TOTAL type 'volatile unsigned int'.
30592         (struct async_waitlist): Change type of field counter to 'unsigned int'.
30594 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30596         [BZ #18383]
30597         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
30598         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
30599         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
30600         comment for i386/x86-64.
30601         (test-xfail-tst-tlsalign-extern-static): Removed.
30603 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30605         * math/test-double.h: New file.
30606         * math/test-float.h: Likewise.
30607         * math/test-ldouble.h: Likewise.
30608         * math/test-math-inline.h: Likewise.
30609         * math/test-math-no-inline.h: Likewise.
30610         * math/test-math-scalar.h: Likewise.
30611         * math/test-math-vector.h: Likewise.
30612         * math/test-vec-loop.h: Remove file.  Contents moved into
30613         test-math-vector.h.
30614         * math/libm-test.inc (MATHCONST): Do not document macro.
30615         * math/test-double.c: Include test-double.h, test-math-no-inline.h
30616         and test-math-scalar.h.
30617         (FUNC): Remove macro.
30618         (FUNC_TEST): Likewise.
30619         (FLOAT): Likewise.
30620         (MATHCONST): Likewise.
30621         (PRINTF_EXPR): Likewise.
30622         (PRINTF_XEXPR): Likewise.
30623         (PRINTF_NEXPR): Likewise.
30624         (TEST_DOUBLE): Likewise.
30625         (TEST_MATHVEC): Likewise.
30626         (__NO_MATH_INLINES): Likewise.
30627         * math/test-float.c: Include test-float.h, test-math-no-inline.h
30628         and test-math-scalar.h.
30629         (FUNC): Remove macro.
30630         (FUNC_TEST): Likewise.
30631         (FLOAT): Likewise.
30632         (MATHCONST): Likewise.
30633         (PRINTF_EXPR): Likewise.
30634         (PRINTF_XEXPR): Likewise.
30635         (PRINTF_NEXPR): Likewise.
30636         (TEST_FLOAT): Likewise.
30637         (TEST_MATHVEC): Likewise.
30638         (__NO_MATH_INLINES): Likewise.
30639         * math/test-idouble.c: Include test-double.h, test-math-inline.h
30640         and test-math-scalar.h.
30641         (FUNC): Remove macro.
30642         (FUNC_TEST): Likewise.
30643         (FLOAT): Likewise.
30644         (MATHCONST): Likewise.
30645         (PRINTF_EXPR): Likewise.
30646         (PRINTF_XEXPR): Likewise.
30647         (PRINTF_NEXPR): Likewise.
30648         (TEST_DOUBLE): Likewise.
30649         (TEST_MATHVEC): Likewise.
30650         (TEST_INLINE): Likewise.
30651         (__NO_MATH_INLINES): Likewise.
30652         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
30653         test-math-scalar.h.
30654         (FUNC): Remove macro.
30655         (FUNC_TEST): Likewise.
30656         (FLOAT): Likewise.
30657         (MATHCONST): Likewise.
30658         (PRINTF_EXPR): Likewise.
30659         (PRINTF_XEXPR): Likewise.
30660         (PRINTF_NEXPR): Likewise.
30661         (TEST_FLOAT): Likewise.
30662         (TEST_MATHVEC): Likewise.
30663         (TEST_INLINE): Likewise.
30664         (__NO_MATH_INLINES): Likewise.
30665         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
30666         and test-math-scalar.h.
30667         (FUNC): Remove macro.
30668         (FUNC_TEST): Likewise.
30669         (FLOAT): Likewise.
30670         (MATHCONST): Likewise.
30671         (PRINTF_EXPR): Likewise.
30672         (PRINTF_XEXPR): Likewise.
30673         (PRINTF_NEXPR): Likewise.
30674         (TEST_LDOUBLE): Likewise.
30675         (TEST_MATHVEC): Likewise.
30676         (TEST_INLINE): Likewise.
30677         (__NO_MATH_INLINES): Likewise.
30678         * math/test-ldouble.c: Include test-ldouble.h,
30679         test-math-no-inline.h and test-math-scalar.h.
30680         (FUNC): Remove macro.
30681         (FUNC_TEST): Likewise.
30682         (FLOAT): Likewise.
30683         (MATHCONST): Likewise.
30684         (PRINTF_EXPR): Likewise.
30685         (PRINTF_XEXPR): Likewise.
30686         (PRINTF_NEXPR): Likewise.
30687         (TEST_LDOUBLE): Likewise.
30688         (TEST_MATHVEC): Likewise.
30689         (__NO_MATH_INLINES): Likewise.
30690         * math/test-double-vlen2.h: Include test-double.h,
30691         test-math-no-inline.h and test-math-vector.h.
30692         (FLOAT): Remove macro.
30693         (FUNC): Likewise.
30694         (MATHCONST): Likewise.
30695         (PRINTF_EXPR): Likewise.
30696         (PRINTF_XEXPR): Likewise.
30697         (PRINTF_NEXPR): Likewise.
30698         (TEST_DOUBLE): Likewise.
30699         (TEST_MATHVEC): Likewise.
30700         (__NO_MATH_INLINES): Likewise.
30701         (CNCT): Likewise.
30702         (CONCAT): Likewise.
30703         (WRAPPER_NAME): Likewise.
30704         (WRAPPER_DECL): Likewise.
30705         (WRAPPER_DECL_ff): Likewise.
30706         (WRAPPER_DECL_fFF): Likewise.
30707         (VECTOR_WRAPPER): Likewise.
30708         (VECTOR_WRAPPER_ff): Likewise.
30709         (VECTOR_WRAPPER_fFF): Likewise.
30710         (VEC_LEN): New macro.
30711         * math/test-double-vlen4.h: Include test-double.h,
30712         test-math-no-inline.h and test-math-vector.h.
30713         (FLOAT): Remove macro.
30714         (FUNC): Likewise.
30715         (MATHCONST): Likewise.
30716         (PRINTF_EXPR): Likewise.
30717         (PRINTF_XEXPR): Likewise.
30718         (PRINTF_NEXPR): Likewise.
30719         (TEST_DOUBLE): Likewise.
30720         (TEST_MATHVEC): Likewise.
30721         (__NO_MATH_INLINES): Likewise.
30722         (CNCT): Likewise.
30723         (CONCAT): Likewise.
30724         (WRAPPER_NAME): Likewise.
30725         (WRAPPER_DECL): Likewise.
30726         (WRAPPER_DECL_ff): Likewise.
30727         (WRAPPER_DECL_fFF): Likewise.
30728         (VECTOR_WRAPPER): Likewise.
30729         (VECTOR_WRAPPER_ff): Likewise.
30730         (VECTOR_WRAPPER_fFF): Likewise.
30731         (VEC_LEN): New macro.
30732         * math/test-double-vlen8.h: Include test-double.h,
30733         test-math-no-inline.h and test-math-vector.h.
30734         (FLOAT): Remove macro.
30735         (FUNC): Likewise.
30736         (MATHCONST): Likewise.
30737         (PRINTF_EXPR): Likewise.
30738         (PRINTF_XEXPR): Likewise.
30739         (PRINTF_NEXPR): Likewise.
30740         (TEST_DOUBLE): Likewise.
30741         (TEST_MATHVEC): Likewise.
30742         (__NO_MATH_INLINES): Likewise.
30743         (CNCT): Likewise.
30744         (CONCAT): Likewise.
30745         (WRAPPER_NAME): Likewise.
30746         (WRAPPER_DECL): Likewise.
30747         (WRAPPER_DECL_ff): Likewise.
30748         (WRAPPER_DECL_fFF): Likewise.
30749         (VECTOR_WRAPPER): Likewise.
30750         (VECTOR_WRAPPER_ff): Likewise.
30751         (VECTOR_WRAPPER_fFF): Likewise.
30752         (VEC_LEN): New macro.
30753         * math/test-float-vlen4.h: Include test-float.h,
30754         test-math-no-inline.h and test-math-vector.h.
30755         (FLOAT): Remove macro.
30756         (FUNC): Likewise.
30757         (MATHCONST): Likewise.
30758         (PRINTF_EXPR): Likewise.
30759         (PRINTF_XEXPR): Likewise.
30760         (PRINTF_NEXPR): Likewise.
30761         (TEST_FLOAT): Likewise.
30762         (TEST_MATHVEC): Likewise.
30763         (__NO_MATH_INLINES): Likewise.
30764         (CNCT): Likewise.
30765         (CONCAT): Likewise.
30766         (WRAPPER_NAME): Likewise.
30767         (WRAPPER_DECL): Likewise.
30768         (WRAPPER_DECL_ff): Likewise.
30769         (WRAPPER_DECL_fFF): Likewise.
30770         (VECTOR_WRAPPER): Likewise.
30771         (VECTOR_WRAPPER_ff): Likewise.
30772         (VECTOR_WRAPPER_fFF): Likewise.
30773         (VEC_LEN): New macro.
30774         * math/test-float-vlen8.h: Include test-float.h,
30775         test-math-no-inline.h and test-math-vector.h.
30776         (FLOAT): Remove macro.
30777         (FUNC): Likewise.
30778         (MATHCONST): Likewise.
30779         (PRINTF_EXPR): Likewise.
30780         (PRINTF_XEXPR): Likewise.
30781         (PRINTF_NEXPR): Likewise.
30782         (TEST_FLOAT): Likewise.
30783         (TEST_MATHVEC): Likewise.
30784         (__NO_MATH_INLINES): Likewise.
30785         (CNCT): Likewise.
30786         (CONCAT): Likewise.
30787         (WRAPPER_NAME): Likewise.
30788         (WRAPPER_DECL): Likewise.
30789         (WRAPPER_DECL_ff): Likewise.
30790         (WRAPPER_DECL_fFF): Likewise.
30791         (VECTOR_WRAPPER): Likewise.
30792         (VECTOR_WRAPPER_ff): Likewise.
30793         (VECTOR_WRAPPER_fFF): Likewise.
30794         (VEC_LEN): New macro.
30795         * math/test-float-vlen16.h: Include test-float.h,
30796         test-math-no-inline.h and test-math-vector.h.
30797         (FLOAT): Remove macro.
30798         (FUNC): Likewise.
30799         (MATHCONST): Likewise.
30800         (PRINTF_EXPR): Likewise.
30801         (PRINTF_XEXPR): Likewise.
30802         (PRINTF_NEXPR): Likewise.
30803         (TEST_FLOAT): Likewise.
30804         (TEST_MATHVEC): Likewise.
30805         (__NO_MATH_INLINES): Likewise.
30806         (CNCT): Likewise.
30807         (CONCAT): Likewise.
30808         (WRAPPER_NAME): Likewise.
30809         (WRAPPER_DECL): Likewise.
30810         (WRAPPER_DECL_ff): Likewise.
30811         (WRAPPER_DECL_fFF): Likewise.
30812         (VECTOR_WRAPPER): Likewise.
30813         (VECTOR_WRAPPER_ff): Likewise.
30814         (VECTOR_WRAPPER_fFF): Likewise.
30815         (VEC_LEN): New macro.
30816         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
30817         test-vec-loop.h.
30818         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30820         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30821         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30822         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30823         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30824         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30826 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30828         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
30829         (__getlogin_r): ... this.
30831 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30833         [BZ #18594]
30834         * math/s_ccosh.c (__ccosh): Compare with least normal value
30835         instead of comparing class with FP_SUBNORMAL.
30836         * math/s_ccoshf.c (__ccoshf): Likewise.
30837         * math/s_ccoshl.c (__ccoshl): Likewise.
30838         * math/s_cexp.c (__cexp): Likewise.
30839         * math/s_cexpf.c (__cexpf): Likewise.
30840         * math/s_cexpl.c (__cexpl): Likewise.
30841         * math/s_csin.c (__csin): Likewise.
30842         * math/s_csinf.c (__csinf): Likewise.
30843         * math/s_csinh.c (__csinh): Likewise.
30844         * math/s_csinhf.c (__csinhf): Likewise.
30845         * math/s_csinhl.c (__csinhl): Likewise.
30846         * math/s_csinl.c (__csinl): Likewise.
30847         * math/s_ctan.c (__ctan): Likewise.
30848         * math/s_ctanf.c (__ctanf): Likewise.
30849         * math/s_ctanh.c (__ctanh): Likewise.
30850         * math/s_ctanhf.c (__ctanhf): Likewise.
30851         * math/s_ctanhl.c (__ctanhl): Likewise.
30852         * math/s_ctanl.c (__ctanl): Likewise.
30853         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
30854         csin, csinh, ctan and ctanh.
30855         * math/auto-libm-test-out: Regenerated.
30856         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
30857         * sysdeps/i386/fpu/libm-test-ulps: Update.
30858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30860 2015-06-24  Roland McGrath  <roland@hack.frob.com>
30862         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
30863         return value is wrong, print the expected value too.
30865 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30867         [BZ #18585]
30868         * elf/readlib.c (is_gdb_python_file): New.
30869         (process_file): Don't issue errors on filenames with -gdb.py
30870         suffix.
30872 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
30874         * math/auto-libm-test-in: Add more tests of csin and csinh.
30875         * math/auto-libm-test-out: Regenerated.
30876         * math/libm-test.inc (csin_test_data): Remove tests moved to
30877         auto-libm-test-in.
30878         (csinh_test_data): Likewise.
30880         [BZ #18593]
30881         * math/s_csin.c (__csin): Negate before rather than after possibly
30882         overflowing multiplication.
30883         * math/s_csinf.c (__csinf): Likewise.
30884         * math/s_csinh.c (__csinh): Likewise.
30885         * math/s_csinhf.c (__csinhf): Likewise.
30886         * math/s_csinhl.c (__csinhl): Likewise.
30887         * math/s_csinl.c (__csinl): Likewise.
30888         * math/auto-libm-test-in: Add some tests of csin and csinh.
30889         * math/auto-libm-test-out: Regenerated.
30890         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
30891         (csinh_test_data): Likewise.
30892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30894         [BZ #18586]
30895         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
30896         underflow exception for small results.
30898 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30900         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30901         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
30902         variable and included header.
30903         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
30904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
30905         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
30906         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30907         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
30908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
30909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
30910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
30911         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
30912         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
30913         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
30914         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
30915         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
30916         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
30917         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
30918         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
30920 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30922         [BZ #16526]
30923         [BZ #16538]
30924         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
30925         (__sin): Force underflow exception for arguments with small
30926         absolute value.
30927         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
30928         (__kernel_sinf): Force underflow exception for arguments with
30929         small absolute value.
30930         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
30931         (__kernel_sincosl): Force underflow exception for arguments with
30932         small absolute value.
30933         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
30934         (__kernel_sinl): Force underflow exception for arguments with
30935         small absolute value.
30936         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
30937         (__kernel_sincosl): Force underflow exception for arguments with
30938         small absolute value.
30939         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
30940         (__kernel_sinl): Force underflow exception for arguments with
30941         small absolute value.
30942         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
30943         (__kernel_sinl): Force underflow exception for arguments with
30944         small absolute value.
30945         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
30946         (__kernel_sinf): Force underflow exception for arguments with
30947         small absolute value.
30948         * math/auto-libm-test-in: Add more tests of sin and sincos.
30949         * math/auto-libm-test-out: Regenerated.
30951         [BZ #18245]
30952         [BZ #18583]
30953         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
30954         (__kernel_standard_l): Use feholdexcept and fesetenv around
30955         conversion to double instead of special-casing overflow and
30956         underflow.
30957         * math/libm-test.inc (fmod_test_data): Add more tests.
30958         (remainder_test_data): Likewise.
30959         (sqrt_test_data): Likewise.
30961 2015-06-23  Torvald Riegel  <triegel@redhat.com>
30963         [BZ #17403]
30964         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
30965         atomic_read_barrier, atomic_write_barrier): Define.
30966         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
30967         atomic_read_barrier, atomic_write_barrier): Define.
30969 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
30971         * math/Makefile [$(PERL) != no]
30972         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
30973         dependency on libm-test.stmp below the inclusion of Rules.
30975 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
30977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
30978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
30979         and included header.
30980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
30981         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
30982         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
30983         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
30984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
30985         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
30986         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
30987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
30988         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
30989         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
30990         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
30991         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
30992         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
30993         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
30994         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
30995         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
30996         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
30997         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
30998         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31000 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31002         [BZ #18371]
31003         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31004         intermediate but not final result might underflow.
31005         * math/s_csqrtf.c (__csqrtf): Likewise.
31006         * math/s_csqrtl.c (__csqrtl): Likewise.
31007         * math/auto-libm-test-in: Add more tests of csqrt.
31008         * math/auto-libm-test-out: Regenerated.
31009         * sysdeps/i386/fpu/libm-test-ulps: Update.
31011         [BZ #18219]
31012         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31013         threshold on absolute value of exponent for which scaling is used.
31014         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31015         * math/auto-libm-test-in: Add more tests of exp2.
31016         * math/auto-libm-test-out: Regenerated.
31018 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31020         [BZ #17977]
31021         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31022         when initializing interface list, based on the bug analysis
31023         and the patch proposed by Eric Newton.
31024         * resolv/tst-res_hconf_reorder.c: New test.
31025         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31026         tst-res_hconf_reorder.
31027         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31028         and $(shared-thread-library).
31029         (tst-res_hconf_reorder-ENV): New variable.
31031         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31032         in comment.
31034 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31036         [BZ #16353]
31037         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31038         (__expm1): Force underflow exception for arguments with small
31039         absolute value.
31040         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31041         (__expm1f): Force underflow exception for arguments with small
31042         absolute value.
31043         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31044         (__expm1): Force underflow exception for arguments with small
31045         absolute value.
31046         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31047         (__expm1f): Force underflow exception for arguments with small
31048         absolute value.
31049         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31050         Check for small arguments before calling __expm1.
31051         * math/auto-libm-test-in: Do not mark underflow exceptions as
31052         possibly missing for bug 16353.
31053         * math/auto-libm-test-out: Regenerated.
31055 2015-06-22  Andreas Schwab  <schwab@suse.de>
31057         [BZ #18513]
31058         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
31059         PTR queries.
31061 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
31063         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
31065         * string/strcoll_l.c: Remove unused struct element idxnow.
31067 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
31069         [BZ #18569]
31070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
31071         underflow and return argument in case of subnormal argument.
31072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31073         Likewise.
31074         * math/auto-libm-test-in: Add more tests of expm1.
31075         * math/auto-libm-test-out: Regenerated.
31077         [BZ #16361]
31078         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31079         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31080         tiny results.
31081         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
31082         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
31083         tiny results.
31084         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
31085         mark underflow exceptions as possibly missing for bug 16361.
31086         * math/auto-libm-test-out: Regenerated.
31088 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
31090         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
31091         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
31092         Remove variable.
31093         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31094         (test-xfail-XOPEN2K8/utmpx.h/conform).
31096         * conform/conformtest.pl ($xerrors): New variable.
31097         (note_error): New function.
31098         (compiletest): New argument $xfail.  Use not_error.
31099         (runtest): Likewise.
31100         (top level): Handle xfail- lines.  Update calls to compiletest and
31101         runtest.  Handle xfail- and optional- in headers listed with
31102         allow-header.
31103         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
31104         (O_EXEC): Likewise.
31105         (O_SEARCH): Likewise.
31106         * conform/data/stropts.h-data (ioctl): Likewise.
31107         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
31108         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
31109         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
31110         (msghdr.msg_controllen): Likewise.
31111         (cmsghdr.cmsg_len): Likewise.
31112         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
31113         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
31114         variable.
31115         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
31116         (test-xfail-XPG4/stropts.h/conform): Likewise.
31117         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
31118         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
31119         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
31120         (test-xfail-UNIX98/stropts.h/conform): Likewise.
31121         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
31122         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
31123         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
31124         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31125         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31126         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31127         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31128         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31129         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31130         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31131         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31132         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31133         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31134         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31135         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31137 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31139         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
31140         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
31141         definitions for proper unfolding of __MATHDECL_VEC.
31143 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31145         * benchtests/bench-strcoll.c:
31146         Include string.h.
31147         (main): Remove unused variable res.
31149 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31151         * timezone/Makefile (%/UTC %/Universal):
31152         Generate test-result files for UTC and Universal.
31154 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
31156         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31158 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
31160         [BZ #16350]
31161         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
31162         for arguments with small absolute value.
31163         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
31164         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
31165         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
31166         (__asinh): Force underflow exception for arguments with small
31167         absolute value.
31168         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
31169         (__asinhf): Force underflow exception for arguments with small
31170         absolute value.
31171         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
31172         (__asinhl): Force underflow exception for arguments with small
31173         absolute value.
31174         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
31175         (__asinhl): Force underflow exception for arguments with small
31176         absolute value.
31177         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
31178         (__asinhl): Force underflow exception for arguments with small
31179         absolute value.
31180         * math/auto-libm-test-in: Do not mark underflow exceptions as
31181         possibly missing for bug 16350.
31182         * math/auto-libm-test-out: Regenerated.
31184         * include/bits/ipc.h: Remove file.
31185         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
31186         variable.
31187         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
31188         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
31189         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
31190         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
31191         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
31192         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31193         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31194         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31195         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31197         * math/auto-libm-test-in: Remove spurious underflow allowance for
31198         tests of cexp.
31199         * math/auto-libm-test-out: Regenerated.
31201         [BZ #18558]
31202         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
31203         unconditional definition.
31204         (MCAST_BLOCK_SOURCE): Likewise.
31205         (MCAST_UNBLOCK_SOURCE): Likewise.
31206         (MCAST_LEAVE_GROUP): Likewise.
31207         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31208         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31209         (MCAST_MSFILTER): Likewise.
31210         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
31211         Remove variable.
31212         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31213         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31214         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31215         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31216         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31218 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
31220         * NEWS: Mention addition of x86_64 vector sincosf.
31221         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
31222         * math/test-float-vlen4.h: Likewise.
31223         * math/test-float-vlen8.h: Likewise.
31224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31225         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
31226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31227         * sysdeps/x86_64/fpu/Versions: New versions added.
31228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31230         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
31232         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
31233         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
31234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
31235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
31236         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
31237         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
31238         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
31239         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
31240         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
31241         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
31242         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
31243         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
31244         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
31245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31246         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31247         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31248         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31250         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31251         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31253         * NEWS: Mention addition of x86_64 vector sincos.
31254         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
31255         * math/math.h (__MATHDECL_VEC): New macro.
31256         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
31257         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
31258         declaration under condition.
31259         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
31260         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
31261         TEST_VEC_LOOP change.
31262         * math/test-double-vlen4.h: Likewise.
31263         * math/test-double-vlen8.h: Likewise.
31264         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
31265         * math/test-float-vlen4.h: Likewise.
31266         * math/test-float-vlen8.h: Likewise.
31267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31268         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
31269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31270         * sysdeps/x86_64/fpu/Versions: New versions added.
31271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
31275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
31276         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
31277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
31278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
31279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
31280         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
31281         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
31282         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
31283         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
31284         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
31285         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
31286         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
31287         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
31288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31296         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31297         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31298         redirections for powf.
31299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31300         * sysdeps/x86_64/fpu/Versions: New versions added.
31301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31302         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31303         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31304         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
31305         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
31306         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
31307         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
31308         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
31309         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
31310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
31311         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
31312         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
31313         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
31314         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
31315         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
31316         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
31317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
31318         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31320         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31325         * math/test-float-vlen16.h: Fixed 2 argument macro.
31326         * math/test-float-vlen4.h: Likewise.
31327         * math/test-float-vlen8.h: Likewise.
31328         * NEWS: Mention addition of x86_64 vector powf.
31330 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
31332         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31333         and redefine.
31334         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31335         and redefine.
31336         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
31337         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31340         [BZ #18553]
31341         * resource/getpriority.c (getpriority): Rename to __getpriority
31342         and define as weak alias of __getpriority.
31343         * resource/setpriority.c (setpriority): Rename to __setpriority
31344         and define as weak alias of __setpriority.
31345         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
31346         __getpriority and define as weak alias of __getpriority.
31347         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
31348         __setpriority and define as weak alias of __setpriority.
31349         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
31350         strong name.
31351         (setpriority): Use __setpriority as strong name.
31352         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
31353         __getpriority and define as weak alias of __getpriority.
31354         * include/sys/resource.h (__getpriority): Declare.  Use
31355         libc_hidden_proto.
31356         (__setpriority): Likewise.
31357         (getpriority): Don't use libc_hidden_proto.
31358         (setpriority): Likewise.
31359         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31360         getpriority.  Call __setpriority instead of setpriority.
31361         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
31362         Remove variable.
31364         [BZ #18547]
31365         * misc/getttyent.c (getttynam): Rename to __getttynam and define
31366         as weak alias of __getttynam.  Use prototype function definition.
31367         Call __setttyent, __getttyent and __endttyent instead of
31368         setttyent, getttyent and endttyent.
31369         (getttyent): Rename to __getttyent and define as weak alias of
31370         __getttyent.  Call __setttyent instead of setttyent.  Call
31371         __fgets_unlocked instead of fgets_unlocked.
31372         (setttyent): Rename to __setttyent and define as weak alias of
31373         __setttyent.
31374         (endttyent): Rename to __endttyent and define as weak alias of
31375         __endttyent.
31376         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
31377         (__setttyent): Likewise.
31378         (__endttyent): Likewise.
31379         (getttyent): Don't use libc_hidden_proto.
31380         (setttyent): Likewise.
31381         (endttyent): Likewise.
31382         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
31383         __endttyent instead of setttyent, getttyent and endttyent.
31384         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
31385         Remove variable.
31387         [BZ #18546]
31388         * socket/recv.c (__recv): Use libc_hidden_def.
31389         * socket/socket.c (__socket): Likewise.
31390         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
31391         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
31392         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
31393         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
31394         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
31395         libc_hidden_def.
31396         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
31397         libc_hidden_weak.
31398         * include/sys/socket.h (__socket): Do not use attribute_hidden.
31399         Use libc_hidden_proto.
31400         (__recv): Likewise.
31401         * socket/Versions (libc): Export __recv and __socket at version
31402         GLIBC_PRIVATE.
31403         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
31404         instead of recv.
31405         (init_mq_netlink): Call __socket instead of socket.
31406         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
31407         Remove variable.
31409         [BZ #18545]
31410         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
31411         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
31412         hidden_weak.
31413         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
31414         define as alias of __mq_timedsend.  Use hidden_weak.
31415         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
31416         __mq_timedsend as strong name.
31417         (mq_timedreceive): Use __mq_timedreceive as strong name.
31418         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
31419         (__mq_timedreceive): Likewise.
31420         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
31421         __mq_timedreceive instead of mq_timedreceive.
31422         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
31423         instead of mq_timedsend.
31424         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
31425         Remove variable.
31427         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
31428         hidden_def and hidden_weak instead of libc_hidden_def and
31429         libc_hidden_weak.
31430         (top level): Refer to hidden_def in comment.
31431         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
31432         macro.  Use it instead of libc_hidden_def.
31433         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
31434         specify __GI_* name explicitly.
31435         (mq_timedreceive): Likewise.
31436         (mq_setattr): Likewise.
31438         [BZ #18544]
31439         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
31440         __pthread_barrier_init and define as weak alias of
31441         __pthread_barrier_init.
31442         * sysdeps/sparc/nptl/pthread_barrier_init.c
31443         (pthread_barrier_init): Likewise.
31444         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
31445         __pthread_barrier_wait and define as weak alias of
31446         __pthread_barrier_wait.
31447         * sysdeps/sparc/nptl/pthread_barrier_wait.c
31448         (pthread_barrier_wait): Likewise.
31449         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
31450         (pthread_barrier_wait): Likewise.
31451         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
31452         (pthread_barrier_wait): Likewise.
31453         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
31454         (pthread_barrier_wait): Likewise.
31455         * nptl/Versions (libpthread): Export __pthread_barrier_init and
31456         __pthread_barrier_wait at version GLIBC_PRIVATE.
31457         * include/pthread.h (__pthread_barrier_init): Declare.
31458         (__pthread_barrier_wait): Likewise.
31459         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
31460         Call __pthread_barrier_wait instead of pthread_barrier_wait.
31461         (helper_thread): Likewise.
31462         (init_mq_netlink): Call __pthread_barrier_init instead of
31463         pthread_barrier_init.
31465         [BZ #18542]
31466         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
31467         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
31468         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
31469         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
31470         vswscanf.
31471         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
31472         Remove variable.
31474         [BZ #18540]
31475         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
31476         strong alias of _IO_fflush.  Use libc_hidden_def.
31477         * libio/iofflush_u.c (fflush_unlocked): Rename to
31478         __fflush_unlocked and define as weak alias of __fflush_unlocked.
31479         Use libc_hidden_weak.
31480         * include/stdio.h (__fflush_unlocked): Declare.  Use
31481         libc_hidden_proto.
31482         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
31483         fflush_unlocked.
31484         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
31485         Remove variable.
31487         [BZ #18539]
31488         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
31489         define as weak alias of __addseverity.
31490         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
31491         Remove variable.
31492         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31493         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31494         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31496         [BZ #18536]
31497         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
31498         (__tfind): Likewise.
31499         (__tdelete): Likewise.
31500         (__twalk): Likewise.
31501         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
31502         __twalk to GLIBC_PRIVATE.
31503         * include/search.h (__tsearch): Use libc_hidden_proto.
31504         (__tfind): Likewise.
31505         (__tdelete): Likewise.
31506         (__twalk): Likewise.
31507         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
31508         Call __tdelete instead of tdelete.
31509         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
31510         tfind.  Call __tsearch instead of tsearch.
31511         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
31512         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
31513         Remove variable.
31514         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31516         [BZ #18534]
31517         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
31518         (dprintf): Define as a weak alias of __dprintf, not a strong
31519         alias.
31520         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
31521         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
31522         dprintf.
31523         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
31524         Remove variable.
31525         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31526         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31528         [BZ #18533]
31529         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
31530         not a strong alias.
31531         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
31532         Remove variable.
31534         [BZ #18532]
31535         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
31536         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
31537         (in6addr_loopback): Rename to __in6addr_loopback and define as
31538         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
31539         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
31540         libc_hidden_proto.
31541         (__in6addr_any): Likewise.
31542         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
31543         in6addr_any.
31544         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
31545         variable.
31546         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31548 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
31550         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
31551         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
31552         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31554         redirections for pow.
31555         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31556         * sysdeps/x86_64/fpu/Versions: New versions added.
31557         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31558         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31559         build of SSE, AVX2 and AVX512 IFUNC versions.
31560         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
31561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
31562         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
31563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
31564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
31565         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
31566         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
31567         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
31568         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
31569         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
31570         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
31571         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
31572         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
31573         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
31574         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31575         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31577         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31578         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31579         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31580         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31581         * NEWS: Mention addition of x86_64 vector pow.
31583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31584         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31585         redirections for expf.
31586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31587         * sysdeps/x86_64/fpu/Versions: New versions added.
31588         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31589         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31590         build of SSE, AVX2 and AVX512 IFUNC versions.
31591         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
31592         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
31593         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
31594         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
31595         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
31596         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
31597         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
31598         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
31599         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
31600         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
31601         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
31602         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
31603         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
31604         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31606         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31609         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31610         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31611         * NEWS: Mention addition of x86_64 vector expf.
31613         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
31614         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
31615         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31617         redirections for exp.
31618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31619         * sysdeps/x86_64/fpu/Versions: New versions added.
31620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31622         build of SSE, AVX2 and AVX512 IFUNC versions.
31623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
31624         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
31625         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
31626         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
31627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
31628         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
31629         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
31630         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
31631         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
31632         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
31633         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
31634         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
31635         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
31636         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31639         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31640         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31641         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31642         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31643         * NEWS: Mention addition of x86_64 vector exp.
31645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31647         redirections for logf.
31648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31649         * sysdeps/x86_64/fpu/Versions: New versions added.
31650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31652         build of SSE, AVX2 and AVX512 IFUNC versions.
31653         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
31654         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
31655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
31656         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
31657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
31658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
31659         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
31660         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
31661         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
31662         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
31663         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
31664         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
31665         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
31666         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31667         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31668         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31671         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31672         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31673         * NEWS: Mention addition of x86_64 vector logf.
31675         * bits/libm-simd-decl-stubs.h: Added stubs for log.
31676         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
31677         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31678         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
31679         redirections for log.
31680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31681         * sysdeps/x86_64/fpu/Versions: New versions added.
31682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31684         build of SSE, AVX2 and AVX512 IFUNC versions.
31685         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
31686         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
31687         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
31688         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
31689         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
31690         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
31691         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
31692         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
31693         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
31694         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
31695         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
31696         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
31697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
31698         test.
31699         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31701         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31702         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31703         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31704         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31705         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31706         * NEWS: Mention addition of x86_64 vector log.
31708 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31710         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
31711         cfi_adjust_cfa_offset argument.
31712         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
31713         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
31715         [BZ #18034]
31716         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
31717         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
31718         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
31719         ordering using ldar.
31720         (_dl_tlsdesc_dynamic): Likewise.
31721         (_dl_tlsdesc_return_lazy): Likewise.
31722         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
31723         relaxed atomics instead of volatile and synchronize with release store.
31724         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
31725         volatile.
31726         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31728 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
31730         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31731         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
31732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31733         * sysdeps/x86_64/fpu/Versions: New versions added.
31734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
31736         build of SSE, AVX2 and AVX512 IFUNC versions.
31737         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
31738         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
31739         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
31740         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
31741         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
31742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
31743         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
31744         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
31745         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
31746         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
31747         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
31748         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
31749         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
31750         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
31751         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31752         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
31753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
31755         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31756         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31757         * NEWS: Mention addition of x86_64 vector sinf.
31759 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
31761         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
31762         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
31763         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
31764         Remove variable.
31765         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31766         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31768 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31770         [BZ #18530]
31771         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
31772         strong alias of _IO_fputs.  Use libc_hidden_def.
31773         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
31774         and define as weak alias of __fputs_unlocked.  Use
31775         libc_hidden_weak.
31776         * include/stdio.h (__fputs_unlocked): Declare.  Use
31777         libc_hidden_proto.
31778         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
31779         fputs_unlocked.
31781         [BZ #18529]
31782         * resolv/netdb.h [__USE_POSIX]: Change condition to
31783         [__USE_XOPEN2K].
31784         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
31785         not expect.
31786         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
31787         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
31788         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
31789         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
31790         [XPG4 || UNIX98] (AI_ALL): Likewise.
31791         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
31792         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
31793         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
31794         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
31795         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
31796         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
31797         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
31798         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
31799         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
31800         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
31801         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
31802         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
31803         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
31804         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
31805         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
31806         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31807         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
31808         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
31809         [XPG4 || UNIX98] (gai_strerror): Likewise.
31810         [XPG4 || UNIX98] (getaddrinfo): Likewise.
31811         [XPG4 || UNIX98] (getnameinfo): Likewise.
31813         [BZ #18528]
31814         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
31815         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
31816         __USE_XOPEN2K8].
31817         (getgrent): Likewise.
31818         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
31819         expect.
31820         [XPG3 || POSIX2008] (endgrent): Likewise.
31821         [XPG3] (setgrent): Likewise.
31822         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
31823         variable.
31824         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31826         [BZ #18527]
31827         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
31828         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
31829         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
31830         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
31831         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
31832         * include/unistd.h (__getlogin_r): Declare.  Use
31833         libc_hidden_proto.
31834         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
31835         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
31836         variable.
31837         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31838         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31839         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31841 2015-06-12  Martin Sebor  <msebor@redhat.com>
31843         [BZ #18512]
31844         * Makerules (check-install-supported): New target.
31845         (install): Add check-install-supported as a dependency.
31846         * manual/install.texi (Installing the C Library): Document
31847         that overriding prefix and exec_prefix is not supported.
31848         Mention DESTDIR.
31849         * INSTALL: Regenerate from the above.
31851 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
31853         [BZ #18519]
31854         * posix/Versions (libc): Export __libc_pread at version
31855         GLIBC_PRIVATE.
31856         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
31857         instead of pread.
31858         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
31859         variable.
31861         [BZ #18522]
31862         * misc/efgcvt_r.c
31863         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
31864         (cvt_symbol): Use weak_alias instead of strong_alias.
31865         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
31866         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
31867         Remove variable.
31868         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31869         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31871         [BZ #18520]
31872         * inet/herrno.c (h_errno): Rename to __h_errno.
31873         (__libc_h_errno): Define as alias of __h_errno not h_errno.
31874         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
31875         to __h_errno instead of h_errno.
31876         * nptl/herrno.c (h_errno): Rename to __h_errno.
31877         (__h_errno_location): Refer to __h_errno not h_errno.
31878         * resolv/Versions (h_errno): Rename to __h_errno.
31879         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
31880         Remove variable.
31881         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31883 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
31885         * configure.ac: More strict check for AVX512 assembler support.
31886         * configure: Regenerated.
31888         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
31889         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
31890         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
31891         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
31892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31893         * sysdeps/x86_64/fpu/Versions: New versions added.
31894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
31896         Added build of SSE, AVX2 and AVX512 IFUNC versions.
31897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
31898         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
31899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
31900         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
31901         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
31902         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
31903         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
31904         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
31905         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
31906         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
31907         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
31908         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
31909         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
31910         test.
31911         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
31912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
31914         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31915         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31916         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31917         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
31918         * NEWS: Mention addition of x86_64 vector sin.
31920 2015-06-11  Florian Weimer  <fweimer@redhat.com>
31922         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
31923         comment.
31925 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31927         [BZ #18479]
31928         * nptl/pt-interp.c: New file.
31929         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
31930         Add pt-interp.
31931         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
31932         $(common-objpfx)runtime-linker.h.
31934 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
31936         * Makeconfig (+interp): Remove unused variable.
31937         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
31938         only.  Depend on $(common-objpfx)runtime-linker.h instead of
31939         $(elf-objpfx)runtime-linker.h.
31940         ($(elf-objpfx)runtime-linker.h): Rename to
31941         $(common-objpfx)runtime-linker.h and move ...
31942         * Makerules [$(build-shared) = yes]: ... here.
31943         * elf/interp.c: Include <runtime-linker.h> instead of
31944         <elf/runtime-linker.h>.
31946 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31948         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
31949         (__gettimeofday_syscall): Remove vsyscall fallback.
31950         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
31951         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
31952         Add syscall fallback function.
31953         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
31954         if vDSO is not present.
31955         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
31956         fallback function.
31957         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
31958         present.
31959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
31960         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31962 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
31964         [BZ #18497]
31965         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
31966         of wcscmp.
31967         (wcscmp): Define as weak alias of WCSCMP.
31968         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
31969         wcscoll.
31970         (USE_HIDDEN_DEF): Define.
31971         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
31972         __wcscoll.  Don't use libc_hidden_weak.
31973         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
31974         wcscmp.
31975         * sysdeps/i386/i686/multiarch/wcscmp-c.c
31976         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
31977         __GI_wcscmp.
31978         (weak_alias): Undefine and redefine.
31979         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
31980         __wcscmp and define as weak alias of __wcscmp.
31981         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
31982         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
31983         (__wcscoll): Likewise.
31984         (wcscmp): Don't use libc_hidden_proto.
31985         (wcscoll): Likewise.
31986         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
31987         wcscoll.
31988         * posix/regexec.c (check_node_accept_bytes): Likewise.
31989         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
31990         variable.
31991         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31992         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31994         [BZ #18507]
31995         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
31996         __fstatvfs and define as weak alias of __fstatvfs.  Use
31997         libc_hidden_weak.
31998         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
31999         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32000         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32001         Define as alias of __fstatvfs, not fstatvfs.
32002         (fstatvfs64): Likewise.
32003         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32004         Define as alias of __statvfs, not statvfs.
32005         (statvfs64): Likewise.
32006         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32007         Remove variable.
32009 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32012         (HAVE_GETCPU_VSYSCALL): Define.
32013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32014         (HAVE_GETCPU_VSYSCALL): Likewise.
32015         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32016         * sysdeps/unix/sysv/linux/sched_getcpu.c
32017         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32018         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32019         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32020         prototype.
32021         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32022         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32023         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32025         Define.
32026         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32027         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32028         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32029         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32031 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32033         * sysdeps/x86_64/fpu/Makefile: New file.
32034         * sysdeps/x86_64/fpu/Versions: New file.
32035         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32036         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32037         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32038         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32039         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32040         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32041         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32042         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32043         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32045         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32048         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32049         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32050         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
32051         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
32052         * sysdeps/x86_64/configure.ac: Options for libmvec build.
32053         * sysdeps/x86_64/configure: Regenerated.
32054         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
32055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
32056         * manual/install.texi (Configuring and compiling): Document
32057         --disable-mathvec.
32058         * INSTALL: Regenerated.
32059         * NEWS: Mention addition of libmvec and x86_64 vector cos.
32061         * math/Makefile: Added rules for vector tests.
32062         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
32063         declaration under condition.
32064         * math/test-double-vlen2.h: New file.
32065         * math/test-double-vlen4.h: New file.
32066         * math/test-double-vlen8.h: New file.
32067         * math/test-vec-loop.h: Added initialization macro.
32068         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
32069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
32070         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
32071         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
32072         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
32073         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
32074         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
32075         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
32076         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
32077         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
32078         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
32080         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32081         * sysdeps/x86_64/fpu/Versions: New versions added.
32082         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
32083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
32084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
32085         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
32086         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
32087         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
32088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
32089         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
32090         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
32091         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
32092         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
32093         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
32094         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
32095         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32096         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32097         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32098         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
32099         * NEWS: Mention addition of x86_64 vector cosf.
32101         * math/Makefile: Added CFLAGS for new tests.
32102         * math/test-float-vlen16.h: New file.
32103         * math/test-float-vlen4.h: New file.
32104         * math/test-float-vlen8.h: New file.
32105         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
32106         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
32107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32108         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
32109         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
32110         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
32111         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
32112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
32113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
32114         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
32115         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
32117 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
32119         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
32120         * locale/programs/ld-ctype.c: Likewise.
32122 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
32124         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
32125         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
32126         bit_ZMM16_31_state): New macro.
32127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32128         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
32130 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
32132         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
32134 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
32136         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
32138 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
32140         [BZ #18498]
32141         * libio/memstream.c (open_memstream): Rename to __open_memstream
32142         and define as weak alias of __open_memstream.
32143         * include/stdio.h (__open_memstream): Declare.  Use
32144         libc_hidden_proto.
32145         (open_memstream): Don't use libc_hidden_proto.
32146         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
32147         open_memstream.
32148         * posix/getopt.c (_getopt_internal_r): Likewise.
32149         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
32150         variable.
32151         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32152         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32153         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32155         [BZ #18496]
32156         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
32157         instead of wcrtomb.
32159         [BZ #18483]
32160         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
32161         [__USE_XOPEN2K8].  Remove redundant #endif.
32162         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
32163         Remove redundant #if.
32164         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
32165         Remove variable.
32166         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32167         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32169         [BZ #18495]
32170         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
32171         (__iswlower): Likewise.
32172         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
32173         (__iswlower): Likewise.
32174         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
32175         instead of towlower.
32176         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
32177         instead of iswlower.  Call __towupper instead of towupper.
32178         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
32179         instead of iswalnum.
32181 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32183         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
32184         errors to stderr.
32186 2015-06-05  Florian Weimer  <fweimer@redhat.com>
32188         [BZ #15661]
32189         [BZ #17322]
32190         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32191         Check for overflow properly.  Check for O_APPEND.  Ignore large
32192         file system block sizes.  Add comments about problems.
32193         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
32194         * manual/filesys.texi (Storage Allocation): New node.
32196 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32198         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
32199         cancellable syscalls.
32200         (SYS_ify): Add guard to no redefine it.
32201         (INLINE_SYSCALL): Likewise.
32202         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
32203         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
32204         SYSCALL_CANCEL instead.
32205         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
32206         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32207         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32208         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32209         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32210         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
32211         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
32212         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
32213         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32214         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32215         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
32216         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
32217         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
32218         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
32219         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
32220         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32221         Likewise.
32222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32223         (__libc_pread64): Likewise.
32224         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
32225         (__libc_preadv): Likewise.
32226         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
32227         (__libc_readv64): Likewise.
32228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32229         (__libc_pwrite): Likewise.
32230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32231         (__libc_pwrite64): Likewise.
32232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
32233         (__libc_pwritev): Likewise.
32234         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
32235         (__libc_pwritev64): Likewise.
32236         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
32237         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
32238         (sync_file_range): Likewise.
32239         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
32240         Likewise.
32241         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
32242         Likewise.
32243         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32244         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32245         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32246         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32247         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32248         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32249         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32250         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32252         Likewise.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32254         (__libc_read64): Likewise.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
32256         Likewise.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
32258         Likewise.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
32260         Likewise.
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
32262         Likewise.
32263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32264         (__libc_pread64): Likewise.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
32266         Likewise.
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32268         (__libc_pwrite64): Likewise.
32269         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
32270         (sync_file_range): Likewise.
32271         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
32272         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32273         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32274         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
32275         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
32276         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32277         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32278         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
32279         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
32280         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32281         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32282         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32283         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32284         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32285         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
32286         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32287         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32288         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32289         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32290         Likewise.
32291         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
32292         Likewise.
32293         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
32294         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
32295         Likewise.
32296         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
32297         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
32298         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
32299         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
32300         Likewise.
32301         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
32302         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
32303         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
32304         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
32305         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
32307 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
32309         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
32310         Include dl-vdso.
32311         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
32312         Use VDSO routines for gettimeofday, clock_gettime if
32313         available.
32314         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
32315         Declare VDSO symbols.
32316         * sysdeps/unix/sysv/linux/arm/sysdep.h:
32317         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
32318         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32319         * sysdeps/unix/sysv/linux/arm/Versions: Add
32320         __vdso_clock_gettime.
32322 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32324         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
32325         be an inline implementation regardless of library is built within.
32326         (open_not_cancel_2): Likewise.
32327         (__read_nocancel): Likewise.
32328         (__write_nocancel): Likewise.
32329         (openat_not_cancel): Likewise.
32330         (openat_not_cancel_3): Likewise.
32331         (openat64_not_cancel): Likewise.
32332         (openat64_not_cancel_3): Likewise.
32333         (__close_nocancel): Likewise.
32334         (pause_not_cancel): Likewise.
32335         (nanosleep_not_cancel): Likewise.
32336         (sigsuspend_not_cancel): Likewise.
32338 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32340         [BZ #14958]
32341         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
32342         wake-up.
32343         (__pthread_rwlock_rdlock_slow): Likewise.
32344         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32345         Likewise.
32346         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32347         Likewise.
32348         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
32349         * nptl/tst-rwlock16.c: New file.
32350         * nptl/Makefile (tests): Add new test.
32352 2015-06-04  Torvald Riegel  <triegel@redhat.com>
32354         [BZ #18324]
32355         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
32356         missing wake-up of readers.
32357         * nptl/tst-rwlock15.c: New file.
32358         * nptl/Makefile (tests): Add new test.
32360 2015-06-03  Roland McGrath  <roland@hack.frob.com>
32362         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
32363         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
32364         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
32365         and __nacl_supply_interface_rtld.
32366         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
32367         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
32368         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
32369         Add __nacl_supply_interface_rtld.
32370         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
32372 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32374         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
32375         isfinite.
32376         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32377         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
32379 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
32381         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
32382         __signbit* with standard C99 macros.
32383         * math/e_exp10l.c: Likewise.
32384         * math/e_exp2l.c: Likewise.
32385         * math/e_scalb.c: Likewise.
32386         * math/e_scalbf.c: Likewise.
32387         * math/e_scalbl.c: Likewise.
32388         * math/s_ldexp.c: Likewise.
32389         * math/s_ldexpf.c: Likewise.
32390         * math/s_ldexpl.c: Likewise.
32391         * math/w_atan2.c: Likewise.
32392         * math/w_atan2f.c: Likewise.
32393         * math/w_atan2l.c: Likewise.
32394         * math/w_cosh.c: Likewise.
32395         * math/w_coshf.c: Likewise.
32396         * math/w_coshl.c: Likewise.
32397         * math/w_exp10.c: Likewise.
32398         * math/w_exp10f.c: Likewise.
32399         * math/w_exp10l.c: Likewise.
32400         * math/w_exp2.c: Likewise.
32401         * math/w_exp2f.c: Likewise.
32402         * math/w_exp2l.c: Likewise.
32403         * math/w_fmod.c: Likewise.
32404         * math/w_fmodf.c: Likewise.
32405         * math/w_fmodl.c: Likewise.
32406         * math/w_hypot.c: Likewise.
32407         * math/w_hypotf.c: Likewise.
32408         * math/w_hypotl.c: Likewise.
32409         * math/w_jnl.c: Likewise.
32410         * math/w_lgamma.c: Likewise.
32411         * math/w_lgamma_r.c: Likewise.
32412         * math/w_lgammaf.c: Likewise.
32413         * math/w_lgammaf_r.c: Likewise.
32414         * math/w_lgammal.c: Likewise.
32415         * math/w_lgammal_r.c: Likewise.
32416         * math/w_pow.c: Likewise.
32417         * math/w_powf.c: Likewise.
32418         * math/w_powl.c: Likewise.
32419         * math/w_remainder.c: Likewise.
32420         * math/w_remainderf.c: Likewise.
32421         * math/w_remainderl.c: Likewise.
32422         * math/w_scalb.c: Likewise.
32423         * math/w_scalbf.c: Likewise.
32424         * math/w_scalbl.c: Likewise.
32425         * math/w_scalbln.c: Likewise.
32426         * math/w_scalblnf.c: Likewise.
32427         * math/w_scalblnl.c: Likewise.
32428         * math/w_sinh.c: Likewise.
32429         * math/w_sinhf.c: Likewise.
32430         * math/w_sinhl.c: Likewise.
32431         * math/w_tgamma.c: Likewise.
32432         * math/w_tgammaf.c: Likewise.
32433         * math/w_tgammal.c: Likewise.
32434         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32435         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
32436         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32437         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32440         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32441         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32442         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32443         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32444         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32445         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32446         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32447         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32448         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32449         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32451         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32452         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32455         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32456         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32458         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32459         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32460         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
32461         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32462         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32464         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
32465         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
32466         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
32467         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
32468         * stdio-common/printf_fp.c: Likewise.
32469         * stdio-common/printf_fphex.c: Likewise.
32470         * stdio-common/printf_size.c: Likewise.
32472 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
32474         [BZ #18470]
32475         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
32476         strnlen.
32477         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
32478         Remove variable.
32479         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32480         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32481         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32482         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32483         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32484         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32485         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32486         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32487         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32488         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32490         [BZ #18468]
32491         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
32492         weak alias of __wmemchr.  Use libc_hidden_weak.
32493         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
32494         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
32495         instead of wmemchr.
32497 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32499         [BZ #18383]
32500         * elf/tst-tlsalign-extern.c: New file.
32501         * elf/tst-tlsalign-extern-static.c: New file.
32502         * elf/tst-tlsalign-vars.c: New file.
32503         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
32504         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
32505         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
32506         ($(objpfx)tst-tlsalign-extern-static): Likewise.
32507         (test-xfail-tst-tlsalign-extern-static): New variable.
32509 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
32511         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
32512         Use variable name _sc_err instead of err.
32513         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
32514         instead of ret.
32515         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
32516         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
32517         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
32518         (INLINE_SYSCALL): Likewise.
32520         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
32521         * include/string.h (__strnlen): Use libc_hidden_proto.
32522         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
32523         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
32524         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
32525         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
32526         (libc_hidden_def): Undefine and redefine.
32527         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
32528         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
32529         __GI_strnlen.
32530         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
32531         libc_hidden_def.
32532         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
32534         [BZ #18469]
32535         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
32536         weak alias of __towlower.  Use libc_hidden_weak.
32537         (towupper): Rename to __towupper and define as weak alias of
32538         __towupper.  Use libc_hidden_weak.
32539         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
32540         (__towupper): Likewise.
32541         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
32542         __towlower instead of towlower.
32544 2015-06-02  Roland McGrath  <roland@hack.frob.com>
32546         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
32547         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
32549 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32551         * sysdeps/aarch64/libm-test-ulps: Update.
32553 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32555         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
32556         Define.
32557         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32558         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32559         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32560         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32561         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
32562         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
32563         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
32565 2015-06-01  Martin Sebor  <msebor@redhat.com>
32567         [BZ #18116]
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32569         (__setcontext): Use extended four-operand version of mtsf whenever
32570         possible.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32572         (__novec_swapcontext): Likewise.
32574 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32576         * benchtests/scripts/compare_bench.py: New file.
32577         * benchtests/scripts/import_bench.py (mean): New function.
32578         (split_list): Likewise.
32579         (do_for_all_timings): Likewise.
32580         (compress_timings): Likewise.
32582         * benchtests/scripts/import_bench.py: New file.
32583         * benchtests/scripts/validate_benchout.py: Import import_bench
32584         instead of jsonschema.
32585         (validate_bench): Remove function.
32586         (main): Use import_bench.
32588 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
32590         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
32591         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
32593 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32597 2015-05-28  Roland McGrath  <roland@hack.frob.com>
32599         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
32600         set THREAD_SELF->tid to a magic value and futex-wake it.
32601         Pass its address to the thread_exit system call.
32602         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
32603         bit is clear.
32604         * sysdeps/nacl/lowlevellock.h: New file.
32605         * sysdeps/nacl/lll_timedwait_tid.c: New file.
32607         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
32608         Add TIMEOUT to current time, don't subtract it.
32610 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
32612         [BZ #2981]
32613         [BZ #18422]
32614         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
32615         ($(objpfx)tst-audit2.out): Also depend on
32616         $(objpfx)tst-auditmod9b.so.
32617         * elf/tst-audit2.c: Include <dlfcn.h>.
32618         (calloc_called): New.
32619         (calloc): Allow to be called more than once.
32620         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
32622 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
32624         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
32625         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
32627 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
32629         * stdlib/monetary.h: Fix comment.
32631 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
32633         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
32634         Avoid using variables in #defines that might cause shadowing.
32635         (INTERNAL_VSYSCALL_CALL): Likewise.
32637 2015-05-26  Roland McGrath  <roland@hack.frob.com>
32639         * sysdeps/nacl/lll_timedlock_wait.c: New file.
32641         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
32642         * nptl/lll_timedlock_wait.c: ... to this new file.
32643         * nptl/Makefile (libpthread-routines): Add it.
32644         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
32645         * nptl/lll_timedwait_tid.c: ... to this new file.
32646         * nptl/Makefile (libpthread-routines): Add it.
32647         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
32648         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
32649         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
32650         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
32651         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
32652         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
32653         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
32654         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
32655         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
32656         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
32658 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32660         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
32661         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32662         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
32664         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
32665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32666         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32667         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32668         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32669         * sysdeps/unix/sysv/linux/tile/sysdep.h
32670         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
32671         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
32672         using vDSO syscall macro.
32674 2015-05-26  Andriy Rysin  <arysin@gmail.com>
32676         [BZ #17293]
32677         * uk_UA: Fix sorting order for Ukrainian locale
32679 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
32681         * stdlib/monetary.h: Fix comment.
32683 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32685         [BZ #18234]
32686         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
32687         st_mtim and st_ctim members.
32688         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
32689         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
32690         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
32691         (struct stat64): Likewise.
32692         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
32693         (struct stat64): Likewise.
32694         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
32695         (struct stat64): Likewise.
32697 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32699         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
32700         Define and include sysdep-vdso.h.
32701         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
32702         Likewise.
32703         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
32704         Likewise.
32705         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
32706         Define with VDSO_SYMBOL and use PTR_MANGLE.
32707         (__vdso_clock_gettime): Likewise.
32708         (__vdso_clock_getres): Likewise.
32709         (_libc_vdso_platform_setup): Likewise.
32710         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32711         Likewise.
32712         (_libc_vdso_platform_setup): Likewise.
32713         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
32714         Likewise.
32715         (__vdso_clock_gettime): Likewise.
32716         (__vdso_clock_getres): Likewise.
32717         (__vdso_get_tbfreq): Likewise.
32718         (__vdso_getcpu): Likewise.
32719         (__vdso_time): Likewise.
32720         (__vdso_sigtramp_rt64): Likewise.
32721         (__vdso_signtramp32): Likewise.
32722         (__vdso_sigtramp_rt32): Likewise.
32723         (_libc_vdso_platform_setup): Likewise.
32724         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
32725         Likewise.
32726         (__vdso_clock_gettime): Likewise.
32727         (__vdso_clock_getres): Likewise.
32728         (_libc_vdso_platform_setup): Likewise.
32729         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
32730         Likewise.
32731         (__vdso_clock_gettime): Likewise.
32732         (_libc_vdso_platform_setup): Likewise.
32733         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32734         Likewise.
32735         (__vdso_getcpu): Likewise.
32736         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
32737         Use VDSO_SYMBOL macro to define.
32738         (__vdso_clock_gettime): Likewise.
32739         (__vdso_clock_getres): Likewise.
32740         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
32741         Likewise.
32742         (__vdso_clock_gettime): Likewise.
32743         (__vdso_clock_getres): Likewise.
32744         (__vdso_get_tbfreq): Likewise.
32745         (__vdso_getcpu): Likewise.
32746         (__vdso_time): Likewise.
32747         (__vdso_sigtramp_rt64): Likewise.
32748         (__vdso_signtramp32): Likewise.
32749         (__vdso_sigtramp_rt32): Likewise.
32750         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
32751         Likewise.
32752         (__vdso_clock_gettime): Likewise.
32753         (__vdso_clock_getres): Likewise.
32754         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
32755         Likewise.
32756         (__vdso_clock_gettime): Likewise.
32757         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32758         Likewise.
32759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
32760         macro.
32761         (INTERNAL_VSYSCALL): Likewise.
32762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
32763         Remove macro.
32764         (INTERNAL_VSYSCALL): Likewise.
32765         (INTERNAL_VSYSCALL_NCS): Likewise.
32766         (INTERNAL_VSYSCALL_CALL): New macro.
32767         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32768         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
32769         Likewise.
32770         (INTERNAL_VSYSCALL): Likewise.
32771         (INTERNAL_VSYSCALL_NCS): Likewise.
32772         (INTERNAL_VSYSCALL_CALL): New macro.
32773         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
32774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32775         (INLINE_VSYSCALL): Remove macro.
32776         (INTERNAL_VSYSCALL): Remove macro.
32777         (INTERNAL_VSYSCALL_NCS): Remove macro.
32778         (INTERNAL_VSYSCALL_CALL): New macro.
32779         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
32780         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
32781         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32782         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
32783         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
32784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32785         (INLINE_VSYSCALL): Remove macro.
32786         (INTERNAL_VSYSCALL): Likewise.
32787         (INTERNAL_VSYSCALL_NCS): Likewise.
32788         (INTERNAL_VSYSCALL_CALL): New macro.
32789         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
32790         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
32791         PTR_DEMANGLE on vDSO pointer.
32792         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
32793         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
32794         macro.
32795         (INTERNAL_SYSCALL): Likewise.
32796         (INTERNAL_VSYSCALL_NCS): Remove macro.
32797         (INTERNAL_VSYSCALL_CALL): New macro.
32798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
32799         Remove macro.
32800         (INTERNAL_VSYSCALL): Likewise.
32801         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
32802         sysdep-vdso.h instead of libc-vdso.h.
32803         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
32804         definition.
32805         (INLINE_VSYSCALL): Likewise.
32806         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
32807         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
32808         definition.
32809         (INLINE_VSYSCALL): Likewise.
32810         (INTERNAL_VSYSCALL): Likewise.
32811         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32812         * sysdeps/unix/sysv/linux/timespec_get.c
32813         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
32814         (timespec_get): Use ANSI prototype.
32815         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
32816         and definition for Linux.
32818 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32820         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
32821         * include/libc-symbols.h: libmvec_hidden_* macro series added.
32823 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32825         [BZ #2981]
32826         [BZ #18410]
32827         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
32828         for missing DT_PLTRELSZ.
32830 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32832         Remove obsolete aliases that broke 'locale -a'
32833         [BZ #18412]
32834         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
32835         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
32836         breaking some applications that use 'locale -a' output.
32837         Change the encoding of this file from Latin-1 to ASCII to avoid
32838         other potential problems with people grepping this file.
32840 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32842         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
32843         -fasynchronous-unwind-tables.
32844         (CFLAGS-sendto.c): Likewise.
32845         (CFLAGS-sendmsg.c): Likewise.
32846         (CFLAGS-connect.c): Likewise.
32847         (CFLAGS-recvmsg.c): Likewise.
32848         (CFLAGS-recvfrom.c): Likewise.
32849         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
32850         (SOCKETCALL): New macro: non-cancellable socketcall.
32851         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
32852         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
32853         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
32854         * sysdeps/unix/sysv/linux/accept.c: New file.
32855         * sysdeps/unix/sysv/linux/bind.c: Likewise.
32856         * sysdeps/unix/sysv/linux/connect.c: Likewise.
32857         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
32858         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
32859         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
32860         * sysdeps/unix/sysv/linux/listen.c: Likewise.
32861         * sysdeps/unix/sysv/linux/recv.c: Likewise.
32862         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
32863         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
32864         * sysdeps/unix/sysv/linux/send.c: Likewise.
32865         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
32866         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
32867         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
32868         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
32869         * sysdeps/unix/sysv/linux/socket.c: Likewise.
32870         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
32871         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
32872         prototype.
32873         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
32874         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32875         instead of __internal_xxx function.
32876         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
32877         prototype.
32878         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
32879         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32880         instead of __internal_xxx function.
32881         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
32882         prototype.
32883         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
32884         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
32885         instead of __internal_xxx function.
32886         * sysdeps/unix/sysv/linux/accept.S: Remove file.
32887         * sysdeps/unix/sysv/linux/bind.S: Likewise.
32888         * sysdeps/unix/sysv/linux/connect.S: Likewise.
32889         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
32890         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
32891         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
32892         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
32893         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
32894         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
32895         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
32896         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
32897         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32898         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
32899         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
32900         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
32901         * sysdeps/unix/sysv/linux/listen.S: Likewise.
32902         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
32903         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
32904         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
32905         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
32908         * sysdeps/unix/sysv/linux/recv.S: Likewise.
32909         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
32910         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
32911         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
32912         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32913         * sysdeps/unix/sysv/linux/send.S: Likewise.
32914         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
32915         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
32916         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
32917         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
32918         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
32919         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
32920         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
32921         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
32922         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
32923         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
32924         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
32925         socketcall is implemented in GLIBC.
32927 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32929         * soft-fp/fmadf4.c: Include <libc-internal.h>.
32930         (__fma): Ignore uninitialized warnings around packing.
32931         * soft-fp/fmasf4.c: Include <libc-internal.h>.
32932         (__fmaf): Ignore uninitialized warnings around packing.
32933         * soft-fp/fmatf4.c: Include <libc-internal.h>.
32934         (__fmal): Ignore uninitialized warnings around packing.
32936         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
32937         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32938         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
32939         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32941         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
32942         switch statement into default case.
32943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
32945         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
32946         a conditional in forcing "inexact".
32947         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32948         Likewise.
32950 2015-05-22  Roland McGrath  <roland@hack.frob.com>
32952         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32953         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
32954         for each INTERNAL_SYSCALL use.
32956 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
32958         [BZ #438]
32959         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
32960         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
32961         variable.
32963         [BZ #18444]
32964         * string/basename.c (basename): Rename to __basename and define as
32965         weak alias of __basename.  Use libc_hidden_weak.
32966         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
32967         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
32968         __basename instead of basename.
32969         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
32970         Remove variable.
32971         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32973 2015-05-18  Florian Weimer  <fweimer@redhat.com>
32975         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
32976         (_IO_JUMPS_FILE_plus): New.
32977         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
32978         _IO_CAST_FIELD_ACCESS.
32979         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
32980         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
32981         * libio/freopen.c (freopen): Likewise.
32982         * libio/freopen64.c (freopen64): Likewise.
32983         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
32984         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
32985         * libio/iofwide.c (_IO_fwide): Likewise.
32986         * libio/memstream.c (open_memstream): Likewise.
32987         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32988         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
32989         * libio/oldiopopen.c (_IO_old_popen): Likewise.
32991 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
32993         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
32994         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
32995         NADJ.
32996         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
32997         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
32998         NADJ.
32999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33000         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33001         NADJ.
33003         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33004         (p == 4) case.
33006         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33007         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33008         Remove variable.
33009         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33010         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33011         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33013 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33015         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33016         Adjust jump table label generation macros.
33018 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33020         * stdio-common/vfprintf.c (vfprintf): Move local variables
33021         args_malloced, specs, specs_malloced, and the code after
33022         do_positional to the printf_positional function.
33023         (printf_positional): New function.
33025 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33027         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33028         function.
33029         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33030         STEP4_TABLE, process_arg): Move macro definitions
33031         out of the vfprintf function.  (Cosmetic change only.)
33033 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33035         * benchtests/Makefile (stdio-common-bench): Define.
33036         (benchset): Add stdio-common-bench.
33037         * sprintf-inputs: New file.
33038         * sprintf-source.c: New file.
33040 2015-05-21  Andreas Schwab  <schwab@suse.de>
33042         [BZ #13028]
33043         [BZ #17053]
33044         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33045         of struct __res_state.
33046         * resolv/res_send.c (__libc_res_nsend): Likewise.
33047         (get_nsaddr): New function.
33048         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33049         statp directly.
33051 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
33053         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
33054         -D_POSIX_C_SOURCE=199506L.
33056         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
33058         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
33059         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
33060         Do not mention otherwise.
33061         [POSIX] (_XOPEN_VERSION): Do not expect.
33062         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
33063         [POSIX] (_POSIX2_C_BIND): Likewise.
33064         [POSIX] (_POSIX2_VERSION): Likewise.
33065         [POSIX] (_XOPEN_XPG2): Likewise.
33066         [POSIX] (_XOPEN_XPG3): Likewise.
33067         [POSIX] (_XOPEN_XPG4): Likewise.
33068         [POSIX] (_XOPEN_UNIX): Likewise.
33069         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
33070         [POSIX] (_POSIX_BARRIERS): Likewise.
33071         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
33072         [POSIX] (_POSIX_CPUTIME): Likewise.
33073         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
33074         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
33075         [POSIX] (_POSIX_SHELL): Likewise.
33076         [POSIX] (_POSIX_SPAWN): Likewise.
33077         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
33078         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
33079         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
33080         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
33081         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
33082         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33083         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
33084         [POSIX] (_XBS5_LP64_OFF64): Likewise.
33085         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
33086         [POSIX] (_POSIX_TIMEOUTS): Likewise.
33087         [POSIX] (_POSIX2_PBS): Likewise.
33088         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
33089         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
33090         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
33091         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
33092         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
33093         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
33094         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
33095         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
33096         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
33097         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
33098         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
33099         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
33100         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
33101         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
33102         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
33103         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
33104         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
33105         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
33106         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
33107         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
33108         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
33109         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
33110         [POSIX] (_SC_2_C_BIND): Likewise.
33111         [POSIX] (_SC_2_C_VERSION): Likewise.
33112         [POSIX] (_SC_2_PBS): Likewise.
33113         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
33114         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
33115         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
33116         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
33117         [POSIX] (_SC_2_PBS_TRACK): Likewise.
33118         [POSIX] (_SC_ATEXIT_MAX): Likewise.
33119         [POSIX] (_SC_BARRIERS): Likewise.
33120         [POSIX] (_SC_BASE): Likewise.
33121         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
33122         [POSIX] (_SC_DEVICE_IO): Likewise.
33123         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
33124         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
33125         [POSIX] (_SC_FD_MGMT): Likewise.
33126         [POSIX] (_SC_FIFO): Likewise.
33127         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
33128         [POSIX] (_SC_FILE_LOCKING): Likewise.
33129         [POSIX] (_SC_FILE_SYSTEM): Likewise.
33130         [POSIX] (_SC_IOV_MAX): Likewise.
33131         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
33132         [POSIX] (_SC_NETWORKING): Likewise.
33133         [POSIX] (_SC_PAGE_SIZE): Likewise.
33134         [POSIX] (_SC_PASS_MAX): Likewise.
33135         [POSIX] (_SC_PIPE): Likewise.
33136         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
33137         [POSIX] (_SC_REGEXP): Likewise.
33138         [POSIX] (_SC_SHELL): Likewise.
33139         [POSIX] (_SC_SIGNALS): Likewise.
33140         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
33141         [POSIX] (_SC_SPIN_LOCKS): Likewise.
33142         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
33143         [POSIX] (_SC_USER_GROUPS): Likewise.
33144         [POSIX] (_SC_USER_GROUPS_R): Likewise.
33145         [POSIX] (_SC_STREAMS): Likewise.
33146         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
33147         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
33148         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
33149         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
33150         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
33151         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
33152         [POSIX] (_PC_FILESIZEBITS): Likewise.
33153         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
33154         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
33155         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
33156         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
33157         [POSIX] (uid_t): Likewise.
33158         [POSIX] (gid_t): Likewise.
33159         [POSIX] (off_t): Likewise.
33160         [POSIX] (pid_t): Likewise.
33161         [POSIX] (cuserid): Allow.
33162         (_SC_2_CHAR_TERM): Require constant.
33163         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
33164         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
33165         variable.
33167 2015-05-20  Roland McGrath  <roland@hack.frob.com>
33169         * sysdeps/nacl/pthread-pids.h: New file.
33170         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
33171         (create_thread): Use __nacl_get_tid to initialize PD->tid.
33173         * nptl/pthread-pids.h: New file.
33174         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
33175         * nptl/nptl-init.c: Include <pthread-pids.h>.
33176         (__pthread_initialize_minimal_internal):
33177         Call __pthread_initialize_pids instead of set_tid_address syscall.
33179         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
33180         * sysdeps/posix/usleep.c: ... here.
33182 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33184         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
33185         call_pselect6 object.
33186         [$(subdir) = io]: Remove call_sync_file_range object.
33187         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
33188         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
33189         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
33190         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
33192 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
33194         * math/s_cproj.c: Add include "math_private.h".
33195         * math/s_cprojf.c: Likewise.
33196         * math/s_cprojl.c: Likewise.
33198 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
33200         [BZ #18244]
33201         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
33202         high mantissa bit when testing whether P is a NaN.
33203         * math/libm-test.inc (remainder_test_data): Add more tests.
33204         (remquo_test_data): Likewise.
33206         [BZ #18049]
33207         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
33208         below -32, return the argument, with underflow if subnormal.
33209         * math/auto-libm-test-in: Add more tests of atanh.
33210         * math/auto-libm-test-out: Regenerated.
33212 2015-05-19  Roland McGrath  <roland@hack.frob.com>
33214         [BZ #18434]
33215         * nptl/tst-sem15.c: New file.
33216         * nptl/Makefile (tests): Add it.
33217         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
33218         s/<</>>/ to fix typo in EOVERFLOW check.
33219         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
33221 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33223         * manual/strings.texi (envz_remove): Fix typo in safety
33224         annotations.
33226 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
33227             Steve Ellcey  <sellcey@imgtec.com>
33229         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
33230         in order to avoid strict alias warnings.
33231         (iruserok_af): Ditto for ra.
33233 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
33235         [BZ #17581]
33236         * malloc/hooks.c
33237         (magicbyte): Convert to a function and avoid returning 0x01.
33238         (mem2mem_check): Avoid using a length byte equal to the magic byte.
33239         (mem2chunk_check): Fix unsigned comparisons to zero.
33240         Hoist defs of sz and magic.
33242 2015-05-19  Richard Henderson  <rth@redhat.com>
33244         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
33246         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33248 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250         [BZ #16159]
33251         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
33252         * malloc/arena.c (arena_lock): Check if arena is corrupt.
33253         (reused_arena): Find a non-corrupt arena.
33254         (heap_trim): Pass arena to unlink.
33255         * malloc/hooks.c (malloc_check_get_size): Pass arena to
33256         malloc_printerr.
33257         (top_check): Likewise.
33258         (free_check): Likewise.
33259         (realloc_check): Likewise.
33260         * malloc/malloc.c (malloc_printerr): Add arena argument.
33261         (unlink): Likewise.
33262         (munmap_chunk): Adjust.
33263         (ARENA_CORRUPTION_BIT): New macro.
33264         (arena_is_corrupt): Likewise.
33265         (set_arena_corrupt): Likewise.
33266         (sysmalloc): Use mmap if there are no usable arenas.
33267         (_int_malloc): Likewise.
33268         (__libc_malloc): Don't fail if arena_get returns NULL.
33269         (_mid_memalign): Likewise.
33270         (__libc_calloc): Likewise.
33271         (__libc_realloc): Adjust for additional argument to
33272         malloc_printerr.
33273         (_int_free): Likewise.
33274         (malloc_consolidate): Likewise.
33275         (_int_realloc): Likewise.
33276         (_int_memalign): Don't touch corrupt arenas.
33277         * malloc/tst-malloc-backtrace.c: New test case.
33279         * Makefile (summarize-tests): Fix return value on success.
33281         * manual/string.texi (Envz Functions): Add envz_remove.
33283 2015-05-18  Roland McGrath  <roland@hack.frob.com>
33285         * sysdeps/posix/opendir.c: Include <stdbool.h>.
33286         (invalid_name): New function, broken out of ...
33287         (__opendirat): ... here.  Call it.
33288         (need_isdir_precheck): New function, broken out of ...
33289         (__opendirat): ... here.  Call it.
33290         Use __fxstatat64, not __xstatat64.
33291         (opendir_oflags): New function, broken out of ...
33292         (__opendirat): ... here.  Call it.
33293         (opendir_tail): New function, broken out of ...
33294         (__opendirat): ... here.  Call it.
33295         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
33296         opendir_tail, rather than punting to __opendirat.
33297         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
33299 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33301         * .gitignore: Ignore generated *.pyc.
33303 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
33305         * include/stdio.h: Define __need_wint_t.
33306         * test-skeleton.c: Avoid `for' loop initial declaration.
33307         * nptl/tst-initializers1.c: Use test-skeleton.c.
33309 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33311         [BZ #18418]
33312         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
33314 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33316         [BZ #16352]
33317         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
33318         (__ieee754_atanh): Force underflow exception for results with
33319         small absolute value.
33320         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
33321         (__ieee754_atanhf): Force underflow exception for results with
33322         small absolute value.
33323         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
33324         (__ieee754_atanh): Force underflow exception for results with
33325         small absolute value.
33326         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
33327         (__ieee754_atanhf): Force underflow exception for results with
33328         small absolute value.
33329         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
33330         (__ieee754_atanhl): Force underflow exception for results with
33331         small absolute value.
33332         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
33333         (__ieee754_atanhl): Force underflow exception for results with
33334         small absolute value.
33335         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
33336         (__ieee754_atanhl): Force underflow exception for results with
33337         small absolute value.
33338         * math/auto-libm-test-in: Do not allow missing underflow
33339         exceptions from atanh.
33340         * math/auto-libm-test-out: Regenerated.
33342         [BZ #18221]
33343         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
33344         2**-28 as threshold for returning x or +/- 1/x.
33345         * math/auto-libm-test-in: Add more tests of tan.
33346         * math/auto-libm-test-out: Regenerated.
33348         [BZ #18220]
33349         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33350         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
33351         * math/auto-libm-test-in: Add another test of lgamma.
33352         * math/auto-libm-test-out: Regenerated.
33354 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
33356         * stdio-common/printf_fp.c (___printf_fp): Use abs.
33357         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
33358         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
33359         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
33360         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
33361         (ADD2A): Use fabs.  (SUB2A): Use fabs.
33362         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
33363         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
33364         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
33365         (log1): Use fabs.  (my_log2): Use fabs.
33366         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
33367         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
33368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
33369         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
33370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
33371         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
33372         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
33373         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
33374         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
33375         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
33376         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
33378 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
33380         [BZ #18217]
33381         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
33382         as threshold for returning 1 - x.
33383         * math/auto-libm-test-in: Add more tests of erfc.
33384         * math/auto-libm-test-out: Regenerated.
33386 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
33388         [BZ #18196]
33389         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
33390         threshold for large arguments.
33391         * math/auto-libm-test-in: Add another test of atan.
33392         * math/auto-libm-test-out: Regenerated.
33394         [BZ #16339]
33395         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
33396         (__log1p): Force underflow exception for results with small
33397         absolute value.
33398         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
33399         (__log1pf): Force underflow exception for results with small
33400         absolute value.
33401         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
33402         (__log1p): Force underflow exception for results with small
33403         absolute value.
33404         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
33405         (__log1pf): Force underflow exception for results with small
33406         absolute value.
33407         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
33408         (__log1pl): Force underflow exception for results with small
33409         absolute value.
33410         * math/auto-libm-test-in: Do not allow missing underflow
33411         exceptions from log1p.
33412         * math/auto-libm-test-out: Regenerated.
33414 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
33415             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33417         [BZ #16704]
33418         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
33420 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
33422         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
33423         (libmvec): New variable.
33424         * configure.ac: Added option for mathvec build.
33425         * configure: Regenerated.
33426         * mathvec/Depend: New file.
33427         * mathvec/Makefile: New file.
33428         * shlib-versions: Added libmvec.
33429         * math/Makefile: Added rule for libm.so installation.
33431         * bits/math-vector.h: New file.
33432         * bits/libm-simd-decl-stubs.h: New header.
33433         * math/Makefile (headers): Added new header
33434         libm-simd-decl-stubs.h.
33435         * math/math.h (__MATHCALL_VEC): New macro.
33437         * math/gen-libm-have-vector-test.sh: Script generates series of macros
33438         for conditions in testing functions.
33439         * math/Makefile: Added call of libm-have-vector-test.sh.
33440         * math/libm-test.inc (HAVE_VECTOR): New macros.
33442         * math/libm-test.inc: START refactored.
33443         * math/test-double.c (TEST_MATHVEC): Add define.
33444         * math/test-float.c: Likewise.
33445         * math/test-idouble.c: Likewise.
33446         * math/test-ifloat.c: Likewise.
33447         * math/test-ildoubl.c: Likewise.
33448         * math/test-ldouble.c: Likewise.
33449         * sysdeps/generic/math-tests-arch.h
33450         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
33451         architecture check.
33453         * math/test-double.c (FUNC_TEST): New macro.
33454         * math/test-float.c: Likewise.
33455         * math/test-idouble.c: Likewise.
33456         * math/test-ifloat.c: Likewise.
33457         * math/test-ildoubl.c: Likewise.
33458         * math/test-ldouble.c: Likewise.
33459         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
33461 2015-05-13  Roland McGrath  <roland@hack.frob.com>
33463         * sysdeps/nacl/fdopendir.c: New file.
33465         * dirent/scandir-tail.c: New file.
33466         * dirent/scandir64-tail.c: New file.
33467         * dirent/Makefile (routines): Add them.
33468         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
33469         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
33470         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
33471         [!SCANDIR] (SCANDIR_TAIL): New macro.
33472         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
33473         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
33474         (SCANDIRAT): Macro removed.
33475         (SCANDIR_TAIL): New macro.
33476         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
33477         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
33478         (SCANDIRAT): Just call __opendirat and __scandir_tail.
33479         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
33480         (READDIR): Macro removed.
33481         (SCANDIR_TAIL): New macro.
33482         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
33483         (SCANDIR_TAIL): New macro.
33485         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
33486         * dirent/scandir-cancel.c: ... to this new file.
33487         * dirent/Makefile (routines): Add it.
33488         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
33489         * sysdeps/unix/sysv/linux/i386/scandir64.c
33490         (SKIP_SCANDIR_CANCEL): Macro removed.
33491         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33493         * dirent/tst-scandir.c: New file.
33494         * dirent/tst-scandir64.c: New file.
33495         * dirent/Makefile (tests): Add them.
33497 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
33499         [BZ #18409]
33500         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
33502 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33504         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
33505         list.
33507 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
33509         * benchtests/bench-strcoll.c: New benchmark.
33510         * benchtests/Makefile: Generate locales and run benchmark.
33511         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
33512         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
33513         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
33514         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
33515         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
33516         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
33517         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
33518         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
33519         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
33520         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
33521         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
33522         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
33523         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
33524         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
33525         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
33526         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
33527         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
33528         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
33529         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
33530         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
33531         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
33532         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
33533         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
33534         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
33536 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
33538         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
33539         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33541 2015-05-12  Roland McGrath  <roland@hack.frob.com>
33543         * posix/uname-values.h: New file.
33544         * posix/uname.c: Include that instead of <config-name.h>.
33545         * sysdeps/nacl/uname-values.h: New file.
33546         * sysdeps/arm/nacl/uname-values.h: New file.
33548 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
33550         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
33551         splitting into fields.
33553 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
33555         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
33556         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
33557         * locale/localeinfo.h: Add enum collation_encoding_type.
33558         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
33559         * programs/ld-collate.c (collate_output): Add encoding type info.
33560         * string/strcoll_l.c (STRDIFF): New function.
33561         * (STRCOLL): Use STRDIFF to skip over equal prefix.
33562         * wcsmbs/wcscoll_l.c: Define STRDIFF.
33564 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
33566         [BZ #18397]
33567         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
33568         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
33569         <fpu_control.h> instead of <math/fpu_control.c>.
33570         * sysdeps/mips/mips32/fpu/Makefile: New file.
33572 2015-05-11  Andreas Schwab  <schwab@suse.de>
33574         [BZ #18007]
33575         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
33576         nss_endgrent.
33577         (_nss_compat_endgrent): Call nss_endgrent.
33578         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
33579         nss_endpwent.
33580         (_nss_compat_endpwent): Call nss_endpwent.
33581         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
33582         needent, call nss_setspent only if non-zero.
33583         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
33584         (internal_endspent): Don't call nss_endspent.
33585         (_nss_compat_endspent): Call nss_endspent.
33586         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
33587         Remove.  All uses removed.
33588         (internal_setent): Remove parameter stayopen, add parameter
33589         stream.  Use it instead of global variable.
33590         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
33591         (internal_endent, internal_getent): Add parameter stream.  Use it
33592         instead of global variable.
33593         (CONCAT(_nss_files_end,ENTNAME))
33594         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
33595         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
33596         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
33597         uses removed.
33598         (internal_setent, internal_endent): Add parameter stream.  Use it
33599         instead of global variable.
33600         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
33601         stream.
33602         (get_next_alias): Add parameter stream.
33603         (_nss_files_getaliasent_r): Pass global stream.
33604         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
33605         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
33606         (_nss_files_gethostbyname4_r): Pass local stream to
33607         internal_setent, internal_getent and internal_endent.  Remove
33608         locking.
33610 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33612         * tst-strfmon1.c (tests): Update expected currency symbol.
33614 2015-05-08  Roland McGrath  <roland@hack.frob.com>
33616         * sysdeps/nacl/gethostname.c: New file.
33618 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
33620         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
33621         and sinh.
33622         * math/auto-libm-test-out: Regenerated.
33623         * sysdeps/i386/fpu/libm-test-ulps: Update.
33624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33626 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
33628         [BZ #18125]
33629         * stdlib/tst-setcontext3.c: New file.
33630         * stdlib/tst-setcontext3.sh: New file.
33631         * stdlib/Makefile (tests): Add tst-setcontext3.
33632         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
33633         to verify test program created output file.
33634         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
33635         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
33636         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
33637         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
33639 2015-05-06  Roland McGrath  <roland@hack.frob.com>
33641         [BZ #18383]
33642         * elf/tst-tlsalign.c: New file.
33643         * elf/tst-tlsalign-static.c: New file.
33644         * elf/tst-tlsalign-lib.c: New file.
33645         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
33646         (tests-static): Add tst-tlsalign-static.
33647         (modules-names): Add tst-tlsalign-lib.
33648         (test-xfail-tst-tlsalign): New variable.
33649         (test-xfail-tst-tlsalign-static): New variable.
33651         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
33652         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
33654 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
33656         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
33657         csqrt, erfc, sin and sincos.
33658         * math/auto-libm-test-out: Regenerated.
33659         * sysdeps/i386/fpu/libm-test-ulps: Update.
33660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33662 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33664         * sysdeps/aarch64/libm-test-ulps: Update.
33666 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
33668         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
33669         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
33670         * math/auto-libm-test-out: Regenerated.
33671         * sysdeps/i386/fpu/libm-test-ulps: Update.
33672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33674 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33676         [BZ #18265]
33677         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
33678         (wcsncpy): Likewise.
33680 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33682         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33683         Assume __ASSUME_FALLOCATE is always true.
33684         * sysdeps/unix/sysv/linux/posix_fallocate64.c
33685         (__posix_fallocate64_l64): Likewise.
33686         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
33687         (posix_fallocate): Likewise.
33688         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
33689         (__posix_fallocate64_l64): Likewise.
33690         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33691         [!__ASSUME_FALLOCATE]: Add comment.
33693 2015-05-05  Florian Weimer  <fweimer@redhat.com>
33695         * sysdeps/unix/sysv/linux/i386/Makefile
33696         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
33697         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
33698         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
33699         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33700         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33701         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
33702         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
33704 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
33706         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
33707         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
33708         tgamma.
33709         * math/auto-libm-test-out: Regenerated.
33710         * sysdeps/i386/fpu/libm-test-ulps: Update.
33711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33713 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33715         * math/auto-libm-test-in: Add more tests of tgamma.
33716         * math/auto-libm-test-out: Regenerated.
33717         * sysdeps/i386/fpu/libm-test-ulps: Update.
33718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33720         * math/auto-libm-test-in: Add more tests of tanh.
33721         * math/auto-libm-test-out: Regenerated.
33722         * sysdeps/i386/fpu/libm-test-ulps: Update.
33723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33725         * math/auto-libm-test-in: Add more tests of tan.
33726         * math/auto-libm-test-out: Regenerated.
33727         * sysdeps/i386/fpu/libm-test-ulps: Update.
33728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33730         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
33731         * math/auto-libm-test-out: Regenerated.
33732         * sysdeps/i386/fpu/libm-test-ulps: Update.
33733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33735         * math/auto-libm-test-in: Add another test of pow.
33736         * math/auto-libm-test-out: Regenerated.
33737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33739         * math/auto-libm-test-in: Add more tests of lgamma.
33740         * math/auto-libm-test-out: Regenerated.
33741         * sysdeps/i386/fpu/libm-test-ulps: Update.
33742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33744         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
33745         log1p.
33746         * math/auto-libm-test-out: Regenerated.
33747         * sysdeps/i386/fpu/libm-test-ulps: Update.
33748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33750 2015-05-01  Mark Wielaard  <mjw@redhat.com>
33752         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
33753         Elf64_Chdr structs and ELFCOMPRESS constants.
33755 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
33757         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
33758         expm1.
33759         * math/auto-libm-test-out: Regenerated.
33760         * sysdeps/i386/fpu/libm-test-ulps: Update.
33761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33763         * math/auto-libm-test-in: Add more tests of erf and erfc.
33764         * math/auto-libm-test-out: Regenerated.
33765         * sysdeps/i386/fpu/libm-test-ulps: Update.
33766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33768 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33770         * config.h.in (HAVE_AARCH64_BE): Add.
33772 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33774         * math/auto-libm-test-in: Add more tests of csqrt.
33775         * math/auto-libm-test-out: Regenerated.
33776         * sysdeps/i386/fpu/libm-test-ulps: Update.
33777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33779         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33780         * math/auto-libm-test-out: Regenerated.
33781         * sysdeps/i386/fpu/libm-test-ulps: Update.
33782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33784         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
33786 2015-04-29  Roland McGrath  <roland@hack.frob.com>
33788         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
33789         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
33791         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
33792         (euidaccess, eaccess): Define as weak aliases.
33794         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
33795         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
33796         but __suseconds_t is often 'long int' so some sources assume that
33797         type is being used (e.g. they use %ld to print tv_usec).
33799 2015-04-29  Florian Weimer  <fweimer@redhat.com>
33801         [BZ #18007]
33802         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
33803         (CVE-2014-8121)
33804         * nss/tst-nss-getpwent.c: New file.
33805         * nss/Makefile (tests): Add new test.
33807 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
33809         [BZ #18346]
33810         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
33811         exponents less than 48 as cases where high part of mantissa needs
33812         examining to determine whether argument is integral.
33813         * math/libm-test.inc (round_test_data): Add more tests.
33815 2015-04-28  Mark Wielaard  <mjw@redhat.com>
33817         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
33819 2015-04-27  David S. Miller  <davem@davemloft.net>
33821         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
33822         __tls_get_addr.
33823         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33825 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
33827         [BZ #18333]
33828         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
33830 2015-04-27  Florian Weimer  <fweimer@redhat.com>
33832         [BZ #18333]
33833         * time/tzset.c (parse_tzname): Return error on memory allocation
33834         failure.
33835         * test-skeleton.c (struct temp_name_list): Change type of name
33836         member to non-const.
33837         (add_temp_file): Create a copy of the file name.
33838         (delete_temp_files): Deallocate memory.
33839         (create_temp_file): Add comment.
33841 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33843         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
33844         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
33846 2015-04-24  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
33849         * sysdeps/arm/configure: Regenerated.
33851 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33853         [BZ #17715]
33854         * time/tzfile.c (__tzfile_read): Check for large values of
33855         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
33856         * time/tzset.c (__tzstring_len): New function, based on the old
33857         __tzstring function.
33858         (__tzstring): Call __tzstring_len.
33859         (parse_tzname): New helper function extracted from
33860         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
33861         the input string.
33862         (parse_offset): New helper function extracted from
33863         __tzset_parse_tz.  Replace switch with fallthrough with
33864         initialization before sscanf.
33865         (parse_rule): Likewise.
33866         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
33867         new-style function definition.
33868         * timezone/Makefile (tests): Add tst-tzset.
33869         (tst-tzset.out): Dependencies on time zone files.
33870         (tst-tzset-ENV): Set TZDIR.
33871         (testdata/XT%): Copy crafted time zone files.
33872         * timezone/README: Mention crafted time zone files.
33873         * timezone/testdata/XT1, timezone/testdata/XT2,
33874         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
33875         files.
33876         * timezone/tst-tzset.c: New test.
33878 2015-04-24  Florian Weimer  <fweimer@redhat.com>
33880         * Makeconfig (+gccwarn): Remove -Winline.
33882 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33884         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
33886 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33888         * NEWS: Mention sysconf() cache information support for s390.
33889         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
33891 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
33893         * math/k_casinh.c (__kernel_casinh): Use __copysign.
33894         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
33895         (__nearbyint): Likewise.
33896         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
33897         (copysignl): Likewise.
33899 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
33901         [BZ #18287]
33902         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
33903         based on padding.  (CVE-2015-1781)
33905 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33907         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
33908         libc-vdso.h.
33909         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
33910         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
33911         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
33912         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33913         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33914         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
33915         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
33916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33917         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33918         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
33919         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33920         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33921         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33922         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
33923         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33924         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
33925         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
33926         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
33927         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
33928         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
33929         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
33930         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
33931         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
33933 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
33935         * stdlib/setenv.c (__add_to_environ):
33936         Dump core quickly if setenv (..., NULL, ...) is called.
33937         This time, do it the right way, and pacify GCC with a pragma.
33939 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33941         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
33942         IMAP->l_prev cannot be null, and #if out the code for the contrary
33943         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
33944         believe that NS (&_dl_ns[NSID]) could point outside the array.
33946         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
33947         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
33948         before using NSID as an index.
33950 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
33952         [BZ #17825]
33953         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
33954         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
33955         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33957 2015-04-17  Roland McGrath  <roland@hack.frob.com>
33959         Add preliminary port to Google Native Client on ARM.
33960         * abi-tags (.*-.*-nacl.*): New entry.
33961         * sysdeps/arm/nacl: New directory.
33962         * sysdeps/nacl: New directory.
33964 2015-04-16  David S. Miller  <davem@davemloft.net>
33966         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
33967         lowlevellock-futex.h
33969 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
33971         * sysdeps/tile/configure.ac: New file.
33972         * sysdeps/tile/configure: Regenerated.
33974 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33976         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
33977         conditionals for weak_alias and libc_hidden_weak.
33978         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
33979         libc_hidden_weak and weak_alias.
33980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
33981         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
33982         and weak_alias for static one.
33984 2015-04-15  David S. Miller  <davem@davemloft.net>
33986         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33988 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33990         [BZ #18206]
33991         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
33992           Use signed comparision instead of substraction to avoid
33993           overflow bug.
33994         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
33995           Take the sign of ret.
33996         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
33997           Do not expect precise return values. Only the sign matters.
33998         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
33999         * wcsmbs/test-wcsncmp.c: New File.
34000         * string/test-strncmp.c: Add wcsncmp support.
34002 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34004         [BZ #6792]
34005         * math/w_log1p.c: New file.
34006         * math/w_log1pf.c: Likewise.
34007         * math/w_log1pl.c: Likewise.
34008         * math/Makefile (libm-calls): Add w_log1p.
34009         * math/s_log1pl.c (log1pl): Remove weak_alias.
34010         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34011         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34012         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34013         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34014         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34015         [NO_LONG_DOUBLE] (log1pl): Likewise.
34016         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34018         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34019         (log1p): Remove long_double_symbol.
34020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34021         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34022         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34023         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34024         remove weak_alias for corresponding log1p function.
34025         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34026         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34027         * sysdeps/ia64/fpu/w_log1p.c: New file.
34028         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34029         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34030         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34032 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34034         [BZ #18247]
34035         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34036         decimal exponent by 1.
34037         * stdlib/tst-strtod-round-data: Add more tests.
34038         * stdlib/tst-strtod-round.c (tests): Regenerated.
34040 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34042         * math/auto-libm-test-in: Add more tests of clog and clog10.
34043         * math/auto-libm-test-out: Regenerated.
34044         * sysdeps/i386/fpu/libm-test-ulps: Update.
34045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34047 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34049         * Makeconfig (module-cppflags): Exclude all .v.i files.
34050         (skip-module-cppflags): Variable removed.
34052         * configure.ac (libc_config_ok): Initialize before reading
34053         preconfigure scripts, not after.
34054         * configure: Regenerated.
34056         * test-skeleton.c (TIMEOUT): Move #define to top level.
34057         (main): Grok environment variable TEST_DIRECT.  If set, print
34058         test expectation details into that file and then behave as if
34059         given --direct.
34061 2015-04-09  Florian Weimer  <fweimer@redhat.com>
34063         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
34064         warning on 32-bit.
34066 2015-04-08  David S. Miller  <davem@davemloft.net>
34068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34070 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34072         * math/auto-libm-test-in: Add more tests of atanh.
34073         * math/auto-libm-test-out: Regenerated.
34074         * sysdeps/i386/fpu/libm-test-ulps: Update.
34075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34077         * math/auto-libm-test-in: Add more tests of atan.
34078         * math/auto-libm-test-out: Regenerated.
34079         * sysdeps/i386/fpu/libm-test-ulps: Update.
34080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34082 2015-04-08  Florian Weimer  <fweimer@redhat.com>
34084         * elf/pldd.c (main): Rewrite to use struct
34085         scratch_buffer instead of extend_alloca.
34086         * elf/pldd-xx.c (find_maps): Likewise.
34087         * grp/initgroups.c: Include <scratch_buffer.h> instead of
34088         <alloca.h>.
34089         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
34090         scratch_buffer instead of extend_alloca.
34091         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
34092         grp/compat-initgroups.c.
34093         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
34094         Rewrite to use struct scratch_buffer instead of extend_alloca.
34095         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
34096         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34098 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
34100         * math/auto-libm-test-in: Add more tests of cbrt.
34101         * math/auto-libm-test-out: Regenerated.
34102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34104         * math/auto-libm-test-in: Add more tests of cabs.
34105         * math/auto-libm-test-out: Regenerated.
34106         * sysdeps/i386/fpu/libm-test-ulps: Update.
34107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34109         [BZ #18210]
34110         [BZ #18211]
34111         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
34112         (__ieee754_atan2): Set FE_TONEAREST mode for internal
34113         computations.
34114         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
34115         clog10.
34116         * math/auto-libm-test-out: Regenerated.
34117         * sysdeps/i386/fpu/libm-test-ulps: Update.
34118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34120         [BZ #18197]
34121         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
34122         (atan): Set FE_TONEAREST mode for internal computations.
34123         * math/auto-libm-test-in: Add more tests of atan.
34124         * math/auto-libm-test-out: Regenerated.
34126 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
34128         [BZ #17930]
34129         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
34131 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34133         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
34135 2015-04-07  Florian Weimer  <fweimer@redhat.com>
34137         * include/scratch_buffer.h: New file.
34138         * malloc/scratch_buffer_grow.c: Likewise.
34139         * malloc/scratch_buffer_grow_preserve.c: Likewise.
34140         * malloc/scratch_buffer_set_array_size.c: Likewise.
34141         * malloc/tst-scratch_buffer.c: Likewise.
34142         * malloc/Makefile (routines): Add scratch_buffer_grow.
34143         (tests): Add test case.
34144         * malloc/Versions (GLIBC_PRIVATE): Export
34145         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
34146         __libc_scratch_buffer_set_array_size.
34148 2015-04-06  Richard Henderson  <rth@redhat.com>
34150         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
34151         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34153         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
34154         unsigned int before printing.
34156 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34158         [BZ #17596]
34159         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
34160         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34162 2015-04-02  Florian Weimer  <fweimer@redhat.com>
34164         * include/libc-internal.h (libc_max_align_t): Define.
34166 2015-04-02  Andreas Schwab  <schwab@suse.de>
34168         [BZ #16850]
34169         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
34171 2015-04-02  Mel Gorman  <mgorman@suse.de>
34173         [BZ #17195]
34174         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
34175         as well as the main arena.
34177 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34179         [BZ #18185]
34180         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34181         sharing L2 cache to 2 for Silvermont/Knights Landing.
34183 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34185         [BZ #17711]
34186         * config.make.in (have-protected-data): New.
34187         * configure.ac: Check linker support for protected data symbol.
34188         * configure: Regenerated.
34189         * elf/Makefile (modules-names): Add tst-protected1moda and
34190         tst-protected1modb if $(have-protected-data) is yes.
34191         (tests): Add tst-protected1a and tst-protected1b if
34192         $(have-protected-data) is yes.
34193         ($(objpfx)tst-protected1a): New.
34194         ($(objpfx)tst-protected1b): Likewise.
34195         (tst-protected1modb.so-no-z-defs): Likewise.
34196         * elf/tst-protected1a.c: New file.
34197         * elf/tst-protected1b.c: Likewise.
34198         * elf/tst-protected1mod.h: Likewise.
34199         * elf/tst-protected1moda.c: Likewise.
34200         * elf/tst-protected1modb.c: Likewise.
34202 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
34204         [BZ #17711]
34205         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
34206         indicates it is called from do_lookup_x on relocation against
34207         protected data, skip the data definion in the executable from
34208         copy reloc.
34209         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
34210         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
34211         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
34212         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
34213         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
34214         otherwise to 0.
34215         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34216         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
34217         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
34218         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34219         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
34220         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
34222 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
34224         * sysdeps/nptl/pthread.h: Remove duplicate definition of
34225         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
34227 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
34229         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
34230         THREAD_SETMEM_NC.
34231         * sysdeps/x86_64/nptl/tls.h: Ditto.
34233 2015-03-27  Roland McGrath  <roland@hack.frob.com>
34235         * dlfcn/tststatic.c (main): Converted to ...
34236         (do_test): ... this.
34237         (TEST_FUNCTION): New macro.
34238         Include test-skeleton.c.
34240 2015-03-26  Alan Modra  <amodra@gmail.com>
34242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
34243         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
34244         zero for undefined weak.
34245         (elf_machine_plt_conflict): Similarly.
34247 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34249         * math/auto-libm-test-in: Add more tests of acosh, asinh and
34250         atanh.
34251         * math/auto-libm-test-out: Regenerated.
34252         * sysdeps/i386/fpu/libm-test-ulps: Update.
34253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34255         * math/auto-libm-test-in: Add another test of asin.
34256         * math/auto-libm-test-out: Regenerated.
34257         * sysdeps/i386/fpu/libm-test-ulps: Update.
34258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34260         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
34261         Remove macro.
34262         (LLL_EBX_REG): Likewise.
34263         (LLL_ENTER_KERNEL): Likewise.
34265         * math/auto-libm-test-in: Add more tests of asin.
34266         * math/auto-libm-test-out: Regenerated.
34267         * sysdeps/i386/fpu/libm-test-ulps: Update.
34268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34270         [BZ #18138]
34271         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
34272         libc_do_syscall_args): New structure.
34273         (INTERNAL_SYSCALL_MAIN_0): New macro.
34274         (INTERNAL_SYSCALL_MAIN_1): Likewise.
34275         (INTERNAL_SYSCALL_MAIN_2): Likewise.
34276         (INTERNAL_SYSCALL_MAIN_3): Likewise.
34277         (INTERNAL_SYSCALL_MAIN_4): Likewise.
34278         (INTERNAL_SYSCALL_MAIN_5): Likewise.
34279         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
34280         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
34281         Replace conditional definitions by conditional definitions of ....
34282         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
34283         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
34284         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
34285         (libpthread-sysdep_routines): Add libc-do-syscall.
34286         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
34287         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
34288         to __NR_futex not 240.
34290 2015-03-25  Alan Modra  <amodra@gmail.com>
34292         * NEWS: Advertise TLS optimization.
34293         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
34294         (DT_PPC_NUM): Increment.
34295         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
34296         (CHECK_STATIC_TLS): Use here.
34297         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
34298         TLS descriptors.
34299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34300         * sysdeps/powerpc/dl-tls.c: New file.
34301         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
34302         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
34303         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
34304         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
34305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
34307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
34309 2015-03-25  Alan Modra  <amodra@gmail.com>
34311         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
34312         for overlapping .opd entries" to "support...".
34313         * sysdeps/powerpc/powerpc64/configure: Regenerate
34315 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
34317         * math/auto-libm-test-in: Add more tests of acos.
34318         * math/auto-libm-test-out: Regenerated.
34319         * sysdeps/i386/fpu/libm-test-ulps: Update.
34320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34322         * math/auto-libm-test-in: Add more tests of expm1.
34323         * math/auto-libm-test-out: Regenerated.
34324         * sysdeps/i386/fpu/libm-test-ulps: Update.
34325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34327 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
34329         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34330         * math/auto-libm-test-out: Regenerated.
34331         * sysdeps/i386/fpu/libm-test-ulps: Update.
34332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34334         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34337         * math/auto-libm-test-in: Add more tests of log2.
34338         * math/auto-libm-test-out: Regenerated.
34339         * sysdeps/i386/fpu/libm-test-ulps: Update.
34340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34342 2015-03-23  Roland McGrath  <roland@hack.frob.com>
34344         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
34345         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
34346         _IO_IS_APPENDING bit in READ_WRITE instead.
34348 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34350         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
34351         (__determine_cpumask_size): Replace extend_alloca with a
34352         variable-length array.  Do not treat res == 0 as an error.
34354 2015-03-23  Florian Weimer  <fweimer@redhat.com>
34356         [BZ #18100]
34357         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
34358         and integer overflow.
34359         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
34360         (main): Add integer overflow tests.
34361         * manual/pattern.texi (Calling Wordexp): Document additional use
34362         for WRDE_SYNTAX.
34364 2015-03-23  Alan Modra  <amodra@gmail.com>
34366         * config.h.in: Remove HAVE_ASM_PPC_REL16.
34367         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
34368         and false branch of conditional.
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34370         Likewise.
34372 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
34374         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
34375         libc-modules.h
34376         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
34377         unused declaration of _hurd_intr_rpc_msg_in_trap.
34378         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
34379         defined instead of whether it is non-zero.
34380         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
34381         input constraint instead of both input and output constraint.  Use ecx
34382         clobber instead of %ecx.
34383         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
34384         mutex_unlock): Use a statement expression instead of an expression list.
34385         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
34386         type to vm_size_t instead of vm_address_t.
34387         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
34388         defined instead of whether it is non-zero.
34389         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
34390         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
34391         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
34392         comparisons with mapaddr.
34393         * nscd/nscd-client.h: Include <time.h>.
34394         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
34395         9th parameter to __vm_region instead of int.
34396         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
34397         * scripts/check-local-headers.sh (exclude): Add device/,
34398         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
34399         cthreads.h.
34401 2015-03-19  Roland McGrath  <roland@hack.frob.com>
34403         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
34404         to account for alignment padding.
34405         * sysdeps/arm/memmove.S: Likewise.
34407 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
34409         * sysdeps/unix/sysv/linux/generic/README: New file.
34411 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
34413         [BZ #18138]
34414         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
34415         (futex_abstimed_wait)
34416         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
34417         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
34418         of lll_futex_timed_wait.
34420 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
34422         [BZ #17542]
34423         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
34425 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
34427         [BZ #17090]
34428         [BZ #17620]
34429         [BZ #17621]
34430         [BZ #17628]
34431         * NEWS: Update.
34432         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
34433         entries with Static TLS too.  Skip entries past the end of the
34434         allocated DTV, from Alan Modra.
34435         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
34436         Static TLS DTV entry set up from...
34437         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
34438         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
34439         * nptl/allocatestack.c (init_one_static_tls): ... and here...
34440         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
34441         for Static TLS.
34442         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
34443         that the slot we find is associated with the given map before
34444         using its generation count.
34445         * nptl_db/db_info.c: Include ldsodefs.h.
34446         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
34447         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
34448         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
34449         (link_map::l_tls_offset): New struct field.
34450         (dtv_t::counter): Likewise.
34451         (rtld_global): New struct.
34452         (_rtld_global): New rtld variable.
34453         (dl_tls_dtv_slotinfo_list): New rtld global field.
34454         (dtv_slotinfo_list): New struct.
34455         (dtv_slotinfo): Likewise.
34456         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
34457         (td_lookup): Rename to...
34458         (td_mod_lookup): ... this.  Use new mod parameter instead of
34459         LIBPTHREAD_SO.
34460         * nptl_db/td_thr_tlsbase.c: Include link.h.
34461         (dtv_slotinfo_list, dtv_slotinfo): New functions.
34462         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
34463         addresses even if the DTV is out of date or missing them.
34464         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
34465         index zero-length arrays.
34466         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
34467         (td_lookup): Make it a macro implemented in terms of...
34468         (td_mod_lookup): ... this declaration.
34469         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
34470         (DB_MAIN_VARIABLE): Likewise.
34472 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34474         [BZ #18134]
34475         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34477 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
34479         * stdlib/setenv.c (__add_to_environ): Revert previous change.
34481 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
34483         [BZ #18128]
34484         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
34485         (atomic_add, atomic_increment_and_test)
34486         (atomic_decrement_and_test): Fix 64-bit arithmetic.
34488 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
34490         * stdlib/setenv.c (__add_to_environ):
34491         Dump core quickly if setenv (..., NULL, ...) is called.
34493 2015-03-13  Roland McGrath  <roland@hack.frob.com>
34495         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
34496         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
34497         all the necessary asm magic in one place.
34498         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
34499         using those.
34501 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
34503         [BZ #14906]
34504         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34505         traced file mtime. Use consistent log message.
34506         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
34507         (register_traced_file): Call install_watches. Always set mtime.
34508         (invalidate_cache): Iterate over all trace files. Call install_watches.
34509         (inotify_check_files): Don't inline. Handle watching parent
34510         directories and configuration file movement in and out.
34511         (handle_inotify_events): New function.
34512         (main_loop_poll): Call handle_inotify_events.
34513         (main_loop_epoll): Likewise.
34514         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
34515         (struct traced_file): Use array of inotify fds. Add parent directory,
34516         and basename.
34517         (struct database_dyn): Remove unused file_mtime.
34518         (init_traced_file): New inline function.
34519         (define_traced_file): New macro.
34520         * nss/nss_db/db-init.c: Use define_traced_file.
34521         (_nss_db_init): Use init_traced_file.
34522         * nss/nss_files/files-init.c: Use define_traced_file.
34523         (_nss_files_init): Use init_traced_file.
34525 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
34527         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
34528         [_LIBC]: Do not include <stdlib.h>.
34529         [!_LIBC] (abort): Remove declaration.
34530         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
34531         _FP_STATIC_ASSERT instead of conditionally calling abort.
34532         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
34533         (_FP_EXTEND_CNAN): Likewise.
34534         (FP_TRUNC): Likewise.
34535         (__FP_CLZ): Likewise.
34536         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
34538 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
34540         * manual/string.texi (XPG basename): Fix prototype.
34542 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34544         [BZ #18080]
34545         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
34546         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34547         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
34548         (__setcontext): Likewise.
34549         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
34550         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
34551         Call rt_sigprocmask syscall one time to set new signal mask
34552         and retrieve the current signal mask instead of two calls.
34553         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
34554         (__swapcontext): Likewise.
34555         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
34556         * stdlib/tst-setcontext2.c: New file.
34558 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34562 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
34564         [BZ #18093]
34565         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
34566         the wrong size.
34568 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
34570         [BZ #18043]
34571         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
34573 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34575         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
34576         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
34577         Remove define.
34578         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
34579         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
34580         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
34581         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
34582         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
34583         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
34584         define.
34585         * nptl_db/td_symbol_list.c (td_lookup): Remove
34586         HAVE_ASM_GLOBAL_DOT_NAME code.
34587         * sysdeps/powerpc/powerpc64/configure.ac: Remove
34588         HAVE_ASM_GLOBAL_DOT_NAME check.
34589         * sysdeps/powerpc/powerpc64/configure: Regenerate.
34590         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
34591         (DOT_LABEL): Remove define.
34592         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
34593         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
34594         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
34595         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
34596         (__TLS_GET_ADDR): Likewise.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
34598         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
34600 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
34602         [BZ #18111]
34603         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
34604         (_FPU_SETCW): Initialize cw from fpsr before storing.
34605         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
34606         (fesetexceptflag): Rewrite using fpu_control.h.
34607         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
34609 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
34611         [BZ #18110]
34612         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
34613         asms.
34614         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34616 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
34618         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
34619         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
34620         abort.
34621         (_FP_FMA): Likewise.
34622         (_FP_DIV): Likewise.
34624 2015-03-10  Roland McGrath  <roland@hack.frob.com>
34626         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
34627         with 0 in that case.
34628         * Makefile (summarize-tests): New canned sequence, factored out of
34629         commands for targets tests and xtests.  Display summary lines that
34630         don't start with PASS: or XFAIL: rather than ones that do start with
34631         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
34632         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
34633         do start with ERROR: or FAIL:.
34634         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
34635         (except for [$(build-shared) = yes]).
34636         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
34637         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
34638         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
34639         * nptl/Makefile: Revert 2015-03-04 changes.
34640         [$(CXX) empty] (tests-unsupported): New variable.
34641         * debug/Makefile: Likewise.
34643         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
34644         gnulib file.  Replace __attribute with __attribute__ throughout.
34646 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
34648         * sysdeps/hppa/fpu/libm-test-ulps: Update.
34650 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34652         [BZ #18104]
34653         * math/auto-libm-test-in: Add another test of pow.
34654         * math/auto-libm-test-out: Regenerated.
34656 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34658         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
34659         $(config-cflags-nofma).
34661 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
34663         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
34664         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
34665         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
34666         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
34667         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
34668         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
34669         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
34670         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
34671         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
34672         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
34673         Add comment on closing #endif.
34675 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34677         * posix/wordexp.c (CHAR_IN_SET): New macro.
34678         (parse_param): Use it.
34680 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34682         * sysdeps/powerpc/fpu/libm-test-ulps: update.
34684 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34686         [BZ #18043]
34687         * posix/wordexp.c (parse_param): Fix buffer overflow.
34688         * posix/wordexp-test.c (test_case): Add test case.
34690 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34692         [BZ #18042]
34693         * posix/wordexp.c (parse_backtick): Fix off-by-one.
34694         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
34696 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
34698         [BZ #18043]
34699         * posix/wordexp-test.c (test_case): Add test for BZ #18043
34700         (do_bz18043): Delete.
34701         (at_page_end): New.
34702         (testit): Refactor to have words at the edge of unreadable page.
34704 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34706         [BZ #16734]
34707         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34708         Cleanup read-only streams as well.
34709         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
34711 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34713         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
34714         <bits/libc-lockP.h>
34716 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
34718         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
34719         on [__KERNEL__].
34720         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
34721         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
34722         * soft-fp/op-common.h (_FP_DECL): Likewise.
34724 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
34726         * elf/ifuncdep2.c (global): Replace
34727         __attribute__((visibility("protected"))) with
34728         asm (".protected global").
34729         * elf/ifuncmod1.c (global): Likewise.
34730         * elf/ifuncmod5.c (global): Likewise.
34732 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
34734         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
34735         <asm/sfp-machine.h> instead of <sfp-machine.h>.
34737 2015-03-06  Roland McGrath  <roland@hack.frob.com>
34739         * manual/install.texi (Configuring and compiling):
34740         Document test-wrapper-env-only.
34741         * INSTALL: Regenerated.
34743 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34745         [BZ #18043]
34746         * posix/wordexp.c (parse_param): Fix buffer overflow.
34747         * posix/wordexp-test.c (do_bz18043): Add test case.
34749 2015-03-06  Vincent Bernat  <vincent@bernat.im>
34751         * time/tst-strptime2.c (do_test): Ensure failing tests are
34752         reported correctly.
34753         * time/tst-strptime3.c (do_test): Likewise.
34755 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
34757         Fix aio_error thread-safety.
34758         * sysdeps/pthread/aio_error.c: New file
34759         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
34760         synchronization.
34762 2015-03-06  Florian Weimer  <fweimer@redhat.com>
34764         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
34765         (group_number, vfprintf): Use it.
34766         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
34767         (JUMP, REF): Use it.
34768         (WORK_BUFFER_SIZE): New enum constant.
34769         (process_arg, vfprintf): Use it.
34771 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
34773         * manual/errno.texi (Error Messages): Complete example function
34774         by adding missing #define.
34775         (program_invocation_name): Add statement indicating GNU
34776         extension and reference which header file declares the variable.
34777         (program_invocation_short_name): Likewise.
34779 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
34781         * manual/errno.texi (Error Messages): Delete strerror ISO C89
34782         compatibility note.
34784 2015-03-05  Roland McGrath  <roland@hack.frob.com>
34786         * Makeconfig (test-wrapper-env-only): New variable.
34787         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
34788         then use that with $(test-wrapper-env-only) rather than using
34789         $(test-wrapper-env) $(run-program-env) $($*-ENV).
34791 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
34793         [BZ #18082]
34794         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
34795         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
34796         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
34797         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
34798         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
34799         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
34800         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
34801         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
34802         Likewise.
34803         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
34804         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
34805         Likewise.
34806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
34807         Likewise.
34808         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
34809         Likewise.
34810         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
34811         Likewise.
34812         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
34813         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
34814         Likewise.
34815         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
34816         Likewise.
34817         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
34818         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
34820 2015-03-04  Roland McGrath  <roland@hack.frob.com>
34822         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
34823         (ETH_ALEN): New macro.
34824         (struct ether_addr): Use it for length of ether_addr_octet.
34826         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
34827         (setdb): Don't call __nss_configure_lookup for "rpc".
34828         (do_test): Don't call test_rpc.
34829         (output_rpcent, test_rpc): Functions moved ...
34830         * sunrpc/test-rpcent.c: ... to this new file.
34831         * sunrpc/Makefile (tests): Add it.
34833         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
34834         __xpg_sigpause.
34835         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
34836         * nptl/tst-signal6.c: Likewise.
34837         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
34838         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
34840         * configure.ac (libc_cv_cxx_link_ok): New check.
34841         Reset CXX to empty if it fails to link.
34842         * configure: Regenerated.
34843         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
34844         bug-atexit3-lib only if $(CXX) is nonempty.
34845         * nptl/Makefile (tests): Likewise for tst-cancel24.
34846         (tests, tests-static): Likewise for tst-cancel24-static.
34847         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
34848         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
34849         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
34850         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
34852 2015-03-04  Andreas Schwab  <schwab@suse.de>
34854         [BZ #17631]
34855         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
34856         for non-GCC compilers.
34857         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34858         Likewise.
34860 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34862         [BZ #17776]
34863         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
34864         integer before bitwise and assembly operations.
34865         (feclearexcept): Likewise.
34866         * math/test-fenvinline.c: New file.
34867         * math/Makefile: Add test-fenvinline test.
34869 2015-03-03  Alan Modra  <amodra@gmail.com>
34871         [BZ #16512]
34872         * scripts/localplt.awk: Strip off symbol version.
34873         * NEWS: Mention bug fix.
34875 2015-03-02  Roland McGrath  <roland@hack.frob.com>
34877         * sysdeps/pthread/timer_routines.c
34878         (timer_free_list, thread_free_list, thread_active_list): Make static.
34880 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
34882         [BZ #17779]
34883         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34884         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34885         Undefine.
34886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34887         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34888         Likewise.
34889         * sysdeps/unix/sysv/linux/sh/kernel-features.h
34890         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
34891         Likewise.
34893 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34895         [BZ #18036]
34896         * posix/fnmatch_loop.c (END): Detect invalid pattern.
34897         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
34899 2015-03-02  Andreas Schwab  <schwab@suse.de>
34901         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
34902         variable name.
34904 2015-03-02  Florian Weimer  <fweimer@redhat.com>
34906         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
34907         Return error status.
34909 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
34911         [BZ #15969]
34912         * locale/findlocale.c (_nl_find_locale): Introduce const
34913         version of loc_name and drop unsafe type casts.
34915 2015-02-27  Roland McGrath  <roland@hack.frob.com>
34917         * dlfcn/tststatic2.c (main): Converted to ...
34918         (do_test): ... this.
34919         (TEST_FUNCTION): New macro.
34920         Include test-skeleton.c.
34922 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
34924         [BZ #17711]
34925         * elf/Makefile (tests): Add vismain only if PIE is enabled.
34926         (tests-pie): Add vismain.
34927         (CFLAGS-vismain.c): New.
34928         * elf/vismain.c: Add comments for PIE requirement.
34930 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34932         [BZ #18046]
34933         [BZ #18047]
34934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
34935         0x1p-56L as threshold for just returning the argument.
34936         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
34937         0x1p-32L as threshold for just returning the argument.
34938         * math/auto-libm-test-in: Add more tests of atanh.
34939         * math/auto-libm-test-out: Regenerated.
34940         * sysdeps/i386/fpu/libm-test-ulps: Update.
34941         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
34943 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34945         * string/bcopy.c (bcopy): Call memmove for performance.
34947 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
34949         * string/bzero.c (__bzero): Call memset for performance.
34951 2015-02-27  John David Anglin  <dave.anglin@bell.net>
34953         [BZ #18068]
34954         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
34955         to 00100000.
34957 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
34959         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
34961 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
34963         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
34964         (__kernel_standard): Use CSTR macro when setting exc.name.
34965         * sysdeps/ieee754/Makefile [$(subdir) = math]
34966         (CFLAGS-k_standard.c): Remove variable.
34968         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
34969         setting p and q from "else if" to "else".
34970         (qzero): Likewise.
34971         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
34972         (qone): Likewise.
34973         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
34974         (qzerof): Likewise.
34975         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
34976         (qonef): Likewise.
34977         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
34978         (qzero): Likewise.
34979         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
34980         (qone): Likewise.
34982         [BZ #18038]
34983         [BZ #18039]
34984         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34985         return pi/2 for arguments below 0x1p-113L.
34986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
34987         return pi/2 for arguments below 0x1p-106L.
34988         * math/auto-libm-test-in: Add more tests of acos.
34989         * math/auto-libm-test-out: Regenerated.
34991         [BZ #16351]
34992         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
34993         (MO): New macro.
34994         (__ieee754_asin): Force underflow exception for results with small
34995         absolute value.
34996         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
34997         (MO): New macro.
34998         (__ieee754_asinf): Force underflow exception for results with
34999         small absolute value.
35000         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35001         (__ieee754_asin): Force underflow exception for results with small
35002         absolute value.
35003         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35004         (__ieee754_asinf): Force underflow exception for results with
35005         small absolute value.
35006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35007         (__ieee754_asinl): Force underflow exception for results with
35008         small absolute value.
35009         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35010         (__ieee754_asinl): Force underflow exception for results with
35011         small absolute value.
35012         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35013         (__ieee754_asinl): Force underflow exception for results with
35014         small absolute value.
35015         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35016         Include <math.h>.
35017         * math/auto-libm-test-in: Do not mark underflow exceptions as
35018         possibly missing for bug 16351.
35019         * math/auto-libm-test-out: Regenerated.
35021         [BZ #18030]
35022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35023         of power of 2 down when low part has opposite sign.
35024         * math/libm-test.inc (logb_test_data): Add more tests.
35026 2015-02-26  Andreas Schwab  <schwab@suse.de>
35028         [BZ #18032]
35029         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35030         over collating symbol inside a bracket expression.  Minor cleanup.
35031         * posix/tst-fnmatch3.c (do_test): Add test case.
35033 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35035         [BZ #18029]
35036         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35037         Adjust exponent of power of 2 down when low part has opposite
35038         sign.
35039         * math/libm-test.inc (ilogb_test_data): Add more tests.
35041 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35043         [BZ #15969]
35044         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35045         the previous change.
35047         [BZ #15969]
35048         * locale/findlocale.c (_nl_find_locale): Retry archive search
35049         after alias expansion.
35051 2015-02-25  Roland McGrath  <roland@hack.frob.com>
35053         * iconv/tst-iconv3.c (main): Converted to ...
35054         (do_test): ... this.
35055         (TEST_FUNCTION): New macro.
35056         Include test-skeleton.c.
35058         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
35059         (convert): Make function static.
35060         (test_unalign): Likewise.  Add const to argument pointee types.
35061         (main): Replace with static function do_test.
35062         Print "Succeeded." only if RET is zero.
35063         (TEST_FUNCTION): New macro.
35064         Include test-skeleton.c.
35066         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
35067         returns a null pointer.
35069 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35071         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
35072         to __memcpy_ppc only for static builds.
35074 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
35076         [BZ #18020]
35077         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
35078         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
35079         * math/auto-libm-test-in: Add more tests of asinh.
35080         * math/auto-libm-test-out: Regenerated.
35081         * sysdeps/i386/fpu/libm-test-ulps: Update.
35082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35084 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
35086         [BZ #15850]
35087         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
35088         and ip6_mtuinfo definitions here.
35089         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
35090         in this define too.  Update comment.
35092 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
35094         * elf/sprof.c (load_shobj): Tweak error message to match others.
35096 2015-02-24  Kevin Easton  <kevin@guarana.org>
35098         [BZ #16145] (partial fix)
35099         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
35100         to reduce lock contention.
35102 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
35104         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
35105         (struct timex): Update time comment.
35106         (ADJ_SETOFFSET): Define.
35108 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35110         [BZ #18019]
35111         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35112         2**56 not 2**28 as threshold for log (2x) formula.
35113         * math/auto-libm-test-in: Add more tests of acosh.
35114         * math/auto-libm-test-out: Regenerated.
35115         * sysdeps/i386/fpu/libm-test-ulps: Update.
35116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35118 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35120         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
35121         parenthesis around the buf assignment.
35122         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
35124 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
35126         [BZ #16783]
35127         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
35128         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
35129         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
35130         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35131         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
35132         * math/libm-test.inc (scalb_test_data): Add more tests.
35134 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35136         [BZ #17916]
35137         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
35138         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
35140 2015-02-24  Eric Rannaud  <e@nanocritical.com>
35142         [BZ #17523]
35143         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
35144         * io/bits/fcntl2.h (open): Use it.
35145         (openat): Likewise.
35146         * io/open.c (__libc_open): Likewise.
35147         * io/open64.c (__libc_open64): Likewise.
35148         * io/open64_2.c (__open64_2): Likewise.
35149         * io/open_2.c (__open_2): Likewise.
35150         * io/openat.c (__openat): Likewise.
35151         * io/openat64.c (__openat64): Likewise.
35152         * io/openat64_2.c (__openat64_2): Likewise.
35153         * io/openat_2.c (__openat_2): Likewise.
35154         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
35155         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
35156         * sysdeps/posix/open64.c (__libc_open64): Likewise.
35157         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
35158         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35159         (__open_nocancel): Likewise.
35160         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35161         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35162         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
35164 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35166         [BZ #14841]
35167         * resolv/gethnamaddr.c (getanswer): Skip logging if
35168         RES_USE_DNSSEC is set.
35169         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35171 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
35173         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
35175 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
35177         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
35178         201304L, for Unicode 7.
35180 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
35182         [BZ #17836]
35183         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
35184         shared library.  Add gmon-start.os otherwise.
35185         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
35186         $(objpfx)gmon-start.os if builing shared library.
35187         ($(objpfx)g$(static-start-installed-name)): Likewise.
35189 2015-02-23  Andreas Schwab  <schwab@suse.de>
35191         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
35193 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35195         [BZ #17269]
35196         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
35197         (enlarge_userbuf): Likewise.
35199 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
35201         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
35202         * math/atest-exp.c (TIMEOUT): Adjust to 200.
35203         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
35204         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
35206 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
35208         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
35209         expression inside statement expression.
35211 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35213         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
35214         <sysdeps/nptl/lowlevellock.h> and remove macros and
35215         functions that are now defined there.
35216         (SYS_futex): Remove.
35217         (lll_compare_and_swap): Remove.
35218         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
35220 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
35222         [BZ #17999]
35223         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
35224         instead of scandirat.
35225         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
35226         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
35227         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
35228         __scandirat.
35229         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
35230         (__scandirat): Declare.  Use libc_hidden_proto.
35231         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
35232         Remove variable.
35233         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35235 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35237         [BZ #15319]
35238         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
35239         (MO): New macro.
35240         (__ieee754_atan2): For results with small absolute value, force
35241         underflow exception and remove excess range and precision from
35242         return value.
35243         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
35244         (MO): New macro.
35245         (__ieee754_atan2f): For results with small absolute value, force
35246         underflow exception and remove excess range and precision from
35247         return value.
35248         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
35249         (MO): New macro.
35250         (__atan): For results with small absolute value, force underflow
35251         exception and remove excess range and precision from return value.
35252         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
35253         (MO): New macro.
35254         (__atanf): For results with small absolute value, force underflow
35255         exception and remove excess range and precision from return value.
35256         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
35257         <math.h>.
35258         (__ieee754_atan2): Force underflow exception for results with
35259         small absolute value.
35260         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
35261         <math_private.h>.
35262         (atan): Force underflow exception for results with small absolute
35263         value.
35264         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
35265         (__atanf): Force underflow exception for results with small
35266         absolute value.
35267         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
35268         <math.h>.
35269         (__atanl): Force underflow exception for results with small
35270         absolute value.
35271         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
35272         (__atanl): Force underflow exception for results with small
35273         absolute value.
35274         * sysdeps/x86/fpu/bits/mathinline.h
35275         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
35276         (__ieee754_atan2): Only define inline for long double.
35277         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
35278         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
35279         * math/auto-libm-test-in: Do not mark underflow exceptions as
35280         possibly missing for bug 15319.  Add more tests of atan2.
35281         * math/auto-libm-test-out: Regenerated.
35282         * math/libm-test.inc (casin_test_data): Do not mark underflow
35283         exceptions as possibly missing for bug 15319.
35284         (casinh_test_data): Likewise.
35285         * sysdeps/i386/fpu/libm-test-ulps: Update.
35287 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
35289         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
35290         * sysdeps/mips/bits/endian.h: Fix comments.
35292 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
35294         [BZ #17996]
35295         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
35296         (hdestroy_r): Likewise.
35297         (hsearch_r): Likewise.
35298         (__hcreate_r): Declare and use libc_hidden_proto.
35299         (__hdestroy_r): Likewise.
35300         (__hsearch_r): Likewise.
35301         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
35302         (hcreate): Call __hcreate_r instead of hcreate_r.
35303         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
35304         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
35305         as weak alias of __hcreate_r.
35306         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
35307         __hdestroy_r.
35308         (hsearch_r): Rename to __hsearch_r and define as weak alias of
35309         __hsearch_r.
35310         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
35311         Remove variable.
35312         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35313         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35314         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35315         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35317 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35319         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
35320         arena_lock into a single arena_get.
35322 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
35324         * dl-reloc.c: Inlucde libc-internal.h.
35325         (_dl_try_allocate_static_tls): Call ALIGN_UP.
35326         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
35327         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
35328         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
35329         (grow_heap): Likewise.
35330         * malloc/malloc.c: Include libc-internal.h.
35331         (do_check_malloc): Call powerof2.
35332         (sysmalloc): Use pagesize. Call ALIGN_UP.
35333         (systrim): Use pagesize.
35334         (mremap_chunk): Use pagesize. Call ALIGN_UP.
35335         (__libc_valloc): Use pagesize.
35336         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
35338 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35340         [BZ #17991]
35341         * include/sys/resource.h (__getrlimit64): Declare.  Use
35342         libc_hidden_proto.
35343         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
35344         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
35345         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
35346         getrlimit64.
35347         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
35348         __getrlimit64.
35349         [!getrlimit64] (getrlimit64): Define as weak alias of
35350         __getrlimit64.  Use libc_hidden_weak.
35351         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
35352         using __getrlimit64 not __new_getrlimit64.
35353         (__GI_getrlimit64): Likewise.
35354         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
35355         Likewise.
35356         (__GI_getrlimit64): Likewise.
35357         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
35358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
35359         (getrlimit): Add __getrlimit64 alias.
35360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
35361         Likewise.
35362         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
35363         Remove variable.
35364         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35365         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35367 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
35369         * libio/fileops.c: Add missing sys/mman.h
35370         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
35372 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
35374         * manual/math.texi (Errors in Math Functions): Clarify goals
35375         regarding inexact and underflow exceptions.
35377 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35379         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
35380         * sysdeps/mips/memset.S: Ditto.
35382 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
35384         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
35386 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35388         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
35389         (__v1longjmp): Remove versioned symbol.
35390         (__v1siglongjmp): Remove alias and versioned symbol.
35391         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
35392         (__v2siglongjmp): Likewise.
35394 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35396         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
35398 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
35400         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35402 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35404         [BZ #17987]
35405         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
35406         zero result does not depend on the sign resulting from
35407         subtraction.
35408         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35409         Likewise.
35410         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35411         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35412         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35413         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35414         * math/libm-test.inc (remquo_test_data): Add more tests.
35416 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
35418         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
35419         Problem reported by J William Piggott.
35421 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
35423         [BZ #17978]
35424         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
35425         products 4 * y and 2 * y where those would overflow.
35426         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35427         Likewise.
35428         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35429         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35430         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35431         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35432         * math/libm-test.inc (remquo_test_data): Add more tests.
35434         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
35436         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
35437         [defined _COMPILING_NEWLIB].
35438         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
35439         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
35441         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
35442         [!defined __mips_isa_rev || __mips_isa_rev < 6].
35444 2015-02-16  Torvald Riegel  <triegel@redhat.com>
35446         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
35447         acquired.
35449 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
35451         [BZ #17792]
35452         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
35453         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
35454         HOST_STACK_END_ADDR): Likewise.
35456 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
35458         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
35459         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
35460         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
35462 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35464         * sysdeps/generic/c++-types.data: New file.
35465         * sysdeps/generic/ld.abilist: New file.
35466         * sysdeps/generic/libBrokenLocale.abilist: New file.
35467         * sysdeps/generic/libanl.abilist: New file.
35468         * sysdeps/generic/libc.abilist: New file.
35469         * sysdeps/generic/libcrypt.abilist: New file.
35470         * sysdeps/generic/libdl.abilist: New file.
35471         * sysdeps/generic/libm.abilist: New file.
35472         * sysdeps/generic/libpthread.abilist: New file.
35473         * sysdeps/generic/libresolv.abilist: New file.
35474         * sysdeps/generic/librt.abilist: New file.
35476 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35478         [BZ #17569]
35479         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
35480         Compute absolute value of x as modified by fmod, not original
35481         value of x.
35482         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
35483         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
35484         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
35485         RUN_TEST_ffI_f1_mod8.
35486         (remquo_test_data): Add more tests.
35488 2015-02-13  Roland McGrath  <roland@hack.frob.com>
35490         * sysdeps/init_array/pt-crti.S: New file.
35492 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
35494         [BZ #17967]
35495         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
35496         __builtin_fmaf instead of relying on contraction of a * b + c.
35498 2015-02-12  J William Piggott  <elseifthen@gmx.com>
35500         [BZ #17969]
35501         * manual/time.texi: correct the zoneinfo path in the TZ Variable
35502         node.
35504 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35506         [BZ #17964]
35507         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
35508         __builtin_fma instead of relying on contraction of a * b + c.
35510 2015-02-12  Roland McGrath  <roland@hack.frob.com>
35512         * Makeconfig (ASFLAGS): Add -Werror=undef.
35513         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
35514         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
35515         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
35517         * Makeconfig (after-link): New variable.
35518         (+link-pie, +link-pie-tests): Use it.
35519         (+link-static, +link-static-tests): Likewise.
35520         (+link, +link-tests): Likewise.
35521         * Makerules (build-module, build-module-asneeded): Likewise.
35522         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
35523         Likewise.
35524         * elf/Makefile ($(objpfx)ld.so): Likewise.
35526 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
35528         [BZ #17965]
35529         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
35530         both struct timeval and struct timespec.
35532 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
35534         [BZ #16560]
35535         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35536         and redefine.
35537         (__ieee754_exp2l): Do not multiply small fractional parts by
35538         M_LN2l.
35539         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
35540         small argument.
35541         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35542         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35543         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35544         * math/auto-libm-test-in: Add more tests of exp2.
35545         * math/auto-libm-test-out: Regenerated.
35547 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35549         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
35550         unaligned path.
35552 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35554         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
35555         little endian.
35557 2015-02-12  Andreas Schwab  <schwab@suse.de>
35559         [BZ #15790]
35560         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
35561         Filter out elision flags from value returned in kind.
35562         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
35563         * nptl/tst-pthread-mutexattr.c: New file.
35565 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35567         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
35568         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
35569         into gnu-gnu, and update comment to refer to abi-tags.
35571 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #15467]
35574         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
35575         (__sincos): Set errno to EDOM for infinite argument.
35576         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
35577         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
35578         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
35579         (__sincosl): Set errno to EDOM for infinite argument.
35580         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
35581         (__sincosl): Set errno to EDOM for infinite argument.
35582         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
35583         (__sincosl): Set errno to EDOM for infinite argument.
35584         * math/libm-test.inc (sincos_test_data): Test errno setting.
35586 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
35588         * string/strxfrm_l.c: Remove #define STRCMP.
35589         * string/strcoll_l.c: Remove #define STRLEN.
35590         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
35591         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
35593 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
35595         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
35596         * sysdeps/mips/mips32/sfp-machine.h: ... here.
35597         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
35598         * sysdeps/mips/mips64/Makefile: ... here.
35599         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
35600         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
35601         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
35602         * sysdeps/mips/mips64/sfp-machine.h: ... here.
35603         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
35604         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35605         * sysdeps/mips/mips64/n64/Implies: Likewise.
35607 2015-02-10  Roland McGrath  <roland@hack.frob.com>
35609         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
35610         <sys/time.h>, <string.h>, and <errno.h>.
35611         (dest_offset, dest_address, value, zero): Remove unused variables.
35612         (ldouble): Remove typedef.
35613         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
35614         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
35615         1).  Fix code style.
35616         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
35617         (check): Function removed.
35618         (CHECK): New macro.
35619         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
35620         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
35621         Don't call set_sigaction_FP and remove_sigaction_FP here.
35622         (ldouble_test): Just use 'long double' as macro argument, no need for
35623         the 'ldouble' typedef.
35624         (do_test): Set up SIGFPE handler at start, using plain signal rather
35625         than sigaction.  Fix code style.
35627 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
35629         [BZ #17949]
35630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
35631         jump label.
35633 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35635         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
35636         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35638         * sysdeps/powerpc/configure.ac: Remove file.
35639         * sysdeps/powerpc/configure: Likewise.
35641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35642         [sysdep_routines]: Remove wordcopy-power6 object.
35643         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35644         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
35645         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
35646         (__memmove_ppc32): Likewise.
35647         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
35648         file.
35649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
35650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
35651         Remove preprocessor.
35653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
35654         [sysdep_routines]: Remove wide chars objects.
35655         [wcsmbs]: New rule for wide char objects.
35657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35658         Remove wordcopy-power6 obejct.
35659         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
35660         Use local call for wordcopy and memcpy symbols.
35661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
35662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
35663         implementation for loader.
35664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
35666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35667         Remove wordcopy-power7 object.
35668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
35669         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
35670         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
35671         (_wordcopy_fwd_dest_aligned): Likewise.
35672         (_wordcopy_bwd_aligned): Likewise.
35673         (_wordcopy_bwd_dest_aligned): Likewise.
35675         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
35676         Rewrite to call __memmove_ppc instead of include default
35677         implementation.
35679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35680         Remove wide chars objects.
35681         [wcsmbs]: New rule for wide char objects.
35683 2015-02-09  Andreas Schwab  <schwab@suse.de>
35685         [BZ #17912]
35686         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35687         in terms of __O_DIRECTORY.
35689 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35691         * time/getdate.c: Include <stdbool.h>.
35692         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
35693         call PTR_MANGLE.
35694         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
35695         PTR_DEMANGLE.
35697 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
35699         Add ersatz _Static_assert on older C hosts
35700         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
35701         pre-C11 C platform that is not known to support _Static_assert.
35703 2015-02-07  Richard Braun  <rbraun@sceen.net>
35705         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
35706         sigstate.
35707         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
35709 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35711         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
35712         priority against unexistent AIO_PRIO_DELTA_MAX.
35713         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
35714         instead of int.
35715         * misc/fchflags.c (fchflags): Likewise.
35716         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
35717         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
35718         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
35719         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
35720         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
35721         Declare macros.
35722         [__USE_MISC] (chflags, fchflags): Declare functions.
35723         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
35724         EINVAL when nfds is greater than FD_SETSIZE.
35725         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
35726         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
35727         45.
35728         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
35729         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
35730         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
35731         MACH_RCV_TIMED_OUT.
35732         * hurd/hurd/signal.h (_hurd_self_sigstate,
35733         _hurd_critical_section_lock, _hurd_critical_section_unlock):
35734         Explicit casts from void *.
35735         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
35736         * abi-tags: Rename gnu-gnu os into gnu.
35738         [BZ #4719]
35739         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
35740         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
35741         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
35742         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
35743         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
35744         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
35746         [BZ #17944]
35747         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
35748         duplicates ADDR->sun_path with sockaddr LEN limitation.
35749         * sysdeps/mach/hurd/connect.c: Include <string.h>
35750         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
35751         * sysdeps/mach/hurd/sendmsg.c: Likewise.
35752         * sysdeps/mach/hurd/sendto.c: Likewise.
35753         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
35754         implementing it by hand.
35756 2015-02-06  Roland McGrath  <roland@hack.frob.com>
35758         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
35759         Use sfi_breg on ldr.
35760         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
35761         Likewise.
35763         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
35764         it's defined.
35765         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
35766         Test SIGSETXID only if it's defined.
35768         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
35770         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
35771         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
35773         * nptl/tst-align2.c: Moved ...
35774         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35775         * nptl/Makefile (tests): Remove tst-align2.
35776         * sysdeps/unix/sysv/linux/Makefile
35777         [$(subdir) = nptl] (tests): Add tst-align-clone.
35778         * nptl/tst-getpid1.c: Moved ...
35779         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
35780         * nptl/tst-getpid2.c: Moved ...
35781         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
35782         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
35783         * sysdeps/unix/sysv/linux/Makefile
35784         [$(subdir) = nptl] (tests): ... here.
35785         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
35786         * sysdeps/unix/sysv/linux/Makefile
35787         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
35789         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35790         Drop trailing \n from perror argument.  Use return rather than exit.
35792         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
35793         on [SA_SIGINFO].
35794         * nptl/tst-cancel21.c (do_test): Likewise.
35795         * debug/tst-backtrace6.c: Include <signal.h> first thing.
35796         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
35797         [!SA_SIGINFO]: Make it a stub test.
35799         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
35800         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
35802         * posix/tst-getlogin.c: Move to ...
35803         * login/tst-getlogin.c: ... here.
35804         * posix/Makefile (tests): Move tst-getlogin to ...
35805         * login/Makefile (tests): ... here.
35807         * libio/tst-atime.c (do_test): Move local variables SV and E
35808         inside [ST_NOATIME] conditional.
35810         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
35812         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
35814         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
35815         (wait_code): New function replaces macro.
35816         Call nanosleep rather than syscall.
35818         * nptl/pt-system.c: Rewritten.  Put everything under
35819         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35820         Use IFUNC to redirect when possible.
35822         * nptl/pt-longjmp.c: Rewritten.  Put everything under
35823         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35824         Use IFUNC to redirect when possible.
35826         * nptl/pt-fork.c: Rewritten.  Put everything under
35827         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
35828         Use IFUNC to redirect when possible.
35829         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
35831         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
35832         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
35833         unconditionally nowadays.  This included the only reference to
35834         __vdso_clock_gettime that appears outside libc proper.
35835         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
35836         Remove version set (containing only __vdso_clock_gettime).
35837         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35838         Add attribute_hidden.
35839         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35840         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
35841         libc_hidden_data_def.
35842         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35843         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35845         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35846         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
35847         setrpcent, and getrpcport to ...
35848         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
35849         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
35850         getrpcbynumber_r, and getrpcent_r to ...
35851         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
35852         * inet/getrpcbyname.c: Moved ...
35853         * sunrpc/getrpcbyname.c: ... here.
35854         * inet/getrpcbyname_r.c: Moved ...
35855         * sunrpc/getrpcbyname_r.c: ... here.
35856         * inet/getrpcbynumber.c: Moved ...
35857         * sunrpc/getrpcbynumber.c: ... here.
35858         * inet/getrpcbynumber_r.c: Moved ...
35859         * sunrpc/getrpcbynumber_r.c: ... here.
35860         * inet/getrpcent.c: Moved ...
35861         * sunrpc/getrpcent.c: ... here.
35862         * inet/getrpcent_r.c: Moved ...
35863         * sunrpc/getrpcent_r.c: ... here.
35864         * inet/Makefile (routines): Move those to ...
35865         * sunrpc/Makefile (routines): ... here.
35866         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
35867         the $(subdirs) list.
35868         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
35869         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
35870         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
35871         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
35873         * elf/Makefile (routines): Include $(all-dl-routines), not just
35874         $(dl-routines).
35875         (rtld-routines): Likewise.  Use = rather than :=.
35876         * sysdeps/aarch64/Makefile [$(subdir) = elf]
35877         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
35878         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
35879         * sysdeps/arm/Makefile: Likewise.
35880         * sysdeps/i386/Makefile: Likewise.
35881         * sysdeps/x86_64/Makefile: Likewise.
35882         * sysdeps/hppa/Makefile [$(subdir) = elf]
35883         (sysdep_routines, sysdep-rtld-routines): Don't add
35884         $(sysdep-dl-routines) to these.
35885         * sysdeps/ia64/Makefile: Likewise.
35886         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
35887         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
35888         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
35889         Don't add dl-static to these; sysdep-dl-routines alone is enough.
35890         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
35891         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
35892         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
35893         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
35894         * sysdeps/powerpc/Makefile [$(subdir) = elf]
35895         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
35896         these; sysdep-dl-routines alone is enough.
35898 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
35900         [BZ #17932]
35901         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
35902         where multiplication results in zero and third argument is finite
35903         and nonzero.
35904         * math/auto-libm-test-in: Add more tests of fma.
35905         * math/auto-libm-test-out: Regenerated.
35907         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
35908         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
35909         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
35910         (_FP_CMP_EQ): Likewise.
35911         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
35913         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
35914         extra argument CHECK_NAN.  Redefine as wrapper around
35915         _FP_EXTEND_CNAN.
35917 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
35919         * version.h (RELEASE): Set to "stable".
35920         (VERSION): Set to "2.21"
35921         * include/features.h (__GLIBC_MINOR__): Set to 21.
35923         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
35925 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35926             Paul Eggert  <eggert@cs.ucla.edu>
35928         [BZ #16618]
35929         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
35930         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
35931         size in bytes. Store needed elements in wpmax. Use needed size
35932         in bytes for extend_alloca.
35934 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
35936         * manual/install.texi: Latest tested versions are GCC 4.9.2,
35937         binutls 2.25, and texinfo 5.2.
35938         * INSTALL: Regenerate.
35939         * sysdeps/nios2/configure: Regenerate.
35940         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
35941         * manual/contrib.texi: Update.
35942         * po/be.po: Update.
35943         * po/bg.po: Update.
35944         * po/ca.po: Update.
35945         * po/cs.po: Update.
35946         * po/da.po: Update.
35947         * po/de.po: Update.
35948         * po/el.po: Update.
35949         * po/eo.po: Update.
35950         * po/es.po: Update.
35951         * po/fi.po: Update.
35952         * po/fr.po: Update.
35953         * po/gl.po: Update.
35954         * po/hr.po: Update.
35955         * po/hu.po: Update.
35956         * po/ia.po: Update.
35957         * po/id.po: Update.
35958         * po/it.po: Update.
35959         * po/ja.po: Update.
35960         * po/ko.po: Update.
35961         * po/lt.po: Update.
35962         * po/nb.po: Update.
35963         * po/nl.po: Update.
35964         * po/pl.po: Update.
35965         * po/pt_BR.po: Update.
35966         * po/ru.po: Update.
35967         * po/rw.po: Update.
35968         * po/sk.po: Update.
35969         * po/sl.po: Update.
35970         * po/sv.po: Update.
35971         * po/tr.po: Update.
35972         * po/uk.po: Update.
35973         * po/vi.po: Update.
35974         * po/zh_CN.po: Update.
35975         * po/zh_TW.po: Update.
35977         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
35978         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
35979         * sysdeps/hppa/dl-irel.h: Remove #warning.
35980         * sysdeps/hppa/entry.h: Provide prototype for
35981         __canonicalize_funcptr_for_compare and cast argument.
35982         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
35983         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
35984         * sysdeps/hppa/sotruss-lib.c: New file.
35985         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
35986         (atomic_compare_and_exchange_val_acq): Use __typeof__.
35987         (atomic_compare_and_exchange_bool_acq): Likewise.
35988         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
35989         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
35991         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
35992         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
35993         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
35995 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
35997         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
35998         called function in non-PIC case.
36000 2015-01-31  David S. Miller  <davem@davemloft.net>
36002         * sysdeps/sparc/sparc32/bits/atomic.h
36003         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36004         unlock not after it.
36005         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36006         volatile register usage warnings from the compiler.
36008         * sysdeps/sparc/nptl/sem_init.c: Delete.
36009         * sysdeps/sparc/nptl/sem_post.c: Delete.
36010         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36011         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36012         * sysdeps/sparc/sparc32/sem_init.c: New file.
36013         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36014         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36015         padding explicitly initialized.
36016         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36017         padding for in-semaphore spinlock.
36018         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36019         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36020         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36021         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36022         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36023         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36024         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36025         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36026         version.
36027         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36028         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36030 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36032         [BZ #17801]
36033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36034         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36035         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36036         New.
36037         (index_AVX_Fast_Unaligned_Load): Likewise.
36038         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36039         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36040         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36041         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36042         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36043         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36044         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36045         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36046         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36048 2015-01-29  Andreas Schwab  <schwab@suse.de>
36050         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
36052 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
36054         [BZ #17892]
36055         * nscd/nscd_stat.c (send_stats): Initialize DATA.
36057 2015-01-28  Martin Sebor  <msebor@redhat.com>
36059         * math/README.libm-test: Clarify. Add "How to read the test output."
36061 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
36063         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
36064         Define to 0.
36066 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
36068         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
36069         (__HAVE_64B_ATOMICS): Define to 0.
36071 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36073         [BZ #17885]
36074         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
36075         value to set as new flag.
36077         [BZ #16576]
36078         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
36079         and use _ARCH_PPCSQ instead.
36080         (__ieee754_sqrt): Likewise.
36081         (__ieee754_sqrtf): Likewise.
36082         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
36083         _ARCH_PPCSQ is defined.
36084         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
36085         fsqrt instruction.
36086         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
36087         _ARCH_PPCSQ is defined.
36088         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
36089         fsqrts instruction.
36090         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
36092 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36094         * iconv/loop.c: Suppress array out of bound warning caused by GCC
36095         bug (GCC BZ #64739).
36097 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
36099         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
36100         Mark _retval as used.
36101         (lll_futex_wake_unlock): Likewise.
36102         (lll_futex_timed_wait_requeue_pi): Likewise.
36104         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36105         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
36106         register variables.
36108         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
36109         libm_hidden_def.
36111         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
36112         (__bswap_64): Mark as __always_inline.
36114 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
36116         [BZ #15378]
36117         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
36118         when none of the search directories exist.
36120 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36122         [BZ #17869]
36123         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
36124         power8 in .machine directive.
36126         [BZ #17868]
36127         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
36128         set dependency from opd value.
36130 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36133         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
36134         architecture.
36136 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
36138         [BZ #17870]
36139         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
36140         with uint64_t.
36141         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
36142         (uint64_t) 1.
36143         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
36144         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
36145         Replace 1UL with (uint64_t) 1.
36146         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
36147         int with uint64_t.
36149 2015-01-23  Roland McGrath  <roland@hack.frob.com>
36151         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
36152         (if_freenameindex): Likewise.
36154         * resource/getrlimit64.c: Add missing libc_hidden_def.
36156 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
36158         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
36159         __label__.
36160         (_FP_FMA): Likewise.
36161         (_FP_TO_INT_ROUND): Likewise.
36162         (_FP_FROM_INT): Likewise.
36164 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36166         [BZ #16418]
36167         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36168         Make code racy and cancel safe.
36170 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
36172         * sysdeps/arm/unwind-resume.h: Fix copyright year.
36173         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
36174         attribution.
36176         * pwd/tst-getpw.c: Rewrite.
36178         [BZ #17702]
36179         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
36180         (modules-names): Add moddummy1 and moddummy2.
36181         ($(objpfx)tst-rec-dlopen): Define.
36182         * dlfcn/moddummy1.c: New file.
36183         * dlfcn/moddummy2.c: New file.
36184         * dlfcn/tst-rec-dlopen.c: New file.
36185         * elf/dl-cache.c (_dl_load_cache_lookup):
36186         Return char*. Copy result with alloca/strcpy/strdup.
36187         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
36188         returns char*. Free cached. If not saving realname
36189         free cached.
36190         * elf/dl-open.c (dl_open_worker): Do not assert that
36191         _r_debug->r_state is RT_CONSISTENT.
36192         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
36193         returns char*.
36195 2015-01-21  Torvald Riegel  <triegel@redhat.com>
36196             Carlos O'Donell  <carlos@redhat.com>
36198         [BZ #12674]
36199         * nptl/sem_waitcommon.c: New file.
36200         * nptl/sem_wait.c: Include sem_waitcommon.c.
36201         (__sem_wait_cleanup, do_futex_wait): Remove.
36202         (__new_sem_wait): Adapt.
36203         (__new_sem_trywait): New function.
36204         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
36205         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
36206         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
36207         (sem_timedwait): Adapt.
36208         * nptl/sem_post.c (__new_sem_post): Adapt.
36209         (futex_wake): New function.
36210         (__old_sem_post): Add release MO fence.
36211         * nptl/sem_open.c (sem_open): Adapt.
36212         * nptl/sem_init.c (__new_sem_init): Adapt.
36213         (futex_private_if_supported): New function.
36214         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
36215         (__old_sem_getvalue): Add using previous code.
36216         * sysdeps/nptl/internaltypes.h: Adapt.
36217         * nptl/tst-sem13.c (do_test): Adapt.
36218         * nptl/tst-sem11.c (main): Adapt.
36219         * nptl/sem_trywait.c: Remove.
36220         * nptl/DESIGN-sem.txt: Remove.
36221         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
36222         (gen-as-const-headers): Remove structsem.sym.
36223         * nptl/structsem.sym: Remove.
36224         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
36225         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
36226         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
36227         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
36228         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
36229         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
36230         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
36231         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
36232         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
36233         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
36234         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
36235         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
36236         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
36237         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
36238         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
36239         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
36240         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
36241         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
36242         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
36243         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
36244         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
36245         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
36247 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
36249         * INSTALL: Regenerated.
36251         * po/libc.pot: Regenerated.
36253 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
36254             Sandra Loosemore  <sandra@codesourcery.com>
36255             Andrew Jenner  <andrew@codesourcery.com>
36256             Joseph Myers  <joseph@codesourcery.com>
36257             Nathan Sidwell  <nathan@codesourcery.com>
36259         * NEWS: Mention new Nios II port.
36260         * sysdeps/nios2/Implies: New file.
36261         * sysdeps/nios2/Makefile: New file.
36262         * sysdeps/nios2/Subdirs: New file.
36263         * sysdeps/nios2/Versions: New file.
36264         * sysdeps/nios2/__longjmp.S: New file.
36265         * sysdeps/nios2/abort-instr.h: New file.
36266         * sysdeps/nios2/backtrace.c: New file.
36267         * sysdeps/nios2/bits/endian.h: New file.
36268         * sysdeps/nios2/bits/fenv.h: New file.
36269         * sysdeps/nios2/bits/link.h: New file.
36270         * sysdeps/nios2/bits/setjmp.h: New file.
36271         * sysdeps/nios2/bsd-_setjmp.S: New file.
36272         * sysdeps/nios2/bsd-setjmp.S: New file.
36273         * sysdeps/nios2/configure: New generated file.
36274         * sysdeps/nios2/configure.ac: New file.
36275         * sysdeps/nios2/crti.S: New file.
36276         * sysdeps/nios2/crtn.S: New file.
36277         * sysdeps/nios2/dl-init.c: New file.
36278         * sysdeps/nios2/dl-machine.h: New file.
36279         * sysdeps/nios2/dl-sysdep.h: New file.
36280         * sysdeps/nios2/dl-tls.h: New file.
36281         * sysdeps/nios2/dl-trampoline.S: New file.
36282         * sysdeps/nios2/gccframe.h: New file.
36283         * sysdeps/nios2/gmp-mparam.h: New file.
36284         * sysdeps/nios2/jmpbuf-offsets.h: New file.
36285         * sysdeps/nios2/jmpbuf-unwind.h: New file.
36286         * sysdeps/nios2/ldsodefs.h: New file.
36287         * sysdeps/nios2/libc-tls.c: New file.
36288         * sysdeps/nios2/libm-test-ulps: New file.
36289         * sysdeps/nios2/machine-gmon.h: New file.
36290         * sysdeps/nios2/math-tests.h: New file.
36291         * sysdeps/nios2/math_private.h: New file.
36292         * sysdeps/nios2/memusage.h: New file.
36293         * sysdeps/nios2/nptl/Makefile: New file.
36294         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
36295         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
36296         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
36297         * sysdeps/nios2/nptl/pthreaddef.h: New file.
36298         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
36299         * sysdeps/nios2/nptl/tls.h: New file.
36300         * sysdeps/nios2/preconfigure: New file.
36301         * sysdeps/nios2/s_fma.c: New file.
36302         * sysdeps/nios2/s_fmaf.c: New file.
36303         * sysdeps/nios2/setjmp.S: New file.
36304         * sysdeps/nios2/sfp-machine.h: New file.
36305         * sysdeps/nios2/sotruss-lib.c: New file.
36306         * sysdeps/nios2/stackguard-macros.h: New file.
36307         * sysdeps/nios2/stackinfo.h: New file.
36308         * sysdeps/nios2/start.S: New file.
36309         * sysdeps/nios2/sysdep.h: New file.
36310         * sysdeps/nios2/tls-macros.h: New file.
36311         * sysdeps/nios2/tst-audit.h: New file.
36312         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
36313         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
36314         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
36315         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
36316         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
36317         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
36318         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
36319         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
36320         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
36321         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
36322         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
36323         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
36324         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
36325         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
36326         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
36327         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
36328         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
36329         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
36330         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
36331         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
36332         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
36333         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
36334         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
36335         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
36336         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
36337         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
36338         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
36339         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
36340         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
36341         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
36342         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
36343         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
36344         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
36345         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
36346         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
36347         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
36348         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
36349         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
36350         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
36351         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
36352         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
36353         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
36354         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
36355         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
36357 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36359         [BZ #17844]
36360         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
36361         (getutent): Use weak_alias in non SHARED case
36362         and default_symbol_version in SHARED case.
36363         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
36364         (getutent_r, pututline): Likewise.
36365         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
36366         (getutid): Likewise.
36367         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
36368         (getutid_r): Likewise.
36369         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
36370         (getutline): Likewise.
36371         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
36372         (getutline_r): Likewise.
36373         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
36374         (updwtmp): Likewise.
36376 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36378         [BZ #17848]
36379         * sysdeps/s390/s390-32/memcmp.S
36380         (memcmp_g5): Rename to __memcmp_g5.
36381         * sysdeps/s390/s390-32/memcpy.S
36382         (memcpy_g5): Rename to __memcpy_g5.
36383         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36384         (memcpy_mvcle) Rename to __memcpy_mvcle.
36385         * sysdeps/s390/s390-32/memset.S
36386         (memset_g5): Rename to __memset_g5.
36387         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36388         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36389         and use prefixed functions.
36390         * sysdeps/s390/s390-32/multiarch/memcmp.S
36391         (memcmp_z196): Rename to __memcmp_z196.
36392         (memcmp_z10): Rename to __memcmp_z10.
36393         (memcmp): Set alias to __memcmp_g5.
36394         (bcmp): Set alias to __memcmp_g5.
36395         * sysdeps/s390/s390-32/multiarch/memcpy.S
36396         (memcpy_z196): Rename to __memcpy_z196.
36397         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36398         (memcpy_z10): Rename to __memcpy_z10.
36399         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36400         (memcpy): Set alias to __memcpy_g5.
36401         * sysdeps/s390/s390-32/multiarch/memset.S
36402         (memset_z196): Rename to __memset_z196.
36403         Jump to __memset_mvcle instead of memset_mvcle.
36404         (memset_z10): Rename to __memset_z10.
36405         Jump to __memset_mvcle instead of memset_mvcle.
36406         (memset_mvcle) Rename to __memset_mvcle.
36407         (memset): Set alias to __memset_g5.
36408         * sysdeps/s390/s390-64/memcmp.S
36409         (memcmp_z900): Rename to __memcmp_z900.
36410         * sysdeps/s390/s390-64/memcpy.S
36411         (memcpy_z900): Rename to __memcpy_z900.
36412         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36413         (memcpy_mvcle) Rename to __memcpy_mvcle.
36414         * sysdeps/s390/s390-64/memset.S
36415         (memset_z900): Rename to __memset_z900.
36416         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
36417         (IFUNC_RESOLVE): Prefix ifunc-resolve function
36418         and use prefixed functions.
36419         * sysdeps/s390/s390-64/multiarch/memcmp.S
36420         (memcmp_z196): Rename to __memcmp_z196.
36421         (memcmp_z10): Rename to __memcmp_z10.
36422         (memcmp): Set alias to __memcmp_z900.
36423         (bcmp): Set alias to __memcmp_z900.
36424         * sysdeps/s390/s390-64/multiarch/memcpy.S
36425         (memcpy_z196): Rename to __memcpy_z196.
36426         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36427         (memcpy_z10): Rename to __memcpy_z10.
36428         Jump to __memcpy_mvcle instead of memcpy_mvcle.
36429         (memcpy): Set alias to __memcpy_z900.
36430         * sysdeps/s390/s390-64/multiarch/memset.S
36431         (memset_z196): Rename to __memset_z196.
36432         Jump to __memset_mvcle instead of memset_mvcle.
36433         (memset_z10): Rename to __memset_z10.
36434         Jump to __memset_mvcle instead of memset_mvcle.
36435         (memset_mvcle) Rename to __memset_mvcle.
36436         (memset): Set alias to __memset_z900.
36438 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
36440         [BZ #17748]
36441         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
36442         __fesetenv instead of fesetenv.
36444 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36446         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
36447         macro.
36449 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36451         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
36452         regression on LE.
36454         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
36455         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
36456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36457         strncmp-power8 object.
36458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36459         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
36460         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
36461         * NEWS: Update.
36463 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36464             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36466         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
36467         trailing byte check.
36469 2015-01-13  David S. Miller  <davem@davemloft.net>
36471         * include/signal.h (__sigreturn): Guard with __USE_MISC.
36473 2015-01-13  Roland McGrath  <roland@hack.frob.com>
36475         * login/logout.c (logout): Use memset rather than bzero.
36476         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
36477         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
36478         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
36479         (_gethtbyaddr): Likewise.
36480         * locale/programs/simple-hash.c (bcopy): Macro removed.
36482 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36484         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36485         Add strcmp-power8 object.
36486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36487         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
36488         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
36489         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
36490         __strcmp_power8 implementation.
36491         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
36492         * NEWS: Update.
36494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36495         Add strncpy-power8 and stpncpy-power8 objects.
36496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36497         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
36498         implementations.
36499         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
36500         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
36501         __stpncpy_power8 implementation.
36502         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
36503         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
36504         __strncpy_power8 implementation.
36505         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
36506         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
36507         * NEWS: Update.
36509         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
36510         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
36511         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
36513         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36514         strncat-power8 object.
36515         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
36516         __strcat_power8 implementation.
36517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36518         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
36519         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
36520         optimized strcat for power8.
36522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
36523         strcpy-power8 and stpcpy-power8 objects.
36524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36525         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
36526         implementations.
36527         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
36528         multiarch stpcpy implementation for POWER8.
36529         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
36530         multiarch strcpy implementation for POWER8.
36531         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
36532         __strcpy_power8 function.
36533         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
36534         stpcpy for POWER8.
36535         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
36536         strcpy for POWER8.
36537         * NEWS: Update.
36539 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
36541         [BZ #16009]
36542         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
36543         weights and rules. Use do_xfrm_cached if data fits in cache,
36544         do_xfrm otherwise.  Moved former main loop to...
36545         * (do_xfrm_cached): New function.
36546         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
36547         find_idx, find_position and stack_push.
36548         * (find_idx): New function.
36549         * (find_position): Likewise.
36550         * localedata/sort-test.sh: Added test run for do_xfrm.
36551         * localedata/xfrm-test.c (main): Added command line option
36552         -nocache to run the test with strings that are too large for
36553         the STRXFRM cache.
36555 2015-01-13  Torvald Riegel  <triegel@redhat.com>
36557         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
36558         variable to lll_futex_wake call, not the value itself.
36560 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #17803]
36563         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
36564         twom64.  Adjust value to 0x1p-64L.
36565         (__scalblnl): Only return standard underflowing result for K <=
36566         -64 not K <= -63; adjust exponent for underflowing result by 64
36567         not 63.
36568         * math/libm-test.inc (scalbn_test_data): Add more tests.
36569         (scalbln_test_data): Likewise.
36571         [BZ #17834]
36572         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
36573         0x1p63L.
36574         (__scalblnl): Get new exponent of adjusted subnormal value from ES
36575         not HX.
36576         * math/libm-test.inc (scalbn_test_data): Add more tests.
36577         (scalbln_test_data): Likewise.
36579 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36580             Stefani Seibold  <stefani@seibold.net>
36582         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
36583         (sysdep_routines): Add dl-vdso here, ...
36584         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
36585         (sysdep_routines): ... not here.
36586         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
36587         fallback when vDSO is not presented.
36588         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36589         Define with libc_hidden_proto/libc_hidden_data_def definitions.
36590         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
36591         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
36592         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
36593         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
36594         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36595         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
36596         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
36597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
36598         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
36599         fallback configurable symbol when vDSO is not available.
36600         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
36601         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
36602         be able to redefine fallback symbol when vDSO is not available.
36603         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
36604         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
36606 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36608         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
36609         (TLS_INIT_TP): Add tm_capable initialization.
36610         (TLS_DEFINE_INIT_TP): Likewise.
36611         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
36612         TCB.
36613         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36614         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
36615         calculation.
36616         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
36617         transactoion is lock elision is built and TCB tm_capable is set.
36618         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
36619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36620         (INTERNAL_SYSCALL_NCS): Likewise.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36622         (INTERNAL_SYSCALL_NCS): Likewise.
36623         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
36625         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
36626         for powerpc.
36627         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36628         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
36629         and remove it for 32 bits case.
36630         [pthread_rwlock_t] (__rwelision): New field for lock elision.
36631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
36632         initialization.
36633         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
36634         Disable lock elision with rdlocks if elision is not available.
36636         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
36637         (sysdep_routines): Add lock elision objects.
36638         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36639         [pthread_mutex_t] (__spins): Rework to add lock elision field.
36640         [pthread_mutex_t] (__elision): Add field.
36641         [__PTHREAD_SPINS]: Adjust to init lock elision field.
36642         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
36643         elision definitions for powerpc.
36644         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
36645         implementation of lock elision for powerpc.
36646         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
36647         implementation of timed lock elision for powerpc.
36648         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
36649         implementation of trylock with lock elision for powerpc.
36650         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
36651         implementaion of unlock for lock elision for powerpc.
36652         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
36653         automatic enable lock elision for mutexes.
36654         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
36655         transaction execution definitions for powerpc.
36656         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36657         definitions.
36658         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
36659         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
36660         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
36661         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
36662         * NEWS: Update.
36664 2015-01-09  Roland McGrath  <roland@hack.frob.com>
36666         * sysdeps/posix/shm-directory.c: Use <> rather than ""
36667         for #include of <shm-directory.h>.
36669 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
36671         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
36672         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
36674 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
36676         [BZ #17791]
36677         * NEWS: Mention bug fix.
36678         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
36679         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
36680         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
36682 2015-01-09  Torvald Riegel <triegel@redhat.com>
36684         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
36686 2015-01-09  Torvald Riegel <triegel@redhat.com>
36688         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
36690 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36692         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
36693         pointer and cast to uintptr_t.
36695 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36697         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
36698         removed.
36699         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
36701 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
36703         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
36704         of 0.
36706 2015-01-08  Roland McGrath  <roland@hack.frob.com>
36708         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
36709         <nptl/pthreadP.h> instead.
36710         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
36712         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
36713         already defined.
36714         [__SIGRTMIN] (init): Function removed.
36715         [__SIGRTMIN] (initialized): Variable removed.
36716         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
36717         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
36718         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
36719         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
36720         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
36721         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
36722         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
36723         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
36724         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
36725         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
36726         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
36727         * sysdeps/nptl/allocrtsig.c: New file.
36728         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
36729         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36730         * sysdeps/generic/testrtsig.h: File removed.
36732         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
36733         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
36735         * nptl/nptl-init.c (pthread_functions): Conditionalize
36736         .ptr__nptl_setxid initialization on [SIGSETXID].
36738         * sysdeps/nptl/sys/procfs.h: New file.
36739         * nptl_db/Makefile (headers): Add it.
36740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
36742         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
36743         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
36744         * nptl/pthread_attr_setaffinity.c: Include it.
36745         * nptl/pthread_setattr_default_np.c: Likewise.
36746         * nptl/check-cpuset.h: New file.
36748 2015-01-08  Richard Henderson  <rth@redhat.com>
36750         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
36751         (CFLAGS-tst-execstack-prog.c): Likewise.
36752         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
36754 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
36755             Sandra Loosemore  <sandra@codesourcery.com>
36756             Andrew Jenner  <andrew@codesourcery.com>
36757             Joseph Myers  <joseph@codesourcery.com>
36758             Nathan Sidwell  <nathan@codesourcery.com>
36760         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
36761         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
36762         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
36763         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
36764         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
36765         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
36766         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
36767         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
36768         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
36769         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
36770         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
36771         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
36772         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
36773         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
36774         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
36775         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
36776         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
36778 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36780         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
36781         timespec struct member in syscall macro.
36782         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36783         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
36784         first timeval struct member in syscall macro.
36785         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
36787 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
36789         [BZ #17748]
36790         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
36791         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
36792         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
36793         __feupdateenv and define as weak alias of __feupdateenv.  Use
36794         libm_hidden_weak.
36795         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
36796         libm_hidden_def.
36797         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
36798         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
36799         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36800         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
36801         libm_hidden_def.
36802         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
36803         __feupdateenv and define as weak alias of __feupdateenv.  Use
36804         libm_hidden_weak.
36805         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
36806         libm_hidden_def.
36807         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
36808         __feupdateenv and define as weak alias of __feupdateenv.  Use
36809         libm_hidden_weak.
36810         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
36811         libm_hidden_def.
36812         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36813         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36814         (__feupdateenv): Likewise.
36815         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
36816         __feupdateenv and define as weak alias of __feupdateenv.  Use
36817         libm_hidden_weak.
36818         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36819         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
36820         libm_hidden_def.
36821         * sysdeps/tile/math_private.h (__feupdateenv): New inline
36822         function.
36823         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
36824         libm_hidden_def.
36825         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
36826         __feupdateenv instead of feupdateenv.
36827         (default_libc_feupdateenv_test): Likewise.
36828         (libc_feresetround_ctx): Likewise.
36830 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36832         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
36833         prototype.
36835 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
36837         * posix/regcomp.c (parse_bracket_exp): Initialize type to
36838         COLL_SYM in a couple of places to avoid uninitialized variable
36839         wanings on tilegx gcc 4.8.2.
36841 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36843         * sysdeps/aarch64/strcpy.S: New file.
36844         * sysdeps/aarch64/stpcpy.S: New file.
36845         * NEWS: Updated.
36847 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
36849         * sysdeps/aarch64/strrchr.S: New file.
36850         * NEWS: Updated.
36852 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
36854         [BZ #17658]
36855         * stdlib/setenv.c: Fix memory leak when setting large,
36856         duplicate string.
36858 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
36860         [BZ #17273]
36861         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
36862         and tabs from buffer before parsing fstab entry.
36863         * misc/tst-mntent.c (main): Add test for mount entry with
36864         trailing spaces and tabs.
36866 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
36868         [BZ #17748]
36869         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
36870         * math/fesetround.c (fesetround): Rename to __fesetround and
36871         define as weak alias of __fesetround.  Use libm_hidden_weak.
36872         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
36873         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
36874         * sysdeps/arm/fesetround.c (fesetround): Likewise.
36875         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
36876         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
36877         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
36878         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
36879         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
36880         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
36881         __fesetround_inline.
36882         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
36883         __fesetround_inline instead of __fesetround.
36884         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
36885         __fesetround and define as weak alias of __fesetround.  Use
36886         libm_hidden_weak.  Call __fesetround_inline instead of
36887         __fesetround.
36888         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
36889         __fesetround and define as weak alias of __fesetround.  Use
36890         libm_hidden_weak.
36891         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
36892         Likewise.
36893         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
36894         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36895         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
36896         * sysdeps/tile/math_private.h (__fesetround): New inline function.
36897         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
36898         __fesetround and define as weak alias of __fesetround.  Use
36899         libm_hidden_weak.
36900         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
36901         __fesetround instead of fesetround.
36902         (default_libc_feholdexcept_setround): Likewise.
36903         (libc_feholdsetround_ctx): Likewise.
36904         (libc_feholdsetround_noex_ctx): Likewise.
36906         [BZ #17748]
36907         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
36908         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
36909         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36910         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36911         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36912         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
36913         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36914         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36915         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36916         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36917         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36918         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36919         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36920         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36921         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
36922         libm_hidden_def.
36923         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
36924         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
36925         Likewise.
36926         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
36927         define as weak alias of __fesetenv.  Use libm_hidden_weak.
36928         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36929         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
36930         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
36931         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
36932         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
36933         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
36934         __fesetenv instead of fesetenv.
36935         (libc_feresetround_noex_ctx): Likewise.
36936         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36937         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
36938         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
36939         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36940         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36941         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36942         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36943         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
36944         (__feupdateenv): Likewise.
36945         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36946         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36947         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36948         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
36950 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36952         [BZ #17806]
36953         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
36954         addresses have been freed.
36956 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
36958         * resolv/res_init.c (__res_vinit): Improve comments about nserv
36959         and nservall.
36961 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
36963         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
36964         Clean up check_pf allocation pattern. addresses
36966 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36968         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
36969         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
36970         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
36971         * nptl/pthread_exit.c (__pthread_exit): Likewise.
36972         * nptl/pthread_join.c (pthread_join): Likewise.
36973         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
36974         * sysdeps/posix/waitid.c (__waitid): Likewise.
36975         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36976         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36977         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36978         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36980         Likewise.
36981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36982         (__libc_pread64): Likewise.
36983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36984         (__libc_pwrite): Likewise.
36985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36986         (__libc_pwrite64): Likewsie.
36987         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36988         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36989         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36990         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36991         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36992         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36993         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36995         Likewise.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36997         (__libc_pread64): Likewise.
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
36999         Likewise.
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37001         (__libc_pwrite64): Likewise.
37002         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37003         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37004         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37005         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37006         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37007         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37008         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37009         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37010         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37011         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37012         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37013         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37014         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37015         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37016         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37017         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37018         Likewise.
37020 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37022         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37023         (CFLAGS-test-double.c): Likewise.
37024         (CFLAGS-test-ldouble.c): Likewise.
37025         (CPPFLAGS-test-ifloat.c): Likewise.
37026         (CPPFLAGS-test-idouble.c): Likewise.
37027         (CPPFLAGS-test-ildoubl.c): Likewise.
37028         (CFLAGS-test-test-fenv.c): Remove variable.
37029         (CFLAGS-test-misc.c): Likewise.
37031 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37033         [BZ #17797]
37034         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37035         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37036         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37037         CLOCKS_PER_SEC == 1000000.
37038         * time/clocktest.c (main): Replace %ld with %jd and cast to
37039         intmax_t.
37041 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37043         * sysdeps/generic/unwind-resume.h: New file.
37044         * sysdeps/gnu/unwind-resume.c: Include it.
37045         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37046         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37047         argument list.
37048         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37049         global rather than static.
37050         (_Unwind_Resume): Update user.
37051         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
37052         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
37053         rather than static.  Add __attribute__ ((cold)).
37054         (_Unwind_Resume, __gcc_personality_v0): Update callers.
37055         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
37056         * sysdeps/arm/arm-unwind-resume.S: New file.
37057         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
37058         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
37059         * sysdeps/arm/Makefile [$(subdir) = csu]
37060         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
37061         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37062         Add rt-arm-unwind-resume.
37063         [$(subdir) = nptl]
37064         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37065         Add pt-arm-unwind-resume.
37066         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37067         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
37069 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37071         [BZ #17748]
37072         * include/fenv.h (__feholdexcept): Declare.  Use
37073         libm_hidden_proto.
37074         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
37075         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
37076         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37077         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
37078         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
37079         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
37080         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
37081         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37082         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
37083         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
37084         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37085         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
37086         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
37087         (feholdexcept): Likewise.
37088         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37089         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37090         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37091         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37092         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
37093         __feholdexcept instead of feholdexcept.
37094         (default_libc_feholdexcept_setround): Likewise.
37096 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37098         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
37099         to avoid using stl/str to align destination.
37101 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37103         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
37105 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37107         [BZ #17796]
37108         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
37109         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
37110         Define as weak alias not strong alias.
37112 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
37114         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
37115         bltzal with addiupc.
37116         (RTLD_START): Ditto.
37118 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
37120         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
37121         for __vdso_* functions in declarations.
37122         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
37123         definitions.
37124         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
37125         INTERNAL_VSYSCALL): Use struct return types to check for error.
37127         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
37128         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
37129         function with cast from llround().
37130         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
37131         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
37132         Define.
37134 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
37136         [BZ #17793]
37137         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
37138         Define as weak alias not strong alias.
37140         [BZ #17635]
37141         * ctype/ctype-c99.c: New file.  isblank implementation moved from
37142         ...
37143         * ctype/ctype-extn.c: ... here.
37144         (__isblank_l): Move to ...
37145         * ctype/ctype-c99_l.c: ... here.  New file.
37146         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
37147         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
37148         Remove variable.
37149         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37150         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37151         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37152         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37153         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37155         [BZ #17777]
37156         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
37157         (posix_fadvise64): Define as weak alias not strong alias.
37158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37159         (posix_fallocate64): Likewise.
37160         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37161         Remove variable.
37162         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37163         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37164         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37165         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37166         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37168 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
37170         [BZ #16191]
37171         * NEWS: Mention bug fix.
37172         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
37173         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37174         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
37175         (HOST_STACK_END_ADDR): Likewise.
37177 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37179         [BZ #17748]
37180         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
37181         * math/fegetround.c (fegetround): Rename to __fegetround and
37182         define as weak alias of __fegetround.  Use libm_hidden_weak.
37183         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
37184         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
37185         * sysdeps/arm/fegetround.c (fegetround): Likewise.
37186         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
37187         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37188         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
37189         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
37190         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
37191         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37192         Undefine after rather than before function definition; use
37193         parentheses around function name in definition.
37194         (__fegetround): Also undefine macro after function definition.
37195         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
37196         __fegetround and define as weak alias of __fegetround.  Use
37197         libm_hidden_weak.  Do not undefine as macro.
37198         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37199         Likewise.
37200         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
37201         __fegetround and define as weak alias of __fegetround.  Use
37202         libm_hidden_weak.
37203         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37204         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37205         * sysdeps/tile/math_private.h (__fegetround): New inline function.
37206         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
37207         __fegetround and define as weak alias of __fegetround.  Use
37208         libm_hidden_weak.
37209         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
37210         __fegetround instead of fegetround.
37212         [BZ #17782]
37213         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
37214         Condition macro definition on [__USE_MISC].
37216         [BZ #17781]
37217         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37218         (struct sigaction): Change type of sa_flags field to int.
37220         [BZ #17780]
37221         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
37222         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
37223         __glibc_reserved0.
37225         * nptl/version.c (banner): Use single year in copyright notice.
37227         * NEWS: Update copyright dates.
37228         * catgets/gencat.c (print_version): Likewise.
37229         * csu/version.c (banner): Likewise.
37230         * debug/catchsegv.sh: Likewise.
37231         * debug/pcprofiledump.c (print_version): Likewise.
37232         * debug/xtrace.sh (do_version): Likewise.
37233         * elf/ldconfig.c (print_version): Likewise.
37234         * elf/ldd.bash.in: Likewise.
37235         * elf/pldd.c (print_version): Likewise.
37236         * elf/sotruss.sh: Likewise.
37237         * elf/sprof.c (print_version): Likewise.
37238         * iconv/iconv_prog.c (print_version): Likewise.
37239         * iconv/iconvconfig.c (print_version): Likewise.
37240         * locale/programs/locale.c (print_version): Likewise.
37241         * locale/programs/localedef.c (print_version): Likewise.
37242         * login/programs/pt_chown.c (print_version): Likewise.
37243         * malloc/memusage.sh (do_version): Likewise.
37244         * malloc/memusagestat.c (print_version): Likewise.
37245         * malloc/mtrace.pl: Likewise.
37246         * manual/libc.texinfo: Likewise.
37247         * nptl/version.c (banner): Likewise.
37248         * nscd/nscd.c (print_version): Likewise.
37249         * nss/getent.c (print_version): Likewise.
37250         * nss/makedb.c (print_version): Likewise.
37251         * posix/getconf.c (main): Likewise.
37252         * scripts/test-installation.pl: Likewise.
37253         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
37255 2015-01-02  Will Newton  <will.newton@linaro.org>
37257         * sysdeps/arm/armv7/configure: Removed.
37258         * sysdeps/arm/armv7/configure.ac: Likewise.
37260 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
37262         * All files with FSF copyright notices: Update copyright dates
37263         using scripts/update-copyrights.
37264         * intl/plural.c: Regenerated.
37265         * locale/programs/charmap-kw.h: Likewise.
37266         * locale/programs/locfile-kw.h: Likewise.
37268 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37270         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
37272 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37274         [BZ #17748]
37275         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
37276         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
37277         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37278         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37279         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37280         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
37281         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37282         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
37283         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37284         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37285         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37286         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37287         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37288         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37289         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
37290         libm_hidden_def.
37291         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
37292         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
37293         Likewise.
37294         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
37295         define as weak alias of __fegetenv.  Use libm_hidden_weak.
37296         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37297         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
37298         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
37299         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
37300         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
37301         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
37302         __fegetenv instead of fegetenv.
37303         (libc_feholdsetround_noex_ctx): Likewise.
37305 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37307         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
37308         (Elf_MIPS_ABIFlags_v0): New structure.
37309         (EF_MIPS_FP64): Define.
37310         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
37311         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
37312         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
37313         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
37314         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
37315         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
37316         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
37317         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
37318         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
37319         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
37320         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
37321         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
37322         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
37323         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
37324         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
37325         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
37326         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
37327         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
37328         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
37329         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
37330         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
37331         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
37332         field.
37333         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
37334         EF_MIPS_FP64.
37335         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
37336         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
37337         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
37338         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
37339         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
37340         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
37341         * sysdeps/mips/tst-abi-interlink.c: Likewise.
37342         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
37343         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
37344         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
37345         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
37346         record the current FP ABI extension.
37347         (mips-mode-switch): Define to show if kernel headers support mode
37348         switching.
37349         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
37350         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
37351         supported SYSV ABI version to 3.
37352         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
37353         feature.
37355 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37356             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37358         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
37359         path.
37360         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
37362 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
37364         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
37365         __fegetround and redefine to call __fegetround.  Remove condition
37366         on [!__NO_MATH_INLINES].
37367         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
37368         function.
37369         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
37370         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37371         Remove macro.
37372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
37373         instead of <fenv_libc.h>.
37374         (__llrintl): Call fegetround instead of __fegetround.
37375         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
37376         instead of <fenv_libc.h>.
37377         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37378         (__lrintl): Call fegetround instead of __fegetround.
37379         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
37380         instead of <fenv_libc.h>.
37381         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37382         (__rintl): Call fegetround instead of __fegetround.
37384 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37386         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
37387         arrays.
37389 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37391         [BZ #17775]
37392         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
37393         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
37394         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
37396 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37398         * sysdeps/i386/tls-macros.h: Include <features.h>.
37399         (TLS_LE): Use non-PIC version for GCC >= 5.0.
37400         (TLS_IE): Likewise.
37401         (TLS_LD): Likewise.
37402         (TLS_GD): Likewise.
37403         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
37404         define for GCC >= 5.0.
37406 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
37408         * math/test-fenv.c (test_single_exception, set_single_exc,
37409         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
37410         feexcp_mask_test, feenable_test, fe_single_test): Add
37411         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
37412         case where they are not used.
37413         * math/libm-test.inc: Likewise.
37414         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
37415         unused in the absence of FP rounding/exception support.
37416         * stdio-common/tst-printf-round.c: Likewise.
37417         * stdlib/tst-strtod-round.c: Likewise.
37418         * stdlib/tst-strtod-underflow.c: Likewise.
37420 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
37422         [BZ #17723]
37423         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
37424         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
37425         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37426         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37427         libm_hidden_weak.
37428         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
37429         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37430         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
37431         libm_hidden_def.
37432         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37433         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37434         libm_hidden_weak.
37435         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
37436         Likewise.
37437         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
37438         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37439         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37440         libm_hidden_weak.
37441         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37442         libm_hidden_def.
37443         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
37444         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
37445         (__feraiseexcept): Likewise.
37446         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
37447         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
37448         libm_hidden_weak.
37449         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
37450         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37451         libm_hidden_def.
37452         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
37453         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
37454         Use libm_hidden_def.
37455         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37456         libm_hidden_def.
37457         (feraiseexcept): Define as weak not strong alias.  Use
37458         libm_hidden_weak.
37459         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
37460         New inline function.  Factored out of ...
37461         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
37462         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
37463         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
37464         feraiseexcept.
37465         * math/w_acos.c (__acos): Likewise.
37466         * math/w_asin.c (__asin): Likewise.
37467         * math/w_ilogb.c (__ilogb): Likewise.
37468         * math/w_j0.c (y0): Likewise.
37469         * math/w_j1.c (y1): Likewise.
37470         * math/w_jn.c (yn): Likewise.
37471         * math/w_log.c (__log): Likewise.
37472         * math/w_log10.c (__log10): Likewise.
37473         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
37474         * sysdeps/aarch64/fpu/math_private.h
37475         (libc_feupdateenv_test_aarch64): Likewise.
37476         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37477         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
37478         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
37479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37480         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37481         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37482         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
37483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37484         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37485         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37487 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
37489         [BZ #17732]
37490         * io/test-utime.c (main): Replace %ld with %jd and cast to
37491         intmax_t.
37492         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
37493         * nptl/tst-mutex5.c: Include <stdint.h>.
37494         (do_test): Replace %ld with %jd and cast to intmax_t.
37495         * posix/tst-regex.c (run_test): Likewise.
37496         (run_test_backwards): Likewise.
37497         * rt/tst-clock.c: Include <stdint.h>.
37498         (clock_test): Replace %ld with %jd and cast to intmax_t.
37499         * rt/tst-cpuclock1.c: Include <stdint.h>.
37500         (do_test): Replace %lu with %ju and cast to uintmax_t.
37501         * rt/tst-cpuclock2.c: Include <stdint.h>.
37502         (do_test): Replace %lu with %ju and cast to uintmax_t.
37503         * rt/tst-mqueue1.c: Include <stdint.h>.
37504         (check_attrs): Replace %ld with %jd and cast to intmax_t.
37505         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
37506         intmax_t.
37507         * rt/tst-mqueue4.c (do_test): Likewise.
37508         * rt/tst-timer4.c: Include <stdint.h>.
37509         (check_ts): Replace %ld with %jd and cast to intmax_t.
37510         (do_test): Likewise.
37511         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
37512         and cast to intmax_t.
37513         * sysdeps/pthread/tst-timer.c (main): Likewise.
37514         * time/clocktest.c (main): Likewise.
37515         * time/tst-posixtz.c (do_test): Likewise.
37516         * timezone/tst-timezone.c (main): Likewise.
37518 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
37519             H.J. Lu  <hongjiu.lu@intel.com>
37521         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
37522         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37523         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
37524         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
37525         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
37526         version if bit_Fast_Unaligned_Load is set.
37527         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37528         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37529         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37530         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37531         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37534         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
37535         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
37536         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
37537         to 4.
37538         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
37539         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
37540         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
37541         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
37543 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
37545         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
37546         instead of #if to avoid a Wundef warning.
37547         * stdlib/tst-limits.c (do_test): Likewise.
37549         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
37550         parallel other exception macros.
37551         (fegetenv): Convert from macro to extern inline so that it applies
37552         retroactively to inline functions already seen by the compiler.
37553         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
37555         * posix/Makefile (before-compile): Use $(objpfx) for
37556         posix-conf-vars-def.h.
37558 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37560         * posix/getconf.c (main): Use size_t for type of I.
37561         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
37562         NSPEC.
37564         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
37565         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
37566         * posix/posix-envs.def: Likewise.
37567         * sysdeps/posix/sysconf.c: Likewise.
37568         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
37569         (specs): Remove array.
37570         * scripts/gen-posix-conf-vars.awk: Support generation of specs
37571         array.
37573         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
37574         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
37575         (__sysconf): Use CONF_IS_* macros.
37577         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
37578         ($(objpfx)posix-conf-vars-def.h): New target.
37579         * posix/posix-conf-vars.list: New file.
37580         * posix/posix-conf-vars.h: New file.
37581         * posix/confstr.c: Include posix-conf-vars.h.
37582         (confstr): Use CONF_IS_* macros.
37583         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
37584         CONF_IS_* macros.
37585         * scripts/gen-posix-conf-vars.awk: New file.
37587 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
37589         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
37590         fegetround): Add no-op macros to avoid linknamespace issues.
37592         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
37593         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37595         * sysdeps/unix/sysv/linux/tile/sysdep.h
37596         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
37597         assembly-specific section to avoid a redefinition warning.
37599         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
37600         long before casting to pointer to avoid a cast warning.
37602 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
37604         * sysdeps/tile/tilegx/Implies: New file.
37606 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
37608         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
37610 2014-12-23  Florian Weimer  <fweimer@redhat.com>
37612         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
37614 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
37617         not define.
37618         * sysdeps/unix/sysv/linux/utimes.c: Do not include
37619         <kernel-features.h>.
37620         (__utimes) [__NR_utimes]: Make code unconditional.
37621         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
37622         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37623         (__ASSUME_UTIMES): Do not undefine.
37624         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37625         (__ASSUME_UTIMES): Likewise.
37626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37627         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
37628         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
37629         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
37631 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37633         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
37635 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
37637         [BZ #17747]
37638         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
37639         alias to weak alias for j0l, y0l.
37640         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
37641         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
37643         [BZ #17746]
37644         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
37645         conversion.
37647 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
37649         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37650         to zero if not already defined.
37652 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37654         [BZ #17724]
37655         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
37656         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
37657         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
37658         (char *) casts added.
37659         * sysdeps/ieee754/k_standardf.c: New file.
37660         * sysdeps/ieee754/k_standardl.c: Likewise.
37661         * math/Makefile (libm-support): Remove k_standard.
37662         (libm-calls): Add k_standard.
37664 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37666         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37667         Optimize to avoid an unnecessary FPCR read.
37669 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37671         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
37672         Optimize to reduce FPCR/FPSR accesses.
37674 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37676         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
37677         Call libc_fetestexcept_aarch64.
37679 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
37681         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
37682         Call libc_fesetround_aarch64.
37684 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
37686         [BZ #17733]
37687         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
37688         (__bind): Do not define as weak alias.
37689         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
37690         define.
37691         (__getsockname): Do not define as weak alias.
37693 2014-12-22  Will Newton  <will.newton@linaro.org>
37695         * manual/install.texi: Document that we require bison 2.7
37696         or above.
37697         * INSTALL: Regenerate.
37698         * configure.ac: Use AC_CHECK_PROG_VER instead of
37699         AC_PATH_PROG when checking for bison and check for
37700         version 2.7 or above.
37701         * configure: Regenerate.
37703 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
37705         [BZ #17745]
37706         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
37707         * sysdeps/tile/ffsll.c (ffsll): To here.
37709         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
37711 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37713         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
37714         if not defined.
37715         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
37716         definition.
37717         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37718         hidden ___tls_get_addr.
37719         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
37720         hidden __tls_get_addr.
37721         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
37722         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
37723         Likewise.
37725 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
37727         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
37728         _dl_init call.
37730 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
37732         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
37733         from "call _dl_init@PLT".
37734         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
37736 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
37738         * manual/search.texi: (Array Sort Function): Clarify stable sorting
37739         guarantees.
37741 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
37743         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
37745 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37747         [BZ #17744]
37748         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
37749         strnlen.
37751 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37753         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
37754         of multu on MIPSr6.
37755         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
37756         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
37757         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
37758         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
37759         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
37761 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
37763         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
37764         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
37765         (PTR_SUBU): Use subu for mips32r6/mips64r6.
37766         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
37767         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
37768         mips32r6/mips64r6.
37769         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
37771 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
37773         * string/strncat.c (STRNCAT): Simplify implementation.
37775 2014-12-19  David S. Miller  <davem@davemloft.net>
37777         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
37778         access the quad as both a long double and as a series of 4 words.
37780         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
37781         link_map->l_info array access.
37783 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
37785         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
37787         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
37788         * math/atest-exp2.c (TIMEOUT): Likewise.
37789         * math/atest-sincos.c (TIMEOUT): Likewise.
37791 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37793         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
37794         -Wno-error with -fno-builtin-lround.
37796 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37798         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
37799         Contains futex constants and functions moved over from ...
37800         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
37801         <lowlevellock-futex.h>.
37802         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37803         (lll_timedwait_tid): Add comments and parentheses around macro
37804         arguments.
37806 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37808         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
37809         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
37810         (__lll_private_flag): Remove.
37811         (lll_futex_wait): Likewise.
37812         (lll_futex_timed_wait): Likewise.
37813         (lll_futex_wake): Likewise.
37814         (lll_futex_requeue): Likewise.
37815         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
37816         (__lll_timedwait_tid): Spell out argument names.
37817         (lll_timedwait_tid): Add comments and parentheses around macro
37818         arguments.
37819         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
37820         LLL_SHARED and LLL_PRIVATE usable from assembly code.
37822 2014-12-19  Torvald Riegel  <triegel@redhat.com>
37824         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
37825         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37826         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37827         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
37828         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
37829         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
37830         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
37831         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
37832         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
37833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
37834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
37835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
37836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
37837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
37838         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
37839         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
37840         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
37841         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
37842         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
37844 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37846         * sysdeps/x86_64/x32/Makefile: New file.
37848 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
37850         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
37851         1L with (mp_limb_t) 1.
37853 2014-12-17  Roland McGrath  <roland@hack.frob.com>
37855         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
37856         * nptl/libc_pthread_init.c: ... here.
37857         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
37858         * nptl/register-atfork.c: ... here.
37860         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
37861         Use pthread_sigmask rather than INTERNAL_SYSCALL.
37862         Use assert_perror to check its return value.
37863         (__gai_create_helper_thread): Likewise.
37865         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
37867         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
37869 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
37871         [BZ #17725]
37872         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
37873         __profil_counter.
37874         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
37875         Likewise.
37876         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
37877         Likewise.
37878         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
37879         Likewise.
37880         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
37881         (profil_counter): Likewise.
37882         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
37883         (profil_counter): Likewise.
37884         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
37885         Likewise.
37886         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
37887         Likewise.
37888         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
37889         (profil_counter): Likewise.
37890         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
37891         Likewise.
37892         [!__profil_counter] (profil_counter): Define as weak alias of
37893         __profil_counter.
37894         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
37895         (profil_counter): Rename to __profil_counter.
37896         [!__profil_counter] (profil_counter): Define as weak alias of
37897         __profil_counter.
37898         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
37899         (profil_counter): Rename to __profil_counter.
37900         [!__profil_counter] (profil_counter): Define as weak alias of
37901         __profil_counter.
37902         * sysdeps/posix/profil.c: Update comment referring to
37903         profil_counter.
37904         (__profil): Use __profil_counter instead of profil_counter.
37905         * sysdeps/posix/sprofil.c (profil_counter): Rename to
37906         __profil_counter.  Use __profil_counter_ushort and
37907         __profil_counter_uint in definitions.
37908         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
37909         instead of profil_counter_uint and profil_counter_ushort.
37911         [BZ #17722]
37912         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
37913         define as weak alias of __inet_makeaddr.
37914         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
37915         as weak alias of __inet_addr.
37916         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
37917         as weak alias of __inet_pton.  Use libc_hidden_weak.
37918         * include/arpa/inet.h (__inet_pton): Declare.  Use
37919         libc_hidden_proto.
37920         (inet_makeaddr): Don't use libc_hidden_proto.
37921         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
37922         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
37923         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
37924         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
37925         Remove variable.
37926         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37927         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37929 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
37931         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
37933 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37935         * stdio-common/bug-vfprintf-nargs.c (do_test):
37936         Cast value to intptr_t to avoid format warning
37937         for usage with PRIdPTR printing macro.
37939 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37941         * libio/tst-widetext.c (do_test):
37942         Use format type %td instead of %Zd for ptrdiff_t
37943         in order to avoid format warning.
37945 2014-12-17  Andreas Schwab  <schwab@suse.de>
37947         * nscd/mem.c (gc): Add size_t cast to match printf format.
37949 2014-12-16  Roland McGrath  <roland@hack.frob.com>
37951         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
37952         (init): Apply PTR_MANGLE to pointers before storing them.
37953         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
37954         before using them.
37956 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
37958         [BZ #17719]
37959         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
37960         define as weak alias of __memrchr.
37961         (__memrchr): Do not define as strong alias of memrchr.
37962         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
37963         Remove variable.
37964         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37965         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37966         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37968         [BZ #17717]
37969         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
37970         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
37971         (if_indextoname): Rename to __if_indextoname and define as weak
37972         alias of __if_indextoname.  Use libc_hidden_weak.
37973         (if_freenameindex): Rename to __if_freenameindex and define as
37974         weak alias of __if_freenameindex.
37975         (if_nameindex): Rename to __if_nameindex and define as weak alias
37976         of __if_nameindex.
37977         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
37978         __if_nametoindex and define as weak alias of __if_nametoindex.
37979         Use libc_hidden_weak.
37980         (if_freenameindex): Rename to __if_freenameindex and define as
37981         weak alias of __if_freenameindex.
37982         (if_nameindex): Rename to __if_nameindex and define as weak alias
37983         of __if_nameindex.
37984         (if_indextoname): Rename to __if_indextoname and define as weak
37985         alias of __if_indextoname.  Use libc_hidden_weak.
37986         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
37987         __if_nametoindex and define as weak alias of __if_nametoindex.
37988         Use libc_hidden_weak.
37989         (if_freenameindex): Rename to __if_freenameindex and define as
37990         weak alias of __if_freenameindex.  Use libc_hidden_weak.
37991         (if_nameindex_netlink): Use __if_freenameindex instead of
37992         if_freenameindex.
37993         (if_nameindex): Rename to __if_nameindex and define as weak alias
37994         of __if_nameindex.  Use libc_hidden_weak.
37995         (if_indextoname): Rename to __if_indextoname and define as weak
37996         alias of __if_indextoname.  Use libc_hidden_weak.
37997         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
37998         libc_hidden_proto.
37999         [!_ISOMAC] (__if_freenameindex): Likewise.
38000         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38001         if_nametoindex.
38002         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38003         variable.
38004         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38005         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38006         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38007         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38008         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38009         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38010         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38012         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38013         Remove variable.
38014         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38015         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38017 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38019         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38020         subscript above bounds'
38022         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38023         bounds.
38025 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38027         * libio/tst-fopenloc.c: Use test-skeleton.c.
38029         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38030         (entry): Rename to ITEM.
38031         (do_test, comp): Adjust.
38033         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38035 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38037         * string/tester.c: Include <libc-internal.h>.
38038         (test_memset): Ignore -Wmemset-transposed-args.
38040 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38042         * misc/tst-mntent2.c (do_test): Fix warning.
38044 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38046         * elf/tst-unique4lib.cc(a): Mark as used.
38048 2014-12-16  Florian Weimer  <fweimer@redhat.com>
38050         [BZ #17630]
38051         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
38052         names.
38054 2014-12-16  Allan McRae  <allan@archlinux.org>
38056         * stdio-common/Makefile (tests): Re-add bug26.
38058 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
38060         [BZ #17657]
38061         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
38062         static array.
38064 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
38066         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
38067         (__lll_lock_wait): Likewise.
38068         (__lll_timedlock_wait): Likewise.
38069         (__lll_timedwait_tid): Likewise.
38070         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
38071         (__lll_robust_timedlock_wait): Likewise.
38072         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
38073         (lll_cond_trylock): Likewise.
38074         (__lll_lock): Likewise.
38075         (__lll_robust_lock): Likewise.
38076         (__lll_cond_lock): Likewise.
38077         (lll_robust_cond_lock): Likewise.
38078         (__lll_timedlock): Likewise.
38079         (__lll_robust_timedlock): Likewise.
38080         (__lll_unlock): Likewise.
38081         (__lll_robust_unlock): Likewise.
38082         (lll_wait_tid): Likewise.
38083         (lll_timedwait_tid): Likewise.
38085 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38087         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
38089 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38091         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
38093 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38095         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
38096         * stdio-common/tst-sprintf.c: Likewise.
38098 2014-12-15  Torvald Riegel  <triegel@redhat.com>
38100         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
38102 2014-12-15  Jeff Law  <law@redhat.com>
38104         [BZ #16617]
38105         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
38106         on the heap.  (CVE-2012-3406)
38107         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
38108         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
38109         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
38111 2014-12-15  Will Newton  <will.newton@linaro.org>
38113         * manual/install.texi: Bump required version of texinfo
38114         to 4.7 from 4.5.
38115         * INSTALL: Regenerated.
38116         * configure.ac: Check for makeinfo version 4.7 and above.
38117         * configure: Regenerated.
38119 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38121         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
38122         PREFIX, string constant to insert between directory and name.
38123         * sysdeps/posix/shm_open.c: Update caller.
38124         * sysdeps/posix/shm_unlink.c: Likewise.
38125         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38126         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
38127         (SEM_SHM_PREFIX): New macro.
38128         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
38129         [$(have-thread-library) = no].
38130         * nptl/Makefile (libpthread-routines): Add shm-directory.
38131         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
38132         * sysdeps/nptl/shm-directory.h: New file.
38133         * sysdeps/posix/shm-directory.c
38134         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
38135         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
38136         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
38137         INTERNAL_SYSCALL.
38138         (__where_is_shmfs): Function removed.
38139         (mountpoint, defaultmount, defaultdir, __namedsem_once):
38140         Variables removed.
38141         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
38142         Use SHM_GET_NAME.
38143         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
38145         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
38146         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
38147         unconditional for use inside libpthread.
38148         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
38150 2014-12-12  Roland McGrath  <roland@hack.frob.com>
38152         * nptl/pthread_getaffinity.c: New file.
38153         * nptl/pthread_setaffinity.c: New file.
38154         * nptl/pthread_getname.c: New file.
38155         * nptl/pthread_setname.c: New file.
38157         * nptl/pthread_create.c (START_THREAD_DEFN)
38158         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
38160 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38161             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38163         * resolv/res_send.c (send_vc): Disable warning resplen may
38164         be used uninitialized.
38166 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38168         * nptl/tst-mutex6.c
38169         (ATTR_NULL): New define checks ATTR against NULL.
38170         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
38171         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
38173 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
38175         [BZ #17581]
38176         * malloc/hooks.c
38177         (mem2mem_check): Revert my previous change.
38178         (malloc_check_get_size): Revert my previous change.
38179         (mem2chunk_check): Revert my previous change.
38181 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38183         * sysdeps/posix/shm-directory.c: New file.
38184         * sysdeps/posix/shm-directory.h: New file.
38185         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
38186         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
38187         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
38188         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
38189         Transmute EPERM to EACCES.
38190         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
38191         from ...
38192         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
38193         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
38195 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38197         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
38198         pointer and cast to uintptr_t.
38199         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
38200         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
38201         Add cast to avoid warning.
38202         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
38204 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38206         * nptl/semaphore.h: Move to ...
38207         * sysdeps/pthread/semaphore.h: ... here.
38208         * Makefile (installed-headers): Change nptl/semaphore.h to
38209         sysdeps/pthread/semaphore.h.
38211 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38213         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
38214         generated error format strings.
38216         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
38217         -Wformat-extra-args warnings for scanf formats.
38218         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
38219         test of zero-length format (duh).
38220         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
38221         corner-case scanf format test.
38222         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
38223         generated fprintf format string.
38224         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
38225         corner-case sprintf format tests.
38226         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
38227         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
38228         -Wformat-extra-args warnings throughout.
38229         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
38230         (CFLAGS-scanf4.c): Likewise.
38231         (CFLAGS-scanf7.c): Likewise.
38232         (CFLAGS-tst-sprintf.c): Likewise.
38233         (CFLAGS-tst-printf.c): Likewise.
38234         (CFLAGS-tst-printfsz.c): Likewise.
38236 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
38238         * include/cpio.h: New file.
38239         * include/fmtmsg.h: Likewise.
38241         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
38242         corresponding format argument to size_t.
38243         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
38244         arguments.
38245         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
38246         corresponding format argument to size_t.
38247         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38248         arguments.
38249         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
38250         corresponding format argument to size_t.
38251         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
38252         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
38253         (CFLAGS-tst-mbswcs2.c): Likewise.
38254         (CFLAGS-tst-mbswcs3.c): Likewise.
38255         (CFLAGS-tst-mbswcs4.c): Likewise.
38256         (CFLAGS-tst-mbswcs5.c): Likewise.
38257         (CFLAGS-tst-trans.c): Likewise.
38259 2014-12-11  Roland McGrath  <roland@hack.frob.com>
38261         * posix/regexbug1.c (main): Use "%s" format with regerror results,
38262         rather than assuming they won't contain any '%'s.
38264 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
38266         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
38267         inhibit_loop_to_libcall to avoid recursive calls.
38268         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
38269         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
38271 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
38273         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
38274         prototype.
38276 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38278         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
38279         integer value instead of boolean.
38281 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
38283         * malloc/malloc.c: Fix powerof2 check.
38285 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38287         * locale/programs/locfile.h (maybe_swap_uint32):
38288         Remove inline and add unused attribute.
38290 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38292         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38293         Truncating assembler expression to a .long expression.
38295 2014-12-11  Andreas Schwab  <schwab@suse.de>
38297         * elf/rtld.c (struct map_args): Constify str member.
38298         (do_preload): Constify fname argument.
38300 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38302         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
38303         constants definition.
38305 2014-12-11  Andreas Schwab  <schwab@suse.de>
38307         [BZ #16657]
38308         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
38309         FORCE_ELISION instead of DO_ELISION.
38310         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
38311         Remove.
38312         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
38313         Likewise.
38315         * iconvdata/gconv-modules: Remove duplicate entry.
38317 2014-12-11  Will Newton  <will.newton@linaro.org>
38319         Merge gettext 0.19.3 into intl/.
38321         This involves a number of cosmetic changes to comments
38322         and ANSI function definitions and prototypes throughout
38323         all the files. The gettext copyright header is used but
38324         with the date ranges taken from the glibc copy.
38326         * NEWS: Add gettext merge to 2.21.
38327         * intl/bindtextdom.c: Switch to gettext copyright.
38328         Use ANSI definitions and prototypes.
38329         Use gl_* locking primitives rather than __libc_* ones.
38330         Use __builtin_expect rather than __glibc_likely/unlikely.
38331         * intl/dcgettext.c: Switch to gettext copyright.
38332         Use ANSI definitions and prototypes.
38333         * intl/dcigettext.c: Switch to gettext copyright.
38334         Use ANSI definitions and prototypes.
38335         (INTDIV0_RAISES_SIGFPE): New define.
38336         Use gl_* locking primitives rather than __libc_* ones.
38337         Include eval-plural.h instead of plural-eval.c.
38338         Use __builtin_expect rather than __glibc_likely/unlikely.
38339         * intl/dcngettext.c: Switch to gettext copyright.
38340         Use ANSI definitions and prototypes.
38341         * intl/dgettext.c: Likewise.
38342         * intl/dngettext.c: Likewise.
38343         * intl/plural-eval.c: Renamed to...
38344         * intl/eval-plural.h: ...this.
38345         * intl/explodename.c: Switch to gettext copyright.
38346         Use ANSI definitions and prototypes.
38347         (_nl_explode_name): Use strchr instead of __rawmemchr.
38348         * intl/finddomain.c: Switch to gettext copyright.
38349         Use ANSI definitions and prototypes.
38350         Use gl_* locking primitives rather than __libc_* ones.
38351         (_nl_find_domain): Use malloc rather than alloca for
38352         allocation of temporary locale name.
38353         * intl/gettext.c: Switch to gettext copyright.
38354         Use ANSI definitions and prototypes.
38355         * intl/gettextP.h: Switch to gettext copyright.
38356         Use ANSI definitions and prototypes.
38357         Use gl_* locking primitives rather than __libc_* ones.
38358         * intl/gmo.h: Switch to gettext copyright.
38359         (struct sysdep_string): Move struct segment_pair outside of
38360         struct definition.
38361         * intl/hash-string.c: Use ANSI definitions and prototypes.
38362         * intl/hash-string.h: Switch to gettext copyright.
38363         Use ANSI definitions and prototypes.
38364         * intl/l10nflist.c: Switch to gettext copyright.
38365         Use ANSI definitions and prototypes.
38366         (_nl_normalize_codeset): Avoid integer overflow.
38367         * intl/loadinfo.h: Switch to gettext copyright.
38368         Use ANSI definitions and prototypes.
38369         (LIBINTL_DLL_EXPORTED): New define.
38370         (PATH_SEPARATOR): New define.
38371         * intl/loadmsgcat.c: Switch to gettext copyright.
38372         * intl/localealias.c: Switch to gettext copyright.
38373         Use ANSI definitions and prototypes.
38374         (_nl_expand_alias): Use PATH_SEPARATOR.
38375         * intl/ngettext.c: Switch to gettext copyright.
38376         Use ANSI definitions and prototypes.
38377         * intl/plural-exp.c: Likewise.
38378         * intl/plural-exp.h: Switch to gettext copyright.
38379         Use ANSI definitions and prototypes.
38380         (struct expression): Move definition of enum operator outside
38381         of struct definition.
38382         * intl/plural.c: Regenerate.
38383         * intl/plural.y: Switch to gettext copyright.
38384         Use ANSI definitions and prototypes.
38385         Port to bison 3.0.
38386         * intl/textdomain.c: Switch to gettext copyright.
38387         Use ANSI definitions and prototypes.
38388         Use gl_* locking primitives rather than __libc_* ones.
38390 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
38392         * debug/warning-nop.c: Add used atrribute.
38394 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38396         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
38398         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
38399         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
38400         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
38402 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38403             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38405         [BZ #17634]
38406         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
38407         Undefine after defining function.  Define as weak alias of
38408         __wcschr.  Use libc_hidden_weak.
38409         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
38410         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
38411         (libc_hidden_def): Also define __GI___wcschr alias.
38412         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
38413         __wcschr and define as weak alias of __wcschr.
38414         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
38415         __wcschr.
38416         [!WCSCHR] (DEFAULT_WCSCHR): Define.
38417         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
38418         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
38419         libc_hidden_weak.  Do not use libc_hidden_def.
38420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
38421         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
38422         __GI___wcschr alias.
38423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
38424         [IS_IN (libc)] (wcschr): Define as macro expanding to
38425         __redirect_wcschr.
38426         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38427         [IS_IN (libc)] (__wcschr_power6): Likewise.
38428         [IS_IN (libc)] (__wcschr_power7): Likewise.
38429         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
38430         instead of wcschr.
38431         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
38432         __libc_wcschr.
38433         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
38434         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
38435         __wcschr and define as weak alias of __wcschr.  Use
38436         libc_hidden_builtin_def.
38437         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
38438         as weak alias of __wcschr.  Use libc_hidden_weak.
38439         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
38440         wcschr.
38441         * time/era.c (_nl_init_era_entries): Likewise.
38442         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
38443         variable.
38444         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38445         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38447 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38449         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
38450         format for long int variable.
38452 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
38454         [BZ #10672]
38455         * manual/search.texi: (Array Sort Function): Remove claim how to make
38456         qsort stable.
38458 2014-12-10  Andreas Schwab  <schwab@suse.de>
38460         [BZ #12847]
38461         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
38462         user-controlled locks.
38464 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
38466         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
38467         register.
38469 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
38471         * configure.ac (--disable-werror): New configure option.
38472         (enable_werror): New AC_SUBST.
38473         * configure: Regenerated.
38474         * config.make.in (enable-werror): New variable.
38475         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
38476         -Wno-error=undef.
38477         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
38478         * manual/install.texi (Configuring and compiling): Document
38479         --disable-werror.
38480         * INSTALL: Regenerated.
38481         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
38482         (CFLAGS-tst-chk2.c): Likewise.
38483         (CFLAGS-tst-chk3.c): Likewise.
38484         (CFLAGS-tst-chk4.cc): Likewise.
38485         (CFLAGS-tst-chk5.cc): Likewise.
38486         (CFLAGS-tst-chk6.cc): Likewise.
38487         (CFLAGS-tst-lfschk1.c): Likewise.
38488         (CFLAGS-tst-lfschk2.c): Likewise.
38489         (CFLAGS-tst-lfschk3.c): Likewise.
38490         (CFLAGS-tst-lfschk4.cc): Likewise.
38491         (CFLAGS-tst-lfschk5.cc): Likewise.
38492         (CFLAGS-tst-lfschk6.cc): Likewise.
38494         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
38495         (main): Disable -Wdeprecated-declarations around calls to
38496         register_printf_function.
38498         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
38499         (do_test): Disable -Wdiv-by-zero around some calls to
38500         fwrite_unlocked and fread_unlocked.
38502         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
38503         (DIAG_POP_NEEDS_COMMENT): Likewise.
38504         (_DIAG_STR1): Likewise.
38505         (_DIAG_STR): Likewise.
38506         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
38507         * stdio-common/bug21.c: Include <libc-internal.h>.
38508         (do_test): Disable -Wformat around call to sscanf.
38509         * stdio-common/scanf14.c: Include <libc-internal.h>.
38510         (main): Disable -Wformat around some calls to scanf functions.
38512 2014-12-09  Torvald Riegel  <triegel@redhat.com>
38514         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
38516 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38518         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
38519         stack variable alignment.
38521 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
38523         [BZ #17682]
38524         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
38525         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
38526         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
38527         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
38528         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
38529         __getrlimit instead of getrlimit.
38530         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
38531         __gettimeofday instead of gettimeofday.
38532         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
38533         Likewise.
38534         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
38535         Likewise.
38536         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38537         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
38538         Remove variable.
38539         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38540         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38542 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38544         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
38545         for wide-character tests.
38547 2014-12-04  Roland McGrath  <roland@hack.frob.com>
38549         * io/openat64.c: #include <libc-internal.h>
38550         (__openat64): Prototypify.  Use ignore_value on MODE.
38551         * io/openat.c: Likewise.
38552         * misc/reboot.c: #include <libc-internal.h>
38553         (reboot): Prototypify.  Use ignore_value on HOWTO.
38554         * misc/ptrace.c: #include <libc-internal.h>
38555         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
38557 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
38559         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
38560         XPG4, UNIX98 and XOPEN2K.
38561         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
38562         Remove variable.
38563         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38565 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38567         * libio/fileops.c: Use ISO C style for function definitions.
38568         * libio/iofopen.c: Likewise.
38569         * libio/wfileops.c: Likewise.
38571         [BZ #17653]
38572         * libio/fileops.c (_IO_new_file_underflow): Unset cached
38573         offset on EOF.
38574         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
38575         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
38576         (fgets_func): Function pointer to fgets and fgetws.
38577         (do_ftell_test): Add test to verify ftell value after read
38578         EOF.
38579         (do_test): Set fgets_func.
38581         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
38582         O_TRUNC flag for w and w+ modes.
38583         (do_rewind_test): Likewise.
38584         (do_ftell_test): Likewise.
38585         (do_write_test): Likewise.
38587         [BZ #17647]
38588         * libio/fileops.c (do_ftell): Seek only when there are
38589         unflushed writes.
38590         * libio/wfileops.c (do_ftell_wide): Likewise.
38591         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
38592         test case.
38593         (do_one_test): Call it.
38595 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
38597         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
38598         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
38599         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
38600         Remove variable.
38601         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38602         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38603         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38605 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38607         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
38608         Remove variable.
38609         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38611         [BZ #17668]
38612         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
38613         as weak alias of __getifaddrs.  Use libc_hidden_weak.
38614         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38615         __freeifaddrs.  Use libc_hidden_weak.
38616         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
38617         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
38618         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38619         __freeifaddrs.  Use libc_hidden_weak.
38620         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
38621         __getifaddrs and define as weak alias of __getifaddrs.  Use
38622         libc_hidden_weak.
38623         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
38624         __freeifaddrs.  Use libc_hidden_weak.
38625         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
38626         Remove variable.
38627         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38628         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38630 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
38632         [BZ #17601]
38633         * sysdeps/mips/start.S (__start): Use indirect jump to call
38634         __libc_start_main.
38636 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
38638         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
38640         * nptl/tst-mutex1.c: Include <stdbool.h>.
38641         [!ATTR] (ATTR_NULL): New macro.
38642         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
38643         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
38644         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
38646         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
38647         to char *.
38649         [BZ #17665]
38650         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
38651         Change conditional to [__USE_MISC].
38653         [BZ #17664]
38654         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
38655         fgets_unlocked.
38656         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
38657         __fgets_unlocked.
38658         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
38659         fgets_unlocked.
38660         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
38661         Remove variable.
38662         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38663         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38664         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38665         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38666         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38667         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38668         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38669         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38670         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38672         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
38674 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38677         Remove strpbrk objects.
38678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38679         (__libc_ifunc_impl_list): Remove strpbrk implementation.
38680         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
38681         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
38682         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
38683         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
38685         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38686         Remove strcspn objects.
38687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38688         (__libc_ifunc_impl_list): Remove strcspn implementation.
38689         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
38690         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
38691         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
38692         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38695         Remove strspn objetcs.
38696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38697         (__libc_ifunc_impl_list): Remove strspn implementation.
38698         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
38699         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
38700         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
38701         * sysdeps/powerpc/powerpc64/strspn.S: New file.
38703 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
38705         [BZ #17581]
38706         * malloc/hooks.c
38707         (mem2mem_check): Add a terminator to the chain of checking blocks.
38708         (malloc_check_get_size): Use it here.
38709         (mem2chunk_check): Ditto.
38711 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38713         * sysdeps/powerpc/powerpc64/strtok.S: New file.
38714         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
38716 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
38718         * bits/ioctl-types.h: Indent preprocessor directives correctly.
38720         * nptl/nptl-init.c: Include libc-internal.h.
38721         (__pthread_initialize_minimal_internal): Use ROUND_UP.
38723         * elf/ldconfig.c (search_dir): Expand comment.
38725 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
38727         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
38728         variable.
38729         (linknamespace-symlist-stdlibs-tests): Likewise.
38730         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
38731         instead of $(objpfx)symlist-stdlibs.
38732         (linknamespace-libs-isoc): New variable.
38733         (linknamespace-libs): Use $(linknamespace-libs-isoc).
38734         (linknamespace-libs-ISO): New variable.
38735         (linknamespace-libs-ISO99): Likewise.
38736         (linknamespace-libs-ISO11): Likewise.
38737         (linknamespace-libs-XPG3): Likewise.
38738         (linknamespace-libs-XPG4): Likewise.
38739         (linknamespace-libs-POSIX): Likewise.
38740         (linknamespace-libs-UNIX98): Likewise.
38741         (linknamespace-libs-XOPEN2K): Likewise.
38742         (linknamespace-libs-POSIX2008): Likewise.
38743         (linknamespace-libs-XOPEN2K8): Likewise.
38744         ($(objpfx)symlist-stdlibs): Replace by
38745         $(linknamespace-symlist-stdlibs-tests).  Use
38746         $(linknamespace-libs-$*) as set of libraries.
38747         ($(linknamespace-header-tests)): Update dependencies.  Use
38748         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
38749         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
38750         * conform/linknamespace.pl: Remove comment about considering
38751         definitions of symbols from irrelevant libraries.
38753 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
38755         [BZ #13862]
38756         * elf/dl-tls.c: Include <atomic.h>.
38757         (oom): Remove #ifdef SHARED/#endif.
38758         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
38759         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
38760         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
38761         big enough.
38762         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
38763         * nptl/Makefile (tests): Add tst-stack4.
38764         (modules-names): Add tst-stack4mod.
38765         ($(objpfx)tst-stack4): New.
38766         (tst-stack4mod.sos): Likewise.
38767         ($(objpfx)tst-stack4.out): Likewise.
38768         ($(tst-stack4mod.sos)): Likewise.
38769         (clean): Likewise.
38770         * nptl/tst-stack4.c: New file.
38771         * nptl/tst-stack4mod.c: Likewise.
38773 2014-11-27  J. Brown  <jb999@gmx.de>
38775         * sysdeps/x86/bits/string.h: Add recent CPUs.
38777 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38779         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
38780         sigblock.
38782         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
38783         feof.
38785         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
38786         variable.
38788 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
38790         * nscd/connections.c: Include libc-internal.h because of macro
38791         usage ignore_value.
38793 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38795         * string/bits/string3.h (__warn_memset_zero_len): Don't
38796         declare for gcc newer than 5.0.
38797         (memset): Don't test for zero-length __LEN for gcc newer than
38798         5.0.
38800 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
38802         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
38803         size_t for %zu format.
38805         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
38806         difference, not %ju.
38808 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38810         * include/libc-internal.h (ignore_value): New macro.
38811         * nscd/connections.c (restart): Wrap calls to setuid and setgid
38812         with ignore_value.
38814         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
38815         definition.
38817         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
38818         pthread_cleanup_push to void *.
38820         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
38821         Undefine.
38823         [BZ #16619]
38824         [BZ #16740]
38825         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
38826         instead of 1L << 52.
38828         * libio/bug-rewind.c (do_test): Check fwscanf return values.
38829         * libio/bug-rewind2.c (do_test): Likewise.
38831         * debug/test-stpcpy_chk-ifunc.c: Remove file.
38832         * debug/test-strcpy_chk-ifunc.c: Likewise.
38833         * wcsmbs/test-wcschr-ifunc.c: Likewise.
38834         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38835         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38836         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38837         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38838         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38839         * Rules [$(multi-arch) = no] (tests): Do not filter out
38840         $(tests-ifunc).
38841         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
38842         * debug/Makefile (tests-ifunc): Remove variable.
38843         (tests): Do not add $(tests-ifunc).
38844         * wcsmbs/Makefile (tests-ifunc): Remove variable.
38845         (tests): Do not add $(tests-ifunc).
38846         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
38847         [TEST_IFUNC]: Remove conditionals.
38848         * string/test-string.h (TEST_IFUNC): Remove macro.
38849         [TEST_IFUNC]: Remove conditionals.
38851         * string/test-strchr.c [!WIDE] (L): New macro.
38852         [WIDE] (L): Likewise.
38853         (check1): Use CHAR instead of char.  Use L on string and character
38854         constants.
38856 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
38858         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
38859         tests.
38860         * sysdeps/powerpc/bits/atomic.h
38861         (__arch_atomic_exchange_and_add_32_acq): Add definition.
38862         (__arch_atomic_exchange_and_add_32_rel): Likewise.
38863         (atomic_exchange_and_add_acq): Likewise.
38864         (atomic_exchange_and_add_rel): Likewise.
38865         * sysdeps/powerpc/powerpc32/bits/atomic.h
38866         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38867         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38868         * sysdeps/powerpc/powerpc64/bits/atomic.h
38869         (__arch_atomic_exchange_and_add_64_acq): Add definition.
38870         (__arch_atomic_exchange_and_add_64_rel): Likewise.
38872 2014-11-26  Torvald Riegel  <triegel@redhat.com>
38874         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
38875         Change synchronization of __sched_fifo_min_prio and
38876         __sched_fifo_max_prio.
38877         * nptl/pthread_mutexattr_getprioceiling.c
38878         (pthread_mutexattr_getprioceiling): Likewise.
38879         * nptl/pthread_mutexattr_setprioceiling.c
38880         (pthread_mutexattr_setprioceiling): Likewise.
38881         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
38882         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
38883         Likewise.
38885 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
38887         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
38888         void.
38890 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38892         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
38893         third argument const.
38895 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
38897         fnmatch: work around GCC compiler warning bug with uninit var
38898         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
38899         This works around a bug with x86-64 GCC 4.9.2 and earlier
38900         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
38901         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
38902         used uninitialized in this function [-Wmaybe-uninitialized]".
38904 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
38906         * posix/bug-regex31.c (main): Return RES not 0.
38908 2014-11-25  Anton Blanchard <anton@samba.org>
38910         * sysdeps/powerpc/bits/atomic.h
38911         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
38913 2014-11-24  Sterling Augustine  <saugustine@google.com>
38915         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
38917 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
38919         [BZ #17608]
38920         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
38922 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
38924         [BZ #17633]
38925         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
38926         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
38927         variable.
38928         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38929         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38931 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38933         * string/strncpy.c (strncpy): Improve performance by using memset.
38935 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
38937         * string/strcpy.c (strcpy):
38938         Improve performance by using strlen and memcpy.
38940 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
38942         * string/strcoll_l.c (get_next_seq): __always_inline.
38943         * string/strcoll_l.c (do_compare): __always_inline.
38945 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38947         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
38948         defined.
38949         * include/mqueue.h: Likewise.
38950         * include/stdlib.h: Likewise.
38952         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
38953         (get_null_defines): Adjust.
38954         * sunrpc/Makefile: Adjust comment.
38955         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
38956         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
38957         (CFLAGS-interp.c): Likewise.
38958         (CFLAGS-ldconfig.c): Likewise.
38959         (CPPFLAGS-.os): Likewise.
38960         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38961         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38962         * extra-modules.mk (extra-modules.mk): Likewise.
38963         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
38964         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
38965         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
38966         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
38967         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
38968         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
38969         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
38970         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
38971         * iconvdata/Makefile (CPPFLAGS): Likewise.
38972         (cpp-srcs-left): Add libof for all iconvdata routines.
38973         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
38974         * include/assert.h: Likewise.
38975         * include/ctype.h: Likewise.
38976         * include/errno.h: Likewise.
38977         * include/libc-symbols.h: Likewise.
38978         * include/math.h: Likewise.
38979         * include/netdb.h: Likewise.
38980         * include/resolv.h: Likewise.
38981         * include/stdio.h: Likewise.
38982         * include/stdlib.h: Likewise.
38983         * include/string.h: Likewise.
38984         * include/sys/stat.h: Likewise.
38985         * include/wctype.h: Likewise.
38986         * intl/l10nflist.c: Likewise.
38987         * libidn/idn-stub.c: Likewise.
38988         * libio/libioP.h: Likewise.
38989         * nptl/libc_multiple_threads.c: Likewise.
38990         * nptl/pthreadP.h: Likewise.
38991         * posix/regex_internal.h: Likewise.
38992         * resolv/res_hconf.c: Likewise.
38993         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
38994         * sysdeps/arm/memmove.S: Likewise.
38995         * sysdeps/arm/sysdep.h: Likewise.
38996         * sysdeps/generic/_itoa.h: Likewise.
38997         * sysdeps/generic/symbol-hacks.h: Likewise.
38998         * sysdeps/gnu/errlist.awk: Likewise.
38999         * sysdeps/gnu/errlist.c: Likewise.
39000         * sysdeps/i386/i586/memcpy.S: Likewise.
39001         * sysdeps/i386/i586/memset.S: Likewise.
39002         * sysdeps/i386/i686/memcpy.S: Likewise.
39003         * sysdeps/i386/i686/memmove.S: Likewise.
39004         * sysdeps/i386/i686/mempcpy.S: Likewise.
39005         * sysdeps/i386/i686/memset.S: Likewise.
39006         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39007         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39008         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39009         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39010         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39011         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39012         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39013         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39014         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39015         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39016         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39017         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39018         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39019         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39020         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39021         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39022         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39023         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39024         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39025         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39026         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39027         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39028         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39029         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39030         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39031         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39032         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39033         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39034         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39043         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39044         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39045         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39046         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39047         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
39053         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
39058         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
39059         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39060         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39061         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
39062         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39063         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
39064         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
39065         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39066         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39067         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39068         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
39069         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39070         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39071         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
39072         * sysdeps/posix/closedir.c: Likewise.
39073         * sysdeps/posix/opendir.c: Likewise.
39074         * sysdeps/posix/readdir.c: Likewise.
39075         * sysdeps/posix/rewinddir.c: Likewise.
39076         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
39077         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
39078         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39079         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39080         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39081         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
39082         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
39083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
39084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
39085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
39086         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
39087         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
39088         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
39089         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
39090         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
39091         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
39092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
39093         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
39094         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
39095         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
39096         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
39097         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
39098         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
39099         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
39100         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
39101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
39102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
39103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
39104         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
39105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
39106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
39107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
39108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
39109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
39110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
39111         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
39112         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39113         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39114         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
39115         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
39116         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
39117         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
39118         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
39119         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
39120         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
39121         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
39122         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
39123         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
39124         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
39125         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
39126         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
39127         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
39128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
39129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
39130         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
39131         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
39132         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
39133         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
39134         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
39135         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
39136         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
39137         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
39138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
39139         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
39140         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
39141         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
39142         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
39143         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
39144         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
39145         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
39146         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
39147         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
39148         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
39149         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
39150         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
39151         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
39152         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
39153         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
39154         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39155         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
39156         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
39157         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39158         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
39159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
39160         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39161         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
39162         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
39163         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39164         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39165         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39166         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
39167         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
39168         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
39169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39171         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
39172         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39174         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
39175         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
39176         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39177         * sysdeps/unix/alpha/sysdep.S: Likewise.
39178         * sysdeps/unix/alpha/sysdep.h: Likewise.
39179         * sysdeps/unix/make-syscalls.sh: Likewise.
39180         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39181         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39182         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39183         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
39184         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39185         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
39186         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
39187         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39188         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39189         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
39190         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39191         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39192         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39193         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39194         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39195         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39196         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39197         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39198         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39199         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39200         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
39201         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39202         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39203         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39204         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39205         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39209         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
39210         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39214         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39218         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39219         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39220         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39221         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39222         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39223         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39224         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39227         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39230         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39231         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39232         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39233         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
39235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39236         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39238         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
39239         * sysdeps/x86_64/memcpy.S: Likewise.
39240         * sysdeps/x86_64/memmove.c: Likewise.
39241         * sysdeps/x86_64/memset.S: Likewise.
39242         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
39243         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39244         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39245         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
39246         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
39247         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39249         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39250         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39251         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39252         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39253         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39254         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
39255         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39257         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
39258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39259         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39260         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39261         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39262         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
39263         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39264         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39266         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39267         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39268         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39269         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
39270         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39271         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39272         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
39273         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39274         * sysdeps/x86_64/strcmp.S: Likewise.
39276         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
39278         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
39279         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
39280         * elf/rtld-Rules: Likewise.
39281         * elf/setup-vdso.h: Likewise.
39282         * include/assert.h: Likewise.
39283         * include/bits/stdlib-float.h: Likewise.
39284         * include/errno.h: Likewise.
39285         * include/sys/stat.h: Likewise.
39286         * include/unistd.h: Likewise.
39287         * sysdeps/aarch64/setjmp.S: Likewise.
39288         * sysdeps/alpha/setjmp.S: Likewise.
39289         * sysdeps/arm/__longjmp.S: Likewise.
39290         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
39291         * sysdeps/arm/setjmp.S: Likewise.
39292         * sysdeps/arm/sysdep.h: Likewise.
39293         * sysdeps/generic/_itoa.h: Likewise.
39294         * sysdeps/generic/dl-sysdep.h: Likewise.
39295         * sysdeps/generic/ldsodefs.h: Likewise.
39296         * sysdeps/i386/dl-tls.h: Likewise.
39297         * sysdeps/i386/setjmp.S: Likewise.
39298         * sysdeps/m68k/setjmp.c: Likewise.
39299         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
39300         * sysdeps/mach/hurd/opendir.c: Likewise.
39301         * sysdeps/posix/getcwd.c: Likewise.
39302         * sysdeps/posix/opendir.c: Likewise.
39303         * sysdeps/posix/profil.c: Likewise.
39304         * sysdeps/powerpc/dl-procinfo.h: Likewise.
39305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39306         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39307         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39308         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
39310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39311         * sysdeps/s390/dl-tls.h: Likewise.
39312         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39313         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39314         * sysdeps/sh/sh3/setjmp.S: Likewise.
39315         * sysdeps/sh/sh4/setjmp.S: Likewise.
39316         * sysdeps/unix/alpha/sysdep.h: Likewise.
39317         * sysdeps/unix/arm/sysdep.S: Likewise.
39318         * sysdeps/unix/i386/sysdep.S: Likewise.
39319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39320         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39321         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39324         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
39325         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39326         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39327         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
39328         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
39329         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
39330         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39334         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39335         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39336         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39338         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39339         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39342         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39343         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39344         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39346         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39347         * sysdeps/x86_64/setjmp.S: Likewise.
39349         * include/math.h: Use IS_IN instead of IS_IN_libm.
39350         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
39351         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39352         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39353         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
39354         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39355         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39356         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39357         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39358         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39359         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39360         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
39361         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
39362         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
39363         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
39364         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
39365         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
39366         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
39367         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
39368         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
39370         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
39371         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
39372         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
39373         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
39374         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
39375         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
39376         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
39377         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
39378         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
39379         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
39380         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
39381         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39382         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
39384         Likewise.
39385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
39386         Likewise.
39387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
39388         Likewise.
39389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
39390         Likewise.
39391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
39392         Likewise.
39393         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39394         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
39395         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39396         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39398         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
39400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
39401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
39402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
39403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
39404         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
39405         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
39406         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39407         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39408         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39409         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39410         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39411         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39412         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39413         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
39414         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
39415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
39416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
39417         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
39418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39419         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
39421         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
39422         * nptl/pthreadP.h: Likewise.
39423         * nptl_db/structs.def: Likewise.
39424         * sysdeps/arm/sysdep.h: Likewise.
39425         * sysdeps/nptl/bits/libc-lock.h: Likewise.
39426         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
39427         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
39428         * sysdeps/unix/alpha/sysdep.h: Likewise.
39429         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39431         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39432         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39433         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39434         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39436         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39437         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39438         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39439         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39440         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39441         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39442         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
39445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39447         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39450         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39451         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39452         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39453         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
39454         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39456         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
39457         * nptl/pthreadP.h: Likewise.
39458         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
39459         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
39460         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
39461         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
39462         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
39463         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
39464         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39465         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
39466         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
39467         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
39468         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
39469         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
39470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39471         Likewise.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39473         Likewise.
39474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
39475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
39476         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
39477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
39478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
39479         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
39480         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
39481         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
39483         * dlfcn/dladdr.c: Use IS_IN.
39484         * dlfcn/dladdr1.c: Likewise.
39485         * dlfcn/dlclose.c: Likewise.
39486         * dlfcn/dlerror.c: Likewise.
39487         * dlfcn/dlinfo.c: Likewise.
39488         * dlfcn/dlmopen.c: Likewise.
39489         * dlfcn/dlopen.c: Likewise.
39490         * dlfcn/dlsym.c: Likewise.
39491         * dlfcn/dlvsym.c: Likewise.
39493         * include/ifaddrs.h: Use IS_IN.
39494         * inet/check_pf.c: Likewise.
39495         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39496         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
39498         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
39499         IS_IN_ldconfig.
39500         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
39501         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
39503         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
39504         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
39505         IS_IN (libc).
39507         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
39509         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
39510         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39511         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39512         * include/libc-symbols.h (IS_IN_LIB): New macro.
39513         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
39514         * include/netdb.h: Likewise.
39515         * include/stap-probe.h: Remove all uses of IN_LIB.
39517         * Makeconfig (module-cppflags-real): Define MODULE_NAME
39518         instead of IN_MODULE.
39519         * include/libc-symbols.h (IN_MODULE): Define using
39520         MODULE_NAME.
39521         (PASTE_NAME, PASTE_NAME1): New macros.
39522         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
39523         of IN_LIB.
39524         (STAP_PROBE_ASM): Likewise.
39526 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39528         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39529         __mach_init in dlopened libc.
39531 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
39533         * sysdeps/arm/preconfigure.ac: Delete EABI check.
39534         * sysdeps/arm/preconfigure: Regenerate.
39536 2014-11-21  Roland McGrath  <roland@hack.frob.com>
39538         * nptl/pthread_create.c (__pthread_create_2_1): Set
39539         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
39540         when copying values from IATTR into PD.
39542 2014-11-21  Will Newton  <will.newton@linaro.org>
39543             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
39545         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
39546         Refactor inline-asm.  Also add comment.
39548         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
39549         ElfW macro instead of hardcoded Elf64 types.
39550         (la_aarch64_gnu_pltenter): Likewise.
39551         * sysdeps/aarch64/dl-machine.h
39552         (elf_machine_runtime_setup): Use ElfW(Addr).
39554         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
39555         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
39556         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
39557         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
39558         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
39559         (R_AARCH64_TLS_DTPMOD64): Rename to ..
39560         (R_AARCH64_TLS_DTPMOD): This.
39561         (R_AARCH64_TLS_DTPREL64): Rename to ...
39562         (R_AARCH64_TLS_DTPREL): This.
39563         (R_AARCH64_TLS_TPREL64): Rename to ...
39564         (R_AARCH64_TLS_TPREL): This.
39565         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
39566         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
39567         R_AARCH64_TLS_TPREL64.
39568         (elf_machine_rela): Likewise.
39570 2014-11-21  Torvald Riegel  <triegel@redhat.com>
39572         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
39573         by setting it to 0.  64b atomics are not supported currently.
39575 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39577         [BZ #16469]
39578         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
39579         search domain names.
39581 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39583         [BZ #16469]
39584         * NEWS: Update.
39585         * resolv/res_query.c (__libc_res_nquerydomain): Retain
39586         trailing dot.
39587         * posix/tst-getaddrinfo5.c: New.
39588         * posix/Makefile (tests): Add it.
39590 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39592         [BZ #14498]
39593         * NEWS: Fixed.
39594         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
39595         after parsing line but before break_if_match.
39596         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
39597         if there is a protocol mismatch.
39599 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
39601         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
39602         because the potential race is on the user-supplied stream.
39604 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39606         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
39607         string literal if not passed a buffer.
39608         * manual/job.texi (ctermid): Update reasoning, note deviation
39609         from posix, suggest mtasurace when not passed a buffer, for
39610         future non-preliminary safety notes.
39612 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39614         * manual/users.texi (cuserid): Fix MT-Safety note for the case
39615         of not passing it a buffer.
39616         Reported by Peng Haitao.
39618 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
39620         * manual/Makefile ($(objpfx)stamp-summary): Require
39621         check-safety.sh to pass.
39622         * manual/check-safety.sh: Wish for verification that every
39623         @deftypefn and @deftypefun is followed by a @safety remark.
39625 2014-11-20  Roland McGrath  <roland@hack.frob.com>
39627         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39629         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
39630         PTHREAD_CANCEL_ASYNCHRONOUS.
39631         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
39632         send SIGCANCEL.
39634         * nptl/default-sched.h: New file.
39635         * sysdeps/unix/sysv/linux/default-sched.h: New file.
39636         * nptl/pthread_create.c: Include it.
39637         (__pthread_create_2_1): Use collect_default_sched instead of making
39638         Linux syscalls here directly.
39640 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39642         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
39643         __pthread_once): Use C11 atomics.
39645 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39647         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
39649 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39651         * include/atomic.h (__atomic_link_error, __atomic_check_size,
39652         atomic_thread_fence_acquire, atomic_thread_fence_release,
39653         atomic_thread_fence_seq_cst, atomic_load_relaxed,
39654         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
39655         atomic_compare_exchange_weak_relaxed,
39656         atomic_compare_exchange_weak_acquire,
39657         atomic_compare_exchange_weak_release,
39658         atomic_exchange_acquire, atomic_exchange_release,
39659         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
39660         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
39661         atomic_fetch_and_acquire,
39662         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
39664 2014-11-20  Torvald Riegel  <triegel@redhat.com>
39666         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
39667         USE_ATOMIC_COMPILER_BUILTINS): Define.
39668         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
39669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39670         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
39671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39672         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
39673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39674         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
39675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39676         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
39677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39678         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
39679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39680         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
39681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39682         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
39683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39684         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39686         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39688         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
39689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39690         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
39691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39692         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
39693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39694         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39696         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
39697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39698         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
39699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39700         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
39701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39702         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39703         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39704         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
39705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39706         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
39707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39709 2014-11-19  Roland McGrath  <roland@hack.frob.com>
39711         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
39712         the sched_priority value here.  It was already checked when the user
39713         called pthread_attr_setschedparam.
39715         * nptl/tst-bad-schedattr.c: New file.
39716         * nptl/Makefile (tests): Add it.
39718 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
39719             Florian Weimer  <fweimer@redhat.com>
39720             Joseph Myers  <joseph@codesourcery.com>
39721             Adam Conrad  <adconrad@0c3.net>
39722             Andreas Schwab  <schwab@suse.de>
39723             Brooks  <bmoses@google.com>
39725         [BZ #17625]
39726         * wordexp-test.c (__dso_handle): Add prototype.
39727         (__register_atfork): Likewise.
39728         (__app_register_atfork): New function.
39729         (registered_forks): New global.
39730         (register_fork): New function.
39731         (test_case): Add 3 new tests for WRDE_CMDSUB.
39732         (main): Call __app_register_atfork.
39733         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
39734         fork count is non-zero fail the test.
39735         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
39736         is set.
39737         (parse_dollars): Remove check for WRDE_NOCMD.
39738         (parse_dquote): Likewise.
39740 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39742         * Makeconfig (built-modules): List non-library modules to be
39743         built.
39744         (module-cppflags): Include libc-modules.h for
39745         everything except shlib-versions.v.i.
39746         (CPPFLAGS): Use it.
39747         (before-compile): Add libc-modules.h.
39748         ($(common-objpfx)libc-modules.h,
39749         $(common-objpfx)libc-modules.stmp): New targets.
39750         (common-generated): Add libc-modules.h and libc-modules.stmp.
39751         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
39752         * include/libc-symbols.h: Don't include libc-modules.h.
39753         * include/libc-modules.h: Remove file.
39754         * scripts/gen-libc-modules.awk: New script to generate
39755         libc-modules.h.
39756         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
39757         Depend on libc-modules.stmp.
39759         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
39761         * Makeconfig (in-module): Get value of libof set for the
39762         translation unit.
39763         (CPPFLAGS): Use $(in-module).
39764         * Makerules: Don't suffix routine names for nonlib.
39765         * include/libc-modules.h: New file.
39766         * include/libc-symbols.h: Include libc-modules.h
39767         (IS_IN): New macro to replace IS_IN_* macros.
39768         * elf/Makefile: Set libof-* for each routine.
39769         * elf/rtld-Rules: Likewise.
39770         * extra-modules.mk: Likewise.
39771         * iconv/Makefile: Likewise.
39772         * iconvdata/Makefile: Likewise.
39773         * locale/Makefile: Likewise.
39774         * malloc/Makefile: Likewise.
39775         * nss/Makefile: Likewise.
39776         * sysdeps/gnu/Makefile: Likewise.
39777         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
39778         * sysdeps/unix/sysv/linux/Makefile: Likewise.
39779         * sysdeps/s390/s390-64/Makefile: Likewise.
39780         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
39781         CPPFLAGS for nscd instead of nonlib.
39783 2014-11-18  Roland McGrath  <roland@hack.frob.com>
39785         * nptl/createthread.c: New file.
39787         * nptl/createthread.c: Moved ...
39788         * sysdeps/unix/sysv/linux/createthread.c: ... here.
39790         * nptl/createthread.c: Add proper top-line comment.
39791         (do_clone): Folded into ...
39792         (create_thread): ... here.  Take new arguments STOPPED_START and
39793         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
39794         increment __nptl_threads, do event-reporting logic, do
39795         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
39796         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
39797         resource cleanup if sched_setaffinity or sched_setscheduler fails,
39798         just send SIGCANCEL.
39799         * nptl/pthread_create.c: Forward-declare create_thread before
39800         including createthread.c.
39801         (start_thread): Use new macro START_THREAD_DEFN to replace defining
39802         declaration, and new macro START_THREAD_SELF to replace argument.
39803         Remove return statement.
39804         (report_thread_creation): New function.
39805         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
39806         synchronization logic, and __nptl_nthreads increment here, around
39807         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
39808         PD->parent_cancelhandling here, before create_thread.  When
39809         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
39810         __deallocate_stack, and ENOMEM translation here.
39812 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
39814         [BZ #17616]
39815         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
39816         (mptwo): Rename to __mptwo.
39817         (__inv): Use __mptwo instead of mptwo.
39818         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
39819         (mptwo): Rename to __mptwo.
39820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
39821         of mpone and __mptwo instead of mptwo.
39822         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
39823         instead of mpone.
39824         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39825         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
39826         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
39827         of mpone and __mptwo instead of mptwo.
39828         (__mpranred): Use __mpone instead of mpone.
39829         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
39830         variable.
39831         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
39832         (test-xfail-ISO99/math.h/linknamespace): Likewise.
39833         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
39834         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
39835         (test-xfail-ISO11/math.h/linknamespace): Likewise.
39836         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39837         (test-xfail-XPG3/math.h/linknamespace): Likewise.
39838         (test-xfail-XPG4/math.h/linknamespace): Likewise.
39839         (test-xfail-POSIX/math.h/linknamespace): Likewise.
39840         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
39841         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
39842         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
39843         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
39844         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
39845         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
39846         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
39847         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
39848         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
39849         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
39851 2014-11-18  Tom de Vries  <tom@codesoucery.com>
39853         * manual/signal.texi (Primitives Interrupted by Signals): In section,
39854         replace BSD Handler xref with BSD Signal Handling.
39856 2014-11-17  Richard Henderson  <rth@redhat.com>
39858         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
39859         (_FP_PACK_RAW_2): Remove.
39860         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
39861         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
39862         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
39863         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
39864         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
39865         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
39866         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
39867         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
39868         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
39869         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
39870         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
39871         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
39872         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
39873         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
39874         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
39875         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
39877 2014-11-14  Roland McGrath  <roland@hack.frob.com>
39879         * signal/signal.h [__USE_MISC]
39880         (struct sigvec): Remove type.
39881         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
39882         (sigvec): Remove declaration.
39883         * sysdeps/posix/sigvec.c: Moved ...
39884         * signal/sigvec.c: ... here, replacing old file.
39885         (struct sigvec): New type, copied from old signal.h definition.
39886         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
39887         (__sigvec): Convert definition to prototype.
39888         (sigvec): Replace weak_alias with compat_symbol.
39889         * signal/Versions (libc: GLIBC_2.21): New version set.
39890         * include/signal.h: Remove __sigvec declaration.
39891         * sysdeps/unix/bsd/sigvec.c: Remove file.
39892         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
39893         * manual/signal.texi (BSD Handler): Remove subsection.
39894         Move siginterrupt up to ...
39895         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
39896         (Blocking in BSD): Fold subsection into its parent.
39897         * NEWS: Mention sigvec removal.
39899 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39901         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
39902         (DLA_FMS): Make definition conditional only on [__FMA4__].
39903         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
39904         definition.
39906         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
39907         Make definition conditional only on [PROF].
39908         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
39909         definition.
39910         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
39911         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
39913         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
39914         !__GNUC__].
39915         * include/signal.h (__sigpause): Move declaration above call to
39916         libc_hidden_proto.
39917         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
39918         variable.
39919         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
39920         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
39922 2014-11-14  David S. Miller  <davem@davemloft.net>
39924         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
39925         Define before including <string/memcpy.c> and <string/mempcpy.c>.
39927 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
39929         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
39930         * configure: Regenerated.
39931         * manual/install.texi (Tools for Compilation): Document a
39932         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
39933         compiler verified to work.
39934         * INSTALL: Regenerated.
39936         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
39937         redeclare with asm name.
39938         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
39939         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
39940         including <string.h>.
39941         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
39943         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39944         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
39945         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39946         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
39947         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39949 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
39951         * stdlib/strtol.c (__strtol): Use prototype definition.
39953         [BZ #17594]
39954         * stdlib/strtol.c (SYM__): New macro.
39955         (SYM__1): Likewise.
39956         (__strtol): Likewise.
39957         (strtol): Rename to __strtol and define as weak alias of
39958         __strtol.  Use libc_hidden_weak.
39960 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39962         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
39963         Use numbered labels in inline assembly.
39965 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39967         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
39968         Add setjmp LIBC_PROBE.
39969         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
39970         Likewise.
39971         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
39972         Add longjmp, longjmp_target LIBC_PROBE.
39973         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
39974         Likewise.
39976 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39978         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39979         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
39980         to get rid of unused variable warning.
39982 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39984         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
39985         Check for unwind_backtrace ==  NULL only in SHARED case.
39986         (__backchain_backtrace): Compile only in SHARED case.
39987         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
39988         Likewise.
39989         (__backchain_backtrace): Declare as static.
39991 2014-11-12  Roland McGrath  <roland@hack.frob.com>
39993         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
39994         (__libc_multiple_threads_ptr): Variable moved ...
39995         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
39997 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
39999         * conform/GlibcConform.pm: New file.
40000         * conform/conformtest.pl: Use GlibcConform module.
40001         * conform/linknamespace.pl: New file.
40002         * conform/list-header-symbols.pl: Likewise.
40003         * conform/Makefile (linknamespace-symlists-base): New variable.
40004         (linknamespace-symlists-tests): Likewise.
40005         (linknamespace-header-base): Likewise.
40006         (linknamespace-header-tests): Likewise.
40007         (tests-special): Add new tests.
40008         ($(linknamespace-symlists-tests)): New rule.
40009         (linknamespace-libs): New variable.
40010         ($(objpfx)symlist-stdlibs): New rule.
40011         ($(linknamespace-header-tests)): Likewise.
40012         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40013         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40014         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40015         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40016         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40017         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40018         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40019         (test-xfail-ISO/math.h/linknamespace): Likewise.
40020         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40021         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40022         (test-xfail-ISO/time.h/linknamespace): Likewise.
40023         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40024         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40025         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40026         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40027         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40028         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40029         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40030         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40031         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40032         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40033         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40034         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40035         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40036         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40037         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40038         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40039         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40040         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40041         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40042         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40043         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40044         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40045         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40046         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40047         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40048         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40049         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
40050         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
40051         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40052         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
40053         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40054         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
40055         (test-xfail-XPG4/search.h/linknamespace): Likewise.
40056         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
40057         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
40058         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
40059         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
40060         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
40061         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40062         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
40063         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
40064         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
40065         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
40066         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
40067         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40068         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
40069         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
40070         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
40071         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40072         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
40073         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40074         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40075         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
40076         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
40077         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40078         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40079         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
40080         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
40081         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
40082         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40083         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40084         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40085         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
40086         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
40087         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40088         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40089         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
40090         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40091         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
40092         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
40093         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
40094         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
40095         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40096         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40097         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
40098         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40099         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
40100         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
40101         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
40102         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
40103         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40104         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
40105         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
40106         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
40107         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
40108         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
40109         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40110         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40111         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40112         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
40113         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
40114         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
40115         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40116         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
40117         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
40118         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40119         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
40120         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
40121         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
40122         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40123         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40124         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
40125         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
40126         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40127         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40128         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
40129         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
40130         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
40131         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
40132         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40133         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40134         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
40135         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40136         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
40137         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40138         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40139         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40140         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
40141         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40142         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
40143         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
40144         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
40145         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40146         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40147         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40148         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40149         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
40150         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40151         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40152         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
40153         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40154         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
40155         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
40156         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40157         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40158         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40159         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40160         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
40161         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40162         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
40163         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
40164         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
40165         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40166         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
40167         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40168         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40169         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
40170         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40171         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40172         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
40174         [BZ #17589]
40175         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
40176         of fgets_unlocked.
40178         [BZ #17585]
40179         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
40180         (memmem): Rename to __memmem and define as weak alias of
40181         __memmem.  Use libc_hidden_weak.
40182         (__memmem): Use libc_hidden_def.
40183         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
40184         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
40185         memmem.
40187         [BZ #17582]
40188         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
40189         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
40190         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
40191         and define as weak alias of __fgets_unlocked.  Use
40192         libc_hidden_weak.
40193         (__fgets_unlocked): Use libc_hidden_def.
40194         * include/stdio.h (__fgets_unlocked): Declare.  Use
40195         libc_hidden_proto.
40196         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
40197         __fgets_unlocked instead of fgets_unlocked.
40198         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
40199         (GET_NPROCS_CONF_PARSER): Likewise.
40200         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
40201         (GET_NPROCS_CONF_PARSER): Likewise.
40203         [BZ #17574]
40204         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
40205         weak alias of __wmemset.  Use libc_hidden_weak.
40206         (__wmemset): Use libc_hidden_def.
40207         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
40208         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
40209         of wmemset.
40211         [BZ #17573]
40212         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
40213         with asm name __mempcpy.
40214         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
40216         [BZ #17572]
40217         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
40218         and define as weak alias of __rawmemchr.
40219         (__rawmemchr): Do not define as strong alias of rawmemchr.
40221         [BZ #17571]
40222         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
40223         alias of __qsort_r.
40224         (qsort): Call __qsort_r instead of qsort_r.
40225         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
40226         (__qsort_r): Declare.  Call libc_hidden_proto.
40227         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
40228         instead of qsort_r.
40229         * nscd/gai.c (__qsort_r): Define to qsort_r.
40230         * posix/tst-rfc3484.c (__qsort_r): Likewise.
40231         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
40232         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
40234         [BZ #17570]
40235         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
40236         define as weak alias of __malloc_info.
40238         [BZ #17584]
40239         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
40240         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40241         (__rewinddir): Use libc_hidden_def.
40242         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
40243         as weak alias of __rewinddir.  Don't use libc_hidden_def.
40244         (__rewinddir): Use libc_hidden_def.
40245         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
40246         weak alias of __rewinddir.  Don't use libc_hidden_def.
40247         (__rewinddir): Use libc_hidden_def.
40248         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
40249         (__rewinddir): Use libc_hidden_proto.
40250         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
40251         rewinddir.
40252         (__getcwd): Use __rewinddir instead of rewinddir.
40254         [BZ #17583]
40255         * libio/fileno.c (fileno): Rename to __fileno and define as weak
40256         alias of __fileno.  Use libc_hidden_weak.
40257         (__fileno): Use libc_hidden_def.
40258         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
40259         * libio/ftello.c (ftello): Rename to __ftello and define as weak
40260         alias of __ftello.
40261         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
40262         __ftello.
40263         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
40264         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
40265         libc_hidden_def.
40266         (fread_unlocked): Don't use libc_hidden_ver.
40267         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
40268         and define as weak alias of __fread_unlocked.  Don't use
40269         libc_hidden_def.
40270         (__fread_unlocked): Use libc_hidden_def.
40271         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
40272         (ftello): Don't use libc_hidden_proto.
40273         (__ftello): Declare.  Use libc_hidden_proto.
40274         (fread_unlocked): Don't use libc_hidden_proto.
40275         (__fread_unlocked): Declare.  Use libc_hidden_proto.
40276         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
40277         and __ftello instead of fileno, fread_unlocked and ftello.
40279 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40281         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
40282         GOT12.
40283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40284         Likewise.
40285         (_dl_start_user): Likewise.
40286         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
40288 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
40289             Siddhesh Poyarekar  <siddhesh@redhat.com>
40291         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
40292         Move argv and envp down instead of moving argc up.
40293         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
40295 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
40297         [BZ #17506]
40298         * test-skeleton.c (main): Return successful if one of
40299         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
40300         * string/tst-strcoll-overflow.c: Define expected status.
40302 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
40304         [BZ #17475]
40305         * locale/iso-639.def: Define Bhili and Tulu language codes.
40307 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
40309         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
40311 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
40313         [BZ #17555]
40314         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
40316 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40318         * configure.ac: Updated check of minimal required version to
40319         2.22.
40320         * manual/install.texi (Tools for Compilation): Updated version
40321         number.
40322         * configure: Regenerated.
40323         * INSTALL: Likewise.
40325 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
40327         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
40328         __tls_get_addr.
40330 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
40332         * include/sys/wait.h (__libc_waitpid): Remove declaration.
40333         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
40334         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40335         libc_hidden_weak.
40336         (waitpid): Define as alias of __waitpid.
40337         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
40338         __waitpid.
40339         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40340         libc_hidden_weak.
40341         (waitpid): Define as alias of __waitpid.
40342         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
40343         __libc_waitpid alias.
40344         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
40345         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
40346         Likewise.
40347         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
40348         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
40349         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
40350         alias.
40351         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
40352         __waitpid.
40353         (__waitpid): Don't define as alias.  Use libc_hidden_def not
40354         libc_hidden_weak.
40355         (waitpid): Define as alias of __waitpid.
40357 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
40359         * manual/llio.texi: Add comment that write safety has been
40360         fixed in Linux.
40362         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
40363         (localplt-build-dso): Add elf/ld.so.
40364         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
40365         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
40366         and free for ld.so.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
40368         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
40370         Likewise.
40371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40372         Likewise.
40373         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
40374         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
40375         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
40376         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
40377         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
40378         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
40379         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
40380         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
40381         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
40382         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
40383         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
40385 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
40387         [BZ #14132]
40388         * include/libc-symbols.h (INTUSE): Remove macro.
40389         (INTDEF): Likewise.
40390         (INTVARDEF): Likewise.
40391         (_INTVARDEF): Likewise.
40392         (INTDEF2): Likewise.
40393         (INTVARDEF2): Likewise.
40394         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
40395         rtld_hidden_def instead of INTVARDEF.
40396         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
40397         (_dl_starting_up_internal): Remove declaration.
40398         (_dl_starting_up): Use rtld_hidden_proto.
40399         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
40400         declaration.
40401         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
40402         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
40403         _dl_starting_up.
40404         * elf/dl-writev.h (_dl_writev): Likewise.
40405         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
40406         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
40407         _dl_starting_up_internal.
40409 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40411         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
40412         test-skeleton.c.
40414 2014-11-05  Will Newton  <will.newton@linaro.org>
40416         * benchtests/Makefile: (bench-malloc): Add malloc thread
40417         scalability benchmark.
40418         * benchtests/bench-malloc-threads.c: New file.
40420 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
40422         * sysdeps/aarch64/strchrnul.S: New file.
40424 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40426         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
40427         definition.
40428         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40429         Likewise.
40430         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40431         Likewise.
40432         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40433         Likewise.
40434         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40435         Likewise.
40436         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40437         Likewise.
40439 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
40441         * catgets/test-gencat.c: Use test-skeleton.c.
40442         * catgets/tst-catgets.c: Likewise.
40443         * csu/tst-empty.c: Likewise.
40444         * elf/tst-audit2.c: Likewise.
40445         * elf/tst-global1.c: Likewise.
40446         * elf/tst-pathopt.c: Likewise.
40447         * elf/tst-piemod1.c: Likewise.
40448         * elf/tst-tls10.c: Likewise.
40449         * elf/tst-tls11.c: Likewise.
40450         * elf/tst-tls12.c: Likewise.
40451         * gnulib/tst-gcc.c: Likewise.
40452         * iconvdata/tst-e2big.c: Likewise.
40453         * iconvdata/tst-loading.c: Likewise.
40454         * iconv/tst-iconv1.c: Likewise.
40455         * iconv/tst-iconv2.c: Likewise.
40456         * inet/test-inet6_opt.c: Likewise.
40457         * inet/tst-gethnm.c: Likewise.
40458         * inet/tst-network.c: Likewise.
40459         * inet/tst-ntoa.c: Likewise.
40460         * intl/tst-codeset.c: Likewise.
40461         * intl/tst-gettext2.c: Likewise.
40462         * intl/tst-gettext3.c: Likewise.
40463         * intl/tst-ngettext.c: Likewise.
40464         * intl/tst-translit.c: Likewise.
40465         * io/test-stat.c: Likewise.
40466         * libio/test-fmemopen.c: Likewise.
40467         * libio/tst-freopen.c: Likewise.
40468         * libio/tst-sscanf.c: Likewise.
40469         * libio/tst-ungetwc1.c: Likewise.
40470         * libio/tst-ungetwc2.c: Likewise.
40471         * libio/tst-widetext.c: Likewise.
40472         * localedata/tst-ctype.c: Likewise.
40473         * localedata/tst-digits.c: Likewise.
40474         * localedata/tst-leaks.c: Likewise.
40475         * localedata/tst-mbswcs1.c: Likewise.
40476         * localedata/tst-mbswcs2.c: Likewise.
40477         * localedata/tst-mbswcs3.c: Likewise.
40478         * localedata/tst-mbswcs4.c: Likewise.
40479         * localedata/tst-mbswcs5.c: Likewise.
40480         * localedata/tst-setlocale.c: Likewise.
40481         * localedata/tst-trans.c: Likewise.
40482         * localedata/tst-wctype.c: Likewise.
40483         * localedata/tst-xlocale1.c: Likewise.
40484         * login/tst-grantpt.c: Likewise.
40485         * malloc/tst-calloc.c: Likewise.
40486         * malloc/tst-malloc.c: Likewise.
40487         * malloc/tst-mallocstate.c: Likewise.
40488         * malloc/tst-mcheck.c: Likewise.
40489         * malloc/tst-mtrace.c: Likewise.
40490         * malloc/tst-obstack.c: Likewise.
40491         * math/atest-exp2.c: Likewise.
40492         * math/atest-exp.c: Likewise.
40493         * math/atest-sincos.c: Likewise.
40494         * math/test-matherr.c: Likewise.
40495         * math/test-misc.c: Likewise.
40496         * math/test-powl.c: Likewise.
40497         * math/tst-definitions.c: Likewise.
40498         * misc/tst-dirname.c: Likewise.
40499         * misc/tst-efgcvt.c: Likewise.
40500         * misc/tst-fdset.c: Likewise.
40501         * misc/tst-hsearch.c: Likewise.
40502         * misc/tst-mntent2.c: Likewise.
40503         * nptl/tst-sem7.c: Likewise.
40504         * nptl/tst-sem8.c: Likewise.
40505         * nptl/tst-sem9.c: Likewise.
40506         * nss/test-netdb.c: Likewise.
40507         * posix/tst-fnmatch.c: Likewise.
40508         * posix/tst-getlogin.c: Likewise.
40509         * posix/tst-gnuglob.c: Likewise.
40510         * posix/tst-mmap.c: Likewise.
40511         * pwd/tst-getpw.c: Likewise.
40512         * resolv/tst-inet_ntop.c: Likewise.
40513         * rt/tst-timer.c: Likewise.
40514         * stdio-common/test-fseek.c: Likewise.
40515         * stdio-common/test-popen.c: Likewise.
40516         * stdio-common/test-vfprintf.c: Likewise.
40517         * stdio-common/tst-cookie.c: Likewise.
40518         * stdio-common/tst-fileno.c: Likewise.
40519         * stdio-common/tst-gets.c: Likewise.
40520         * stdio-common/tst-obprintf.c: Likewise.
40521         * stdio-common/tst-perror.c: Likewise.
40522         * stdio-common/tst-sprintf2.c: Likewise.
40523         * stdio-common/tst-sprintf3.c: Likewise.
40524         * stdio-common/tst-sprintf.c: Likewise.
40525         * stdio-common/tst-swprintf.c: Likewise.
40526         * stdio-common/tst-tmpnam.c: Likewise.
40527         * stdio-common/tst-unbputc.c: Likewise.
40528         * stdio-common/tst-wc-printf.c: Likewise.
40529         * stdlib/tst-environ.c: Likewise.
40530         * stdlib/tst-fmtmsg.c: Likewise.
40531         * stdlib/tst-limits.c: Likewise.
40532         * stdlib/tst-rand48-2.c: Likewise.
40533         * stdlib/tst-rand48.c: Likewise.
40534         * stdlib/tst-random2.c: Likewise.
40535         * stdlib/tst-random.c: Likewise.
40536         * stdlib/tst-strtol.c: Likewise.
40537         * stdlib/tst-strtoll.c: Likewise.
40538         * stdlib/tst-tls-atexit.c: Likewise.
40539         * stdlib/tst-xpg-basename.c: Likewise.
40540         * string/test-ffs.c: Likewise.
40541         * string/tst-bswap.c: Likewise.
40542         * string/tst-inlcall.c: Likewise.
40543         * string/tst-strtok.c: Likewise.
40544         * string/tst-strxfrm.c: Likewise.
40545         * sysdeps/x86_64/tst-audit10.c: Likewise.
40546         * sysdeps/x86_64/tst-audit3.c: Likewise.
40547         * sysdeps/x86_64/tst-audit4.c: Likewise.
40548         * sysdeps/x86_64/tst-audit5.c: Likewise.
40549         * time/tst-ftime_l.c: Likewise.
40550         * time/tst-getdate.c: Likewise.
40551         * time/tst-mktime3.c: Likewise.
40552         * time/tst-mktime.c: Likewise.
40553         * time/tst-posixtz.c: Likewise.
40554         * time/tst-strptime2.c: Likewise.
40555         * time/tst-strptime3.c: Likewise.
40556         * wcsmbs/tst-btowc.c: Likewise.
40557         * wcsmbs/tst-mbrtowc.c: Likewise.
40558         * wcsmbs/tst-mbsrtowcs.c: Likewise.
40559         * wcsmbs/tst-wchar-h.c: Likewise.
40560         * wcsmbs/tst-wcpncpy.c: Likewise.
40561         * wcsmbs/tst-wcrtomb.c: Likewise.
40562         * wcsmbs/tst-wcsnlen.c: Likewise.
40563         * wcsmbs/tst-wcstof.c: Likewise.
40565 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
40567         [BZ #14132]
40568         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
40569         INTDEF.
40570         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
40571         declaration.
40572         (_dl_mcount): Use rtld_hidden_proto.
40573         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
40574         _dl_mcount.
40575         * elf/rtld.c (_rtld_global_ro): Likewise.
40577         [BZ #14132]
40578         * elf/dl-init.c (_dl_init): Don't use INTDEF.
40579         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
40580         of _dl_init_internal.
40581         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
40582         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
40583         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
40584         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
40585         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
40586         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
40587         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
40588         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
40589         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
40590         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
40591         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
40592         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
40593         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40594         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40595         * sysdeps/tile/dl-start.S (_start): Likewise.
40596         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
40597         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
40599         [BZ #14132]
40600         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
40601         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
40602         (rtld_progname): Make macro definition unconditional.
40603         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
40604         INTDEF.
40605         (dlmopen_doit): Do not use INTUSE with _dl_argv.
40606         (dl_main): Likewise.
40607         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40608         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
40609         instead of _dl_argv_internal.
40610         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40611         __GI__dl_argv instead of INTUSE(_dl_argv).
40612         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
40613         __GI__dl_argv instead of _dl_argv_internal.
40615         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
40616         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
40617         macro.
40618         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
40619         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
40620         New macro.
40621         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
40622         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
40623         macro.
40624         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
40625         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
40627 2014-11-04  Andreas Schwab  <schwab@suse.de>
40629         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
40631 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40633         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
40634         mtvsrd instruction in binary form.
40636 2014-11-03  Andreas Schwab  <schwab@suse.de>
40638         [BZ #17522]
40639         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
40640         for less than MB_LEN_MAX use a local buffer of that size.
40641         * libio/tst-fputws.c: New file.
40642         * libio/Makefile (tests): Add tst-fputws.
40644 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
40646         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
40647         the size of the fpu_fr.fpu_dregs[] array.
40649 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
40651         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40652         (__nanosleep): Do not define as alias.
40653         (nanosleep): Define as alias of __nanosleep.
40654         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
40655         __libc_nanosleep name.
40657 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40659         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
40660         install.texi in comment.
40662 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40664         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
40665         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
40666         ... add here and use lwsync or sync ...
40667         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
40668         ... and add here using lwsync.
40670 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40672         * elf/dl-machine-reject-phdr.h: New file.
40673         * elf/dl-load.c: #include that.
40674         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
40675         if that returned true.
40677 2014-10-31  Roland McGrath  <roland@hack.frob.com>
40679         [BZ #17496]
40680         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
40681         gen-as-const-headers chunk.  Add a big scare comment after the last
40682         safe place to touch before-compile.
40684 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
40686         * manual/install.texi (Tools for Compilation): Update autoconf
40687         version requirements.
40688         * INSTALL: Regenerated.
40690         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
40691         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
40692         (__libc_pselect): Likewise.
40694         [BZ #14138]
40695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
40696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40700 2014-10-31  Torvald Riegel  <triegel@redhat.com>
40702         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
40703         correct barrier instruction.
40704         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
40705         Likewise.
40706         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
40707         Likewise.
40709 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40711         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
40712         after defining inlines.  Instead, just use parens to defeat macro
40713         expansion of __isctype in its declaration.
40715 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40717         * include/sys/uio.h (__libc_readv): Remove declaration.
40718         (__libc_writev): Likewise.
40719         * misc/readv.c (__libc_readv): Rename to __readv.
40720         (__readv): Do not define as alias.
40721         (readv): Define as alias of __readv.
40722         * misc/writev.c (__libc_writev): Rename to __writev.
40723         (__writev): Do not define as alias.
40724         (writev): Define as alias of __writev.
40725         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
40726         (__readv): Do not define as alias.
40727         (readv): Define unconditionally as alias of __readv.
40728         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
40729         (__writev): Do not define as alias.
40730         (writev): Define unconditionally as alias of __writev.
40731         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
40732         name.
40733         (writev): Do not define __libc_writev name.
40735 2014-10-30  Roland McGrath  <roland@hack.frob.com>
40737         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
40738         (convert_charseq): New function, broken out of ...
40739         (use_from_charmap): ... here.  Call it.
40740         (use_to_charmap): Use convert_charseq and free instead of duplicating
40741         its code with a variable-length stack struct.
40743 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
40745         * include/fcntl.h (__libc_creat): Remove declaration.
40746         * io/creat.c (__libc_creat): Rename to creat.
40747         (creat): Do not define as alias.
40748         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
40749         of creat instead of __libc_creat.
40750         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
40751         to creat.
40752         (creat): Do not define as alias.
40753         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
40754         __libc_creat.
40755         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
40756         __libc_creat name.
40757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
40758         Likewise.
40760 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
40762         * manual/llio.texi: Add comments discussing why write() may be
40763         considered MT-unsafe on Linux.
40765 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
40767         * dl-load.c (local_strdup): Remove.
40768         (expand_dynamic_string_token): Use __strdup.
40769         (decompose_rpath): Likewise.
40770         (_dl_map_object): Likewise.
40772 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
40774         [BZ #14132]
40775         * sysdeps/generic/unwind-dw2-fde.c
40776         (__register_frame_info_bases_internal): Do not declare.
40777         (__register_frame_info_table_bases_internal): Likewise.
40778         (__deregister_frame_info_bases_internal): Likewise.
40779         (__register_frame_info_bases): Declare and use hidden_proto before
40780         definition.  Use hidden_def instead of INTDEF.
40781         (__register_frame_info_table_bases): Likewise.
40782         (__deregister_frame_info_bases): Likewise.
40783         (__register_frame_info): Do not use INTUSE.
40784         (__register_frame): Likewise.
40785         (__register_frame_info_table): Likewise.
40786         (__register_frame_table): Likewise.
40787         (__deregister_frame_info): Likewise.
40788         (__deregister_frame): Likewise.
40790 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
40792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40793         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
40794         not undefine.
40795         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
40796         Likewise.
40797         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
40798         Likewise.
40800 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
40802         [BZ #14138]
40803         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
40804         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
40805         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
40806         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
40807         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
40808         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
40809         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
40810         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
40811         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
40812         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
40813         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
40814         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
40815         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
40816         syscall.
40817         (setfsuid): Likewise.
40818         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
40819         (setfsuid): Likewise.
40820         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
40821         (setfsuid): Likewise.
40822         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
40823         Likewise.
40824         (setfsuid): Likewise.
40825         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
40826         (setfsuid): Likewise.
40827         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
40828         Likewise.
40829         (setfsuid): Likewise.
40831 2014-10-27  Andreas Schwab  <schwab@suse.de>
40833         [BZ #17501]
40834         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
40835         check for Slow_SSE4_2 feature bit.
40836         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
40837         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40838         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
40839         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
40841 2014-10-24  Roland McGrath  <roland@hack.frob.com>
40843         * configure.ac: Validate compiler version with a empirical test of
40844         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
40845         $CC -v output.
40846         * configure: Regenerated.
40848         * inet/htons.c (htons): Prototypify.
40849         * inet/htonl.c (htonl): Likewise.
40851 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40853         * string/strncat.c (strncat): Improve performance by using strlen.
40855 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40857         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
40859 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40861         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
40862         Call libc_fetestexcept_aarch64.
40864 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40866         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
40867         Call libc_feholdexcept_aarch64.
40869 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40871         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
40872         Call get_rounding_mode.
40874 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40876         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40877         Simplify logic.
40879 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
40881         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
40882         Simplify logic.
40884 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
40886         [BZ #14138]
40887         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
40888         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
40889         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
40890         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
40891         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
40892         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
40893         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
40894         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
40895         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
40896         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
40897         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40898         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
40899         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
40900         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
40901         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
40902         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
40903         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
40904         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
40905         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
40906         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
40907         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
40908         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
40909         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
40910         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
40911         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
40912         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
40913         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
40914         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
40915         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
40916         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
40917         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
40918         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
40919         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
40920         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
40921         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
40922         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
40923         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
40924         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
40925         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
40926         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
40927         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
40928         syscall.
40929         (geteuid): Likewise.
40930         (getgid): Likewise.
40931         (getuid): Likewise.
40932         (getresgid): Likewise.
40933         (getresuid): Likewise.
40934         (getgroups): Likewise.
40935         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
40936         (geteuid): Likewise.
40937         (getgid): Likewise.
40938         (getuid): Likewise.
40939         (getresgid): Likewise.
40940         (getresuid): Likewise.
40941         (getgroups): Likewise.
40942         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
40943         (geteuid): Likewise.
40944         (getgid): Likewise.
40945         (getuid): Likewise.
40946         (getresgid): Likewise.
40947         (getresuid): Likewise.
40948         (getgroups): Likewise.
40949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
40950         Likewise.
40951         (geteuid): Likewise.
40952         (getgid): Likewise.
40953         (getuid): Likewise.
40954         (getresgid): Likewise.
40955         (getresuid): Likewise.
40956         (getgroups): Likewise.
40957         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
40958         (geteuid): Likewise.
40959         (getgid): Likewise.
40960         (getuid): Likewise.
40961         (getresgid): Likewise.
40962         (getresuid): Likewise.
40963         (getgroups): Likewise.
40964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
40965         Likewise.
40966         (geteuid): Likewise.
40967         (getgid): Likewise.
40968         (getuid): Likewise.
40969         (getgroups): Likewise.
40971         [BZ #14138]
40972         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
40973         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
40974         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
40975         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40976         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
40977         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
40978         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
40979         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
40980         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
40981         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
40982         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
40983         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
40984         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
40985         __chown.
40986         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
40987         (lchown): Likewise.
40988         (fchown): Likewise.
40989         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
40990         Likewise.
40991         (lchown): Likewise.
40992         (fchown): Likewise.
40993         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
40994         (lchown): Likewise.
40995         (fchown): Likewise.
40996         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
40997         Likewise.
40998         (lchown): Likewise.
40999         (fchown): Likewise.
41001 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41003         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41004         Simplify logic.
41006 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41008         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41009         Cleanup logic.
41011 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41013         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41014         Remove unused include.
41016 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41018         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41019         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41020         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41021         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41023 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41024             Helge Deller <deller@gmx.de>
41026         [BZ #17508]
41027         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41028         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41029         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41031 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41033         [BZ #14132]
41034         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41035         Remove macro definition.
41036         (__ashrdi3_v_glibc20): Likewise.
41037         (__lshrdi3_v_glibc20): Likewise.
41038         (__cmpdi2_v_glibc20): Likewise.
41039         (__ucmpdi2_v_glibc20): Likewise.
41040         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41041         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41042         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41043         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41044         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41045         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41047 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41049         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
41050         old GNU extension [0] syntax.
41051         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
41052         alloca rather than an array member with variable length.
41053         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
41054         * nscd/nscd.c (invalidate_db): New function, broken out of ...
41055         (parse_opt): ... here.  Likewise use alloca there.
41056         Validate the -i argument before checking for rootness.
41057         (send_shutdown): New function, broken out of ...
41058         (parse_opt): ... here.
41060 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41062         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
41063         macro to get at the _rt_local_ro field.
41064         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
41065         ([PIC] case) or _dl_hwcap ([!PIC] case).
41066         * sysdeps/arm/setjmp.S: Likewise.
41068         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
41069         * sysdeps/arm/configure.ac: New check to define it.
41070         * sysdeps/arm/configure: Regenerated.
41071         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
41072         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
41073         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
41074         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
41075         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
41076         Use move/movt pair instead of a load.
41077         (LDST_GLOBAL): Macro removed.
41078         (LDR_GLOBAL): New macro replaces it.
41079         (LDR_HIDDEN): New macro.
41080         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
41081         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
41083         * setjmp/tst-setjmp-static.c: New file.
41084         * setjmp/Makefile (tests): Add it.
41085         (tests-static): New variable.
41087 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
41089         [BZ #17485]
41090         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
41092 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
41094         [BZ #14132]
41095         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
41097 2014-10-21  Roland McGrath  <roland@hack.frob.com>
41099         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
41101 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41103         * io/fts.c (dirent_not_directory): New function.
41104         (fts_build): Call it.
41106 2014-10-20  Roland McGrath  <roland@hack.frob.com>
41108         * nptl/version.c (__nptl_main): Use normal __write rather than
41109         INTERNAL_SYSCALL.
41110         (banner): Update copyright years.
41112         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
41113         gettimeofday.
41114         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41115         * nptl/pthread_cond_timedwait.c: Likewise.
41116         * nptl/pthread_mutex_timedlock.c: Likewise.
41117         * nptl/sem_timedwait.c: Likewise.
41119         * sysdeps/nptl/bits/libc-lock.h
41120         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41121         (__libc_lock_init_recursive): Return void, not 0.
41122         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
41123         (__libc_rwlock_init): Likewise.
41124         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
41126 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41128         [BZ #15215]
41129         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
41130         (__pthread_once_slow): ... here.
41131         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
41132         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
41134 2014-10-20  Torvald Riegel  <triegel@redhat.com>
41136         [BZ #15215]
41137         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
41138         __PTHREAD_ONCE_FORK_GEN_INCR): New.
41139         * sysdeps/nptl/fork.c (__libc_fork): Use them.
41140         * nptl/pthread_once.c (__pthread_once): Likewise.
41141         Update comments.
41143 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
41145         [BZ #14138]
41146         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
41147         name.
41148         (writev): Use __libc_writev as strong name.
41149         * sysdeps/unix/sysv/linux/readv.c: Remove file.
41150         * sysdeps/unix/sysv/linux/writev.c: Likewise.
41152 2014-10-17  Roland McGrath  <roland@hack.frob.com>
41154         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
41156         * sysdeps/i386/nptl/tls.h
41157         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
41158         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
41159         New macros.
41160         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
41161         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
41162         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
41163         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
41164         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
41165         Call CHECK_THREAD_SYSINFO instead of doing an assert.
41167         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
41168         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
41169         on [__NR_futex].
41170         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
41171         broken out of ...
41172         (__pthread_mutex_init): ... here.  Call it.
41173         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41174         Conditionalize PI cases on [__NR_futex].
41175         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
41176         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
41177         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
41179         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
41180         conditional on [SIGSETXID].
41181         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
41182         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
41183         is defined.  Likewise for SIGSETXID.
41184         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
41185         Conditionalize definitions on [SIGSETXID].
41186         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
41187         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
41188         unblocking on [SIGCANCEL].
41190         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
41191         [__NR_set_robust_list].
41193 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41195         * string/strcoll_l.c (get_next_seq): Fix up formatting.
41196         (do_compare): Likewise.
41198 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
41200         [BZ #15884]
41201         * string/strcoll_l.c: Don't include stdio.h.
41202         (coll_seq): Remove members idxarr and rulearr.
41203         (get_next_seq_cached): Remove function.
41204         (get_next_seq): Likewise.
41205         (get_next_seq_nocache): Rename to get_next_seq.
41206         (do_compare): Remove function.
41207         (do_compare_nocache): Rename to do_compare.
41208         (STRCOLL): Remove weight and rules cache.
41210 2014-10-16  Roland McGrath  <roland@hack.frob.com>
41212         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
41213         * sysdeps/arm/sfp-machine.h: ... to here.
41214         * sysdeps/arm/Implies: Remove arm/soft-fp.
41216 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
41218         * conform/data/sys/utsname.h-data (*_t): Allow.
41219         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
41220         [POSIX] (WEXITED): Do not expect constant.
41221         [POSIX] (WSTOPPED): Likewise.
41222         [POSIX] (WNOHANG): Likewise.
41223         [POSIX] (WNOWAIT): Likewise.
41224         [POSIX] (siginfo_t): Do not expect type or elements.
41225         [POSIX] (pid_t): Do not expect type.
41226         [POSIX] (signal.h): Do not allow header.
41227         [POSIX] (sys/resource.h): Likewise.
41228         [POSIX] (si_*): Do not allow pattern.
41229         [POSIX] (W*): Likewise.
41230         [POSIX] (P_*): Likewise.
41231         [POSIX] (BUS_*): Likewise.
41232         [POSIX] (CLD_*): Likewise.
41233         [POSIX] (FPE_*): Likewise.
41234         [POSIX] (ILL_*): Likewise.
41235         [POSIX] (POLL_*): Likewise.
41236         [POSIX] (SEGV_*): Likewise.
41237         [POSIX] (SI_*): Likewise.
41238         [POSIX] (TRAP_*): Likewise.
41239         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
41240         variable.
41242 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
41244         [BZ #12926]
41245         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
41246         infinite loop when __recvmsg returns 0.
41248 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
41250         * CANCEL-FCT-WAIVE: Remove file.
41251         * CANCEL-FILE-WAIVE: Likewise.
41253         [BZ #14132]
41254         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
41255         instead of INTVARDEF.
41256         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41257         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
41258         rtld_hidden_data_def instead of INTVARDEF.
41259         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
41260         * elf/dl-deps.c (expand_dst): Likewise.
41261         * elf/dl-load.c (_dl_dst_count): Likewise.
41262         (_dl_dst_substitute): Likewise.
41263         (decompose_rpath): Likewise.
41264         (_dl_init_paths): Likewise.
41265         (open_path): Likewise.
41266         (_dl_map_object): Likewise.
41267         * elf/rtld.c (dl_main): Likewise.
41268         (process_dl_audit): Likewise.
41269         (process_envvars): Likewise.
41270         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
41271         Remove declaration.
41272         (__libc_enable_secure): Use rtld_hidden_proto.
41274 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41276         * elf/dl-load.c
41277         (add_path): New function broken out of _dl_rtld_di_serinfo.
41278         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
41280 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41282         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
41283         parentheses around macro arguments.
41284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
41285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
41286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
41287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
41289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
41292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
41293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
41294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
41295         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
41296         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
41297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
41298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
41299         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
41300         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
41301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
41302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
41303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
41304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
41305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
41306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
41307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
41308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
41309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
41310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
41311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
41312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
41313         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
41314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
41315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
41316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
41317         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
41318         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
41319         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41320         Likewise.
41321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
41322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
41325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
41326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
41327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
41328         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
41329         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
41330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
41331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
41332         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
41333         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
41334         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
41335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
41336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
41337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
41338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
41339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
41340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
41341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
41342         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
41343         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
41344         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
41345         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
41346         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
41347         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
41348         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
41349         (_FP_FRAC_SRS_1): Likewise.
41350         (_FP_FRAC_CLZ_1): Likewise.
41351         (_FP_MUL_MEAT_1_imm): Likewise.
41352         (_FP_MUL_MEAT_1_wide): Likewise.
41353         (_FP_MUL_MEAT_1_hard): Likewise.
41354         (_FP_SQRT_MEAT_1): Likewise.
41355         (_FP_FRAC_ASSEMBLE_1): Likewise.
41356         (_FP_FRAC_DISASSEMBLE_1): Likewise.
41357         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
41358         (__FP_CLZ_2): Likewise.
41359         (_FP_MUL_MEAT_2_wide): Likewise.
41360         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41361         (_FP_MUL_MEAT_2_gmp): Likewise.
41362         (_FP_MUL_MEAT_2_120_240_double): Likewise.
41363         (_FP_SQRT_MEAT_2): Likewise.
41364         (_FP_FRAC_ASSEMBLE_2): Likewise.
41365         (_FP_FRAC_DISASSEMBLE_2): Likewise.
41366         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
41367         (_FP_FRAC_CLZ_4): Likewise.
41368         (_FP_MUL_MEAT_4_wide): Likewise.
41369         (_FP_MUL_MEAT_4_gmp): Likewise.
41370         (_FP_SQRT_MEAT_4): Likewise.
41371         (_FP_FRAC_ASSEMBLE_4): Likewise.
41372         (_FP_FRAC_DISASSEMBLE_4): Likewise.
41373         * soft-fp/op-common.h (_FP_CMP): Likewise.
41374         (_FP_CMP_EQ): Likewise.
41375         (_FP_CMP_UNORD): Likewise.
41376         (_FP_TO_INT): Likewise.
41377         (_FP_FROM_INT): Likewise.
41378         [!__FP_CLZ] (__FP_CLZ): Likewise.
41379         (_FP_DIV_HELP_imm): Likewise.
41380         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
41381         Likewise.
41382         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
41383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
41384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
41385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
41386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
41387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
41390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
41391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
41392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
41393         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
41394         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
41395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
41396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
41397         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
41398         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
41399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
41400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
41401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
41402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
41403         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
41404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
41405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
41406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
41407         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
41408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
41409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
41410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
41411         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
41412         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
41413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
41414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
41415         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
41416         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
41417         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
41418         (FP_UNPACK_RAW_SP): Likewise.
41419         (FP_PACK_RAW_S): Likewise.
41420         (FP_PACK_RAW_SP): Likewise.
41421         (FP_UNPACK_S): Likewise.
41422         (FP_UNPACK_SP): Likewise.
41423         (FP_UNPACK_SEMIRAW_S): Likewise.
41424         (FP_UNPACK_SEMIRAW_SP): Likewise.
41425         (FP_PACK_S): Likewise.
41426         (FP_PACK_SP): Likewise.
41427         (FP_PACK_SEMIRAW_S): Likewise.
41428         (FP_PACK_SEMIRAW_SP): Likewise.
41429         (_FP_SQRT_MEAT_S): Likewise.
41430         (FP_CMP_S): Likewise.
41431         (FP_CMP_EQ_S): Likewise.
41432         (FP_CMP_UNORD_S): Likewise.
41433         (FP_TO_INT_S): Likewise.
41434         (FP_FROM_INT_S): Likewise.
41436         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
41438         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
41439         (FP_EX_INVALID_IMZ): Likewise.
41440         (FP_EX_INVALID_IMZ_FMA): Likewise.
41441         (FP_EX_INVALID_ISI): Likewise.
41442         (FP_EX_INVALID_ZDZ): Likewise.
41443         (FP_EX_INVALID_IDI): Likewise.
41444         (FP_EX_INVALID_SQRT): Likewise.
41445         (FP_EX_INVALID_CVI): Likewise.
41446         (FP_EX_INVALID_VC): Likewise.
41447         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
41448         "invalid" exceptions.
41449         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
41450         (_FP_ADD_INTERNAL): Likewise.
41451         (_FP_MUL): Likewise.
41452         (_FP_FMA): Likewise.
41453         (_FP_DIV): Likewise.
41454         (_FP_CMP_CHECK_NAN): Likewise.
41455         (_FP_SQRT): Likewise.
41456         (_FP_TO_INT): Likewise.
41457         (FP_EXTEND): Likewise.
41459 2014-10-09  Allan McRae  <allan@archlinux.org>
41461         * po/fr.po: Update French translation from translation project.
41463 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
41465         [BZ #14132]
41466         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
41467         of INTDEF.
41468         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
41469         (__cxa_atexit): Use libc_hidden_proto.
41470         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
41472         [BZ #14132]
41473         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
41474         declaration.
41475         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
41476         [!_ISOMAC] (__iswspace_l_internal): Likewise.
41477         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
41478         [!_ISOMAC] (__iswctype_internal): Likewise.
41479         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
41480         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
41481         alias.
41482         (fcntl): Remove __fcntl_internal alias.
41483         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
41484         __connect_internal alias.
41485         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
41486         Likewise.
41488         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
41489         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
41490         FP_DENORM_ZERO.
41491         (_FP_CHECK_FLUSH_ZERO): New macro.
41492         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
41493         (_FP_CMP): Likewise.
41494         (_FP_CMP_EQ): Likewise.
41495         (_FP_TO_INT): Do not set inexact for subnormal arguments if
41496         FP_DENORM_ZERO.
41497         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
41498         (FP_TRUNC): Likewise.
41500         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
41501         treated as invalid conversion, not as normal exponent.
41503         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
41504         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
41505         (_FP_CMP_EQ): Likewise.
41506         (_FP_CMP_UNORD): Likewise.
41507         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
41508         (FP_CMP_EQ_D): Likewise.
41509         (FP_CMP_UNORD_D): Likewise.
41510         * soft-fp/extended.h (FP_CMP_E): Likewise.
41511         (FP_CMP_EQ_E): Likewise.
41512         (FP_CMP_UNORD_E): Likewise.
41513         * soft-fp/quad.h (FP_CMP_Q): Likewise.
41514         (FP_CMP_EQ_Q): Likewise.
41515         (FP_CMP_UNORD_Q): Likewise.
41516         * soft-fp/single.h (FP_CMP_S): Likewise.
41517         (FP_CMP_EQ_S): Likewise.
41518         (FP_CMP_UNORD_S): Likewise.
41519         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
41520         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
41521         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
41522         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
41523         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
41524         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
41525         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41526         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
41527         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
41528         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
41529         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
41530         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
41531         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
41532         to FP_CMP_Q.
41533         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
41534         FP_CMP_Q.
41535         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
41536         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
41537         FP_CMP_EQ_Q.
41538         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
41539         FP_CMP_Q.
41540         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
41541         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
41542         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
41543         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
41544         FP_CMP_EQ_Q.
41545         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
41546         FP_CMP_Q.
41547         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
41548         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
41549         FP_CMP_EQ_Q.
41550         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
41551         FP_CMP_Q.
41552         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
41553         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
41554         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
41555         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
41556         FP_CMP_EQ_Q.
41558         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
41559         a subnormal result, set the underflow exception if trapping on
41560         underflow is enabled.
41561         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
41562         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
41563         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
41564         redefine to 0.
41565         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
41566         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41567         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
41568         * soft-fp/extendxftf2.c (__extendxftf2): Use
41569         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
41571         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
41572         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
41573         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41574         FP_HANDLE_EXCEPTIONS.
41575         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
41576         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41577         FP_HANDLE_EXCEPTIONS.
41578         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
41579         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41580         FP_HANDLE_EXCEPTIONS.
41581         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
41582         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
41583         FP_HANDLE_EXCEPTIONS.
41585 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
41587         [BZ #14132]
41588         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
41589         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
41590         use INTUSE.
41591         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
41592         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
41593         Remove alias.
41594         (__adjtimex): Define using libc_hidden_ver.
41595         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
41596         Remove declaration.
41597         (ntp_gettime): Call __adjtimex directly.
41598         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
41599         Remove declaration.
41600         (ntp_gettimex): Call __adjtimex directly.
41601         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
41602         __adjtimex_internal alias.
41604 2014-10-08  Roland McGrath  <roland@hack.frob.com>
41606         [BZ #17460]
41607         * nscd/nscd.c (more_help): Rewrite list of tables collection
41608         using xstrdup and asprintf.
41610         * nscd/nscd_conf.c: Remove local xstrdup declaration.
41612 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41613             Roland McGrath  <roland@hack.frob.com>
41615         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
41616         (do_lookup_unique): ... local function 'enter' here; update callers.
41618 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
41620         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
41621         compat_symbol calls on [SHARED].
41622         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
41623         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
41624         Remove.
41625         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41626         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
41627         (oldsetrlimit): Remove.
41628         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41630         (lchown): New syscall entry.
41631         (oldsetrlimit): Remove.
41632         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
41634         (oldsetrlimit): Remove.
41635         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
41637         [BZ #14138]
41638         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
41639         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
41640         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
41641         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
41642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41643         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
41644         (fchown): Likewise.
41645         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
41646         (fchown): Likewise.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
41648         Likewise.
41650 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41652         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
41653         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
41654         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
41655         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
41656         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
41657         Likewise.
41658         (__old_sem_post): Likewise.
41660 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
41662         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
41663         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
41664         HAVE_CLOCK_GETTIME_VSYSCALL macros.
41665         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
41666         Use INLINE_VSYSCALL macro.
41667         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
41668         __vdso_clock_gettime.
41669         * sysdeps/unix/sysv/linux/tile/init-first.c
41670         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
41671         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
41672         __vdso_clock_gettime.
41674         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
41675         to set up frame more cleanly.
41677         * sysdeps/tile/memcmp.c: New file.
41679         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
41681         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
41682         * sysdeps/tile/tilegx/strcasestr.c: New file.
41683         * sysdeps/tile/tilegx/strnlen.c: New file.
41684         * sysdeps/tile/tilegx/strstr.c: New file.
41686         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
41688 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
41690         * nptl/tst-setuid3.c: Write errors to stdout.
41692 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41694         * elf/dl-deps.c
41695         (preload): New functions broken out of _dl_map_object_deps.
41696         (_dl_map_object_deps):  Remove a nested function. Update call sites.
41698 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
41700         [BZ #14138]
41701         * sysdeps/unix/sysv/linux/execve.c: Remove file.
41702         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
41704 2014-10-01  Steve Ellcey  <sellcey@mips.com>
41706         * sysdeps/mips/strcmp.S: New.
41708 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
41710         [BZ #14138]
41711         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
41712         (linkat): Likewise.
41713         (mkdirat): Likewise.
41714         (readlinkat): Likewise.
41715         (renameat): Likewise.
41716         (symlinkat): Likewise.
41717         (unlinkat): Likewise.
41718         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
41719         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
41720         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
41721         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
41722         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
41723         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
41724         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
41726 2014-09-30  Will Newton  <will.newton@linaro.org>
41728         * math/math.h: Define long double math functions if
41729         _LIBC_TEST is defined.
41730         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
41732         * localedata/Makefile: Move assignment to tests-special
41733         into an ifdef testing run-built-tests.
41734         * timezone/Makefile: Likewise.
41736 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
41738         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
41739         with $(BASH) not $(SHELL).
41741 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
41742             Matthew LeGendre  <legendre1@llnl.gov>
41744         [BZ #17411]
41745         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
41746         l_reloc_result.
41748 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41750         * stdio-common/printf_fp.c
41751         (hack_digit): New function, broken out of ...
41752         (__printf_fp): ... local function here.  Update call sites.
41753         hack_digit now takes an additional parameter that is a pointer
41754         to a struct of the referenced locals.  Those locals moved inside
41755         the struct and references updated.
41757 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
41759         * aclocal.m4: Require autoconf 2.69.
41760         * configure: Regenerated.
41761         * sysdeps/aarch64/configure: Likewise.
41762         * sysdeps/alpha/configure: Likewise.
41763         * sysdeps/arm/armv7/configure: Likewise.
41764         * sysdeps/arm/configure: Likewise.
41765         * sysdeps/ia64/configure: Likewise.
41766         * sysdeps/mach/configure: Likewise.
41767         * sysdeps/mips/configure: Likewise.
41768         * sysdeps/s390/configure: Likewise.
41769         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
41772         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
41773         file.
41774         * sysdeps/ia64/configure.ac: Likewise.
41776 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
41779         specify symbol version for ld.so.  Do not include entry for
41780         libpthread.
41781         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
41782         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
41783         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41785         [BZ #14171]
41786         * Makeconfig [$(build-shared) = yes]
41787         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
41788         makefiles.
41789         [$(build-shared) = yes && $(soversions.mk-done) = t]
41790         ($(common-objpfx)gnu/lib-names.h): Remove rule.
41791         [$(build-shared) = yes && $(soversions.mk-done) = t]
41792         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
41793         to Makerules.
41794         [$(build-shared) = yes && $(soversions.mk-done) = t]
41795         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
41796         here.
41797         [$(build-shared) = yes && $(soversions.mk-done) = t]
41798         (common-generated): Don't append gnu/lib-names.h and
41799         gnu/lib-names.stmp here.
41800         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
41801         (lib-names-h-abi): New variable.
41802         [$(build-shared) = yes && $(soversions.mk-done) = t]
41803         (lib-names-stmp-abi): Likewise.
41804         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41805         abi-variants] (before-compile): Append
41806         $(common-objpfx)$(lib-names-h-abi).
41807         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41808         abi-variants] (common-generated): Append gnu/lib-names.h.
41809         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41810         abi-variants] (install-others-nosubdir): Depend on
41811         $(inst_includedir)/$(lib-names-h-abi).
41812         [$(build-shared) = yes && $(soversions.mk-done) = t &&
41813         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
41814         [$(build-shared) = yes && $(soversions.mk-done) = t]
41815         ($(common-objpfx)$(lib-names-h-abi)): New rule.
41816         [$(build-shared) = yes && $(soversions.mk-done) = t]
41817         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
41818         [$(build-shared) = yes && $(soversions.mk-done) = t]
41819         (common-generated): Append $(lib-names-h-abi) and
41820         $(lib-names-stmp-abi).
41821         * scripts/lib-names.awk: Do not handle multi being set.
41822         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
41823         Remove variable.
41824         (abi-lp64_be-ld-soname): Likewise.
41825         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
41826         Likewise.
41827         (abi-hard-ld-soname): Likewise.
41828         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
41829         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
41830         Remove variable.
41831         (abi-o32_hard-ld-soname): Likewise.
41832         (abi-o32_soft_2008-ld-soname): Likewise.
41833         (abi-o32_hard_2008-ld-soname): Likewise.
41834         (abi-n32_soft-ld-soname): Likewise.
41835         (abi-n32_hard-ld-soname): Likewise.
41836         (abi-n32_soft_2008-ld-soname): Likewise.
41837         (abi-n32_hard_2008-ld-soname): Likewise.
41838         (abi-n64_soft-ld-soname): Likewise.
41839         (abi-n64_hard-ld-soname): Likewise.
41840         (abi-n64_soft_2008-ld-soname): Likewise.
41841         (abi-n64_hard_2008-ld-soname): Likewise.
41842         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
41843         Likewise.
41844         (abi-64-v2-ld-soname): Likewise.
41845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
41846         ld.so entries.
41847         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
41848         variable.
41849         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
41850         entry.
41851         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
41852         variable.
41853         (abi-64-ld-soname): Likewise.
41854         (abi-x32-ld-soname): Likewise.
41855         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
41856         entry.
41857         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
41859 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
41861         [BZ #14138]
41862         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
41863         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
41864         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
41865         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
41866         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
41867         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
41868         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
41869         syscall entry for GLIBC_2.2 symbol version.
41870         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
41871         Likewise.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
41873         (setrlimit): Likewise.
41874         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
41875         Likewise.
41877 2014-09-23  Will Newton  <will.newton@linaro.org>
41879         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
41880         _LINUX_ARM_SYSDEP_H include guard too.
41881         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
41882         define.
41884 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41886         * sysdeps/unix/sysv/linux/eventfd.c:
41887         Make first argument unsigned.
41888         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
41889         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
41891 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
41893         [BZ #16852]
41894         * socket/recvmmsg.c (recvmmsg): Drop const argument.
41895         * socket/sys/socket.h: Likewise.
41896         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
41898 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41900         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
41902 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
41904         * time/tst-ftime.c: New test.
41905         * time/Makefile (tests): Add tst-ftime.
41907 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
41909         * soft-fp/extended.h: Fix comment formatting.
41910         * soft-fp/op-1.h: Likewise.
41911         * soft-fp/op-2.h: Likewise.
41912         * soft-fp/op-4.h: Likewise.
41913         * soft-fp/op-8.h: Likewise.
41914         * soft-fp/op-common.h: Likewise.
41915         * soft-fp/soft-fp.h: Likewise.
41917         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
41919 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
41921         [BZ #6652]
41922         * Makeconfig (soversions-default-setname): Remove variable.
41923         ($(common-objpfx)soversions.i): Don't pass default_setname to
41924         soversions.awk.
41925         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
41926         oldest_abi to abi-versions.awk.
41927         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
41928         * config.make.in (oldest-abi): Remove variable.
41929         * configure.ac (--enable-oldest-abi): Remove configure option.
41930         * configure: Regenerated.
41931         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
41932         text.
41933         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
41934         * scripts/soversions.awk: Do not handle default_setname variable.
41935         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
41936         variable.
41937         * sysdeps/mach/hurd/configure: Regenerated.
41938         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
41939         variable.
41940         * sysdeps/unix/sysv/linux/configure: Regenerated.
41942 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41944         * elf/Makefile (CFLAGS-interp.c): Remove.
41945         ($(elf-objpfx)runtime-linker.h): Generate header with linker
41946         path string.
41947         * elf/interp.c: Include generated runtime-linker.h
41949         * Makerules (lib%.so): Don't include $(+interp) in
41950         prerequisites.
41951         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
41952         * dlfcn/eval.c: Remove file.
41954         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41955         macros.
41957         [BZ #17266]
41958         * misc/sys/cdefs.h: Define __extern_always_inline for clang
41959         4.2 and newer.
41961         [BZ #17370]
41962         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
41964 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41965             Jakub Jelinek  <jakub@redhat.com>
41967         [BZ #17266]
41968         * libio/stdio.h: Check definition of __fortify_function
41969         instead of __extern_always_inline to include bits/stdio2.h.
41970         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
41971         check if __extern_always_inline is defined.
41972         [__USE_MISC || __USE_XOPEN]: Likewise.
41973         [__USE_ISOC99] Likewise.
41974         * misc/sys/cdefs.h (__fortify_function): Define only if
41975         __extern_always_inline is defined.
41976         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
41977         __extern_always_inline and __extern_inline only for g++-4.3
41978         and newer or a compatible gcc.
41980 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
41982         [BZ #17371]
41983         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
41984         last change to handle zero prefix length.
41986 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41988         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
41989         _SC_REGEX_VERSION.
41991         * posix/getconf.c (vars): Add _POSIX_IPV6 and
41992         _POSIX_RAW_SOCKETS.
41994 2014-09-13  Allan McRae  <allan@archlinux.org>
41996         * po/ru.po: Update Russian translation from translation project.
41998 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42000         * locale/programs/locale.c (show_locale_vars): Inline local function
42001         into its sole call site.  Clean up some style nits.
42002         (print_item): New function, broken out of ...
42003         (show_info): ... local function here.  Clean up style nits.
42005         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42006         out of ...
42007         (set_class_defaults): ... local function set_default here.
42008         Define set_default as a macro locally to pass constant parameters.
42009         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42010         rather than a shared local.
42012         * stdlib/rpmatch.c (try): New function, broken out of ...
42013         (rpmatch): ... local function here.  Also, prototypify definition.
42015 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42017         * scripts/soversions.awk: Do not handle configuration names.
42018         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42019         vendor and os variables to soversions.awk.
42020         * configure.ac: Do not modify gnu-* host_os.
42021         * configure: Regenerated
42022         * shlib-versions: Remove first column with configuration names.
42023         * nptl/shlib-versions: Likewise.
42024         * nptl_db/shlib-versions: Likewise.
42025         * sysdeps/hppa/shlib-versions: Likewise.
42026         * sysdeps/m68k/shlib-versions: Likewise.
42027         * sysdeps/mach/hurd/shlib-versions: Likewise.
42028         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42029         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42030         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42031         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42032         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42033         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42034         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42035         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42037         Likewise.
42038         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42039         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42040         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42041         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42042         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42043         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42044         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42045         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42048         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42050         Regenerated.
42051         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42053         Condition symbol version definitions on [HAVE_ELFV2_ABI].
42055         * shlib-versions: Remove OS-specific entries.  Moved to files in
42056         sysdeps.
42057         * sysdeps/mach/hurd/shlib-versions: New file.
42058         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42060         * nptl/shlib-versions: Remove architecture-specific entries.
42061         Moved to files in sysdeps.
42062         * shlib-versions: Likewise.
42063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
42064         file.
42065         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42066         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42067         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42070         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
42071         (UDP_NO_CHECK6_RX): Likewise.
42073 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42075         * sysdeps/posix/sysconf.c (__sysconf): Spell
42076         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
42078 2014-08-12  Florian Weimer  <fweimer@redhat.com>
42080         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
42081         loading.
42082         * iconv/Versions (__gconv_transliterate): Export for use from
42083         gconv modules.
42084         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
42085         (struct __gconv_trans_data, __gconv_trans_fct,
42086         __gconv_trans_context_fct, __gconv_trans_query_fct,
42087         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
42088         definitions.
42089         (struct __gconv_step_data): Remove __trans member.
42090         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
42091         longer hidden.  Remove unused trans_data argument.
42092         * iconv/gconv_int.h (struct trans_struct): Remove definition.
42093         (__gconv_translit_find): Remove declaration.
42094         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
42095         prototype.
42096         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
42097         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
42098         trans_data argument.  Add hidden definition.
42099         (__gconv_translit_find): Remove.
42100         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
42101         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
42102         * iconv/skeleton.c: Remove transliteration initialization.
42103         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
42104         __gconv_step_data initialization.
42105         * libio/iofwide.c (__libio_translit_): Remove.
42106         (_IO_fwide): Adjust struct __gconv_step_data initialization.
42107         * wcsmbs/btowc.c (__btowc): Likewise.
42108         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42109         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42110         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
42111         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
42112         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
42113         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
42114         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
42115         * wcsmbs/wctob.c (wctob): Likewise.
42117 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42119         [BZ #16194]
42120         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
42121         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
42122         register usage.
42123         * sysdeps/x86/Makefile: Adjust.
42125 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42126             Roland McGrath  <roland@hack.frob.com>
42128         * locale/weight.h: Add include guard.
42129         (findidx): Make static rather than auto; take new parameters
42130         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
42131         * locale/weightwc.h: Likewise.
42132         * posix/fnmatch_loop.c
42133         (FCT): Change type of EXTRA from int32_t to wint_t.
42134         Don't include either header inside the function.
42135         Call FINDIDX rather than findidx, and pass new arguments.
42136         #undef FINDIDX at the end of the file.
42137         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
42138         FINDIDX before including fnmatch_loop.c for the non-wide version.
42139         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
42140         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
42141         for the wide version.
42142         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
42143         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
42144         Pass new arguments to findidx.
42145         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
42146         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
42147         Don't #include it inside the function.  Pass new arguments to findidx.
42148         * posix/regex_internal.h
42149         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
42150         (re_string_elem_size_at): Don't #include it inside the function.
42151         Pass new arguments to findidx.
42152         * string/strcoll_l.c: #include WEIGHT_H at top level.
42153         (get_next_seq): Don't #include it inside the function.
42154         Pass new arguments to findidx.
42155         (get_next_seq_nocache): Likewise.
42156         * string/strxfrm_l.c: #include WEIGHT_H at top level.
42157         (STRXFRM): Don't #include it inside the function.
42158         Pass new arguments to findidx.
42160 2014-09-11  Florian Weimer  <fweimer@redhat.com>
42162         [BZ #17344]
42163         * malloc/malloc.c (unlink): Turn asserts into a call to
42164         malloc_printerr.
42166 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
42168         [BZ #17370]
42169         * libio/wfileops (do_ftell_wide): Free OUT.
42171 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
42173         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
42175 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42177         [BZ #17363]
42178         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
42179         group if the current group is empty.
42181 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42183         * benchtests/bench-memset.c (test_main): Add more test from size
42184         from 32 to 512 bytes.
42185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42186         Add POWER8 memset object.
42187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42188         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
42189         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
42190         implementation.
42191         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
42192         Likewise.
42193         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
42194         multiarch POWER8 memset optimization.
42195         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
42196         POWER8 memset optimization.
42198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42199         Remove bzero multiarch objects.
42200         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
42201         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
42202         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
42203         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
42204         Remove define.
42205         [__bzero]: Redefine to specific name.
42206         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
42207         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
42208         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
42209         define.
42210         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42211         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42213 2014-09-10  Florian Weimer  <fweimer@redhat.com>
42215         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
42216         warnings into errors.
42218         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
42219         __cxa_thread_atexit_impl prototype.
42221 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42223         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
42224         Fix capitalization of error message.
42226 2014-09-09  Steve Ellcey  <sellcey@mips.com>
42228         * sysdeps/mips/preconfigure: Modify ABI tests.
42230 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
42232         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
42234 2014-09-07  Roland McGrath  <roland@hack.frob.com>
42235             Carlos O'Donell  <carlos@systemhalted.org>
42237         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
42238         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
42239         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
42240         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
42241         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
42242         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
42243         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
42244         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
42245         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
42246         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
42247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
42248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
42249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
42250         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
42251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
42252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
42253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
42254         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
42255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
42256         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
42257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
42258         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
42259         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
42260         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
42261         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
42262         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
42263         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
42264         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
42265         Deconditionalize the code that was previously under [RESET_PID].
42266         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
42267         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
42268         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
42269         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
42270         include sysdep.h.
42272 2014-09-08  Allan McRae  <allan@archlinux.org>
42274         * version.h (RELEASE): Set to "development".
42275         (VERSION): Set to "2.20.90"
42277 2014-09-07  Allan McRae  <allan@archlinux.org
42279         * version.h (RELEASE): Set to "stable".
42280         (VERSION): Set to "2.20"
42281         * include/features.h (__GLIBC_MINOR__): Set to 20.
42283         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
42284         Liebler.
42286         * po/ko.po: Update Korean translation from translation project.
42288 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
42290         [BZ #17354]
42291         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
42292         macro for handling signed relocations.
42294 2014-09-03  Florian Weimer  <fweimer@redhat.com>
42296         [BZ #17325]
42297         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
42298         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
42299         assert.
42300         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
42301         * iconvdata/ibm935.c (BODY): Likewise.
42302         * iconvdata/ibm937.c (BODY): Likewise.
42303         * iconvdata/ibm939.c (BODY): Likewise.
42304         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
42305         assert.
42306         * iconvdata/Makefile (iconv-test.out): Pass module list to test
42307         script.
42308         * iconvdata/run-iconv-test.sh: New test loop for checking for
42309         decoder crashers.
42311 2014-09-02  Khem Raj  <raj.khem@gmail.com>
42313         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
42314         libm_hidden_ver.
42316 2014-09-01  Allan McRae  <allan@archlinux.org>
42318         * po/eo.po: Update Esperanto translation from translation project.
42320         * po/ca.po: Update Catalan translation from translation project.
42322 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42324         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
42325         __proc_dostop call.
42327 2014-08-27  Mark Wielaard  <mjw@redhat.com>
42329         [BZ #17319]
42330         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
42331         to call set_thread_area instead of hand written asm.
42332         (__NR_set_thread_area): Removed define.
42333         (TLS_FLAG_WRITABLE): Likewise.
42334         (__ASSUME_SET_THREAD_AREA): Remove check.
42335         (TLS_EBX_ARG): Remove define.
42336         (TLS_LOAD_EBX): Likewise.
42338 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42340         Simplify atomicity of socket creation in bind.
42342         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
42343         looking up the name after linking the file.
42345 2014-08-27  Allan McRae  <allan@archlinux.org>
42347         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42349 2014-08-26  Florian Weimer  <fweimer@redhat.com>
42351         [BZ #17187]
42352         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
42353         trans_compare, open_translit, __gconv_translit_find):
42354         Remove module loading code.
42356 2014-08-26  Allan McRae  <allan@archlinux.org>
42358         * po/vi.po: Update Vietnamese translation from translation project.
42360         * po/uk.po: Update Ukrainian translation from translation project.
42362         * po/fr.po: Update French translation from translation project.
42364         * po/ru.po: Update Russian translation from translation project.
42366         * po/pl.po: Update Polish translation from translation project.
42368         * po/cs.po: Update Czech translation from translation project.
42370         * po/de.po: Update German translation from translation project.
42372         * po/bg.po: Update Bulgarian translation from translation project.
42374         * po/sv.po: Update Sweedish translation from translation project.
42376         * po/nl.po: Update Dutch translation from translation project.
42378         * po/es.po: Update Spanish translation from translation project.
42380 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42382         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
42384         * catgets/Makefile (CPPFLAGS-gencat): Remove.
42385         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
42386         (CPPFLAGS-iconvconfig): Likewise.
42387         * timezone/Makefile (CPPFLAGS-zic): Likewise.
42389         * include/libc-symbols.h: Remove unnecessary check for
42390         NOT_IN_libc.
42391         * nptl/pthreadP.h: Likewise.
42392         * sysdeps/aarch64/setjmp.S: Likewise.
42393         * sysdeps/alpha/setjmp.S: Likewise.
42394         * sysdeps/arm/sysdep.h: Likewise.
42395         * sysdeps/i386/setjmp.S: Likewise.
42396         * sysdeps/m68k/setjmp.c: Likewise.
42397         * sysdeps/posix/getcwd.c: Likewise.
42398         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42399         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42400         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42401         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42402         * sysdeps/sh/sh3/setjmp.S: Likewise.
42403         * sysdeps/sh/sh4/setjmp.S: Likewise.
42404         * sysdeps/unix/alpha/sysdep.h: Likewise.
42405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42406         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42407         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42408         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42413         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42416         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42418         * sysdeps/x86_64/setjmp.S: Likewise.
42420 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
42422         [BZ #17263]
42423         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
42424         <stdint.h>.
42425         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
42426         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
42428 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42430         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
42432         [BZ #17262]
42433         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
42434         and __x86_64__ when disabling x87 inline functions.
42436 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42438         [BZ #17259]
42439         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
42440         asm statement with __cpuid_count.
42442 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
42444         * configure.ac: Change __ehdr_start code to dereference the struct.
42445         Run readelf on the output to look for relocations.
42446         * configure: Regenerated.
42448 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
42450         [BZ #17261]
42451         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
42452         value to 0.
42453         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
42455 2014-08-12  Roland McGrath  <roland@hack.frob.com>
42457         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
42459 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
42461         [BZ #16892]
42462         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
42463         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
42465 2014-08-12  Sean Anderson  <seanga2@gmail.com>
42467         * malloc/malloc.c: Fix typo in comment.
42469 2014-08-09  Allan McRae  <allan@archlinux.org>
42471         * Regenerate libc.po.
42473 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
42475         * intl/tst-gettext2.sh: Check every lang file for creation.
42477 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42479         * sysdeps/aarch64/fpu/math_private.h
42480         (libc_feholdsetround_noex_aarch64_ctx): New function.
42482 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
42484         * sysdeps/arm/armv6/strcpy.S (strcpy):
42485         Fix performance issue in misaligned cases.
42487 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42489         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
42490         Move definition from termios.h.
42491         (struct termio): Likewise.
42492         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42493         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42494         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42495         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42496         Likewise.
42497         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
42498         Move definition to ioctl-types.h
42499         (struct termio): Likewise.
42500         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42501         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
42502         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
42503         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
42504         Likewise.
42506 2014-08-05  Richard Henderson  <rth@redhat.com>
42508         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
42509         exceptions.
42510         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
42511         Add fraiseexcpt.
42512         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42513         Use __feraiseexcept.
42514         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
42515         Protect libm symbols with IS_IN_libm.
42517         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
42519 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
42521         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
42523 2014-08-04  Will Newton  <will.newton@linaro.org>
42525         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
42526         file.
42528 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
42530         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
42531         variants for each function.
42533 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42535         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
42536         appended ...
42537         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
42538         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
42539         appended ...
42540         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
42541         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
42542         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
42543         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
42544         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
42545         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
42546         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
42547         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
42548         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
42549         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
42550         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
42551         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
42552         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
42553         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
42554         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
42555         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
42556         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
42557         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
42558         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
42559         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42560         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
42561         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
42562         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
42563         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
42564         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
42565         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
42566         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
42567         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
42568         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
42569         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
42570         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
42571         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
42572         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
42573         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
42574         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
42575         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
42576         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
42577         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
42578         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
42579         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
42580         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
42581         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
42582         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
42583         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
42584         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
42585         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
42586         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
42587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
42588         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
42589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
42590         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
42591         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
42592         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
42593         Update #include.
42594         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
42595         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
42597 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42599         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
42600         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
42601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
42602         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
42603         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
42604         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
42606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42608         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
42609         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
42610         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42611         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
42613 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42615         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
42616         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
42617         (__libc_vfork): Define function under this name.
42618         (__vfork): Define as an alias.
42619         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
42620         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
42622 2014-08-04  Roland McGrath  <roland@hack.frob.com>
42624         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
42625         that was previously under [RESET_PID].
42626         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
42628 2014-08-04  Andreas Schwab  <schwab@suse.de>
42630         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
42632 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
42634         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
42635         (main): Likewise.
42637 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42639         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
42641 2014-08-01  Richard Henderon  <rth@redhat.com>
42643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
42644         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
42645         typo in exact zero test.
42646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42650 2014-08-01  Roland McGrath  <roland@hack.frob.com>
42652         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
42653         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
42654         * sysdeps/arm/sysdep.h: ... here.
42655         [!__ASSEMBLER__]: Include <stdint.h>.
42657 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42659         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
42660         (HAVE_WCTYPE_H): Likewise.
42661         (HAVE_ISWCTYPE): Likewise.
42662         (ENABLE_NLS): Likewise.
42663         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
42664         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
42666         * posix/regex_internal.c: Check if DEBUG is defined and is
42667         set.
42669         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
42670         (HAVE_MBSRTOWCS): Likewise.
42671         * posix/fnmatch.c: Include string.h unconditionally.
42673 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42675         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
42676         reversal.
42678 2014-07-31  Roland McGrath  <roland@hack.frob.com>
42680         * sysdeps/generic/safe-fatal.h: New file.
42681         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
42682         * nptl/forward.c: Include it.
42683         (__pthread_unwind): Use __safe_fatal as default action, rather
42684         than a bogus use of INTERNAL_SYSCALL that could never work.
42686         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
42687         * configure.ac (libc_cv_builtin_trap): New test.
42688         * configure: Regenerated.
42689         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
42690         (ABORT_INSTRUCTION): Define using __builtin_trap.
42692         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
42693         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
42694         * sysdeps/nptl/nptl-signals.h: New file.
42695         * nptl/pthreadP.h: Include <nptl-signals.h>.
42697 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42699         * sysdeps/s390/s390-64/utf16-utf32-z9.c
42700         (ONE_DIRECTION): Define.
42701         * sysdeps/s390/s390-64/utf8-utf16-z9.c
42702         (ONE_DIRECTION): Define.
42703         * sysdeps/s390/s390-64/utf8-utf32-z9.c
42704         (ONE_DIRECTION): Define.
42706 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
42708         * sysdeps/s390/Makefile: Delete file.
42709         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
42710         * sysdeps/s390/__longjmp.c: Delete file.
42711         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
42712         Remove fields __flags and __reserved.
42713         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
42714         and add versioning.
42715         * sysdeps/s390/rtld-__longjmp.c: Delete file.
42716         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
42717         * sysdeps/s390/rtld-setjmp.S: Likewise.
42718         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
42719         * sysdeps/s390/s390-32/__longjmp.c: ... here.
42720         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
42721         * sysdeps/s390/s390-32/setjmp.S: ... here.
42722         Add versioning.
42723         (__sigsetjmp): Remove setting __flags field.
42724         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
42725         * sysdeps/s390/s390-64/__longjmp.c: ... here.
42726         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
42727         * sysdeps/s390/s390-64/setjmp.S: ... here.
42728         Add versioning.
42729         (__sigsetjmp): Remove setting __flags field.
42730         * sysdeps/s390/setjmp.S: Delete file.
42731         * sysdeps/s390/sigjmp.c: Likewise.
42732         * sysdeps/s390/v1-longjmp.c: Likewise.
42733         * sysdeps/s390/v1-setjmp.h: Likewise.
42734         * sysdeps/s390/v1-sigjmp.c: Likewise.
42735         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
42736         Remove v1-longjmp_chk.
42737         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
42738         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
42739         Include debug/longjmp_chk.c and add versioning.
42740         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
42741         Include nptl/pt-longjmp.c and add versioning.
42742         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
42743         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
42744         Include __longjmp.c.
42745         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42746         Move to ...
42747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
42748         (__getcontext): Remove setting __flags field.
42749         Add versioning.
42750         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42751         Don't restore upper high grps.
42752         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
42753         Likewise.
42754         (__swapcontext): Remove setting uc_flags field.
42755         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
42756         Delete file.
42757         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42758         Include __longjmp.c.
42759         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42760         Move to ...
42761         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
42762         (__getcontext): Remove setting __flags field.
42763         Add versioning.
42764         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
42765         (__swapcontext): Remove setting uc_flags field.
42766         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
42767         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
42768         Remove fields uc_high_gprs and __reserved.
42769         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
42770         New file with reverted content.
42771         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
42772         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
42773         Regenerated.
42774         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
42775         Regenerated.
42777 2014-07-31  Andreas Schwab  <schwab@suse.de>
42779         * config.h.in (HAVE_IFUNC): Define to 0.
42780         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
42781         definedness.
42783 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
42785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42786         memmove-avx-unaligned, memcpy-avx-unaligned and
42787         mempcpy-avx-unaligned.
42788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42789         Add tests for AVX memcpy functions.
42790         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
42791         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
42792         memcpy_chk.
42793         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
42794         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
42795         memmove_chk.
42796         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
42797         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
42798         mempcpy_chk.
42799         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
42800         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
42801         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
42803 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42805         [BZ #17213]
42806         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
42807         powerpc64le.
42809 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
42811         [BZ #16839]
42812         * manual/llio.texi: Add section about open file description locks.
42813         * manual/examples/ofdlocks.c: Example of open file description
42814         lock usage.
42815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
42816         F_OFD_SETLK, and F_OFD_SETLKW.
42818 2014-07-23  Allan McRae  <allan@archlinux.org>
42820         * po/es.po: Update Spanish translation from translation project.
42822 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
42824         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
42826 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
42828         [BZ #17078]
42829         * sysdeps/arm/dl-machine.h (elf_machine_rela)
42830         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
42831         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
42833 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
42835         [BZ #17088]
42836         * math/fesetenv.c (__fesetenv)
42837         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
42838         * math/feupdateenv.c (__feupdateenv)
42839         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
42841         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
42842         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42843         (__ASSUME_SOCKETCALL): Do not define.
42845         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
42846         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
42847         (__ASSUME_SOCKETCALL): Do not define.
42848         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
42849         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42850         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42851         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
42852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42853         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
42854         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42855         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42857         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
42858         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
42859         (__ASSUME_SOCKETCALL): Do not define.
42860         (__ASSUME_IPC64): Define unconditionally.
42861         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42862         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42863         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
42864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42865         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
42866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42867         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
42868         Likewise.
42870         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
42871         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
42872         (__ASSUME_SOCKETCALL): Do not define.
42873         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
42874         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42875         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42876         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42877         (__ASSUME_REQUEUE_PI): Define unconditionally.
42878         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
42879         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
42880         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42881         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
42882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42883         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42885         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
42886         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
42887         (__ASSUME_SOCKETCALL): Do not define.
42888         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
42889         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42890         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42891         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
42892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42893         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42895         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
42896         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
42897         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
42898         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
42899         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42900         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
42901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
42902         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
42903         (__ASSUME_GETCPU_SYSCALL): Likewise.
42905         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
42906         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
42907         cases for individual architectures.
42908         * sysdeps/gnu/configure: Regenerated.
42909         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
42910         LIBC_SLIBDIR_RTLDDIR.
42911         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
42912         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
42913         LIBC_SLIBDIR_RTLDDIR.
42914         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
42915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
42916         LIBC_SLIBDIR_RTLDDIR.
42917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
42918         Regenerated.
42919         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
42920         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
42921         file.
42922         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
42923         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
42924         file.
42925         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
42926         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
42927         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
42928         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
42930         * sysdeps/aarch64/shlib-versions: Move to ...
42931         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
42932         * sysdeps/alpha/shlib-versions: Move to ...
42933         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
42934         * sysdeps/arm/shlib-versions: Move to ...
42935         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
42936         * sysdeps/hppa/shlib-versions: Move all contents except for
42937         libgcc_s entry to ...
42938         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
42939         entry from ...
42940         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
42941         * sysdeps/ia64/shlib-versions: Move to ...
42942         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
42943         entry from ...
42944         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
42945         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
42946         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
42947         * sysdeps/microblaze/shlib-versions: Move to ...
42948         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
42949         * sysdeps/mips/shlib-versions: Move to ...
42950         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
42951         entry from ...
42952         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
42953         * sysdeps/tile/shlib-versions: Move to ...
42954         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
42955         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
42956         from ...
42957         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
42958         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
42959         entry from ...
42960         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
42962 2014-07-17  Will Newton  <will.newton@linaro.org>
42964         * sysdeps/arm/bits/atomic.h
42965         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
42966         (__arch_compare_and_exchange_bool_16_int): Likewise.
42967         (__arch_compare_and_exchange_bool_64_int): Likewise.
42969         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
42970         into an #else block.
42972 2014-07-16  Roland McGrath  <roland@hack.frob.com>
42974         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
42975         just Linux configurations.  Test empirically that the compiler sets
42976         __ARM_EABI__, rather than using the tuple to decide.
42977         * sysdeps/arm/preconfigure: Regenerated.
42978         * sysdeps/unix/sysv/linux/arm/configure: File removed.
42979         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
42980         contents appended ...
42981         * sysdeps/arm/configure.ac: ... here.
42982         * sysdeps/arm/configure: Regenerated.
42984 2014-07-15  Roland McGrath  <roland@hack.frob.com>
42986         * nptl/pthread_kill.c: New file.
42987         * nptl/pthread_sigmask.c: New file.
42988         * nptl/pthread_sigqueue.c: New file.
42990         * sysdeps/nptl/lowlevellock.h: New file.
42991         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
42992         * sysdeps/nptl/lowlevellock-futex.h: New file.
42994         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
42995         Remove dead declarations.
42997 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
42999         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43000         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43001         config-cflags-avx2.
43002         * sysdeps/x86_64/configure.ac: Likewise.
43003         * sysdeps/i386/configure: Regenerated.
43004         * sysdeps/x86_64/configure: Likewise.
43005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43006         memset-avx2 only if config-cflags-avx2 is yes.
43007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43008         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43009         defined.
43010         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43011         only if HAVE_AVX2_SUPPORT is defined.
43012         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43014 2014-07-14  Alan Modra  <amodra@gmail.com>
43016         [BZ #17153]
43017         * elf/elf.h (DT_PPC64_NUM): Correct value.
43018         * NEWS: Add to fixed bug list.
43020 2014-07-13  Jim Meyering  <meyering@fb.com>
43022         [BZ 17150]
43023         regex: don't deref NULL upon heap allocation failure
43024         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43025         failure in one more place.
43026         To trigger the segfault, configure grep -with-included-regex,
43027         build it, and run these commands:
43028         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43030 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43032         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43034 2014-07-11  Richard Henderson  <rth@redhat.com>
43036         * sysdeps/aarch64/libm-test-ulps: Update.
43038 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43040         [BZ #17135]
43041         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43042         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43043         (__nptl_setxid): Initialize error member.  Call
43044         __nptl_setxid_error.
43045         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43046         * nptl/descr.h (struct xid_command): Add error member.
43047         * nptl/tst-setuid3.c: New file.
43048         * nptl/Makefile (tests): Add it.
43050 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
43053         New define.
43054         (__lll_trylock): Use __lll_base_trylock.
43055         (__lll_cond_trylock): Likewise.
43057 2014-07-10  Roland McGrath  <roland@hack.frob.com>
43059         * nptl/pthread_create.c (start_thread): Use atomic_or and
43060         lll_futex_wake directly rather than lll_robust_dead.
43061         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43062         (lll_robust_dead): Macro removed.
43063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
43064         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43066         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43067         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43068         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43069         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43070         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43071         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43073         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43074         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43076         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43077         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43079         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
43080         Use atomic_compare_and_exchange_val_acq directly rather than
43081         lll_robust_trylock.
43082         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
43083         (__lll_robust_trylock, lll_robust_trylock): Removed.
43084         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
43085         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
43086         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43088         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
43089         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
43090         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
43092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43093         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43094         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43095         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43096         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43099 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43101         * manual/locale.texi (Locale Names): New section documenting
43102         locale name syntax.  Adjust menu and node chaining accordingly.
43103         (Choosing Locale): Reference Locale Names, Locale Categories.
43104         Mention setting LC_ALL=C.  Reflect that name syntax is now
43105         documented.
43106         (Locale Categories): New section title.  Reference Locale Names.
43107         LC_ALL is an environment variable, but not a category.
43108         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
43109         description, now in Locale Name.  Reference that section.  Locale
43110         name syntax is now documented.
43112 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43114         [BZ #17137]
43115         * locale/findlocale.c (name_present, valid_locale_name): New
43116         functions.
43117         (_nl_find_locale): Use the loc_name variable to store name
43118         candidates.  Call name_present and valid_locale_name to check and
43119         validate locale names.  Return an error if the locale is invalid.
43121 2014-07-02  Florian Weimer  <fweimer@redhat.com>
43123         * locale/setlocale.c (setlocale): Use strdup for allocating
43124         composite name copy.
43126 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43128         Sync up with gnulib.
43129         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
43130         [!_LIBC && ENABLE_NLS]: Include gettext.h.
43131         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
43132         and _GL_ARG_NONNULL.
43133         [USE_UNLOCKED_IO]: Include unlocked-io.h.
43134         [!_LIBC]: Include code for Windows and Cygwin.
43135         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
43136         Include prototype for int strerror_r.
43137         [!_LIBC] (is_open): New function.
43138         (flush_stdout): New function.
43139         (print_errno_message): Use it.
43140         (error): Likewise.
43141         (error_at_line): Likewise.
43142         (error_tail) Add function attribute macros.  Use
43143         __builtin_expect.
43145         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
43147         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
43149         * io/ftw.c: Include sys/param.h unconditionally.
43151         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
43153         [BZ #17125]
43154         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
43155         libc_freeres_ptr.
43156         (freecache): New function to free CACHE on exit.
43158         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
43159         initialization.
43161 2014-07-09  David S. Miller  <davem@davemloft.net>
43163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43165         * sysdeps/sparc/nptl/internaltypes.h: Delete.
43166         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
43167         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
43168         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
43169         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
43170         * sysdeps/sparc/nptl/sem_init.c: Likewise.
43171         * sysdeps/sparc/nptl/sem_post.c: Likewise.
43172         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
43173         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
43174         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
43175         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
43176         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
43177         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
43179 2014-07-09  Andreas Schwab  <schwab@suse.de>
43181         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
43182         output.
43183         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
43184         (do_test): Likewise.
43186         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43188 2014-07-09  Will Newton  <will.newton@linaro.org>
43190         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
43191         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
43192         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
43193         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
43194         * sysdeps/hppa/start.S (_start): Likewise.
43196 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43198         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
43200         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
43201         defined.
43203 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43205         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
43206         after checking that it is non-NULL.
43208         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
43210 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43212         * sysdeps/powerpc/memmove.c: Remove file.
43213         * sysdeps/powerpc/powerpc32/power4/memcopy.h
43214         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
43215         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
43216         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
43217         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
43218         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
43219         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
43220         string memmove instead of removed powerpc one.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43223         [weak_alias]: Fix compiler warning due trailing data.
43224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
43225         [weak_alias]: Likewise.
43226         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
43227         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
43229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43230         (__libc_ifunc_impl_list): Add memmove functions.
43232 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43234         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
43235         Remove code.
43236         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
43237         Likewise.
43238         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
43239         Likewise.
43240         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
43241         Likewise.
43242         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
43243         Likewise.
43244         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
43245         Likewise.
43246         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
43247         Likewise.
43248         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
43249         Likewise.
43250         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
43251         Likewise.
43252         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
43253         Likewise.
43254         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
43255         Likewise.
43256         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
43257         Likewise.
43258         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
43259         Likewise.
43260         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
43261         Likewise.
43262         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
43263         Likewise.
43264         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
43265         Likewise.
43266         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
43267         Likewise.
43269 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43271         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
43272         to avoid alignment traps in non-cacheable memory.
43273         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43276         multiarch objects.
43277         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
43278         file: multiarch power7 memmove.
43279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
43280         multiarch default memmove.
43281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
43282         multiarch memove for powerpc32/power4.
43284         * string/bcopy.c: Use full path to include memmove.c.
43285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
43286         multiarch objects.
43287         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
43288         bcopy for powerpc64.
43289         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
43290         bcopy for powerpc64.
43291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
43292         and memmove implementations.
43293         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
43294         optimized multiarch memmove for POWER7/powerpc64.
43295         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
43296         default multiarch memmove for powerpc64.
43297         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
43298         multiarch for powerpc64.
43299         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
43300         for POWER7/powerpc64.
43301         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
43302         memmove for POWER7/powerpc64.
43304         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
43305         glibc default one.
43307         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
43308         __ELF_NATIVE_CLASS equal to 64.
43310 2014-07-07  Roland McGrath  <roland@hack.frob.com>
43312         * sysdeps/nptl/lowlevellock.h: File removed.
43314         * NEWS: NPTL is no longer an add-on!
43315         * nptl/internaltypes.h: Moved ...
43316         * sysdeps/nptl/internaltypes.h: ... here.
43317         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
43318         * sysdeps/nptl/fork.c: Likewise.
43319         * sysdeps/nptl/gai_misc.h: Likewise.
43320         * sysdeps/nptl/librt-cancellation.c: Likewise.
43321         * sysdeps/nptl/jmp-unwind.c: Likewise.
43322         * sysdeps/nptl/setxid.h: Likewise.
43323         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
43324         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
43325         * sysdeps/unix/sysv/linux/arm/Implies: New file.
43326         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
43327         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
43328         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
43329         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
43330         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
43331         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
43332         * sysdeps/unix/sysv/linux/mips/Implies: New file.
43333         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
43334         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
43335         * sysdeps/unix/sysv/linux/sh/Implies: New file.
43336         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
43337         * sysdeps/unix/sysv/linux/tile/Implies: New file.
43338         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
43339         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
43340         * nptl/Makeconfig: Moved ...
43341         * sysdeps/nptl/Makeconfig: ... here.
43342         * nptl/configure: File removed.
43343         * nptl/ANNOUNCE: File removed.
43344         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
43345         * sysdeps/unix/sysv/linux/configure: Regenerated.
43347         * nptl/Makefile (routines): Add libc_pthread_init,
43348         libc_multiple_threads, register-atfork and unregister-atfork.
43349         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
43350         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
43351         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
43352         pthread-pi-defines.sym, structsem.sym.
43353         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
43354         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
43355         [$(subdir) = nptl] (tests): Add tst-setgetname.
43356         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
43357         * sysdeps/unix/sysv/linux/sigaction.c: Just include
43358         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
43359         [!LIBC_SIGACTION]: Remove aliases.
43360         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43361         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43362         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43363         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
43364         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43365         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
43366         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43368         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43369         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
43370         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
43371         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
43372         __libc_allocate_rtsig_private.
43373         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
43374         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
43375         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
43376         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
43377         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
43378         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
43379         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
43380         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
43381         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
43382         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
43383         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
43384         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
43385         * nptl/internaltypes.h: ... here.
43386         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
43387         * sysdeps/nptl/jmp-unwind.c: ... here.
43388         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
43389         * nptl/libc-lowlevellock.c: ... here.
43390         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
43391         * nptl/libc_multiple_threads.c: ... here.
43392         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
43393         * nptl/libc_pthread_init.c: ... here.
43394         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
43395         * nptl/lowlevelbarrier.sym: ... here.
43396         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
43397         * nptl/lowlevelcond.sym: ... here.
43398         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
43399         * nptl/lowlevellock.c: ... here.
43400         * nptl/lowlevellock.h: Moved ...
43401         * sysdeps/nptl/lowlevellock.h: ... here.
43402         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
43403         * nptl/lowlevelrobustlock.c: ... here.
43404         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
43405         * nptl/lowlevelrobustlock.sym: ... here.
43406         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
43407         * nptl/lowlevelrwlock.sym: ... here.
43408         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
43409         * nptl/pt-fork.c: ... here.
43410         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
43411         * nptl/pthread-pi-defines.sym: ... here.
43412         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
43413         * nptl/pthread_attr_getaffinity.c: ... here.
43414         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
43415         * nptl/pthread_attr_setaffinity.c: ... here.
43416         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
43417         * nptl/pthread_mutex_cond_lock.c: ... here.
43418         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43419         Update #include.
43420         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
43421         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
43422         * nptl/pthread_once.c: ... here, replacing old file.
43423         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
43424         * nptl/pthread_yield.c: ... here.
43425         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
43426         * nptl/register-atfork.c: ... here.
43427         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
43428         * nptl/sem_post.c: ... here.
43429         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
43430         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
43431         * nptl/sem_timedwait.c: ... here.
43432         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
43433         * nptl/sem_trywait.c: ... here.
43434         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
43435         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
43436         * nptl/sem_wait.c: ... here.
43437         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
43438         * nptl/structsem.sym: ... here.
43439         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
43440         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
43441         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
43442         * nptl/unregister-atfork.c: ... here.
43443         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
43444         * nptl/unwindbuf.sym: ... here.
43445         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
43446         * sysdeps/nptl/fork.c: ... here.
43447         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
43448         * sysdeps/nptl/fork.h: ... here.
43449         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
43450         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
43451         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
43452         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
43453         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
43454         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
43455         * sysdeps/unix/sysv/linux/getpid.c: ... here.
43456         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
43457         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
43458         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
43459         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
43460         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
43461         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
43462         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
43463         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
43464         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
43465         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
43466         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
43467         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
43468         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
43469         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
43470         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
43471         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
43472         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
43473         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
43474         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
43475         * sysdeps/unix/sysv/linux/raise.c: ... here.
43476         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
43477         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
43478         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
43479         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
43480         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
43481         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
43482         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
43483         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
43484         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
43485         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
43486         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
43487         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
43488         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
43489         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
43490         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
43492 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43494         * sysdeps/generic/memcopy.h: Add comment for
43495         MEMCPY_OK_FOR_FWD_MEMMOVE.
43497 2014-07-04  Will Newton  <will.newton@linaro.org>
43499         * string/memchr.c: Merge from gnulib.
43500         [_LIBC]: Remove conditionals.
43501         (__ptr_t): Remove define.
43502         (LONG_MAX_32_BITS): Likewise.
43503         (LONG_MAX): Likewise.
43504         (MEMCHR): Use ANSI prototype and optimize algorithm.
43506         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
43508 2014-07-03  Roland McGrath  <roland@hack.frob.com>
43510         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
43511         (lll_futex_timed_wait_bitset): Fix syscall argument count.
43513         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
43514         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
43515         in a bare environment with no <stdlib.h> installed.
43516         * sysdeps/nptl/configure: Regenerated.
43518         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
43520         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
43521         AC_EGREP_CPP for kernel header checks, so they only succeed if
43522         including <linux/version.h> actually works right.
43523         * sysdeps/unix/sysv/linux/configure: Regenerated.
43525         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
43526         value so it's not diagnosed as unused.
43528         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
43529         thing) with "ifeq ($(subdir),rt)".
43531 2014-07-03  Richard Henderson  <rth@redhat.com>
43533         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
43534         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
43535         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
43537         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
43538         (math_force_eval): New.
43540         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
43541         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
43543         * sysdeps/alpha/fpu/s_round.c: Remove file.
43544         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
43546         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
43547         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
43548         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
43549         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
43550         (_dl_start, print_statistics): Likewise.
43551         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
43552         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
43554         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43555         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43556         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43557         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43559         (HP_SMALL_TIMING_AVAIL): Define.
43560         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43562         (HP_SMALL_TIMING_AVAIL): Define.
43563         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43564         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
43566         * sysdeps/aarch64/hp-timing.h: New file.
43568         * sysdeps/generic/hp-timing.h: Remove dead comment.
43569         * sysdeps/generic/hp-timing-common.h: New file.
43570         * sysdeps/alpha/hp-timing.h: Include it.
43571         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
43572         * sysdeps/i386/i686/hp-timing.h: Likewise.
43573         * sysdeps/ia64/hp-timing.h: Likewise.
43574         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43575         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43576         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43577         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43578         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
43579         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
43580         (hp_timing_t): New.
43582         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
43583         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
43584         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
43585         * elf/rtld.c (_dl_start_final): Likewise.
43586         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
43587         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43588         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43589         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43590         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43591         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43592         (HP_TIMING_DIFF_INIT): Remove.
43593         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
43595         (HP_TIMING_DIFF_INIT): Remove.
43596         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
43597         * sysdeps/i386/i686/hp-timing.c: Remove file.
43598         * sysdeps/x86_64/hp-timing.c: Remove file.
43599         * sysdeps/ia64/hp-timing.c: Remove file.
43600         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
43601         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
43602         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
43603         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
43605         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
43606         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
43607         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
43608         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
43610         (HP_TIMING_ACCUM): Remove.
43611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
43613         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
43615         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
43616         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
43617         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
43618         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
43619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
43620         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
43622         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
43624         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
43626 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
43628         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
43630 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43632         Sync up with gettext.
43633         * intl/loadmsgcat.c: Define O_BINARY if not defined.
43634         [_MSC_VER]: Include malloc.h
43635         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
43636         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
43637         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
43638         TEMP_FAILURE_RETRY.  Cast return of alloca.
43639         [!_LIBC] Call gl_rwlock_init.
43640         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
43642 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43644         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
43645         before checking its value.
43647 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43649         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
43651         * debug/memcpy_chk.c: Don't include pagecopy.h.
43652         * debug/mempcpy_chk.c: Likewise.
43653         * string/memcpy.c: Likewise.
43654         * string/memmove.c: Likewise.
43655         * sysdeps/powerpc/memmove.c: Likewise.
43656         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
43657         definition of PAGE_COPY_FWD_MAYBE here...
43658         * sysdeps/generic/pagecopy.h: ... from here.
43659         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
43661 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43664         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
43665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
43666         optimizations.
43667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43668         (__libc_ifunc_impl_list): Likewise.
43669         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
43670         multiarch strcat for PPC64.
43671         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
43672         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
43674 2014-07-02  Roland McGrath  <roland@hack.frob.com>
43676         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
43678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43680         * intl/loadmsgcat.c: Remove declaration of
43681         get_sysdep_segment_value.
43682         (get_sysdep_segment_value): Use ISO C style.
43683         (_nl_load_domain): Use ISO C style.  Get rid of redundant
43684         semicolon.  Fix typo and formatting in comment.
43685         (_nl_unload_domain): Use ISO C style.
43687         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
43689 2014-07-02  Will Newton  <will.newton@linaro.org>
43691         * malloc/obstack.c: Merge from gnulib master.
43692         [HAVE_CONFIG_H]: Remove conditional code.
43693         [!_LIBC]: Include config.h.
43694         [!ELIDE_CODE]: Don't include inttypes.h, include
43695         stdint.h unconditionally.
43696         (print_and_abort): Mark as _Noreturn.
43697         (_obstack_allocated_p): Mark as __attribute_pure__.
43698         (obstack_free): Rename to __obstack_free.
43699         [!__attribute__]: Remove conditional code.
43700         * malloc/obstack.h: Merge from gnulib master.
43701         [__cplusplus]: Move conditional down.
43702         [!__attribute_pure__]: Define __attribute_pure__ here
43703         if it is not already defined.
43704         (_obstack_memory_used): Mark as __attribute_pure__.
43705         [!__obstack_free]: Define as obstack_free.
43706         [__GNUC__]: Remove check for ancient NeXT gcc.
43708 2014-07-02  Will Newton  <will.newton@linaro.org>
43709             Paul Eggert  <eggert@cs.ucla.edu>
43711         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
43713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43715         * resolv/gethnamaddr.c: Add comment warning that the file is
43716         not maintained.
43718 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
43720         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
43721         entries.
43723         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
43724         entry for aio_cancel and aio_cancel64.
43725         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
43726         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43727         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
43728         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
43729         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
43730         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
43731         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
43732         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
43733         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
43734         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
43735         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
43736         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
43737         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
43739 2014-07-01  Roland McGrath  <roland@hack.frob.com>
43741         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
43742         * nptl/pthread_mutex_lock.c: Likewise.
43743         * nptl/pthread_mutex_timedlock.c: Likewise.
43744         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
43746 2014-07-01  Richard henderson  <rth@redhat.com>
43748         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
43749         (__isnan, __isnanl): Remove.
43750         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
43752         * sysdeps/alpha/fpu/libm-test-ulps: Update.
43754 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43756         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43758 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43760         * resolv/nss_dns/dns-host.c (getanswer_r)
43761         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43763 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
43765         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43766         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
43767         undefine.
43768         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
43769         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
43771 2014-07-01  Roland McGrath <roland@hack.frob.com>
43773         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
43774         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
43776         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
43777         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
43779         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
43780         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43781         ... here.
43782         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
43783         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
43785         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
43786         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
43787         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
43788         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
43790         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
43791         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43792         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
43793         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
43794         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
43795         Moved ...
43796         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
43797         ... here.
43798         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
43799         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
43800         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
43801         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
43802         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
43803         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
43804         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43805         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
43806         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
43807         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
43808         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
43809         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
43810         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
43811         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
43812         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
43813         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
43814         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
43815         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
43816         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
43817         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
43818         ... here.
43819         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
43820         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
43821         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
43822         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
43823         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
43824         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
43825         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
43826         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
43828 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
43830         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
43831         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
43832         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
43833         Add sysdep.
43835 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43839 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43841         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
43842         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43844         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43846         * sysdeps/arm/libm-test-ulps: Regenerated.
43848 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43849             Roland McGrath <roland@hack.frob.com>
43851         * test-skeleton.c (signal_handler): Kill the whole process group
43852         before killing the child individually.
43853         (main): Report any failure on `setpgid'.
43855 2014-06-30  Roland McGrath  <roland@hack.frob.com>
43857         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
43858         from _TLS_H to _ARM_NPTL_TLS_H.
43859         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
43860         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
43862 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
43864         [BZ #16539]
43865         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
43866         (__expm1l): Return argument unchanged when small but not
43867         subnormal.
43869         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
43870         include macro name.
43871         (_FP_UNPACK_RAW_1_P): Likewise.
43872         (_FP_PACK_RAW_1): Likewise.
43873         (_FP_PACK_RAW_1_P): Likewise.
43874         (_FP_MUL_MEAT_1_wide): Likewise.
43875         (_FP_MUL_MEAT_DW_1_hard): Likewise.
43876         (_FP_MUL_MEAT_1_hard): Likewise.
43877         (_FP_DIV_MEAT_1_imm): Likewise.
43878         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
43879         (_FP_DIV_MEAT_1_udiv): Likewise.
43880         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43881         (_FP_UNPACK_RAW_2): Likewise.
43882         (_FP_UNPACK_RAW_2_P): Likewise.
43883         (_FP_PACK_RAW_2): Likewise.
43884         (_FP_PACK_RAW_2_P): Likewise.
43885         (_FP_MUL_MEAT_DW_2_wide): Likewise.
43886         (_FP_MUL_MEAT_2_wide): Likewise.
43887         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
43888         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43889         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
43890         (_FP_MUL_MEAT_2_gmp): Likewise.
43891         (_FP_DIV_MEAT_2_udiv): Likewise.
43892         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
43893         (_FP_FRAC_SRL_4): Likewise.
43894         (_FP_FRAC_SRST_4): Likewise.
43895         (_FP_FRAC_SRS_4): Likewise.
43896         (_FP_UNPACK_RAW_4): Likewise.
43897         (_FP_UNPACK_RAW_4_P): Likewise.
43898         (_FP_PACK_RAW_4): Likewise.
43899         (_FP_PACK_RAW_4_P): Likewise.
43900         (_FP_MUL_MEAT_DW_4_wide): Likewise.
43901         (_FP_MUL_MEAT_4_wide): Likewise.
43902         (_FP_MUL_MEAT_4_gmp): Likewise.
43903         (umul_ppppmnnn): Likewise.
43904         (_FP_DIV_MEAT_4_udiv): Likewise.
43905         (__FP_FRAC_ADD_4): Likewise.
43906         (__FP_FRAC_SUB_3): Likewise.
43907         (__FP_FRAC_SUB_4): Likewise.
43908         (__FP_FRAC_DEC_3): Likewise.
43909         (__FP_FRAC_DEC_4): Likewise.
43910         (__FP_FRAC_ADDI_4): Likewise.
43911         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
43912         (_FP_FRAC_SRL_8): Likewise.
43913         (_FP_FRAC_SRS_8): Likewise.
43915         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
43916         include macro name.
43917         (FP_UNPACK_RAW_EP): Likewise.
43918         (FP_PACK_RAW_E): Likewise.
43919         (FP_PACK_RAW_EP): Likewise.
43920         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
43921         (_FP_ISSIGNAN): Likewise.
43922         (_FP_ADD_INTERNAL): Likewise.
43923         (_FP_FMA): Likewise.
43924         (_FP_CMP): Likewise.
43925         (_FP_SQRT): Likewise.
43926         (_FP_TO_INT): Likewise.
43927         (_FP_FROM_INT): Likewise.
43928         (FP_EXTEND): Likewise.
43929         (_FP_DIV_MEAT_N_loop): Likewise.
43931 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
43933         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
43934         throughout.
43936 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
43938         [BZ #17097]
43939         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
43940         result with correct sign in case of exponents that produce
43941         overflow except for X very close to 1.
43943 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
43945         mktime: merge #if/#ifdef usage from glibc
43946         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
43947         as that works with both Glibc's and Gnulib's style.
43948         See thread starting at Siddhesh Poyarekar's bug report at:
43949         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
43951 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43953         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
43954         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43955         * sysdeps/tile/tilegx/memmove.c: Remove file.
43957 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
43959         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
43960         abi-name definition.
43961         * scripts/soversions.awk: Do not handle or generate ABI lines.
43962         * shlib-versions: Remove ABI entries.
43963         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
43964         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
43966 2014-06-27  Roland McGrath  <roland@hack.frob.com>
43968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
43969         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
43970         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
43975         Moved ...
43976         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
43977         ... here.
43978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
43979         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
43980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
43981         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
43982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
43983         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
43984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
43985         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
43986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
43987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
43988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
43989         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
43990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
43991         Moved ...
43992         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
43993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
43994         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
43995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
43996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
43997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
43998         Moved ...
43999         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44001         Moved ...
44002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44004         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44006         Moved ...
44007         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44009         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44011         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44013         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44015         Moved ...
44016         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44018         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44019         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44020         Moved ...
44021         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44023         Moved ...
44024         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44026         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44027         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44028         Moved ...
44029         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44030         ... here.
44031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44032         Identical file removed.
44033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44034         Moved ...
44035         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44037         Identical file removed.
44038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44039         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44041         Moved ...
44042         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44044         Identical file removed.
44045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44046         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44048         Identical file removed.
44049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
44050         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
44051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
44052         Identical file removed.
44053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
44054         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
44055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
44056         Identical file removed.
44057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
44058         Moved ...
44059         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
44060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
44061         Identical file removed.
44062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
44063         Moved ...
44064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
44065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
44066         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
44067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
44068         Identical file removed.
44069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
44072         ... here.
44073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
44074         Identical file removed.
44075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
44076         Moved ...
44077         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
44078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
44079         Identical file removed.
44080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
44081         Moved ...
44082         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
44083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
44084         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
44085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
44086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
44087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
44088         Moved ...
44089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
44090         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
44091         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
44093         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
44094         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
44095         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
44096         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
44097         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
44099 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
44101         [BZ #17092]
44102         * nscd/nscd.c (monitor_child): Return exit status of child
44103         instead of return value from wait syscall.
44105 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44107         * configure.ac (libc_commonpagesize): Remove variable.
44108         (libc_relro_required): Likewise.
44109         (libc_cv_z_relro): Remove configure test.
44110         * configure: Regenerated.
44111         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
44112         variable.
44113         (libc_relro_required): Likewise.
44114         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
44115         (libc_relro_required): Likewise.
44116         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
44117         (libc_relro_required): Likewise.
44118         * sysdeps/arm/preconfigure: Regenerated.
44119         * sysdeps/ia64/preconfigure: Remove file.
44120         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
44121         variable.
44122         (libc_relro_required): Likewise.
44124         [BZ #16561]
44125         [BZ #16562]
44126         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
44127         (__ieee754_yn): Set FE_TONEAREST mode internally and then
44128         recompute overflowing results in original rounding mode.
44129         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
44130         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
44131         recompute overflowing results in original rounding mode.
44132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
44133         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44134         recompute overflowing results in original rounding mode.
44135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
44136         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44137         recompute overflowing results in original rounding mode.
44138         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
44139         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44140         recompute overflowing results in original rounding mode.
44141         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
44142         (libc_feholdsetround_ctx): New macro.
44143         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
44144         * sysdeps/i386/fpu/libm-test-ulps: Update.
44145         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
44147 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44149         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
44150         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
44151         corresponding .cpsetup call.
44153 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44155         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
44156         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
44157         * sysdeps/arm/Makefile [$(subdir) = csu]
44158         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
44159         (static-only-routines): Add aeabi_read_tp here.
44160         (shared-only-routines): Add libc-aeabi_read_tp here.
44161         (CFLAGS-libc-start.c): Add -fexceptions here.
44162         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
44163         (sysdep_routines, static-only-routines, shared-only-routines):
44164         Don't add to these here.
44165         (CFLAGS-libc-start.c): Likewise.
44167         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
44168         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44169         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
44170         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44171         * sysdeps/arm/Makefile [$(subdir) = rt]
44172         (librt-sysdep_routines, librt-shared-only-routines):
44173         Append rt-aeabi_unwind_cpp_pr1 here.
44174         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
44175         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
44176         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
44177         (libpthread-sysdep_routines, libpthread-shared-only-routines):
44178         Append nptl-aeabi_unwind_cpp_pr1 here.
44179         (tests): Filter out tst-cleanupx4 here.
44180         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
44181         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
44182         Don't do those here.
44184 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44186         * scripts/list-sources.sh: Do not handle ports specially.
44188 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44190         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
44191         * sysdeps/arm/feupdateenv.c: Likewise.
44193         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
44195 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44197         * manual/texinfo.tex: Update to version 2014-05-05.10 with
44198         trailing whitespace removed.
44199         * scripts/config.guess: Update to version 2014-03-23.
44200         * scripts/config.sub: Update to version 2014-05-01
44201         * scripts/install-sh: Update to version 2013-12-25.23.
44202         * scripts/move-if-change: Update from gnulib.
44204 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44206         * debug/memmove_chk.c: Remove pagecopy.h include.
44208 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
44210         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
44211         identical to gnulib mktime.
44213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
44215         * configure.ac: Do not test for machine being rs6000.  Do not test
44216         for powerpc*-*soft.
44217         * configure: Regenerated.
44219         [BZ #11505]
44220         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
44221         test.
44222         * configure: Regenerated.
44223         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
44224         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
44225         Remove configure test.
44226         * sysdeps/arm/configure: Regenerated.
44227         * sysdeps/nptl/configure.ac: Do not check
44228         libc_cv_asm_cfi_directives.
44229         * sysdeps/nptl/configure: Regenerated.
44230         * sysdeps/x86_64/nptl/configure.ac: Remove file.
44231         * sysdeps/x86_64/nptl/configure: Remove generated file.
44232         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
44233         unconditional.
44234         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44236 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44238         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
44239         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
44240         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
44241         it is defined.
44243         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
44244         instead of whether it is defined.
44245         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
44246         * sysdeps/hppa/dl-machine.h: Likewise.
44247         * sysdeps/ia64/dl-machine.h: Likewise.
44248         * sysdeps/m68k/dl-machine.h: Likewise.
44249         * sysdeps/microblaze/dl-machine.h: Likewise.
44250         * sysdeps/mips/dl-machine.: Likewise.
44251         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44252         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44253         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44254         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44255         * sysdeps/sh/dl-machine.h: Likewise.
44256         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44257         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44258         * sysdeps/tile/dl-machine.h: Likewise.
44259         * sysdeps/x86_64/dl-machine.h: Likewise.
44261         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
44262         code.
44263         (verify_persistent_db): Likewise.
44265 2014-06-26  Roland McGrath  <roland@hack.frob.com>
44267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
44268         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
44269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
44270         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
44271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44272         Moved ...
44273         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
44274         ... here.
44275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
44276         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
44277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
44278         Identical file removed.
44279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
44280         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
44281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
44282         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
44283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
44284         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
44285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
44286         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
44287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
44288         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
44289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44290         Moved ...
44291         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
44292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
44293         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
44294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
44295         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
44296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44297         Moved ...
44298         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
44299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
44300         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
44301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
44302         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
44303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44304         Identical file removed.
44305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
44306         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
44307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
44308         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
44309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44310         Moved ...
44311         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
44312         ... here.
44313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
44314         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
44315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
44316         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
44317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
44318         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
44319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
44320         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
44321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
44322         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
44323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44324         Moved ...
44325         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
44326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
44327         Moved ...
44328         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
44329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
44330         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
44331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44332         Moved ...
44333         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
44334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
44335         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
44337         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
44338         folded into ...
44339         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
44340         * sysdeps/unix/sysv/linux/s390/Versions
44341         (libpthread: GLIBC_2.19): New version set.
44342         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
44343         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
44344         (librt: GLIBC_2.3.3): New version set.
44345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
44346         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
44347         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
44348         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
44349         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
44350         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
44351         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
44352         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
44353         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
44355         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
44357         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
44358         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
44359         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
44360         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
44361         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
44362         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
44363         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
44364         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
44365         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
44366         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
44367         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
44369         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
44370         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
44371         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
44372         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
44373         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
44374         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
44375         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
44376         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
44377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
44378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
44379         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
44380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
44381         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
44382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
44383         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
44384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
44385         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
44386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
44387         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
44388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
44389         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
44391         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
44392         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
44393         (__libc_vfork): Define the function under this name.
44394         [!NOT_IN_libc] (__vfork): Make this an alias.
44395         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
44397         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
44398         (__libc_vfork): Define the function under this name.
44399         [!NOT_IN_libc] (__vfork): Make this an alias.
44400         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
44401         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
44402         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
44403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
44404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
44405         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44407         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
44408         code that was previously under [RESET_PID].
44409         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
44410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
44411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
44413         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
44414         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
44415         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
44416         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
44417         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
44418         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
44419         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
44420         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
44421         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
44422         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
44423         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
44424         Moved ...
44425         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
44426         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
44427         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
44428         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
44429         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
44430         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
44431         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
44432         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
44433         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
44434         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
44435         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
44436         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
44437         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
44438         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
44439         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
44440         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
44441         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
44442         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
44443         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
44444         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
44445         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
44446         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
44447         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
44448         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
44449         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
44450         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
44451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
44452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
44453         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
44455 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44457         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
44458         that was previously under [RESET_PID].
44459         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
44461 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44463         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
44464         not undefine and redefine.
44465         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
44466         [O_CLOEXEC]: Make code unconditional.
44467         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
44468         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
44469         <kernel-features.h>.
44470         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
44471         conditional variable definition.
44472         (shm_open) [O_CLOEXEC]: Make code unconditional.
44473         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
44474         code.
44476         * configure.ac (USE_REGPARMS): Don't define here.
44477         * configure: Regenerated.
44478         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
44479         * sysdeps/i386/configure: Regenerated.
44481         * nptl/createthread.c: Don't include kernel-features.h.
44482         * nptl/pthread_cancel.c: Likewise.
44483         * nptl/pthread_condattr_setclock.c: Likewise.
44484         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
44485         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
44486         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
44487         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
44488         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
44489         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
44490         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
44491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
44492         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
44493         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
44494         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
44495         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
44496         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
44497         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
44498         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
44499         * nscd/gai.c: Likewise.
44500         * nss/nss_db/db-open.c: Likewise.
44501         * sysdeps/generic/ldsodefs.h: Likewise.
44502         * sysdeps/sh/nptl/tls.h: Likewise.
44503         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44504         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
44505         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
44506         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
44507         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
44508         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44509         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
44510         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44511         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44512         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
44513         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
44514         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44515         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
44516         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
44517         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
44518         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
44519         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
44520         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
44521         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
44522         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
44523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
44524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
44525         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
44526         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
44527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
44528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
44529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
44530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
44531         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
44532         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
44533         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
44534         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
44535         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
44536         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44537         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44538         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44539         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44540         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
44541         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
44542         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
44543         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44544         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
44545         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
44546         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44547         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
44548         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
44549         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
44550         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
44551         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
44552         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
44553         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
44554         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
44555         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
44556         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44557         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
44558         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44559         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44560         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
44563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
44564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
44565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
44566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
44567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
44572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
44573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
44574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
44575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
44582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
44583         * sysdeps/unix/sysv/linux/pread.c: Likewise.
44584         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
44585         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
44586         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
44587         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
44588         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
44589         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
44590         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
44591         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
44592         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
44593         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
44594         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
44595         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
44596         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
44597         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
44598         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
44599         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44600         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
44601         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
44602         * sysdeps/unix/sysv/linux/system.c: Likewise.
44603         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
44604         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
44605         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44606         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44607         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44608         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44609         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
44611         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
44612         * configure: Regenerated.
44613         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
44615         * configure.ac (base_machine): Do not set specially for particular
44616         machines here.
44617         * configure: Regenerated.
44618         * sysdeps/powerpc/preconfigure: Move machine and base_machine
44619         settings from configure.ac.
44620         * sysdeps/i386/preconfigure: New file.
44621         * sysdeps/s390/preconfigure: Likewise.
44622         * sysdeps/sh/preconfigure: Likewise.
44623         * sysdeps/sparc/preconfigure: Likewise.
44625 2014-06-25  Roland McGrath  <roland@hack.frob.com>
44627         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
44628         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
44629         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
44630         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
44631         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
44632         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
44633         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
44634         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
44635         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
44636         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
44637         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
44638         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
44639         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
44640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
44641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
44642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
44643         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
44644         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
44645         * sysdeps/sparc/sparc64/Makefile: ... appended here.
44647         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
44648         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
44649         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
44650         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
44651         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
44652         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
44653         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
44654         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
44655         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
44656         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
44657         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
44658         * sysdeps/sparc/sparc32/sem_post.c: ... here.
44659         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
44660         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
44661         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
44662         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
44663         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
44664         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
44665         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
44666         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
44667         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
44668         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
44669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
44670         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
44671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
44672         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
44673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
44674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
44675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
44676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
44677         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
44678         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
44679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
44680         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
44681         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
44682         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
44683         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
44684         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
44686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
44687         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
44688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
44689         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
44690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44691         Moved ...
44692         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
44693         ... here.
44694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
44695         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
44696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
44697         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
44698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
44699         Moved ...
44700         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
44701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
44702         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
44703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
44704         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
44705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
44706         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
44707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44708         Moved ...
44709         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44711         Moved ...
44712         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
44713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
44714         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
44715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44716         Moved ...
44717         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
44718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
44719         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
44720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
44721         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
44722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
44723         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
44724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
44725         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
44726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44727         Moved ...
44728         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
44729         ... here.
44730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
44731         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
44732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
44733         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
44734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
44735         Moved ...
44736         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
44737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
44738         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
44739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
44740         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
44741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
44742         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
44746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44747         Moved ...
44748         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
44750         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
44754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
44755         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
44756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
44757         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
44759 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44761         * timezone/checktab.awk: Update from tzcode 2014e.
44762         * timezone/private.h: Likewise.
44763         * timezone/tzfile.h: Likewise.
44764         * timezone/zdump.c: Likewise.
44765         * timezone/zic.c: Likewise.
44767         * sysdeps/unix/sysv/linux/kernel-features.h
44768         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
44769         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
44770         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
44771         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44772         Remove conditional code.
44774 2014-06-25  Will Newton  <will.newton@linaro.org>
44776         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
44777         (_dl_arm_cap_flags): Add HWCAP2 values.
44778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
44779         (_DL_HWCAP_COUNT): Increase to 37.
44780         (_DL_HWCAP_LAST): New define.
44781         (_DL_HWCAP2_LAST): New define.
44782         (_dl_procinfo): Add support for printing
44783         AT_HWCAP2 entries.
44784         (_dl_string_hwcap): Use _dl_hwcap_string.
44786 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44790 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
44792         * README: Do not mention ports directory.
44794         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
44795         Remove macro.
44796         * sysdeps/unix/sysv/linux/futimes.c: Do not include
44797         <kernel-features.h>.
44798         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
44799         conditional variable definition.
44800         (__futimes): Update comment.
44801         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
44802         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
44804         [BZ #16560]
44805         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
44806         arguments close to 0.
44807         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
44808         Likewise.
44809         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
44810         Likewise.
44811         * math/auto-libm-test-in: Add more tests of exp10.
44812         * math/auto-libm-test-out: Regenerated.
44813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44815         * sysdeps/unix/sysv/linux/kernel-features.h
44816         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
44817         * sysdeps/unix/sysv/linux/readv.c: Do not include
44818         <kernel-features.h>.
44819         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44820         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44821         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44822         unconditional.
44823         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44824         conditional code.
44825         * sysdeps/unix/sysv/linux/writev.c: Do not include
44826         <kernel-features.h>.
44827         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
44828         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
44829         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
44830         unconditional.
44831         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
44832         conditional code.
44834 2014-06-25  Will Newton  <will.newton@linaro.org>
44836         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
44837         comment changes throughout the file.  Remove checks
44838         for HAVE_*_H definitions that are not required.
44839         (__gen_tempname): Call abort if an unknown kind value is
44840         passed.
44842 2014-06-25  Andreas Schwab  <schwab@suse.de>
44844         [BZ #17086]
44845         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
44846         scalbln, scalblnf, scalblnl in libc.
44848 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44850         [BZ #17086]
44851         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
44852         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44853         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44855 2014-06-24  Roland McGrath  <roland@hack.frob.com>
44857         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
44858         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
44859         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
44860         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
44861         Update #include.
44862         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
44863         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
44864         Update #include.
44865         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
44866         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
44867         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
44868         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
44869         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
44870         * sysdeps/x86/bits/pthreadtypes.h: ... here.
44871         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
44872         * sysdeps/x86/bits/semaphore.h: ... here.
44873         * sysdeps/x86/nptl/elide.h: Moved ...
44874         * sysdeps/x86/elide.h: ... here.
44875         * sysdeps/x86_64/nptl/Implies: File removed.
44876         * sysdeps/i386/nptl/Implies: File removed.
44878 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
44880         [BZ #16539]
44881         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
44882         return the argument for normal arguments with exponent below -64.
44883         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44884         Likewise.
44885         * math/auto-libm-test-in: Add another test of expm1.
44886         * math/auto-libm-test-out: Regenerated.
44888         [BZ #16287]
44889         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
44890         calling __erfcl for arguments at least 16.
44891         * math/auto-libm-test-in: Add more tests of erf.
44892         * math/auto-libm-test-out: Regenerated.
44894         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
44895         individual architectures.
44896         * sysdeps/unix/sysv/linux/configure: Regenerated.
44897         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
44898         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
44899         * sysdeps/unix/sysv/linux/powerpc/configure.ac
44900         (ldd_rewrite_script): Define variable.
44901         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
44903         file.
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
44905         generated file.
44906         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
44907         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
44908         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
44909         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
44910         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
44911         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
44912         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
44913         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
44915 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44917         [BZ #17084]
44918         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
44919         Rename member __data.d to __data.__elision_data.
44921 2014-06-24  Wilco  <wdijkstr@arm.com>
44923         * NEWS: Add 16918 to fixed bug list.
44925 2014-06-24  Wilco  <wdijkstr@arm.com>
44927         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
44929 2014-06-24  Wilco  <wdijkstr@arm.com>
44931         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
44932         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
44933         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
44934         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
44935         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
44936         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
44937         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
44938         Use _FPU_MASK_RM.
44940 2014-06-24  Wilco  <wdijkstr@arm.com>
44942         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
44944 2014-06-24  Wilco  <wdijkstr@arm.com>
44946         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
44947         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
44948         * sysdeps/arm/fesetround.c (fesetround): Remove space.
44949         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
44951 2014-06-24  Wilco  <wdijkstr@arm.com>
44953         [BZ #16918]
44954         * sysdeps/arm/feupdateenv.c (feupdateenv):
44955         Rewrite to reduce FPSCR accesses and fix return value.
44957 2014-06-24  Wilco  <wdijkstr@arm.com>
44959         * sysdeps/arm/fclrexcpt.c (feclearexcept):
44960         Optimize to avoid unnecessary FPSCR writes.
44961         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
44962         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
44963         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
44964         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
44966 2014-06-24  Wilco  <wdijkstr@arm.com>
44968         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
44969         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
44970         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
44971         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
44972         Call libc_fetestexcept_vfp.
44973         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
44974         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
44975         __SOFTFP__ ifdef so that they can be built for softfp.
44977 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44979         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
44980         argument type signed char.
44982         * Makerules (check-abi): Dump diff of symlist if the test
44983         fails.
44985 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44987         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
44988         using abort.
44990         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44991         Remove unused variable ST.
44993 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44995         [BZ #16354]
44996         [BZ #17061]
44997         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
44998         small arguments before calling __expm1.
44999         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45000         small arguments before calling __expm1f.
45001         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45002         small arguments before calling __expm1l.
45003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45004         Likewise.
45005         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45006         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45007         spurious underflow for some cosh tests.
45008         * math/auto-libm-test-out: Regenerated.
45009         * sysdeps/i386/fpu/libm-test-ulps: Update.
45011         [BZ #17050]
45012         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45013         (__ieee754_y1): Set errno if return value overflows.
45014         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45015         (__ieee754_y1f): Set errno if return value overflows.
45016         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45017         (__ieee754_y1l): Set errno if return value overflows.
45018         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45019         (__ieee754_y1l): Set errno if return value overflows.
45020         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45021         * math/auto-libm-test-out: Regenerated.
45023         * math/gen-auto-libm-tests.c: Document use of
45024         ignore-zero-inf-sign.
45025         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45026         (input_flags): Add ignore-zero-inf-sign.
45027         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45028         * math/gen-libm-test.pl (generate_testfile): Handle
45029         ignore-zero-inf-sign.
45030         * math/auto-libm-test-in: Mark some cpow tests with
45031         ignore-zero-inf-sign and some with xfail-rounding.
45032         * math/auto-libm-test-out: Regenerated.
45033         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45034         * sysdeps/i386/fpu/libm-test-ulps: Update.
45035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45037         [BZ #16315]
45038         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45039         overflowing or underflowing operations take place with sign of
45040         result.
45041         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45042         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45043         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45044         (__ieee754_pow): Recompute overflowing and underflowing results in
45045         original rounding mode.
45046         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45047         (__powl_helper): Allow negative argument X and scale negated value
45048         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45049         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
45050         overflowing or underflowing operations take place with sign of
45051         result.
45052         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
45053         Include <math.h>.
45054         * math/auto-libm-test-in: Add more tests of pow.
45055         * math/auto-libm-test-out: Regenerated.
45056         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
45057         (pow_tonearest_test_data): Remove.
45058         (pow_test_tonearest): Likewise.
45059         (pow_towardzero_test_data): Likewise.
45060         (pow_test_towardzero): Likewise.
45061         (pow_downward_test_data): Likewise.
45062         (pow_test_downward): Likewise.
45063         (pow_upward_test_data): Likewise.
45064         (pow_test_upward): Likewise.
45065         (main): Don't call removed functions.
45066         * sysdeps/i386/fpu/libm-test-ulps: Update.
45067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45069 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
45072         Moved ...
45073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
45074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45075         Moved ...
45076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
45077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45078         Moved ...
45079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45081         Moved ...
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45084         File removed.
45085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45086         File removed.
45087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
45088         File removed.
45089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
45090         File removed.
45091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
45092         File removed.
45093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
45094         File removed.
45095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
45096         File removed.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45098         File removed.
45099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
45100         File removed.
45101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45102         File removed.
45103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
45104         File removed.
45105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
45106         File removed.
45107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
45108         Moved ...
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
45110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
45111         Moved ...
45112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
45113         ... here.
45114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
45115         Moved ...
45116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
45117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
45118         Moved ...
45119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
45120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
45121         Moved ...
45122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
45123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
45124         Moved ...
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
45126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
45127         Moved ...
45128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
45129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
45130         Moved ...
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
45133         Moved ...
45134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
45137         ... here.
45138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
45139         Moved ...
45140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
45141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45142         Moved ...
45143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
45144         ... here.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
45146         Moved ...
45147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
45148         ... here.
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45150         Moved ...
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
45152         ... here.
45153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45154         Moved ...
45155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
45156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45157         Moved ...
45158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
45159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
45160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
45161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45162         Moved ...
45163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
45164         ... here.
45165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45166         Moved ...
45167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
45168         ... here.
45169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45170         Moved ...
45171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
45172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45173         Moved ...
45174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
45175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45176         Moved ...
45177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45179         Moved ...
45180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45182         Moved ...
45183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
45184         ... here.
45185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45186         Moved ...
45187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
45188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45189         Moved ...
45190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
45191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45192         Moved ...
45193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
45194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45195         Moved ...
45196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
45197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
45198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
45199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45200         Moved ...
45201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
45202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45203         Moved ...
45204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
45205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45206         Moved ...
45207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
45208         ... here.
45209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45210         Moved ...
45211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
45212         ... here.
45213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45214         Moved ...
45215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
45216         ... here.
45217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45218         Moved ...
45219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
45220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45221         Moved ...
45222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
45223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45224         Moved ...
45225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45227         Moved ...
45228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
45229         ... here.
45230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45231         Moved ...
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
45233         ... here.
45234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45235         Moved ...
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
45237         ... here.
45238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45239         Moved ...
45240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45242         Moved ...
45243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
45245 2014-06-23  Will Newton  <will.newton@linaro.org>
45246             Wilco  <wdijkstr@arm.com>
45248         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
45249         implementation.  Include get-rounding-mode.h.
45250         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
45251         [!libc_feholdsetround_noex_ctx]: Define
45252         libc_feholdsetround_noex_ctx.
45253         [!libc_feholdsetround_noexf_ctx]: Define
45254         libc_feholdsetround_noexf_ctx.
45255         [!libc_feholdsetround_noexl_ctx]: Define
45256         libc_feholdsetround_noexl_ctx.
45257         (libc_feholdsetround_ctx): New function.
45258         (libc_feresetround_ctx): New function.
45259         (libc_feholdsetround_noex_ctx): New function.
45260         (libc_feresetround_noex_ctx): New function.
45262 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45264         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
45265         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
45266         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
45267         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
45268         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
45269         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
45271         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
45272         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
45273         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
45274         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
45275         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
45276         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
45277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
45278         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
45279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
45280         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
45282         Moved ...
45283         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
45284         ... here.
45285         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
45286         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
45287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
45288         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
45289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
45290         Moved ...
45291         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
45292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
45293         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
45294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
45297         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
45298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
45299         Moved ...
45300         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
45301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
45302         Moved ...
45303         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
45304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
45305         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
45307         Moved ...
45308         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
45310         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
45311         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
45312         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
45313         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
45314         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
45315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
45316         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
45317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
45318         Moved ...
45319         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
45320         ... here.
45321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
45322         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
45323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
45324         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
45325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
45326         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
45327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
45328         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
45329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
45330         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
45331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
45332         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
45333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
45334         Moved ...
45335         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
45336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
45337         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
45338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
45339         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
45344         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
45346         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
45348         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
45349         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
45350         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
45351         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
45352         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
45353         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
45354         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
45355         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
45356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
45357         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
45358         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
45359         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
45360         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
45361         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
45362         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
45363         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
45364         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
45365         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
45366         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
45367         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
45368         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
45369         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
45370         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
45371         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
45372         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
45373         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
45374         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
45375         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
45377 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45379         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
45380         (FALLOC_FL_COLLAPSE_RANGE): New macro.
45381         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
45382         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
45383         (IPV6_PMTUDISC_INTERFACE): Likewise.
45384         (IPV6_PMTUDISC_OMIT): Likewise.
45386 2014-06-23  Andreas Schwab  <schwab@suse.de>
45388         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
45389         Remove unused errout label.
45391 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45393         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
45394         macro: hardware supports Vector Crypto instructions.
45396 2014-06-23  Will Newton  <will.newton@linaro.org>
45398         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
45399         rather than __builtin_expect.
45401         * elf/dl-lookup.c (undefined_msg): Remove variable.
45402         (_dl_lookup_symbol_x): Replace undefined_msg with string
45403         literal.
45405         * elf/dl-lookup.c (do_lookup_unique): New function.
45406         (do_lookup_x): Move STB_GNU_UNIQUE handling code
45407         to a separate function.
45409 2014-06-23  Andreas Schwab  <schwab@suse.de>
45411         [BZ #17079]
45412         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
45413         before reading the next line.
45415 2014-06-23  Will Newton  <will.newton@linaro.org>
45417         * test-skeleton.c (signal_handler): Use printf and %m
45418         rather than perror.  Use printf rather than fprintf to
45419         stderr.  Use puts rather than fputs to stderr.
45420         (main): Likewise.
45422 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
45424         * nscd/nscd.c (thread_info_t): Remove typedef.
45425         (thread_info): Remove variable.
45427 2014-06-21  Allan McRae  <allan@archlinux.org>
45429         * NEWS: Mention CVE-2014-4043.
45431 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45433         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
45434         * nptl/smp.h: ... here.
45436         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
45438         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
45439         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
45440         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
45441         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45443         * nptl/allocatestack.c: Include <stack-aliasing.h>.
45444         * nptl/stack-aliasing.h: New file.
45445         * sysdeps/i386/i686/stack-aliasing.h: New file.
45446         * sysdeps/i386/i686/nptl/Makefile: File removed.
45447         * sysdeps/x86_64/stack-aliasing.h: New file.
45448         * sysdeps/x86_64/nptl/Makefile
45449         (CFLAGS-pthread_create.c): Variable removed.
45451         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
45452         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
45453         old file.
45454         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
45455         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
45456         old file.
45458 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
45460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45461         (__ASSUME_SIGFRAME_V2): Remove macro.
45462         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
45463         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
45464         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
45465         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45466         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
45467         Declare as function.  Remove conditional macro definitions.
45468         (__default_rt_sa_restorer): Likewise.
45469         (__default_sa_restorer_v1): Remove declaration.
45470         (__default_sa_restorer_v2): Likewise.
45471         (__default_rt_sa_restorer_v1): Likewise.
45472         (__default_rt_sa_restorer_v2): Likewise.
45473         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
45474         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45475         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
45477 2014-06-20  Roland McGrath  <roland@hack.frob.com>
45479         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45480         (libpthread-routines): Add sysdep.
45481         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
45482         * sysdeps/unix/sysv/linux/sparc/Versions
45483         (libpthread: GLIBC_2.3.3): New version set.
45484         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45485         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
45486         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
45487         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
45488         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
45489         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
45490         Moved ...
45491         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
45492         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45493         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
45494         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
45495         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
45496         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
45497         * sysdeps/sparc/nptl/sem_init.c: ... here.
45498         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
45499         * sysdeps/sparc/nptl/sem_post.c: ... here.
45500         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
45501         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45502         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
45503         * sysdeps/sparc/nptl/sem_wait.c: ... here.
45504         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
45505         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
45506         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
45507         (libpthread-routines): Add cpu_relax.
45508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
45509         File removed.
45510         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
45511         (librt: GLIBC_2.3.3): New version set.
45512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
45513         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
45514         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
45515         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
45516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
45517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
45518         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
45519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45520         Moved ...
45521         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
45522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
45523         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
45525         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
45526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
45527         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
45528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
45529         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
45530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
45531         Moved ...
45532         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
45533         Update #include.
45534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
45535         Moved ...
45536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
45537         Update #include.
45538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
45539         Moved ...
45540         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
45541         Update #include.
45542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
45543         Moved ...
45544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
45545         Update #include.
45546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
45547         Moved ...
45548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
45549         Update #include.
45550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
45551         Moved ...
45552         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
45553         Update #include.
45554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
45555         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
45556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
45557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
45558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
45559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
45560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
45561         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
45562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
45563         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
45564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45565         Moved ...
45566         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
45567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
45568         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
45569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
45570         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
45572 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45574         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
45575         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
45576         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45577         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
45578         * nscd/nscd.c: Likewise.
45579         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
45580         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
45581         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
45582         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
45584         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
45585         <kernel-features.h>.
45586         (init_mq_netlink): Remove conditional have_sock_cloexec
45587         definitions.  Remove code conditional on have_sock_cloexec < 0.
45588         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
45589         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
45590         * sysdeps/unix/sysv/linux/opensock.c: Do not include
45591         <kernel-features.h>.
45592         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
45593         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
45595 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45598         Add tests for memset_chk and memset.
45600         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
45601         with AVX2_Usable.
45603 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45605         [BZ #16046]
45606         * elf/tst-dl-iter-static.c: New file.
45607         * elf/Makefile (tests-static): Add tst-dl-iter-static.
45609         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
45610         error.
45612 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45614         * sysdeps/unix/sysv/linux/kernel-features.h
45615         (__ASSUME_F_GETOWN_EX): Remove macro.
45616         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
45617         <kernel-features.h>.
45618         (miss_F_GETOWN_EX): Remove variable or macro.
45619         (do_fcntl): Do not check miss_F_GETOWN_EX.
45620         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
45622         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
45623         Remove macro.
45624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
45625         [!__ASSUME_AT_RANDOM]: Remove conditional code.
45626         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
45628         * sysdeps/unix/sysv/linux/kernel-features.h
45629         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
45630         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
45631         [ADJ_OFFSET_SS_READ]: Make code unconditional.
45632         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
45634 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
45636         [BZ #17075]
45637         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
45638         Fix calculation of the symbol's value.
45639         * sysdeps/arm/tst-armtlsdescloc.c: New file.
45640         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
45641         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
45642         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
45643         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
45644         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
45645         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
45646         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
45647         (modules-names): Add `tst-armtlsdescmod',
45648         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
45649         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
45650         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45651         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
45652         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
45653         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
45654         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
45655         ($(objpfx)tst-armtlsdescloc): New dependency.
45656         ($(objpfx)tst-armtlsdescextnow): Likewise.
45657         ($(objpfx)tst-armtlsdescextlazy): Likewise.
45658         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
45659         TLS scheme support.
45660         * sysdeps/arm/configure: Regenerate.
45662 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
45664         * include/fcntl.h (__atfct_seterrno): Remove prototype.
45665         (__atfct_seterrno_2): Likewise.
45666         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
45667         <kernel-features.h>.
45668         (__ASSUME_ATFCTS): Do not undefine and redefine.
45669         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45670         (__have_atfcts): Remove conditional definition.
45671         (__fxstatat([__NR_fstatat64]: Make code unconditional.
45672         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
45673         unreachable if [__ASSUME_ATFCTS].
45674         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
45675         not undefine and redefine.
45676         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
45677         <kernel-features.h>.
45678         (faccessat) [__NR_faccessat]: Make code unconditional.
45679         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
45680         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
45681         <kernel-features.h>.
45682         (fchmodat) [__NR_fchmodat]: Make code unconditional.
45683         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45684         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
45685         <kernel-features.h>.
45686         (fchownat) [__NR_fchownat]: Make code unconditional.
45687         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
45688         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
45689         <kernel-features.h>.
45690         (futimesat) [__NR_futimesat]: Make code unconditional.
45691         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
45692         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45693         <kernel-features.h>.
45694         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45695         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45696         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45697         <kernel-features.h>.
45698         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
45699         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45700         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
45701         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45702         <kernel-features.h>.
45703         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
45704         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45705         * sysdeps/unix/sysv/linux/linkat.c: Do not include
45706         <kernel-features.h>.
45707         (linkat) [__NR_linkat]: Make code unconditional.
45708         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45709         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
45710         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
45711         <kernel-features.h>.
45712         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
45713         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
45714         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
45715         <kernel-features.h>.
45716         (mkdirat) [__NR_mkdirat]: Make code unconditional.
45717         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
45718         * sysdeps/unix/sysv/linux/openat.c: Do not include
45719         <kernel-features.h>.
45720         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
45721         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
45722         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
45723         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
45724         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
45725         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
45726         <kernel-features.h>.
45727         (readlinkat) [__NR_readlinkat]: Make code unconditional.
45728         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
45729         result of INLINE_SYSCALL directly, not via int variable.
45730         * sysdeps/unix/sysv/linux/renameat.c: Do not include
45731         <kernel-features.h>.
45732         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
45733         (renameat) [__NR_renameat]: Make code unconditional.
45734         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
45735         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
45736         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
45737         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
45738         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
45739         (__ASSUME_ATFCTS): Do not undefine and redefine.
45740         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
45741         <kernel-features.h>.
45742         (symlinkat) [__NR_symlinkat]: Make code unconditional.
45743         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45744         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
45745         <kernel-features.h>.
45746         (unlinkat) [__NR_unlinkat]: Make code unconditional.
45747         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
45748         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
45749         (__ASSUME_ATFCTS): Do not undefine and redefine.
45750         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45751         <kernel-features.h>.
45752         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
45753         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
45754         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45755         <kernel-features.h>.
45756         (__xmknodat) [__NR_mknodat]: Make code unconditional.
45757         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
45759 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
45761         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
45763 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
45765         [BZ #17069]
45766         * posix/regcomp.c (parse_reg_exp): Deallocate partially
45767         constructed tree before returning error.
45768         * posix/bug-regexp36.c: Expand test case.
45770 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
45772         [BZ #6803]
45773         * math/libm-test.inc (scalbln_test_date):
45774         Add errno expectations.
45775         * math/w_scalblnf.c: New File.
45776         Add wrapper which checks for setting errno to ERANGE.
45777         Add weak_alias for corresponding scalbln function.
45778         * math/w_scalbln.c: Likewise.
45779         * math/w_scalblnl.c: Likewise.
45780         * math/Makefile (libm-calls): Add w_scalbln.
45781         * sysdeps/ieee754/flt-32/s_scalblnf.c:
45782         Remove weak_alias for corresponding scalbln function.
45783         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45785         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45787         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
45788         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45789         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
45790         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45791         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
45792         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
45793         Remove long_double_symbol for scalblnl function in libm, libc.
45794         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
45795         Add wrapper which checks for setting errno to ERANGE.
45796         Add long_double_symbol for scalblnl function in libm, libc.
45797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
45798         Remove long_double_symbol for scalblnl in libm.
45799         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
45800         Add wrapper which checks for setting errno to ERANGE.
45801         Add long_double_symbol for scalblnl function in libm.
45802         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
45803         Do not use wrapper because of own implementation.
45805 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
45807         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
45808         3 bytes for __pad1 for x32.
45809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
45811 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
45812             H.J. Lu  <hongjiu.lu@intel.com>
45814         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
45815         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
45816         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45817         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45818         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
45820 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
45822         [BZ #17069]
45823         * posix/regcomp.c (parse_expression): Deallocate partially
45824         constructed tree before returning error.
45825         * posix/Makefile.c (tests): Add bug-regex36.
45826         (generated): Add bug-regex36.mtrace.
45827         (tests-special): Add $(objpfx)bug-regex36-mem.out
45828         (bug-regex36-ENV): New variable.
45829         ($(objpfx)bug-regex36-mem.out): New rule.
45830         * posix/bug-regex36.c: New file.
45832 2014-06-19  Will Newton  <will.newton@linaro.org>
45834         * malloc/malloc.c (systrim): If extra is zero then return
45835         early.
45837 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45839         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
45841 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
45843         * sysdeps/aarch64/strchr.S: New file.
45845 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45847         [BZ #17022]
45848         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
45849         from arguments -2 or below.
45850         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45851         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
45853 2014-06-18  Andreas Schwab  <schwab@suse.de>
45855         [BZ #17062]
45856         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
45857         of a bracket expr not to run off the end of the string.
45858         * posix/Makefile (tests): Add tst-fnmatch3.
45859         * posix/tst-fnmatch3.c: New file.
45861 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
45863         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
45864         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45865         [$(cross-compiling) = no]: Likewise.
45866         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45867         [$(cross-compiling) = no]: Likewise.
45869 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45871         [BZ #17031]
45872         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
45873         double, adjusted for any remainder from the high double.
45874         * math/libm-test.inc (nearbyint): Add tests.
45875         (rint): Likewise.
45877 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45879         * nptl/sysdeps/powerpc/Makefile: Moved ...
45880         * sysdeps/powerpc/nptl/Makefile: ... here.
45881         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
45882         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
45883         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
45884         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
45885         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
45886         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
45887         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
45888         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
45889         * nptl/sysdeps/powerpc/tls.h: Moved ...
45890         * sysdeps/powerpc/nptl/tls.h: ... here.
45892 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
45894         [BZ #16681]
45895         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
45896         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
45897         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
45898         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
45899         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
45900         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
45901         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
45902         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
45903         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
45905 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
45907         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45909 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
45911         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
45912         defined operator.
45914         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
45915         $TIMEOUTFACTOR.
45917 2014-06-16  Florian Weimer  <fweimer@redhat.com>
45919         [BZ #17058]
45920         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
45921         non-executed part of the test.
45923 2014-06-16  Andreas Schwab  <schwab@suse.de>
45925         * string/bits/string2.h (strdup, strndup): Update feature guard.
45927 2014-06-14  David S. Miller  <davem@davemloft.net>
45929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45931 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
45933         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
45934         that was previously under [RESET_PID].
45935         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
45937         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
45938         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
45939         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
45940         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45941         (__libc_vfork): New strong alias.
45942         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
45944 2014-06-14 Andi Kleen  <ak@linux.intel.com>
45946         * sysdeps/generic/elide.h: New file.
45948 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
45950         * Makefile (installed-headers): Adjust path of pthread.h header.
45952 2014-06-13  Roland McGrath  <roland@hack.frob.com>
45954         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
45955         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
45956         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
45957         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
45959         * nptl/sysdeps/s390/Makefile: Moved ...
45960         * sysdeps/s390/nptl/Makefile: ... here.
45961         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
45962         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
45963         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
45964         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
45965         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
45966         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45967         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
45968         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
45969         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
45970         * sysdeps/s390/nptl/pthreaddef.h: ... here.
45971         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
45972         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
45973         * nptl/sysdeps/s390/tls.h: Moved ...
45974         * sysdeps/s390/nptl/tls.h: ... here.
45976         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
45977         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
45979 2014-06-13  David S. Miller  <davem@davemloft.net>
45981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
45982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
45983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
45984         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
45985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
45986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
45987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45988         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
45989         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
45990         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
45991         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
45992         Remove RESET_PID cpp guards.
45993         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
45994         Remove RESET_PID cpp guards.
45995         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
45997 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
45999         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46000         __sp to uintptr_t.
46002 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46004         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46005         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46009         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46010         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46019         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46020         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46025         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46026         (pthread_rwlock_rdlock): Add elision.
46027         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46028         (pthread_rwlock_wrlock): Add elision.
46029         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46030         (pthread_rwlock_trywrlock): Add elision.
46031         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46032         (pthread_rwlock_tryrdlock): Add elision.
46033         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46034         (pthread_rwlock_tryrdlock): Add elision unlock.
46035         * nptl/sysdeps/pthread/pthread.h:
46036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46037         (PTHREAD_RWLOCK_INITIALIZER,
46038         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46039         Handle new elision field.
46040         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46041         * sysdeps/arm/nptl/bits/pthreadtypes.h
46042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46043         * sysdeps/sh/nptl/bits/pthreadtypes.h
46044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46045         * sysdeps/tile/nptl/bits/pthreadtypes.h
46046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46047         * sysdeps/a/nptl/bits/pthreadtypes.h
46048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46049         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46051         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46053         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
46054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46055         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46057         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46059         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46061         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46063         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
46064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46065         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
46066         (elision_init): Set try_xbegin to zero when no RTM.
46067         * sysdeps/x86/nptl/bits/pthreadtypes.h
46068         (pthread_rwlock_t): Change __pad1 to __rwelision.
46069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46071 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46073         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
46074         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
46075         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
46076         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
46078 2014-06-13  Meador Inge  <meadori@codesourcery.com>
46080         [BZ #16996]
46081         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
46082         that the cached result has been set before returning it.
46084 2014-06-12  Roland McGrath  <roland@hack.frob.com>
46086         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
46087         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
46088         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
46089         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
46090         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
46091         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
46093         * nptl/sysdeps/sparc/Makefile: Moved ...
46094         * sysdeps/sparc/nptl/Makefile: ... here.
46095         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
46096         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
46097         * nptl/sysdeps/sparc/tls.h: Moved ...
46098         * sysdeps/sparc/nptl/tls.h: ... here.
46099         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
46100         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
46101         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
46102         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
46103         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
46104         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
46105         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
46106         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
46107         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
46108         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
46109         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
46110         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
46111         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
46112         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
46113         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
46114         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
46115         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
46116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
46117         Update #include.
46118         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
46119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
46120         Update #include.
46121         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
46122         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
46123         Update #include.
46124         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
46125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
46126         Update #include.
46128         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46130         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
46131         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
46133         * sysdeps/pthread/posix-timer.h: Include <list.h>.
46134         (struct list_links): Type removed.
46135         (struct thread_node, struct timer_node): Replace struct list_links
46136         with struct list_head.
46137         (list_unlink_ip): Likewise.
46138         * sysdeps/pthread/timer_routines.c
46139         (timer_free_list, thread_free_list, thread_active_list): Likewise.
46140         (list_append, list_insbefore): Likewise.
46141         (list_init): Function removed.
46142         (thread_init, init_module): Use INIT_LIST_HEAD instead.
46143         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
46144         * sysdeps/pthread/Makefile: ... here, new file.
46146         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
46147         * sysdeps/nptl/Implies: ... here.
46148         * sysdeps/unix/sysv/linux/Implies: Add nptl.
46149         * nptl/sysdeps/pthread/list.h: Moved ...
46150         * include/list.h: ... here.
46151         * nptl/sysdeps/pthread/createthread.c: Moved ...
46152         * nptl/createthread.c: ... here.
46153         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
46154         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
46155         * nptl/pt-longjmp.c: ... here.
46156         * nptl/sysdeps/pthread/Makefile: Moved ...
46157         * sysdeps/nptl/Makefile: ... here.
46158         * nptl/sysdeps/pthread/Subdirs: Moved ...
46159         * sysdeps/nptl/Subdirs: ... here.
46160         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
46161         * sysdeps/nptl/aio_misc.h: ... here.
46162         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
46163         * sysdeps/nptl/bits/libc-lock.h: ... here.
46164         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
46165         * sysdeps/nptl/bits/libc-lockP.h: ... here.
46166         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
46167         * sysdeps/nptl/bits/stdio-lock.h: ... here.
46168         * nptl/sysdeps/pthread/configure: Moved ...
46169         * sysdeps/nptl/configure: ... here.
46170         * nptl/sysdeps/pthread/configure.ac: Moved ...
46171         * sysdeps/nptl/configure.ac: ... here.
46172         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
46173         * sysdeps/nptl/gai_misc.h: ... here.
46174         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
46175         * sysdeps/nptl/librt-cancellation.c: ... here.
46176         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
46177         * sysdeps/nptl/malloc-machine.h: ... here.
46178         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
46179         * sysdeps/nptl/pthread-functions.h: ... here.
46180         * nptl/sysdeps/pthread/pthread.h: Moved ...
46181         * sysdeps/nptl/pthread.h: ... here.
46182         * nptl/sysdeps/pthread/setxid.h: Moved ...
46183         * sysdeps/nptl/setxid.h: ... here.
46184         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
46185         * sysdeps/nptl/sigfillset.c: ... here.
46186         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
46187         * sysdeps/nptl/tcb-offsets.h: ... here.
46188         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
46189         * sysdeps/nptl/tst-mqueue8x.c: ... here.
46190         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
46191         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
46192         * nptl/sysdeps/pthread/allocalim.h: Moved ...
46193         * sysdeps/pthread/allocalim.h: ... here.
46194         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
46195         * sysdeps/pthread/bits/sigthread.h: ... here.
46196         * nptl/sysdeps/pthread/flockfile.c: Moved ...
46197         * sysdeps/pthread/flockfile.c: ... here.
46198         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
46199         * sysdeps/pthread/ftrylockfile.c: ... here.
46200         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
46201         * sysdeps/pthread/funlockfile.c: ... here.
46202         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
46203         * sysdeps/pthread/posix-timer.h: ... here.
46204         * nptl/sysdeps/pthread/timer_create.c: Moved ...
46205         * sysdeps/pthread/timer_create.c: ... here.
46206         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
46207         * sysdeps/pthread/timer_delete.c: ... here.
46208         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
46209         * sysdeps/pthread/timer_getoverr.c: ... here.
46210         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
46211         * sysdeps/pthread/timer_gettime.c: ... here.
46212         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
46213         * sysdeps/pthread/timer_routines.c: ... here.
46214         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
46215         * sysdeps/pthread/timer_settime.c: ... here.
46216         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
46217         * sysdeps/pthread/tst-timer.c: ... here.
46218         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
46219         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
46221         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
46222         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
46224         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
46225         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
46226         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
46227         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
46228         Update #include target.
46229         * nptl/sysdeps/i386/i686/Makefile: Moved ...
46230         * sysdeps/i386/i686/nptl/Makefile: ... here.
46231         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
46232         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
46233         Update #include target.
46234         * nptl/sysdeps/i386/i686/tls.h: Moved ...
46235         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
46236         * nptl/sysdeps/i386/Makefile: Moved ...
46237         * sysdeps/i386/nptl/Makefile: ... here.
46238         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
46239         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
46240         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
46241         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
46242         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
46243         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
46244         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
46245         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
46246         * sysdeps/i386/nptl/pthreaddef.h: ... here.
46247         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
46248         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
46249         * nptl/sysdeps/i386/tls.h: Moved ...
46250         * sysdeps/i386/nptl/tls.h: ... here.
46252         * sysdeps/sh/Makefile [$(subdir) = csu]
46253         (gen-as-const-headers): Add tcb-offsets.sym.
46254         * nptl/sysdeps/sh/Makefile: File removed.
46255         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
46256         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
46257         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
46258         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
46259         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
46260         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
46261         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
46262         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
46263         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
46264         * sysdeps/sh/nptl/pthreaddef.h: ... here.
46265         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
46266         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
46267         * nptl/sysdeps/sh/tls.h: Moved ...
46268         * sysdeps/sh/nptl/tls.h: ... here.
46269         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
46270         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
46271         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
46272         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
46273         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
46274         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
46275         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
46276         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
46277         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
46278         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
46279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
46280         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
46281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
46282         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
46283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
46284         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
46285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
46286         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
46287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
46288         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
46289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
46290         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
46291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
46292         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
46293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
46294         Moved ...
46295         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
46296         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
46297         Moved ...
46298         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
46299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
46300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
46301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
46302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
46303         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
46304         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
46305         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
46306         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
46307         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
46308         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
46309         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
46310         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
46311         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
46312         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
46313         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
46314         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
46315         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
46316         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
46318 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
46320         * posix/spawn_faction_addopen.c: Include string.h.
46322 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46324         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
46325         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
46326         * nptl/sysdeps/x86_64/Makefile: Moved ...
46327         * sysdeps/x86_64/nptl/Makefile: ... here.
46328         * nptl/sysdeps/x86_64/configure: Moved ...
46329         * sysdeps/x86_64/nptl/configure: ... here.
46330         * nptl/sysdeps/x86_64/configure.ac: Moved ...
46331         * sysdeps/x86_64/nptl/configure.ac: ... here.
46332         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
46333         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
46334         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
46335         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
46336         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
46337         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
46338         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
46339         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
46340         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
46341         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
46342         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
46343         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
46344         * nptl/sysdeps/x86_64/tls.h: Moved ...
46345         * sysdeps/x86_64/nptl/tls.h: ... here.
46346         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
46347         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
46348         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
46349         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
46351         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
46353 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46357 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
46359         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
46360         type.
46361         [POSIX] (off_t): Likewise.
46362         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
46363         [POSIX] (S_ISBLK): Require macro.
46364         [POSIX] (S_ISCHR): Likewise.
46365         [POSIX] (S_ISDIR): Likewise.
46366         [POSIX] (S_ISFIFO): Likewise.
46367         [POSIX] (S_ISREG): Likewise.
46368         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
46369         optional-macro.
46370         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
46371         type.
46372         [POSIX] (time_t): Likewise.
46373         [POSIX] (timer_t): Likewise.
46375 2014-06-11  Florian Weimer  <fweimer@redhat.com>
46377         [BZ #17048]
46378         * posix/spawn_int.h (struct __spawn_action): Make the path string
46379         non-const to support deallocation.
46380         * posix/spawn_faction_addopen.c
46381         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
46382         * posix/spawn_faction_destroy.c
46383         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
46384         path in all spawn_do_open actions.
46385         * posix/tst-spawn.c (do_test): Exercise the copy operation in
46386         posix_spawn_file_actions_addopen.
46388 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
46390         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
46391         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
46392         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
46393         conditional code always true.
46394         (__libc_vfork): New alias.
46396 2014-06-11  Roland McGrath  <roland@hack.frob.com>
46398         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46399         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
46401         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
46403         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46404         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
46406         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
46407         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
46409         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46410         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
46412 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46414         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
46415         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
46416         multiarch strcmp for PPC64.
46417         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
46418         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
46419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
46420         multiarch optimizations.
46421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46422         (__libc_ifunc_impl_list): Likewise.
46424 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46426         * benchtests/scripts/validate_benchout.py: New script.
46427         * benchtests/Makefile (bench-func): Call it.
46428         * benchtests/scripts/benchout.schema.json: New file.
46430 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
46432         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
46433         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
46434         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
46435         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
46436         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
46437         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
46438         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
46439         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
46440         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
46441         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
46442         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
46443         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
46444         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
46445         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
46446         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
46447         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
46448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
46449         Moved ...
46450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
46451         ... here.
46452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
46453         Moved ...
46454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
46455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
46456         Moved ...
46457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
46458         ... here.
46459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
46460         Moved ...
46461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
46462         ... here.
46463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
46464         Moved ...
46465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
46466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
46467         Moved ...
46468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
46469         ... here.
46470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
46471         Moved ...
46472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
46473         ... here.
46474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
46475         Moved ...
46476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
46477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
46478         Moved ...
46479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
46480         ... here.
46481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
46482         Moved ...
46483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
46484         ... here.
46485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
46486         Moved ...
46487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
46488         ... here.
46489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
46490         Moved ...
46491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
46492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
46493         Moved ...
46494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
46495         ... here.
46496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
46497         Moved ...
46498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
46499         ... here.
46500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
46501         Moved ...
46502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
46503         ... here.
46504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
46505         Moved ...
46506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
46507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
46508         Moved ...
46509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
46510         ... here.
46511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
46512         Moved ...
46513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
46514         ... here.
46515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
46516         Moved ...
46517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
46518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
46519         Moved ...
46520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
46521         ... here.
46522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
46523         Moved ...
46524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
46525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
46526         Moved ...
46527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
46528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
46529         Moved ...
46530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
46531         ... here.
46532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
46533         Moved ...
46534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
46535         ... here.
46536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
46537         Moved ...
46538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
46539         ... here.
46540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
46541         Moved ...
46542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
46544         Moved ...
46545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
46546         ... here.
46547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
46548         Moved ...
46549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
46550         ... here.
46551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
46552         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
46553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
46554         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
46555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
46556         Moved ...
46557         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
46558         ... here.
46559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
46562         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
46563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
46564         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
46565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
46566         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
46567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
46568         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
46569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
46570         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
46571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
46572         Moved ...
46573         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
46574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
46575         Moved ...
46576         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
46577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
46578         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
46579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
46580         Moved ...
46581         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
46583         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
46584         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
46585         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
46586         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
46587         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
46589 2014-06-10  Wilco  <wdijkstr@arm.com>
46591         * math/test-fenv-return.c: New file.
46592         * math/Makefile: Add new test test-fenv-return.
46594 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
46596         [BZ #17042]
46597         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
46598         when x - 1 is zero.
46599         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
46600         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
46601         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
46602         0.0L for an argument of 1.0L.
46603         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
46604         Likewise.
46605         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
46606         value when x - 1 is zero.
46607         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
46608         * sysdeps/i386/fpu/libm-test-ulps: Update.
46609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46611 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
46613         [BZ #15119]
46614         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
46616 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46618         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
46619         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
46621 2014-06-09  Roland McGrath  <roland@hack.frob.com>
46623         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46624         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
46626         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46627         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
46629         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46630         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
46632         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46633         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
46635         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
46636         if not already defined.
46637         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
46638         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46639         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
46640         (TLS_INIT_TP): Use it.
46641         (TLS_DEFINE_INIT_TP): New macro.
46642         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
46644 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
46646         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
46647         constant.
46648         [POSIX] (IXANY): Likewise.
46649         [POSIX] (OLCUC): Likewise.
46650         [POSIX || POSIX2008] (CBAUD): Do not allow.
46651         [POSIX || POSIX2008] (DEFECHO): Likewise.
46652         [POSIX || POSIX2008] (ECHOCTL): Likewise.
46653         [POSIX || POSIX2008] (ECHOKE): Likewise.
46654         [POSIX || POSIX2008] (ECHOPRT): Likewise.
46655         [POSIX || POSIX2008] (EXTA): Likewise.
46656         [POSIX || POSIX2008] (EXTB): Likewise.
46657         [POSIX || POSIX2008] (FLUSHO): Likewise.
46658         [POSIX || POSIX2008] (LOBLK): Likewise.
46659         [POSIX || POSIX2008] (PENDIN): Likewise.
46660         [POSIX || POSIX2008] (SWTCH): Likewise.
46661         [POSIX || POSIX2008] (VDISCARD): Likewise.
46662         [POSIX || POSIX2008] (VDSUSP): Likewise.
46663         [POSIX || POSIX2008] (VLNEXT): Likewise.
46664         [POSIX || POSIX2008] (VREPRINT): Likewise.
46665         [POSIX || POSIX2008] (VSTATUS): Likewise.
46666         [POSIX || POSIX2008] (VWERASE): Likewise.
46667         (B*): Change to B[0123456789]*.
46668         * conform/data/time.h-data [POSIX || UNIX98]
46669         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
46670         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46671         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46672         [POSIX] (tm_*): Do not allow.
46674 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
46676         * Makefile (install): Don't set LANGUAGE.
46677         * Makefile.in (install): Likewise.
46678         * assert/Makefile (test-assert-ENV): Remove variable.
46679         (test-assert-perr-ENV): Likewise.
46680         * elf/Makefile (neededtest4-ENV): Likewise.
46681         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46682         [$(cross-compiling) = no]: Don't set LANGUAGE.
46683         * io/ftwtest-sh (LANG): Remove variable.
46684         * libio/Makefile (tst-widetext-ENV): Likewise.
46685         * manual/install.texi (Running make install): Don't refer to
46686         environment settings for make install.
46687         * INSTALL: Regenerated.
46688         * nptl/tst-tls6.sh: Don't set LANG.
46689         * posix/globtest.sh (LANG): Remove variable.
46690         * string/Makefile (tester-ENV): Likewise.
46691         (inl-tester-ENV): Likewise.
46692         (noinl-tester-ENV): Likewise.
46693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46694         [$(cross-compiling) = no]: Don't set LANGUAGE.
46695         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
46696         without explicit environment settings.
46698 2014-06-06  Roland McGrath  <roland@hack.frob.com>
46700         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
46701         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
46702         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
46703         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
46705 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
46707         * crypt/crypt-private.h [DOS]: Add some includes taken from the
46708         other files in the crypt directory.
46709         * crypt/crypt.c: Remove duplicate includes.
46710         * crypt/crypt-entry.c: Likewise.
46711         * crypt/crypt_util.c: Likewise.
46713 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
46715         * Makeconfig (run-program-env): New variable.
46716         (run-program-prefix-before-env): Likewise.
46717         (run-program-prefix-after-env): Likewise.
46718         (run-program-prefix): Define in terms of new variables.
46719         (built-program-cmd-before-env): New variable.
46720         (built-program-cmd-after-env): Likewise.
46721         (built-program-cmd): Define in terms of new variables.
46722         (test-program-prefix-before-env): New variable.
46723         (test-program-prefix-after-env): Likewise.
46724         (test-program-prefix): Define in terms of new variables.
46725         (test-program-cmd-before-env): New variable.
46726         (test-program-cmd-after-env): Likewise.
46727         (test-program-cmd): Define in terms of new variables.
46728         * Rules (make-test-out): Use $(run-program-env).
46729         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
46730         (help): Do not mention environment variables.  Mention
46731         --timeoutfactor option.
46732         (timeoutfactor): New variable.
46733         (blacklist_exports): Remove function.
46734         (exports): Remove variable.
46735         (command): Do not include ${exports}.
46736         * manual/install.texi (Configuring and compiling): Do not mention
46737         test wrappers preserving environment variables.  Mention that last
46738         assignment to a variable must take precedence.
46739         * INSTALL: Regenerated.
46740         * benchtests/Makefile (run-bench): Use $(run-program-env).
46741         * catgets/Makefile ($(objpfx)test1.cat): Use
46742         $(built-program-cmd-before-env), $(run-program-env) and
46743         $(built-program-cmd-after-env).
46744         ($(objpfx)test2.cat): Do not specify environment variables
46745         explicitly.
46746         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
46747         $(run-program-env) and $(built-program-cmd-after-env).
46748         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
46749         $(run-program-env) and $(test-program-cmd-after-env).
46750         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
46751         explicitly.
46752         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
46753         run_program_env and test_program_cmd_after_env arguments.
46754         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
46755         * elf/tst-pathopt.sh: Use run_program_env argument.
46756         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
46757         $(test-wrapper-env) and $(run-program-env).
46758         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
46759         run_program_env arguments.
46760         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
46761         * intl/Makefile ($(objpfx)tst-gettext.out): Use
46762         $(test-program-prefix-before-env), $(run-program-env) and
46763         $(test-program-prefix-after-env).
46764         ($(objpfx)tst-gettext2.out): Likewise.
46765         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
46766         run_program_env and test_program_prefix_after_env arguments.
46767         * intl/tst-gettext2.sh: Likewise.
46768         * intl/tst-gettext4.sh: Do not set environment variables
46769         explicitly.
46770         * intl/tst-gettext6.sh: Likewise.
46771         * intl/tst-translit.sh: Likewise.
46772         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
46773         $(test-program-prefix-before-env), $(run-program-env) and
46774         $(test-program-prefix-after-env).
46775         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
46776         run_program_env and test_program_prefix_after_env arguments.
46777         * math/Makefile (run-regen-ulps): Use $(run-program-env).
46778         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
46779         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
46780         explicitly with each use of ${test_wrapper_env}.
46781         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
46782         $(test-program-prefix-before-env), $(run-program-env) and
46783         $(test-program-prefix-after-env).
46784         * posix/tst-getconf.sh: Do not set environment variables
46785         explicitly.
46786         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
46787         run_program_env and test_program_prefix_after_env arguments.
46788         * stdio-common/tst-printf.sh: Do not set environment variables
46789         explicitly.
46790         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
46791         $(test-program-prefix-before-env), $(run-program-env) and
46792         $(test-program-prefix-after-env).
46793         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
46794         run_program_env and test_program_prefix_after_env arguments.
46795         Split $test calls into $test_pre and $test.
46796         * timezone/Makefile (build-testdata): Use
46797         $(built-program-cmd-before-env), $(run-program-env) and
46798         $(built-program-cmd-after-env).
46800 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46802         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
46803         strlen for non SHARED builds.
46805 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46807         * nptl/allocatestack.c (check_list): Inlined function...
46808         (__reclaim_stacks): ... here.
46810 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46812         [BZ #15698]
46813         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46814         memory overrun.
46816 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
46818         * Rules (make-test-out): Include
46819         LOCPATH=$(common-objpfx)localedata in default environment.
46820         * debug/Makefile (tst-chk1-ENV): Remove variable.
46821         (tst-chk2-ENV): Likewise.
46822         (tst-chk3-ENV): Likewise.
46823         (tst-chk4-ENV): Likewise.
46824         (tst-chk5-ENV): Likewise.
46825         (tst-chk6-ENV): Likewise.
46826         (tst-lfschk1-ENV): Likewise.
46827         (tst-lfschk2-ENV): Likewise.
46828         (tst-lfschk3-ENV): Likewise.
46829         (tst-lfschk4-ENV): Likewise.
46830         (tst-lfschk5-ENV): Likewise.
46831         (tst-lfschk6-ENV): Likewise.
46832         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
46833         (tst-iconv7-ENV): Likewise.
46834         * intl/Makefile (LOCPATH-ENV): Likewise.
46835         (tst-codeset-ENV): Likewise.
46836         (tst-gettext3-ENV): Likewise.
46837         (tst-gettext5-ENV): Likewise.
46838         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
46839         (tst-fopenloc-ENV): Likewise.
46840         (tst-fgetws-ENV): Remove variable.
46841         (tst-ungetwc1-ENV): Likewise.
46842         (tst-ungetwc2-ENV): Likewise.
46843         (bug-ungetwc2-ENV): Likewise.
46844         (tst-swscanf-ENV): Likewise.
46845         (bug-ftell-ENV): Likewise.
46846         (tst-fgetwc-ENV): Likewise.
46847         (tst-fseek-ENV): Likewise.
46848         (tst-ftell-partial-wide-ENV): Likewise.
46849         (tst-ftell-active-handler-ENV): Likewise.
46850         (tst-ftell-append-ENV): Likewise.
46851         * posix/Makefile (tst-fnmatch-ENV): Likewise.
46852         (tst-regexloc-ENV): Likewise.
46853         (bug-regex1-ENV): Likewise.
46854         (tst-regex-ENV): Likewise.
46855         (tst-regex2-ENV): Likewise.
46856         (bug-regex5-ENV): Likewise.
46857         (bug-regex6-ENV): Likewise.
46858         (bug-regex17-ENV): Likewise.
46859         (bug-regex18-ENV): Likewise.
46860         (bug-regex19-ENV): Likewise.
46861         (bug-regex20-ENV): Likewise.
46862         (bug-regex22-ENV): Likewise.
46863         (bug-regex23-ENV): Likewise.
46864         (bug-regex25-ENV): Likewise.
46865         (bug-regex26-ENV): Likewise.
46866         (bug-regex30-ENV): Likewise.
46867         (bug-regex32-ENV): Likewise.
46868         (bug-regex33-ENV): Likewise.
46869         (bug-regex34-ENV): Likewise.
46870         (bug-regex35-ENV): Likewise.
46871         (tst-rxspencer-ENV): Likewise.
46872         (tst-rxspencer-no-utf8-ENV): Likewise.
46873         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
46874         (tst-sscanf-ENV): Likewise.
46875         (tst-swprintf-ENV): Likewise.
46876         (tst-swscanf-ENV): Likewise.
46877         (test-vfprintf-ENV): Likewise.
46878         (scanf13-ENV): Likewise.
46879         (bug14-ENV): Likewise.
46880         (tst-grouping-ENV): Likewise.
46881         * stdlib/Makefile (tst-strtod-ENV): Likewise.
46882         (tst-strtod3-ENV): Likewise.
46883         (tst-strtod4-ENV): Likewise.
46884         (tst-strtod5-ENV): Likewise.
46885         (testmb2-ENV): Likewise./
46886         * string/Makefile (tst-strxfrm-ENV): Likewise.
46887         (tst-strxfrm2-ENV): Likewise.
46888         (bug-strcoll1-ENV): Likewise.
46889         (test-strcasecmp-ENV): Likewise.
46890         (test-strncasecmp-ENV): Likewise.
46891         * time/Makefile (tst-strptime-ENV): Likewise.
46892         (tst-ftime_l-ENV): Likewise.
46893         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
46894         (tst-mbrtowc-ENV): Likewise.
46895         (tst-wcrtomb-ENV): Likewise.
46896         (tst-mbrtowc2-ENV): Likewise.
46897         (tst-c16c32-1-ENV): Likewise.
46898         (tst-mbsnrtowcs-ENV): Likewise.
46900 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
46902         * manual/resource.texi (How to get information about the memory
46903         subsystem?): Fix typo.
46904         Reported by Peon de la Parra Ivan <peon@keba.com>
46906 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
46908         [BZ #16882]
46909         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
46910         (pthread_spin_lock): Branch out of spin loop to proper location.
46911         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
46912         (pthread_spin_lock): Likewise.
46914         * nptl/tst-spin4.c: New test.
46915         * nptl/Makefile (tests): Add tst-spin4.
46917 2014-06-03  Andreas Schwab  <schwab@suse.de>
46919         [BZ #15946]
46920         * resolv/res_send.c (send_dg): Reload file descriptor after
46921         calling reopen.
46923 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
46925         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46927 2014-06-03  Richard Henderson  <rth@redhat.com>
46929         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
46930         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
46931         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
46932         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
46933         in the SAVE_PID block.
46934         (__libc_vfork): New alias.
46935         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
46937         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
46938         child in registers, not on the stack.  Remove RESET_PID conditionals.
46939         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
46941 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46943         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46945 2014-06-03  Wilco  <wdijkstr@arm.com>
46947         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
46948         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
46949         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46950         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
46951         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
46952         Likewise.
46954 2014-06-03  Wilco  <wdijkstr@arm.com>
46956         * sysdeps/aarch64/fpu/math_private.h
46957         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
46958         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
46959         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
46960         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
46961         Fix declarations.
46963 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46965         * crypt/crypt-private.h: Include ufc-crypt.h.
46966         (__b64_from_24bit): Declare extern.
46967         * crypt/crypt_util.c(__b64_from_24bit): New function.
46968         (b64t): New static const variable.
46969         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
46970         (b64t): Remove variable.
46971         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
46972         * crypt/sha256-crypt.c: Include crypt-private.h.
46973         (b64t): Remove variable.
46974         (__sha256_crypt_r): Remove b64_from_24bit and replace
46975         with __b64_from_24bit.
46976         * crypt/sha512-crypt.c: Likewise.
46978 2014-06-02  Roland McGrath  <roland@hack.frob.com>
46980         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
46981         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
46982         Label the code __libc_vfork rather than __vfork.
46983         [!NOT_IN_libc] (vfork): Define as weak alias.
46984         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
46985         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46986         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
46988 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46990         * malloc/malloc.c (malloc_info): Fix format specifier for
46991         n_mmaps.
46993 2014-06-02  Wilco  <wdijkstr@arm.com>
46995         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
46996         FPCR write.
46998 2014-06-02  Wilco  <wdijkstr@arm.com>
47000         [BZ #17009]
47001         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47002         Rewrite to reduce FPCR/FPSR accesses.
47004 2014-06-01  David S. Miller  <davem@davemloft.net>
47006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47008 2014-05-31  David S. Miller  <davem@davemloft.net>
47010         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47011         to occur in round to nearest mode when |x| >= 2.0
47013 2014-05-30  Richard Henderson  <rth@twiddle.net>
47015         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47016         (PSEUDO_RET_NOERRNO): Remove.
47017         (ret): Don't redefine.
47018         (ret_NOERRNO): Define in terms of ret.
47019         (ret_ERRVAL): Likewise.
47021         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47022         use of PSEUDO_RET; perform the error check directly.
47024 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47026         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47027         with __int128_t.
47029 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47031         * malloc/malloc (malloc_info): Fix formatting.
47033 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47034             Roland McGrath  <roland@hack.frob.com>
47036         * malloc/malloc (malloc_info): Also print mmapped statistics.
47038 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47040         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47041         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47043 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47045         * malloc/malloc.c (malloc_info): Inline mi_arena.
47047 2014-05-29  Richard Henderson  <rth@twiddle.net>
47049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
47050         Remove comma before expanding ASM_ARGS_##nr.
47051         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
47052         Make _x0 a strict output; make _x8 a strict input; adjust expansion
47053         of ASM_ARGS_##nr.
47054         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
47055         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
47056         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
47057         (ASM_ARGS_1): Add leading comma.
47059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
47060         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
47061         to __errno_location.
47062         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
47063         Remove the expected plt for __errno_location.
47065         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47066         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
47067         call to __read_tp.
47069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47070         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
47071         it and break it down.
47072         (DOCARGS_0, DOCARGS_1): Do nothing.
47073         (DOCARGS_2): Update to store into the new stack frame.
47074         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
47075         (UNDOCARGS_1): Update to restore from the new stack frame.
47076         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
47077         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
47079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47080         (SINGLE_THREAD_P): New parameter for result regno.
47081         (PSEUDO): Update to match; use cbz instead of beq.
47083         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47084         Use ENTRY to define the _nocancel entry point.  Share the syscall
47085         and syscall error check paths with the cancel path.
47086         (PSEUDO_END): New.
47088         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
47089         whitespace; tabs before and after asm mnemonics.
47091 2014-05-29  Eric Wong  <normalperson@yhbt.net>
47093         [BZ #15132]
47094         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47095         Call fstat64 or stat64 internally, depending on arguments passed.
47096         Replace stat buffer argument with file descriptor argument.
47097         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
47098         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47099         Pass fd to __internal_statvfs instead of calling fstat64.
47100         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
47101         Pass fd to __internal_statvfs64 instead of calling fstat64.
47102         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
47103         Pass -1 to __internal_statvfs instead of calling stat64.
47104         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
47105         Pass -1 to __internal_statvfs64 instead of calling stat64.
47107 2014-05-28  Roland McGrath  <roland@hack.frob.com>
47109         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
47110         that was previously under [RESET_PID].
47111         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
47113         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
47114         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
47116 2014-05-27  Roland McGrath  <roland@hack.frob.com>
47118         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
47120         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
47121         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
47123 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
47125         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
47127 2014-05-27  Andreas Schwab  <schwab@suse.de>
47129         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
47130         TLS_INIT_TP macro.
47131         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
47132         * elf/rtld.c (init_tls, dl_main): Likewise.
47133         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
47134         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
47135         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
47136         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
47137         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
47138         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
47139         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
47140         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
47141         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
47142         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
47143         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
47144         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
47145         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
47146         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
47147         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
47148         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
47149         * sysdeps/generic/tls.h: Update description.
47151 2014-05-27  Will Newton  <will.newton@linaro.org>
47153         [BZ #16990]
47154         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
47155         and restore r2 rather than just restoring.
47157 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47159         [BZ #16724]
47160         * libio/tst-ftell-append.c: New test case.
47161         * libio/Makefile (tests): Add test case.
47162         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
47163         append mode.
47164         * libio/wfileops.c (do_ftell_wide): Likewise.
47166 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47170         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
47171         ...
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47174         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
47175         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
47176         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
47177         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
47178         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
47179         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
47180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
47181         Moved ...
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
47183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
47184         Moved ...
47185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
47186         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
47187         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
47188         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
47189         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
47190         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
47191         ...
47192         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
47193         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
47194         Moved ...
47195         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
47196         here.
47197         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
47198         ...
47199         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
47200         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
47201         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
47203         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
47204         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
47205         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
47206         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
47208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
47209         merge into ...
47210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
47211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
47212         ...
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
47214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
47215         ...
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
47217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
47218         Moved ...
47219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
47220         here.
47221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
47222         Moved ...
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
47224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
47225         Moved ...
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
47229         conditional [RESET_PID].
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
47231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
47232         removed.
47233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
47234         removed.
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
47237         <tcb-offsets.h>.
47238         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47239         (__libc_vfork): New strong alias.
47240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
47241         removed.
47242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
47243         Removed.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47246         <tcb-offsets.h>.
47247         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
47248         (__libc_vfork): New strong alias.
47249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
47250         removed.
47251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
47252         removed.
47254 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
47256         * malloc/malloc.c (mi_arena): New function.
47257         (malloc_info): Remove nested function mi_arena. Call non-nosted
47258         function mi_arena.
47260 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47262         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
47263         by insrwi.
47264         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
47265         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
47266         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
47267         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
47268         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
47269         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
47270         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
47272 2014-05-26  Andreas Schwab  <schwab@suse.de>
47274         [BZ #16984]
47275         * locale/programs/repertoire.c (repertoire_read): Add slash
47276         between I18NPATH element and file name.
47277         * locale/programs/locfile.c (locfile_read): Likewise.
47279 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47281         * nptl/pthread_mutexattr_settype.c
47282         (__pthread_mutexattr_settype):
47283         Disable lock elision for PTHREAD_MUTEX_NORMAL.
47285 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
47287         * nptl/tst-mutex5 (do_test):
47288         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
47290 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47292         * benchtests/README: Document 'init' directive.
47293         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
47294         BENCH_INIT.
47295         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
47296         (parse_file): Recognize 'init' directive.
47298 2014-05-26  Kyle McMartin  <kyle@redhat.com>
47300         [BZ #16796]
47301         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
47302         alignment of struct pthread.
47304 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47306         [BZ #16878]
47307         * nscd/netgroupcache.c (addgetnetgrentX): Look for
47308         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47309         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
47310         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
47312 2014-05-25  Richard Henderson  <rth@twiddle.net>
47314         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47315         (SINGLE_THREAD_P_PIC): Remove.
47316         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
47317         (SINGLE_THREAD_P_PIC): Remove.
47319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
47320         branch to syscall error ...
47321         (PSEUDO): ... here.
47322         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
47323         from __local_syscall_error to .Lsyscall_error.
47324         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
47325         (SYSCALL_ERROR): Update label name.
47327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47328         Do not use DOARGS/UNDOARGS.
47329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
47330         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47331         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
47332         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
47333         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
47335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
47336         block comment.
47338         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
47339         define if !NOT_IN_libc.
47340         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
47341         define with non-default symbol versions.
47343 2014-05-23  Richard Henderson  <rth@twiddle.net>
47345         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
47346         (vfork, __vfork): Define via compat_symbol.
47348         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
47349         [!HAVE_IFUNC] (vfork_compat): Remove.
47350         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
47352 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47354         [BZ #16978]
47355         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
47356         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
47357         variable.
47359 2014-05-23  Richard Henderson  <rth@twiddle.net>
47361         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
47362         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
47363         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
47364         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
47366         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
47367         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
47368         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
47369         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
47370         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
47371         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
47372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
47373         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
47374         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
47375         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
47376         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
47377         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
47378         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
47379         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
47380         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
47381         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
47382         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
47383         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
47384         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
47385         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
47386         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
47387         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
47388         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
47389         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
47390         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
47391         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
47392         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
47393         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
47394         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
47395         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
47396         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
47397         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
47398         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
47399         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
47400         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
47401         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
47402         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
47403         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
47404         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47405         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
47406         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
47407         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
47408         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
47409         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
47410         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
47411         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
47412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
47413         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
47414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
47415         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
47416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
47417         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
47418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
47419         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
47420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
47421         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
47423         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
47424         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
47425         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
47426         before exiting on error.
47427         (__libc_vfork): New strong alias.
47428         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
47429         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
47431         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
47432         that was previously under [RESET_PID].
47433         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
47435         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
47437 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
47439         [BZ #16977]
47440         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
47441         value when x - 1 is zero.
47442         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
47443         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
47444         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
47445         0.0L for an argument of 1.0L.
47446         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
47447         Likewise.
47448         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
47449         value when x - 1 is zero.
47450         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
47451         * sysdeps/i386/fpu/libm-test-ulps: Update.
47452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47454 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
47456         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
47457         alphasort and versionsort.
47459 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47461         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
47462         macro.
47463         [copysignf]: Likewise.
47465 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47467         * crypt/md5-crypt.c: Fix formatting.
47469 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47471         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
47472         (b64_from_24bit): New function.
47474 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47476         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
47477         libc_hidden_builtin_def to ifunc.
47478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47479         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
47481 2014-05-21  Roland McGrath  <roland@hack.frob.com>
47483         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
47484         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
47486 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
47488         * nscd/Depend (linuxthreads): Remove.
47489         (nptl): Add.
47490         * resolv/Depend (linuxthreads): Remove.
47491         * rt/Depend (linuxthreads): Remove.
47493         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
47494         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
47495         $(common-objpfx)elf/.
47496         (link-libc-before-gnulib): Likewise.
47497         (elfobjdir): Remove variable.
47498         * Makefile (install): Use $(elf-objpfx) instead of
47499         $(common-objpfx)elf/.
47500         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
47501         $(elfobjdir)/.
47502         (link-libc-deps): Likewise.
47503         ($(common-objpfx)libc.so): Likewise.
47504         ($(common-objpfx)linkobj/libc.so): Likewise.
47505         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
47506         instead of $(common-objpfx)elf/.
47507         (symbolic-link-list): Likewise.
47508         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47509         [$(cross-compiling) = no]: Likewise.
47510         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
47511         $(elfobjdir)/.
47512         (static-gnulib-arch): Likewise.
47513         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47514         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
47515         $(common-objpfx)elf/.
47517 2014-05-21  Richard Henderson  <rth@redhat.com>
47519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
47520         (SINGLE_THREAD_P): Use the correct width load.  Fold
47521         into the ldr offset.
47523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
47524         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
47526 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
47528         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
47529         (libgcc_s_resume): Use __attribute_used__.
47530         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
47531         Likewise.
47533 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47535         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
47536         optimization when used with float constants.
47538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47540 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
47542         [BZ #16915]
47543         * locale/nl_langinfo_l.c: Make direct reference to every
47544         _nl_current_CATEGORY symbol.
47545         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
47546         (tests-static): Add tst-langinfo-static.
47547         (tests-special): Add tst-langinfo-static.out.
47548         ($(objpfx)tst-langinfo.out): Redirect output.
47549         ($(objpfx)tst-langinfo-static.out): New.
47550         * localedata/tst-langinfo.sh: Send output to stdout.
47551         * localedata/tst-langinfo-static.c: New file.
47553         [BZ #16965]
47554         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
47555         when the shift amount is modulo the limb size.
47557 2014-05-20  Richard Henderson  <rth@redhat.com>
47559         [BZ #16967]
47560         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
47561         Change type of sa_flags from unsigned int to int.
47563         [BZ #16966]
47564         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
47566         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
47568 2014-05-20  Will Newton  <will.newton@linaro.org>
47570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
47571         Test the return value of the system call in the nocancel case.
47573 2014-05-20  Will Newton  <will.newton@linaro.org>
47574             Yvan Roux  <yvan.roux@linaro.org>
47576         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
47577         #include of asm/ptrace.h.
47578         (PTRACE_GET_THREAD_AREA): Remove #undef.
47579         (PTRACE_GETHBPREGS): Likewise.
47580         (PTRACE_SETHBPREGS): Likewise.
47581         (struct user_regs_struct): New structure.
47582         (struct user_fpsimd_struct): New structure.
47583         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
47584         #include of asm/ptrace.h and second #include of sys/user.h.
47585         (PTRACE_GET_THREAD_AREA): Remove #undef.
47586         (PTRACE_GETHBPREGS): Likewise.
47587         (PTRACE_SETHBPREGS): Likewise.
47588         (ELF_NGREG): Use new struct user_regs_struct.
47589         (elf_fpregset_t): Use new struct user_fpsimd_struct.
47591 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
47594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
47596 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
47598         [BZ #16958]
47599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
47600         membar to avoid block loads/stores to overlap previous stores.
47602 2014-05-17  Richard Henderson  <rth@redhat.com>
47604         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
47605         Create the __##syscall_name##_nocancel entry point.
47606         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47607         Remove; let the sysdep-cancel.h code create it.
47609 2014-05-17  David S. Miller  <davem@davemloft.net>
47611         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
47612         Protect with __USE_GNU.
47613         (TIOCSET_TEMPT): Likewise.
47614         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47615         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
47616         these are already provided in bits/ioctl-types.h
47618 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47620         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
47621         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
47623         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
47624         Use wait4 regardless of [__NR_waitpid].
47626 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47628         PR libgcc/60166
47629         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47630         (_FP_NANSIGN_Q): Set the quiet bit.
47632 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
47634         * benchtests/Makefile
47635         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
47636         not $(common-objpfx)math/libm.so.
47637         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
47638         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
47639         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
47640         $(common-objpfx)dlfcn/libdl.so.
47641         ($(objpfx)tst-audit8): Depend on $(libm), not
47642         $(common-objpfx)math/libm.so.
47643         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
47644         not $(common-objpfx)dlfcn/libdl.so.
47645         * math/Makefile
47646         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47647         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
47648         [$(build-shared) = yes].
47649         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
47650         $(common-objpfx)nptl/libpthread.so.
47651         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
47652         $(common-objpfx)math/libm.so$(libm.so-version) or
47653         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
47654         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47655         $(common-objpfx)dlfcn/libdl.so.
47656         * setjmp/Makefile (link-libm): Remove variable.
47657         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
47658         * stdio-common/Makefile (link-libm): Remove variable.
47659         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
47660         * stdlib/Makefile (link-libm): Remove variable.
47661         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
47662         ($(objpfx)tst-strtod-round): Likewise.
47663         ($(objpfx)tst-tininess): Likewise.
47664         ($(objpfx)tst-strtod-underflow): Likewise.
47665         ($(objpfx)tst-strtod6): Likewise.
47666         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
47667         $(libdl), not $(common-objpfx)nptl/libpthread.so and
47668         $(common-objpfx)dlfcn/libdl.so.
47670 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47672         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
47673         BSD terminal modes definitions.
47675 2014-05-16  Roland McGrath  <roland@hack.frob.com>
47677         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
47678         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
47680         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
47681         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
47682         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
47683         Don't do #include_next.
47684         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
47685         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
47686         Don't do #include_next.
47687         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
47688         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
47689         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
47690         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
47692 2014-05-16  Allan McRae  <allan@archlinux.org>
47694         * po/sv.po: Update Swedish translation from translation project.
47696         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
47697         in sed expression.
47699 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
47701         [BZ #16917]
47702         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
47703         errno if the TIOCGPTN ioctl fails with an error different than
47704         EINVAL.
47705         * login/tst-ptsname.c: New file.
47706         * login/Makefile (tests): Add tst-ptsname.
47708         [BZ #16943]
47709         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
47710         and prlimit64.
47712 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714         [BZ #16849]
47715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
47716         herrno to return EAI_AGAIN.
47718 2014-05-14  Roland McGrath  <roland@hack.frob.com>
47720         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
47721         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
47722         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
47723         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47724         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47725         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
47726         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
47727         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
47728         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
47729         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
47730         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
47731         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
47732         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
47733         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
47734         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
47735         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
47736         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
47737         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
47738         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
47739         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
47740         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
47741         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
47742         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
47743         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
47744         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
47745         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
47746         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
47747         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
47748         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
47749         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
47750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
47751         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
47752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
47753         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
47754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47755         Moved ...
47756         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
47757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
47758         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
47759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
47760         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
47761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
47762         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
47763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
47764         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
47765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
47766         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
47767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
47768         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
47769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
47770         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
47771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
47772         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
47773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
47774         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
47775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
47776         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
47777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
47778         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
47779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
47780         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
47781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
47782         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
47783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47784         Moved ...
47785         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
47786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
47787         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
47788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
47789         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
47790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
47791         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
47792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
47793         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
47794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
47795         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
47796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
47797         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
47798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
47799         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
47800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
47801         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
47802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
47803         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
47804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47805         Moved ...
47806         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
47807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
47808         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
47810         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
47811         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
47812         (libpthread-sysdep_routines): Add elision-related stuff here instead.
47813         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
47814         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
47815         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
47816         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
47817         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
47818         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
47819         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
47820         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
47821         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
47822         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
47823         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
47824         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
47825         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
47826         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
47827         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
47828         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
47829         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
47830         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
47831         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
47832         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
47833         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
47834         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
47835         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
47836         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
47837         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
47838         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
47839         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
47840         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
47842         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
47843         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
47845         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
47846         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
47847         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
47848         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
47849         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
47850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
47851         Moved ...
47852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
47853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
47854         Moved ...
47855         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
47856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
47857         Moved ...
47858         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
47859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
47860         Moved ...
47861         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
47862         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
47863         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
47864         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
47865         Moved ...
47866         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
47867         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
47868         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
47869         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
47870         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
47871         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
47872         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
47873         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
47874         Moved ...
47875         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
47876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47877         Moved ...
47878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
47879         ... here.
47880         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
47881         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
47882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
47883         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
47884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47885         Moved ...
47886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
47887         ... here.
47888         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47889         Moved ...
47890         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
47891         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
47892         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
47893         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
47894         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
47895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
47896         Moved ...
47897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
47898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
47899         Moved ...
47900         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
47901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
47902         Moved ...
47903         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
47904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
47905         Moved ...
47906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
47907         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
47908         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
47909         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
47910         Moved ...
47911         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
47912         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
47913         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
47914         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
47915         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
47916         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
47917         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
47918         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
47919         Moved ...
47920         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
47921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47922         Moved ...
47923         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
47924         ... here.
47925         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
47926         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
47927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
47928         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
47929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47930         Moved ...
47931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
47932         ... here.
47933         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
47934         Moved ...
47935         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
47936         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
47937         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
47938         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
47939         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
47940         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
47941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
47942         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
47943         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
47944         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
47945         Moved ...
47946         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
47947         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
47948         Moved ...
47949         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
47950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
47951         Moved ...
47952         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
47953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
47954         Moved ...
47955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
47956         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
47957         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
47958         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
47959         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
47960         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
47961         Moved ...
47962         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
47963         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
47964         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
47965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
47966         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
47967         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
47968         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
47969         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
47970         Moved ...
47971         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
47972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47973         Moved ...
47974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
47975         ... here.
47976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
47977         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
47978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
47979         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
47980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47981         Moved ...
47982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
47983         ... here.
47984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
47985         Moved ...
47986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
47987         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
47988         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
47990         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
47991         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
47992         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
47993         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
47994         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
47996         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
47998         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
47999         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48001         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48002         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48004         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48005         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48006         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48007         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48008         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48009         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48010         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48011         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48012         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48013         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48014         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48015         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48016         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48017         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48018         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48020         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48022         Moved ...
48023         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48025         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48027         Moved ...
48028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48030         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48032         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48036         Moved ...
48037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48039         Moved ...
48040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48046         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48047         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48048         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48049         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
48050         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
48051         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
48052         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
48053         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
48054         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
48055         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
48056         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
48058         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
48059         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
48060         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
48061         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
48062         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
48064         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
48065         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
48066         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
48067         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
48068         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
48069         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
48070         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
48071         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
48072         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
48073         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
48075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
48076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
48078         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
48079         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
48080         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
48081         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
48082         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
48083         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
48084         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
48085         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
48086         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
48087         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
48088         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
48089         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
48090         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
48091         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
48092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
48093         Update #include.
48094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
48095         Likewise.
48096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48097         Likewise.
48098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48099         Likewise.
48100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48101         Likewise.
48102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
48103         Likewise.
48104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
48105         Likewise.
48106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48107         Likewise.
48108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
48109         Likewise.
48110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
48111         Likewise.
48112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
48113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
48114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
48115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
48116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
48117         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
48118         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
48119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
48120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
48121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
48122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
48123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
48124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
48125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
48126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
48128         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
48129         that was previously under [RESET_PID].
48130         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48131         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
48132         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
48134         * sysdeps/i386/nptl/Implies: New file.
48135         * sysdeps/x86_64/nptl/Implies: New file.
48136         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
48137         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
48138         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
48139         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
48141         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
48142         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48143         (__libc_vfork): New strong alias.
48144         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
48145         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
48147         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
48148         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48149         (__libc_vfork): New strong alias.
48150         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
48151         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
48153         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
48154         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48155         (__libc_vfork): New strong alias.
48156         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
48157         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
48158         * nptl/pt-vfork.c: New file.
48159         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
48160         (libpthread: GLIBC_2.20): New version set (empty).
48162 2014-05-14  Will Newton  <will.newton@linaro.org>
48164         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
48165         rather than #if.
48167 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48169         [BZ #16564]
48170         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
48171         arguments with exponent 65 or above.
48172         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
48173         arguments 0x1p113L or above.
48174         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
48175         to arguments 0x1p107L or above.
48176         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
48177         positive arguments with exponent 65 or above.
48178         * math/auto-libm-test-in: Add more tests of log1p.
48179         * math/auto-libm-test-out: Regenerated.
48181         [BZ #16928]
48182         * math/s_cacos.c (__cacos): Ensure zero real part of result from
48183         non-finite arguments is +0.
48184         * math/s_cacosf.c (__cacosf): Likewise.
48185         * math/s_cacosl.c (__cacosl): Likewise.
48186         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
48187         * sysdeps/i386/fpu/libm-test-ulps: Update.
48188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48190         [BZ #16927]
48191         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
48192         value.
48193         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
48194         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
48195         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
48196         for explicit high bit of mantissa when testing for argument equal
48197         to 1.
48198         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
48199         * sysdeps/i386/fpu/libm-test-ulps: Update.
48200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48202         [BZ #16516]
48203         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
48204         (__erf): Scale by 16 instead of 8 in potentially underflowing
48205         case.  Ensure exception if result actually underflows.
48206         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
48207         (__erff): Scale by 16 instead of 8 in potentially underflowing
48208         case.  Ensure exception if result actually underflows.
48209         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
48210         (efx8): Remove variable.
48211         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48212         case.  Ensure exception if result actually underflows.
48213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
48214         (efx8): Remove variable.
48215         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48216         case.  Ensure exception if result actually underflows.
48217         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
48218         (efx8): Remove variable.
48219         (__erfl): Scale by 16 instead of 8 in potentially underflowing
48220         case.  Ensure exception if result actually underflows.
48221         * math/auto-libm-test-in: Add more tests of erf.
48222         * math/auto-libm-test-out: Regenerated.
48224 2014-05-14  Andreas Schwab  <schwab@suse.de>
48226         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
48227         Remove code conditionalized on USE___THREAD.
48229         * config.h.in (HAVE_PT_CHOWN): Define as 0.
48230         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
48231         not definedness.
48233 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
48235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
48236         Define unconditionally.
48237         (__ASSUME_O_CLOEXEC): Likewise.
48238         (__ASSUME_SOCK_CLOEXEC): Likewise.
48239         (__ASSUME_IN_NONBLOCK): Likewise.
48240         (__ASSUME_PIPE2): Likewise.
48241         (__ASSUME_EVENTFD2): Likewise.
48242         (__ASSUME_SIGNALFD4): Likewise.
48243         (__ASSUME_DUP3): Likewise.
48244         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48245         (__ASSUME_DUP3): Do not define.
48246         (__ASSUME_EVENTFD2): Likewise.
48247         (__ASSUME_IN_NONBLOCK): Likewise.
48248         (__ASSUME_O_CLOEXEC): Likewise.
48249         (__ASSUME_PIPE2): Likewise.
48250         (__ASSUME_SIGNALFD4): Likewise.
48251         (__ASSUME_SOCK_CLOEXEC): Likewise.
48252         (__ASSUME_UTIMES): Undefine.
48253         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48254         (__ASSUME_UTIMES): Do not define.
48255         (__ASSUME_O_CLOEXEC): Likewise.
48256         (__ASSUME_SOCK_CLOEXEC): Likewise.
48257         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
48258         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
48259         0x020621].
48260         (__ASSUME_PIPE2): Likewise.
48261         (__ASSUME_EVENTFD2): Likewise.
48262         (__ASSUME_SIGNALFD4): Likewise.
48263         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
48264         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
48265         Do not define.
48266         (__ASSUME_EVENTFD2): Likewise.
48267         (__ASSUME_SIGNALFD4): Likewise.
48268         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
48269         (__ASSUME_32BITUIDS): Likewise.
48270         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48271         (__ASSUME_IPC64): Likewise.
48272         (__ASSUME_ST_INO_64_BIT): Likewise.
48273         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
48274         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
48275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48276         (__ASSUME_UTIMES): Do not define.
48277         (__ASSUME_PSELECT): Likewise.
48278         (__ASSUME_PPOLL): Likewise.
48279         (__ASSUME_O_CLOEXEC): Likewise.
48280         (__ASSUME_SOCK_CLOEXEC): Likewise.
48281         (__ASSUME_IN_NONBLOCK): Likewise.
48282         (__ASSUME_PIPE2): Likewise.
48283         (__ASSUME_EVENTFD2): Likewise.
48284         (__ASSUME_SIGNALFD4): Likewise.
48285         (__ASSUME_DUP3): Likewise.
48286         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48287         (__ASSUME_UTIMES): Likewise.
48288         (__ASSUME_O_CLOEXEC): Likewise.
48289         (__ASSUME_SOCK_CLOEXEC): Likewise.
48290         (__ASSUME_IN_NONBLOCK): Likewise.
48291         (__ASSUME_PIPE2): Likewise.
48292         (__ASSUME_EVENTFD2): Likewise.
48293         (__ASSUME_SIGNALFD4): Likewise.
48294         (__ASSUME_DUP3): Likewise.
48295         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48296         (__ASSUME_UTIMES): Likewise.
48297         (__ASSUME_O_CLOEXEC): Likewise.
48298         (__ASSUME_SOCK_CLOEXEC): Likewise.
48299         (__ASSUME_IN_NONBLOCK): Likewise.
48300         (__ASSUME_PIPE2): Likewise.
48301         (__ASSUME_EVENTFD2): Likewise.
48302         (__ASSUME_SIGNALFD4): Likewise.
48303         (__ASSUME_DUP3): Likewise.
48304         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
48305         Likewise.
48306         (__ASSUME_UTIMES): Likewise.
48307         (__ASSUME_EVENTFD2): Likewise.
48308         (__ASSUME_SIGNALFD4): Likewise.
48309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48310         (__ASSUME_O_CLOEXEC): Likewise.
48311         (__ASSUME_SOCK_CLOEXEC): Likewise.
48312         (__ASSUME_IN_NONBLOCK): Likewise.
48313         (__ASSUME_PIPE2): Likewise.
48314         (__ASSUME_EVENTFD2): Likewise.
48315         (__ASSUME_SIGNALFD4): Likewise.
48316         (__ASSUME_DUP3): Likewise.
48317         (__ASSUME_UTIMES): Undefine.
48319         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
48320         feclearexcept.  Remove symbol versioning code.
48321         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
48322         symbol versioning code.
48323         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
48324         symbol versioning code.
48325         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
48326         feupdateenv.  Remove symbol versioning code.
48327         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
48328         fegetexceptflag.  Remove symbol versioning code.
48329         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
48330         fesetexceptflag.  Remove symbol versioning code.
48331         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
48332         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
48333         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
48334         (__posix_fadvise64_l32): Remove prototype.
48335         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
48336         code.
48338 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48340         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
48341         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
48342         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
48343         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
48345 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
48347         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
48348         current working directory
48350 2014-05-13  Roland McGrath  <roland@hack.frob.com>
48352         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
48353         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
48354         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
48355         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
48356         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
48357         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
48358         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
48359         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
48360         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
48361         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
48362         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
48363         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
48365         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
48366         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
48367         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
48368         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
48371         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
48372         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
48373         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
48374         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
48375         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
48376         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
48377         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
48378         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
48379         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
48380         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
48381         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
48382         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
48383         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
48384         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
48385         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
48386         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
48387         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
48388         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
48389         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
48390         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
48391         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
48392         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
48393         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
48395         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
48396         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
48398         * sysdeps/unix/sysv/linux/arm/Makefile
48399         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
48400         Add rt-aeabi_unwind_cpp_pr1.
48401         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
48402         Add nptl-aeabi_unwind_cpp_pr1.
48403         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
48404         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
48405         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
48406         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48407         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
48408         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48410         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
48411         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
48412         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
48413         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
48415         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
48416         Deconditionalize the code that was previously under [RESET_PID].
48417         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
48419         * sysdeps/generic/exit-thread.h: New file.
48420         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
48421         * include/unistd.h (__exit_thread): Remove declaration.
48422         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
48423         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
48424         * csu/libc-start.c: Include <exit-thread.h>.
48425         (LIBC_START_MAIN): Pass no argument to __exit_thread.
48426         * nptl/pthread_create.c: Include <exit-thread.h>.
48427         (start_thread): Call __exit_thread in place of __exit_thread_inline.
48428         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
48429         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
48430         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
48431         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
48432         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
48433         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
48434         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
48435         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
48436         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
48437         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
48438         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
48439         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48440         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
48441         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
48442         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
48443         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
48445 2014-05-13  Andreas Schwab  <schwab@suse.de>
48447         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
48449 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
48451         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
48452         (__ASSUME_UTIMES): Do not condition on kernel version.
48453         (__ASSUME_PSELECT): Define unconditionally.
48454         (__ASSUME_PPOLL): Likewise.
48455         (__ASSUME_ATFCTS): Likewise.
48456         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
48457         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
48458         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
48459         (__ASSUME_UTIMENSAT): Define unconditionally.
48460         (__ASSUME_PRIVATE_FUTEX): Likewise.
48461         (__ASSUME_FALLOCATE): Likewise.
48462         (__ASSUME_O_CLOEXEC): Likewise.
48463         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
48464         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
48465         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
48466         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
48467         (__ASSUME_IN_NONBLOCK): Likewise.
48468         (__ASSUME_PIPE2): Likewise.
48469         (__ASSUME_EVENTFD2): Likewise.
48470         (__ASSUME_SIGNALFD4): Likewise.
48471         (__ASSUME_DUP3): Likewise.
48472         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48473         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
48474         (__ASSUME_AT_RANDOM): Likewise.
48475         (__ASSUME_PREADV): Likewise.
48476         (__ASSUME_PWRITEV): Likewise.
48477         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
48478         (__ASSUME_F_GETOWN_EX): Define unconditionally.
48479         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
48480         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48481         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
48482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48483         (__ASSUME_O_CLOEXEC): Define unconditionally.
48484         (__ASSUME_PSELECT): Do not undefine conditionally.
48485         (__ASSUME_PPOLL): Likewise.
48486         (__ASSUME_ATFCTS): Likewise.
48487         (__ASSUME_SET_ROBUST_LIST): Likewise.
48488         (__ASSUME_UTIMENSAT): Likewise.
48489         (__ASSUME_FDATASYNC): Define unconditionally.
48490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48491         (__ASSUME_SIGFRAME_V2): Likewise.
48492         )__ASSUME_EVENTFD2): Likewise.
48493         (__ASSUME_SIGNALFD4): Likewise.
48494         (__ASSUME_PSELECT): Do not undefine conditionally.
48495         (__ASSUME_PPOLL): Likewise.
48496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48497         (__ASSUME_PSELECT): Define unconditionally.
48498         (__ASSUME_PPOLL): Likewise.
48499         (__ASSUME_O_CLOEXEC): Likewise.
48500         (__ASSUME_SOCK_CLOEXEC): Likewise.
48501         (__ASSUME_IN_NONBLOCK): Likewise.
48502         (__ASSUME_PIPE2): Likewise.
48503         (__ASSUME_EVENTFD2): Likewise.
48504         (__ASSUME_SIGNALFD4): Likewise.
48505         (__ASSUME_DUP3): Likewise.
48506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48507         (__ASSUME_O_CLOEXEC): Likewise.
48508         (__ASSUME_SOCK_CLOEXEC): Likewise.
48509         (__ASSUME_IN_NONBLOCK): Likewise.
48510         (__ASSUME_PIPE2): Likewise.
48511         (__ASSUME_EVENTFD2): Likewise.
48512         (__ASSUME_SIGNALFD4): Likewise.
48513         (__ASSUME_DUP3): Likewise.
48514         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48515         (__ASSUME_EVENTFD2): Likewise.
48516         (__ASSUME_SIGNALFD4): Likewise.
48517         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48519 2014-05-12  Andreas Schwab  <schwab@suse.de>
48521         [BZ #16932]
48522         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
48523         (_nss_nis_gethostbyname4_r): Return error if item length is larger
48524         than maximum RPC packet size.
48525         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
48526         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
48527         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
48528         (_nss_nis_getservbyport_r): Likewise.
48530 2014-05-12  Will Newton  <will.newton@linaro.org>
48532         * malloc/Makefile (tests): Add tst-mallopt.
48533         * malloc/tst-mallopt.c: New file.
48535 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48537         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
48538         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
48540 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48542         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
48543         (tst-tlsmod6.so): Likewise.
48545 2014-05-09  Roland McGrath  <roland@hack.frob.com>
48547         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
48549 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
48551         [BZ #16064]
48552         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
48553         and <dl-procinfo.h>.
48554         (__fegetenv): Save SSE state in envp->__eip if supported.
48555         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
48556         envp->__eip if supported.
48557         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
48558         and <dl-procinfo.h>.
48559         (__fesetenv): Always set __eip, __cs_selector, __opcode,
48560         __data_offset and __data_selector in environment to 0.  Set SSE
48561         state if supported.
48562         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
48563         test-fenv-sse.
48564         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
48565         -mfpmath=sse.
48566         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
48568 2014-05-09  Will Newton  <will.newton@linaro.org>
48570         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
48571         and libc_relro_required for ARM.
48572         * sysdeps/arm/preconfigure: Regenerate.
48574 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
48575             Stefan Liebler  <stli@linux.vnet.ibm.com>
48577         * config.make.in (enable-lock-elision): New Makefile variable.
48578         * configure.ac: Likewise.
48579         * configure: Regenerate.
48580         * sysdeps/s390/configure.ac:
48581         Add check for gcc transactions support.
48582         * sysdeps/s390/configure: Regenerate.
48583         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
48584         Build elision files if enabled.
48585         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
48586         Add lock elision support for s390.
48587         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
48588         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
48589         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
48590         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
48591         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
48592         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
48593         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
48594         Likewise.
48595         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
48596         Likewise.
48597         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
48598         Likewise.
48599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
48600         Likewise.
48601         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
48602         (__lll_timedlock_elision, __lll_lock_elision)
48603         (__lll_unlock_elision, __lll_trylock_elision)
48604         (lll_timedlock_elision, lll_lock_elision)
48605         (lll_unlock_elision, lll_trylock_elision): Add.
48606         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48607         (pthread_mutex_t): Add lock elision support for s390.
48609 2014-05-14  Wilco  <wdijkstr@arm.com>
48611         * sysdeps/arm/fclrexcpt.c: Cleanup.
48612         * sysdeps/arm/fedisblxcpt.c: Cleanup.
48613         * sysdeps/arm/feenablxcpt.c: Cleanup.
48614         * sysdeps/arm/fegetenv.c: Cleanup.
48615         * sysdeps/arm/fegetexcept.c: Cleanup.
48616         * sysdeps/arm/fegetround.c: Cleanup.
48617         * sysdeps/arm/feholdexcpt.c: Cleanup.
48618         * sysdeps/arm/fesetenv.c: Cleanup.
48619         * sysdeps/arm/fesetround.c: Cleanup.
48620         * sysdeps/arm/feupdateenv.c: Cleanup.
48621         * sysdeps/arm/fgetexcptflg.c: Cleanup.
48622         * sysdeps/arm/fraiseexcpt.c: Cleanup.
48623         * sysdeps/arm/fsetexcptflg.c: Cleanup.
48624         * sysdeps/arm/ftestexcept.c: Cleanup.
48625         * sysdeps/arm/get-rounding-mode.h: Cleanup.
48626         * sysdeps/arm/setfpucw.c: Cleanup.
48628 2014-05-09  Will Newton  <will.newton@linaro.org>
48630         * sysdeps/arm/armv7/strcmp.S: New file.
48631         * NEWS: Mention addition of ARMv7 optimized strcmp.
48633 2014-05-08  Roland McGrath  <roland@hack.frob.com>
48635         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
48636         look for %.ac rather than %.in.
48638         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
48639         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
48640         * sysdeps/mach/hurd/configure: Regenerated.
48641         * sysdeps/unix/sysv/linux/configure: Regenerated.
48643         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
48645 2014-05-07  Steve Ellcey  <sellcey@mips.com>
48647         [BZ #16922]
48648         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
48649         (LONG_SUB): Ditto.
48650         (PTR_SUB): Ditto.
48652 2014-05-07  Andreas Schwab  <schwab@suse.de>
48654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
48655         when skipping over non-matching result from nscd.
48657 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
48659         [BZ #16876]
48660         * nptl/sockperf.c (client): Check socket return value.
48662         [BZ #16877]
48663         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
48664         nscd security class.
48666 2014-05-06  Roland McGrath  <roland@hack.frob.com>
48668         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
48669         * sysdeps/arm/unwind.h: ... here.
48671 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
48673         [BZ #16916]
48674         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
48675         Define.
48677 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48679         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
48680         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
48681         multiarch strncpy for PPC64.
48682         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
48683         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
48684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
48685         multiarch optimizations.
48686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48687         (__libc_ifunc_impl_list): Likewise.
48688         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
48689         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
48690         multiarch stpncpy for PPC64.
48691         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
48692         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
48694 2014-05-06  Andreas Schwab  <schwab@suse.de>
48696         [BZ #16912]
48697         * gmon/mcount.c (_MCOUNT_DECL): Use
48698         atomic_compare_and_exchange_bool_acq instead of
48699         catomic_compare_and_exchange_bool_acq.
48701 2014-05-05  Roland McGrath  <roland@hack.frob.com>
48703         * elf/Makefile (others, install-bin): Remove pldd.
48704         (pldd-modules): Variable removed.
48705         ($(objpfx)pldd): Target removed.
48706         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
48707         (others, install-bin): Append pldd here.
48708         ($(objpfx)pldd): New target.
48710         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
48711         to 0, so the first #if test emitted later doesn't see it undefined.
48712         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
48713         * sysdeps/gnu/errlist.c: Regenerated.
48715 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48717         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48718         [libc_hidden_builtin_def]: Define to empty value.
48719         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
48720         [libc_hidden_builtin_def]: Likewise.
48721         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
48722         [libc_hidden_builtin_def]: Likewise.
48723         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
48724         [libc_hidden_builtin_def]: Likewise.
48725         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
48726         __redirect_memcpy and define ifunc as default hidden symbol.
48727         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
48728         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
48730 2014-05-04  Adam Conrad  <adconrad@0c3.net>
48732         * locale/iso-4217.def: Reintroduce XDR currency.
48734 2014-05-04  Allan McRae  <allan@archlinux.org>
48736         * po/eo.po: Update Esperanto translation from translation project.
48738 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
48740         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48741         and FEATURE_INDEX_MAX to 1.
48742         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
48744 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48746         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
48747         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48748         * iconvdata/big5.c (ONE_DIRECTION): Define.
48749         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
48750         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
48751         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
48752         * iconvdata/cp932.c (ONE_DIRECTION): Define.
48753         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
48754         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
48755         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
48756         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
48757         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
48758         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
48759         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
48760         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
48761         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
48762         * iconvdata/gbk.c (ONE_DIRECTION): Define.
48763         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
48764         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
48765         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
48766         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
48767         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
48768         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
48769         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
48770         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
48771         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
48772         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
48773         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
48774         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
48775         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
48776         * iconvdata/iso646.c (ONE_DIRECTION): Define.
48777         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
48778         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
48779         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
48780         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
48781         * iconvdata/johab.c (ONE_DIRECTION): Define.
48782         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
48783         * iconvdata/sjis.c (ONE_DIRECTION): Define.
48784         * iconvdata/t.61.c (ONE_DIRECTION): Define.
48785         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
48786         * iconvdata/tscii.c (ONE_DIRECTION): Define.
48787         * iconvdata/uhc.c (ONE_DIRECTION): Define.
48788         * iconvdata/unicode.c (ONE_DIRECTION): Define.
48789         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
48790         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
48791         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
48793 2014-05-01  Roland McGrath  <roland@hack.frob.com>
48795         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
48796         (_IO_JUMPS_OFFSET): Define to 0.
48798         * nptl/sysdeps/pthread/bits/libc-lock.h
48799         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
48800         (__libc_lock_define_initialized_recursive): Always define using
48801         initializer.  Modern compilers treat uninitialized (implicit zero) and
48802         explicit zero initializers the same (i.e. put the datum in bss).
48804 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48806         * nscd/nscd-client.h: Include <string.h>.
48808 2014-05-01  David S. Miller  <davem@davemloft.net>
48810         [BZ #16885]
48811         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
48812         multiple zero bytes exist at the end of a string.
48813         Reported by Aurelien Jarno <aurelien@aurel32.net>
48815         * string/test-strcmp.c (check): Add explicit test for situations where
48816         there are multiple zero bytes after the first.
48818 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48820         [BZ #16890]
48821         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
48822         when compiling wprintf.
48823         * stdio-common/tstdiomisc.c (t3): New function.
48824         (main): Call it.
48826 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48828         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
48829         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
48830         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
48831         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
48833 2014-05-01  Steve Ellcey  <sellcey@mips.com>
48835         * stdlib/longlong.h: Updated from GCC.
48837 2014-05-01  Will Newton  <will.newton@linaro.org>
48838             Bernard Ogden  <bernie.ogden@linaro.org>
48840         * NEWS: Update fixed bug list.
48842         [BZ #15119]
48843         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
48845 2014-04-30  David S. Miller  <davem@davemloft.net>
48847         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
48848         (libc_feholdexcept_setround_sparc_ctx): New function.
48849         (libc_fesetenv_sparc_ctx): Likewise.
48850         (libc_feupdateenv_sparc_ctx): Likewise.
48851         (libc_feholdsetround_sparc_ctx): Likewise.
48852         (libc_feholdexcept_setround_ctx): Define.
48853         (libc_feholdexcept_setroundf_ctx): Likewise.
48854         (libc_feholdexcept_setroundl_ctx): Likewise.
48855         (libc_fesetenv_ctx): Likewise.
48856         (libc_fesetenvf_ctx): Likewise.
48857         (libc_fesetenvl_ctx): Likewise.
48858         (libc_feupdateenv_ctx): Likewise.
48859         (libc_feupdateenvf_ctx): Likewise.
48860         (libc_feupdateenvl_ctx): Likewise.
48861         (libc_feresetround_ctx): Likewise.
48862         (libc_feresetroundf_ctx): Likewise.
48863         (libc_feresetroundl_ctx): Likewise.
48864         (libc_feholdsetround_ctx): Likewise.
48865         (libc_feholdsetroundf_ctx): Likewise.
48866         (libc_feholdsetroundl_ctx): Likewise.
48868         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48869         with __USE_GNU instead of XOPEN cpp guards.
48871         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
48872         0.
48874         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
48875         with XOPEN cpp guards.
48877 2014-04-30  Julian Brown  <julian@codesourcery.com>
48879         [BZ #16888]
48880         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
48881         handling.
48883 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
48885         [BZ #9894]
48886         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
48887         Change to 2.6.32.
48888         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
48889         * sysdeps/unix/sysv/linux/configure: Regenerated.
48890         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
48891         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
48892         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
48893         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
48894         * README: Update reference to required Linux kernel version.
48895         * manual/install.texi (Linux): Update reference to required Linux
48896         kernel headers version.
48897         * INSTALL: Regenerated.
48899         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
48900         header inclusion.
48901         [POSIX] (limits.h): Likewise.
48902         [POSIX] (math.h): Likewise.
48903         [POSIX] (sys/wait.h): Likewise.
48904         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
48905         function.
48906         [POSIX] (stddef.h): Do not allow header inclusion.
48908 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48910         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
48912 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
48914         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
48915         Return immediately after lll_futex_wake.
48917 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48919         [BZ #16791]
48920         * nscd/nscd-client.h (datahead_init_common): Initialize entire
48921         structure.
48922         (datahead_init_pos): Call datahead_init_common early.
48923         (datahead_init_neg): Likewise.
48925         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
48926         datahead_init_neg): New functions.
48927         * nscd/aicache.c (addhstaiX): Use them.
48928         * nscd/grpcache.c (cache_addgr): Likewise.
48929         * nscd/hstcache.c (cache_addhst): Likewise.
48930         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48931         * nscd/netgroupcache.c (do_notfound): Likewise.
48932         (addgetnetgrentX): Likewise.
48933         (addinnetgrX): Likewise.
48934         * nscd/pwdcache.c (cache_addpw): Likewise.
48935         * nscd/servicescache.c (cache_addserv): Likewise.
48937 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48938             Atsushi Onoe  <atsushi@onoe.org>
48940         [BZ #14308]
48941         [BZ #12994]
48942         [BZ #13651]
48943         * resolv/res_query.c (__libc_res_nsearch): Return if at least
48944         one response is valid.
48945         * resolv/res_send.c (send_dg): Check for validity of other
48946         response if the current response is a referral.
48948 2014-04-29  Steve Ellcey  <sellcey@mips.com>
48950         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
48952 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
48954         [BZ #16823]
48955         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
48956         Always divide by positive zero when computing -Inf result.
48957         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48958         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
48960 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48962         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
48963         FPSCR if value do not change.
48964         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48965         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
48966         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
48967         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48968         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
48969         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
48970         function.
48972 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
48974         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
48975         * sysdeps/unix/sysv/linux/hppa: Move directory from
48976         ports/systeps/unix/sysv/linux/hppa.
48977         * README: Update listing for hppa-*-linux-gnu.
48979 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
48981         [BZ #16754]
48982         * manual/stdio.texi (Hook functions): Fix types of stream hook
48983         functions.
48984         [BZ #16854]
48985         * socket/sys/socket.h: Fix typo in comment.
48987 2014-04-28  Wilco  <wdijkstr@arm.com>
48989         * sysdeps/arm/fenv_private.h: New file.
48990         * sysdeps/arm/math_private.h: New file.
48991         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
48993 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
48995         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
48996         with __int128_t.
48997         (La_x86_64_retval): Likewise.
48999 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49001         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49002         fpsr if value didn't change.
49003         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49004         to fpcr if value didn't change.
49005         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49006         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49007         fpsr or fpcr if value didn't change.
49008         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49009         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49010         fpcr if value didn't change.
49011         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49012         to fpsr if value didn't change.
49014 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49016         * nptl/tst-sem3.c: Use test-skeleton.c
49017         (main): Rename to do_test.  Use return instead of
49018         exit.
49019         * nptl/tst-sem4.c: Use test-skeleton.c
49020         (main): Rename to do_test.
49022 2014-04-22  David S. Miller  <davem@davemloft.net>
49024         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49025         (struct sigaction): New struct member __glibc_reserved0, change
49026         type of sa_flags to int.
49028 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49030         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49031         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49033 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49035         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49036         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49038 2014-04-22  Will Newton  <will.newton@linaro.org>
49039             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49041         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49042         (__longjmp): Add longjmp and longjmp_target SystemTap
49043         probes.
49044         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49045         (__sigsetjmp): Add setjmp SystemTap probe.
49047 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49049         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
49050         match manual order.
49052 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49054         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
49056         * sysdeps/powerpc/fpu/fenv_private.h
49057         (libc_feholdexcept_setroundl_ctx): Define to
49058         libc_feholdexcept_setround_ppc_ctx.
49059         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
49060         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
49061         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
49062         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
49064 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49066         * sysdeps/aarch64/math-tests.h: New file.
49068 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
49070         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
49071         New.
49072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49073         Check and set bit_AVX2_Usable.
49074         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
49075         macro.
49076         (bit_AVX2): Likewise.
49077         (index_AVX2_Usable): Likewise.
49078         (CPUID_AVX2): Likewise.
49079         (HAS_AVX2): Likewise.
49081 2014-04-17  Will Newton  <will.newton@linaro.org>
49083         * manual/setjmp.texi (System V contexts): Add note that
49084         calling setcontext on a context created by a call to a
49085         signal handler is undefined.  Update text to note that
49086         setcontext from a signal handler is possible but not
49087         recommended.
49089         [BZ #16629]
49090         * stdlib/tst-setcontext.c: Include signal.h.
49091         (main): Check that the signal stack before and
49092         after swapcontext is the same.
49094         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
49095         Re-implement to restore registers in user code and avoid
49096         rt_sigreturn system call.
49098 2014-04-17  Wilco  <wdijkstr@arm.com>
49100         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
49101         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
49102         * math/test-fenv.c: Skip exception trap tests on targets which only
49103         support non-stop mode.
49105 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
49106             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49108         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
49109         (libc_feholdsetround_aarch64_ctx)
49110         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
49111         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
49112         (libc_feresetround_ctx, libc_feresetroundf_ctx)
49113         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
49114         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
49115         (libc_feresetround_noexl_ctx): Define.
49117 2014-04-16  Richard Henderson  <rth@redhat.com>
49119         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
49121         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
49122         unwind tables.
49124         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
49125         const from the non-libc, non-ldso copy.
49127         * sysdeps/alpha/libm-test-ulps: Regenerate.
49129 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
49130             Wilco Dijkstra  <wilco.dijkstra@arm.com>
49132         * sysdeps/aarch64/fpu/math_private.h: New file.
49134 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49136         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49138 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
49140         [BZ #16275]
49141         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
49142         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
49143         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
49144         Intel MPX bound registers before _dl_profile_fixup.
49145         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
49146         registers after _dl_profile_fixup.  Save and restore bound
49147         registers bnd0/bnd1 when calling _dl_call_pltexit.
49148         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
49149         (LR_BND_OFFSET): Likewise.
49150         (LRV_BND0_OFFSET): Likewise.
49151         (LRV_BND1_OFFSET): Likewise.
49153 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49155         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
49156         to...
49157         * sysdeps/mach/hurd/i386/tls.h: ... here.
49158         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
49159         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
49160         fields.
49162 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49164         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
49166 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49168         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49170 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
49172         [BZ #14770]
49173         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
49174         * sysdeps/s390/configure: Regenerate.
49176         [BZ #16824]
49177         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
49178         Set round-to-nearest internally to reduce error accumulation.
49180 2014-04-16  Alan Modra  <amodra@gmail.com>
49182         [BZ #16740]
49183         [BZ #16619]
49184         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
49185         * math/libm-test.inc (frexp_test_data): Add tests.
49186         * NEWS: Update fixed bug list.
49188 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49190         * benchtests/Makefile: Depend on libraries in build directory.
49191         (bench-math): Separate out math tests.
49192         (bench-pthread): Separate out pthread tests.
49193         (bench): Include math and pthread tests.
49195 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
49197         [BZ #16831]
49198         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
49199         _dl_debug_initialize.
49201         * configure.ac: Remove SELinux header check.
49202         * configure: Regenerate.
49203         * nscd/selinux.c (perms): Array of const char* to permission names.
49204         (nscd_request_avc_has_perm): Call security_deny_unknown to find
49205         default policy. Call string_to_security_class and string_to_av_perm to
49206         translate strings. Enforce default policy and call avs_has_perm with
49207         results of translated strings.
49209 2014-04-13  David S. Miller  <davem@davemloft.net>
49211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49213 2014-04-12  Allan McRae  <allan@archlinux.org>
49215         [BZ #16838]
49216         * manual/string.texi (Collation Functions): Fix qsort argument
49217         order in example.
49218         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49220 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
49222         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
49223         Make the test a no-op if there are no exceptions defined.
49225 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
49227         * elf/Makefile (tests): make tst-dlopen-aout conditional on
49228         enable-hardcoded-path-in-tests
49230 2014-04-11  Will Newton  <will.newton@linaro.org>
49232         * benchtests/Makefile (extra-objs): Add json-lib.o.
49233         (bench-func): Tidy up JSON output.
49234         * benchtests/bench-skeleton.c: Include json-lib.h.
49235         (main): Use JSON library functions to do output of
49236         benchmark results.
49237         * benchtests/bench-timing-type.c (main): Output the
49238         timing type simply, leaving formatting to the user.
49239         * benchtests/json-lib.c: New file.
49240         * benchtests/json-lib.h: Likewise.
49242 2014-04-11  Torvald Riegel  <triegel@redhat.com>
49244         [BZ #15215]
49245         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
49246         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
49247         memory barriers.  Add comments.
49248         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
49249         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
49250         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
49251         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
49252         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
49253         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
49255 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49257         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
49258         * sysdeps/s390/s390-64/configure.ac: ... this ...
49259         * sysdeps/s390/configure.ac: ... to here.
49260         * sysdeps/s390/s390-32/configure: Delete file.
49261         * sysdeps/s390/s390-64/configure: Delete file.
49262         * sysdeps/s390/configure: Regenerate.
49264 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
49266         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
49268 2014-04-11  Will Newton  <will.newton@linaro.org>
49270         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
49271         to zero if it is not defined elsewhere.  (mtrim): Test
49272         the value of MALLOC_DEBUG with #if rather than #ifdef.
49274 2014-04-10 Torvald Riegel  <triegel@redhat.com>
49276         * benchtests/pthread_once-inputs: New file.
49277         * benchtests/pthread_once-source.c: New file.
49278         * benchtests/README: Update documentation.
49280 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
49281             H.J. Lu  <hongjiu.lu@intel.com>
49283         [BZ #16275]
49284         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
49285         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
49286         * sysdeps/x86_64/configure: Regenerated.
49287         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
49288         macro.
49289         (REGISTER_SAVE_RAX): Likewise.
49290         (REGISTER_SAVE_RCX): Likewise.
49291         (REGISTER_SAVE_RDX): Likewise.
49292         (REGISTER_SAVE_RSI): Likewise.
49293         (REGISTER_SAVE_RDI): Likewise.
49294         (REGISTER_SAVE_R8): Likewise.
49295         (REGISTER_SAVE_R9): Likewise.
49296         (REGISTER_SAVE_BND0): Likewise.
49297         (REGISTER_SAVE_BND1): Likewise.
49298         (REGISTER_SAVE_BND2): Likewise.
49299         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
49300         bound registers when calling _dl_fixup.
49302 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49304         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
49305         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
49306         of its definition.
49307         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
49308         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
49309         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
49310         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
49311         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
49312         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
49313         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
49315 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
49317         [BZ #15514]
49318         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
49319         pathconf(_PC_NAME_MAX).
49321 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49323         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
49324         Remove macro usage.
49325         (__PTHREAD_SPINS): Move definition to ...
49326         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49327         (__PTHREAD_SPINS): ... here.
49328         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49329         (__PTHREAD_SPIN): Likewise.
49330         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
49331         (__PTHREAD_SPIN): Likewise.
49332         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
49333         (__PTHREAD_SPIN): Likewise.
49334         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
49335         (__PTHREAD_SPIN): Likewise.
49336         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49337         (__PTHREAD_SPIN): Likewise.
49338         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49339         (__PTHREAD_SPIN): Likewise.
49340         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
49341         (__PTHREAD_SPIN): Likewise.
49342         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49343         (__PTHREAD_SPIN): Likewise.
49344         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49345         (__PTHREAD_SPIN): Likewise.
49346         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49347         (__PTHREAD_SPIN): Likewise.
49348         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49349         (__PTHREAD_SPIN): Likewise.
49350         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
49351         (__PTHREAD_SPIN): Likewise.
49353         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
49354         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
49355         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
49356         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
49357         imply folder.
49358         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
49359         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
49360         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
49361         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
49362         correct imply path.
49363         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
49364         strlen symbol for non multi-arch builds.
49365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
49366         missing hidden_def and weak_alias.
49368 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
49370         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
49372 2014-04-07  Will Newton  <will.newton@linaro.org>
49374         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
49375         and contents.  [!_LIBC] Remove #ifndef and contents.
49376         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
49377         * string/memccpy.c (__memccpy): Use ANSI prototype.
49378         * string/memfrob.c (memfrob): Likewise.
49379         * string/strcoll.c (STRCOLL): Likewise.
49380         * string/strlen.c (strlen): Likewise.
49381         * string/strtok.c (STRTOK): Likewise.
49382         * string/strcat.c: Remove unused #include of memcopy.h.
49383         (strcat): Use ANSI prototype.
49384         * string/strchr.c: Remove unused #include of memcopy.h.
49385         (strchr): Use ANSI prototype.
49386         * string/strcmp.c: Remove unused #include of memcopy.h.
49387         (strcmp): Use ANSI prototype.
49388         * string/strcpy.c: Remove unused #include of memcopy.h.
49389         (strcpy): Use ANSI prototype.
49391 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49393         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
49394         * config.make.in (config-extra-cppflags): Set it from
49395         libc_extra_cppflags.
49396         * configure.ac (libc_extra_cflags): Make it accumulate over
49397         configure fragments.
49398         (libc_extra_cppflags): New flag.
49399         * configure. Regenerate.
49400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
49401         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
49402         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
49405         [BZ #16815]
49406         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
49407         result for FE_DOWNWARD rounding mode.
49408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
49409         Likewise.
49410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49412 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
49414         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
49415         in function argument name.
49417 2014-04-03  David Svoboda  <svoboda@cert.org>
49419         [BZ #5666]
49420         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
49421         explicitly.
49423 2014-04-03  Roland McGrath  <roland@hack.frob.com>
49425         * elf/dl-unmap-segments.h: New file.
49426         * sysdeps/generic/ldsodefs.h
49427         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
49428         * elf/dl-close.c: Include <dl-unmap-segments.h>.
49429         * elf/dl-fptr.c: Likewise.
49430         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
49431         * sysdeps/aarch64/tlsdesc.c: Likewise.
49432         * sysdeps/arm/tlsdesc.c: Likewise.
49433         * sysdeps/i386/tlsdesc.c: Likewise.
49434         * sysdeps/tile/dl-runtime.c: Likewise.
49435         * sysdeps/x86_64/tlsdesc.c: Likewise.
49436         * elf/dl-load.h: New file.
49437         * elf/dl-load.c: Include it.
49438         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
49439         Macros moved to dl-load.h.
49440         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
49441         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
49442         Use _dl_unmap_segments in place of __munmap.
49443         Break out segment-mapping loop into ...
49444         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
49446 2014-04-03  Will Newton  <will.newton@linaro.org>
49448         * elf/dl-lookup.c (do_lookup_x): Remove comment
49449         referring to nested function and move variable
49450         declarations down to before first use.
49452 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
49454         [BZ #16799]
49455         [BZ #16800]
49456         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
49457         with 0 numerator.
49458         * math/s_catanf.c (__catanf): Likewise.
49459         * math/s_catanh.c (__catanh): Likewise.
49460         * math/s_catanhf.c (__catanhf): Likewise.
49461         * math/s_catanhl.c (__catanhl): Likewise.
49462         * math/s_catanl.c (__catanl): Likewise.
49463         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
49464         by positive zero when computing -Inf result.
49465         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
49466         (catanh_test): Likewise.
49467         * sysdeps/i386/fpu/libm-test-ulps: Update.
49468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49470         [BZ #16789]
49471         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
49472         instead of using underflowing value in computing result.
49473         * math/s_clog10.c (__clog10): Likewise.
49474         * math/s_clog10f.c (__clog10f): Likewise.
49475         * math/s_clog10l.c (__clog10l): Likewise.
49476         * math/s_clogf.c (__clogf): Likewise.
49477         * math/s_clogl.c (__clogl): Likewise.
49478         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
49479         (clog10_test): Likewise.
49480         * sysdeps/i386/fpu/libm-test-ulps: Update.
49481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483 2014-04-02  Alan Modra  <amodra@gmail.com>
49485         [BZ #16739]
49486         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
49487         output when value is near a power of two.  Use int64_t for lx and
49488         remove casts.  Use decimal rather than hex exponent constants.
49489         Don't use long double multiplication when double will suffice.
49490         * math/libm-test.inc (nextafter_test_data): Add tests.
49491         * NEWS: Add 16739 and 16786 to bug list.
49493         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
49495         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
49497 2014-04-01  Will Newton  <will.newton@linaro.org>
49499         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
49500         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
49502 2014-04-01  Florian Weimer  <fweimer@redhat.com>
49504         [BZ #13347]
49505         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
49506         * nptl/tst-setuid2.c: New file.
49507         * nptl/Makefile (xtests): Add tst-setuid2.
49509 2014-04-01  Alan Modra  <amodra@gmail.com>
49511         [BZ #16786]
49512         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
49514 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49516         [BZ #6803]
49517         [BZ #6804]
49518         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
49519         set errno as appropriate.
49520         * math/w_scalbf.c (__scalbf): Likewise.
49521         * math/w_scalbl.c (__scalbl): Likewise.
49522         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
49523         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
49524         * math/libm-test.inc (scalb_test_data): Add errno expectations.
49525         Add more NaN tests.
49527         [BZ #16349]
49528         * math/w_atan2.c: Include <errno.h>.
49529         (__atan2): Set errno for result underflowing to zero.
49530         * math/w_atan2f.c: Include <errno.h>.
49531         (__atan2f): Set errno for result underflowing to zero.
49532         * math/w_atan2l.c: Include <errno.h>.
49533         (__atan2l): Set errno for result underflowing to zero.
49534         * math/auto-libm-test-in: Don't allow missing errno for some atan2
49535         tests.
49536         * math/auto-libm-test-out: Regenerated.
49538 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49540         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
49541         Encode instruction correctly in little endian.
49542         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
49543         Likewise.
49544         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
49545         Likewise.
49546         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
49547         Likewise.
49548         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
49549         Likewise.
49551 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
49553         [BZ #9894]
49554         * sysdeps/unix/sysv/linux/kernel-features.h
49555         [__sparc__ && !__arch64__ && !__sparc_v9__]
49556         (__ASSUME_SET_ROBUST_LIST): Do not define.
49557         [__sparc__ && !__arch64__ && !__sparc_v9__]
49558         (__ASSUME_FUTEX_LOCK_PI): Likewise.
49559         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
49560         Likewise.
49561         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49562         (__ASSUME_FUTEX_LOCK_PI): Undefine.
49563         (__ASSUME_REQUEUE_PI): Likewise.
49564         (__ASSUME_SET_ROBUST_LIST): Likewise.
49565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49566         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
49567         Undefine.
49568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49569         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
49570         Likewise.
49571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
49572         Likewise.
49573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
49574         Likewise.
49575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49576         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
49577         Undefine.
49578         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
49579         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
49580         Likewise.
49582         [BZ #16648]
49583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49584         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
49585         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
49587 2014-03-31  Will Newton  <will.newton@linaro.org>
49589         * benchtests/Makefile (bench): Add ffs and ffsll to list
49590         of tests.
49591         * benchtests/ffs-inputs: New file.
49592         * benchtests/ffsll-inputs: Likewise.
49594 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
49596         [BZ #16770]
49597         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
49598         too large before casting to int.
49599         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
49600         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
49601         * math/libm-test.inc (scalb_test_data): Add more tests.
49603 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49605         * benchtests/Makefile (DETAILED_OPT): New make option.
49606         (bench-func): Run benchmark program with -d if DETAILED_OPT is
49607         set.
49608         * benchtests/bench-skeleton.c: Include stdbool.h.
49609         (main): Store and print timings per input.
49610         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
49611         member to each argument value.
49612         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
49613         (_print_arg_data): Initialize per-input timing to 0.
49615         * benchtests/Makefile (timing-type): New binary.
49616         (bench-clean): Also remove bench-timing-type.
49617         (bench): New target for timing-type.
49618         (bench-func): Print output in JSON format.
49619         * benchtests/bench-skeleton.c (main): Print output in JSON
49620         format.
49621         * benchtests/bench-timing-type.c: New file.
49622         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
49623         (TIMING_PRINT_STATS): Remove.
49624         * benchtests/scripts/bench.py (_print_arg_data): Store variant
49625         name separately.
49627         * benchtests/bench-modf.c: Remove.
49628         * benchtests/modf-inputs: New inputs file.
49630 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
49632         [BZ #16362]
49633         * math/s_clog10.c (M_PI_LOG10E): New macro.
49634         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
49635         imaginary parts are 0.
49636         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
49637         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
49638         imaginary parts are 0.
49639         * math/s_clog10l.c (M_PI_LOG10El): New macro.
49640         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
49641         imaginary parts are 0.
49642         * math/libm-test.inc (clog10_test_data): Update expected results
49643         for when real and imaginary parts are 0.
49645 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
49647         * elf/dl-load.c: Finish conversion of __builtin_expect into
49648         __glibc_{un}likely.
49650 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
49652         [BZ #16348]
49653         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
49654         1+x for argument with exponent below -67.
49655         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
49656         Likewise.
49657         * math/auto-libm-test-in: Add more tests of exp.
49658         * math/auto-libm-test-out: Regenerated.
49660 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49662         [BZ #16759]
49663         * inet/getnetgrent_r.c (get_nonempty_val): New function.
49664         (nscd_getnetgrent): Use it.
49666         [BZ #16760]
49667         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
49668         of stpcpy.
49670 2014-03-27  Andi Kleen  <ak@linux.intel.com>
49672         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
49673         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49674         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49675         (lll_robust_unlock): Remove out of line section. Use cfi
49676         intrinsics.
49677         (LLL_STUB_UNWIND_INFO*): Remove.
49678         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
49679         (lll_robust_lock, lll_cond_lock, lll_timedlock)
49680         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
49681         (lll_robust_unlock): Remove out of line section. Use cfi
49682         intrinsics.
49683         (LLL_STUB_UNWIND_INFO*): Remove.
49685 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49687         [BZ #16758]
49688         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
49689         blank values.
49691 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
49693         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
49695 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
49697         [BZ #16198]
49698         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
49699         fnstenv.
49700         * math/test-fenv-preserve.c: New file.
49701         * math/Makefile (tests): Add test-fenv-preserve.
49703 2014-03-26  Will Newton <will.newton@linaro.org>
49705         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
49707 2014-03-25  Roland McGrath  <roland@hack.frob.com>
49709         * scripts/versionlist.awk: Partition the version sets and emit all
49710         GLIBC_* (sorted) before all others (sorted).
49712 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49714         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
49715         GLIBC_2.2.5 version.
49717 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49719         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
49720         calls.
49722         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
49723         previous change.
49725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49727 2014-03-25  Andreas Schwab  <schwab@suse.de>
49729         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
49730         label to be used after in6ailist is initialized.
49732 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49734         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
49735         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49737 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
49739         [BZ #16357]
49740         [BZ #16599]
49741         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
49742         min_plus_half.
49743         (fp_formats): Update initializers.
49744         (init_fp_formats): Initialize new field.
49745         (output_for_one_input_case): Allow underflow for results up to
49746         min_plus_half.
49747         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
49748         * math/auto-libm-test-in: Don't mark some underflows from asin and
49749         atanh as spurious.
49750         * math/auto-libm-test-out: Regenerated.
49751         * sysdeps/i386/fpu/libm-test-ulps: Update.
49752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49754 2014-03-25  Andreas Schwab  <schwab@suse.de>
49756         * libio/Makefile (tst-ftell-partial-wide-ENV)
49757         (tst-ftell-active-handler-ENV): Define.
49759 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
49761         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
49763 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49765         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
49767 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49769         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
49770         * sysdeps/x86_64/fpu/multiarch/e_exp.c
49771         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
49773 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
49775         [BZ #16634]
49776         * elf/dl-load.c (open_verify): Add mode parameter.
49777         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
49778         (open_path): Change from boolean 'secure' to complete flag 'mode'
49779         (_dl_map_object): Adjust.
49780         * elf/Makefile (tests): Add tst-dlopen-aout.
49781         * elf/tst-dlopen-aout.c: New test.
49783 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
49785         [BZ #16714]
49786         * sysdeps/unix/sysv/linux/s390/bits/stat.h
49787         (struct stat): Rename member pad0 to __glibc_reserved0.
49789         [BZ #16712]
49790         * sysdeps/s390/s390-32/bits/wordsize.h
49791         (__WORDSIZE32_SIZE_ULONG): New define.
49792         * sysdeps/s390/s390-64/bits/wordsize.h
49793         (__WORDSIZE32_SIZE_ULONG): Likewise.
49794         * sysdeps/generic/stdint.h (SIZE_MAX):
49795         Define as UL if __WORDSIZE32_SIZE_ULONG.
49797         [BZ #16713]
49798         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
49799         (__glibc_reserved0): New variable.
49800         (sa_flags): Change type to int.
49802         * posix/Makefile (before-compile): Use += before-compile instead
49803         of a :=.
49805         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49806         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
49808 2014-03-20  Andreas Schwab  <schwab@suse.de>
49810         [BZ #16743]
49811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
49812         non-matching result from nscd.
49814 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49816         * scripts/bench.py: Moved to ...
49817         * benchtests/scripts/bench.py: ... here.
49818         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
49820 2014-03-24  Andreas Schwab  <schwab@suse.de>
49822         [BZ #16002]
49823         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
49824         alloca_account and account alloca use for struct in6ailist.
49826 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
49828         [BZ #16284]
49829         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
49830         rounding mode to recompute results that overflow to infinity or
49831         underflow to zero.
49832         * math/auto-libm-test-in: Don't mark tests as expected to fail for
49833         bug 16284.
49834         * math/auto-libm-test-out: Regenerated.
49835         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
49836         (ccosh_test): Likewise.
49837         (csin_test_data): Use plus_oflow.
49838         (csin_test): Use ALL_RM_TEST.
49839         (csinh_test_data): Use plus_oflow.
49840         (csinh_test): Use ALL_RM_TEST.
49841         * sysdeps/i386/fpu/libm-test-ulps: Update.
49842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49844 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
49846         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
49847         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
49848         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
49850         [BZ #16731]
49851         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
49852         when x - 1 is zero.
49853         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
49854         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
49855         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49856         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
49857         argument is 1.
49858         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
49859         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
49860         zero.
49861         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
49862         * sysdeps/i386/fpu/libm-test-ulps: Update.
49863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49865 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49867         * scripts/bench.pl: Remove file.
49868         * scripts/bench.py: New benchmark script.
49869         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
49870         * benchtests/README: Mention python dependency.
49871         * scripts/pylintrc: New file.
49872         * scripts/pylint: New file.
49874         * bits/mathdef.h: Use #ifdef instead of #if.
49875         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
49876         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49877         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
49878         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49879         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
49880         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
49882 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49883             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49885         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
49886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
49887         and strpbrk-ppc64 objects.
49888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49889         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
49890         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
49891         multiarch strpbrk for POWER7.
49892         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
49893         multiarch strpbrk for PPC64.
49894         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
49895         ifunc selector.
49896         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
49897         strpbrk for POWER7.
49899 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49901         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
49902         (atan_test): Likewise.
49903         (atanh_test_data): Use NO_TEST_INLINE for two tests.
49904         (atanh_test): Use ALL_RM_TEST.
49905         (atan2_test_data): Likewise.
49906         (cabs_test): Likewise.
49907         (cacosh_test): Likewise.
49908         (carg_test): Likewise.
49909         (casin_test): Likewise.
49910         (casinh_test): Likewise.
49911         (cbrt_test): Likewise.
49912         (csqrt_test): Likewise.
49913         (erf_test): Likewise.
49914         (erfc_test): Likewise.
49915         (pow10_test): Likewise.
49916         (exp2_test): Likewise.
49917         (hypot_test): Likewise.
49918         (j0_test): Likewise.
49919         (j1_test): Likewise.
49920         (lgamma_test): Likewise.
49921         (gamma_test): Likewise.
49922         (sincos_test): Likewise.
49923         (tanh_test): Likewise.
49924         (y0_test): Likewise.
49925         (y1_test): Likewise.
49926         * sysdeps/i386/fpu/libm-test-ulps: Update.
49927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49929 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49931         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
49932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
49933         and strcspn-ppc64 objects.
49934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49935         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
49936         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
49937         multiarch strcspn for POWER7.
49938         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
49939         multiarch strcspn for PPC64.
49940         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
49941         ifunc selector.
49942         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
49943         strcspn for POWER7.
49945 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49947         * math/gen-libm-test.pl (generate_testfile): Expect only function
49948         name as argument to AUTO_TESTS_* and pass results for all rounding
49949         modes to parse_args.
49950         (parse_auto_input): Separate inputs of automatic tests from
49951         outputs before storing in %auto_tests.
49952         * math/libm-test.inc (acos_test_data): Update call to
49953         AUTO_TESTS_f_f.
49954         (acos_test): Use ALL_RM_TEST.
49955         (acos_tonearest_test_data): Remove.
49956         (acos_test_tonearest): Likewise.
49957         (acos_towardzero_test_data): Likewise.
49958         (acos_test_towardzero): Likewise.
49959         (acos_downward_test_data): Likewise.
49960         (acos_test_downward): Likewise.
49961         (acos_upward_test_data): Likewise.
49962         (acos_test_upward): Likewise.
49963         (acosh_test_data): Update call to AUTO_TESTS_f_f.
49964         (asin_test_data): Likewise.
49965         (asin_test): Use ALL_RM_TEST.
49966         (asin_tonearest_test_data): Remove.
49967         (asin_test_tonearest): Likewise.
49968         (asin_towardzero_test_data): Likewise.
49969         (asin_test_towardzero): Likewise.
49970         (asin_downward_test_data): Likewise.
49971         (asin_test_downward): Likewise.
49972         (asin_upward_test_data): Likewise.
49973         (asin_test_upward): Likewise.
49974         (asinh_test_data): Update call to AUTO_TESTS_f_f.
49975         (atan_test_data): Likewise.
49976         (atanh_test_data): Likewise.
49977         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
49978         (cabs_test_data): Update call to AUTO_TESTS_c_f.
49979         (carg_test_data): Likewise.
49980         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
49981         (ccos_test_data): Update call to AUTO_TESTS_c_c.
49982         (ccosh_test_data): Likewise.
49983         (cexp_test_data): Likewise.
49984         (clog_test_data): Likewise.
49985         (clog10_test_data): Likewise.
49986         (cos_test_data): Update call to AUTO_TESTS_f_f.
49987         (cos_test): Use ALL_RM_TEST.
49988         (cos_tonearest_test_data): Remove.
49989         (cos_test_tonearest): Likewise.
49990         (cos_towardzero_test_data): Likewise.
49991         (cos_test_towardzero): Likewise.
49992         (cos_downward_test_data): Likewise.
49993         (cos_test_downward): Likewise.
49994         (cos_upward_test_data): Likewise.
49995         (cos_test_upward): Likewise.
49996         (cosh_test_data): Update call to AUTO_TESTS_f_f.
49997         (cosh_test): Use ALL_RM_TEST.
49998         (cosh_tonearest_test_data): Remove.
49999         (cosh_test_tonearest): Likewise.
50000         (cosh_towardzero_test_data): Likewise.
50001         (cosh_test_towardzero): Likewise.
50002         (cosh_downward_test_data): Likewise.
50003         (cosh_test_downward): Likewise.
50004         (cosh_upward_test_data): Likewise.
50005         (cosh_test_upward): Likewise.
50006         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50007         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50008         (ctan_test_data): Likewise.
50009         (ctan_test): Use ALL_RM_TEST.
50010         (ctan_tonearest_test_data): Remove.
50011         (ctan_test_tonearest): Likewise.
50012         (ctan_towardzero_test_data): Likewise.
50013         (ctan_test_towardzero): Likewise.
50014         (ctan_downward_test_data): Likewise.
50015         (ctan_test_downward): Likewise.
50016         (ctan_upward_test_data): Likewise.
50017         (ctan_test_upward): Likewise.
50018         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50019         (ctanh_test): Use ALL_RM_TEST.
50020         (ctanh_tonearest_test_data): Remove.
50021         (ctanh_test_tonearest): Likewise.
50022         (ctanh_towardzero_test_data): Likewise.
50023         (ctanh_test_towardzero): Likewise.
50024         (ctanh_downward_test_data): Likewise.
50025         (ctanh_test_downward): Likewise.
50026         (ctanh_upward_test_data): Likewise.
50027         (ctanh_test_upward): Likewise.
50028         (erf_test_data): Update call to AUTO_TESTS_f_f.
50029         (erfc_test_data): Likewise.
50030         (exp_test_data): Likewise.
50031         (exp_test): Use ALL_RM_TEST.
50032         (exp_tonearest_test_data): Remove.
50033         (exp_test_tonearest): Likewise.
50034         (exp_towardzero_test_data): Likewise.
50035         (exp_test_towardzero): Likewise.
50036         (exp_downward_test_data): Likewise.
50037         (exp_test_downward): Likewise.
50038         (exp_upward_test_data): Likewise.
50039         (exp_test_upward): Likewise.
50040         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50041         (exp10_test): Use ALL_RM_TEST.
50042         (exp10_tonearest_test_data): Remove.
50043         (exp10_test_tonearest): Likewise.
50044         (exp10_towardzero_test_data): Likewise.
50045         (exp10_test_towardzero): Likewise.
50046         (exp10_downward_test_data): Likewise.
50047         (exp10_test_downward): Likewise.
50048         (exp10_upward_test_data): Likewise.
50049         (exp10_test_upward): Likewise.
50050         (exp2_test_data): Update call to AUTO_TESTS_f_f.
50051         (expm1_test_data): Likewise.
50052         (expm1_test): Use ALL_RM_TEST.
50053         (expm1_tonearest_test_data): Remove.
50054         (expm1_test_tonearest): Likewise.
50055         (expm1_towardzero_test_data): Likewise.
50056         (expm1_test_towardzero): Likewise.
50057         (expm1_downward_test_data): Likewise.
50058         (expm1_test_downward): Likewise.
50059         (expm1_upward_test_data): Likewise.
50060         (expm1_test_upward): Likewise.
50061         (fma_test_data): Update call to AUTO_TESTS_fff_f.
50062         (fma_test): Use ALL_RM_TEST.
50063         (fma_towardzero_test_data): Remove.
50064         (fma_test_towardzero): Likewise.
50065         (fma_downward_test_data): Likewise.
50066         (fma_test_downward): Likewise.
50067         (fma_upward_test_data): Likewise.
50068         (fma_test_upward): Likewise.
50069         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
50070         (j0_test_data): Update call to AUTO_TESTS_f_f.
50071         (j1_test_data): Likewise.
50072         (jn_test_data): Update call to AUTO_TESTS_if_f.
50073         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
50074         (log_test_data): Update call to AUTO_TESTS_f_f.
50075         (log10_test_data): Likewise.
50076         (log1p_test_data): Likewise.
50077         (log2_test_data): Likewise.
50078         (pow_test_data): Update call to AUTO_TESTS_ff_f.
50079         (pow_tonearest_test_data): Likewise.
50080         (sin_test_data): Update call to AUTO_TESTS_f_f.
50081         (sin_test): Use ALL_RM_TEST.
50082         (sin_tonearest_test_data): Remove.
50083         (sin_test_tonearest): Likewise.
50084         (sin_towardzero_test_data): Likewise.
50085         (sin_test_towardzero): Likewise.
50086         (sin_downward_test_data): Likewise.
50087         (sin_test_downward): Likewise.
50088         (sin_upward_test_data): Likewise.
50089         (sin_test_upward): Likewise.
50090         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
50091         (sinh_test_data): Update call to AUTO_TESTS_f_f.
50092         (sinh_test): Use ALL_RM_TEST.
50093         (sinh_tonearest_test_data): Remove.
50094         (sinh_test_tonearest): Likewise.
50095         (sinh_towardzero_test_data): Likewise.
50096         (sinh_test_towardzero): Likewise.
50097         (sinh_downward_test_data): Likewise.
50098         (sinh_test_downward): Likewise.
50099         (sinh_upward_test_data): Likewise.
50100         (sinh_test_upward): Likewise.
50101         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
50102         (sqrt_test): Use ALL_RM_TEST.
50103         (sqrt_tonearest_test_data): Remove.
50104         (sqrt_test_tonearest): Likewise.
50105         (sqrt_towardzero_test_data): Likewise.
50106         (sqrt_test_towardzero): Likewise.
50107         (sqrt_downward_test_data): Likewise.
50108         (sqrt_test_downward): Likewise.
50109         (sqrt_upward_test_data): Likewise.
50110         (sqrt_test_upward): Likewise.
50111         (tan_test_data): Update call to AUTO_TESTS_f_f.
50112         (tan_test): Use ALL_RM_TEST.
50113         (tan_tonearest_test_data): Remove.
50114         (tan_test_tonearest): Likewise.
50115         (tan_towardzero_test_data): Likewise.
50116         (tan_test_towardzero): Likewise.
50117         (tan_downward_test_data): Likewise.
50118         (tan_test_downward): Likewise.
50119         (tan_upward_test_data): Likewise.
50120         (tan_test_upward): Likewise.
50121         (tanh_test_data): Update call to AUTO_TESTS_f_f.
50122         (tgamma_test_data): Likewise.
50123         (y0_test_data): Likewise.
50124         (y1_test_data): Likewise.
50125         (yn_test_data): Update call to AUTO_TESTS_if_f.
50126         (main): Do not call removed functions.
50128 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50130         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
50131         (ldexp_test_data): Remove.
50132         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
50133         scalbn_test_data.
50134         (scalb_test): Use ALL_RM_TEST.
50136 2014-03-19  Andreas Schwab  <schwab@suse.de>
50138         * nscd/nscd.service: Also invalidate netgroup cache on reload.
50140 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
50142         [BZ #16649]
50143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
50145         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
50146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50147         (__ASSUME_PREADV): Undefine.
50148         (__ASSUME_PWRITEV): Likewise.
50150 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50152         * bits/mman-linux.h: Add comment about non-Linux use.
50153         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
50154         bits/mman-linux.h resting place.
50156         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
50157         * bits/mman-linux.h: ... here.
50159 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50161         * conform/conformtest.pl: Add standard definition when calling C
50162         preprocessor on data files.
50163         (checknamespace): Remove unused variable.
50165 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50167         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
50168         minus_oflow, plus_uflow and minus_uflow in expected results.
50169         * math/libm-test.inc (scalbn_test_data): Add more tests of
50170         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
50171         minus_uflow.
50172         (scalbn_test): Use ALL_RM_TEST.
50173         (scalbln_test_data): Add more tests of negative arguments.  Use
50174         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
50175         (scalbln_test): Use ALL_RM_TEST.
50177 2014-03-18  Roland McGrath  <roland@hack.frob.com>
50179         * scripts/abilist.awk: Ignore symbols marked with .hidden.
50181 2014-03-18  Will Newton  <will.newton@linaro.org>
50183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
50184         inaccurate comment.
50186 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
50188         * Makerules [!subdir] (check-abi): Exit with error status if a
50189         test failed.
50191 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50193         * math/libm-test.inc (nearbyint_test_data): Include all tests used
50194         for rint.  Include results for all rounding modes.
50195         (nearbyint_test): Use ALL_RM_TEST.
50196         (rint_test_data): Include all tests used for nearbyint.
50198 2014-03-17  Will Newton  <will.newton@linaro.org>
50200         * nptl/sysdeps/pthread/pthread.h: Revert previous
50201         change.
50203         * sysdeps/generic/ldsodefs.h: Revert previous
50204         change.
50206         * libio/genops.c: Revert previous change.
50207         * libio/libioP.h: Likewise.
50208         * stdio-common/vfprintf.c: Likewise.
50210         * sysdeps/generic/math_private.h: Revert previous
50211         change.
50213         * sysdeps/generic/math_private.h: Check whether
50214         HAVE_RM_CTX is defined with #ifdef rather
50215         than #if.
50217         * argp/argp-fmtstream.h: Check whether
50218         __STRICT_ANSI__ is defined with #ifdef rather
50219         than #if.
50220         * argp/argp.h: Likewise.
50222         * libio/genops.c: Check whether
50223         _IO_JUMPS_OFFSET is defined with #ifdef rather
50224         than #if.
50225         * libio/libioP.h: Likewise.
50226         * stdio-common/vfprintf.c: Likewise.
50228         * sysdeps/generic/ldsodefs.h: Check whether
50229         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
50230         than #if.
50232         * nptl/sysdeps/pthread/pthread.h: Check
50233         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
50234         its value.
50236 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50238         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
50239         setting O_APPEND.
50240         * libio/tst-ftell-active-handler.c (do_append_test): Add a
50241         test case.
50243         [BZ #16680]
50244         * libio/fileops.c (_IO_file_open): Seek to end of file but
50245         don't cache the offset.
50246         (get_file_offset): Remove function.
50247         (do_ftell): Use cached offset when available.
50248         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
50249         don't cache the offset.
50250         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
50251         case.
50252         (do_one_test): Call it.
50253         (do_ftell_test): Fix up expected old offset for a+ mode.
50254         * libio/wfileops.c (do_ftell_wide): Used cached offset when
50255         available.
50257         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
50258         up test status with function return status.
50259         (do_write_test): Likewise.
50260         (do_append_test): Likewise.
50262         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
50263         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50264         Remove.
50266 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
50268         * math/gen-libm-test.pl (parse_args): Handle results specified for
50269         each rounding mode separately.
50270         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
50271         tests and results from lrint_tonearest_test_data,
50272         lrint_towardzero_test_data, lrint_downward_test_data and
50273         lrint_upward_test_data.
50274         (lrint_test): Use ALL_RM_TEST.
50275         (lrint_tonearest_test_data): Remove.
50276         (lrint_test_tonearest): Likewise.
50277         (lrint_towardzero_test_data): Likewise.
50278         (lrint_test_towardzero): Likewise.
50279         (lrint_downward_test_data): Likewise.
50280         (lrint_test_downward): Likewise.
50281         (lrint_upward_test_data): Likewise.
50282         (lrint_test_upward): Likewise.
50283         (llrint_test_data): Merge in per-rounding-mode tests and results
50284         from llrint_tonearest_test_data, llrint_towardzero_test_data,
50285         llrint_downward_test_data and llrint_upward_test_data.
50286         (llrint_test): Use ALL_RM_TEST.
50287         (llrint_tonearest_test_data): Remove.
50288         (llrint_test_tonearest): Likewise.
50289         (llrint_towardzero_test_data): Likewise.
50290         (llrint_test_towardzero): Likewise.
50291         (llrint_downward_test_data): Likewise.
50292         (llrint_test_downward): Likewise.
50293         (llrint_upward_test_data): Likewise.
50294         (llrint_test_upward): Likewise.
50295         (rint_test_data): Merge in per-rounding-mode tests and results
50296         from rint_tonearest_test_data, rint_towardzero_test_data,
50297         rint_downward_test_data and rint_upward_test_data.  Add
50298         per-rounding-mode results for tests not in those arrays.
50299         (rint_test): Use ALL_RM_TEST.
50300         (rint_tonearest_test_data): Remove.
50301         (rint_test_tonearest): Likewise.
50302         (rint_towardzero_test_data): Likewise.
50303         (rint_test_towardzero): Likewise.
50304         (rint_downward_test_data): Likewise.
50305         (rint_test_downward): Likewise.
50306         (rint_upward_test_data): Likewise.
50307         (rint_test_upward): Likewise.
50308         (main): Don't call removed functions.
50310 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50312         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
50313         "Compiled on ..." crapola.  It is anti-useful.
50315 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
50317         * scripts/evaluate-test.sh: Handle fourth argument to determine
50318         whether test run should stop on failure.
50319         * Makeconfig (stop-on-test-failure): New variable.
50320         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
50321         $(stop-on-test-failure).
50322         * Makefile (tests): Give a summary of results from testing and
50323         exit with failure status if they include an ERROR or FAIL.
50324         (xtests): Likewise.
50325         * manual/install.texi (Configuring and compiling): Mention
50326         stop-on-test-failure=y.
50327         * INSTALL: Regenerated.
50329 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50331         * scripts/versionlist.awk: New file.
50332         * Makerules [$(build-shared) = yes]
50333         (postclean-generated): Add Versions.def, not Versions.def.v and
50334         Versions.def.v.i.
50335         ($(common-objpfx)Versions.def.v.i): Target removed.
50336         ($(common-objpfx)Versions.def): New target.
50337         ($(common-objpfx)Versions.all): Depend on that rather that
50338         $(common-objpfx)Versions.def.v.
50339         * Versions.def: File removed.
50341         * Makeconfig (+gccwarn): Add -Wundef.
50342         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
50343         a dl-sysdep.h breaking its contract.
50344         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
50345         * include/stackinfo.h: New file.
50346         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
50347         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
50348         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
50349         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
50350         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
50351         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
50352         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50353         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50354         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50355         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50356         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50357         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
50358         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50359         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50360         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
50362 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50364         [BZ #16707]
50365         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
50366         implementation.
50367         * math/libm-test.inc (round_test_data): Add more tests.
50369         [BZ #16706]
50370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
50371         implementation.
50372         * math/libm-test.inc (nearbyint_test_data): Add more tests.
50374         [BZ #16701]
50375         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
50376         implementation.
50377         * math/libm-test.inc (ceil_test_data): Add more tests.
50379         * math/libm-test.inc (trunc_test_data): Add more tests related to
50380         BZ#16414.
50382 2014-03-14  Roland McGrath  <roland@hack.frob.com>
50384         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
50385         with #if rather than #ifdef.
50386         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
50388 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
50390         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
50391         first.  Disable AVX-512 GCC support if assembler doesn't support
50392         it.
50393         * sysdeps/x86_64/configure: Regenerated.
50395 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
50397         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
50398         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
50399         (__old_pthread_attr_setstack): Likewise.
50400         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
50401         [!_STACK_GROWS_DOWN]: Likewise.
50403 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
50405         * config.make.in (have-bash2): Delete.
50406         * configure.ac (libc_cv_have_bash2): Delete.
50407         * configure: Regenerate.
50408         * elf/Makefile (common-ldd-rewrite): Rename to ...
50409         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
50410         (sh-ldd-rewrite): Delete.
50411         (bash-ldd-rewrite): Delete.
50412         (have-bash2): Delete checks.
50413         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
50414         ldd-rewrite.
50416         * config.make.in (have-ksh): Delete.
50417         (KSH): Delete.
50418         * configure.ac (libc_cv_have_ksh): Delete.
50419         * configure: Regenerate.
50421         * elf/Makefile: Delete $(have-ksh) check.
50422         ($(objpfx)sotruss): Change KSH to BASH.
50423         * elf/sotruss.ksh: Rename to ...
50424         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
50425         function style to match POSIX.  Drop ksh vim mode setting.
50427         * manual/time.texi (Specifying the Time Zone with TZ): Change
50428         Tuesday to Thursday.
50430         * debug/tst-longjmp_chk2.c: Update header comment.
50431         (stackoverflow_handler): Add comment.  Call assert on pass value.
50433 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
50435         [BZ #16194]
50436         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
50437         (HAVE_AVX512_ASM_SUPPORT): Likewise.
50438         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
50439         (La_x86_64_vector): Add zmm.
50440         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
50441         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
50442         ($(objpfx)tst-audit10): New target.
50443         ($(objpfx)tst-audit10.out): Likewise.
50444         (tst-audit10-ENV): New.
50445         (AVX512-CFLAGS): Likewise.
50446         (CFLAGS-tst-audit10.c): Likewise.
50447         (CFLAGS-tst-auditmod10a.c): Likewise.
50448         (CFLAGS-tst-auditmod10b.c): Likewise.
50449         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
50450         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
50451         * sysdeps/x86_64/configure: Regenerated.
50452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
50453         AVX-512 zmm register support.
50454         (_dl_x86_64_save_sse): Likewise.
50455         (_dl_x86_64_restore_sse): Likewise.
50456         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
50457         size vector registers.
50458         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
50459         (ZMM_SIZE): Likewise.
50460         * sysdeps/x86_64/tst-audit10.c: New file.
50461         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
50462         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
50464 2014-03-13  Roland McGrath  <roland@hack.frob.com>
50466         * configure.ac (HAVE_EHDR_START): New check.
50467         * configure: Regenerated.
50468         * config.h.in (HAVE_EHDR_START): New #undef.
50469         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
50470         assuming the lowest-addressed segment maps the start of the file.
50472 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
50474         * INSTALL: Regenerated.
50476 2014-03-13  Will Newton  <will.newton@linaro.org>
50478         * manual/setjmp.texi (System V contexts): Improve
50479         clarity and grammar of documentation.
50481 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
50483         [BZ #16381]
50484         * elf/Makefile (tests): Add tst-pie2.
50485         (tests-pie): Add tst-pie2.
50486         * elf/tst-pie2.c: New file.
50487         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
50488         for ET_EXEC.
50489         * elf/rtld.c (map_doit): Load executable as lt_executable.
50490         (dl_main): Likewise.
50492 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
50494         [BZ #16642]
50495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50496         (__ASSUME_PSELECT): Undefine.
50498 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50500         [BZ #16689]
50501         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
50502         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
50503         static build.
50504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
50505         selector for static builds.
50507 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50509         [BZ #16695]
50510         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
50511         key in the buffer.
50513 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50515         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
50516         IFUNC selector for static builds.
50518 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
50520         * sysdeps/mips/math_private.h [__mips_hard_float]
50521         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
50522         libc_feresetround_mips_ctx.
50523         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
50524         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
50525         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
50527         [BZ #16677]
50528         * math/s_nextafter.c (__nextafter): Do not return value from
50529         overflowing computation.
50530         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
50531         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
50532         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
50533         Likewise.
50534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
50535         Likewise.
50536         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
50537         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
50539 2014-03-11  Roland McGrath  <roland@hack.frob.com>
50541         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
50542         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
50543         Move sfi_sp use from the load-multiple (that no longer sets sp) to
50544         the new mov targetting sp.
50546 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50548         [BZ #16683]
50549         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
50550         Define it for static builds as well.
50551         (NO_BZERO_IMPL): Likewise.
50553 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50555         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
50556         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
50557         multiarch strspn for PPC64.
50558         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
50559         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
50560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50561         (__libc_ifunc_impl_list): Likewise.
50562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
50563         multiarch optimizations
50564         * string/strspn.c (strspn): Using macro to redefine symbol name.
50566 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50569         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
50570         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
50571         multiarch strncat for PPC64.
50572         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
50573         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
50574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50575         (__libc_ifunc_impl_list): Likewise.
50576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
50577         multiarch optimizations
50579 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50581         [BZ #16639]
50582         * nscd/nscd.service: Make service type forking.
50584 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50586         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
50587         sign in non default rounding modes.
50588         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
50590 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
50592         * math/libm-test.inc (ALL_RM_TEST): New macro.
50593         (ceil_test): Use ALL_RM_TEST.
50594         (cimag_test): Likewise.
50595         (conj_test): Likewise.
50596         (copysign_test): Likewise.
50597         (cproj_test): Likewise.
50598         (creal_test): Likewise.
50599         (fabs_test): Likewise.
50600         (floor_test): Likewise.
50601         (fmax_test): Likewise.
50602         (fmin_test): Likewise.
50603         (fmod_test): Likewise.
50604         (fpclassify_test): Likewise.
50605         (frexp_test): Likewise.
50606         (ilogb_test): Likewise.
50607         (isfinite_test): Likewise.
50608         (finite_test): Likewise.
50609         (isgreater_test): Likewise.
50610         (isgreaterequal_test): Likewise.
50611         (isinf_test): Likewise.
50612         (isless_test): Likewise.
50613         (islessequal_test): Likewise.
50614         (islessgreater_test): Likewise.
50615         (isnan_test): Likewise.
50616         (isnormal_test): Likewise.
50617         (issignaling_test): Likewise.
50618         (isunordered_test): Likewise.
50619         (logb_test): Likewise.
50620         (logb_downward_test_data): Remove.
50621         (logb_test_downward): Likewise.
50622         (lround_test): Use ALL_RM_TEST.
50623         (llround_test): Likewise.
50624         (modf_test): Likewise.
50625         (nexttoward_test): Likewise.
50626         (remainder_test): Likewise.
50627         (drem_test): Likewise.
50628         (remainder_tonearest_test_data): Likewise.
50629         (remainder_test_tonearest): Likewise.
50630         (drem_test_tonearest): Likewise.
50631         (remainder_towardzero_test_data): Likewise.
50632         (remainder_test_towardzero): Likewise.
50633         (drem_test_towardzero): Likewise.
50634         (remainder_downward_test_data): Likewise.
50635         (remainder_test_downward): Likewise.
50636         (drem_test_downward): Likewise.
50637         (remainder_upward_test_data): Likewise.
50638         (remainder_test_upward): Likewise.
50639         (drem_test_upward): Likewise.
50640         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
50641         (round_test): Use ALL_RM_TEST.
50642         (signbit_test): Likewise.
50643         (trunc_test): Likewise.
50644         (significand_test): Likewise.
50645         (main): Don't call removed functions.
50647 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
50649         [BZ #16674]
50650         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
50651         || __USE_XOPEN2K8].
50652         (ILL_ILLOPN): Likewise.
50653         (ILL_ILLADR): Likewise.
50654         (ILL_ILLTRP): Likewise.
50655         (ILL_PRVOPC): Likewise.
50656         (ILL_PRVREG): Likewise.
50657         (ILL_COPROC): Likewise.
50658         (ILL_BADSTK): Likewise.
50659         (FPE_INTDIV): Likewise.
50660         (FPE_INTOVF): Likewise.
50661         (FPE_FLTDIV): Likewise.
50662         (FPE_FLTOVF): Likewise.
50663         (FPE_FLTUND): Likewise.
50664         (FPE_FLTRES): Likewise.
50665         (FPE_FLTINV): Likewise.
50666         (FPE_FLTSUB): Likewise.
50667         (SEGV_MAPERR): Likewise.
50668         (SEGV_ACCERR): Likewise.
50669         (BUS_ADRALN): Likewise.
50670         (BUS_ADRERR): Likewise.
50671         (BUS_OBJERR): Likewise.
50672         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50673         (TRAP_TRACE): Likewise.
50674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50675         __USE_XOPEN2K8].
50676         (CLD_KILLED): Likewise.
50677         (CLD_DUMPED): Likewise.
50678         (CLD_TRAPPED): Likewise.
50679         (CLD_STOPPED): Likewise.
50680         (CLD_CONTINUED): Likewise.
50681         (POLL_IN): Likewise.
50682         (POLL_OUT): Likewise.
50683         (POLL_MSG): Likewise.
50684         (POLL_ERR): Likewise.
50685         (POLL_PRI): Likewise.
50686         (POLL_HUP): Likewise.
50687         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
50688         Likewise.
50689         (ILL_ILLOPN): Likewise.
50690         (ILL_ILLADR): Likewise.
50691         (ILL_ILLTRP): Likewise.
50692         (ILL_PRVOPC): Likewise.
50693         (ILL_PRVREG): Likewise.
50694         (ILL_COPROC): Likewise.
50695         (ILL_BADSTK): Likewise.
50696         (FPE_INTDIV): Likewise.
50697         (FPE_INTOVF): Likewise.
50698         (FPE_FLTDIV): Likewise.
50699         (FPE_FLTOVF): Likewise.
50700         (FPE_FLTUND): Likewise.
50701         (FPE_FLTRES): Likewise.
50702         (FPE_FLTINV): Likewise.
50703         (FPE_FLTSUB): Likewise.
50704         (SEGV_MAPERR): Likewise.
50705         (SEGV_ACCERR): Likewise.
50706         (BUS_ADRALN): Likewise.
50707         (BUS_ADRERR): Likewise.
50708         (BUS_OBJERR): Likewise.
50709         (BUS_MCEERR_AR): Likewise.
50710         (BUS_MCEERR_AO): Likewise.
50711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50712         (TRAP_TRACE): Likewise.
50713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50714         __USE_XOPEN2K8].
50715         (CLD_KILLED): Likewise.
50716         (CLD_DUMPED): Likewise.
50717         (CLD_TRAPPED): Likewise.
50718         (CLD_STOPPED): Likewise.
50719         (CLD_CONTINUED): Likewise.
50720         (POLL_IN): Likewise.
50721         (POLL_OUT): Likewise.
50722         (POLL_MSG): Likewise.
50723         (POLL_ERR): Likewise.
50724         (POLL_PRI): Likewise.
50725         (POLL_HUP): Likewise.
50726         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
50727         (ILL_ILLOPN): Likewise.
50728         (ILL_ILLADR): Likewise.
50729         (ILL_ILLTRP): Likewise.
50730         (ILL_PRVOPC): Likewise.
50731         (ILL_PRVREG): Likewise.
50732         (ILL_COPROC): Likewise.
50733         (ILL_BADSTK): Likewise.
50734         (FPE_INTDIV): Likewise.
50735         (FPE_INTOVF): Likewise.
50736         (FPE_FLTDIV): Likewise.
50737         (FPE_FLTOVF): Likewise.
50738         (FPE_FLTUND): Likewise.
50739         (FPE_FLTRES): Likewise.
50740         (FPE_FLTINV): Likewise.
50741         (FPE_FLTSUB): Likewise.
50742         (SEGV_MAPERR): Likewise.
50743         (SEGV_ACCERR): Likewise.
50744         (BUS_ADRALN): Likewise.
50745         (BUS_ADRERR): Likewise.
50746         (BUS_OBJERR): Likewise.
50747         (BUS_MCEERR_AR): Likewise.
50748         (BUS_MCEERR_AO): Likewise.
50749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50750         (TRAP_TRACE): Likewise.
50751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50752         __USE_XOPEN2K8].
50753         (CLD_KILLED): Likewise.
50754         (CLD_DUMPED): Likewise.
50755         (CLD_TRAPPED): Likewise.
50756         (CLD_STOPPED): Likewise.
50757         (CLD_CONTINUED): Likewise.
50758         (POLL_IN): Likewise.
50759         (POLL_OUT): Likewise.
50760         (POLL_MSG): Likewise.
50761         (POLL_ERR): Likewise.
50762         (POLL_PRI): Likewise.
50763         (POLL_HUP): Likewise.
50764         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
50765         Likewise.
50766         (ILL_ILLOPN): Likewise.
50767         (ILL_ILLADR): Likewise.
50768         (ILL_ILLTRP): Likewise.
50769         (ILL_PRVOPC): Likewise.
50770         (ILL_PRVREG): Likewise.
50771         (ILL_COPROC): Likewise.
50772         (ILL_BADSTK): Likewise.
50773         (ILL_BADIADDR): Likewise.
50774         (ILL_BREAK): Likewise.
50775         (FPE_INTDIV): Likewise.
50776         (FPE_INTOVF): Likewise.
50777         (FPE_FLTDIV): Likewise.
50778         (FPE_FLTOVF): Likewise.
50779         (FPE_FLTUND): Likewise.
50780         (FPE_FLTRES): Likewise.
50781         (FPE_FLTINV): Likewise.
50782         (FPE_FLTSUB): Likewise.
50783         (FPE_DECOVF): Likewise.
50784         (FPE_DECDIV): Likewise.
50785         (FPE_DECERR): Likewise.
50786         (FPE_INVASC): Likewise.
50787         (FPE_INVDEC): Likewise.
50788         (SEGV_MAPERR): Likewise.
50789         (SEGV_ACCERR): Likewise.
50790         (SEGV_PSTKOVF): Likewise.
50791         (BUS_ADRALN): Likewise.
50792         (BUS_ADRERR): Likewise.
50793         (BUS_OBJERR): Likewise.
50794         (BUS_MCEERR_AR): Likewise.
50795         (BUS_MCEERR_AO): Likewise.
50796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50797         (TRAP_TRACE): Likewise.
50798         (TRAP_BRANCH): Likewise.
50799         (TRAP_HWBKPT): Likewise.
50800         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50801         __USE_XOPEN2K8].
50802         (CLD_KILLED): Likewise.
50803         (CLD_DUMPED): Likewise.
50804         (CLD_TRAPPED): Likewise.
50805         (CLD_STOPPED): Likewise.
50806         (CLD_CONTINUED): Likewise.
50807         (POLL_IN): Likewise.
50808         (POLL_OUT): Likewise.
50809         (POLL_MSG): Likewise.
50810         (POLL_ERR): Likewise.
50811         (POLL_PRI): Likewise.
50812         (POLL_HUP): Likewise.
50813         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
50814         (ILL_ILLOPN): Likewise.
50815         (ILL_ILLADR): Likewise.
50816         (ILL_ILLTRP): Likewise.
50817         (ILL_PRVOPC): Likewise.
50818         (ILL_PRVREG): Likewise.
50819         (ILL_COPROC): Likewise.
50820         (ILL_BADSTK): Likewise.
50821         (FPE_INTDIV): Likewise.
50822         (FPE_INTOVF): Likewise.
50823         (FPE_FLTDIV): Likewise.
50824         (FPE_FLTOVF): Likewise.
50825         (FPE_FLTUND): Likewise.
50826         (FPE_FLTRES): Likewise.
50827         (FPE_FLTINV): Likewise.
50828         (FPE_FLTSUB): Likewise.
50829         (SEGV_MAPERR): Likewise.
50830         (SEGV_ACCERR): Likewise.
50831         (BUS_ADRALN): Likewise.
50832         (BUS_ADRERR): Likewise.
50833         (BUS_OBJERR): Likewise.
50834         (BUS_MCEERR_AR): Likewise.
50835         (BUS_MCEERR_AO): Likewise.
50836         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50837         (TRAP_TRACE): Likewise.
50838         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50839         __USE_XOPEN2K8].
50840         (CLD_KILLED): Likewise.
50841         (CLD_DUMPED): Likewise.
50842         (CLD_TRAPPED): Likewise.
50843         (CLD_STOPPED): Likewise.
50844         (CLD_CONTINUED): Likewise.
50845         (POLL_IN): Likewise.
50846         (POLL_OUT): Likewise.
50847         (POLL_MSG): Likewise.
50848         (POLL_ERR): Likewise.
50849         (POLL_PRI): Likewise.
50850         (POLL_HUP): Likewise.
50851         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
50852         (ILL_ILLOPN): Likewise.
50853         (ILL_ILLADR): Likewise.
50854         (ILL_ILLTRP): Likewise.
50855         (ILL_PRVOPC): Likewise.
50856         (ILL_PRVREG): Likewise.
50857         (ILL_COPROC): Likewise.
50858         (ILL_BADSTK): Likewise.
50859         (FPE_INTDIV): Likewise.
50860         (FPE_INTOVF): Likewise.
50861         (FPE_FLTDIV): Likewise.
50862         (FPE_FLTOVF): Likewise.
50863         (FPE_FLTUND): Likewise.
50864         (FPE_FLTRES): Likewise.
50865         (FPE_FLTINV): Likewise.
50866         (FPE_FLTSUB): Likewise.
50867         (SEGV_MAPERR): Likewise.
50868         (SEGV_ACCERR): Likewise.
50869         (BUS_ADRALN): Likewise.
50870         (BUS_ADRERR): Likewise.
50871         (BUS_OBJERR): Likewise.
50872         (BUS_MCEERR_AR): Likewise.
50873         (BUS_MCEERR_AO): Likewise.
50874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50875         (TRAP_TRACE): Likewise.
50876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50877         __USE_XOPEN2K8].
50878         (CLD_KILLED): Likewise.
50879         (CLD_DUMPED): Likewise.
50880         (CLD_TRAPPED): Likewise.
50881         (CLD_STOPPED): Likewise.
50882         (CLD_CONTINUED): Likewise.
50883         (POLL_IN): Likewise.
50884         (POLL_OUT): Likewise.
50885         (POLL_MSG): Likewise.
50886         (POLL_ERR): Likewise.
50887         (POLL_PRI): Likewise.
50888         (POLL_HUP): Likewise.
50889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
50890         (ILL_ILLOPN): Likewise.
50891         (ILL_ILLADR): Likewise.
50892         (ILL_ILLTRP): Likewise.
50893         (ILL_PRVOPC): Likewise.
50894         (ILL_PRVREG): Likewise.
50895         (ILL_COPROC): Likewise.
50896         (ILL_BADSTK): Likewise.
50897         (FPE_INTDIV): Likewise.
50898         (FPE_INTOVF): Likewise.
50899         (FPE_FLTDIV): Likewise.
50900         (FPE_FLTOVF): Likewise.
50901         (FPE_FLTUND): Likewise.
50902         (FPE_FLTRES): Likewise.
50903         (FPE_FLTINV): Likewise.
50904         (FPE_FLTSUB): Likewise.
50905         (SEGV_MAPERR): Likewise.
50906         (SEGV_ACCERR): Likewise.
50907         (BUS_ADRALN): Likewise.
50908         (BUS_ADRERR): Likewise.
50909         (BUS_OBJERR): Likewise.
50910         (BUS_MCEERR_AR): Likewise.
50911         (BUS_MCEERR_AO): Likewise.
50912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50913         (TRAP_TRACE): Likewise.
50914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50915         __USE_XOPEN2K8].
50916         (CLD_KILLED): Likewise.
50917         (CLD_DUMPED): Likewise.
50918         (CLD_TRAPPED): Likewise.
50919         (CLD_STOPPED): Likewise.
50920         (CLD_CONTINUED): Likewise.
50921         (POLL_IN): Likewise.
50922         (POLL_OUT): Likewise.
50923         (POLL_MSG): Likewise.
50924         (POLL_ERR): Likewise.
50925         (POLL_PRI): Likewise.
50926         (POLL_HUP): Likewise.
50927         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
50928         (ILL_ILLOPN): Likewise.
50929         (ILL_ILLADR): Likewise.
50930         (ILL_ILLTRP): Likewise.
50931         (ILL_PRVOPC): Likewise.
50932         (ILL_PRVREG): Likewise.
50933         (ILL_COPROC): Likewise.
50934         (ILL_BADSTK): Likewise.
50935         (ILL_DBLFLT): Likewise.
50936         (ILL_HARDWALL): Likewise.
50937         (FPE_INTDIV): Likewise.
50938         (FPE_INTOVF): Likewise.
50939         (FPE_FLTDIV): Likewise.
50940         (FPE_FLTOVF): Likewise.
50941         (FPE_FLTUND): Likewise.
50942         (FPE_FLTRES): Likewise.
50943         (FPE_FLTINV): Likewise.
50944         (FPE_FLTSUB): Likewise.
50945         (SEGV_MAPERR): Likewise.
50946         (SEGV_ACCERR): Likewise.
50947         (BUS_ADRALN): Likewise.
50948         (BUS_ADRERR): Likewise.
50949         (BUS_OBJERR): Likewise.
50950         (BUS_MCEERR_AR): Likewise.
50951         (BUS_MCEERR_AO): Likewise.
50952         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50953         (TRAP_TRACE): Likewise.
50954         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50955         __USE_XOPEN2K8].
50956         (CLD_KILLED): Likewise.
50957         (CLD_DUMPED): Likewise.
50958         (CLD_TRAPPED): Likewise.
50959         (CLD_STOPPED): Likewise.
50960         (CLD_CONTINUED): Likewise.
50961         (POLL_IN): Likewise.
50962         (POLL_OUT): Likewise.
50963         (POLL_MSG): Likewise.
50964         (POLL_ERR): Likewise.
50965         (POLL_PRI): Likewise.
50966         (POLL_HUP): Likewise.
50967         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
50968         (ILL_ILLOPN): Likewise.
50969         (ILL_ILLADR): Likewise.
50970         (ILL_ILLTRP): Likewise.
50971         (ILL_PRVOPC): Likewise.
50972         (ILL_PRVREG): Likewise.
50973         (ILL_COPROC): Likewise.
50974         (ILL_BADSTK): Likewise.
50975         (FPE_INTDIV): Likewise.
50976         (FPE_INTOVF): Likewise.
50977         (FPE_FLTDIV): Likewise.
50978         (FPE_FLTOVF): Likewise.
50979         (FPE_FLTUND): Likewise.
50980         (FPE_FLTRES): Likewise.
50981         (FPE_FLTINV): Likewise.
50982         (FPE_FLTSUB): Likewise.
50983         (SEGV_MAPERR): Likewise.
50984         (SEGV_ACCERR): Likewise.
50985         (BUS_ADRALN): Likewise.
50986         (BUS_ADRERR): Likewise.
50987         (BUS_OBJERR): Likewise.
50988         (BUS_MCEERR_AR): Likewise.
50989         (BUS_MCEERR_AO): Likewise.
50990         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
50991         (TRAP_TRACE): Likewise.
50992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
50993         __USE_XOPEN2K8].
50994         (CLD_KILLED): Likewise.
50995         (CLD_DUMPED): Likewise.
50996         (CLD_TRAPPED): Likewise.
50997         (CLD_STOPPED): Likewise.
50998         (CLD_CONTINUED): Likewise.
50999         (POLL_IN): Likewise.
51000         (POLL_OUT): Likewise.
51001         (POLL_MSG): Likewise.
51002         (POLL_ERR): Likewise.
51003         (POLL_PRI): Likewise.
51004         (POLL_HUP): Likewise.
51005         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51006         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51008         [BZ #16670]
51009         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51010         before #include of <time.h>.
51011         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51012         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51013         (test-xfail-UNIX98/sched.h/conform): Likewise.
51015 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51017         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51018         error absence of trapping exception support.
51019         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51021 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51023         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51024         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51025         * timezone/Makefile (testdata): Move definition above include of
51026         Rules.
51027         (test-zones): New variable.
51028         (tests-special): Add zone files.
51029         (build-testdata): Use $(evaluate-test).
51031         * elf/Makefile (tests-special): Rename tests to end with .out.
51032         ($(objpfx)noload-mem): Likewise.
51033         ($(objpfx)tst-leaks1-mem): Likewise.
51034         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51035         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51036         $(objpfx)test-iconvconfig.out.
51037         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51038         set -e inside subshell and redirect output to file.
51039         * iconvdata/Makefile (generated): Rename tests to end with .out.
51040         Correct type.
51041         (tests-special): Rename tests to end with .out.
51042         ($(objpfx)mtrace-tst-loading): Likewise.
51043         * intl/Makefile (generated): Likewise.
51044         (tests-special): Likewise.
51045         ($(objpfx)mtrace-tst-gettext): Likewise.
51046         * misc/Makefile (generated): Likewise.
51047         (tests-special): Likewise.
51048         ($(objpfx)tst-error1-mem): Likewise.
51049         * nptl/Makefile (tests-special): Likewise.
51050         ($(objpfx)tst-stack3-mem): Likewise.
51051         (generated): Likewise.
51052         * posix/Makefile (generated): Likewise.
51053         (tests-special): Likewise.
51054         (xtests-special): Likewise.
51055         ($(objpfx)tst-fnmatch-mem): Likewise.
51056         ($(objpfx)bug-regex2-mem): Likewise.
51057         ($(objpfx)bug-regex14-mem): Likewise.
51058         ($(objpfx)bug-regex21-mem): Likewise.
51059         ($(objpfx)bug-regex31-mem): Likewise.
51060         ($(objpfx)tst-vfork3-mem): Likewise.
51061         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
51062         ($(objpfx)tst-pcre-mem): Likewise.
51063         ($(objpfx)tst-boost-mem): Likewise.
51064         ($(objpfx)bug-ga2-mem): Likewise.
51065         ($(objpfx)bug-glob2-mem): Likewise.
51066         * resolv/Makefile (generate): Likewise.
51067         (tests-special): Likewise.
51068         (xtests-special): Likewise.
51069         (generated): Likewise.
51070         ($(objpfx)mtrace-tst-leaks): Likewise.
51071         ($(objpfx)mtrace-tst-leaks2): Likewise.
51073         * scripts/merge-test-results.sh: New file.
51074         * Makefile (tests-special-notdir): New variable.
51075         (tests): Run merge-test-results.sh.
51076         (xtests): Likewise.
51077         * Rules (tests-special-notdir): New variable.
51078         (xtests-special-notdir): Likewise.
51079         (tests): Run merge-test-results.sh
51080         (xtests): Likewise.
51082         * Makeconfig (test-xfail-name): New variable.
51083         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
51084         compute variable name for expected failures.
51085         * conform/Makefile (conformtest-headers-data): New variable.
51086         (conformtest-standards): Likewise.
51087         (conformtest-headers-ISO): Likewise.
51088         (conformtest-headers-ISO99): Likewise.
51089         (conformtest-headers-ISO11): Likewise.
51090         (conformtest-headers-POSIX): Likewise.
51091         (conformtest-headers-XPG3): Likewise.
51092         (conformtest-headers-XPG4): Likewise.
51093         (conformtest-headers-UNIX98): Likewise.
51094         (conformtest-headers-XOPEN2K): Likewise.
51095         (conformtest-headers-POSIX2008): Likewise.
51096         (conformtest-headers-XOPEN2K8): Likewise.
51097         (conformtest-header-list-base): Likewise.
51098         (conformtest-header-list-tests): Likewise.
51099         (conformtest-header-base): Likewise.
51100         (conformtest-header-tests): Likewise.
51101         (tests-special): Add $(conformtest-header-list-tests).  If
51102         [$(fast-check) && !$(cross-compiling)], add
51103         $(conformtest-header-tests) instead of
51104         $(objpfx)run-conformtest.out.
51105         (generated): Add $(conformtest-header-list-base).  If
51106         [$(fast-check) && !$(cross-compiling)], add
51107         $(conformtest-header-base).  Remove previous setting.
51108         ($(conformtest-header-list-tests)): New target.
51109         (test-xfail-run-conformtest): Remove variable.
51110         ($(objpfx)run-conformtest.out): Remove target.
51111         (test-xfail-ISO11/complex.h/conform): New variable.
51112         (test-xfail-ISO11/stdalign.h/conform): Likewise.
51113         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
51114         (test-xfail-XPG3/varargs.h/conform): Likewise.
51115         (test-xfail-XPG4/varargs.h/conform): Likewise.
51116         (test-xfail-UNIX98/varargs.h/conform): Likewise.
51117         (test-xfail-XPG4/ndbm.h/conform): Likewise.
51118         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
51119         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
51120         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
51121         (test-xfail-XPG3/fcntl.h/conform): Likewise.
51122         (test-xfail-XPG3/ftw.h/conform): Likewise.
51123         (test-xfail-XPG3/grp.h/conform): Likewise.
51124         (test-xfail-XPG3/langinfo.h/conform): Likewise.
51125         (test-xfail-XPG3/limits.h/conform): Likewise.
51126         (test-xfail-XPG3/pwd.h/conform): Likewise.
51127         (test-xfail-XPG3/search.h/conform): Likewise.
51128         (test-xfail-XPG3/signal.h/conform): Likewise.
51129         (test-xfail-XPG3/stdio.h/conform): Likewise.
51130         (test-xfail-XPG3/stdlib.h/conform): Likewise.
51131         (test-xfail-XPG3/string.h/conform): Likewise.
51132         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
51133         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
51134         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
51135         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
51136         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
51137         (test-xfail-XPG3/sys/types.h/conform): Likewise.
51138         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
51139         (test-xfail-XPG3/termios.h/conform): Likewise.
51140         (test-xfail-XPG3/time.h/conform): Likewise.
51141         (test-xfail-XPG3/unistd.h/conform): Likewise.
51142         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
51143         (test-xfail-XPG4/fcntl.h/conform): Likewise.
51144         (test-xfail-XPG4/langinfo.h/conform): Likewise.
51145         (test-xfail-XPG4/netdb.h/conform): Likewise.
51146         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
51147         (test-xfail-XPG4/signal.h/conform): Likewise.
51148         (test-xfail-XPG4/stdio.h/conform): Likewise.
51149         (test-xfail-XPG4/stdlib.h/conform): Likewise.
51150         (test-xfail-XPG4/stropts.h/conform): Likewise.
51151         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
51152         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
51153         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
51154         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
51155         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
51156         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
51157         (test-xfail-XPG4/sys/time.h/conform): Likewise.
51158         (test-xfail-XPG4/sys/types.h/conform): Likewise.
51159         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
51160         (test-xfail-XPG4/termios.h/conform): Likewise.
51161         (test-xfail-XPG4/ucontext.h/conform): Likewise.
51162         (test-xfail-XPG4/unistd.h/conform): Likewise.
51163         (test-xfail-XPG4/utmpx.h/conform): Likewise.
51164         (test-xfail-POSIX/sched.h/conform): Likewise.
51165         (test-xfail-POSIX/signal.h/conform): Likewise.
51166         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51167         (test-xfail-POSIX/tar.h/conform): Likewise.
51168         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
51169         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
51170         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
51171         (test-xfail-UNIX98/netdb.h/conform): Likewise.
51172         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
51173         (test-xfail-UNIX98/sched.h/conform): Likewise.
51174         (test-xfail-UNIX98/signal.h/conform): Likewise.
51175         (test-xfail-UNIX98/stdio.h/conform): Likewise.
51176         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
51177         (test-xfail-UNIX98/stropts.h/conform): Likewise.
51178         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
51179         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
51180         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
51181         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
51182         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
51183         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
51184         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
51185         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
51186         (test-xfail-UNIX98/unistd.h/conform): Likewise.
51187         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
51188         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
51189         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
51190         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
51191         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
51192         (test-xfail-XOPEN2K/math.h/conform): Likewise.
51193         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
51194         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
51195         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
51196         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
51197         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
51198         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
51199         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
51200         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
51201         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
51202         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
51203         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
51204         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
51205         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
51206         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
51207         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
51208         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
51209         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
51210         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
51211         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
51212         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
51213         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
51214         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
51215         (test-xfail-POSIX2008/signal.h/conform): Likewise.
51216         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
51217         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
51218         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
51219         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
51220         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
51221         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
51222         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
51223         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
51224         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
51225         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
51226         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
51227         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
51228         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
51229         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
51230         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
51231         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
51232         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
51233         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
51234         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
51235         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
51236         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
51237         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
51238         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
51239         (conformtest-cc-flags): Likewise.
51240         ($(conformtest-header-tests): New target.
51241         * conform/check-header-lists.sh: New file.
51242         * conform/run-conformtest.sh: Remove.
51244         * conform/conformtest.pl: Allow ' and \ in values given for
51245         constants.
51246         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
51247         inclusion.
51248         [POSIX] (sys/types.h): Likewise.
51249         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
51250         inclusion.
51251         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
51252         inclusion.
51253         * conform/data/signal.h-data (SIGIO): Remove expectation.
51254         [XPG3] (SIGBUS): Do not expect.
51255         [POSIX || XPG3] (SIGPOLL): Likewise.
51256         [POSIX || XPG3] (SIGPROF): Likewise.
51257         [POSIX || XPG3] (SIGSYS): Likewise.
51258         [XPG3] (SIGTRAP): Likewise.
51259         [POSIX || XPG3] (SIGURG): Likewise.
51260         [POSIX || XPG3] (SIGVTALRM): Likewise.
51261         [POSIX || XPG3] (SIGXCPU): Likewise.
51262         [POSIX || XPG3] (SIGXFSZ): Likewise.
51263         [POSIX] (SA_SIGINFO): Expect.
51264         [XPG3] (siginfo_t): Do not expect type or contents.
51265         [POSIX] (si_pid): Do not expect element.
51266         [POSIX] (si_uid): Likewise.
51267         [POSIX] (si_addr): Likewise.
51268         [POSIX] (si_status): Likewise.
51269         [POSIX] (si_band): Likewise.
51270         [XPG4] (si_value): Likewise.
51271         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
51272         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
51273         [POSIX || XPG3] (ILL_ILLADR): Likewise.
51274         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
51275         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
51276         [POSIX || XPG3] (ILL_PRVREG): Likewise.
51277         [POSIX || XPG3] (ILL_COPROC): Likewise.
51278         [POSIX || XPG3] (ILL_BADSTK): Likewise.
51279         [POSIX || XPG3] (FPE_INTDIV): Likewise.
51280         [POSIX || XPG3] (FPE_INTOVF): Likewise.
51281         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
51282         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
51283         [POSIX || XPG3] (FPE_FLTUND): Likewise.
51284         [POSIX || XPG3] (FPE_FLTRES): Likewise.
51285         [POSIX || XPG3] (FPE_FLTINV): Likewise.
51286         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
51287         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
51288         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
51289         [POSIX || XPG3] (BUS_ADRALN): Likewise.
51290         [POSIX || XPG3] (BUS_ADRERR): Likewise.
51291         [POSIX || XPG3] (BUS_OBJERR): Likewise.
51292         [POSIX || XPG3] (CLD_EXITED): Likewise.
51293         [POSIX || XPG3] (CLD_KILLED): Likewise.
51294         [POSIX || XPG3] (CLD_DUMPED): Likewise.
51295         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
51296         [POSIX || XPG3] (CLD_STOPPED): Likewise.
51297         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
51298         [POSIX || XPG3] (POLL_IN): Likewise.
51299         [POSIX || XPG3] (POLL_OUT): Likewise.
51300         [POSIX || XPG3] (POLL_MSG): Likewise.
51301         [POSIX || XPG3] (POLL_ERR): Likewise.
51302         [POSIX || XPG3] (POLL_PRI): Likewise.
51303         [POSIX || XPG3] (POLL_HUP): Likewise.
51304         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
51305         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
51306         (SIG*): Do not allow.
51307         [XPG3] (si_*): Likewise.
51308         [XPG3] (SI_*): Likewise.
51309         [XPG3 || XPG4] (sigev_*): Likewise.
51310         [XPG3 || XPG4] (SIGEV_*): Likewise.
51311         [XPG3 || XPG4] (sival_*): Likewise.
51312         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
51313         [POSIX || XPG3] (BUS_*): Likewise.
51314         [POSIX || XPG3] (CLD_*): Likewise.
51315         [POSIX || XPG3] (FPE_*): Likewise.
51316         [POSIX || XPG3] (ILL_*): Likewise.
51317         [POSIX || XPG3] (POLL_*): Likewise.
51318         [POSIX || XPG3] (SEGV_*): Likewise.
51319         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
51320         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
51321         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
51322         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
51323         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
51324         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
51325         Specify type and value.
51326         (TVERSLEN): Likewise.
51327         (REGTYPE): Likewise.
51328         (AREGTYPE): Likewise.
51329         (LNKTYPE): Likewise.
51330         (SYMTYPE): Likewise.
51331         (CHRTYPE): Likewise.
51332         (BLKTYPE): Likewise.
51333         (DIRTYPE): Likewise.
51334         (FIFOTYPE): Likewise.
51335         (CONTTYPE): Likewise.
51336         (TSUID): Likewise.
51337         (TSGID): Likewise.
51338         (TSVTX): Likewise.
51339         (TUREAD): Likewise.
51340         (TUWRITE): Likewise.
51341         (TUEXEC): Likewise.
51342         (TGREAD): Likewise.
51343         (TGWRITE): Likewise.
51344         (TGEXEC): Likewise.
51345         (TOREAD): Likewise.
51346         (TOWRITE): Likewise.
51347         (TOEXEC): Likewise.
51348         [POSIX] (TSVTX): Expect constant.
51350 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
51352         * Makefile (tests): Change dependencies to ....
51353         (tests-special): ... additions to this variable.
51354         (tests): Depend on $(tests-special).
51355         * Makerules (check-abi-list): New variable.
51356         (check-abi): Depend on $(check-abi-list).
51357         [$(subdir) = elf] (tests-special): Add
51358         $(objpfx)check-abi-libc.out.
51359         [$(build-shared) = yes && subdir] (tests-special): Add
51360         $(check-abi-list).
51361         [$(build-shared) = yes && subdir] (tests): Do not depend on
51362         check-abi.
51363         * Rules (tests): Depend on $(tests-special).
51364         (xtests): Depend on $(xtests-special).
51365         * catgets/Makefile (tests): Change dependencies to ....
51366         (tests-special): ... additions to this variable.
51367         * conform/Makefile (tests): Change dependencies to ....
51368         (tests-special): ... additions to this variable.
51369         * elf/Makefile (tests): Change dependencies to ....
51370         (tests-special): ... additions to this variable.
51371         * grp/Makefile (tests): Change dependencies to ....
51372         (tests-special): ... additions to this variable.
51373         * iconv/Makefile (xtests): Change dependencies to ....
51374         (xtests-special): ... additions to this variable.
51375         * iconvdata/Makefile (tests): Change dependencies to ....
51376         (tests-special): ... additions to this variable.
51377         * intl/Makefile (tests): Change dependencies to ....
51378         (tests-special): ... additions to this variable.  Also add
51379         $(objpfx)tst-gettext.out.
51380         * io/Makefile (tests): Change dependencies to ....
51381         (tests-special): ... additions to this variable.
51382         * libio/Makefile (tests): Change dependencies to ....
51383         (tests-special): ... additions to this variable.
51384         * malloc/Makefile (tests): Change dependencies to ....
51385         (tests-special): ... additions to this variable.
51386         * misc/Makefile (tests): Change dependencies to ....
51387         (tests-special): ... additions to this variable.
51388         * nptl/Makefile (tests): Change dependencies to ....
51389         (tests-special): ... additions to this variable.
51390         * nptl_db/Makefile (tests): Change dependencies to ....
51391         (tests-special): ... additions to this variable.
51392         * posix/Makefile (tests): Change dependencies to ....
51393         (tests-special): ... additions to this variable.
51394         (xtests): Change dependencies to ....
51395         (xtests-special): ... additions to this variable.
51396         * resolv/Makefile (tests): Change dependencies to ....
51397         (tests-special): ... additions to this variable.
51398         (xtests): Change dependencies to ....
51399         (xtests-special): ... additions to this variable.
51400         * stdio-common/Makefile (tests): Change dependencies to ....
51401         (tests-special): ... additions to this variable.
51402         (do-tst-unbputc): Remove target.
51403         (do-tst-printf): Likewise.
51404         * stdlib/Makefile (tests): Change dependencies to ....
51405         (tests-special): ... additions to this variable.
51406         * string/Makefile (tests): Change dependencies to ....
51407         (tests-special): ... additions to this variable.
51408         * sysdeps/x86/Makefile (tests): Change dependencies to ....
51409         (tests-special): ... additions to this variable.
51411         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
51412         whole file.
51413         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
51414         whole file.
51415         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
51416         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
51418         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
51419         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
51420         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
51421         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
51422         * conform/data/libgen.h-data [XPG3]: Likewise.
51423         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
51424         * conform/data/ndbm.h-data [XPG3]: Likewise.
51425         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51426         * conform/data/netdb.h-data [XPG3]: Likewise.
51427         * conform/data/netinet/in.h-data [XPG3]: Likewise.
51428         * conform/data/poll.h-data [XPG3]: Likewise.
51429         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
51430         * conform/data/strings.h-data [XPG3]: Likewise.
51431         * conform/data/stropts.h-data [XPG3]: Likewise.
51432         * conform/data/sys/mman.h-data [XPG3]: Likewise.
51433         * conform/data/sys/resource.h-data [XPG3]: Likewise.
51434         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
51435         Likewise.
51436         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
51437         * conform/data/sys/time.h-data [XPG3]: Likewise.
51438         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
51439         * conform/data/sys/uio.h-data [XPG3]: Likewise.
51440         * conform/data/sys/un.h-data [XPG3]: Likewise.
51441         * conform/data/syslog.h-data [XPG3]: Likewise.
51442         * conform/data/ucontext.h-data [XPG3]: Likewise.
51443         * conform/data/utmpx.h-data [XPG3]: Likewise.
51444         * conform/data/varargs.h-data [UNIX98]: Enable file.
51446         * manual/Makefile (INSTALL_INFO): Remove variable setting.
51448         * math/libm-test.inc (struct test_f_f_data): Move expected results
51449         into structure for each rounding mode.
51450         (struct test_ff_f_data): Likewise.
51451         (struct test_ff_f_data_nexttoward): Likewise.
51452         (struct test_fi_f_data): Likewise.
51453         (struct test_fl_f_data): Likewise.
51454         (struct test_if_f_data): Likewise.
51455         (struct test_fff_f_data): Likewise.
51456         (struct test_c_f_data): Likewise.
51457         (struct test_f_f1_data): Likewise.
51458         (struct test_fF_f1_data): Likewise.
51459         (struct test_ffI_f1_data): Likewise.
51460         (struct test_c_c_data): Likewise.
51461         (struct test_cc_c_data): Likewise.
51462         (struct test_f_i_data): Likewise.
51463         (struct test_ff_i_data): Likewise.
51464         (struct test_f_l_data): Likewise.
51465         (struct test_f_L_data): Likewise.
51466         (struct test_fFF_11_data): Likewise.
51467         (RM_): New macro.
51468         (RM_FE_DOWNWARD): Likewise.
51469         (RM_FE_TONEAREST): Likewise.
51470         (RM_FE_TOWARDZERO): Likewise.
51471         (RM_FE_UPWARD): Likewise.
51472         (RUN_TEST_LOOP_f_f): Update references to expected results.
51473         (RUN_TEST_LOOP_2_f): Likewise.
51474         (RUN_TEST_LOOP_fff_f): Likewise.
51475         (RUN_TEST_LOOP_c_f): Likewise.
51476         (RUN_TEST_LOOP_f_f1): Likewise.
51477         (RUN_TEST_LOOP_fF_f1): Likewise.
51478         (RUN_TEST_LOOP_fI_f1): Likewise.
51479         (RUN_TEST_LOOP_ffI_f1): Likewise.
51480         (RUN_TEST_LOOP_c_c): Likewise.
51481         (RUN_TEST_LOOP_cc_c): Likewise.
51482         (RUN_TEST_LOOP_f_i): Likewise.
51483         (RUN_TEST_LOOP_f_i_tg): Likewise.
51484         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51485         (RUN_TEST_LOOP_f_b): Likewise.
51486         (RUN_TEST_LOOP_f_b_tg): Likewise.
51487         (RUN_TEST_LOOP_f_l): Likewise.
51488         (RUN_TEST_LOOP_f_L): Likewise.
51489         (RUN_TEST_LOOP_fFF_11): Likewise.
51490         * math/gen-libm-test.pl (parse_args): Output four copies of
51491         expected results for each test.
51493         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51494         (__ASSUME_UTIMES): Remove.
51495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51496         (__ASSUME_UTIMES): Likewise.
51498         * math/gen-auto-libm-tests.c: Update comment on output format.
51499         (output_for_one_input_case): Generate before-rounding and
51500         after-rounding information as conditions on output flags not
51501         floating-point format.
51502         * math/auto-libm-test-out: Regenerated.
51503         * math/gen-libm-test.pl (cond_value): New function.
51504         (or_cond_value): Use cond_value.
51505         (generate_testfile): Handle conditional exceptions.
51507 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
51509         * math/libm-test.inc (max_valid_error): New variable.
51510         (init_max_error): Take new argument specifying whether function
51511         results are exactly determined.  Set max_valid_error and bound
51512         other variables for errors based on this argument.
51513         (set_max_error): Do not record results above max_valid_error.
51514         (check_float_internal): Only accept errors of up to 0.5ulps if
51515         also at most max_valid_error.
51516         (START): Take new argument EXACT and pass it to init_max_error.
51517         (acos_test): Update call to START.
51518         (acos_test_tonearest): Likewise.
51519         (acos_test_towardzero): Likewise.
51520         (acos_test_downward): Likewise.
51521         (acos_test_upward): Likewise.
51522         (acosh_test): Likewise.
51523         (asin_test): Likewise.
51524         (asin_test_tonearest): Likewise.
51525         (asin_test_towardzero): Likewise.
51526         (asin_test_downward): Likewise.
51527         (asin_test_upward): Likewise.
51528         (asinh_test): Likewise.
51529         (atan_test): Likewise.
51530         (atanh_test): Likewise.
51531         (atan2_test): Likewise.
51532         (cabs_test): Likewise.
51533         (cacos_test): Likewise.
51534         (cacosh_test): Likewise.
51535         (carg_test): Likewise.
51536         (casin_test): Likewise.
51537         (casinh_test): Likewise.
51538         (catan_test): Likewise.
51539         (catanh_test): Likewise.
51540         (cbrt_test): Likewise.
51541         (ccos_test): Likewise.
51542         (ccosh_test): Likewise.
51543         (ceil_test): Likewise.
51544         (cexp_test): Likewise.
51545         (cimag_test): Likewise.
51546         (clog_test): Likewise.
51547         (clog10_test): Likewise.
51548         (conj_test): Likewise.
51549         (copysign_test): Likewise.
51550         (cos_test): Likewise.
51551         (cos_test_tonearest): Likewise.
51552         (cos_test_towardzero): Likewise.
51553         (cos_test_downward): Likewise.
51554         (cos_test_upward): Likewise.
51555         (cosh_test): Likewise.
51556         (cosh_test_tonearest): Likewise.
51557         (cosh_test_towardzero): Likewise.
51558         (cosh_test_downward): Likewise.
51559         (cosh_test_upward): Likewise.
51560         (cpow_test): Likewise.
51561         (cproj_test): Likewise.
51562         (creal_test): Likewise.
51563         (csin_test): Likewise.
51564         (csinh_test): Likewise.
51565         (csqrt_test): Likewise.
51566         (ctan_test): Likewise.
51567         (ctan_test_tonearest): Likewise.
51568         (ctan_test_towardzero): Likewise.
51569         (ctan_test_downward): Likewise.
51570         (ctan_test_upward): Likewise.
51571         (ctanh_test): Likewise.
51572         (ctanh_test_tonearest): Likewise.
51573         (ctanh_test_towardzero): Likewise.
51574         (ctanh_test_downward): Likewise.
51575         (ctanh_test_upward): Likewise.
51576         (erf_test): Likewise.
51577         (erfc_test): Likewise.
51578         (exp_test): Likewise.
51579         (exp_test_tonearest): Likewise.
51580         (exp_test_towardzero): Likewise.
51581         (exp_test_downward): Likewise.
51582         (exp_test_upward): Likewise.
51583         (exp10_test): Likewise.
51584         (exp10_test_tonearest): Likewise.
51585         (exp10_test_towardzero): Likewise.
51586         (exp10_test_downward): Likewise.
51587         (exp10_test_upward): Likewise.
51588         (pow10_test): Likewise.
51589         (exp2_test): Likewise.
51590         (expm1_test): Likewise.
51591         (expm1_test_tonearest): Likewise.
51592         (expm1_test_towardzero): Likewise.
51593         (expm1_test_downward): Likewise.
51594         (expm1_test_upward): Likewise.
51595         (fabs_test): Likewise.
51596         (fdim_test): Likewise.
51597         (floor_test): Likewise.
51598         (fma_test): Likewise.
51599         (fma_test_towardzero): Likewise.
51600         (fma_test_downward): Likewise.
51601         (fma_test_upward): Likewise.
51602         (fmax_test): Likewise.
51603         (fmin_test): Likewise.
51604         (fmod_test): Likewise.
51605         (fpclassify_test): Likewise.
51606         (frexp_test): Likewise.
51607         (hypot_test): Likewise.
51608         (ilogb_test): Likewise.
51609         (isfinite_test): Likewise.
51610         (finite_test): Likewise.
51611         (isgreater_test): Likewise.
51612         (isgreaterequal_test): Likewise.
51613         (isinf_test): Likewise.
51614         (isless_test): Likewise.
51615         (islessequal_test): Likewise.
51616         (islessgreater_test): Likewise.
51617         (isnan_test): Likewise.
51618         (isnormal_test): Likewise.
51619         (issignaling_test): Likewise.
51620         (isunordered_test): Likewise.
51621         (j0_test): Likewise.
51622         (j1_test): Likewise.
51623         (jn_test): Likewise.
51624         (ldexp_test): Likewise.
51625         (lgamma_test): Likewise.
51626         (gamma_test): Likewise.
51627         (lrint_test): Likewise.
51628         (lrint_test_tonearest): Likewise.
51629         (lrint_test_towardzero): Likewise.
51630         (lrint_test_downward): Likewise.
51631         (lrint_test_upward): Likewise.
51632         (llrint_test): Likewise.
51633         (llrint_test_tonearest): Likewise.
51634         (llrint_test_towardzero): Likewise.
51635         (llrint_test_downward): Likewise.
51636         (llrint_test_upward): Likewise.
51637         (log_test): Likewise.
51638         (log10_test): Likewise.
51639         (log1p_test): Likewise.
51640         (log2_test): Likewise.
51641         (logb_test): Likewise.
51642         (logb_test_downward): Likewise.
51643         (lround_test): Likewise.
51644         (llround_test): Likewise.
51645         (modf_test): Likewise.
51646         (nearbyint_test): Likewise.
51647         (nextafter_test): Likewise.
51648         (nexttoward_test): Likewise.
51649         (pow_test): Likewise.
51650         (pow_test_tonearest): Likewise.
51651         (pow_test_towardzero): Likewise.
51652         (pow_test_downward): Likewise.
51653         (pow_test_upward): Likewise.
51654         (remainder_test): Likewise.
51655         (drem_test): Likewise.
51656         (remainder_test_tonearest): Likewise.
51657         (drem_test_tonearest): Likewise.
51658         (remainder_test_towardzero): Likewise.
51659         (drem_test_towardzero): Likewise.
51660         (remainder_test_downward): Likewise.
51661         (drem_test_downward): Likewise.
51662         (remainder_test_upward): Likewise.
51663         (drem_test_upward): Likewise.
51664         (remquo_test): Likewise.
51665         (rint_test): Likewise.
51666         (rint_test_tonearest): Likewise.
51667         (rint_test_towardzero): Likewise.
51668         (rint_test_downward): Likewise.
51669         (rint_test_upward): Likewise.
51670         (round_test): Likewise.
51671         (scalb_test): Likewise.
51672         (scalbn_test): Likewise.
51673         (scalbln_test): Likewise.
51674         (signbit_test): Likewise.
51675         (sin_test): Likewise.
51676         (sin_test_tonearest): Likewise.
51677         (sin_test_towardzero): Likewise.
51678         (sin_test_downward): Likewise.
51679         (sin_test_upward): Likewise.
51680         (sincos_test): Likewise.
51681         (sinh_test): Likewise.
51682         (sinh_test_tonearest): Likewise.
51683         (sinh_test_towardzero): Likewise.
51684         (sinh_test_downward): Likewise.
51685         (sinh_test_upward): Likewise.
51686         (sqrt_test): Likewise.
51687         (sqrt_test_tonearest): Likewise.
51688         (sqrt_test_towardzero): Likewise.
51689         (sqrt_test_downward): Likewise.
51690         (sqrt_test_upward): Likewise.
51691         (tan_test): Likewise.
51692         (tan_test_tonearest): Likewise.
51693         (tan_test_towardzero): Likewise.
51694         (tan_test_downward): Likewise.
51695         (tan_test_upward): Likewise.
51696         (tanh_test): Likewise.
51697         (tgamma_test): Likewise.
51698         (trunc_test): Likewise.
51699         (y0_test): Likewise.
51700         (y1_test): Likewise.
51701         (yn_test): Likewise.
51702         (significand_test): Likewise.
51704         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
51705         individual tests in comment.
51706         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
51707         (prev_max_error): New variable.
51708         (prev_real_max_error): Likewise.
51709         (prev_imag_max_error): Likewise.
51710         (compare_ulp_data): Don't refer to test names in comment.
51711         (find_test_ulps): Remove function.
51712         (find_function_ulps): Likewise.
51713         (find_complex_function_ulps): Likewise.
51714         (init_max_error): Take function name as argument.  Look up ulps
51715         for that function.
51716         (print_ulps): Remove function.
51717         (print_max_error): Use prev_max_error instead of calling
51718         find_function_ulps.
51719         (print_complex_max_error): Use prev_real_max_error and
51720         prev_imag_max_error instead of calling find_complex_function_ulps.
51721         (check_float_internal): Take max_ulp parameter instead of calling
51722         find_test_ulps.  Don't call print_ulps.
51723         (check_float): Update call to check_float_internal.
51724         (check_complex): Update calls to check_float_internal.
51725         (START): Pass argument to init_max_error.
51726         * math/gen-libm-test.pl (%results): Don't include "kind"
51727         information.
51728         (parse_ulps): Don't handle ulps of individual tests.
51729         (print_ulps_file): Likewise.
51730         (output_ulps): Likewise.
51731         * math/README.libm-test: Update.
51732         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
51733         individual tests.
51734         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
51735         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
51736         * sysdeps/arm/libm-test-ulps: Likewise.
51737         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
51738         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51739         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
51740         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
51741         * sysdeps/microblaze/libm-test-ulps: Likewise.
51742         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
51743         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51744         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51745         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
51746         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51747         * sysdeps/sh/libm-test-ulps: Likewise.
51748         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51749         * sysdeps/tile/libm-test-ulps: Likewise.
51750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51752 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
51754         * math/libm-test.inc (print_complex_max_error): Check separately
51755         whether real and imaginary errors are within allowed range and
51756         pass 0 to print_complex_function_ulps instead of value within
51757         allowed range.
51759 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51761         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
51762         formatting.
51763         (get_handles_fopen): Likewise.
51764         (do_write_test): Likewise.
51766         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
51768         * libio/fileops.c (do_ftell): Use cached offset when
51769         available.
51770         * libio/iofwide.c (do_ftell_wide): Likewise.
51771         * libio/iofdopen.c (_IO_new_fdopen): Don't use
51772         _IO_file_attach.
51773         * libio/wfileops.c (_IO_fwide): Don't cache offset.
51775         [BZ #16532]
51776         * libio/libioP.h (get_file_offset): New function.
51777         * libio/fileops.c (get_file_offset): Likewise.
51778         (do_ftell): Likewise.
51779         (_IO_new_file_seekoff): Split out ftell logic.
51780         * libio/wfileops.c (do_ftell_wide): Likewise.
51781         (_IO_wfile_seekoff): Split out ftell logic.
51782         * libio/tst-ftell-active-handler.c: New test case.
51783         * libio/Makefile (tests): Add it.
51785 2014-03-03  Roland McGrath  <roland@hack.frob.com>
51787         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
51788         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
51790 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51792         [BZ #16639]
51793         * nscd/connections.c (nscd_init): Call do_exit.
51794         (start_threads): Call do_exit and notify_parent.
51795         (begin_drop_privileges): Call do_exit.
51796         (finish_drop_privileges): Likewise.
51797         * nscd/selinux.c (preserve_capabilities): Likewise.
51798         (install_real_capabilities): Likewise.
51799         (nscd_selinux_enabled): Likewise.
51800         (avc_create_thread): Likewise.
51801         (avc_alloc_lock): Likewise.
51802         (nscd_avc_init): Likewise.
51803         * nscd/nscd.c (parent_fd): New static variable.
51804         (main): Create a pipe between parent and child processes.
51805         Skip closing parent_fd.
51806         (monitor_child): New function.
51807         (do_exit): Likewise.
51808         (notify_parent): Likewise.
51809         * nscd/nscd.h (notify_parent): Likewise.
51810         (do_exit): Likewise.
51812 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
51814         * malloc/malloc.c (__libc_calloc): Revert last change.
51816 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51820 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51822         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
51823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
51824         implementation.
51825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51826         (__libc_ifunc_impl_list): Likewise.
51827         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
51828         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
51829         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
51830         * string/strrchr.c: Define STRRCHR.
51832 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
51834         * benchtest/bench-strtok.c (simple_strtok): Delete.
51835         (strtok_string): Use as benchmark.
51836         * string/strtok (STRTOK): New macro.
51838 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
51840         * manual/threads.texi: Add header and standard comments to all
51841         functions.
51843         * elf/dl-lookup.c (check_match): New function.
51844         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
51845         (do_lookup_x): Remove nested function check_match. Use non-nested
51846         function check_match.
51848 2014-02-28  Roland McGrath  <roland@hack.frob.com>
51850         * csu/Makefile (generated, before-compile): Use += rather than =.
51851         * catgets/Makefile (generated, generated-dirs): Likewise.
51852         * debug/Makefile (generated): Likewise.
51853         * dlfcn/Makefile (generated): Likewise.
51854         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
51855         * iconvdata/Makefile (before-compile, generated): Likewise.
51856         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
51857         * libio/Makefile (generated): Likewise.
51858         * malloc/Makefile (generated): Likewise.
51859         * manual/Makefile (generated, generated-dirs): Likewise.
51860         * misc/Makefile (generated): Likewise.
51861         * posix/Makefile (generated): Likewise.
51862         * resolv/Makefile (generated): Likewise.
51863         * sunrpc/Makefile (generated, generated-dirs): Likewise.
51864         * timezone/Makefile (generated, generated-dirs): Likewise.
51866         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
51868 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51871         power8 implementation.
51872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
51873         file: POWER8 llround ifunc implementation.
51874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
51875         (__lllround): Add POWER8 implementation.
51876         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
51877         POWER8 llround implementation.
51879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
51880         power8 implementation.
51881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
51882         file: POWER8 llrint ifunc implementation.
51883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
51884         Add POWER8 implementation.
51885         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
51886         POWER8 llrint implementation.
51888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
51889         power8 implementation.
51890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
51891         file: POWER8 finite ifunc implementation.
51892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
51893         Add POWER8 implementation.
51894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
51895         Likewise.
51896         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
51897         POWER8 finite implementation.
51898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
51900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
51901         power8 implementation.
51902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
51903         file: POWER8 isinf ifunc implementation.
51904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
51905         POWER8 implementation.
51906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
51907         Likewise.
51908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
51909         isinf implementation.
51910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
51912         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
51913         (INIT_ARCH): Add hwcap2 initialization.
51914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51915         power8 implementation.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
51917         file: POWER8 isnan ifunc implementation.
51918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
51919         POWER8 implementation.
51920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
51921         Likewise.
51922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
51923         isnan implementation.
51924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
51926 2014-02-27  Joey Ye  <joey.ye@arm.com>
51928         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51929         (_FP_NANFRAC_Q): Set to zero.
51931 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933         [BZ #16623]
51934         * math/auto-libm-test-in: New test inputs.
51935         * math/auto-libm-test-out: Regenerate.
51936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
51937         and DA.
51938         (__cos): Likewise.
51939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51941 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
51943         * scripts/evaluate-test.sh: Take new argument indicating whether
51944         failure is expected.
51945         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
51946         indicating whether failure is expected.
51947         * conform/Makefile (test-xfail-run-conformtest): New variable.
51948         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
51949         level.
51950         * posix/Makefile (test-xfail-annexc): New variable.
51951         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
51953 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
51955         * argp/Makefile: Include Makeconfig immediately after defining
51956         subdir.
51957         * assert/Makefile: Likewise.
51958         * benchtests/Makefile: Likewise.
51959         * catgets/Makefile: Likewise.
51960         * conform/Makefile: Likewise.
51961         * crypt/Makefile: Likewise.
51962         * csu/Makefile: Likewise.
51963         (all): Remove target.
51964         * ctype/Makefile: Include Makeconfig immediately after defining
51965         subdir.
51966         * debug/Makefile: Likewise.
51967         * dirent/Makefile: Likewise.
51968         * dlfcn/Makefile: Likewise.
51969         * gmon/Makefile: Likewise.
51970         * gnulib/Makefile: Likewise.
51971         * grp/Makefile: Likewise.
51972         * gshadow/Makefile: Likewise.
51973         * hesiod/Makefile: Likewise.
51974         * hurd/Makefile: Likewise.
51975         (all): Remove target.
51976         * iconvdata/Makefile: Include Makeconfig immediately after
51977         defining subdir.
51978         * inet/Makefile: Likewise.
51979         * intl/Makefile: Likewise.
51980         * io/Makefile: Likewise.
51981         * libio/Makefile: Likewise.
51982         (all): Remove target.
51983         * locale/Makefile: Include Makeconfig immediately after defining
51984         subdir.
51985         * login/Makefile: Likewise.
51986         * mach/Makefile: Likewise.
51987         (all): Remove target.
51988         * malloc/Makefile: Include Makeconfig immediately after defining
51989         subdir.
51990         (all): Remove target.
51991         * manual/Makefile: Include Makeconfig immediately after defining
51992         subdir.
51993         * math/Makefile: Likewise.
51994         * misc/Makefile: Likewise.
51995         * nis/Makefile: Likewise.
51996         * nss/Makefile: Likewise.
51997         * po/Makefile: Likewise.
51998         (all): Remove target.
51999         * posix/Makefile: Include Makeconfig immediately after defining
52000         subdir.
52001         * pwd/Makefile: Likewise.
52002         * resolv/Makefile: Likewise.
52003         * resource/Makefile: Likewise.
52004         * rt/Makefile: Likewise.
52005         * setjmp/Makefile: Likewise.
52006         * shadow/Makefile: Likewise.
52007         * signal/Makefile: Likewise.
52008         * socket/Makefile: Likewise.
52009         * soft-fp/Makefile: Likewise.
52010         * stdio-common/Makefile: Likewise.
52011         * stdlib/Makefile: Likewise.
52012         * streams/Makefile: Likewise.
52013         * string/Makefile: Likewise.
52014         * sunrpc/Makefile: Likewise.
52015         (all): Remove target.
52016         * sysvipc/Makefile: Include Makeconfig immediately after defining
52017         subdir.
52018         * termios/Makefile: Likewise.
52019         * time/Makefile: Likewise.
52020         * timezone/Makefile: Likewise.
52021         (all): Remove target.
52022         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52023         subdir.
52024         * wctype/Makefile: Likewise.
52026 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52028         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52029         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52030         (libc_feholdexcept_setround_mips): Ditto.
52031         (libc_feholdsetround): New.
52032         (libc_feholdsetroundf): New.
52033         (libc_feholdsetroundl): New.
52034         (libc_feupdateenv_test_mips): New.
52035         (libc_feupdateenv_test): New.
52036         (libc_feupdateenv_testf): New.
52037         (libc_feupdateenv_testl): New.
52038         (libc_feresetround): New.
52039         (libc_feresetroundf): New.
52040         (libc_feresetroundl): New.
52041         (libc_fetestexcept_mips): New.
52042         (libc_fetestexcept): New.
52043         (libc_fetestexceptf): New.
52044         (libc_fetestexceptl): New.
52045         (HAVE_RM_CTX): New.
52046         (libc_feholdexcept_setround_mips_ctx): New.
52047         (libc_feholdexcept_setround_ctx): New.
52048         (libc_feholdexcept_setroundf_ctx): New.
52049         (libc_feholdexcept_setroundl_ctx): New.
52050         (libc_fesetenv_mips_ctx): New.
52051         (libc_fesetenv_ctx): New.
52052         (libc_fesetenv_ctxf): New.
52053         (libc_fesetenv_ctxl): New.
52054         (libc_feupdateenv_mips_ctx): New.
52055         (libc_feupdateenv_ctx): New.
52056         (libc_feupdateenvf_ctx): New.
52057         (libc_feupdateenvl_ctx): New.
52058         (libc_feholdsetround_mips_ctx): New.
52059         (libc_feholdsetround_ctx): New.
52060         (libc_feholdsetroundf_ctx): New.
52061         (libc_feholdsetroundl_ctx): New.
52062         (libc_feresetround_mips_ctx): New.
52063         (libc_feresetround_ctx): New.
52064         (libc_feresetroundf_ctx): New.
52065         (libc_feresetroundl_ctx): New.
52067 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
52069         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
52071         * manual/ipc.texi: New file.
52072         * manual/Makefile (chapters): Add ipc.
52073         * manual/job.texi: Add "Inter-Process Communication" to next.
52074         * manual/process.texi: Add "Inter-Process Communication" to prev.
52076 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52080 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
52082         * malloc/malloc.c (__libc_calloc): Simplify implementation.
52084         * manual/arith.texi: Fix spaces after sentences.
52085         * manual/charset.texi: Likewise.
52086         * manual/errno.texi: Likewise.
52087         * manual/install.texi: Likewise.
52088         * manual/llio.texi: Likewise.
52089         * manual/locale.texi: Likewise.
52090         * manual/maint.texi: Likewise.
52091         * manual/math.texi: Likewise.
52092         * manual/memory.texi: Likewise.
52093         * manual/message.texi: Likewise.
52094         * manual/probes.texi: Likewise.
52095         * manual/resource.texi: Likewise.
52096         * manual/signal.texi: Likewise.
52097         * manual/socket.texi: Likewise.
52098         * manual/stdio.texi: Likewise.
52099         * manual/string.texi: Likewise.
52100         * manual/time.texi: Likewise.
52101         * manual/users.texi: Likewise.
52103 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
52105         [BZ #16632]
52106         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
52107         _DEFAULT_SOURCE is defined.
52109 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
52110             Carlos O'Donell  <carlos@redhat.com>
52112         [BZ #16613]
52113         * elf/dl-tls.c (_dl_count_modids): New function.
52114         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
52115         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
52116         audit library and increment generation counter.
52117         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
52118         * elf/tst-audit9.c: New file.
52119         * elf/tst-auditmod9a.c: New file.
52120         * elf/tst-auditmod9b.c: New file.
52121         * elf/Makefile: Add rules to build and run tst-audit9.
52123 2014-02-25  Florian Weimer  <fweimer@redhat.com>
52125         [BZ #15347]
52126         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
52128 2014-02-25  Will Newton  <will.newton@linaro.org>
52130         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
52131         (__longjmp): Restore sp and lr before restoring callee
52132         saved registers.  Add longjmp and longjmp_target
52133         SystemTap probe point.
52134         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
52135         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
52136         Define to zero to match jmpbuf layout.
52137         * sysdeps/arm/setjmp.S: Include stap-probe.h.
52138         (__sigsetjmp): Save sp and lr before saving callee
52139         saved registers.  Add setjmp SystemTap probe point.
52141 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
52143         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52145 2014-02-24  Andreas Schwab  <schwab@suse.de>
52147         [BZ #15804]
52148         * elf/pldd.c (wait_for_ptrace_stop): New function.
52149         (main): Call it after attaching.
52151 2014-02-22  Roland McGrath  <roland@hack.frob.com>
52153         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
52154         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
52155         Versions files is now verboten.
52156         * hurd/Versions (libc: GLIBC_2.0):
52157         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
52158         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
52159         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
52160         * mach/Versions: Likewise.
52162         * csu/Versions: Remove unused %include.
52163         * resolv/Versions: Likewise.
52165 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
52167         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
52168         ($(objpfx)check-local-headers.out): Likewise.
52169         ($(objpfx)begin-end-check.out): Likewise.
52170         * Makerules (check-abi-%.out): Likewise.
52171         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
52172         ($(objpfx)test2.cat): Likewise.
52173         ($(objpfx)de/libc.cat): Likewise.
52174         ($(objpfx)test-gencat.out): Likewise.
52175         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
52176         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
52177         ($(objpfx)noload-mem): Likewise.
52178         ($(objpfx)tst-pathopt.out): Likewise.
52179         ($(objpfx)tst-rtld-load-self.out): Likewise.
52180         ($(objpfx)tst-array1-cmp.out): Likewise.
52181         ($(objpfx)tst-array1-static-cmp.out): Likewise.
52182         ($(objpfx)tst-array2-cmp.out): Likewise.
52183         ($(objpfx)tst-array3-cmp.out): Likewise.
52184         ($(objpfx)tst-array4-cmp.out): Likewise.
52185         ($(objpfx)tst-array5-cmp.out): Likewise.
52186         ($(objpfx)tst-array5-static-cmp.out): Likewise.
52187         ($(objpfx)check-textrel.out): Likewise.
52188         ($(objpfx)check-execstack.out): Likewise.
52189         ($(objpfx)check-localplt.out): Likewise.
52190         ($(objpfx)order2-cmp.out): Likewise.
52191         ($(objpfx)tst-leaks1-mem): Likewise.
52192         ($(objpfx)tst-leaks1-static-mem): Likewise.
52193         ($(objpfx)tst-initorder-cmp.out): Likewise.
52194         ($(objpfx)tst-initorder2-cmp.out): Likewise.
52195         ($(objpfx)tst-unused-dep.out): Likewise.
52196         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
52197         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
52198         * iconv/Makefile (test-iconvconfig): Likewise.
52199         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
52200         ($(objpfx)iconv-test.out): Likewise.
52201         ($(objpfx)tst-tables.out): Likewise.
52202         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
52203         ($(objpfx)tst-gettext.out): Likewise.
52204         ($(objpfx)tst-translit.out): Likewise.
52205         ($(objpfx)tst-gettext2.out): Likewise.
52206         ($(objpfx)tst-gettext4.out): Likewise.
52207         ($(objpfx)tst-gettext6.out): Likewise.
52208         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
52209         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
52210         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
52211         ($(objpfx)tst-fopenloc-mem.out): Likewise.
52212         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
52213         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
52214         * posix/Makefile ($(objpfx)globtest.out): Likewise.
52215         ($(objpfx)wordexp-tst.out): Likewise.
52216         ($(objpfx)annexc.out): Likewise.
52217         ($(objpfx)tst-fnmatch-mem): Likewise.
52218         ($(objpfx)bug-regex2-mem): Likewise.
52219         ($(objpfx)bug-regex14-mem): Likewise.
52220         ($(objpfx)bug-regex21-mem): Likewise.
52221         ($(objpfx)bug-regex31-mem): Likewise.
52222         ($(objpfx)tst-vfork3-mem): Likewise.
52223         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52224         ($(objpfx)tst-pcre-mem): Likewise.
52225         ($(objpfx)tst-boost-mem): Likewise.
52226         ($(objpfx)tst-getconf.out): Likewise.
52227         ($(objpfx)bug-ga2-mem): Likewise.
52228         ($(objpfx)bug-glob2-mem): Likewise.
52229         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
52230         ($(objpfx)mtrace-tst-leaks2): Likewise.
52231         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
52232         ($(objpfx)tst-printf.out): Likewise.
52233         ($(objpfx)tst-setvbuf1.out): Likewise.
52234         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
52235         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
52236         ($(objpfx)tst-fmtmsg.out): Likewise.
52237         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
52238         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
52240         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
52241         * bits/sigaction.h [__USE_MISC]: Likewise.
52242         * bits/waitstatus.h: Update #endif comments.
52243         * ctype/ctype.h: Likewise.
52244         * dirent/dirent.h: Likewise.
52245         [__USE_MISC]: Remove redundant conditionals.
52246         * grp/grp.h: Update #endif comments.
52247         [__USE_GNU]: Remove redundant conditionals.
52248         [__USE_MISC]: Likewise.
52249         * inet/netinet/in.h [__USE_GNU]: Likewise.
52250         * io/sys/stat.h [__USE_MISC]: Likewise.
52251         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
52252         * libio/bits/stdio.h: Update #endif comments.
52253         [__USE_MISC]: Remove redundant conditionals.
52254         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
52255         * libio/stdio.h: Update #endif comments.
52256         [__USE_MISC]: Remove redundant conditionals.
52257         * math/bits/math-finite.h [__USE_MISC]: Likewise.
52258         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
52259         * math/math.h: Update #else and #endif comments.
52260         [__USE_MISC]: Remove redundant conditionals.
52261         * misc/sys/uio.h: Update #endif comments.
52262         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
52263         * posix/glob.h [__USE_MISC]: Likewise.
52264         * posix/sys/types.h: Update #endif comments.
52265         [__USE_MISC]: Remove redundant conditionals.
52266         * posix/sys/wait.h: Update #endif comments.
52267         [__USE_MISC]: Remove redundant conditionals.
52268         * posix/unistd.h: Update #endif comments.
52269         [__USE_MISC]: Remove redundant conditionals.
52270         * pwd/pwd.h [__USE_GNU]: Likewise.
52271         [__USE_MISC]: Likewise.
52272         * resolv/netdb.h [__USE_GNU]: Likewise.
52273         * signal/signal.h: Update #endif comments.
52274         [__USE_MISC]: Remove redundant conditionals.
52275         * stdlib/stdlib.h: Update #else and #endif comments.
52276         [__USE_MISC]: Remove redundant conditionals.
52277         [__USE_GNU]: Likewise.
52278         * string/bits/string2.h [__USE_MISC]: Likewise.
52279         * string/string.h: Update #endif comments.
52280         [__USE_MISC]: Remove redundant conditionals.
52281         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
52282         Likewise.
52283         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
52284         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
52285         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
52286         Likewise.
52287         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
52288         Likewise.
52289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
52290         comments.
52291         [__USE_MISC]: Remove redundant conditionals.
52292         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
52293         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
52294         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
52295         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
52296         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
52297         Likewise.
52298         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
52299         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
52300         Likewise.
52301         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
52302         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
52303         Likewise.
52304         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
52305         Likewise.
52306         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
52307         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
52308         Likewise.
52309         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
52310         Likewise.
52311         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
52312         * sysdeps/x86/bits/string.h: Update #endif comments.
52313         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
52314         conditionals.
52315         * time/sys/time.h: Update #endif comments.
52316         * time/time.h: Likewise.
52317         [__USE_MISC]: Remove redundant conditionals.
52319 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
52321         [BZ #16600]
52322         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
52324 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
52326         * Versions.def (librt): Add GLIBC_2.17.
52328 2014-02-21  Adam Conrad  <adconrad@0c3.net>
52330         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
52331         synonym for _SYS_AUXV_H to allow direct inclusion.
52332         * sysdeps/sparc/bits/hwcap.h: Likewise.
52333         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
52334         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
52335         * sysdeps/sparc/sysdep.h: Likewise.
52337 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52339         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
52341 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52343         * benchtests/bench-strrchr.c: Print length instead of position.
52345 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
52347         [BZ #16611]
52348         * sysdeps/unix/sysv/linux/kernel-features.h
52349         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
52350         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
52351         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
52352         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
52353         Likewise.
52354         [__i386__ || __powerpc__ || __sh__ || __sparc__]
52355         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52356         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
52357         (__ASSUME_SENDMMSG): Define instead of using previous
52358         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
52359         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52360         (__ASSUME_SENDMMSG_SYSCALL): Define.
52361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52362         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
52363         Likewise.
52364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52365         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52366         Likewise.
52367         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52369         Likewise.
52370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
52371         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52372         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52373         [__ASSUME_SENDMMSG]: Change conditionals to
52374         [__ASSUME_SENDMMSG_SOCKETCALL].
52375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52376         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
52377         Define.
52378         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52379         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
52380         Likewise.
52381         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
52382         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
52383         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
52384         [!__ASSUME_SENDMMSG]: Change conditional to
52385         [!__ASSUME_SENDMMSG_SOCKETCALL].
52386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52387         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52388         Define.
52390         [BZ #16610]
52391         * sysdeps/unix/sysv/linux/kernel-features.h
52392         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
52393         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
52394         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
52395         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
52396         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
52397         [__i386__ || __sparc__]
52398         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52399         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
52400         (__ASSUME_RECVMMSG): Define instead of using previous
52401         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
52402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52403         (__ASSUME_RECVMMSG_SYSCALL): Define.
52404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52405         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52406         Likewise.
52407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52408         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52409         Likewise.
52410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52412         Likewise.
52413         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
52414         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52415         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52416         [__ASSUME_RECVMMSG]: Change condition to
52417         [__ASSUME_RECVMMSG_SOCKETCALL].
52418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52420         Define.
52421         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
52422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
52424         Likewise.
52425         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
52426         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
52427         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
52428         [!__ASSUME_RECVMMSG]: Change condition to
52429         [!__ASSUME_RECVMMSG_SOCKETCALL].
52430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52431         (__ASSUME_RECVMMSG_SYSCALL): Define.
52433         [BZ #16609]
52434         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
52435         __powerpc__ || __s390__ || __sh__ || __sparc__]
52436         (__ASSUME_SOCKETCALL): Define.
52437         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
52438         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
52439         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
52440         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
52441         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52442         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
52443         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
52444         (__ASSUME_ACCEPT4): Define instead of using previous
52445         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
52446         __powerpc__ || __sparc__ || __s390__)] condition.
52447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52448         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52449         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
52450         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52451         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52452         [!__ASSUME_ACCEPT4]: Change condition to
52453         [!__ASSUME_ACCEPT4_SOCKETCALL].
52454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52455         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
52456         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
52457         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52458         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
52459         __ASSUME_ACCEPT4_SYSCALL.
52460         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
52461         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
52462         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52463         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
52464         __ASSUME_ACCEPT4_SYSCALL.
52465         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
52466         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
52467         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
52468         [__ASSUME_ACCEPT4]: Change condition to
52469         [__ASSUME_ACCEPT4_SOCKETCALL].
52470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52471         (__ASSUME_SOCKETCALL): Define.
52472         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
52473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52474         (__ASSUME_SOCKETCALL): Define.
52475         (__ASSUME_ACCEPT4): Remove.
52476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
52477         Define.
52478         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52479         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
52480         Likewise.
52481         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
52484         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
52485         macro.
52486         (HWCAP_ARM_LPAE): Likewise.
52487         (HWCAP_ARM_EVTSTRM): Likewise.
52488         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
52489         Add vpfd32, lpae and evtstrm.
52490         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
52491         Increase to 22.
52493 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
52495         * math/auto-libm-test-in: Add tests of clog10.
52496         * math/auto-libm-test-out: Regenerated.
52497         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
52498         * sysdeps/i386/fpu/libm-test-ulps: Update.
52499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52501 2014-02-18  Andreas Schwab  <schwab@suse.de>
52503         [BZ #16574]
52504         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
52505         Store non-zero if the second buffer was newly allocated.
52506         (send_dg): Likewise.
52507         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
52508         to send_vc and send_dg.
52509         (res_nsend): Pass NULL for ansp2_malloced.
52510         * resolv/res_query.c (__libc_res_nquery): Add parameter
52511         answerp2_malloced and pass it down to __libc_res_nsend.
52512         (res_nquery): Pass additional NULL to __libc_res_nquery.
52513         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
52514         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
52515         second answer buffer if answerp2_malloced was set.
52516         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
52517         (__libc_res_nquerydomain): Add parameter
52518         answerp2_malloced and pass it down to __libc_res_nquery.
52519         (res_nquerydomain): Pass additional NULL to
52520         __libc_res_nquerydomain.
52521         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
52522         additional NULL to __libc_res_nsend and __libc_res_nquery.
52523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
52524         additional NULL to __libc_res_nsearch.
52525         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
52526         parameter of __libc_res_nsearch to check for separately allocated
52527         second buffer.
52528         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
52529         __libc_res_nquery.
52530         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
52531         additional NULL to __libc_res_nquery.
52532         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52533         __libc_res_nsearch.
52534         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
52535         * include/resolv.h: Update prototypes of __libc_res_nquery,
52536         __libc_res_nsearch, __libc_res_nsend.
52538 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
52540         * math/auto-libm-test-in: Add tests of fma.
52541         * math/auto-libm-test-out: Regenerated.
52542         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
52543         (fma_towardzero_test_data): Likewise.
52544         (fma_downward_test_data): Likewise.
52545         (fma_upward_test_data): Likewise.
52546         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
52547         mpc_mode.
52548         (rounding_modes): Add values for new field.
52549         (func_calc_method): Add value mpfr_fff_f.
52550         (func_calc_desc): Add mpfr_fff_f union field.
52551         (test_function): Add field exact_args.
52552         (FUNC): Add macro argument EXACT_ARGS.
52553         (FUNC_mpfr_f_f): Update call to FUNC.
52554         (FUNC_mpfr_f_f): Likewise.
52555         (FUNC_mpfr_ff_f): Likewise.
52556         (FUNC_mpfr_if_f): Likewise.
52557         (FUNC_mpc_c_f): Likewise.
52558         (FUNC_mpc_c_c): Likewise.
52559         (test_functions): Add fma.  Update calls to FUNC.
52560         (handle_input_arg): Add argument exact_args.
52561         (add_test): Update call to handle_input_arg.
52562         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
52563         (output_for_one_input_case): Update call to calc_generic_results.
52564         Recalculate exact zero results in each rounding mode.
52566         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
52567         non-negative before setting low bit.
52568         * math/auto-libm-test-in: Mark one asin test possibly having
52569         spurious underflow.
52570         * math/auto-libm-test-out: Regenerated.
52571         * sysdeps/i386/fpu/libm-test-ulps: Update.
52572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52574 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
52576         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
52577         * sysdeps/unix/sysv/linux/microblaze: Move directory from
52578         ports/sysdeps/unix/sysv/linux/microblaze.
52579         * README: Add missing listing for microblaze*-*-linux-gnu.
52581 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
52583         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
52584         duplicate code
52586 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
52588         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
52589         * sysdeps/unix/sysv/linux/ia64: Move directory from
52590         ports/sysdeps/unix/sysv/linux/ia64.
52591         * README: Update listing for ia64-*-linux-gnu.
52593 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
52594             Joseph Myers  <joseph@codesourcery.com>
52596         * Makeconfig (test-name): New variable.
52597         (evaluate-test): Likewise.
52598         * Makerules (do-test-clean): Remove .test-result files.
52599         (common-mostlyclean): Likewise.
52600         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
52601         * scripts/evaluate-test.sh: New file.
52603 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
52605         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
52606         separate $(objpfx)tst-fopenloc-cmp.out and
52607         $(objpfx)tst-fopenloc-mem.out targets.
52608         (tests): Update dependencies.
52609         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
52610         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
52611         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
52612         (tst-rxspencer-no-utf8-ARGS): New variable.
52613         (tst-rxspencer-no-utf8-ENV): Likewise.
52614         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
52615         instead of $(objpfx)tst-rxspencer-mem.
52616         ($(objpfx)tst-rxspencer-mem): Change target to
52617         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
52618         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
52619         * posix/tst-rxspencer-no-utf8.c: New file.
52621         * elf/Makefile ($(objpfx)order.out): Remove rule.
52622         [$(run-built-tests) = yes] (tests): Depend on
52623         $(objpfx)order-cmp.out.
52624         ($(objpfx)order-cmp.out): New rule.
52625         [$(run-built-tests) = yes] (tests): Depend on
52626         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
52627         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
52628         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
52629         $(objpfx)tst-array5-static-cmp.out.
52630         ($(objpfx)tst-array1.out): Remove rule.
52631         ($(objpfx)tst-array1-cmp.out): New rule.
52632         ($(objpfx)tst-array1-static.out): Remove rule.
52633         ($(objpfx)tst-array1-static-cmp.out): New rule.
52634         ($(objpfx)tst-array2.out): Remove rule.
52635         ($(objpfx)tst-array2-cmp.out): New rule.
52636         ($(objpfx)tst-array3.out): Remove rule.
52637         ($(objpfx)tst-array3-cmp.out): New rule.
52638         ($(objpfx)tst-array4.out): Remove rule.
52639         ($(objpfx)tst-array4-cmp.out): New rule.
52640         ($(objpfx)tst-array5.out): Remove rule.
52641         ($(objpfx)tst-array5-cmp.out): New rule.
52642         ($(objpfx)tst-array5-static.out): Remove rule.
52643         ($(objpfx)tst-array5-static-cmp.out): New rule.
52644         [$(run-built-tests) = yes] (tests): Depend on
52645         $(objpfx)order2-cmp.out.
52646         ($(objpfx)order2.out): Remove rule.
52647         ($(objpfx)order2-cmp.out): New rule.
52648         ($(objpfx)tst-initorder.out): Remove rule.
52649         [$(run-built-tests) = yes] (tests): Depend on
52650         $(objpfx)tst-initorder-cmp.out.
52651         ($(objpfx)tst-initorder-cmp.out): New rule.
52652         ($(objpfx)tst-initorder2.out): Remove rule.
52653         [$(run-built-tests) = yes] (tests): Depend on
52654         $(objpfx)tst-initorder2-cmp.out.
52655         ($(objpfx)tst-initorder2-cmp.out): New rule.
52656         [$(run-built-tests) = yes] (tests): Depend on
52657         $(objpfx)tst-unused-dep-cmp.out.
52658         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
52659         ($(objpfx)tst-unused-dep-cmp.out): New rule.
52660         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
52661         on $(objpfx)tst-setvbuf1-cmp.out.
52662         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
52663         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
52664         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
52665         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
52666         ($(objpfx)tst-svc.out): Remove rule.
52667         ($(objpfx)tst-svc-cmp.out): New rule.
52669 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
52671         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
52672         * ctype/ctype.h [__USE_MISC]: Likewise.
52673         * dirent/dirent.h [__USE_MISC]: Likewise.
52674         * grp/grp.h [__USE_MISC]: Likewise.
52675         * io/fcntl.h [__USE_MISC]: Likewise.
52676         * io/sys/stat.h [__USE_MISC]: Likewise.
52677         * libio/stdio.h [__USE_MISC]: Likewise.
52678         * posix/unistd.h [__USE_MISC]: Likewise.
52679         * pwd/pwd.h [__USE_MISC]: Likewise.
52680         * stdlib.h [__USE_MISC]: Likewise.
52681         * string/bits/string2.h [__USE_MISC]: Likewise.
52682         * string/string.h [__USE_MISC]: Likewise.
52683         * time/time.h [__USE_MISC]: Likewise.
52685 2014-02-13  Andreas Schwab  <schwab@suse.de>
52687         [BZ #16574]
52688         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
52689         second answer buffer if it was separately allocated.
52691 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
52693         * sysdeps/mips/math-tests.h: Include <features.h>.
52694         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52695         (ROUNDING_TESTS_long_double): Do not define.
52696         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
52697         (EXCEPTION_TESTS_long_double): Likewise.
52698         * sysdeps/mips/mips64/libm-test-ulps: Update.
52700         * include/features.h (__USE_BSD): Remove macro definitions.
52701         (__USE_SVID): Likewise.
52702         (_BSD_SOURCE): Likewise.
52703         (_SVID_SOURCE): Likewise.
52704         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
52705         from definition of _DEFAULT_SOURCE.
52706         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
52707         [_DEFAULT_SOURCE].
52708         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
52709         * bits/mman.h [__USE_BSD]: Likewise.
52710         * bits/termios.h [__USE_BSD]: Likewise.
52711         * bits/waitstatus.h [__USE_BSD]: Likewise.
52712         * ctype/ctype.h [__USE_SVID]: Likewise.
52713         * dirent/dirent.h [__USE_BSD]: Likewise.
52714         * grp/grp.h [__USE_SVID]: Likewise.
52715         [__USE_BSD]: Likewise.
52716         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
52717         * io/fcntl.h [__USE_BSD]: Likewise.
52718         * io/ftw.h [__USE_BSD]: Likewise.
52719         * io/sys/stat.h [__USE_BSD]: Likewise.
52720         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
52721         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
52722         * libio/stdio.h [__USE_SVID]: Likewise.
52723         [__USE_BSD]: Likewise.
52724         * math/math.h [__USE_SVID]: Likewise.
52725         [__USE_BSD]: Likewise.
52726         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
52727         * misc/bits/syslog.h [__USE_BSD]: Likewise.
52728         * misc/search.h [__USE_SVID]: Likewise.
52729         * misc/sys/mman.h [__USE_BSD]: Likewise.
52730         * misc/sys/syslog.h [__USE_BSD]: Likewise.
52731         * misc/sys/uio.h [__USE_BSD]: Likewise.
52732         * posix/bits/unistd.h [__USE_BSD]: Likewise.
52733         * posix/glob.h [__USE_BSD]: Likewise.
52734         * posix/regex.h [__USE_BSD]: Likewise.
52735         * posix/sys/types.h [__USE_BSD]: Likewise.
52736         [__USE_SVID]: Likewise.
52737         * posix/sys/utsname.h [__USE_SVID]: Likewise.
52738         * posix/sys/wait.h [__USE_BSD]: Likewise.
52739         [__USE_SVID]: Likewise.
52740         * posix/unistd.h [__USE_BSD]: Likewise.
52741         [__USE_SVID]: Likewise.
52742         * pwd/pwd.h [__USE_SVID]: Likewise.
52743         * resolv/netdb.h [__USE_BSD]: Likewise.
52744         * setjmp/setjmp.h [__USE_BSD]: Likewise.
52745         * signal/signal.h [__USE_BSD]: Likewise.
52746         [__USE_SVID]: Likewise.
52747         * socket/sys/socket.h [__USE_BSD]: Likewise.
52748         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
52749         * stdlib/stdlib.h [__USE_BSD]: Likewise.
52750         [__USE_SVID]: Likewise.
52751         * string/bits/string2.h [__USE_BSD]: Likewise.
52752         [__USE_SVID]: Likewise.
52753         * string/bits/string3.h [__USE_BSD]: Likewise.
52754         * string/endian.h [__USE_BSD]: Likewise.
52755         * string/string.h [__USE_SVID]: Likewise.
52756         [__USE_BSD]: Likewise.
52757         * string/strings.h [__USE_BSD]: Likewise.
52758         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
52759         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
52760         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
52761         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
52762         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
52763         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
52764         Likewise.
52765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
52766         Likewise.
52767         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
52768         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
52769         Likewise.
52770         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
52771         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
52772         Likewise.
52773         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
52774         Likewise.
52775         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
52776         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
52777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
52778         Likewise.
52779         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
52780         Likewise.
52781         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
52782         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
52783         * termios/termios.h [__USE_BSD]: Likewise.
52784         * time/sys/time.h [__USE_BSD]: Likewise.
52785         * time/time.h [__USE_BSD]: Likewise.
52786         [__USE_SVID]: Likewise.
52788         * Makefile (subdir_targets): Remove subdir_lint.out.
52790         * stdio-common/Makefile (do-tst-unbputc): Remove target.
52791         (do-tst-printf): Likewise.
52792         (tests): Depend directly on $(objpfx)tst-unbputc.out and
52793         $(objpfx)tst-printf.out.
52795         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
52797         * Makerules (check-abi-%): Change target to
52798         $(objpfx)check-abi-%.out.
52799         (check-abi target): Update dependencies.
52800         (check-abi-pattern variable): Redirect output of diff to $@.
52801         (check-abi variable): Likewise.
52802         * elf/Makefile (check-abi): Update dependencies.
52804         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
52805         unused.
52806         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
52807         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
52808         subnormal range.
52809         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
52810         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
52811         value has largest subnormal exponent.
52812         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
52813         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
52814         * sysdeps/aarch64/soft-fp/sfp-machine.h
52815         (_FP_TININESS_AFTER_ROUNDING): New macro.
52816         * sysdeps/alpha/soft-fp/sfp-machine.h
52817         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52818         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52819         Likewise.
52820         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
52821         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52822         * sysdeps/mips/soft-fp/sfp-machine.h
52823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52824         * sysdeps/powerpc/soft-fp/sfp-machine.h
52825         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52826         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52827         Likewise.
52828         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52829         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52830         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
52832         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
52833         Likewise.
52835 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
52837         [BZ #16545]
52838         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
52839         model 1.
52841 2014-02-12  Richard Henderson  <rth@redhat.com>
52843         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
52844         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
52845         * sysdeps/unix/sysv/linux/alpha: Move directory from
52846         ports/sysdeps/unix/sysv/linux/alpha.
52847         * README: Update listing for alpha-*-linux-gnu.
52849 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
52851         * include/features.h: Update comment documenting feature test
52852         macros.
52853         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
52854         _DEFAULT_SOURCE.
52855         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
52856         (_SVID_SOURCE): Likewise.
52857         (_DEFAULT_SOURCE): Update description of default features.
52858         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
52859         with _GNU_SOURCE.
52860         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
52861         (S_ISVTX): Likewise.
52862         * manual/math.texi (Mathematical Constants): Likewise.
52863         * manual/signal.texi (Interrupted Primitives): Likewise.
52864         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
52865         * math/test-matherr.c (_SVID_SOURCE): Do not define.
52866         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
52867         Don't refer to _SVID_SOURCE in warning text.
52869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52871         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
52872         already defined.
52873         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
52874         * sysdeps/mips/dl-lookup.c: Remove.
52875         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
52877 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52879         [BZ #16447]
52880         * math/auto-libm-test-in: Add testcase for expl.
52881         * math/auto-libm-test-out: Regenerate.
52882         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
52883         calculation of unsafe.
52884         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
52886 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52888         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
52889         * sysdeps/unix/sysv/linux/aarch64: Move directory from
52890         ports/sysdeps/unix/sysv/linux/aarch64.
52891         * README: Update listing for aarch64*-*-linux-gnu.
52893 2014-02-11  Will Newton  <will.newton@linaro.org>
52895         * manual/probes.texi (Mathematical Function Probes): Use
52896         "triggered" instead of "hit".
52898         * manual/probes.texi (Internal Probes): Add documentation
52899         of setjmp, longjmp and longjmp_target probes.
52901         * include/stap-probe.h: Add comment about probe argument
52902         format.
52904         * malloc/mtrace.c (attribute_hidden): Remove unused macro
52905         definition.  (tr_where, tr_freehook, tr_mallochook,
52906         tr_reallochook, tr_memalignhook): Use ANSI protoype.
52908 2014-02-11  David S. Miller  <davem@davemloft.net>
52910         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
52911         processing int_tests.
52913 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
52915         * sysdeps/mips: Move directory from ports/sysdeps/mips.
52916         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
52917         * sysdeps/unix/sysv/linux/mips: Move directory from
52918         ports/sysdeps/unix/sysv/linux/mips.
52919         * README: Update listing for mips-*-linux-gnu and
52920         mips64-*-linux-gnu.
52922 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
52924         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
52925         * sysdeps/unix/sysv/linux/m68k: Move directory from
52926         ports/sysdeps/unix/sysv/linux/m68k.
52927         * README: Update listing for m68k-*-linux-gnu.
52929 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
52931         * sysdeps/tile: Move directory from ports/sysdeps/tile.
52932         * sysdeps/unix/sysv/linux/generic: Move directory from
52933         ports/sysdeps/unix/sysv/linux/generic.
52934         * sysdeps/unix/sysv/linux/tile: Move directory from
52935         ports/sysdeps/unix/sysv/linux/tile.
52936         * README: Update listing for tile*-*-linux-gnu.
52938 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
52940         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
52941         __builtin_expect.
52942         * benchtests/bench-memmem.c (simple_memmem): Likewise.
52943         * catgets/open_catalog.c (__open_catalog): Likewise.
52944         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
52945         * debug/confstr_chk.c: Likewise.
52946         * debug/fread_chk.c (__fread_chk): Likewise.
52947         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
52948         * debug/getgroups_chk.c: Likewise.
52949         * debug/mbsnrtowcs_chk.c: Likewise.
52950         * debug/mbsrtowcs_chk.c: Likewise.
52951         * debug/mbstowcs_chk.c: Likewise.
52952         * debug/memcpy_chk.c: Likewise.
52953         * debug/memmove_chk.c: Likewise.
52954         * debug/mempcpy_chk.c: Likewise.
52955         * debug/memset_chk.c: Likewise.
52956         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52957         * debug/strcat_chk.c (__strcat_chk): Likewise.
52958         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
52959         * debug/strncat_chk.c (__strncat_chk): Likewise.
52960         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
52961         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
52962         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
52963         * debug/wcpncpy_chk.c: Likewise.
52964         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52965         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
52966         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
52967         * debug/wcsncpy_chk.c: Likewise.
52968         * debug/wcsnrtombs_chk.c: Likewise.
52969         * debug/wcsrtombs_chk.c: Likewise.
52970         * debug/wcstombs_chk.c: Likewise.
52971         * debug/wmemcpy_chk.c: Likewise.
52972         * debug/wmemmove_chk.c: Likewise.
52973         * debug/wmempcpy_chk.c: Likewise.
52974         * debug/wmemset_chk.c: Likewise.
52975         * dirent/scandirat.c (SCANDIRAT): Likewise.
52976         * dlfcn/dladdr1.c (dladdr1): Likewise.
52977         * dlfcn/dladdr.c (dladdr): Likewise.
52978         * dlfcn/dlclose.c (dlclose_doit): Likewise.
52979         * dlfcn/dlerror.c (__dlerror): Likewise.
52980         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
52981         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
52982         * dlfcn/dlopen.c (dlopen_doit): Likewise.
52983         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
52984         * dlfcn/dlsym.c (dlsym_doit): Likewise.
52985         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
52986         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
52987         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
52988         Likewise.
52989         * elf/dl-conflict.c: Likewise.
52990         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
52991         * elf/dl-dst.h: Likewise.
52992         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
52993         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
52994         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
52995         * elf/dl-init.c (call_init, _dl_init): Likewise.
52996         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
52997         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
52998         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
52999         Likewise.
53000         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53001         Likewise.
53002         * elf/dl-minimal.c (__libc_memalign): Likewise.
53003         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53004         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53005         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53006         * elf/dl-sym.c (do_sym): Likewise.
53007         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53008         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53009         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53010         * elf/dl-writev.h (_dl_writev): Likewise.
53011         * elf/ldconfig.c (search_dir): Likewise.
53012         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53013         (dl_main): Likewise.
53014         * elf/setup-vdso.h (setup_vdso): Likewise.
53015         * grp/compat-initgroups.c (compat_call): Likewise.
53016         * grp/fgetgrent.c (fgetgrent): Likewise.
53017         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53018         * grp/putgrent.c (putgrent): Likewise.
53019         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53020         Likewise.
53021         * hurd/hurdinit.c: Likewise.
53022         * iconvdata/8bit-gap.c (struct): Likewise.
53023         * iconvdata/ansi_x3.110.c : Likewise.
53024         * iconvdata/big5.c : Likewise.
53025         * iconvdata/big5hkscs.c : Likewise.
53026         * iconvdata/cp1255.c: Likewise.
53027         * iconvdata/cp1258.c : Likewise.
53028         * iconvdata/cp932.c : Likewise.
53029         * iconvdata/euc-cn.c: Likewise.
53030         * iconvdata/euc-jisx0213.c : Likewise.
53031         * iconvdata/euc-jp.c: Likewise.
53032         * iconvdata/euc-jp-ms.c : Likewise.
53033         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53034         * iconvdata/gb18030.c : Likewise.
53035         * iconvdata/gbbig5.c (const): Likewise.
53036         * iconvdata/gbgbk.c: Likewise.
53037         * iconvdata/gbk.c : Likewise.
53038         * iconvdata/ibm1364.c : Likewise.
53039         * iconvdata/ibm930.c : Likewise.
53040         * iconvdata/ibm932.c: Likewise.
53041         * iconvdata/ibm933.c : Likewise.
53042         * iconvdata/ibm935.c : Likewise.
53043         * iconvdata/ibm937.c : Likewise.
53044         * iconvdata/ibm939.c : Likewise.
53045         * iconvdata/ibm943.c: Likewise.
53046         * iconvdata/iso_11548-1.c: Likewise.
53047         * iconvdata/iso-2022-cn.c : Likewise.
53048         * iconvdata/iso-2022-cn-ext.c : Likewise.
53049         * iconvdata/iso-2022-jp-3.c: Likewise.
53050         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
53051         * iconvdata/iso-2022-kr.c : Likewise.
53052         * iconvdata/iso646.c (gconv_end): Likewise.
53053         * iconvdata/iso_6937-2.c : Likewise.
53054         * iconvdata/iso_6937.c : Likewise.
53055         * iconvdata/iso8859-1.c: Likewise.
53056         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
53057         * iconvdata/shift_jisx0213.c : Likewise.
53058         * iconvdata/sjis.c : Likewise.
53059         * iconvdata/t.61.c : Likewise.
53060         * iconvdata/tcvn5712-1.c : Likewise.
53061         * iconvdata/tscii.c: Likewise.
53062         * iconvdata/uhc.c : Likewise.
53063         * iconvdata/unicode.c (gconv_end): Likewise.
53064         * iconvdata/utf-16.c (gconv_end): Likewise.
53065         * iconvdata/utf-32.c (gconv_end): Likewise.
53066         * iconvdata/utf-7.c (base64): Likewise.
53067         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
53068         * iconv/gconv_close.c (__gconv_close): Likewise.
53069         * iconv/gconv_open.c (__gconv_open): Likewise.
53070         * iconv/gconv_simple.c (internal_ucs4_loop_single)
53071         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
53072         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
53073         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
53074         (ucs4le_internal_loop_single): Likewise.
53075         * iconv/iconv.c (iconv): Likewise.
53076         * iconv/iconv_close.c: Likewise.
53077         * iconv/loop.c (SINGLE): Likewise.
53078         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
53079         * include/atomic.h: Likewise.
53080         * inet/inet6_option.c (option_alloc): Likewise.
53081         * intl/bindtextdom.c (set_binding_values): Likewise.
53082         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
53083         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
53084         * intl/localealias.c (read_alias_file): Likewise.
53085         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
53086         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
53087         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
53088         * libio/fmemopen.c (fmemopen): Likewise.
53089         * libio/iofgets.c (_IO_fgets): Likewise.
53090         * libio/iofgets_u.c (fgets_unlocked): Likewise.
53091         * libio/iofgetws.c (fgetws): Likewise.
53092         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
53093         * libio/iogetdelim.c (_IO_getdelim): Likewise.
53094         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
53095         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
53096         * locale/findlocale.c (_nl_find_locale): Likewise.
53097         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
53098         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
53099         Likewise.
53100         * locale/setlocale.c (setlocale): Likewise.
53101         * login/programs/pt_chown.c (main): Likewise.
53102         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
53103         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
53104         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
53105         (mmap, mmap64, mremap, munmap): Likewise.
53106         * math/e_exp2l.c: Likewise.
53107         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
53108         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
53109         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
53110         * math/s_catan.c (__catan): Likewise.
53111         * math/s_catanf.c (__catanf): Likewise.
53112         * math/s_catanh.c (__catanh): Likewise.
53113         * math/s_catanhf.c (__catanhf): Likewise.
53114         * math/s_catanhl.c (__catanhl): Likewise.
53115         * math/s_catanl.c (__catanl): Likewise.
53116         * math/s_ccosh.c (__ccosh): Likewise.
53117         * math/s_ccoshf.c (__ccoshf): Likewise.
53118         * math/s_ccoshl.c (__ccoshl): Likewise.
53119         * math/s_cexp.c (__cexp): Likewise.
53120         * math/s_cexpf.c (__cexpf): Likewise.
53121         * math/s_cexpl.c (__cexpl): Likewise.
53122         * math/s_clog10.c (__clog10): Likewise.
53123         * math/s_clog10f.c (__clog10f): Likewise.
53124         * math/s_clog10l.c (__clog10l): Likewise.
53125         * math/s_clog.c (__clog): Likewise.
53126         * math/s_clogf.c (__clogf): Likewise.
53127         * math/s_clogl.c (__clogl): Likewise.
53128         * math/s_csin.c (__csin): Likewise.
53129         * math/s_csinf.c (__csinf): Likewise.
53130         * math/s_csinh.c (__csinh): Likewise.
53131         * math/s_csinhf.c (__csinhf): Likewise.
53132         * math/s_csinhl.c (__csinhl): Likewise.
53133         * math/s_csinl.c (__csinl): Likewise.
53134         * math/s_csqrt.c (__csqrt): Likewise.
53135         * math/s_csqrtf.c (__csqrtf): Likewise.
53136         * math/s_csqrtl.c (__csqrtl): Likewise.
53137         * math/s_ctan.c (__ctan): Likewise.
53138         * math/s_ctanf.c (__ctanf): Likewise.
53139         * math/s_ctanh.c (__ctanh): Likewise.
53140         * math/s_ctanhf.c (__ctanhf): Likewise.
53141         * math/s_ctanhl.c (__ctanhl): Likewise.
53142         * math/s_ctanl.c (__ctanl): Likewise.
53143         * math/w_pow.c: Likewise.
53144         * math/w_powf.c: Likewise.
53145         * math/w_powl.c: Likewise.
53146         * math/w_scalb.c (sysv_scalb): Likewise.
53147         * math/w_scalbf.c (sysv_scalbf): Likewise.
53148         * math/w_scalbl.c (sysv_scalbl): Likewise.
53149         * misc/error.c (error_tail): Likewise.
53150         * misc/pselect.c (__pselect): Likewise.
53151         * nis/nis_callback.c (__nis_create_callback): Likewise.
53152         * nis/nis_call.c (__nisfind_server): Likewise.
53153         * nis/nis_creategroup.c (nis_creategroup): Likewise.
53154         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
53155         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
53156         * nis/nis_getservlist.c (nis_getservlist): Likewise.
53157         * nis/nis_lookup.c (nis_lookup): Likewise.
53158         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
53159         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
53160         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
53161         * nis/nis_xdr.c (xdr_endpoint): Likewise.
53162         * nis/nss_compat/compat-grp.c (getgrent_next_file)
53163         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
53164         * nis/nss_compat/compat-initgroups.c (add_group)
53165         (internal_getgrent_r): Likewise.
53166         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
53167         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
53168         * nis/nss_compat/compat-spwd.c (getspent_next_file)
53169         (internal_getspnam_r): Likewise.
53170         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
53171         (_nss_nis_getaliasbyname_r): Likewise.
53172         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
53173         (_nss_nis_getntohost_r): Likewise.
53174         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
53175         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
53176         (_nss_nis_getgrgid_r): Likewise.
53177         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
53178         (internal_nis_gethostent_r, internal_gethostbyname2_r)
53179         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
53180         (_nss_nis_gethostbyname4_r): Likewise.
53181         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
53182         (initgroups_netid): Likewise.
53183         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
53184         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
53185         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
53186         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
53187         (_nss_nis_getprotobynumber_r): Likewise.
53188         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
53189         (_nss_nis_getsecretkey): Likewise.
53190         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
53191         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
53192         (_nss_nis_getpwuid_r): Likewise.
53193         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
53194         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
53195         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
53196         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
53197         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
53198         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
53199         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
53200         Likewise.
53201         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
53202         (_nss_nisplus_getntohost_r): Likewise.
53203         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
53204         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
53205         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
53206         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
53207         Likewise.
53208         * nis/nss_nisplus/nisplus-initgroups.c
53209         (_nss_nisplus_initgroups_dyn): Likewise.
53210         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
53211         (_nss_nisplus_getnetbyaddr_r): Likewise.
53212         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
53213         (_nss_nisplus_getprotobynumber_r): Likewise.
53214         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
53215         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
53216         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
53217         Likewise.
53218         * nis/nss_nisplus/nisplus-service.c
53219         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
53220         (_nss_nisplus_getservbyport_r): Likewise.
53221         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
53222         (_nss_nisplus_getspnam_r): Likewise.
53223         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
53224         Likewise.
53225         * nscd/aicache.c (addhstaiX): Likewise.
53226         * nscd/cache.c (cache_search, prune_cache): Likewise.
53227         * nscd/connections.c (register_traced_file, send_ro_fd)
53228         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
53229         (main_loop_epoll): Likewise.
53230         * nscd/grpcache.c (addgrbyX): Likewise.
53231         * nscd/hstcache.c (addhstbyX): Likewise.
53232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53233         * nscd/mem.c (gc, mempool_alloc): Likewise.
53234         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
53235         (addinnetgrX): Likewise.
53236         * nscd/nscd-client.h (__nscd_acquire_maplock)
53237         (__nscd_drop_map_ref): Likewise.
53238         * nscd/nscd_getai.c (__nscd_getai): Likewise.
53239         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
53240         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
53241         Likewise.
53242         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
53243         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53244         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
53245         (__nscd_get_map_ref): Likewise.
53246         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
53247         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
53248         Likewise.
53249         * nscd/pwdcache.c (addpwbyX): Likewise.
53250         * nscd/selinux.c (preserve_capabilities): Likewise.
53251         * nscd/servicescache.c (addservbyX): Likewise.
53252         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
53253         * posix/fnmatch.c (fnmatch): Likewise.
53254         * posix/getopt.c (_getopt_internal_r): Likewise.
53255         * posix/glob.c (glob, glob_in_dir): Likewise.
53256         * posix/wordexp.c (exec_comm_child): Likewise.
53257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
53258         (getanswer_r, gaih_getanswer_slice): Likewise.
53259         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
53260         * resolv/res_init.c: Likewise.
53261         * resolv/res_mkquery.c (res_nmkquery): Likewise.
53262         * resolv/res_query.c (__libc_res_nquery): Likewise.
53263         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
53264         Likewise.
53265         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
53266         * stdio-common/perror.c (perror): Likewise.
53267         * stdio-common/printf_fp.c (___printf_fp): Likewise.
53268         * stdio-common/tmpnam.c (tmpnam): Likewise.
53269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53270         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
53271         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
53272         Likewise.
53273         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
53274         * stdlib/putenv.c (putenv): Likewise.
53275         * stdlib/setenv.c (__add_to_environ): Likewise.
53276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53277         * stdlib/strtol_l.c (INTERNAL): Likewise.
53278         * string/memmem.c (memmem): Likewise.
53279         * string/strerror.c (strerror): Likewise.
53280         * string/strnlen.c (__strnlen): Likewise.
53281         * string/test-memmem.c (simple_memmem): Likewise.
53282         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
53283         * sunrpc/pm_getport.c (__get_socket): Likewise.
53284         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
53285         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
53286         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
53287         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
53288         Likewise.
53289         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
53290         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
53291         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
53292         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
53293         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
53294         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
53295         Likewise.
53296         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
53297         Likewise.
53298         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
53299         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
53300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53301         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
53302         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
53303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
53304         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53305         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
53306         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
53307         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
53308         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53309         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
53310         Likewise.
53311         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
53312         Likewise.
53313         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
53314         Likewise.
53315         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
53316         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53317         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
53318         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
53319         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
53320         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
53321         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
53323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
53324         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
53325         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
53326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53327         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53328         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
53329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53330         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
53331         Likewise.
53332         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
53333         Likewise.
53334         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
53335         Likewise.
53336         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
53337         Likewise.
53338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53340         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
53341         Likewise.
53342         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
53343         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
53344         * sysdeps/posix/opendir.c (__opendirat): Likewise.
53345         * sysdeps/posix/sleep.c: Likewise.
53346         * sysdeps/posix/tempname.c: Likewise.
53347         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
53348         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53349         Likewise.
53350         * sysdeps/powerpc/powerpc32/dl-machine.h
53351         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
53352         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53354         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
53355         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
53356         Likewise.
53357         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
53358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
53359         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
53361         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
53362         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
53363         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
53364         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
53365         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53366         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
53367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
53368         (elf_machine_lazy_rel): Likewise.
53369         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53370         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
53371         (elf_machine_lazy_rel): Likewise.
53372         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
53373         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
53374         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
53375         * sysdeps/unix/grantpt.c (grantpt): Likewise.
53376         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
53377         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
53378         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
53379         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53380         Likewise.
53381         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
53382         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
53383         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
53384         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
53385         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53387         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
53388         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
53389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
53390         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53391         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53392         Likewise.
53393         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
53394         (__posix_fallocate64_l64): Likewise.
53395         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
53396         (posix_fallocate): Likewise.
53397         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
53398         Likewise.
53399         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53400         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
53401         (getifaddrs_internal): Likewise.
53402         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
53403         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
53404         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
53405         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
53406         * sysdeps/unix/sysv/linux/posix_fallocate64.c
53407         (__posix_fallocate64_l64): Likewise.
53408         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
53409         Likewise.
53410         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
53411         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
53412         (__get_clockfreq): Likewise.
53413         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
53414         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
53415         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
53416         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53418         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
53419         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
53420         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
53421         Likewise.
53422         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
53423         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
53424         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
53425         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
53426         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53427         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
53428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
53429         Likewise.
53430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53431         (posix_fallocate): Likewise.
53432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53433         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
53434         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
53435         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
53436         (elf_machine_rela, elf_machine_rela_relative)
53437         (elf_machine_lazy_rel): Likewise.
53438         * time/asctime.c (asctime_internal): Likewise.
53439         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
53440         * time/tzset.c (__tzset_parse_tz): Likewise.
53441         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
53442         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
53443         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
53444         * wcsmbs/wcsmbsload.h: Likewise.
53446         [BZ #15894]
53447         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
53449         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
53450         (arena_get2): Remove THREAD_STATS conditionals.
53451         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
53452         (__malloc_stats, int): Likewise.
53454 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
53456         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
53457         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
53459         * manual/setjmp.texi: Fix typos/grammar errors.
53461         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
53462         Only return early when n is <= 0.  Delete unused return statement.
53464         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
53465         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
53466         * debug/tst-longjmp_chk3.c: New file.
53468         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
53469         (test_main): Replace code with set_fortify_handler call.
53470         * debug/test-strcpy_chk.c: Likewise.
53471         * debug/tst-chk1.c: Likewise.
53472         * debug/tst-longjmp_chk.c: Likewise.
53473         * test-skeleton.c: Include fcntl.h & paths.h
53474         (set_fortify_handler): Define.
53476         * debug/tst-longjmp_chk.c: Add header comment and include
53477         ../test-skeleton.c.
53478         (do_test): Mark static.
53479         (TEST_FUNCTION): Define.
53481         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
53482         (IP_PMTUDISC_INTERFACE): Likewise.
53483         (IP_MULTICAST_IF): Likewise.
53484         (IP_MULTICAST_TTL): Likewise.
53485         (IP_MULTICAST_LOOP): Likewise.
53486         (IP_ADD_MEMBERSHIP): Likewise.
53487         (IP_DROP_MEMBERSHIP): Likewise.
53488         (IP_UNBLOCK_SOURCE): Likewise.
53489         (IP_BLOCK_SOURCE): Likewise.
53490         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
53491         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
53492         (IP_MSFILTER): Likewise.
53493         (MCAST_JOIN_GROUP): Likewise.
53494         (MCAST_BLOCK_SOURCE): Likewise.
53495         (MCAST_UNBLOCK_SOURCE): Likewise.
53496         (MCAST_LEAVE_GROUP): Likewise.
53497         (MCAST_JOIN_SOURCE_GROUP): Likewise.
53498         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
53499         (MCAST_MSFILTER): Likewise.
53500         (IP_MULTICAST_ALL): Likewise.
53501         (IP_UNICAST_IF): Likewise.
53503         * timezone/Makefile: Delete $(have-ksh) check.
53504         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
53505         * timezone/tzselect.ksh: Add +x mode bits.
53507         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
53508         (ANON_INODE_FS_MAGIC): Likewise.
53509         (BDEVFS_MAGIC): Likewise.
53510         (BINFMTFS_MAGIC): Likewise.
53511         (BTRFS_TEST_MAGIC): Likewise.
53512         (CRAMFS_MAGIC_WEND): Likewise.
53513         (DEBUGFS_MAGIC): Likewise.
53514         (ECRYPTFS_SUPER_MAGIC): Likewise.
53515         (EXT3_SUPER_MAGIC): Likewise.
53516         (EXT4_SUPER_MAGIC): Likewise.
53517         (FUTEXFS_SUPER_MAGIC): Likewise.
53518         (HOSTFS_SUPER_MAGIC): Likewise.
53519         (HUGETLBFS_MAGIC): Likewise.
53520         (MINIX3_SUPER_MAGIC): Likewise.
53521         (MTD_INODE_FS_MAGIC): Likewise.
53522         (NILFS_SUPER_MAGIC): Likewise.
53523         (OPENPROM_SUPER_MAGIC): Likewise.
53524         (PIPEFS_MAGIC): Likewise.
53525         (PSTOREFS_MAGIC): Likewise.
53526         (QNX6_SUPER_MAGIC): Likewise.
53527         (RAMFS_MAGIC): Likewise.
53528         (REISERFS_SUPER_MAGIC_STRING): Likewise.
53529         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
53530         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
53531         (SECURITYFS_MAGIC): Likewise.
53532         (SELINUX_MAGIC): Likewise.
53533         (SMACK_MAGIC): Likewise.
53534         (SOCKFS_MAGIC): Likewise.
53535         (SQUASHFS_MAGIC): Likewise.
53536         (STACK_END_MAGIC): Likewise.
53537         (TMPFS_MAGIC): Likewise.
53538         (USBDEVICE_SUPER_MAGIC): Likewise.
53539         (V9FS_MAGIC): Likewise.
53540         (XENFS_SUPER_MAGIC): Likewise.
53541         (CRAMFS_MAGIC): Fix typo in comment.
53542         (EXT2_SUPER_MAGIC): Update comment.
53543         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
53545 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
53547         * sysdeps/arm: Move directory from ports/sysdeps/arm.
53548         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
53549         * sysdeps/unix/sysv/linux/arm: Move directory from
53550         ports/sysdeps/unix/sysv/linux/arm.
53551         * README: Update listing for arm-*-linux-gnueabi.
53553         * README: Remove mention of am33.
53555 2014-02-07  Roland McGrath  <roland@hack.frob.com>
53557         * bits/sigset.h (__sigemptyset): Use a statement expression rather
53558         than the comma operator, to avoid "rhs of comma has no effect"
53559         compiler warnings.
53560         (__sigfillset, __sigandset, __sigorset): Likewise.
53561         * include/signal.h (__sigemptyset): Likewise.
53562         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
53564 2014-02-07  Allan McRae  <allan@archlinux.org>
53566         * version.h (RELEASE): Set to "development".
53567         (VERSION): Set to "2.19.90"
53568         * NEWS: Add 2.20 section.
53570 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
53572         [BZ #16529]
53573         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
53575 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53577         * manual/contrib.texi: Update entry for Carlos O'Donell,
53578         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
53580 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
53582         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
53584         * sysdeps/unix/sysv/linux/kernel-features.h
53585         [__LINUX_KERNEL_VERSION >= 0x020621]
53586         (__ASSUME_PROC_PID_TASK_COMM): Define.
53588 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53590         [BZ #16398]
53591         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
53592         conversion when destination buffer does not have enough space.
53593         * libio/tst-ftell-partial-wide.c: New test case.
53594         * libio/Makefile (tests): Add tst-ftell-partial-wide.
53596         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
53597         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
53598         Leonard and Allan McRae.
53600 2014-02-04  David S. Miller  <davem@davemloft.net>
53602         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
53603         32-bit.
53605 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
53608         New file
53609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
53610         New file
53611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
53612         New file.
53613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
53614         New file.
53615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
53616         New file.
53617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
53618         New file.
53619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
53620         New file.
53621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
53622         New file.
53623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
53624         New file.
53625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
53626         New file.
53627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53628         New file.
53629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
53630         New file.
53631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
53632         New file.
53634 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53636         * nptl/shlib-versions: Change powerpc*le start to 2.17.
53637         * shlib-versions: Likewise.
53639 2014-02-04  Roland McGrath  <roland@hack.frob.com>
53640             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53642         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
53643         (abilist-pattern): New variable, set to %-le.abilist.
53645         * Makerules (abilist-pattern): New variable.
53646         (vpath): Use $(abilist-pattern) in place of %.abilist.
53647         (check-abi-% pattern rule): Likewise.
53648         (check-abi, update-abi): Likewise.
53650 2014-02-04  Eric Wong  <normalperson@yhbt.net>
53652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53654 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
53656         * manual/startup.texi: Add next, previous, and top entries for
53657         the `Program Arguments' and `Environment Variables' nodes.
53659 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
53661         * manual/macros.texi: Add comments before MTASC-safety macros.
53663         * manual/users.texi: Document MTASC-safety properties.
53665         * manual/threads.texi (pthread_key_create, pthread_key_delete)
53666         (pthread_getspecific, pthread_setspecific): Format with
53667         @deftypefun, and add @safety note.
53668         * manual/signal.texi: Move comments that analyze the above
53669         functions to their home place.
53671 2014-02-03  Allan McRae  <allan@archlinux.org>
53673         * po/sl.po: Update Slovenian translation from translation project.
53675 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
53677         * manual/time.texi (timegm): Add missing blank after @c.
53678         Reported by Joseph Myers <joseph@codesourcery.com>.
53680 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
53682         * manual/check-safety.sh: New.
53683         * manual/Makefile ($(objpfx)stamp-summary): Run it.
53685         * manual/terminal.texi: Document MTASC-safety properties.
53687         * manual/filesys.texi: Document MTASC-safety properties.
53689         * manual/errno.texi: Document MTASC-safety properties.
53691         * manual/intro.texi: Document safety identifiers and
53692         conditionals.
53694         * manual/string.texi (wcstok): Fix prototype.
53695         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53697         * manual/time.texi: Document MTASC-safety properties.
53699         * manual/string.texi: Document MTASC-safety properties.
53701         * manual/threads.texi: Document MTASC-safety properties.
53703         * manual/stdio.texi: Document MTASC-safety properties.
53705         * manual/syslog.texi: Document MTASC-safety properties.
53707         * manual/sysinfo.texi: Document MTASC-safety properties.
53709         * manual/startup.texi: Document MTASC-safety properties.
53711         * manual/socket.texi: Document MTASC-safety properties.
53713         * manual/signal.texi: Document MTASC-safety properties.
53715 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
53717         * manual/setjmp.texi: Document MTASC-safety properties.
53719         * manual/search.texi: Document MTASC-safety properties.
53721         * manual/resource.texi: Document MTASC-safety properties.
53723         * manual/process.texi: Document MTASC-safety properties.
53725         * manual/platform.texi: Document MTASC-safety properties.
53727         * manual/pipe.texi: Document MTASC-safety properties.
53729         * manual/pattern.texi: Document MTASC-safety properties.
53731         * manual/message.texi: Document MTASC-safety properties.
53733         [BZ #12751]
53734         * manual/memory.texi: Document MTASC-safety properties.
53736         * manual/math.texi: Document MTASC-safety properties.
53738         * manual/locale.texi: Document MTASC-safety properties.
53740         * manual/llio.texi: Document MTASC-safety properties.
53742         * manual/libdl.texi: New.
53744         * manual/lang.texi: Document MTASC-safety properties.
53746         * manual/job.texi: Document MTASC-safety properties.
53748         * manual/getopt.texi: Document MTASC-safety properties.
53750         * manual/ctype.texi: Document MTASC-safety properties.
53752 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
53754         [BZ #16046]
53755         * csu/libc-tls.c (static_map): Remove variable.
53756         (__libc_setup_tls): Use main executable's link map for TLS data.
53757         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
53758         casing for LM_ID_BASE and GL(dl_nns).
53759         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
53760         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
53761         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
53762         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
53763         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
53764         member.
53765         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
53766         l_phnum members.
53768 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
53770         * manual/debug.texi: Document MTASC-safety properties.
53772 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
53774         [BZ #16510]
53775         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
53776         of __x86_64__ when disabling x87 inline functions.
53778 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
53780         * manual/charset.texi: Document MTASC-safety properties.
53782         * manual/crypt.texi: Document MTASC-safety properties.
53784         * manual/conf.texi: Document MTASC-safety properties.
53786         * manual/arith.texi: Document MTASC-safety properties.
53788         * manual/argp.texi: Document MTASC-safety properties.
53790         * manual/macros.texi: Introduce macros to document multi
53791         thread, asynchronous signal and asynchronous cancellation
53792         safety properties.
53793         * manual/intro.texi: Introduce the properties themselves.
53795 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53797         * sysdeps/sh/sh4/Makefile: New file.
53799 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
53801         * math/gen-libm-test.pl ($srcdir): New variable.
53802         ($auto_input): Use it.
53804 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53806         [BZ #16506]
53807         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
53808         access beyond array bounds when parsing netgroups file.
53810         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
53811         the old buffer before realloc.
53813 2014-01-27  Allan McRae  <allan@archlinux.org>
53815         * po/fr.po: Update French translation from translation project.
53817 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53819         * sysdeps/sh/libm-test-ulps: Regenerate.
53821 2014-01-24  David S. Miller  <davem@davemloft.net>
53823         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
53825 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53827         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
53828         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
53830 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53832         [BZ #16474]
53833         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
53834         string pointers after reallocation.
53836 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53838         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
53839         __SH4A__ instead of __SH_FPU_ANY__.
53841 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53843         * sysdeps/sh/fpu_control.h: New file.
53844         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
53845         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
53846         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
53847         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
53848         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
53849         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
53850         * sysdeps/sh/sys/ucontext.h: Remove.
53851         * sysdeps/sh/sys: Remove directory.
53853 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53855         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
53856         s390/sys/ucontext.h.
53857         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
53858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
53860 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
53862         [BZ #15605]
53863         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
53865 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53867         [BZ #16431]
53868         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53869         Adjust the vDSO correctly for internal calls.
53870         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
53872 2014-01-20  Allan McRae  <allan@archlinux.org>
53874         * po/ca.po: Update Catalan translation from translation project.
53876 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
53878         * sysdeps/s390/sotruss-lib.c: New file.
53880 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53882         [BZ #16430]
53883         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
53884         (__GI___gettimeofday): Alias for a different internal symbol to avoid
53885         local calls issues by not having a PLT stub required for IFUNC calls.
53886         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
53888 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
53890         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
53891         * math/test-fpucw-static.c: Likewise.
53893 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53895         [BZ #16453]
53896         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
53898 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53900         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
53901         implementation for powerpc.
53903 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
53905         [BZ #14782]
53906         * sysdeps/posix/system.c (__libc_system): Do not enable
53907         asynchronous cancellation.
53909 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53911         [BZ #16427]
53912         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
53913         handling only for numbers special also in the IEEE case.
53915 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53917         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53919 2014-01-11  Allan McRae  <allan@archlinux.org>
53921         * po/bg.po: Update Bulgarian translation from translation project.
53923         * po/de.po: Update German translation from translation project.
53925 2014-01-10  Roland McGrath  <roland@hack.frob.com>
53927         * sysdeps/generic/gcc-compat.h: New file.
53929 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53931         * benchtests/asin-inputs: Correct slow inputs.
53932         * benchtests/acos-inputs: Likewise.
53934 2014-01-10  Allan McRae  <allan@archlinux.org>
53936         * po:sv.po: Update Swedish translation from translation project.
53938         * po/vi.po: Update Vietnamese translation from translation project.
53940         * po/eo.po: Update Esperanto translation from translation project.
53942         * po/cs.po: Update Czech translation from translation project.
53944         * po/nl.po: Update Dutch translation from translation project.
53946         * po/pl.po: Update Polish translation from translation project.
53948         * po/ru.po: Update Russian translation from translation project.
53950         * po/uk.po: Update Ukrainian translation from translation project.
53952 2014-01-08  Brooks Moses  <bmoses@google.com>
53954         * elf/dl-load.c: Fix comment typo.
53956 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
53958         * po/header.pot: Rename to...
53959         * po/pot.header: ... this.
53960         * po/Makefile: Use pot.header.
53962 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
53963             Maxim Kuvyrkov  <maxim@kugelworks.com>
53965         [BZ #16394]
53966         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
53967         SRC and DEST against LEN.
53969 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53971         [BZ #16414]
53972         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
53973         implementation.
53974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
53976 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53980 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
53982         [BZ #16408]
53983         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
53984         for large positive arguments.
53986 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
53988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
53990         * math/auto-libm-test-in: Mark various tests with
53991         xfail-rounding:ldbl-128ibm.
53992         * math/auto-libm-test-out: Regenerated.
53994         [BZ #16407]
53995         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
53996         Increase overflow threshold.
53998 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54000         [BZ #14286]
54001         * stdio-common/vfprintf.c: Check for integer overflow.
54003 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54005         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54006         the first argument and return value of __tls_get_addr_internal.
54008 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54010         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54011         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54013 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54015         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54016         * sysdeps/s390/rtld-global-offsets.sym: New file.
54017         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54018         GLIBC_2.19 symbol.
54019         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54020         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54022         ... this.
54023         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54024         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54025         ... this.
54026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54027         Regenerate.
54028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54029         Regenerate.
54030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54031         halfs of GPRs for high_gprs contexts.
54032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54033         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54034         field.
54035         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54036         uc_flags field.
54037         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54038         64 bit versions:
54039         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54040         for high GPRs (uc_high_gprs) and for future extensions
54041         (__reserved).
54042         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54043         for future extensions (__reserved).
54044         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54045         64 bit versions:
54046         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54047         SC_HIGHGPRS offset definition.
54048         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54049         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
54051         * Versions.def: Add GLIBC_2.19 for libpthread.
54052         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
54053         siglongjmp for libpthread with GLIBC_2.19 symver.
54054         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
54055         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
54056         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
54057         * sysdeps/s390/__longjmp.c: New file.
54058         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
54059         * sysdeps/s390/longjmp.c: New file.
54060         * sysdeps/s390/setjmp.S: New file.
54061         * sysdeps/s390/sigjmp.S: New file.
54062         * sysdeps/s390/v1-longjmp.c: New file.
54063         * sysdeps/s390/v1-setjmp.h: New file.
54064         * sysdeps/s390/v1-sigjmp.c: New file.
54065         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
54066         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
54067         GLIBC_2.19 version.
54068         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
54069         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
54070         versioned symbols for ____longjmp_chk.
54071         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
54072         Likewise.
54073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54074         Regenerate.
54075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54076         Regenerate.
54077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54078         Regenerate.
54079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54080         Regenerate.
54081         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
54082         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
54083         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
54084         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
54085         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
54086         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
54087         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
54088         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
54089         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
54090         * sysdeps/s390/rtld-__longjmp.c: New file.
54091         * sysdeps/s390/rtld-setjmp.S: New file.
54093 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
54095         [BZ #16400]
54096         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54097         Return -__logl (x) for small positive arguments without evaluating
54098         a polynomial.
54100 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
54102         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
54103         Rename to ...
54104         (__ptrace_peeksiginfo_args): ... this.
54105         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54107         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54109 2014-01-06  Allan McRae  <allan@archlinux.org>
54111         * inet/netinet/in.h: Fix typo in comment.
54113 2014-01-05  Andreas Jaeger  <aj@suse.de>
54115         * sysdeps/i386/fpu/libm-test-ulps: Update.
54117 2014-01-05  Allan McRae  <allan@archlinux.org>
54119         * po/libc.pot: Regenerated.
54121         * malloc/memusagestat.c: Fix gettext call formatting.
54123 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
54125         * nscd/nscd.c: Improve usage() output.
54127 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
54129         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
54130         * sysdeps/unix/sysv/linux/configure: Regenerated.
54131         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
54132         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
54134 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54136         [BZ #16390]
54137         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54138         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
54140 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
54143         extra tokens at end of #undef directive.
54144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
54145         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
54146         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
54148 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
54150         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54152         * math/auto-libm-test-in: Mark various tests with
54153         xfail-rounding:ldbl-128ibm.
54154         * math/auto-libm-test-out: Regenerated.
54156 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
54158         [BZ #16386]
54159         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
54160         numbers with subnormal high part when calculating exponent.
54162         [BZ #16385]
54163         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
54164         fabs.
54166         [BZ #16384]
54167         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
54168         M_LN2l.
54169         (__ieee754_acoshl): Use __log1pl not __log1p.
54171 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
54173         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
54174         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
54175         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
54176         (grow_heap, heap_trim, _int_new_arena, get_free_list)
54177         (reused_arena, arena_get2): Convert to GNU style.
54178         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
54179         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
54180         (memalign_check, __malloc_set_state): Likewise.
54181         * malloc/mallocbug.c (main): Likewise.
54182         * malloc/malloc.c (__malloc_assert, malloc_init_state)
54183         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
54184         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
54185         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
54186         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
54187         (__posix_memalign, malloc_info): Likewise.
54188         * malloc/malloc.h: Likewise.
54189         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
54190         (mallochook, memalignhook, reallochook, mabort): Likewise.
54191         * malloc/mcheck.h: Likewise.
54192         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
54193         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
54194         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
54195         * malloc/morecore.c (__default_morecore): Likewise.
54196         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
54197         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
54198         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
54199         (print_and_abort): Likewise.
54200         * malloc/obstack.h: Likewise.
54201         * malloc/set-freeres.c (__libc_freeres): Likewise.
54202         * malloc/tst-mallocstate.c (main): Likewise.
54203         * malloc/tst-mtrace.c (main): Likewise.
54204         * malloc/tst-realloc.c (do_test): Likewise.
54206 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54208         [BZ #16366]
54209         * nscd/netgroupcache.c (do_notfound): New function.
54210         (addgetnetgrentX): Use it.
54212         [BZ # 16365]
54213         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
54214         NSS_STATUS_NOTFOUND.
54216 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
54218         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54221 2014-01-01  Allan McRae  <allan@archlinux.org>
54223         * scripts/update-copyrights: Update configure input file suffix.
54225         * NEWS: Update copyright year.
54226         * catgets/gencat.c: Likewise.
54227         * csu/version.c: Likewise.
54228         * debug/catchsegv.sh: Likewise.
54229         * debug/pcprofiledump.c: Likewise.
54230         * debug/xtrace.sh: Likewise.
54231         * elf/ldconfig.c: Likewise.
54232         * elf/ldd.bash.in: Likewise.
54233         * elf/pldd.c: Likewise.
54234         * elf/sotruss.ksh: Likewise.
54235         * elf/sprof.c: Likewise.
54236         * iconv/iconv_prog.c: Likewise.
54237         * iconv/iconvconfig.c: Likewise.
54238         * locale/programs/locale.c: Likewise.
54239         * locale/programs/localedef.c: Likewise.
54240         * login/programs/pt_chown.c: Likewise.
54241         * malloc/memusage.sh: Likewise.
54242         * malloc/memusagestat.c: Likewise.
54243         * malloc/mtrace.pl: Likewise.
54244         * manual/libc.texinfo: Likewise.
54245         * nscd/nscd.c: Likewise.
54246         * nss/getent.c: Likewise.
54247         * nss/makedb.c: Likewise.
54248         * posix/getconf.c: Likewise.
54249         * scripts/test-installation.pl: Likewise.
54251         * All files with FSF copyright notices: Update copyright dates
54252         using scripts/update-copyrights.
54253         * intl/plural.c: Regenerated.
54254         * locale/programs/charmap-kw.h: Likewise.
54255         * locale/programs/locfile-kw.h: Likewise.
54257 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
54259         * sysdeps/unix/sysv/linux/configure: Regenerated.
54260         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
54261         the linux/fanotify.h header.
54262         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
54263         HAVE_LINUX_FANOTIFY_H is defined.
54265 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54267         * benchtests/cos-inputs: New inputs.
54268         * benchtests/sin-inputs: Likewise.
54270         * benchtests/atan-inputs: New inputs. Fix name of multiple
54271         precision fallback inputs.
54273         * benchtests/atanh-inputs: New inputs.
54274         * benchtests/tanh-inputs: Likewise.
54276         * benchtests/acosh-inputs: New inputs.
54277         * benchtests/asinh-inputs: Likewise.
54279         * benchtests/cosh-inputs: New inputs.
54280         * benchtests/sinh-inputs: Likewise.
54282         * benchtests/acos-inputs: Add more inputs.
54283         * benchtests/asin-inputs: Likewise.
54285 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
54287         [BZ #16375]
54288         * manual/arith.texi: Fix spelling.
54289         * manual/charset.texi: Likewise.
54290         * manual/errno.texi: Likewise.
54291         * manual/filesys.texi: Likewise.
54292         * manual/lang.texi: Likewise.
54293         * manual/llio.texi: Likewise.
54294         * manual/locale.texi: Likewise.
54295         * manual/message.texi: Likewise.
54296         * manual/resource.texi: Likewise.
54297         * manual/search.texi: Likewise.
54298         * manual/setjmp.texi: Likewise.
54299         * manual/stdio.texi: Likewise.
54300         * manual/string.texi: Likewise.
54301         * manual/sysinfo.texi: Likewise.
54302         * manual/time.texi: Likewise.
54304 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
54306         * po/sl.po: New file.
54308 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
54310         * .gitignore: Add core/.gdbinit/.gdb_history.
54312 2013-12-27  Allan McRae  <allan@archlinux.org>
54314         [BZ #16369]
54315         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
54316         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
54318 2013-12-24  Brooks Moses  <bmoses@google.com>
54320         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
54321         all compilers that claim C++98 compliance, not just GCC.
54322         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
54323         Likewise.
54325 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54327         * NEWS: Restore accidentally deleted bug-fix entries.
54329 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
54330             Ondřej Bílka  <neleai@seznam.cz>
54332         [BZ #15073]
54333         * malloc/malloc.c (_int_free): Perform sanity check only if we
54334         have_lock.
54336 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
54338         [BZ #12986]
54339         * manual/stdio.texi (String Input Conversions): Clarify that character
54340         classes are not supported.
54342 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54346 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
54348         [BZ #16337]
54349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
54350         Calculate results for small negative arguments directly rather
54351         than using reflection formula with special underflow handling.
54353         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
54354         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
54355         sysdeps/unix/bsd/bsd4.4/syscalls.list.
54356         (fchflags): Likewise.
54357         (revoke): Likewise.
54358         (setlogin): Likewise.
54359         (sigaltstack): Likewise.
54360         (wait4): Likewise.
54361         (sigblock): Remove.
54362         (sigsetmask): Likewise.
54363         (wait3): Likewise.
54364         (waitpid): Likewise.
54365         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
54366         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
54367         file.
54368         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
54369         * sysdeps/unix/bsd/Makefile: ... here.
54370         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
54371         * sysdeps/unix/bsd/Versions: ... here.
54372         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
54373         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
54374         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
54375         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
54376         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
54377         * sysdeps/unix/bsd/sigblock.c: ... here.
54378         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
54379         * sysdeps/unix/bsd/sigsetmask.c: ... here.
54380         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
54381         * sysdeps/unix/bsd/sigvec.c: ... here.
54382         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
54383         * sysdeps/unix/bsd/tcdrain.c: ... here.
54384         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
54385         * sysdeps/unix/bsd/tcgetattr.c: ... here.
54386         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
54387         * sysdeps/unix/bsd/tcsetattr.c: ... here.
54388         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
54389         * sysdeps/unix/bsd/wait.c: ... here.
54390         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
54391         * sysdeps/unix/bsd/wait3.c: ... here.
54392         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
54393         * sysdeps/unix/bsd/waitpid.c: ... here.
54395 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
54397         [BZ #16356]
54398         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
54399         round-to-nearest for [!USE_AS_EXPM1L].
54400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
54401         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
54402         more tests of exp and exp10.  Expect some exp10 tests to miss
54403         exceptions or fail in directed rounding modes.
54404         * math/auto-libm-test-out: Regenerated.
54405         * math/libm-test.inc (exp10_tonearest_test_data): New array.
54406         (exp10_test_tonearest): New function.
54407         (exp10_towardzero_test_data): New array.
54408         (exp10_test_towardzero): New function.
54409         (exp10_downward_test_data): New array.
54410         (exp10_test_downward): New function.
54411         (exp10_upward_test_data): New array.
54412         (exp10_test_upward): New function.
54413         (main): Call the new functions.
54414         * sysdeps/i386/fpu/libm-test-ulps: Update.
54415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54417 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
54419         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
54420         asinh, atan, atan2, atanh, cbrt, cos and cosh.
54421         * math/auto-libm-test-out: Regenerated.
54422         * math/libm-test.inc (acosh_test_data): Add more tests.
54423         (atanh_test_data): Likewise.
54424         (ceil_test_data): Likewise.
54425         (copysign_test_data): Likewise.
54426         * sysdeps/i386/fpu/libm-test-ulps: Update.
54427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54429         * timezone/checktab.awk: Update from tzcode 2013i.
54430         * timezone/private.h: Likewise.
54431         * timezone/scheck.c: Likewise.
54432         * timezone/tzfile.h: Likewise.
54433         * timezone/tzselect.ksh: Likewise.
54434         * timezone/zdump.c: Likewise.
54435         * timezone/zic.c: Likewise.
54437         * math/auto-libm-test-in: Add tests of cpow.
54438         * math/auto-libm-test-out: Regenerated.
54439         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
54440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54441         mpc_cc_c.
54442         (func_calc_desc): Add mpc_cc_c union field.
54443         (test_functions): Add cpow.
54444         (special_fill_2pi): New function.
54445         (special_real_inputs): Add 2pi.
54446         (calc_generic_results): Handle mpc_cc_c.
54447         * sysdeps/i386/fpu/libm-test-ulps: Update.
54448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54450         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
54451         csqrt, ctan and ctanh.
54452         * math/auto-libm-test-out: Regenerated.
54453         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54454         (TEST_COND_x86): Likewise.
54455         (ccos_test_data): Use AUTO_TESTS_c_c.
54456         (ccosh_test_data): Likewise.
54457         (cexp_test_data): Likewise.
54458         (clog_test_data): Likewise.
54459         (csqrt_test_data): Likewise.
54460         (ctan_test_data): Likewise.
54461         (ctan_tonearest_test_data): Likewise.
54462         (ctan_towardzero_test_data): Likewise.
54463         (ctan_downward_test_data): Likewise.
54464         (ctan_upward_test_data): Likewise.
54465         (ctanh_test_data): Likewise.
54466         (ctanh_tonearest_test_data): Likewise.
54467         (ctanh_towardzero_test_data): Likewise.
54468         (ctanh_downward_test_data): Likewise.
54469         (ctanh_upward_test_data): Likewise.
54470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54471         mpc_c_c.
54472         (func_calc_desc): Add mpc_c_c union field.
54473         (FUNC_mpc_c_c): New macro.
54474         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
54475         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
54476         ctanh.
54477         (special_fill_min_subnorm_p120): New function.
54478         (special_real_inputs): Add min_subnorm_p120.
54479         (calc_generic_results): Handle mpc_c_c.
54480         * sysdeps/i386/fpu/libm-test-ulps: Update.
54481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54483 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54485         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
54486         (do_sin_slow): New functions.
54487         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
54488         (cslow2, csloww1, csloww2): Use the new functions.
54490         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
54491         Use M to change sign of result instead of X.  Assume X is
54492         positive.
54493         (csloww1): Likewise.
54494         (__sin): Adjust.
54495         (__cos): Adjust.
54497         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
54498         arguments A and DA.
54499         (__sin): Adjust.
54500         (__cos): Likewise.
54502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
54503         (__cos): Likewise.
54504         (sloww1): Don't adjust sign of DX.
54505         (csloww1): Likewise.
54506         (sloww2): Use X directly and don't adjust sign of DX.
54507         (csloww2): Likewise.
54509 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54511         * math/auto-libm-test-in: Add tests of cabs and carg.
54512         * math/auto-libm-test-out: Regenerated.
54513         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
54514         (carg_test_data): Likewise.
54515         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54516         mpc_c_f.
54517         (func_calc_desc): Add mpc_c_f union field.
54518         (test_functions): Add cabs and carg.
54519         (calc_generic_results): Handle mpc_c_f.
54521         * sysdeps/powerpc/powerpc32/libgcc-compat.S
54522         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
54523         as a macro and a compat symbol.
54524         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
54525         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
54526         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
54527         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
54528         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
54529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
54530         not use .hidden.
54531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
54532         Likewise.
54533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
54534         Likewise.
54535         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
54536         Likewise.
54537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
54538         Likewise.
54539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
54540         Likewise.
54541         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
54542         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
54543         from GLIBC_2.3.2.
54545 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54549 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54551         * manual/texinfo.tex: Update to version 2013-11-26.10 with
54552         trailing whitespace removed.
54553         * scripts/config.guess: Update to version 2013-11-29.
54554         * scripts/config.sub: Update to version 2013-10-01.
54556         * math/auto-libm-test-in: Add tests of sincos.
54557         * math/auto-libm-test-out: Regenerated.
54558         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
54559         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54560         mpfr_f_11.
54561         (func_calc_desc): Add mpfr_f_11 union field.
54562         (test_functions): Add sincos.
54563         (calc_generic_results): Handle mpfr_f_11.
54564         * sysdeps/i386/fpu/libm-test-ulps: Update.
54565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54567 2013-12-19  Andreas Schwab  <schwab@suse.de>
54569         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
54570         CALL_MCOUNT.
54571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54572         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
54573         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
54575 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
54577         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
54578         * sysdeps/i386/fpu/libm-test-ulps: Update.
54579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54581         [BZ #16293]
54582         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
54583         round-to-nearest mode when using frndint.
54584         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
54585         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54586         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
54587         Likewise.
54588         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
54589         sinh test to fail.
54590         * math/auto-libm-test-out: Regenerated.
54591         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
54592         (TEST_COND_x86): Likewise.
54593         (expm1_tonearest_test_data): New array.
54594         (expm1_test_tonearest): New function.
54595         (expm1_towardzero_test_data): New array.
54596         (expm1_test_towardzero): New function.
54597         (expm1_downward_test_data): New array.
54598         (expm1_test_downward): New function.
54599         (expm1_upward_test_data): New array.
54600         (expm1_test_upward): New function.
54601         (main): Run the new test functions.
54602         * sysdeps/i386/fpu/libm-test-ulps: Update.
54603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54605         * include/features.h: Update comment documenting feature test
54606         macros.  Mention _DEFAULT_SOURCE in comment.
54607         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
54608         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
54609         _BSD_SOURCE and _SVID_SOURCE.
54610         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
54611         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
54612         !_SVID_SOURCE]: Likewise.
54613         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54614         (__USE_POSIX_IMPLICITLY): Define.
54615         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54616         (_POSIX_SOURCE): Undefine and redefine.
54617         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
54618         (_POSIX_C_SOURCE): Likewise.
54619         * manual/creature.texi (_DEFAULT_SOURCE): Document.
54620         (Feature Test Macros): Update documentation of default features.
54622 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54624         * benchtests/Makefile: Add bench-strtok.
54625         * benchtests/bench-strtok.c: New file: strtok benchtest.
54627 2013-12-19  Allan McRae  <allan@archlinux.org>
54629         * manual/install.texi: Suppress menu for plain text output.
54630         * INSTALL: Regenerated.
54632 2013-12-18  Brooks Moses  <bmoses@google.com>
54634         [BZ #15846]
54635         * misc/getauxval.c: Include errno.h.
54636         (__getauxval): Set errno to ENOENT if the requested type is not
54637         found.
54638         * misc/sys/auxv.h (getauxval): Document that it may set errno;
54639         don't declare with __attribute_const__.
54640         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
54641         * manual/startup.texi: Document that getauxval sets errno.
54643 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54645         * math/auto-libm-test-in: Add tests of jn and yn.
54646         * math/auto-libm-test-out: Regenerated.
54647         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
54648         (yn_test_data): Likewise.
54649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54650         mpfr_if_f.
54651         (func_calc_desc): Add mpfr_if_f union field.
54652         (FUNC_mpfr_if_f): New macro.
54653         (test_functions): Add jn and yn.
54654         (calc_generic_results): Assert type of second input for
54655         mpfr_ff_f.  Handle mpfr_if_f.
54656         (output_for_one_input_case): Disable all checking for arguments
54657         fitting floating-point types in case of an integer argument.
54658         * sysdeps/i386/fpu/libm-test-ulps: Update.
54659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54662         Don't expect fegetround reference in libm.so.
54664 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54666         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
54667         $(config-cflags-nofma).
54669 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
54671         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
54672         * math/auto-libm-test-out: Regenerated.
54674         [BZ #16338]
54675         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
54676         to determine exponent and adjust argument to have exponent of -1.
54677         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
54678         log2.
54679         * math/auto-libm-test-out: Regenerated.
54680         * sysdeps/i386/fpu/libm-test-ulps: Update.
54681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54683 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
54685         * manual/probes.texi: Remove cases when per-thread arenas are
54686         disabled.
54688 2013-12-18  Andreas Schwab  <schwab@suse.de>
54690         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
54691         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
54692         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
54693         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
54694         * sysdeps/i386/i686/multiarch/Makefile: Update.
54695         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
54697 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54699         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
54700         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
54702 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
54704         [BZ #15968]
54705         Support TZ transition times < 00:00:00.
54706         This is needed for version-3 tz-format files; it supports time
54707         stamps past 2037 for America/Godthab (the only entry in the tz
54708         database for which this change is relevant).
54709         * manual/time.texi (TZ Variable): Document transition times
54710         from -167:59:59 through -00:00:01.
54711         * time/tzset.c (tz_rule): Time of day is now signed.
54712         (__tzset_parse_tz): Parse negative time of day.
54714         Document TZ transition times >= 25:00:00.
54715         * manual/time.texi (TZ Variable): Document transition times from
54716         25:00:00 through 167:59:59.  These are already supported, and this
54717         support will help with version-3 tz-format files.
54719         * manual/time.texi (TZ Variable): Modernize North America example
54720         to reflect current (i.e., 2007-and-later) daylight saving rules.
54722         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
54724 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54726         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
54727         * sysdeps/unix/bsd/bits/stat.h: Likewise.
54728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
54729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54730         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
54731         * sysdeps/unix/bsd/bsdstat.h: Likewise.
54732         * sysdeps/unix/bsd/clock.c: Likewise.
54733         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
54734         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
54735         * sysdeps/unix/bsd/init-posix.c: Likewise.
54736         * sysdeps/unix/bsd/poll.c: Likewise.
54737         * sysdeps/unix/bsd/ptsname.c: Likewise.
54738         * sysdeps/unix/bsd/seekdir.c: Likewise.
54739         * sysdeps/unix/bsd/setegid.c: Likewise.
54740         * sysdeps/unix/bsd/seteuid.c: Likewise.
54741         * sysdeps/unix/bsd/setgid.c: Likewise.
54742         * sysdeps/unix/bsd/setrgid.c: Likewise.
54743         * sysdeps/unix/bsd/setruid.c: Likewise.
54744         * sysdeps/unix/bsd/setsid.c: Likewise.
54745         * sysdeps/unix/bsd/setuid.c: Likewise.
54746         * sysdeps/unix/bsd/sigaction.c: Likewise.
54747         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
54748         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
54749         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
54750         * sysdeps/unix/bsd/telldir.c: Likewise.
54751         * sysdeps/unix/bsd/times.c: Likewise.
54752         * sysdeps/unix/bsd/usleep.c: Likewise.
54754         * misc/Makefile (install-lib): Remove libbsd-compat.a.
54755         ($(objpfx)libbsd-compat.a): Remove rule.
54757         * include/features.h (__FAVOR_BSD): Do not define.
54758         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
54759         features conflicting with POSIX.
54760         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
54761         (_BSD_SOURCE): Remove description of not being a subset of other
54762         feature test macros.
54763         * manual/job.texi (getpgrp): Do not document BSD version.
54764         (getpgid): Do not document by reference to BSD getpgrp.
54765         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
54766         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
54767         * signal/signal.h [__FAVOR_BSD]: Likewise.
54768         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
54769         instead of making contents conditional on [__FAVOR_BSD].
54770         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
54772 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54776 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
54778         [BZ #16314]
54779         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
54780         values below 2**-450, not 2**-500.
54781         * math/auto-libm-test-in: Don't allow spurious underflow from
54782         hypot.
54783         * math/auto-libm-test-out: Regenerated.
54785         [BZ #16316]
54786         [BZ #16330]
54787         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
54788         values of ha and hb and sort them after adjusting subnormal
54789         arguments.
54790         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
54791         Likewise.
54792         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
54793         values of ea and eb and sort them after adjusting subnormal
54794         arguments.
54795         * math/auto-libm-test-in: Do not expect some hypot tests of
54796         subnormals to fail.  Add more hypot tests.
54797         * math/auto-libm-test-out: Regenerated.
54799 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54801         [BZ #13304]
54802         * sysdeps/sh/s_fma.c: New file.
54803         * sysdeps/sh/s_fmaf.c: New file.
54804         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
54805         version.
54806         * sysdeps/sh/Implies: Add sh/soft-fp.
54808 2013-12-16  Roland McGrath  <roland@hack.frob.com>
54810         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
54811         level of indirection to members `objname', `errstring', `malloced'.
54812         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
54813         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
54814         it as the __longjmp argument (just pass 1 instead).
54815         (_dl_catch_error): Initialize C with argument pointers and address of
54816         volatile local ERRCODE rather than copying values out of C at return.
54818 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
54820         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
54821         * math/auto-libm-test-out: Regenerated.
54822         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
54823         (hypot_test_data): Likewise.
54824         (pow_test_data): Likewise.
54825         (pow_tonearest_test_data): Likewise.
54826         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54827         mpfr_ff_f.
54828         (func_calc_desc): Add mpfr_ff_f union field.
54829         (FUNC_mpfr_ff_f): New macro.
54830         (test_functions): Add atan2, hypot and pow.
54831         (special_fill_min): New function.
54832         (special_fill_minus_min): Likewise.
54833         (special_fill_min_subnorm): Likewise.
54834         (special_fill_minus_min_subnorm): Likewise.
54835         (special_real_inputs): Add min, -min, min_subnorm and
54836         -min_subnorm.
54837         (calc_generic_results): Handle mpfr_ff_f.
54838         * sysdeps/i386/fpu/libm-test-ulps: Update.
54839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54841 2013-12-16  Will Newton  <will.newton@linaro.org>
54843         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
54844         (Aligned Memory Blocks): Add documentation for aligned_alloc
54845         and suggest it as an alternative to posix_memalign.
54846         (Hooks for Malloc): Document __memalign_hook is also called
54847         for aligned_alloc.  (Summary of Malloc): Add summary for
54848         aligned alloc.  Document __memalign_hook is also called
54849         for aligned_alloc.
54851 2013-12-16  Will Newton  <will.newton@linaro.org>
54853         * manual/memory.texi (Malloc Examples): Clarify default
54854         alignment documentation.  Suggest posix_memalign rather
54855         than memalign or valloc.
54856         (Aligned Memory Blocks): Remove suggestion to use memalign
54857         or valloc.  Remove obsolete comment about BSD.
54858         Document memalign errno values and mark the function obsolete.
54859         Document posix_memalign returned error codes.  Mark valloc
54860         as obsolete.  (Hooks for Malloc): __memalign_hook is also
54861         called for posix_memalign and valloc.
54862         (Summary of Malloc): Add posix_memalign to function summary.
54863         __memalign_hook is also called for posix_memalign and valloc.
54865 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54867         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
54868         TAYLOR_SIN.
54869         (__sin): Adjust.
54870         (__cos): Likewise.
54871         (sloww): Use mynumber union.  Expand ternary operator into
54872         if-else statements.
54873         (cslow): use mynumber union.
54875 2013-12-16  Allan McRae  <allan@archlinux.org>
54877         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
54878         * configure: Regenerated.
54880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
54882         [BZ #14120]
54883         * configure.ac: Added --enable-maintainer-mode. Check for
54884         autoconf when enabled.
54885         * configure: Regenerated.
54887         * nscd/nscd.service: New file.
54888         * nscd/nscd.tmpfiles: New file.
54890 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
54892         [BZ #12100]
54893         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
54894         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
54895         * sysdeps/x86_64/multiarch/strstr.c: ... here.
54896         (strstr): Add __strstr_sse2_unaligned ifunc.
54897         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
54898         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
54899         (strcasestr): Remove __strcasestr_sse42 ifunc.
54900         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
54901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54904 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54906         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
54907         * sysdeps/sh/bits/fenv.h: ... here.
54908         * sysdeps/sh/sh4/fpu/bits: Remove directory.
54910 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54912         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
54914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
54915         hypotf multiarch implementations.
54916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
54917         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
54918         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
54919         multiarch hypot for PPC64.
54920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
54921         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
54922         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
54923         multiarch hypotf for PPC64.
54925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
54926         modff multiarch implementations.
54927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
54928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
54929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
54930         multiarch modf for PPC64.
54931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
54932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
54933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
54934         multiarch modff for PPC64.
54936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
54937         and logl multiarch implementations.
54938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
54939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
54940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
54941         multiarch logb for PPC64.
54942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
54943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
54944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
54945         multiarch logb for PPC64.
54946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
54947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
54948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
54949         multiarch logb for PPC64.
54951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
54952         isinff multiarch implementation.
54953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
54954         file.
54955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
54956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
54957         multiarch isinf for PPC64.
54958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
54959         file.
54960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
54961         multiarch isinff for PPC64.
54963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
54964         finitef multiarch implementation.
54965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
54966         file.
54967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
54968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
54969         multiarch finite for PPC64.
54970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
54971         file.
54972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
54973         multiarch finitef for PPC64.
54975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
54976         lrint multiarch implementation.
54977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
54978         file.
54979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
54980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
54981         multiarch llrint for PPC64.
54982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
54983         multiarch lrint for PPC64.
54985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
54986         copysignf multiarch implementation.
54987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
54988         file.
54989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
54990         file.
54991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
54992         multiarch copysign for PPC64.
54993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
54994         multiarch copysignf for PPC64.
54996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
54997         multiarch implementation.
54998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
54999         file.
55000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55001         file.
55002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55003         file.
55004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55005         file.
55006         multiarch llround for PPC64.
55007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55008         multiarch trunc for PPC64.
55009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55010         multiarch truncf for PPC64.
55012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55013         multiarch implementation.
55014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55015         file.
55016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55017         file.
55018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55019         file.
55020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55021         file.
55022         multiarch llround for PPC64.
55023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55024         multiarch round for PPC64.
55025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55026         multiarch roundf for PPC64.
55028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55029         multiarch implementation.
55030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55031         file.
55032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55033         file.
55034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55035         file.
55036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55037         file.
55038         multiarch llround for PPC64.
55039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55040         multiarch floor for PPC64.
55041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55042         multiarch floorf for PPC64.
55044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55045         multiarch implementation.
55046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55047         file.
55048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55049         file.
55050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
55051         file.
55052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
55053         file.
55054         multiarch llround for PPC64.
55055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
55056         multiarch ceil for PPC64.
55057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
55058         multiarch ceilf for PPC64.
55060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55061         multiarch implementation.
55062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
55063         file.
55064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
55065         file.
55066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
55067         file.
55068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
55069         multiarch llround for PPC64.
55070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
55071         multiarch lround for PPC64.
55073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55074         multiarch implementation.
55075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
55076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
55077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
55078         file.
55079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
55080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
55081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
55082         multiarch isnan for PPC64.
55083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
55084         multiarch isnanf for PPC64.
55086         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
55087         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
55088         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
55089         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
55090         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
55091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
55093         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
55094         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
55099         multiarch implementations.
55100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55101         (__libc_ifunc_impl_list): Likewise.
55102         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
55103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
55104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
55105         multiarch stpcpy for PPC64.
55107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
55108         multiarch implementations.
55109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55110         (__libc_ifunc_impl_list): Likewise.
55111         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
55112         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
55113         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
55114         multiarch strcpy for PPC64.
55116         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
55117         redefine function name.
55118         (_wordcopy_fwd_dest_aligned): Likewise.
55119         (_wordcopy_bwd_aligned): Likewise.
55120         (_wordcopy_bwd_dest_aligned): Likewise.
55121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
55122         multiarch implementations.
55123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55124         (__libc_ifunc_impl_list): Likewise.
55125         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
55126         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
55127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
55128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
55129         multiarch wcscpy for PPC64.
55131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
55132         multiarch implementations.
55133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55134         (__libc_ifunc_impl_list): Likewise.
55135         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
55136         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
55137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
55138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
55139         multiarch wcscpy for PPC64.
55141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
55142         multiarch implementations.
55143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55144         (__libc_ifunc_impl_list): Likewise.
55145         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
55146         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
55147         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
55148         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
55149         multiarch wcsrchr for PPC64.
55151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
55152         multiarch implementations.
55153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55154         (__libc_ifunc_impl_list): Likewise.
55155         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
55156         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
55157         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
55158         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
55159         multiarch wcschr for PPC64.
55161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
55162         multiarch implementations.
55163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55164         (__libc_ifunc_impl_list): Likewise.
55165         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
55166         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
55167         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
55168         multiarch strchrnul for PPC64.
55170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
55171         implementations.
55172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55173         (__libc_ifunc_impl_list): Likewise.
55174         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
55175         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
55176         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
55177         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
55178         strchr for PPC64.
55180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
55181         implementations.
55182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55183         (__libc_ifunc_impl_list): Likewise.
55184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
55185         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
55186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
55187         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
55188         strncmp for PPC64.
55190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
55191         multiarch implementations.
55192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55193         (__libc_ifunc_impl_list): Likewise.
55194         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
55195         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
55196         strncasecmp for PPC64.
55197         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
55198         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
55199         multiarch strncasecmp_l for PPC64.
55201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
55202         multiarch implementations.
55203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55204         (__libc_ifunc_impl_list): Likewise.
55205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
55206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
55207         multiarch strcasecmp for PPC64.
55208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
55209         file.
55210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
55211         multiarch strcasecmp_l for PPC64.
55213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
55214         implementations.
55215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55216         (__libc_ifunc_impl_list): Likewise.
55217         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
55218         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
55219         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
55220         strnlen for PPC64.
55222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
55223         implementations.
55224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55225         (__libc_ifunc_impl_list): Likewise.
55226         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
55227         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
55228         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
55229         strlen for PPC64.
55231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
55232         implementations.
55233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55234         (__libc_ifunc_impl_list): Likewise.
55235         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
55236         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
55237         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
55238         rawmemrchr for PPC64.
55240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
55241         implementation.
55242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55243         (__libc_ifunc_impl_list): Likewise.
55244         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
55245         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
55246         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
55247         memrchr for PPC64.
55249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
55250         implementation.
55251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55252         (__libc_ifunc_impl_list): Likewise.
55253         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
55254         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
55255         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
55256         memchr for PPC64.
55258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
55259         implementation.
55260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55261         (__libc_ifunc_impl_list): Likewise.
55262         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
55263         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
55264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
55265         mempcpy for PPC64.
55267         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
55268         avoid cretion of __bzero symbol.
55269         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
55270         Likewise.
55271         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
55272         Likewise.
55273         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
55274         Likewise.
55275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
55276         multiarch implementations.
55277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55278         (__libc_ifunc_impl_list): Likewise.
55279         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
55280         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
55281         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
55282         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
55283         bzero for PPC32.
55284         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
55285         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
55286         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
55287         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
55288         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
55289         memset for PPC64.
55290         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
55292         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
55293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
55294         implementations.
55295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
55296         (__libc_ifunc_impl_list): Likewise.
55297         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
55298         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
55299         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
55300         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
55301         memcmp for PPC64.
55303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
55304         multiarch for POWER/PPC64.
55305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
55306         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
55307         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
55308         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
55309         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
55310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
55311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
55312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
55313         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
55314         memcpy for PPC64.
55316         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
55317         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
55318         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
55319         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
55320         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
55321         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
55322         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
55323         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
55324         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
55325         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
55326         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
55327         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
55328         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
55329         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
55330         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
55331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
55332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
55333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
55334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
55335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
55336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
55337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
55339 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
55343 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55345         * benchtests/Makefile (bench): Add exp2 and log2.
55346         (LDLIBS-bench-exp2): Add -lm.
55347         (LDLIBS-bench-log2): Likewise.
55348         * benchtests/exp2-inputs: New inputs file.
55349         * benchtests/log2-inputs: New inputs file.
55350         * benchtests/log-inputs: Add new inputs.
55351         * benchtests/tan-inputs: Likewise.
55353 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55355         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
55356         definition...
55357         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
55358         (csloww2): ... from here.
55360         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
55361         instead of structures.
55362         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
55363         (POLYNOMIAL): Likewise.
55364         (TAYLOR_SLOW): Likewise.
55365         (__sin): Likewise.
55366         (__cos): Likewise.
55367         (slow1): Likewise.
55368         (slow2): Likewise.
55369         (sloww): Likewise.
55370         (sloww1); Likewise.
55371         (sloww2): Likewise.
55372         (bsloww1): Likewise.
55373         (bsloww2): Likewise.
55374         (cslow2): Likewise.
55375         (csloww): Likewise.
55376         (csloww1): Likewise.
55377         (csloww2): Likewise.
55379 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
55381         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
55382         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
55383         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
55384         * malloc/hooks.c (realloc_check): Likewise.
55386         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
55387         * malloc/arena.c: Remove PER_THREAD conditional.
55388         [!PER_THREAD]: Remove code.
55389         (ptmalloc_unlock_all2): Likewise.
55390         (ptmalloc_init): Likewise.
55391         (_int_new_arena): Likewise.
55392         (arena_get2): Likewise.
55393         * malloc/hooks.c (__malloc_get_state): Likewise.
55394         (__malloc_set_state): Likewise.
55395         * malloc/malloc.c: Likewise.
55396         (struct malloc_state): Likewise.
55397         (struct malloc_par): Likewise.
55398         (__libc_realloc): Likewise.
55399         (__libc_mallopt): Likewise.
55401 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55403         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
55405 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
55407         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
55408         macro to a function.  Check for zero perturb_byte.
55409         (_int_malloc, _int_free): Remove zero perturb_byte checks.
55411         * malloc/malloc.c: (force_reg): Remove.
55412         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
55413         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
55414         force_reg by atomic_forced_read.
55415         * malloc/arena.c (ptmalloc_init): Likewise.
55416         * malloc/hooks.c (top_check): Likewise.
55418 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55422 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
55424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55426 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
55428         * math/auto-libm-test-in: Add tests of lgamma.
55429         * math/auto-libm-test-out: Regenerated.
55430         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
55431         (M_LOG_2_SQRT_PIl): Likewise.
55432         (lgamma_test_data): Use AUTO_TESTS_f_f1.
55433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55434         mpfr_f_f1.
55435         (func_calc_desc): Add mpfr_f_f1 union field.
55436         (ARGS1): New macro.
55437         (ARGS2): Likewise.
55438         (ARGS3): Likewise.
55439         (ARGS4): Likewise.
55440         (RET1): Likewise.
55441         (RET2): Likewise.
55442         (CALC): Likewise.
55443         (FUNC): Likewise.
55444         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
55445         (test_functions): Add lgamma.
55446         (calc_generic_results): Handle mpfr_f_f1.
55447         * sysdeps/i386/fpu/libm-test-ulps: Update.
55448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55450 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55452         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
55453         __mpn_add_n for PowerPC64/POWER7.
55454         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
55455         __mpn_sub_n for PowerPC64/POWER7.
55457         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
55458         __mpn_addmul_1 for PowerPC64.
55459         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
55460         __mpn_submul_1 for PowerPC64.
55461         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
55462         for PowerPC64.
55463         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
55464         for PowerPC64.
55466 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
55468         [BZ #15089]
55469         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
55471 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55473         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
55475         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
55476         add multiarch folders.
55477         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
55478         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
55479         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
55480         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
55481         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
55482         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
55483         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
55484         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
55485         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
55486         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
55487         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
55488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
55489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
55490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
55491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
55492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
55493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
55495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55496         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
55497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
55498         New file.
55499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
55500         New file.
55501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
55502         multiarch __ieee754_hypot for PowerPC32.
55503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
55504         New file.
55505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
55506         New file.
55507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
55508         multiarch __ieee754_hypotf for PowerPC32.
55510         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
55511         long_double_symbol only if __logbl is defined.
55512         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
55513         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
55514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
55515         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
55516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
55517         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
55518         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
55519         path for implementation.
55520         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
55521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
55522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
55523         logb, and logbl multiarch implementations for PowerPC32.
55524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
55525         file.
55526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
55527         file.
55528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
55529         multiarch logb for PowerPC32.
55530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
55531         file.
55532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
55533         file.
55534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
55535         multiarch logbf for PowerPC32.
55536         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
55537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
55538         file.
55539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
55540         multiarch logbl implementation for PowerPC32.
55542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
55543         and modff multiarch implementations.
55544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
55545         New file.
55546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
55547         New file.
55548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
55549         multiarch modf for PowerPC32.
55550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
55551         New file.
55552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
55553         New file.
55554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
55555         multiarch modff for PowerPC32.
55557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
55558         and lrintf multiarch implementations.
55559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
55560         New file.
55561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
55562         New file.
55563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
55564         multiarch lrint for PowerPC32.
55565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
55566         file: multiarch lrintf for PowerPC32.
55568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
55569         and lroundf multiarch implementations.
55570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
55571         New file.
55572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
55573         New file.
55574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
55575         New file.
55576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
55577         multiarch lround for PowerPC32.
55578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
55579         file: multiarch lroundf for PowerPC32.
55581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
55582         copysign and copysignf multiarch implementations.
55583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
55584         New file.
55585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
55586         New file.
55587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
55588         file: multiarch copysign for PowerPC32.
55589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
55590         file: multiarch copysignf for PowerPC32.
55592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
55593         and truncf multiarch implementations.
55594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
55595         New file.
55596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
55597         file.
55598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
55599         multiarch trunc for PowerPC32.
55600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
55601         New file.
55602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
55603         New file.
55604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
55605         multiarch truncf for PowerPC32.
55607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
55608         and roundf multiarch implementations.
55609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
55610         New file.
55611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
55612         file.
55613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
55614         multiarch round for PowerPC32.
55615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
55616         New file.
55617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
55618         New file.
55619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
55620         multiarch roundf for PowerPC32.
55622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
55623         and floorf multiarch implementations.
55624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
55625         New file.
55626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
55627         file.
55628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
55629         multiarch floor for PowerPC32.
55630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
55631         New file.
55632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
55633         New file.
55634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
55635         multiarch floorf for PowerPC32.
55637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
55638         and ceilf multiarch implementations.
55639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
55640         New file.
55641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
55642         file.
55643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
55644         multiarch ceil for PowerPC32.
55645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
55646         New file.
55647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
55648         file.
55649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
55650         multiarch ceilf for PowerPC32.
55652         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
55653         is defined.
55654         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
55655         FINITEF is defined.
55656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
55657         and finitef multiarch implementations.
55658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
55659         New file.
55660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
55661         file.
55662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
55663         multiarch finite for PowerPC32.
55664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
55665         New file.
55666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
55667         file: multiarch finitef for PowerPC32.
55669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
55670         and isinff multiarch implementations.
55671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
55672         file.
55673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
55674         file.
55675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
55676         multiarch isinf for PowerPC32.
55677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
55678         New file.
55679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
55680         multiarch isinff for PowerPC32.
55682         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
55683         alias when __isnan is defined.
55684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
55685         and isnanf multiarch implementations.
55686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
55687         file.
55688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
55689         file.
55690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
55691         file.
55692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
55693         file.
55694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
55695         multiarch isnan for PowerPC32.
55696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
55697         New file.
55698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
55699         New file.
55700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
55701         multiarch isnanf for PowerPC32.
55703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
55704         and sqrtf multiarch implementations.
55705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
55706         file.
55707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
55708         file.
55709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
55710         multiarch sqrt for PowerPC32.
55711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
55712         file.
55713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
55714         file.
55715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
55716         multiarch sqrtf for PowerPC32.
55718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
55719         and llroundf multiarch implementations.
55720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
55721         New file.
55722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
55723         New file.
55724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
55725         New file.
55726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
55727         file: multiarch llround for PowerPC32.
55728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
55729         file: multiarch llroundf for PowerPC32.
55731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
55732         multiarch PowerPC32 fpu implementations.
55733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
55734         New file.
55735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
55736         New file.
55737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
55738         multiarch llrint for PowerPC32.
55739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
55740         New file.
55741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
55742         New file.
55743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
55744         file.
55746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
55748         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
55749         file.
55750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
55751         file.
55752         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
55753         file.
55754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
55755         multiarch wordcopy for PPC32.
55756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55757         wordcopy objects.
55758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55759         (__libc_ifunc_impl_list): Likewise.
55760         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
55761         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
55762         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
55763         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
55764         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
55765         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
55767         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
55768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
55769         file.
55770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
55771         file.
55772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
55773         file.
55774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
55775         multiarch wcscpy for PPC32.
55776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
55777         multiarch objects.
55778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55779         (__libc_ifunc_impl_list): Likewise.
55780         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55781         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55782         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
55783         sysdeps/powerpc/power6/wcscpy.c.
55785         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
55786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
55787         file.
55788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
55789         file.
55790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
55791         file.
55792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
55793         multiarch wcsrchr for PPC32.
55794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55795         multiarch objects.
55796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55797         (__libc_ifunc_impl_list): Likewise.
55798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
55799         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
55800         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
55801         sysdeps/powerpc/power6/wcsrchr.c.
55803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
55804         file.
55805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
55806         file.
55807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
55808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
55809         multiarch wcschr for PPc32.
55810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
55811         multiarch objects.
55812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55813         (__libc_ifunc_impl_list): Likewise.
55814         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
55815         * sysdeps/powerpc/power6/wcschr.c: ... to here.
55816         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
55817         sysdeps/powerpc/power6/wcschr.c.
55819         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
55820         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
55821         file.
55822         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
55823         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
55824         file: multiarch strchr for PPC32.
55825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
55826         multiarch objects.
55827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55828         (__libc_ifunc_impl_list): Likewise.
55830         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
55831         name.
55832         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
55833         file.
55834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
55835         file.
55836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
55837         multiarch strchrnul for PPC32.
55838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
55839         multiarch objects.
55840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55841         (__libc_ifunc_impl_list): Likewise.
55843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
55844         file.
55845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
55846         multiarch strncasecmp for PPC32.
55847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
55848         file.
55849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
55850         multiarch strncasecmp_l for PPC32.
55851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
55852         strncasecmp multiarch objects.
55853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55854         (__libc_ifunc_impl_list): Likewise.
55856         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
55857         file.
55858         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
55859         multiarch strncasecmp for PPC32.
55860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
55861         New file.
55862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
55863         multiarch strcasecmp_l for PPC32.
55864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
55865         multiarch objects.
55866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55867         (__libc_ifunc_impl_list): Likewise.
55869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
55870         file.
55871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
55872         file.
55873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
55874         multiarch strncmp for PPC32.
55875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
55876         multiarch objects.
55877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55878         (__libc_ifunc_impl_list): Likewise.
55880         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
55881         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
55882         file.
55883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
55884         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
55885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
55886         multiarch objects.
55887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55888         (__libc_ifunc_impl_list): Likewise.
55890         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
55891         file.
55892         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
55893         file.
55894         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
55895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
55896         multiarch objects.
55897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55898         (__libc_ifunc_impl_list): Likewise.
55900         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
55901         file.
55902         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
55903         file.
55904         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
55905         multiarch rawmemchr for PPC32.
55906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
55907         multiarch objects.
55908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55909         (__libc_ifunc_impl_list): Likewise.
55911         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
55912         file.
55913         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
55914         file.
55915         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
55916         file: memrchr multiarch for PPC32.
55917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
55918         multiarch objects.
55919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
55920         (__libc_ifunc_impl_list): Likewise.
55922         * string/memchr.c (__memchr): Using macro to redefine symbol name.
55923         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
55924         file.
55925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
55926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
55927         multiarch memchr for PPC32.
55928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
55929         multiarch objects.
55930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55931         (__libc_ifunc_impl_list): Likewise.
55933         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
55934         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
55935         file.
55936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
55937         file.
55938         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
55939         file: multiarch mempcpy for PPC32.
55940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
55941         multiarch objects.
55942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55943         (__libc_ifunc_impl_list): Likewise.
55945         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
55946         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
55947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
55948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
55949         multiarch bzero for PPC32.
55950         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
55951         file.
55952         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
55953         file.
55954         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
55955         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
55956         file: multiarch memset for PPC32.
55957         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
55958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
55959         memset multiarch objects.
55960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55961         (__libc_ifunc_impl_list): Likewise.
55963         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
55964         file.
55965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
55966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
55967         memcmp for PPC32.
55968         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
55969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
55970         multiarch objects.
55971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55972         (__libc_ifunc_impl_list): Likewise.
55974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
55975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
55976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
55977         file.
55978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
55979         file.
55980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
55981         file.
55982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
55983         multiarch memcpy for PPC32.
55984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
55985         multiarch objects.
55986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
55987         (__libc_ifunc_impl_list): Likewise.
55989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
55990         support multiarch for POWER/PPC32.
55991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
55992         Likewise.
55993         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
55994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
55995         Implies file to make multiarch folder appers before the fpu and
55996         default folder for power4 configuration.
55998 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56000         * scripts/bench.pl: Append volatile keyword to type.
56002 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56004         * sysdeps/sh/sotruss-lib.c: New file.
56005         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56007 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56011 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56013         [BZ #6810]
56014         * math/w_tgamma.c: Include <errno.h>.
56015         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56016         * math/w_tgammaf.c: Include <errno.h>.
56017         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56018         * math/w_tgammal.c: Include <errno.h>.
56019         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56020         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56021         underflow.  Add more tgamma tests.
56022         * math/auto-libm-test-out: Regenerated.
56023         * sysdeps/i386/fpu/libm-test-ulps: Update.
56024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56026         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56027         sin, sinh, tan, tanh, tgamma, y0 and y1.
56028         * math/auto-libm-test-out: Regenerated.
56029         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56030         (TEST_COND_x86): Likewise.
56031         (M_E2l): Remove macro.
56032         (M_E3l): Likewise.
56033         (M_2_SQRT_PIl): Likewise.
56034         (M_SQRT_PIl): Likewise.
56035         (M_1_DIV_El): Likewise.
56036         (log_test_data): Use AUTO_TESTS_f_f.
56037         (log10_test_data): Likewise.
56038         (log1p_test_data): Likewise.
56039         (log2_test_data): Likewise.
56040         (sin_test_data): Likewise.
56041         (sin_tonearest_test_data): Likewise.
56042         (sin_towardzero_test_data): Likewise.
56043         (sin_downward_test_data): Likewise.
56044         (sin_upward_test_data): Likewise.
56045         (sinh_test_data): Likewise.
56046         (sinh_tonearest_test_data): Likewise.
56047         (sinh_towardzero_test_data): Likewise.
56048         (sinh_downward_test_data): Likewise.
56049         (sinh_upward_test_data): Likewise.
56050         (tan_test_data): Likewise.
56051         (tan_tonearest_test_data): Likewise.
56052         (tan_towardzero_test_data): Likewise.
56053         (tan_downward_test_data): Likewise.
56054         (tan_upward_test_data): Likewise.
56055         (tanh_test_data): Likewise.
56056         (tgamma_test_data): Likewise.
56057         (y0_test_data): Likewise.
56058         (y1_test_data): Likewise.
56059         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
56060         (special_real_inputs): Add pi/4.
56061         * sysdeps/i386/fpu/libm-test-ulps: Update.
56062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56064 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56066         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
56067         "longjmp_target" static probes.
56068         (__longjmp): Rename to __longjmp_symbol.
56069         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56070         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
56071         on which longjmp to generate.
56072         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56073         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
56074         probe.
56075         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56076         (__sigjmp_save): Rename to __sigjmp_save_symbol.
56077         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
56078         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
56079         and __sigjmp_save_symbol based on which sigsetjmp to generated.
56080         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
56082         __longjmp_symbol based on which __longjmp to generate.
56083         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
56084         probe.
56085         (setjmp): Rename to setjmp_symbol.
56086         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56087         (_setjmp): Rename to _setjmp_symbol.
56088         (__sigsetjmp): Rename to __sigsetjmp_symbol.
56089         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
56090         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
56091         which setjmp to generate.
56092         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
56093         "longjmp_target" static probes.
56095 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56097         * benchtests/README: Add note about output arguments.
56098         * benchtests/bench-sincos.c: Remove file.
56099         * benchtests/sincos-inputs: New file.
56100         * scripts/bench.pl: Identify output arguments and define
56101         static variables for them.
56103         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
56105         [BZ #15941]
56106         * Makefile (INSTALL): Add install-plain.texi as the primary
56107         dependency.
56108         * manual/install-plain.texi: New file.
56109         * manual/install.texi: Include node directive only for
56110         non-plaintext output.
56112 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
56114         * stdlib/longlong.h: Update from GCC.
56116         [BZ #6807]
56117         [BZ #15901]
56118         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
56119         * math/w_j0f.c (y0f): Likewise.
56120         * math/w_j0l.c (__y0l): Likewise.
56121         * math/w_j1.c (y1): Likewise.
56122         * math/w_j1f.c (y1f): Likewise.
56123         * math/w_j1l.c (__y1l): Likewise.
56124         * math/w_jn.c (yn): Likewise.
56125         * math/w_jnf.c (ynf): Likewise.
56126         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
56127         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
56128         value for Bessel function domain errors outside _SVID_ mode.
56129         Adjust sign of return value for yn (negative integer, 0).
56130         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
56131         by zero in return for negative x and set sign appropriately for
56132         negative n.
56133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
56134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56135         * math/libm-test.inc (y0_test_data): Add more tests and adjust
56136         expectations in error cases.
56137         (y1_test_data): Likewise.
56138         (yn_test_data): Likewise.
56139         * sysdeps/i386/fpu/libm-test-ulps: Update.
56140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56142 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56144         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
56145         "64" to "64-v1".  Add "64-v2".
56146         (abi-64-options): Rename to ...
56147         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
56148         (abi-64-condition): Rename to ...
56149         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
56150         (abi-64-ld-soname): Rename to ...
56151         (abi-64-v1-ld-soname): ... this.
56152         (abi-64-v2-options): Define.
56153         (abi-64-v2-condition): Likewise.
56154         (abi-64-v2-ld-soname): Likewise.
56155         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
56156         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
56157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
56158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
56159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
56161 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56162             Alan Modra  <amodra@gmail.com>
56164         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
56165         New versions for use with the ELFv2 ABI.
56166         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
56167         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
56168         declaration.
56169         (struct La_ppc64v2_retval): Likewise.
56170         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
56171         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
56172         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
56173         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
56174         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
56175         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56176         Do not save or restore CR.
56177         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
56178         (_dl_profile_resolve): Do no save or restore CR.  Support extended
56179         return values for ELFv2 ABI.  Fix location of FPR return registers.
56180         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
56181         updated values for _CALL_ELF == 2.
56182         (La_regs, La_retval, int_retval): Likewise.
56184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56186         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
56187         (FRAME_MIN_SIZE_PARM): Likewise.
56188         (FRAME_BACKCHAIN): Likewise.
56189         (FRAME_CR_SAVE): Likewise.
56190         (FRAME_LR_SAVE): Likewise.
56191         (FRAME_TOC_SAVE): Likewise.
56192         (FRAME_PARM_SAVE): Likewise.
56193         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
56194         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
56195         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56196         (call_mcount_parm_offset): New macro.
56197         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
56198         (PROF): Use symbolic stack frame offsets.
56199         (TAIL_CALL_SYSCALL_ERROR): Likewise.
56200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
56201         Redefine in terms of FRAME_MIN_SIZE.
56202         (_dl_runtime_resolve): Use symbolic stack frame offsets.
56203         (_dl_profile_resolve): Likewise.  Update comment.
56204         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
56205         symbols stack frame offsets.
56206         (__sigsetjmp): Likewise.
56207         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
56208         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
56209         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
56210         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
56212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
56213         (FRAME_BACKCHAIN): Remove.
56214         (FRAME_CR_SAVE): Likewise.
56215         (FRAME_LR_SAVE): Likewise.
56216         (FRAME_COMPILER_DW): Likewise.
56217         (FRAME_LINKER_DW): Likewise.
56218         (FRAME_TOC_SAVE): Likewise.
56219         (FRAME_PARM_SAVE): Likewise.
56220         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
56221         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
56222         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
56223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
56224         (CHECK_SP): Use symbolic stack frame offsets.
56225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
56226         zone" instead of caller's parameter save area for temp storage.
56227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56228         Likewise.  Also, use symbolic stack frame offsets.
56229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
56230         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
56231         our own stack frame instead of the caller's.
56232         (__socket): Use symbolic stack frame offsets.
56234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56235             Alan Modra  <amodra@gmail.com>
56237         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
56238         Define.
56239         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
56240         (PPC64_LOCAL_ENTRY_OFFSET): Define.
56241         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
56242         New function.
56243         (elf_machine_fixup_plt): Call it.
56244         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
56245         reloc arguments.
56246         (elf_machine_rela): Update call to elf_machine_plt_conflict.
56247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56248         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
56249         r2 before calling target.
56251 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56252             Alan Modra  <amodra@gmail.com>
56254         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
56255         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
56256         versions of macros to support ELFv2 ABI.
56257         (LOCALENTRY): New macro.
56258         (ENTRY, EALIGN): Use it.
56259         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
56260         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
56261         fall through into ENTRY entry point.
56262         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
56263         Only define if _CALL_ELF != 2.
56265         (elf_machine_matches_host): Verify ABI version matches.
56266         (RTLD_START): Use LOCALENTRY.
56267         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
56268         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
56269         (PLT_ENTRY_WORDS): New macro.
56270         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
56271         (elf_machine_runtime_setup): Support ELFv2 ABI.
56272         (elf_machine_fixup_plt): Likewise.
56273         (elf_machine_plt_conflict): Likewise.
56274         (resolve_ifunc): Likewise.
56275         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56276         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56277         Likewise.
56278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
56279         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
56280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56281         (makecontext): Support ELFv2 ABI.
56282         * elf/elf.h (EF_PPC64_ABI): Define.
56284 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56286         * sysdeps/powerpc/powerpc64/sysdep.h
56287         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
56288         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
56289         (ENTRY) [ASSEMBLER]: ... but instead here ...
56290         (EALIGN) [ASSEMBLER]: ... and here.
56291         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
56292         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
56293         (ENTRY_2) [!ASSEMBLER]: Use it.
56294         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
56295         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
56296         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
56297         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
56298         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
56299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
56300         Use PPC64_LOAD_FUNCPTR.
56302         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
56304 2013-12-04  Alan Modra  <amodra@gmail.com>
56306         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
56307         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
56308         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
56309         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
56311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
56312         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
56313         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
56314         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
56315         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
56316         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
56318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
56320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56321         (__makecontext): Fix incorrect CFI when backtracing out of
56322         context created via makecontext.
56323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
56324         (__setcontext): Fix incorrect CFI during switch to new context.
56325         (__novec_setcontext): Likewise.
56327 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56329         [BZ #4772]
56330         * time/strptime_l.c (__strptime_internal): Allow modifiers
56331         in strptime.
56332         * time/tst-strptime.c (day_tests): Add testcase.
56334 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56336         * scripts/bench.pl: Skip over blank lines.
56338 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
56340         [BZ #926]
56341         * manual/time.texi (Calendar Time): Clarify what timezone functions
56342         use.
56344 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56348 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
56350         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
56351         implementation.
56352         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
56353         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
56354         * debug/memset_chk.c (__memset_chk): Likewise.
56355         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
56356         * debug/strncpy_chk.c: Likewise.
56358 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56360         [BZ #15268]
56361         [BZ #15425]
56362         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
56363         (__ieee754_exp): For possibly underflowing results, check size of
56364         result and force underflow exception if required.
56365         * math/auto-libm-test-in: Add more tests of exp.
56366         * math/auto-libm-test-out: Regenerated.
56367         * sysdeps/i386/fpu/libm-test-ulps: Update.
56368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56370         [BZ #16283]
56371         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
56372         * math/w_exp2f.c (__exp2f): Likewise.
56373         * math/w_exp2l.c (__exp2l): Likewise.
56374         * math/auto-libm-test-in: Do not allow missing errno on exp2
56375         underflow.
56376         * math/auto-libm-test-out: Regenerated.
56378 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
56380         [BZ #16274]
56381         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
56382         handle filename validation.
56383         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
56384         (do_open): Delete.
56386 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
56388         [BZ #6786]
56389         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
56390         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
56391         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
56392         <float.h>.
56393         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
56394         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
56395         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
56397         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56398         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
56399         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
56400         * math/auto-libm-test-in: Don't allow missing errno from erfc.
56401         Add more erfc tests.
56402         * math/auto-libm-test-out: Regenerated.
56403         * sysdeps/i386/fpu/libm-test-ulps: Update.
56404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56406         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
56407         exp2, expm1, j0 and j1.
56408         * math/auto-libm-test-out: Regenerated.
56409         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
56410         (erfc_test_data): Likewise.
56411         (exp_test_data): Likewise.
56412         (exp_tonearest_test_data): Likewise.
56413         (exp_towardzero_test_data): Likewise.
56414         (exp_downward_test_data): Likewise.
56415         (exp_upward_test_data): Likewise.
56416         (exp10_test_data): Likewise.
56417         (exp2_test_data): Likewise.
56418         (expm1_test_data): Likewise.
56419         (j0_test_data): Likewise.
56420         (j1_test_data): Likewise.
56421         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
56422         (input_flag_type): Add flag_xfail_rounding.
56423         (input_flags): Add xfail-rounding.
56424         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
56425         (output_for_one_input_case): Handle flag_xfail_rounding.
56426         * sysdeps/i386/fpu/libm-test-ulps: Update.
56427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56429 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
56431         [BZ #16289]
56432         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
56433         division by 0.
56435 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56437         [BZ #16195]
56438         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
56439         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
56440         (STAP_PROBE0): New macro.
56441         (STAP_PROBE1): Likewise.
56442         (STAP_PROBE2): Likewise.
56443         (STAP_PROBE3): Likewise.
56444         (STAP_PROBE4): Likewise.
56446 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
56448         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
56450 2013-12-02  Steve Ellcey  <sellcey@mips.com>
56452         * benchtests/Makefile (bench): Add sqrt.
56453         (LDLIBS-bench-sqrt): New.
56454         * benchtests/sqrt-input: New.
56456 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
56458         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
56459         (GAIH_EAI): Likewise.
56460         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
56461         (gaih_inet): Likewise.
56462         (getaddrinfo): Don't use GAIH_EAI.
56464         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
56465         (struct gaih): Remove definition.
56467 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56469         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
56470         Use HERRNOP directly.
56472 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56476 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
56478         * math/gen-auto-libm-tests.c (test_functions): Add more
56479         single-argument functions.
56480         (special_fill_pi_2): New function.
56481         (special_fill_minus_pi_2): Likewise.
56482         (special_fill_pi_6): Likewise.
56483         (special_fill_minus_pi_6): Likewise.
56484         (special_fill_pi_3): Likewise.
56485         (special_fill_2pi_3): Likewise.
56486         (special_fill_e): Likewise.
56487         (special_fill_1_e): Likewise.
56488         (special_fill_e_minus_1): Likewise.
56489         (special_real_inputs): Add more special inputs.
56490         (output_for_one_input_case): Do not require ERANGE on underflow to
56491         zero if round-to-nearest result does not underflow to zero, unless
56492         exact results required.
56493         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
56494         atan, atanh, cbrt, cos and cosh.
56495         * math/auto-libm-test-out: Regenerated.
56496         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
56497         (acos_tonearest_test_data): Likewise.
56498         (acos_towardzero_test_data): Likewise.
56499         (acos_downward_test_data): Likewise.
56500         (acos_upward_test_data): Likewise.
56501         (acosh_test_data): Likewise.
56502         (asin_test_data): Likewise.
56503         (asin_tonearest_test_data): Likewise.
56504         (asin_towardzero_test_data): Likewise.
56505         (asin_upward_test_data): Likewise.
56506         (asinh_test_data): Likewise.
56507         (atan_test_data): Likewise.
56508         (atanh_test_data): Likewise.
56509         (cbrt_test_data): Likewise.
56510         (cos_test_data): Likewise.
56511         (cos_tonearest_test_data): Likewise.
56512         (cos_towardzero_test_data): Likewise.
56513         (cos_downward_test_data): Likewise.
56514         (cos_upward_test_data): Likewise.
56515         (cosh_test_data): Likewise.
56516         (cosh_tonearest_test_data): Likewise.
56517         (cosh_towardzero_test_data): Likewise.
56518         (cosh_downward_test_data): Likewise.
56519         (cosh_upward_test_data): Likewise.
56520         * sysdeps/i386/fpu/libm-test-ulps: Update.
56521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56523 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
56525         [BZ #6787]
56526         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
56527         * math/w_exp10f.c (__exp10f): Likewise.
56528         * math/w_exp10l.c (__exp10l): Likewise.
56529         * math/libm-test.inc (exp10_test_data): Add more tests and expect
56530         errno settings in existing tests.
56532         [BZ #14032]
56533         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
56534         precision control set to double precision.
56535         * sysdeps/i386/fpu/w_sqrt.c: New file.
56536         * math/auto-libm-test-in: Add more tests.
56537         * math/auto-libm-test-out: Update.
56539         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
56540         (sqrt_test_tonearest): New function.
56541         (sqrt_towardzero_test_data): New variable.
56542         (sqrt_test_towardzero): New function.
56543         (sqrt_downward_test_data): New variable.
56544         (sqrt_test_downward): New function.
56545         (sqrt_upward_test_data): New variable.
56546         (sqrt_test_upward): New function.
56547         (main): Call the new functions.
56549         * math/gen-auto-libm-tests.c: New file.
56550         * math/auto-libm-test-in: Likewise.
56551         * math/auto-libm-test-out: New generated file.
56552         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
56553         variables.
56554         (%beautify): Add generated representations of zero.
56555         (top level): Set $auto_input and call parse_auto_input.
56556         (beautify): Remove trailing "f" from hex float constants.
56557         (parse_args): Handle XFAIL_TEST.
56558         (convert_condition): New function.
56559         (or_value): Likewise.
56560         (or_cond_value): Likewise.
56561         (generate_testfile): Handle AUTO_TESTS_* lines.
56562         (parse_auto_input): New function.
56563         * math/libm-test.inc (XFAIL_TEST): New macro.
56564         (ERRNO_UNCHANGED): Update value.
56565         (ERRNO_EDOM): Likewise.
56566         (ERRNO_ERANGE): Likewise.
56567         (IGNORE_RESULT): Likewise.
56568         (TEST_COND_flt_32): New macro.
56569         (TEST_COND_dbl_64): Likewise.
56570         (TEST_COND_ldbl_96_intel): Likewise.
56571         (TEST_COND_ldbl_96_m68k): Likewise.
56572         (TEST_COND_ldbl_128): Likewise.
56573         (TEST_COND_ldbl_128ibm): Likewise.
56574         (TEST_COND_long32): Likewise.
56575         (TEST_COND_long64): Likewise.
56576         (TEST_COND_before_rounding): Likewise.
56577         (TEST_COND_after_rounding): Likewise.
56578         (enable_test): Handle XFAIL_TEST flag.
56579         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
56580         with finite results.
56581         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
56582         auto-libm-test-out.
56584 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56585             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56587         [BZ #16214]
56588         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
56589         __tls_get_addr_internal instead of __tls_get_offset in order to
56590         avoid GOT pointer dependency.  Make rtld export
56591         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
56592         __tls_get_addr since we are a __tls_get_offset platform.
56593         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
56594         GOT pointer being set up before.
56595         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
56597 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
56599         * manual/math.texi (Errors in Math Functions): Document accuracy
56600         goals.
56602         [BZ #15004]
56603         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
56604         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
56605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56606         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56607         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56608         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56609         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56610         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56611         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56612         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56613         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56614         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56615         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56616         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56618         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56620         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
56621         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
56622         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
56623         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
56624         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
56625         Likewise.
56626         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
56627         Likewise.
56628         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
56629         Likewise.
56630         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
56631         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
56632         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
56633         atomic-feupdateenv and flt-rounds.
56634         * sysdeps/powerpc/nofpu/Versions (libc): Add
56635         __atomic_feholdexcept, __atomic_feclearexcept,
56636         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
56637         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
56638         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56639         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
56640         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
56641         here.
56642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
56643         Update.
56645         * manual/arith.texi (FP Exceptions): Document that exceptions may
56646         not be raised when matherr is used.
56647         (Math Error Reporting): Document overflow in directed rounding
56648         modes.  Document that errno may not be set when finite values are
56649         returned on overflow.  Document intent to set errno on underflow
56650         only for underflow to zero.
56652         [BZ #16271]
56653         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
56654         round-to-nearest then adjust result for other rounding modes.
56655         * include/fenv.h (fegetround): Use libm_hidden_proto.
56656         * math/fegetround.c (fegetround): Use libm_hidden_def.
56657         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
56658         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
56659         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
56661         Likewise.
56662         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
56663         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56664         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
56665         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
56667 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56669         [BZ #16077]
56670         * nss/Versions (libnss_files): Add
56671         _nss_files_gethostbyname3_r.
56672         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
56673         New function.
56674         (HOST_DB_LOOKUP): Remove macro.
56675         (_nss_files_gethostbyname_r): Implement function without the
56676         HOST_DB_LOOKUP macro.
56677         (_nss_files_gethostbyname2_r): Likewise.
56679 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
56681         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
56683 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
56685         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
56686         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
56687         warning.
56689 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56691         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
56692         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
56693         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
56694         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
56695         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
56696         __fe_nomask_env_priv and attribute_hidden.
56697         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
56698         (libc_feupdateenv_test_ppc): Likewise.
56699         (libc_feresetround_ppc): Likewise.
56700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56701         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
56702         compat_symbol macro.
56703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56704         (__fe_nomask_env): Likewise.
56705         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
56707 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56709         * string/Makefile: Remove ifunc tests.
56710         * string/test-string.h: Define TEST_IFUNC.
56711         * string/test-bcopy-ifunc.c: Remove.
56712         * string/test-bzero-ifunc.c: Likewise.
56713         * string/test-memccpy-ifunc.c: Likewise.
56714         * string/test-memchr-ifunc.c: Likewise.
56715         * string/test-memcmp-ifunc.c: Likewise.
56716         * string/test-memcpy-ifunc.c: Likewise.
56717         * string/test-memmem-ifunc.c: Likewise.
56718         * string/test-memmove-ifunc.c: Likewise.
56719         * string/test-mempcpy-ifunc.c: Likewise.
56720         * string/test-memrchr-ifunc.c: Likewise.
56721         * string/test-memset-ifunc.c: Likewise.
56722         * string/test-rawmemchr-ifunc.c: Likewise.
56723         * string/test-stpcpy-ifunc.c: Likewise.
56724         * string/test-stpncpy-ifunc.c: Likewise.
56725         * string/test-strcasecmp-ifunc.c: Likewise.
56726         * string/test-strcasestr-ifunc.c: Likewise.
56727         * string/test-strcat-ifunc.c: Likewise.
56728         * string/test-strchr-ifunc.c: Likewise.
56729         * string/test-strchrnul-ifunc.c: Likewise.
56730         * string/test-strcmp-ifunc.c: Likewise.
56731         * string/test-strcpy-ifunc.c: Likewise.
56732         * string/test-strcspn-ifunc.c: Likewise.
56733         * string/test-strlen-ifunc.c: Likewise.
56734         * string/test-strncasecmp-ifunc.c: Likewise.
56735         * string/test-strncat-ifunc.c: Likewise.
56736         * string/test-strncmp-ifunc.c: Likewise.
56737         * string/test-strncpy-ifunc.c: Likewise.
56738         * string/test-strnlen-ifunc.c: Likewise.
56739         * string/test-strpbrk-ifunc.c: Likewise.
56740         * string/test-strrchr-ifunc.c: Likewise.
56741         * string/test-strspn-ifunc.c: Likewise.
56742         * string/test-strstr-ifunc.c: Likewise.
56744 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56746         * benchtests/Makefile: Remove ifunc tests.
56747         * benchtests/bench-string.h: Define TEST_IFUNC.
56748         * benchtests/bench-bcopy-ifunc.c: Remove.
56749         * benchtests/bench-bzero-ifunc.c: Likewise.
56750         * benchtests/bench-memccpy-ifunc.c: Likewise.
56751         * benchtests/bench-memchr-ifunc.c: Likewise.
56752         * benchtests/bench-memcmp-ifunc.c: Likewise.
56753         * benchtests/bench-memcpy-ifunc.c: Likewise.
56754         * benchtests/bench-memmem-ifunc.c: Likewise.
56755         * benchtests/bench-memmove-ifunc.c: Likewise.
56756         * benchtests/bench-mempcpy-ifunc.c: Likewise.
56757         * benchtests/bench-memrchr-ifunc.c: Likewise.
56758         * benchtests/bench-memset-ifunc.c: Likewise.
56759         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
56760         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
56761         * benchtests/bench-stpcpy-ifunc.c: Likewise.
56762         * benchtests/bench-stpncpy-ifunc.c: Likewise.
56763         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
56764         * benchtests/bench-strcasestr-ifunc.c: Likewise.
56765         * benchtests/bench-strcat-ifunc.c: Likewise.
56766         * benchtests/bench-strchr-ifunc.c: Likewise.
56767         * benchtests/bench-strchrnul-ifunc.c: Likewise.
56768         * benchtests/bench-strcmp-ifunc.c: Likewise.
56769         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
56770         * benchtests/bench-strcpy-ifunc.c: Likewise.
56771         * benchtests/bench-strcspn-ifunc.c: Likewise.
56772         * benchtests/bench-strlen-ifunc.c: Likewise.
56773         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
56774         * benchtests/bench-strncat-ifunc.c: Likewise.
56775         * benchtests/bench-strncmp-ifunc.c: Likewise.
56776         * benchtests/bench-strncpy-ifunc.c: Likewise.
56777         * benchtests/bench-strnlen-ifunc.c: Likewise.
56778         * benchtests/bench-strpbrk-ifunc.c: Likewise.
56779         * benchtests/bench-strrchr-ifunc.c: Likewise.
56780         * benchtests/bench-strsep-ifunc.c: Likewise.
56781         * benchtests/bench-strspn-ifunc.c: Likewise.
56782         * benchtests/bench-strstr-ifunc.c: Likewise.
56784 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56786         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
56788 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
56790         * resolv/netdb.h: Use __glibc_reserved instead __unused.
56791         * rt/aio.h: Likewise.
56792         * sysdeps/gnu/bits/utmp.h: Likewise.
56793         * sysdeps/gnu/bits/utmpx.h: Likewise.
56794         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56795         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
56796         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
56797         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
56798         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
56799         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
56800         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
56801         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
56802         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
56803         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
56804         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
56805         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
56806         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
56807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
56808         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56809         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
56810         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
56811         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
56812         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
56813         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
56814         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
56815         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
56816         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
56817         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56818         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
56819         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56820         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
56821         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
56822         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
56823         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
56824         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
56825         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
56826         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
56827         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
56828         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
56829         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
56830         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
56831         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
56832         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
56833         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
56834         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
56835         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56837 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
56839         [BZ #16245]
56840         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56841         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
56843 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
56845         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
56846         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
56847         Likewise.
56849 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
56852         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
56853         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
56854         (__fesetround): Remove define.
56855         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
56856         rounding and exceptions handling.
56857         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
56858         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
56859         (__fe_nomask_env): Likewise.
56860         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
56861         __fegetround instead of fegetround.
56862         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56863         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
56865 2013-11-21  Roland McGrath  <roland@hack.frob.com>
56867         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
56868         it's there.
56870         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
56872 2013-11-21  Meador Inge  <meadori@codesourcery.com>
56874         [BZ #11157]
56875         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
56876         (encrypt_r): Likewise.
56877         * malloc/obstack.h (obstack_free): Likewise.
56878         * posix/unistd.h (encrypt): Likewise.
56880 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
56882         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
56883         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
56884         DL_CALL_DT_FINI() that call the functions directly.
56885         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
56886         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
56887         * elf/dl-fini.c: Likewise.
56889 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
56891         * malloc/hooks.c (memalign_check): Add alignment rounding.
56892         * malloc/malloc.c (_mid_memalign): New function.
56893         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
56894         Implement by calling _mid_memalign.
56895         * manual/probes.texi (Memory Allocation Probes): Remove
56896         memory_valloc_retry and memory_pvalloc_retry.
56898 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56900         * locale/programs/locarchive.c (open_archive): Add const
56901         qualifier to ARCHIVEFNAME and copy default fname to
56902         DEFAULT_FNAME.
56904         [BZ #15601]
56905         * libio/tst-widetext.input: Rename Oriya to Odia.
56906         * locale/iso-639.def: Likewise.
56908         * manual/probes.texi (Mathematical Function Probes): Add
56909         documentation for sin, cos, asin and acos probes.
56910         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
56911         (__sin32): Add slowasin probe.
56912         (__cos32): Add slowacos probe.
56913         (__mpsin): Add slowsin probe.
56914         (__mpcos): Add slowcos probe.
56916 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
56918         [BZ #15483]
56919         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56920         thread-local __sim_exceptions_thread and global
56921         __sim_exceptions_global.
56922         (__sim_disabled_exceptions): Change to thread-local
56923         __sim_disabled_exceptions_thread and global
56924         __sim_disabled_exceptions_global.
56925         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56926         and global __sim_round_mode_global.
56927         (__simulate_exceptions): Use thread-local floating-point state and
56928         set global state from it as needed.
56929         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
56930         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
56931         __sim_round_mode_thread.
56932         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
56933         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
56934         and global __sim_exceptions_global.
56935         (__sim_disabled_exceptions): Change to thread-local
56936         __sim_disabled_exceptions_thread and global
56937         __sim_disabled_exceptions_global.
56938         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
56939         and global __sim_round_mode_global.
56940         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
56941         (SIM_SET_GLOBAL): Likewise.
56942         * sysdeps/powerpc/soft-fp/sfp-machine.h
56943         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
56944         __sim_round_mode_thread.
56945         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
56946         __sim_disabled_exceptions_thread.
56947         (__sim_exceptions): Change to __sim_exceptions_thread.
56948         (__sim_disabled_exceptions): Change to
56949         __sim_disabled_exceptions_thread.
56950         (__sim_round_mode): Change to __sim_round_mode_thread.
56951         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
56952         thread-local floating-point state and set global state from it as
56953         needed.
56954         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
56955         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
56956         (__sim_disabled_exceptions): Remove extern declaration.
56957         (feenableexcept): Use thread-local floating-point state and set
56958         global state from it as needed.
56959         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
56960         extern declaration.
56961         (__sim_disabled_exceptions): Likewise.
56962         (__sim_round_mode): Likewise.
56963         (__fegetenv): Use thread-local floating-point state.
56964         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
56965         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
56966         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
56967         floating-point state and set global state from it as needed.
56968         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
56969         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
56970         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
56971         Likewise.
56972         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
56973         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
56974         Likewise.
56975         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
56976         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
56977         Use __sim_round_mode_thread.
56978         * math/test-fenv-tls.c: New file.
56979         * math/Makefile (tests): Add test-fenv-tls.
56980         ($(objpfx)test-fenv-tls): Depend on
56981         $(common-objpfx)nptl/libpthread.so.
56983 2013-11-19  Andreas Schwab  <schwab@suse.de>
56985         * locale/programs/locale.c (show_info): Decode wordarray elements.
56986         * locale/categories.def (LC_MONETARY): Add element for
56987         _NL_MONETARY_CRNCYSTR.
56988         * locale/C-monetary.c (conversion_rate): New variable.
56989         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
56990         element.
56992 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
56994         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
56995         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
56997 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56999         * elf/Makefile (tst-auxv): New test.
57000         * elf/tst-auxv.c: New
57001         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57003 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57005         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57006         (hidden_proto): Caller changed.
57007         (hidden_tls_proto): New macro.
57008         (libc_hidden_tls_proto): Likewise.
57009         (rtld_hidden_tls_proto): Likewise.
57010         (libm_hidden_tls_proto): Likewise.
57011         (libresolv_hidden_tls_proto): Likewise.
57012         (librt_hidden_tls_proto): Likewise.
57013         (libdl_hidden_tls_proto): Likewise.
57014         (libnss_files_hidden_tls_proto): Likewise.
57015         (libnsl_hidden_tls_proto): Likewise.
57016         (libnss_nisplus_hidden_tls_proto): Likewise.
57017         (libutil_hidden_tls_proto): Likewise.
57019 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57021         [BZ #10253]
57022         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57023         (decompose_rpath): Defer expansion to fillin_rpath.
57024         (_dl_init_paths): Pass linkmap to fillin_rpath.
57026 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57028         * benchtests/Makefile: Add strsep.
57029         * benchtests/bench-strsep.c: New file: strsep benchtest.
57030         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57032 2013-11-18  Andreas Schwab  <schwab@suse.de>
57034         * locale/programs/locale.c (show_info) [case byte]: Check for
57035         '\377' instead of '\177'.
57036         * locale/C-monetary.c (not_available): Always use "\377".
57037         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57038         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57039         detect unavailable sign_posn locale elements.
57040         * locale/localeconv.c (__localeconv): For grouping and
57041         mon_grouping handle "\177" and "\377" like no grouping.
57042         (INT_ELEM): New macro.  Use it to set all numeric members.
57043         * locale/programs/ld-monetary.c (monetary_read)
57044         <tok_mon_grouping>: Normalize single -1 to the empty string.
57045         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57046         Likewise.
57048 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57050         [BZ #16055]
57051         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
57052         when we match (nil).
57053         * stdio-common/tst-sscanf.c (struct test): Add testcase.
57055 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
57057         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
57058         (NO_TEST_INLINE): Update value.
57059         (ERRNO_UNCHANGED): Likewise.
57060         (ERRNO_EDOM): Likewise.
57061         (ERRNO_ERANGE): Likewise.
57062         (IGNORE_RESULT): Likewise.
57063         (check_float_internal): Check signs of NaN results if
57064         TEST_NAN_SIGN used.
57065         (check_complex): Pass TEST_NAN_SIGN flag through to second
57066         check_float_internal call.
57067         (copysign_test_data): Add tests with quiet NaNs as second
57068         argument.  Use TEST_NAN_SIGN.
57069         (fabs_test_data): Add test of negative quiet NaN argument.  Use
57070         TEST_NAN_SIGN.
57071         (signbit_test_data): Add tests of quiet NaN argument.
57072         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
57074         * math/gen-libm-test.pl (show_exceptions): Take extra argument
57075         $ignore_result.
57076         (parse_args): Handle function results specified as IGNORE.
57077         * math/libm-test.inc (IGNORE_RESULT): New macro.
57078         (check_float_internal): Do not check numerical result if flag
57079         IGNORE_RESULT set.
57080         (check_complex): Pass through IGNORE_RESULT to second
57081         check_float_internal call.
57082         (check_int): Do not check numerical result if flag IGNORE_RESULT
57083         set.
57084         (check_long): Likewise.
57085         (check_bool): Likewise.
57086         (check_longlong): Likewise.
57087         (lrint_test_data): Add tests of infinite and NaN arguments.
57088         (lrint_tonearest_test_data): Likewise.
57089         (lrint_towardzero_test_data): Likewise.
57090         (lrint_downward_test_data): Likewise.
57091         (lrint_upward_test_data): Likewise.
57092         (llrint_test_data): Likewise.
57093         (llrint_tonearest_test_data): Likewise.
57094         (llrint_towardzero_test_data): Likewise.
57095         (llrint_downward_test_data): Likewise.
57096         (llrint_upward_test_data): Likewise.
57097         (lround_test_data): Likewise.
57098         (llround_test_data): Likewise.
57100         * math/libm-test.inc (NO_TEST_INLINE): New macro.
57101         (ERRNO_UNCHANGED): Update value.
57102         (ERRNO_EDOM): Likewise.
57103         (ERRNO_ERANGE): Likewise.
57104         (NO_TEST_INLINE_FLOAT): New macro.
57105         (NO_TEST_INLINE_DOUBLE): Likewise.
57106         (enable_test): New function.
57107         (RUN_TEST_f_f): Check enable_test before running test.
57108         (RUN_TEST_2_f): Likewise.
57109         (RUN_TEST_fff_f): Likewise.
57110         (RUN_TEST_c_f): Likewise.
57111         (RUN_TEST_f_f1): Likewise.
57112         (RUN_TEST_fF_f1): Likewise.
57113         (RUN_TEST_fI_f1): Likewise.
57114         (RUN_TEST_ffI_f1): Likewise.
57115         (RUN_TEST_c_c): Likewise.
57116         (RUN_TEST_cc_c): Likewise.
57117         (RUN_TEST_f_i): Likewise.
57118         (RUN_TEST_f_i_tg): Likewise.
57119         (RUN_TEST_ff_i_tg): Likewise.
57120         (RUN_TEST_f_b): Likewise.
57121         (RUN_TEST_f_b_tg): Likewise.
57122         (RUN_TEST_f_l): Likewise.
57123         (RUN_TEST_f_L): Likewise.
57124         (RUN_TEST_fFF_11): Likewise.
57125         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
57126         conditionals.
57127         (cosh_test_data): Likewise.
57128         (exp_test_data): Likewise.
57129         (expm1_test_data): Likewise.
57130         (hypot_test_data): Likewise.
57131         (pow_test_data): Likewise.
57132         (sinh_test_data): Likewise.
57133         (tanh_test_data): Likewise.
57134         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
57135         flags argument.
57137         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
57138         tests with quiet NaN input and output.
57139         (acosh_test_data): Likewise.
57140         (asin_test_data): Likewise.
57141         (asinh_test_data): Likewise.
57142         (atan_test_data): Likewise.
57143         (atanh_test_data): Likewise.
57144         (atan2_test_data): Likewise.
57145         (cbrt_test_data): Likewise.
57146         (cos_test_data): Likewise.
57147         (cosh_test_data): Likewise.
57148         (erf_test_data): Likewise.
57149         (erfc_test_data): Likewise.
57150         (exp_test_data): Likewise.
57151         (exp10_test_data): Likewise.
57152         (exp2_test_data): Likewise.
57153         (expm1_test_data): Likewise.
57154         (hypot_test_data): Likewise.
57155         (j0_test_data): Likewise.
57156         (j1_test_data): Likewise.
57157         (jn_test_data): Likewise.
57158         (lgamma_test_data): Likewise.
57159         (log_test_data): Likewise.
57160         (log10_test_data): Likewise.
57161         (log1p_test_data): Likewise.
57162         (log2_test_data): Likewise.
57163         (pow_test_data): Likewise.
57164         (scalb_test_data): Likewise.
57165         (sin_test_data): Likewise.
57166         (sincos_test_data): Likewise.
57167         (sinh_test_data): Likewise.
57168         (tan_test_data): Likewise.
57169         (tanh_test_data): Likewise.
57170         (tgamma_test_data): Likewise.
57171         (y0_test_data): Likewise.
57172         (y1_test_data): Likewise.
57173         (yn_test_data): Likewise.
57175         [BZ #16167]
57176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
57177         argument being NaN and avoid computations with second argument in
57178         that case.
57179         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57180         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
57181         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57183 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
57185         * locale/iso-639.def: Add Chitwani Tharu (the).
57187 2013-11-14  Andreas Schwab  <schwab@suse.de>
57189         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
57190         word instead of empty string.
57192 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57195         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
57196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57197         (__fe_nomask_env): Likewise.
57199 2013-11-13  Steve Ellcey  <sellcey@mips.com>
57201         * benchtests/bench-timing.h: Include time.h.
57203 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
57205         [BZ #15997]
57206         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
57207         to 3.4.0 for x32.
57208         * sysdeps/unix/sysv/linux/configure: Regenerated.
57210 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
57212         [BZ #16151]
57213         * stdlib/strtod_l.c (round_and_return): Do not consider
57214         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
57215         exponent one less than half the least subnormal exponent.
57216         * stdlib/test-strtod-round-data: Add more tests.
57217         * stdlib/tst-strtod-round.c (tests): Regenerated.
57219 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57221         [BZ #14143]
57222         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
57223         (__fe_mask_env): Likewise.
57224         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
57225         libm_hidden_proto and add function prototype.
57226         (__fe_mask_env): Add function prototype.
57227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57228         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57230         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
57231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57232         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
57234 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57236         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
57237         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
57239 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57241         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
57242         of htab_find_slot().
57244 2013-11-11  David S. Miller  <davem@davemloft.net>
57246         [BZ #16150]
57247         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57248         symbol in the non-vis3 case in static builds.
57249         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
57250         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
57251         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
57252         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
57254 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
57256         [BZ #387]
57257         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
57258         it is empty.
57260 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57262         * benchtests/Makefile: Add bench-strtod.
57263         * benchtests/bench-strtod.c: New file: strtod benchtest
57265 2013-11-11  Andreas Schwab  <schwab@suse.de>
57267         [BZ #16153]
57268         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
57269         terminating NUL in key length.
57271 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57273         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57274         Add artificial ODP entry for vDSO symbol for PPC64.
57275         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
57276         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
57278 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
57280         [BZ #15374]
57281         * nss/getent.c (services_keys): Recognize services starting with digit.
57283 2013-11-06  David S. Miller  <davem@davemloft.net>
57285         [BZ #15985]
57286         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
57287         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
57289 2013-11-06  Will Newton  <will.newton@linaro.org>
57291         * manual/memory.texi (Malloc Examples): Remove register
57292         keyword from examples.
57294 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
57296         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
57298 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
57300         [BZ #6981]
57301         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
57302         depending on [__GCC_IEC_559 > 0].
57303         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
57304         depending on [__GCC_IEC_559_COMPLEX > 0].
57306 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
57308         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
57309         to iso-639.def.
57311 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
57313         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
57315 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
57317         [BZ #16112]
57318         * malloc/malloc (malloc_info): Do not handle first bin as
57319         special case.
57321 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
57323         * locale/iso-639.def: Add Central Nahuatl (nhn).
57325 2013-11-01  Bruno Haible  <bruno@clisp.org>
57327         [BZ #7003]
57328         * manual/math.texi (BSD Random): Specify range upper bound as
57329         in POSIX.
57331 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
57333         * locale/iso-639.def: Add Meadow Mari (mhr).
57335 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
57337         [BZ #14752], [BZ #15763]
57338         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
57339         Validate name.
57340         * rt/tst_shm.c: Add test for escaping directory.
57342 2013-10-31  Andreas Schwab  <schwab@suse.de>
57344         [BZ #15917]
57345         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
57346         followed by 'x' as part of digit sequence.
57347         * stdio-common/tst-sscanf.c (double_tests2): New tests.
57349 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
57351         [BZ #16037]
57352         * configure.ac: allow GNU Make 4.0 and greater.
57353         * configure: Regenerated.
57355 2013-10-30  Will Newton  <will.newton@linaro.org>
57357         [BZ #16038]
57358         * malloc/hooks.c (memalign_check): Limit alignment to the
57359         maximum representable power of two.
57360         * malloc/malloc.c (__libc_memalign): Likewise.
57361         * malloc/tst-memalign.c (do_test): Add test for very
57362         large alignment values.
57363         * malloc/tst-posix_memalign.c (do_test): Likewise.
57365 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57367         [BZ #11087]
57368         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
57369         (munmap_chunk): Likewise.
57370         (mremap_chunk): Likewise.
57372 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
57374         [BZ #15799]
57375         * stdlib/div.c (div): Remove obsolete code.
57376         * stdlib/ldiv.c (ldiv): Likewise.
57377         * stdlib/lldiv.c (lldiv): Likewise.
57379 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57381         [BZ #16071]
57382         * nss/nss_files/files-XXX.c (get_contents_ret): New
57383         enumerator.
57384         (get_contents): New function.
57385         (internal_getent): Use it.  Expand size of LINEBUFLEN.
57387 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
57389         * configure.in: Moved to ...
57390         * configure.ac: ... here. Change reference to configure.in
57391         to configure.ac.
57392         * sysdeps/arm/preconfigure.ac: ... here.
57393         configure.in to configure.ac.
57394         * sysdeps/gnu/configure.in: Moved to ...
57395         * sysdeps/gnu/configure.ac: ... here.
57396         * sysdeps/i386/configure.in: Moved to ...
57397         * sysdeps/i386/configure.ac: ... here.
57398         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
57399         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
57400         * sysdeps/mach/configure.in: Moved to ...
57401         * sysdeps/mach/configure.ac: ... here.
57402         * sysdeps/mach/hurd/configure.in: Moved to ...
57403         * sysdeps/mach/hurd/configure.ac: ... here.
57404         * sysdeps/powerpc/configure.in: Moved to ...
57405         * sysdeps/powerpc/configure.ac: ... here.
57406         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
57407         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
57408         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
57409         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
57410         * sysdeps/s390/s390-32/configure.in: Moved to ...
57411         * sysdeps/s390/s390-32/configure.ac: ... here.
57412         * sysdeps/s390/s390-64/configure.in: Moved to ...
57413         * sysdeps/s390/s390-64/configure.ac: ... here.
57414         * sysdeps/sh/configure.in: Moved to ...
57415         * sysdeps/sh/configure.ac: ... here.
57416         * sysdeps/sparc/configure.in: Moved to ...
57417         * sysdeps/sparc/configure.ac: ... here.
57418         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
57419         * sysdeps/unix/sysv/linux/configure.ac: ... here.
57420         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
57421         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
57422         * sysdeps/x86_64/configure.in: Moved to ...
57423         * sysdeps/x86_64/configure.ac: ... here.
57424         * sysdeps/x86_64/preconfigure.in: Moved to ...
57425         * sysdeps/x86_64/preconfigure.ac: ... here.
57426         * aclocal.m4: Change reference to configure.in to configure.ac.
57427         * config.h.in: Likewise.
57428         * manual/install.texi: Likewise.
57429         * manual/maint.texi: Likewise.
57430         * Makefile: Likewise.
57431         * malloc/Makefile: Likewise.
57432         * nscd/Makefile: Likewise.
57433         * Makeconfig: Change reference to configure.in and
57434         preconfigure.in to configure.ac and preconfigure.ac
57435         respectively.
57436         * INSTALL: Regenerated.
57437         * configure: Likewise.
57438         * sysdeps/gnu/configure: Likewise.
57439         * sysdeps/i386/configure: Likewise.
57440         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
57441         * sysdeps/mach/configure: Likewise.
57442         * sysdeps/mach/hurd/configure: Likewise.
57443         * sysdeps/powerpc/configure: Likewise.
57444         * sysdeps/powerpc/powerpc32/configure: Likewise.
57445         * sysdeps/powerpc/powerpc64/configure: Likewise.
57446         * sysdeps/s390/s390-32/configure: Likewise.
57447         * sysdeps/s390/s390-64/configure: Likewise.
57448         * sysdeps/sh/configure: Likewise.
57449         * sysdeps/sparc/configure: Likewise.
57450         * sysdeps/unix/sysv/linux/configure: Likewise.
57451         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
57452         * sysdeps/x86_64/configure: Likewise.
57453         * sysdeps/x86_64/preconfigure: Likewise.
57455 2013-10-29  Andreas Schwab  <schwab@suse.de>
57457         * stdio-common/Makefile (tst-swscanf-ENV): Define.
57459 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57461         * benchtests/pow-inputs: Add new inputs.
57463         * benchtests/exp-inputs: Add new inputs.
57465         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
57466         conditional check for return value.
57467         (__cos32): Likewise.
57469 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57471         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
57472         to provide a boost for large inputs with word alignment.
57473         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
57474         implementation based on optimized PPC64 strcpy.
57475         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
57476         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
57477         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
57478         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
57480 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57482         [BZ #2801]
57483         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
57485 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57487         [BZ #14876]
57488         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
57489         * time/tst-strptime.c (day_tests): Add testcase.
57491 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
57493         [BZ #14029]
57494         * manual/pattern.texi: Acknowledge that fnmatch can fail.
57496 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
57498         [BZ #16074]
57499         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
57500         MAP_FAILED on error.
57502 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57504         [BZ #16072]
57505         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
57506         heap for large requests.
57508 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
57510         [BZ #9954]
57511         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
57512         result if the result has no associated interface.
57513         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
57514         interface for all 127.X.Y.Z addresses.
57516 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
57518         * locale/iso-639.def: Add Ligurian (lij)
57520 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
57522         [BZ #15825]
57523         * sunrpc/rpc_main.c: Document rpcgen -5.
57525 2013-10-19  Michael Stahl  <mstahl@redhat.com>
57527         * elf/rtld.c (do_preload): Print the reason why preloading failed.
57529 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57531         [BZ #10278]
57532         * posix/glob.c: Match only directories when trailing slash is present.
57533         * posix/tst-gnuglob.c (my_opendir): Do not open files.
57534         (main): Add testcase.
57536 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
57538         [BZ #15670]
57539         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57541 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
57543         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
57544         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
57545         AUTH_DES and cindex for FIPS 140-2.
57546         (DES Encryption): Add cindex FIPS 46-3.
57548         * locale/locarchive.h (struct locarhandle): Add fname.
57549         * locale/programs/localedef.c (main): Pass ARGV[remaining]
57550         if an optional argument was specified to --list-archive,
57551         otherwise NULL.
57552         * locale/programs/locarchive.c (show_archive_content): Take new
57553         argument fname and pass it via ah.fname to open_archive.
57554         * locale/programs/localedef.h: Update decl.
57555         (open_archive): If AH->fname is non-null, open that file
57556         rather than the default file name, and don't ignore ENOENT.
57557         (create_archive): Set AH.fname to NULL.
57558         (delete_locales_from_archive): Likewise.
57559         (add_locales_to_archive): Likewise.
57560         * locale/programs/locfile.c (write_all_categories): Likewise.
57562 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
57563             Aldy Hernandez  <aldyh@redhat.com>
57565         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
57566         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
57567         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
57568         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
57569         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
57570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
57571         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
57572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
57573         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
57574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
57575         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
57576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
57577         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
57578         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
57579         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
57580         Likewise.
57581         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
57582         Likewise.
57583         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
57584         Likewise.
57585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
57586         Likewise.
57587         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
57588         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
57589         Likewise.
57590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
57591         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
57592         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
57593         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
57594         Likewise.
57595         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
57596         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
57597         * sysdeps/powerpc/preconfigure: Likewise.
57598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
57599         Likewise.
57600         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
57601         Replace contents of file by #include of <fenv_libc.h>.
57602         * sysdeps/powerpc/soft-fp/sfp-machine.h
57603         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
57604         and <sys/prctl.h>.
57605         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
57606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
57607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
57608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
57609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
57610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
57611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
57612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
57613         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
57614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
57615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
57616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
57617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57618         Allow copysignl PLT reference to be missing.
57620 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
57621             Joseph Myers  <joseph@codesourcery.com
57623         [BZ #15948]
57624         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
57625         single character.
57626         (add_to_tablewc): Assert sequence of wide characters is nonempty.
57628 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57630         * elf/tst-tls-dlinfo.c: Don't include tls.h.
57631         * elf/tst-tls1.c: Likewise.
57632         * elf/tst-tls10.h: Likewise.
57633         * elf/tst-tls14.c: Likewise.
57634         * elf/tst-tls2.c: Likewise.
57635         * elf/tst-tls3.c: Likewise.
57636         * elf/tst-tls4.c: Likewise.
57637         * elf/tst-tls5.c: Likewise.
57638         * elf/tst-tls6.c: Likewise.
57639         * elf/tst-tls7.c: Likewise.
57640         * elf/tst-tls8.c: Likewise.
57641         * elf/tst-tls9.c: Likewise.
57642         * elf/tst-tlsmod1.c: Likewise.
57643         * elf/tst-tlsmod13.c: Likewise.
57644         * elf/tst-tlsmod13a.c: Likewise.
57645         * elf/tst-tlsmod14a.c: Likewise.
57646         * elf/tst-tlsmod16a.c: Likewise.
57647         * elf/tst-tlsmod16b.c: Likewise.
57648         * elf/tst-tlsmod2.c: Likewise.
57649         * elf/tst-tlsmod3.c: Likewise.
57650         * elf/tst-tlsmod4.c: Likewise.
57651         * elf/tst-tlsmod5.c: Likewise.
57652         * elf/tst-tlsmod6.c: Likewise.
57654 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
57656         [BZ #12486]
57657         * malloc/malloc.c: remove checks for statistics.
57659 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57661         [BZ #15277]
57662         * inet/inet_net.c (inet_network): Detect additional invalid strings.
57663         * inet/tst-network.c: Add testcase.
57665 2013-10-17  Andreas Schwab  <schwab@suse.de>
57667         [BZ #15218]
57668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
57669         to determine canonical name.
57671 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
57673         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
57674         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
57675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57676         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57678         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57679         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57680         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57681         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57682         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57683         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57684         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57685         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57686         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57687         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57688         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57690         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57691         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57692         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57693         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57694         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57695         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57696         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
57697         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
57698         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57699         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57700         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
57701         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57702         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
57703         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57704         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57705         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57706         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57707         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57708         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57709         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57710         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57711         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57714         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57715         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57716         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57717         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57718         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57719         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57720         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57723         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57725         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57726         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57727         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57728         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57729         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57730         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57732 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
57734         [BZ #16041]
57735         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
57736         make result into a quiet NaN.
57738 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
57740         * soft-fp/adddf3.c: Fix horizontal whitespace.
57741         * soft-fp/addsf3.c: Likewise.
57742         * soft-fp/addtf3.c: Likewise.
57743         * soft-fp/divdf3.c: Likewise.
57744         * soft-fp/divsf3.c: Likewise.
57745         * soft-fp/divtf3.c: Likewise.
57746         * soft-fp/double.h: Likewise.
57747         * soft-fp/eqdf2.c: Likewise.
57748         * soft-fp/eqsf2.c: Likewise.
57749         * soft-fp/eqtf2.c: Likewise.
57750         * soft-fp/extenddftf2.c: Likewise.
57751         * soft-fp/extended.h: Likewise.
57752         * soft-fp/extendsfdf2.c: Likewise.
57753         * soft-fp/extendsftf2.c: Likewise.
57754         * soft-fp/extendxftf2.c: Likewise.
57755         * soft-fp/fixdfdi.c: Likewise.
57756         * soft-fp/fixdfsi.c: Likewise.
57757         * soft-fp/fixdfti.c: Likewise.
57758         * soft-fp/fixsfdi.c: Likewise.
57759         * soft-fp/fixsfsi.c: Likewise.
57760         * soft-fp/fixsfti.c: Likewise.
57761         * soft-fp/fixtfdi.c: Likewise.
57762         * soft-fp/fixtfsi.c: Likewise.
57763         * soft-fp/fixtfti.c: Likewise.
57764         * soft-fp/fixunsdfdi.c: Likewise.
57765         * soft-fp/fixunsdfsi.c: Likewise.
57766         * soft-fp/fixunsdfti.c: Likewise.
57767         * soft-fp/fixunssfdi.c: Likewise.
57768         * soft-fp/fixunssfsi.c: Likewise.
57769         * soft-fp/fixunssfti.c: Likewise.
57770         * soft-fp/fixunstfdi.c: Likewise.
57771         * soft-fp/fixunstfsi.c: Likewise.
57772         * soft-fp/fixunstfti.c: Likewise.
57773         * soft-fp/floatdidf.c: Likewise.
57774         * soft-fp/floatdisf.c: Likewise.
57775         * soft-fp/floatditf.c: Likewise.
57776         * soft-fp/floatsidf.c: Likewise.
57777         * soft-fp/floatsisf.c: Likewise.
57778         * soft-fp/floatsitf.c: Likewise.
57779         * soft-fp/floattidf.c: Likewise.
57780         * soft-fp/floattisf.c: Likewise.
57781         * soft-fp/floattitf.c: Likewise.
57782         * soft-fp/floatundidf.c: Likewise.
57783         * soft-fp/floatundisf.c: Likewise.
57784         * soft-fp/floatunditf.c: Likewise.
57785         * soft-fp/floatunsidf.c: Likewise.
57786         * soft-fp/floatunsisf.c: Likewise.
57787         * soft-fp/floatunsitf.c: Likewise.
57788         * soft-fp/floatuntidf.c: Likewise.
57789         * soft-fp/floatuntisf.c: Likewise.
57790         * soft-fp/floatuntitf.c: Likewise.
57791         * soft-fp/fmadf4.c: Likewise.
57792         * soft-fp/fmasf4.c: Likewise.
57793         * soft-fp/fmatf4.c: Likewise.
57794         * soft-fp/gedf2.c: Likewise.
57795         * soft-fp/gesf2.c: Likewise.
57796         * soft-fp/getf2.c: Likewise.
57797         * soft-fp/ledf2.c: Likewise.
57798         * soft-fp/lesf2.c: Likewise.
57799         * soft-fp/letf2.c: Likewise.
57800         * soft-fp/muldf3.c: Likewise.
57801         * soft-fp/mulsf3.c: Likewise.
57802         * soft-fp/multf3.c: Likewise.
57803         * soft-fp/negdf2.c: Likewise.
57804         * soft-fp/negsf2.c: Likewise.
57805         * soft-fp/negtf2.c: Likewise.
57806         * soft-fp/op-1.h: Likewise.
57807         * soft-fp/op-2.h: Likewise.
57808         * soft-fp/op-4.h: Likewise.
57809         * soft-fp/op-8.h: Likewise.
57810         * soft-fp/op-common.h: Likewise.
57811         * soft-fp/quad.h: Likewise.
57812         * soft-fp/single.h: Likewise.
57813         * soft-fp/soft-fp.h: Likewise.
57814         * soft-fp/sqrtdf2.c: Likewise.
57815         * soft-fp/sqrtsf2.c: Likewise.
57816         * soft-fp/sqrttf2.c: Likewise.
57817         * soft-fp/subdf3.c: Likewise.
57818         * soft-fp/subsf3.c: Likewise.
57819         * soft-fp/subtf3.c: Likewise.
57820         * soft-fp/truncdfsf2.c: Likewise.
57821         * soft-fp/trunctfdf2.c: Likewise.
57822         * soft-fp/trunctfsf2.c: Likewise.
57823         * soft-fp/trunctfxf2.c: Likewise.
57824         * soft-fp/unorddf2.c: Likewise.
57825         * soft-fp/unordsf2.c: Likewise.
57826         * soft-fp/unordtf2.c: Likewise.
57828 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
57830         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
57831         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
57833 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
57835         * elf/dl-libc.c: Clear initfini list after freeing.
57837 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
57839         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
57840         * soft-fp/addsf3.c: Likewise.
57841         * soft-fp/addtf3.c: Likewise.
57842         * soft-fp/divdf3.c: Likewise.
57843         * soft-fp/divsf3.c: Likewise.
57844         * soft-fp/divtf3.c: Likewise.
57845         * soft-fp/double.h: Likewise.
57846         * soft-fp/eqdf2.c: Likewise.
57847         * soft-fp/eqsf2.c: Likewise.
57848         * soft-fp/eqtf2.c: Likewise.
57849         * soft-fp/extenddftf2.c: Likewise.
57850         * soft-fp/extended.h: Likewise.
57851         * soft-fp/extendsfdf2.c: Likewise.
57852         * soft-fp/extendsftf2.c: Likewise.
57853         * soft-fp/extendxftf2.c: Likewise.
57854         * soft-fp/fixdfdi.c: Likewise.
57855         * soft-fp/fixdfsi.c: Likewise.
57856         * soft-fp/fixdfti.c: Likewise.
57857         * soft-fp/fixsfdi.c: Likewise.
57858         * soft-fp/fixsfsi.c: Likewise.
57859         * soft-fp/fixsfti.c: Likewise.
57860         * soft-fp/fixtfdi.c: Likewise.
57861         * soft-fp/fixtfsi.c: Likewise.
57862         * soft-fp/fixtfti.c: Likewise.
57863         * soft-fp/fixunsdfdi.c: Likewise.
57864         * soft-fp/fixunsdfsi.c: Likewise.
57865         * soft-fp/fixunsdfti.c: Likewise.
57866         * soft-fp/fixunssfdi.c: Likewise.
57867         * soft-fp/fixunssfsi.c: Likewise.
57868         * soft-fp/fixunssfti.c: Likewise.
57869         * soft-fp/fixunstfdi.c: Likewise.
57870         * soft-fp/fixunstfsi.c: Likewise.
57871         * soft-fp/fixunstfti.c: Likewise.
57872         * soft-fp/floatdidf.c: Likewise.
57873         * soft-fp/floatdisf.c: Likewise.
57874         * soft-fp/floatditf.c: Likewise.
57875         * soft-fp/floatsidf.c: Likewise.
57876         * soft-fp/floatsisf.c: Likewise.
57877         * soft-fp/floatsitf.c: Likewise.
57878         * soft-fp/floattidf.c: Likewise.
57879         * soft-fp/floattisf.c: Likewise.
57880         * soft-fp/floattitf.c: Likewise.
57881         * soft-fp/floatundidf.c: Likewise.
57882         * soft-fp/floatundisf.c: Likewise.
57883         * soft-fp/floatunsidf.c: Likewise.
57884         * soft-fp/floatunsisf.c: Likewise.
57885         * soft-fp/floatuntidf.c: Likewise.
57886         * soft-fp/floatuntisf.c: Likewise.
57887         * soft-fp/floatuntitf.c: Likewise.
57888         * soft-fp/fmadf4.c: Likewise.
57889         * soft-fp/fmasf4.c: Likewise.
57890         * soft-fp/fmatf4.c: Likewise.
57891         * soft-fp/gedf2.c: Likewise.
57892         * soft-fp/gesf2.c: Likewise.
57893         * soft-fp/getf2.c: Likewise.
57894         * soft-fp/ledf2.c: Likewise.
57895         * soft-fp/lesf2.c: Likewise.
57896         * soft-fp/letf2.c: Likewise.
57897         * soft-fp/muldf3.c: Likewise.
57898         * soft-fp/mulsf3.c: Likewise.
57899         * soft-fp/multf3.c: Likewise.
57900         * soft-fp/negdf2.c: Likewise.
57901         * soft-fp/negsf2.c: Likewise.
57902         * soft-fp/negtf2.c: Likewise.
57903         * soft-fp/op-1.h: Likewise.
57904         * soft-fp/op-2.h: Likewise.
57905         * soft-fp/op-4.h: Likewise.
57906         * soft-fp/op-8.h: Likewise.
57907         * soft-fp/op-common.h: Likewise.
57908         * soft-fp/quad.h: Likewise.
57909         * soft-fp/single.h: Likewise.
57910         * soft-fp/soft-fp.h: Likewise.
57911         * soft-fp/sqrtdf2.c: Likewise.
57912         * soft-fp/sqrtsf2.c: Likewise.
57913         * soft-fp/sqrttf2.c: Likewise.
57914         * soft-fp/subdf3.c: Likewise.
57915         * soft-fp/subsf3.c: Likewise.
57916         * soft-fp/subtf3.c: Likewise.
57917         * soft-fp/truncdfsf2.c: Likewise.
57918         * soft-fp/trunctfdf2.c: Likewise.
57919         * soft-fp/trunctfsf2.c: Likewise.
57920         * soft-fp/trunctfxf2.c: Likewise.
57921         * soft-fp/unorddf2.c: Likewise.
57922         * soft-fp/unordsf2.c: Likewise.
57923         * soft-fp/unordtf2.c: Likewise.
57925 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
57927         [BZ #15672]
57928         * misc/error.c (error_tail): Fix possible buffer overflow.
57930 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
57932         [BZ #13028]
57933         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
57934         address.
57936 2013-10-14  P. J. McDermott  <pj@pehjota.net>
57938         [BZ #832]
57939         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
57940         testing pipefail option.
57942 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57944         * soft-fp/double.h: Indent preprocessor directives inside #if.
57945         * soft-fp/extended.h: Likewise.
57946         * soft-fp/op-2.h: Likewise.
57947         * soft-fp/op-4.h: Likewise.
57948         * soft-fp/op-common.h: Likewise.
57949         * soft-fp/quad.h: Likewise.
57950         * soft-fp/single.h: Likewise.
57951         * soft-fp/soft-fp.h: Likewise.
57953 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
57955         * iconv/iconv_prog.c: Fix typos.
57956         * stdio-common/psiginfo-data.h: Likewise.
57958 2013-10-12   Reuben Thomas <rrt@sc3d.org>
57960         [BZ #15764]
57961         * locale/setlocale.c: Fix typo.
57963 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
57965         [BZ #16036]
57966         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
57967         signaling NaN arguments.
57968         * soft-fp/unordsf2.c (__unordsf2): Likewise.
57969         * soft-fp/unordtf2.c (__unordtf2): Likewise.
57971         [BZ #14910]
57972         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
57973         unordered operands.
57974         * soft-fp/gesf2.c (__gesf2): Likewise.
57975         * soft-fp/getf2.c (__getf2): Likewise.
57976         * soft-fp/ledf2.c (__ledf2): Likewise.
57977         * soft-fp/lesf2.c (__lesf2): Likewise.
57978         * soft-fp/letf2.c (__letf2): Likewise.
57980         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
57981         * soft-fp/eqsf2.c (__eqsf2): Likewise.
57982         * soft-fp/eqtf2.c (__eqtf2): Likewise.
57983         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
57984         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
57985         * soft-fp/fixdfti.c (__fixdfti): Likewise.
57986         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
57987         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
57988         * soft-fp/fixsfti.c (__fixsfti): Likewise.
57989         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
57990         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
57991         * soft-fp/fixtfti.c (__fixtfti): Likewise.
57992         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
57993         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
57994         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
57995         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
57996         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
57997         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
57998         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
57999         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58000         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58001         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58002         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58003         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58004         * soft-fp/floattidf.c (__floattidf): Likewise.
58005         * soft-fp/floattisf.c (__floattisf): Likewise.
58006         * soft-fp/floattitf.c (__floattitf): Likewise.
58007         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58008         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58009         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58010         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58011         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58012         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58013         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58014         * soft-fp/gesf2.c (__gesf2): Likewise.
58015         * soft-fp/getf2.c (__getf2): Likewise.
58016         * soft-fp/ledf2.c (__ledf2): Likewise.
58017         * soft-fp/lesf2.c (__lesf2): Likewise.
58018         * soft-fp/letf2.c (__letf2): Likewise.
58020         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58021         Undefine and redefine.
58022         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58023         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58024         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58025         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58026         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58027         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58028         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58029         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58030         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58031         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58032         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58033         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58034         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58035         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58036         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58038         [BZ #16032]
58039         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58040         without decrementing exponent if mantissa >= that for the
58041         denominator, not >.
58042         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58043         denominator, not >.  Decrement exponent in < case instead of
58044         incrementing in >= case.
58045         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58046         without decrementing exponent if mantissa >= that for the
58047         denominator, not >.
58049         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
58050         computing saturated result for unsigned overflow.
58052 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58053             Jeff Law  <law@redhat.com>
58055         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
58056         (atan2Mp): Add systemtap probe marker.
58057         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
58058         (__ieee754_log): Add systemtap probe marker.
58059         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
58060         (atanMp): Add systemtap probe marker.
58061         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
58062         (tanMp): Add systemtap probe marker.
58063         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
58064         (__slowexp): Add systemtap probe marker.
58065         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
58066         (__slowpow): Add systemtap probe marker.
58067         * manual/probes.texi: Document probes.
58069 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
58071         [BZ #15362]
58072         * libio/fileops.c (_IO_new_file_write): Return count of bytes
58073         written.
58074         (_IO_new_file_xsputn): Don't return EOF if nothing has been
58075         written.
58076         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
58077         written to buffer but not flushed.
58078         * libio/iofwrite_u.c:  Likewise.
58079         * libio/iopadn.c:  Return bytes returned even if EOF was
58080         encountered.
58081         * libio/iowpadn.c:  Likewise.
58082         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
58083         if _IO_padn does not write the whole buffer.
58084         [!COMPILE_WPRINTF] (PAD): Likewise.
58086 2013-10-10  David S. Miller  <davem@davemloft.net>
58088         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
58089         directory block.
58091 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58093         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
58094         instead of FSF address.
58095         * soft-fp/fixdfti.c: Likewise.
58096         * soft-fp/fixsfti.c: Likewise.
58097         * soft-fp/fixtfti.c: Likewise.
58098         * soft-fp/fixunsdfti.c: Likewise.
58099         * soft-fp/fixunssfti.c: Likewise.
58100         * soft-fp/fixunstfti.c: Likewise.
58101         * soft-fp/floattidf.c: Likewise.
58102         * soft-fp/floattisf.c: Likewise.
58103         * soft-fp/floattitf.c: Likewise.
58104         * soft-fp/floatuntidf.c: Likewise.
58105         * soft-fp/floatuntisf.c: Likewise.
58106         * soft-fp/floatuntitf.c: Likewise.
58107         * soft-fp/trunctfxf2.c: Likewise.
58109         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
58110         * soft-fp/fixdfti.c: Likewise.
58111         * soft-fp/fixsfti.c: Likewise.
58112         * soft-fp/fixtfti.c: Likewise.
58113         * soft-fp/fixunsdfti.c: Likewise.
58114         * soft-fp/fixunssfti.c: Likewise.
58115         * soft-fp/fixunstfti.c: Likewise.
58116         * soft-fp/floattidf.c: Likewise.
58117         * soft-fp/floattisf.c: Likewise.
58118         * soft-fp/floattitf.c: Likewise.
58119         * soft-fp/floatuntidf.c: Likewise.
58120         * soft-fp/floatuntisf.c: Likewise.
58121         * soft-fp/floatuntitf.c: Likewise.
58122         * soft-fp/trunctfxf2.c: Likewise.
58124 2013-10-10  David S. Miller  <davem@davemloft.net>
58126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58128 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
58130         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58131         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
58132         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
58133         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
58134         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
58135         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
58136         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
58138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
58139         for NaNs before doing comparisons on argument.
58140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
58141         Likewise.
58143 2013-10-10  Will Newton  <will.newton@linaro.org>
58145         * malloc/hooks.c (memalign_check): Ensure the value of bytes
58146         passed to _int_memalign does not overflow.
58148 2013-10-10  Torvald Riegel  <triegel@redhat.com>
58150         * scripts/bench.pl: Add include-sources directive.
58151         * benchtests/README: Update documentation.
58153 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
58155         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
58156         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
58157         instead of FP_INIT_ROUNDMODE.
58158         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
58159         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
58161         [BZ #16034]
58162         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
58163         copy class of input value.
58164         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
58165         not handle exceptions.
58166         * soft-fp/negsf2.c (__negsf2): Likewise.
58167         * soft-fp/negtf2.c (__negtf2): Likewise.
58168         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
58170 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
58172         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
58173         semicolon.  From Linux kernel.
58175 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
58177         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
58179 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
58181         [BZ #156]
58182         * manual/socket.texi: Added statement about buffer
58183         for gethostbyname2_r.
58185 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
58187         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
58188         Use .p2align directive instead, throughout.
58189         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58190         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
58191         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
58192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58194         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
58195         * sysdeps/x86_64/strchr.S: Likewise.
58196         * sysdeps/x86_64/strrchr.S: Likewise.
58198 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58200         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
58202         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
58204         * sysdeps/generic/math_private.h (__mpsin1): Remove
58205         declaration.
58206         (__mpcos1): Likewise.
58207         (__mpsin): New argument __range_reduce.
58208         (__mpcos): Likewise.
58209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58210         (slow): Use __mpsin and __mpcos.
58211         (slow1): Likewise.
58212         (slow2): Likewise.
58213         (sloww): Likewise.
58214         (sloww1): Likewise.
58215         (sloww2): Likewise.
58216         (bsloww): Likewise.
58217         (bsloww1): Likewise.
58218         (bsloww2): Likewise.
58219         (cslow2): Likewise.
58220         (csloww): Likewise.
58221         (csloww1): Likewise.
58222         (csloww2): Likewise.
58223         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
58224         range_reduce.  Merge in __mpsin1.
58225         (__mpcos): Likewise.
58226         (__mpsin1): Remove.
58227         (__mpcos1): Likewise.
58229 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
58231         * locale/loadlocale.c (_nl_intern_locale_data): Use
58232         LOCFILE_ALIGNED_P.
58233         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
58234         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
58235         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
58236         obstack data is appropriately aligned.
58237         (obstack_int32_grow_fast): Likewise.
58238         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
58239         * locale/programs/locfile.c (add_locale_uint32): Likewise.
58240         (add_locale_uint32_array): Likewise.
58242 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58244         * benchtests/Makefile: Remove ARGLIST and RET variables.
58245         ($(objpfx)bench-%.c): Pass only function name to the script.
58246         * benchtests/README: Update documentation.
58247         * benchtests/acos-inputs: Add new directives.
58248         * benchtests/acosh-inputs: Likewise.
58249         * benchtests/asin-inputs: Likewise.
58250         * benchtests/asinh-inputs: Likewise.
58251         * benchtests/atan-inputs: Likewise.
58252         * benchtests/atanh-inputs: Likewise.
58253         * benchtests/cos-inputs: Likewise.
58254         * benchtests/cosh-inputs: Likewise.
58255         * benchtests/exp-inputs: Likewise.
58256         * benchtests/log-inputs: Likewise.
58257         * benchtests/pow-inputs: Likewise.
58258         * benchtests/rint-inputs: Likewise.
58259         * benchtests/sin-inputs: Likewise.
58260         * benchtests/sinh-inputs: Likewise.
58261         * benchtests/tan-inputs: Likewise.
58262         * benchtests/tanh-inputs: Likewise.
58263         * scripts/bench.pl: Add support for new directives.
58265 2013-10-07  Alan Modra  <amodra@gmail.com>
58267         * README: Fix careless merge.
58269 2013-10-05  Alan Modra  <amodra@gmail.com>
58271         * NEWS: Mention powerpc64le support and bugs fixed.
58272         * README: Both big-endian and little-endian powerpc64 supported.
58274 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58276         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
58277         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
58278         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
58279         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
58281 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
58283         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
58284         match prototype.
58286 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
58288         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
58289         Move -mhard-float appending from
58290         ports/sysdeps/powerpc/powerpc32/Makefile.
58291         [$(with-fp) = yes] (ASFLAGS): Likewise.
58292         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
58293         * sysdeps/powerpc/nofpu: Move directory from
58294         ports/sysdeps/powerpc/nofpu.
58295         * sysdeps/powerpc/soft-fp: Move directory from
58296         ports/sysdeps/powerpc/soft-fp.
58297         * sysdeps/powerpc/powerpc32/405: Move directory from
58298         ports/sysdeps/powerpc/powerpc32/405.
58299         * sysdeps/powerpc/powerpc32/440: Move directory from
58300         ports/sysdeps/powerpc/powerpc32/440.
58301         * sysdeps/powerpc/powerpc32/464: Move directory from
58302         ports/sysdeps/powerpc/powerpc32/464.
58303         * sysdeps/powerpc/powerpc32/476: Move directory from
58304         ports/sysdeps/powerpc/powerpc32/476.
58305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
58306         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
58307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
58308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
58309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
58310         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
58311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
58312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
58313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
58314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
58315         * README: Update for powerpc-*-linux-gnu software floating point
58316         support in libc.
58318         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
58319         case to powerpc/powerpc32*.
58320         * sysdeps/unix/sysv/linux/configure: Regenerated.
58322         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
58323         (_FPU_MASK_OM): Define as 0x04.
58324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
58325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
58326         0x00c10080.
58327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
58328         0x0000003c.
58329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
58331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
58332         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58333         getcontext_e500.
58334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
58335         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
58336         setcontext_e500.
58337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
58338         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
58339         and setcontext_e500.
58341 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
58343         * locale/iso-3166.def: Update iso-1366.def and related occurrences
58345 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58347         * manual/threads.texi (Default Thread Attributes): Fix typo.
58349 2013-10-04  Will Newton  <will.newton@linaro.org>
58351         * malloc/Makefile: Add tst-memalign.
58352         * malloc/tst-memalign.c: New file.
58354         * malloc/tst-posix_memalign.c: Add comments.
58355         (do_test): Add comments and call free on all potentially
58356         allocated pointers. Add space after cast.
58358         * malloc/tst-pvalloc.c: Add comments.
58359         (do_test): Add comments and call free on all potentially
58360         allocated pointers. Remove duplicate check for NULL pointer.
58361         Add space after cast.
58363         * malloc/tst-valloc.c: Add comments.
58364         (do_test): Add comments and call free on all potentially
58365         allocated pointers. Remove duplicate check for NULL pointer.
58366         Add space after cast.
58368 2013-10-04  Alan Modra  <amodra@gmail.com>
58370         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58371         Use stdint types in rather than __attribute__((mode())).
58372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58374 2013-10-04  Alan Modra  <amodra@gmail.com>
58376         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
58377         Correct handling of unaligned relocs for little-endian.
58378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
58380 2013-10-04  Alan Modra  <amodra@gmail.com>
58382         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
58383         * configure: Regenerate.
58384         * nptl/shlib-versions: Powerpc*le starts at 2.18.
58385         * shlib-versions: Likewise.
58387 2013-10-04  Alan Modra  <amodra@gmail.com>
58389         * string/tester.c (test_memrchr): Increment reported test cycle.
58391 2013-10-04  Alan Modra  <amodra@gmail.com>
58393         * string/test-memcpy.c (do_one_test): When reporting errors, print
58394         string address and don't overrun end of string.
58396 2013-10-04  Alan Modra  <amodra@gmail.com>
58398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
58399         insrdi.  Make better use of reg selection to speed exit slightly.
58400         Schedule entry path a little better.  Remove useless "are we done"
58401         checks on entry to main loop.  Handle wrapping around zero address.
58402         Correct main loop count.  Handle single left-over word from main
58403         loop inline rather than by using loop_small.  Remove extra word
58404         case in loop_small caused by wrong loop count.  Add little-endian
58405         support.
58406         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
58408         cache hint.
58409         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58410         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
58411         support.  Avoid rlwimi.
58412         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
58414 2013-10-04  Alan Modra  <amodra@gmail.com>
58416         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
58417         insrdi.  Formatting.
58418         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
58419         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58420         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
58421         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58422         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58423         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
58425 2013-10-04  Alan Modra  <amodra@gmail.com>
58427         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
58428         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58429         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
58430         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
58431         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58432         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58435         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
58436         use of regs.  Use power7 mtocrf.  Tidy function tails.
58438 2013-10-04  Alan Modra  <amodra@gmail.com>
58440         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
58441         Formatting.  Consistently use rXXX register defines or rN defines.
58442         Use early exit labels that avoid restoring unused non-volatile regs.
58443         Make cr field use more consistent with rWORDn compares.  Rename
58444         regs used as shift registers for unaligned loop, using rN defines
58445         for short lifetime/multiple use regs.
58446         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58447         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
58448         addi 1,1,64 to pop stack frame.  Simplify return value code.
58449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58451 2013-10-04  Alan Modra  <amodra@gmail.com>
58453         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
58454         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
58455         rather than rlwimi.
58456         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
58457         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
58458         little-endian support.  Correct typos.
58459         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
58460         rather than rlwimi.
58461         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
58462         in loop and entry code to keep "and." results.
58463         (strchr): Add little-endian support.  Comment.  Move cntlzd
58464         earlier in tail.
58465         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
58467 2013-10-04  Alan Modra  <amodra@gmail.com>
58469         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
58470         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
58471         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
58472         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
58474 2013-10-04  Alan Modra  <amodra@gmail.com>
58476         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
58477         (rTMP): Define as r11.
58478         (strcmp): Add little-endian support.  Optimise tail.
58479         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
58480         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58481         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58482         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58483         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58487 2013-10-04  Alan Modra  <amodra@gmail.com>
58489         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
58490         little-endian support.  Remove unnecessary "are we done" tests.
58491         Handle "s" wrapping around zero and extremely large "size".
58492         Correct main loop count.  Handle single left-over word from main
58493         loop inline rather than by using small_loop.  Correct comments.
58494         Delete "zero" tail, use "end_max" instead.
58495         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
58497 2013-10-04  Alan Modra  <amodra@gmail.com>
58499         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
58500         support.  Don't branch over align.
58501         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
58502         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
58503         support.  Rearrange tmp reg use to suit.  Comment.
58504         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
58506 2013-10-04  Alan Modra  <amodra@gmail.com>
58508         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
58510 2013-10-04  Alan Modra  <amodra@gmail.com>
58512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
58513         conditional form of branch and link when obtaining pc.
58514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
58516 2013-10-04  Alan Modra  <amodra@gmail.com>
58518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
58519         HIWORD/LOWORD.
58520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
58521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
58523 2013-10-04  Alan Modra  <amodra@gmail.com>
58525         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
58526         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
58527         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
58528         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
58529         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58530         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58531         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
58532         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58533         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
58534         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
58536 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58537             Alistair Popple <alistair@ozlabs.au.ibm.com>
58538             Alan Modra <amodra@gmail.com>
58540         [BZ #15723]
58541         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
58542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
58543         _dl_hwcap access for little-endian.
58544         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
58545         destroy vmx regs when saving unaligned.
58546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
58547         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
58548         destroy vmx regs when saving unaligned.
58550 2013-10-04  Alan Modra  <amodra@gmail.com>
58552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
58553         Don't use a union to pack hi/low value.
58555 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58557         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
58558         for little-endian.
58559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
58561         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58562         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58563         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58565 2013-10-04  Alan Modra  <amodra@gmail.com>
58567         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
58568         constants to usual value for .cst8 section, and remove redundant
58569         high address load.
58570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
58571         constant for 0x1p52.  Load little-endian words of double from
58572         correct stack offsets.
58574 2013-10-04  Alan Modra  <amodra@gmail.com>
58576         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
58577         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
58578         words of double from correct stack offsets.
58579         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58580         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
58581         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58582         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58583         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58584         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58585         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58586         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
58587         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
58588         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58589         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58591         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58592         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58593         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58594         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
58595         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
58597 2013-10-04  Alan Modra  <amodra@gmail.com>
58599         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
58600         64-bit int/double union.
58601         (_FPU_SETCW): Likewise.
58602         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
58603         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
58605 2013-10-04  Alan Modra  <amodra@gmail.com>
58607         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
58608         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
58610 2013-10-04  Alan Modra  <amodra@gmail.com>
58612         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
58613         use vector int constants.
58614         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
58616 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58618         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
58619         array with long long.
58620         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
58621         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58622         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
58623         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
58624         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
58625         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
58626         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
58627         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
58628         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
58629         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
58630         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
58631         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
58632         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
58634 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
58636         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
58637         (__signbit): Likewise.  Correct for little-endian.
58638         (__signbitl): Call __signbit.
58639         (lrint): Correct for little-endian.
58640         (lrintf): Call lrint.
58642 2013-10-04  Alan Modra  <amodra@gmail.com>
58644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
58645         union 32-bit int array member with 64-bit int array.
58646         (t515, tm256): Double rather than long double.
58647         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
58649 2013-10-04  Alan Modra  <amodra@gmail.com>
58651         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
58652         Delete.
58653         (IEEE854_LONG_DOUBLE_BIAS): Delete.
58654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
58655         version of math_ldbl.h.
58657 2013-10-04  Alan Modra  <amodra@gmail.com>
58659         [BZ #15734], [BZ #15735]
58660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
58661         all uses of ieee875 long double macros and unions.  Simplify test
58662         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
58663         ldbl_extract_mantissa value for ix,iy exponents.  Properly
58664         normalize after ldbl_extract_mantissa, and don't add hidden bit
58665         already handled.  Don't treat low word of ieee854 mantissa like
58666         low word of IBM long double and mask off bit when testing for
58667         zero.
58668         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
58669         all uses of ieee875 long double macros and unions.  Simplify tests
58670         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
58671         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
58672         two1022, instead use their values.  Recognise that tests for large
58673         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
58674         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
58675         Rewrite all uses of ieee875 long double macros and unions.  Simplify
58676         test for 0.0L and nan.  Correct negation.
58677         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
58678         ieee875 long double macros and unions.  Correct output for large
58679         magnitude x.  Correct absolute value calculation.
58680         (__erfcl): Likewise.
58681         * math/libm-test.inc: Add tests for errors discovered in IBM long
58682         double versions of fmodl, remainderl, erfl and erfcl.
58684 2013-10-04  Alan Modra  <amodra@gmail.com>
58686         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
58687         all uses of ieee854 long double macros and unions.  Simplify tests
58688         for long doubles that are fully specified by the high double.
58689         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
58690         Likewise.
58691         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
58692         Remove dead code too.
58693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
58694         (__ieee754_ynl): Likewise.
58695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
58696         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
58697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
58698         Remove dead code too.
58699         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
58700         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
58701         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
58702         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
58703         Simplify.
58704         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
58705         Simplify.
58706         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
58707         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
58708         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
58709         Comment on variable precision.
58710         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
58711         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58712         Likewise.
58713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58714         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58715         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58716         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
58717         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
58719 2013-10-04  Alan Modra  <amodra@gmail.com>
58721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
58722         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
58723         all uses of ieee854 long double macros and unions.
58724         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
58725         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58726         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
58727         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
58728         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
58729         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58730         Likewise.
58731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
58732         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58733         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
58734         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58735         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
58736         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
58737         Simplify sign and nan test too.
58738         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
58739         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
58740         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58741         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
58742         Likewise.
58743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58744         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
58745         Likewise.
58746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58747         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
58748         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
58749         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
58750         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
58751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
58753 2013-10-04  Alan Modra  <amodra@gmail.com>
58755         * stdio-common/printf_size.c (__printf_size): Don't use
58756         union ieee854_long_double in fpnum union.
58757         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
58758         signbit macro to retrieve sign from long double.
58759         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
58760         retrieve sign from long double.
58761         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
58762         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
58763         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
58764         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
58765         * math/test-misc.c (main): Don't use union ieee854_long_double.
58767 2013-10-04  Alan Modra  <amodra@gmail.com>
58769         [BZ #15680]
58770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
58771         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
58772         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
58773         calculation.  Remove unnecessary test for denormal exponent.
58774         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
58775         Correct handling of denormals.  Avoid undefined shift behaviour.
58776         Correct normalisation of low mantissa when low double is denormal.
58777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
58778         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
58779         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
58780         Correct normalisation of low mantissa.  Test for overflow of high
58781         mantissa and normalise.
58782         (ldbl_nearbyint): Use more readable constant for two52.
58783         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
58784         (__mpn_construct_long_double): Fix test for overflow of high
58785         mantissa and correct normalisation.  Avoid undefined shift.
58787 2013-10-04  Alan Modra  <amodra@gmail.com>
58789         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58790         (union ibm_extended_long_double): Define as an array of ieee754_double.
58791         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
58792         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
58793         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
58794         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58796         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
58797         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58798         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58799         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58800         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
58801         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58803 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
58805         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
58806         page size instead of calling getpagesize.
58808         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
58809         (LOCFILE_ALIGN_MASK): Likewise.
58810         (LOCFILE_ALIGN_UP): Likewise.
58811         (LOCFILE_ALIGNED_P): Likewise.
58812         * locale/programs/ld-collate.c (collate_output): Use the new
58813         macros instead of __alignof__ (int32_t).
58814         * locale/weight.h (findidx): Likewise.
58816 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
58818         [BZ #431]
58819         * manual/string.texi: Fix strncat and wcsncat.
58821 2013-10-03  Brooks Moses  <bmoses@google.com>
58823         [BZ #15915]
58824         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
58825         * Makerules: ...here, and adjust associated comments.
58827 2013-10-02  Will Newton  <will.newton@linaro.org>
58829         * malloc/Makefile: Add tst-pvalloc.
58830         * malloc/tst-pvalloc.c: New file.
58832 2013-10-02  Will Newton  <will.newton@linaro.org>
58834         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
58835         improve test coverage.
58837 2013-10-02  Will Newton  <will.newton@linaro.org>
58839         * malloc/Makefile: Add tst-posix_memalign.
58840         * malloc/tst-posix_memalign.c: New file.
58842 2013-10-01  Eric Blake  <eblake@redhat.com>
58844         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
58845         Use __THROWNL rather than __THROW on static functions.
58847 2013-09-30  Petr Machata  <pmachata@redhat.com>
58849         * elf/elf.h (R_AARCH64_ABS16): New macro.
58850         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
58851         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
58852         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
58853         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
58854         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
58855         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
58856         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
58857         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
58858         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
58859         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
58860         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
58861         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
58862         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58863         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
58864         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
58865         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
58866         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
58867         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
58868         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
58869         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
58870         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
58871         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
58872         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
58873         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
58874         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
58875         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
58876         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
58877         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
58878         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
58879         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
58880         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
58881         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
58882         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
58883         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
58884         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
58885         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
58886         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
58887         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
58888         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
58889         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
58890         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
58891         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
58892         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
58893         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
58894         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
58895         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
58896         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
58897         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
58898         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
58899         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
58900         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
58901         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
58902         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
58903         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
58904         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
58905         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
58906         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
58907         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
58908         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
58909         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
58910         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
58911         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
58912         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
58913         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
58914         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
58915         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
58916         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
58917         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
58918         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
58919         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
58920         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
58921         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
58922         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
58923         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
58924         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
58925         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
58926         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
58927         (R_AARCH64_TLSDESC_LDR): Likewise.
58928         (R_AARCH64_TLSDESC_ADD): Likewise.
58929         (R_AARCH64_TLSDESC_CALL): Likewise.
58931 2013-09-30  Andreas Schwab  <schwab@suse.de>
58933         [BZ #15048]
58934         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
58935         the nss database lookup.
58936         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58939 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
58941         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
58943 2013-09-28  P. J. McDermott  <pj@pehjota.net>
58945         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
58946         ${Bash-specific parameter/pattern/string} parameter expansion.
58947         * sysdeps/unix/make-syscalls.sh: Likewise.
58949 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58951         * sysdeps/sh/stackguard-macros.h: New file.
58953 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
58955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
58957         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
58958         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
58959         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58960         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
58962 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58964         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
58965         Fix thread ID register.
58967 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
58969         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
58970         [POSIX || UNIX98]: Require rather than permitting all symbols from
58971         <time.h>.
58972         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
58973         element of struct sched_param.
58974         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
58975         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
58976         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
58977         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
58978         constant.
58980 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
58982         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
58983         argument calculation.
58985 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
58987         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
58988         Expect macro.
58989         [POSIX] (pthread_attr_t): Do not require type.
58990         [POSIX] (pthread_cond_t): Likewise.
58991         [POSIX] (pthread_condattr_t): Likewise.
58992         [POSIX] (pthread_key_t): Likewise.
58993         [POSIX] (pthread_mutex_t): Likewise.
58994         [POSIX] (pthread_mutexattr_t): Likewise.
58995         [POSIX] (pthread_once_t): Likewise.
58996         [POSIX] (pthread_t): Likewise.
58997         [POSIX-based standards] (pthread_atfork): Expect function.
58999 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59000             Richard Sandiford  <richard@codesourcery.com>
59002         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59003         (swap_endianness_p): New extern variable.
59004         (set_big_endian): New inline function.
59005         (maybe_swap_uint32): Likewise.
59006         (maybe_swap_uint32_array): Likewise.
59007         (maybe_swap_uint32_obstack): Likewise.
59008         * locale/programs/locfile.c: Include <stdbool.h>.
59009         (swap_endianness_p): New variable.
59010         (add_locale_uint32): Call maybe_swap_uint32.
59011         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59012         (write_locale_data): Call maybe_swap_uint32_array.
59013         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59014         maybe_swap_uint32.
59015         (obstack_int32_grow_fast): Likewise.
59016         (output_weightwc): Call maybe_swap_uint32_obstack.
59017         (collate_output): Likewise.
59018         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59019         (OPT_LITTLE_ENDIAN): Likewise.
59020         (options): Add --little-endian and --big-endian options.
59021         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59022         * locale/programs/locarchive.c: Include "locfile.h".
59023         (GET): New macro.
59024         (SET): Likewise.
59025         (INC): Likewise.
59026         (create_archive): Use the new macros to access fields of
59027         structures directly mapped from or written to locale archives.
59028         (oldlocrecentcmp): Likewise.
59029         (enlarge_archive): Likewise.
59030         (insert_name): Likewise.
59031         (add_alias): Likewise.
59032         (add_locale): Likewise.
59033         (delete_locales_from_archive): Likewise.
59034         (show_archive_content): Likewise.
59035         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59036         locale data.
59038 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59040         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59041         http://www.gnu.org/doc/freemanuals.texi.
59042         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59044 2013-09-24  Will Newton  <will.newton@linaro.org>
59046         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59047         macro.
59049 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
59051         * locale/hashval.h (compute_hashval): Interpret bytes of key as
59052         unsigned char.
59054 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
59056         * manual/threads.texi (POSIX Threads): Fix a typo.
59058 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59060         [BZ #14547]
59061         * string/tst-strcoll-overflow.c: New test case.
59062         * string/Makefile (xtests): Add tst-strcoll-overflow.
59063         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
59064         cache if string sizes may cause integer overflow.
59066         [BZ #14547]
59067         * string/strcoll_l.c (coll_seq): New members rule, idx,
59068         save_idx and back_us.
59069         (get_next_seq_nocache): New function.
59070         (do_compare_nocache): New function.
59071         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
59072         when malloc fails.
59074 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
59076         [BZ #15754]
59077         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
59078         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
59079         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
59081         [BZ #15754]
59082         * elf/Makefile (tests): Add tst-ptrguard1.
59083         (tests-static): Add tst-ptrguard1-static.
59084         (tst-ptrguard1-ARGS): Define.
59085         (tst-ptrguard1-static-ARGS): Define.
59086         * elf/tst-ptrguard1.c: New file.
59087         * elf/tst-ptrguard1-static.c: New file.
59088         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
59089         * sysdeps/i386/stackguard-macros.h: Likewise.
59090         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59091         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59092         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59093         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59094         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59095         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59097 2013-09-23  Hector Marco  <hecmargi@upv.es>
59098             Ismael Ripoll  <iripoll@disca.upv.es>
59099             Carlos O'Donell  <carlos@redhat.com>
59101         [BZ #15754]
59102         * sysdeps/generic/stackguard-macros.h: Define
59103         __pointer_chk_guard_local and POINTER_CHK_GUARD.
59104         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
59105         Define __pointer_chk_guard_local.
59106         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
59107         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
59109 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
59111         [BZ #15859]
59112         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
59114 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
59116         * include/string.h (__ffs): Declare as hidden.
59117         * string/ffs.c (__ffs): Define as hidden.
59118         * sysdeps/i386/ffs.c (__ffs): Likewise.
59119         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
59120         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
59121         * sysdeps/s390/ffs.c (__ffs): Likewise.
59122         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
59124 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
59126         * NEWS: Mention malloc probes.
59128         * malloc/arena.c (new_heap): New memory_heap_new probe.
59129         (grow_heap): New memory_heap_more probe.
59130         (shrink_heap): New memory_heap_less probe.
59131         (heap_trim): New memory_heap_free probe.
59132         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
59133         (systrim): New memory_sbrk_less probe.
59134         * manual/probes.texi: Document them.
59136         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59137         * manual/probes.texi: Document it.
59139         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
59140         (__libc_realloc): Add memory_realloc_retry probe.
59141         (__libc_memalign): Add memory_memalign_retry probe.
59142         (__libc_valloc): Add memory_valloc_retry probe.
59143         (__libc_pvalloc): Add memory_pvalloc_retry probe.
59144         (__libc_calloc): Add memory_calloc_retry probe.
59145         * manual/probes.texi: Document them.
59147         * malloc/arena.c (get_free_list): Add probe
59148         memory_arena_reuse_free_list.
59149         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
59150         and memory_arena_reuse.
59151         (arena_get2) [!PER_THREAD]: Likewise.
59152         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
59153         memory_arena_reuse_realloc.
59154         * manual/probes.texi: Document them.
59156         * malloc/malloc.c (__libc_free): Add
59157         memory_mallopt_free_dyn_thresholds probe.
59158         (__libc_mallopt): Add multiple memory_mallopt probes.
59159         * manual/probes.texi: Document them.
59161         * malloc/malloc.c: Include stap-probe.h.
59162         (__libc_mallopt): Add memory_mallopt probe.
59163         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
59164         * manual/probes.texi: New.
59165         * manual/Makefile (chapters): Add probes.
59166         * manual/threads.texi: Set next node.
59168 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
59170         [BZ #15963, #13985]
59171         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59172         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
59173         Add `Chinese' to `nan' entry name.
59175 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59177         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
59178         (POLYNOMIAL): Likewise.
59179         (TAYLOR_SINCOS): Likewise.
59180         (TAYLOR_SLOW): Likewise.
59181         (__sin): Use TAYLOR_SINCOS.
59182         (__cos): Likewise.
59183         (slow): Use TAYLOR_SLOW.
59184         (sloww): Likewise.
59185         (bsloww): Likewise.
59186         (csloww): Likewise.
59188 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59190         * stdlib/strtod_l.c: Fix buffer overrun.
59192 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59194         * benchtests/Makefile (bench): Add sincos.
59195         * benchtests/bench-sincos.c: New file.
59197         * math/libm-test.inc (cos_test_data): New test inputs.
59198         (sin_test_data): Likewise.
59200         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
59201         macro.
59202         (__sin): Use it.
59203         (__cos): Likewise.
59204         (slow1): Likewise.
59205         (slow2): Likewise.
59206         (sloww1): Likewise.
59207         (sloww2): Likewise.
59208         (bsloww1): Likewise.
59209         (bsloww2): Likewise.
59210         (cslow2): Likewise.
59211         (csloww1): Likewise.
59212         (csloww2): Likewise.
59214         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
59215         function.
59216         (__sin): Use it.
59217         (__cos): Likewise.
59219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
59220         gotos.
59221         (__cos): Likewise.
59223 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
59225         * config.h.in (HAVE_MIPS_NAN2008): New macro.
59226         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59227         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
59228         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
59229         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
59230         * elf/cache.c (print_entry): Handle the new cache flags.
59232 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59233             Aldy Hernandez  <aldyh@redhat.com>
59235         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
59236         Change condition to [_SOFT_FLOAT].
59237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
59238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
59239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
59240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
59241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
59242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
59243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
59244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
59245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
59246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
59247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
59248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
59249         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
59250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
59251         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
59252         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
59253         declaration.
59255 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
59257         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
59258         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59259         (__longjmp): Use LOAD_GP to load saved GPRs.
59260         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
59261         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
59262         (__sigsetjmp): Use SAVE_GP to save GPRs.
59264         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
59265         Do not append -msoft-float.
59266         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
59268 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59270         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
59272 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
59274         [BZ #15966]
59275         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
59276         (_FPU_GETCW): Use initial "__" on variable and field names but not
59277         on macro parameter name.
59278         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
59279         parentheses around reference to macro parameter.
59281 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
59283         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
59284         prototype.
59285         (ctype_startup): Use uint32_t in cast and sizeof for
59286         ctype->charnames.
59288 2013-09-11  Jia Liu  <proljc@gmail.com>
59290         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
59291         __daddr_t_defined.
59292         [__FreeBSD__]: Likewise.
59294 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
59296         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
59297         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
59298         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
59299         (strchr): Remove __strchr_sse42 ifunc selection.
59300         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
59301         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
59303 2013-09-11  Will Newton  <will.newton@linaro.org>
59305         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
59306         parameter to RES. Remove hardcoded 1000 value.
59307         * benchtests/bench-skeleton.c (main): Pass RES parameter
59308         to TIMING_INIT and multiply result by 1000.
59310 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59314 2013-09-11  Andreas Schwab  <schwab@suse.de>
59316         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
59317         if not defined.
59318         (O_TMPFILE) [__USE_GNU]: Define.
59319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
59320         Define.
59322 2013-09-11  Will Newton  <will.newton@linaro.org>
59324         [BZ #15857]
59325         * malloc/malloc.c (__libc_memalign): Check the value of bytes
59326         does not overflow.
59328 2013-09-11  Will Newton  <will.newton@linaro.org>
59330         [BZ #15856]
59331         * malloc/malloc.c (__libc_valloc): Check the value of bytes
59332         does not overflow.
59334 2013-09-11  Will Newton  <will.newton@linaro.org>
59336         [BZ #15855]
59337         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
59338         does not overflow.
59340 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
59342         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
59343         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59344         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59345         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59346         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59348 2013-09-10  Allan McRae  <allan@archlinux.org>
59350         [BZ #15748]
59351         * manual/arith.texi (Parsing of Floats): Clarify
59352         cross-reference.
59354         [BZ #15849]
59355         * manual/install.texi (Running make install): Mention
59356         --enable-pt-chown.
59357         * INSTALL: Regenerated.
59359 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
59361         * csu/init-first.c (_init): Remove the !SHARED condition around
59362         FPU control word initialization.
59363         * elf/dl-support.c (_dl_fpu_control): New variable.
59364         (_dl_aux_init) <AT_FPUCW>: Initialize it.
59365         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
59366         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
59367         * math/test-fpucw-static.c: New file.
59368         * math/test-fpucw-ieee.c: New file.
59369         * math/test-fpucw-ieee-static.c: New file.
59370         * math/Makefile (tests): Add `test-fpucw-ieee' and
59371         `$(tests-static)'.
59372         (tests-static): New variable.
59373         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
59374         dependency to...
59375         [($(build-shared),yes)]
59376         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
59377         ... this.
59378         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
59379         New dependency.
59381 2013-09-09  Allan McRae  <allan@archlinux.org>
59383         [BZ #15939]
59384         * manual/string.texi (Collation Functions): Fix typo in
59385         strcoll example.
59386         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
59388         [BZ #15893]
59389         * stdlib/isomac.c (get_null_defines): Fix memory leak.
59391         [BZ #15892]
59392         * libio/memstream.c (open_memstream): Fix memory leak.
59393         * libio/wmemstream.c (open_wmemstream): Likewise.
59395         [BZ #15895]
59396         * nscd/netgroupcache.c: Fix nesting of ifdefs.
59398 2013-09-09  Will Newton  <will.newton@linaro.org>
59400         * malloc/Makefile: Add tst-realloc to tests.
59401         * malloc/tst-realloc.c: New file.
59403 2013-09-09  Allan McRae  <allan@archlinux.org>
59405         [BZ #15844]
59406         * COPYING: Update from GNU website to fix FSF address.
59407         * COPYING.LIB: Likewise.
59409 2013-09-06  David S. Miller  <davem@davemloft.net>
59411         * po/zh_TW.po: Update Chinese (traditional) translation from
59412         translation project.
59414 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
59415             Joseph Myers  <joseph@codesourcery.com>
59417         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
59418         "localeinfo.h".
59419         (obstack_chunk_alloc): New macro.
59420         (obstack_chunk_free): Likewise.
59421         (record_offset): New function.
59422         (init_locale_data): Likewise.
59423         (align_locale_data): Likewise.
59424         (add_locale_empty): Likewise.
59425         (add_locale_raw_data): Likewise.
59426         (add_locale_raw_obstack): Likewise.
59427         (add_locale_string): Likewise.
59428         (add_locale_wstring): Likewise.
59429         (add_locale_uint32): Likewise.
59430         (add_locale_uint32_array): Likewise.
59431         (add_locale_char): Likewise.
59432         (start_locale_structure): Likewise.
59433         (end_locale_structure): Likewise.
59434         (start_locale_prelude): Likewise.
59435         (end_locale_prelude): Likewise.
59436         (write_locale_data): Take locale_file structure rather than an
59437         iovec.
59438         * locale/programs/locfile.h: Include "obstack.h".
59439         (struct locale_file): Change to store locale file contents instead
59440         of header.
59441         (init_locale_data): New prototype.
59442         (align_locale_data): Likewise.
59443         (add_locale_empty): Likewise.
59444         (add_locale_raw_data): Likewise.
59445         (add_locale_raw_obstack): Likewise.
59446         (add_locale_string): Likewise.
59447         (add_locale_wstring): Likewise.
59448         (add_locale_uint32): Likewise.
59449         (add_locale_uint32_array): Likewise.
59450         (add_locale_char): Likewise.
59451         (start_locale_structure): Likewise.
59452         (end_locale_structure): Likewise.
59453         (start_locale_prelude): Likewise.
59454         (end_locale_prelude): Likewise.
59455         (write_locale_data): Update prototype.
59456         * locale/programs/3level.h (struct TABLE): Remove result field.
59457         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
59458         Use new locale_file interface.
59459         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
59460         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
59461         * locale/programs/ld-address.c (address_output): Use new
59462         locale_file interface.
59463         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
59464         NO_ADD_LOCALE.
59465         (collate_finish): Don't call collseq_table_finalize.
59466         (collate_output): Use new locale_file interface.
59467         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
59468         in file.
59469         (NO_FINALIZE): Change to NO_ADD_LOCALE.
59470         (TABLE): Move defines earlier in file.
59471         (ELEMENT): Likewise.
59472         (DEFAULT): Likewise.
59473         (wctrans_table_add): Move macro and inline function earlier in
59474         file.
59475         (struct wctype_table): Move type earlier in file.
59476         (add_locale_wctype_table): New static prototype.
59477         (struct locale_ctype_t): Use logical types instead of struct iovec
59478         pointers for members.
59479         (ctype_output): Use new locale_file interface.
59480         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
59481         new locale_file interface.
59482         (allocate_arrays): Update for use of new locale_file interface.
59483         * locale/programs/ld-identification.c (identification_output): Use
59484         new locale_file interface.
59485         * locale/programs/ld-measurement.c (measurement_output): Likewise.
59486         * locale/programs/ld-messages.c (messages_output): Likewise.
59487         * locale/programs/ld-monetary.c (monetary_output): Likewise.
59488         * locale/programs/ld-name.c (name_output): Likewise.
59489         * locale/programs/ld-numeric.c (numeric_output): Likewise.
59490         * locale/programs/ld-paper.c (paper_output): Likewise.
59491         * locale/programs/ld-telephone.c (telephone_output): Likewise.
59492         * locale/programs/ld-time.c (time_output): Likewise.
59494 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59496         * benchtests/Makefile: Add memrchr benchmark.
59497         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
59498         benchmark as memrchr.
59499         * benchtests/bench-memrchr-ifunc.c: New file.
59500         * benchtests/bench-memrchr.c: New file.
59502 2013-09-06   Will Newton  <will.newton@linaro.org>
59504         * benchtests/Makefile (string-bench): Add memcpy.
59506 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
59507             Cong Wang  <amwang@redhat.com>
59509         [BZ #15850]
59510         * sysdeps/unix/sysv/linux/bits/in.h
59511         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
59512         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
59513         before __USE_KERNEL_IPV6_DEFS uses.
59514         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
59515         IPPROTO_BEETPH.
59516         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
59517         sockaddr_in6, or ipv6_mreq.
59519 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59521         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
59522         memory access for final bytes in some large inputs.
59523         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
59525 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59527         * string/test-memrchr.c: New file.
59528         * string/test-memrchr-ifunc.c: New file.
59529         * string/Makefile: Add new memrchr testcase.
59531 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
59533         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
59534         fanotify_init returns EPERM.
59536 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59538         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
59539         errors.
59540         (top level): Treat second token from macro or constant entries for
59541         allowed headers as allowed.
59542         * include/complex.h: Condition internal declarations on
59543         [!_ISOMAC].
59544         * include/fenv.h: Condition include of <stdbool.h> and internal
59545         declarations on [!_ISOMAC].
59547 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
59549         [BZ #15923]
59550         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
59552 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
59554         * configure.in (--enable-versioning): Remove configure option.
59555         (libc_cv_asm_symver_directive): Remove configure test.
59556         (libc_cv_ld_version_script_option): Likewise.
59557         (VERSIONING): Remove variable and AC_SUBST.
59558         (DO_VERSIONING): Remove AC_DEFINE.
59559         * configure: Regenerated.
59560         * config.h.in (DO_VERSIONING): Remove macro.
59561         * Makerules [$(versioning) = yes]: Change conditionals to
59562         [$(build-shared) = yes].
59563         * config.make.in (versioning): Remove variable.
59564         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
59565         [$(build-shared) = yes].
59566         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
59567         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
59568         * elf/Makefile [$(versioning) = yes]: Change conditionals to
59569         [$(build-shared) = yes].
59570         * extra-lib.mk [$(versioning) = yes]: Likewise.
59571         * hurd/Makefile [$(versioning) = yes]: Likewise.
59572         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
59573         [SHARED].
59574         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
59575         [SHARED].
59576         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59577         [SHARED && !NO_HIDDEN].
59578         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
59579         [SHARED].
59580         [SHARED && DO_VERSIONING]: Likewise..
59581         * libio/Makefile [$(versioning) = yes]: Change conditionals to
59582         [$(build-shared) = yes].
59583         * manual/install.texi (--disable-versioning): Remove
59584         documentation.
59585         * INSTALL: Regenerated.
59586         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
59587         to [SHARED].
59588         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
59589         [$(build-shared) = yes].
59590         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
59591         * sysdeps/i386/i686/multiarch/strstr-c.c
59592         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
59593         [SHARED && !NO_HIDDEN].
59594         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
59595         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
59596         * sysdeps/powerpc/powerpc32/dl-machine.c
59597         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
59598         * sysdeps/powerpc/powerpc32/sysdep.h
59599         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
59600         to [SHARED && PIC && !NO_HIDDEN].
59601         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
59602         conditional to [SHARED].
59604 2013-09-04   Will Newton  <will.newton@linaro.org>
59606         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
59607         * benchtests/bench-string.h: Include bench-timing.h instead
59608         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
59609         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
59610         call to HP_TIMING_DIFF_INIT.
59611         * benchtests/bench-memccpy.c: Use bench-timing.h macros
59612         instead of hp-timing.h macros.
59613         * benchtests/bench-memchr.c: Likewise.
59614         * benchtests/bench-memcmp.c: Likewise.
59615         * benchtests/bench-memcpy.c: Likewise.
59616         * benchtests/bench-memmem.c: Likewise.
59617         * benchtests/bench-memmove.c: Likewise.
59618         * benchtests/bench-memset.c: Likewise.
59619         * benchtests/bench-rawmemchr.c: Likewise.
59620         * benchtests/bench-strcasecmp.c: Likewise.
59621         * benchtests/bench-strcasestr.c: Likewise.
59622         * benchtests/bench-strcat.c: Likewise.
59623         * benchtests/bench-strchr.c: Likewise.
59624         * benchtests/bench-strcmp.c: Likewise.
59625         * benchtests/bench-strcpy.c: Likewise.
59626         * benchtests/bench-strcpy_chk.c: Likewise.
59627         * benchtests/bench-strlen.c: Likewise.
59628         * benchtests/bench-strncasecmp.c: Likewise.
59629         * benchtests/bench-strncat.c: Likewise.
59630         * benchtests/bench-strncmp.c: Likewise.
59631         * benchtests/bench-strncpy.c: Likewise.
59632         * benchtests/bench-strnlen.c: Likewise.
59633         * benchtests/bench-strpbrk.c: Likewise.
59634         * benchtests/bench-strrchr.c: Likewise.
59635         * benchtests/bench-strspn.c: Likewise.
59636         * benchtests/bench-strstr.c: Likewise.
59638 2013-09-04  Will Newton  <will.newton@linaro.org>
59640         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
59642 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
59644         [BZ #15427]
59645         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
59646         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
59647         * math/libm-test.inc (lgamma_test_data): Add more tests.
59648         * sysdeps/i386/fpu/libm-test-ulps: Update.
59649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59651 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
59653         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
59654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59655         Add ifunc.
59656         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59657         Add strcmp-sse2-unaligned
59658         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
59660 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59662         * Versions.def (libc): Add GLIBC_2.19.
59664 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
59666         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
59667         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
59669 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
59671         [BZ #14155]
59672         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
59673         intermediate calculations in recurrence.
59674         (__ieee754_ynf): Likewise.
59675         * math/libm-test.inc (jn_test_data): Do not allow spurious
59676         underflow exception.  Add more tests.
59677         (yn_test_data): Add more tests.
59678         * sysdeps/i386/fpu/libm-test-ulps: Update.
59679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59681 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
59683         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
59685 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59687         * csu/init-first.c: Fix then/than typos.
59688         * locale/programs/ld-collate.c: Likewise.
59689         * locale/programs/linereader.h: Likewise.
59690         * manual/charset.texi: Likewise.
59691         * manual/filesys.texi: Likewise.
59692         * manual/stdio.texi: Likewise.
59693         * manual/string.texi: Likewise.
59694         * stdlib/fmtmsg.c: Likewise.
59695         * sysdeps/i386/stpncpy.S: Likewise.
59696         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59697         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59698         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59701 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
59703         * elf/dl-open.c: Fix typos.
59704         * iconvdata/gbbig5.c: Likewise.
59705         * iconvdata/iso-2022-jp.c: Likewise.
59706         * iconv/gconv_int.h: Likewise.
59707         * iconv/loop.c: Likewise.
59708         * nis/rpcsvc/nis.h: Likewise.
59709         * resolv/ns_name.c: Likewise.
59710         * stdio-common/vfscanf.c: Likewise.
59711         * streams/stropts.h: Likewise.
59712         * sunrpc/rpc_thread.c: Likewise.
59713         * sysdeps/i386/strpbrk.S: Likewise.
59714         * sysdeps/ieee754/k_standard.c: Likewise.
59715         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59717         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
59718         * sysdeps/mach/hurd/profil.c: Likewise.
59719         * sysdeps/s390/dl-procinfo.h: Likewise.
59720         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
59721         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
59722         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
59723         * sysdeps/x86_64/dl-trampoline.S: Likewise.
59724         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59726 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
59728         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
59729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
59731 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
59733         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
59734         aix specific files.
59735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
59736         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
59737         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
59738         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
59739         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
59740         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
59741         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
59742         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
59744 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59745             Roland McGrath  <roland@hack.frob.com>
59747         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
59748         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
59750 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59752         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
59753         __executable_start symbol instead of _start.
59755 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
59757         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
59758         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
59759         Move macros to...
59760         * sysdeps/gnu/ldsodefs.h: ... this new file.
59762         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
59763         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
59764         instead of ELFOSABI_LINUX.
59766         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
59767         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
59768         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
59769         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
59770         Likewise.
59771         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
59772         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
59773         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
59774         Likewise.
59775         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59776         (ibm_extended_long_double): Add ieee_nan member.
59777         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
59778         (do_test): New function.
59780         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
59781         TEST_TRUNC.
59782         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
59783         functions, renamed from truncdfsf_test, trunctfsf_test,
59784         trunctfdf_test.
59785         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
59786         functions.
59787         (do_test): Run all these.
59789 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
59791         * argp/argp-help.c: Fix typos.
59792         * argp/argp-parse.c: Likewise.
59793         * debug/backtracesyms.c: Likewise.
59794         * elf/elf.h: Likewise.
59795         * malloc/malloc.c: Likewise.
59796         * nis/nis_print.c: Likewise.
59797         * resolv/res_comp.c: Likewise.
59798         * stdlib/stdlib.h: Likewise.
59799         * sunrpc/clnt_tcp.c: Likewise.
59800         * sunrpc/clnt_udp.c: Likewise.
59801         * sunrpc/clnt_unix.c: Likewise.
59802         * sysdeps/unix/bsd/ptsname.c: Likewise.
59803         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
59804         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
59805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
59806         Likewise.
59807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
59808         Likewise.
59809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
59810         Likewise.
59811         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59813 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59815         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
59816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59818 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
59820         [BZ #15897]
59821         * dlfcn/Makefile (tests): Add bug-dl-leaf.
59822         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
59823         ($(objpfx)bug-dl-leaf): New rule.
59824         ($(objpfx)bug-dl-leaf.so): Likewise.
59825         ($(objpfx)bug-dl-leaf.out): Likewise.
59826         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
59827         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
59828         * dlfcn/bug-dl-leaf.c: New test.
59829         * dlfcn/bug-dl-leaf-lib.c: Likewise.
59830         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
59831         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
59832         (dlclose): Likewise.
59833         (dlmopen): Likewise.
59835 2013-08-27  Roland McGrath  <roland@hack.frob.com>
59837         * include/netdb.h [!_ISOMAC]:
59838         Don't include <tls.h>.
59839         (h_errno, __libc_h_errno): Move declaration and macros out of
59840         [_LIBC_REENTRANT].
59842         * include/resolv.h [_RESOLV_H_]:
59843         Don't include <tls.h>.
59844         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
59845         * resolv/res_libc.c: Don't include <tls.h>.
59846         (_res): Use __attribute__ ((nocommon)) in place of
59847         __attribute__ ((section (".bss"))).
59849         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
59850         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
59852         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
59854         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
59855         only under [SIOCGIFCONF && SIOCGIFNETMASK].
59857         * resolv/res_mkquery.c: Include <sys/time.h>.
59859         * inet/ifreq.c: Moved to ...
59860         * sysdeps/unix/ifreq.c: ... here.
59861         * inet/ifreq.c: New file, true stub version.
59863         * socket/sa_len.c: New file.
59864         * socket/Makefile (aux): Add it.
59865         * sysdeps/unix/sysv/linux/Makefile
59866         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
59867         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
59868         and #include <socket/sa_len.c>.
59869         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
59870         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
59872         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
59873         * bits/socket.h: ... here.
59875         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
59876         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
59877         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
59879 2013-08-27  Andreas Schwab  <schwab@suse.de>
59881         [BZ #15736]
59882         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
59883         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
59884         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
59885         * string/test-strcasecmp.c (test_main): Run tests in several
59886         locales.
59887         * string/test-strncasecmp.c (test_main): Likewise.
59889         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
59890         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
59891         to __strcasecmp_nonascii and __strncasecmp_nonascii.
59892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
59893         (__strncasecmp_ssse3) [PIC]: Likewise.
59895 2013-08-26  Roland McGrath  <roland@hack.frob.com>
59897         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
59899         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
59900         instead of explicitly declaring xdecrypt.
59901         * nis/nss_nis/nis-publickey.c: Likewise.
59903 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59905         [BZ #15890]
59906         * nscd/aicache.c: Include res_hconf.h.
59907         (addhstaiX): Initialize res_hconf.
59909 2013-08-26  Andreas Schwab  <schwab@suse.de>
59911         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
59912         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
59914 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59916         * nscd/aicache.c (addhstaiX): Fix indentation.
59918 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
59920         * configure.ac: Quote $build_pt_chown test.
59921         * configure: Regenerated.
59923 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
59925         [BZ #15532]
59926         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
59927         * math/s_cexpf.c (__cexpf): Likewise.
59928         * math/s_cexpl.c (__cexpl): Likewise.
59929         * math/libm-test.inc (cexp_test_data): Correct expected return
59930         value for NaN + i0.  Add another test.
59932 2013-08-22  David S. Miller  <davem@davemloft.net>
59934         * po/ca.po: Update Catalan translation from translation project.
59935         * po/uk.po: Add Ukrainian translations from translation project.
59937 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
59939         [BZ #15797]
59940         * math/s_fdim.c (__fdim): Check for infinite arguments if result
59941         is infinite, not alongside NaN test.
59942         * math/s_fdimf.c (__fdimf): Likewise.
59943         * math/s_fdiml.c (__fdiml): Likewise.
59944         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
59945         errno is unchanged.
59947 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
59949         * argp/argp-help.c: Fix typos.
59950         * crypt/speeds.c: Likewise.
59951         * csu/check_fds.c: Likewise.
59952         * elf/dl-load.c: Likewise.
59953         * elf/dl-open.c: Likewise.
59954         * elf/reldep3.c: Likewise.
59955         * elf/reldep.c: Likewise.
59956         * elf/sprof.c: Likewise.
59957         * iconv/iconv_charmap.c: Likewise.
59958         * iconv/skeleton.c: Likewise.
59959         * iconv/strtab.c: Likewise.
59960         * io/lockf64.c: Likewise.
59961         * libio/libioP.h: Likewise.
59962         * resolv/gai_notify.c: Likewise.
59963         * resolv/ns_name.c: Likewise.
59964         * resolv/ns_samedomain.c: Likewise.
59965         * resolv/res_send.c: Likewise.
59966         * stdlib/random.c: Likewise.
59967         * sunrpc/rpc/xdr.h: Likewise.
59968         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
59969         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59970         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59971         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59975         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59976         * sysdeps/mach/hurd/check_fds.c: Likewise.
59977         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59978         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59980         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59981         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59982         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59983         * sysdeps/pthread/aio_notify.c: Likewise.
59984         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
59985         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
59986         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
59987         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59988         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59990 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59992         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
59993         version if bit_Slow_SSE4_2 is set.
59994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59997 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59999         [BZ #15867]
60000         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60001         trampoline stack frame information.
60002         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60003         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60004         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60005         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60006         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60007         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60008         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60009         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60010         sa_flags value.
60011         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60012         interrupting a syscall and set with option SA_SIGINFO.
60014 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60016         [BZ #15531]
60017         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60018         argument is infinite.
60019         * math/s_cprojf.c (__cprojf): Likewise.
60020         * math/s_cprojl.c (__cprojl): Likewise.
60021         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60022         * math/libm-test.inc (cproj_test_data): Add more tests.
60024         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60026         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60027         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60028         size.  Use __ffs to determine corresponding shift.
60030 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60031             Roland McGrath  <roland@hack.frob.com>
60033         * Makefile (INSTALL): Remove trailing blank lines from output of
60034         makeinfo.
60036 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60038         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60039         Align 32 bit compat elf_greg to 8 bytes.
60041 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60043         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60045 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60047         * string/strcoll_l.c (coll_seq): New structure.
60048         (get_next_seq_cached): New function.
60049         (get_next_seq): New function.
60050         (do_compare): New function.
60051         (STRCOLL): Use GNU style definition.  Simplify implementation
60052         by using get_next_seq, get_next_seq_cached and do_compare.
60054 2013-08-16  Florian Weimer  <fweimer@redhat.com>
60056         [BZ #14699]
60057         CVE-2013-4237
60058         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
60059         member.
60060         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
60061         member.
60062         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
60063         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
60064         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
60065         conditional.
60066         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
60067         GETDENTS_64BIT_ALIGNED.
60068         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60069         * manual/filesys.texi (Reading/Closing Directory): Document
60070         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
60071         strongly.
60072         * manual/conf.texi (Limits for Files): Add portability note to
60073         NAME_MAX, PATH_MAX.
60074         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
60076 2013-08-13  Andreas Schwab  <schwab@suse.de>
60078         [BZ #15749]
60079         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
60080         of fabs.
60081         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
60082         LDBL_MAX_EXP >= 16384]: Add tests for it.
60084 2013-08-12  David S. Miller  <davem@davemloft.net>
60086         * version.h (RELEASE): Set to "development".
60087         (VERSION): Set to "2.18.90".
60088         * NEWS: Add 2.19 section.
60090 2013-08-03  David S. Miller  <davem@davemloft.net>
60092         * po/ko.po: Update Korean translation from translation project.
60094 2013-08-01  David S. Miller  <davem@davemloft.net>
60096         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
60097         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
60098         Bilka.
60100 2013-07-30  David S. Miller  <davem@davemloft.net>
60102         * po/fr.po: Update French translation from translation project.
60104 2013-07-28  David S. Miller  <davem@davemloft.net>
60106         * po/cs.po: Update Czech translation from translation project.
60108         * po/sv.po: Update Swedish translation from translation project.
60110 2013-07-27  David S. Miller  <davem@davemloft.net>
60112         * po/eo.po: Update Esperanto translation from translation project.
60114         * po/vi.po: Update Vietnamese translation from translation project.
60116         * po/de.po: Update German translation from translation project.
60118 2013-07-26  David S. Miller  <davem@davemloft.net>
60120         * po/bg.po: Update Bulgarian translation from translation project.
60122         * po/nl.po: Update Dutch translation from translation project.
60123         * po/pl.po: Update Polish translation from translation project.
60124         * po/ru.po: Update Russian translation from translation project.
60126 2013-07-24  David S. Miller  <davem@davemloft.net>
60128         * po/libc.pot: Update.
60130 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60132         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
60133         variable page size.
60134         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
60135         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
60136         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
60138 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60140         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
60142 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60143             Andreas Schwab  <schwab@suse.de>
60144             Roland McGrath  <roland@hack.frob.com>
60145             Joseph Myers  <joseph@codesourcery.com>
60146             Carlos O'Donell  <carlos@redhat.com>
60148         [BZ #15755]
60149         * config.h.in: Define HAVE_PT_CHOWN.
60150         * config.make.in (build-pt-chown): New variable.
60151         * configure.in (--enable-pt_chown): New configure option.
60152         * configure: Regenerate.
60153         * login/Makefile: Include Makeconfig.  Build pt_chown only if
60154         build-pt-chown is enabled.
60155         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
60156         pt_chown to fix pty ownership.
60157         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
60158         CLOSE_ALL_FDS.
60159         * manual/install.texi (Configuring and compiling): Mention
60160         --enable-pt_chown. Add @findex for grantpt.
60161         * INSTALL: Regenerate.
60163 2013-07-20  David S. Miller  <davem@davemloft.net>
60165         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
60166         difference between 32-bit and 64-bit.
60168 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
60170         [BZ #15711]
60171         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
60172         Avoid system header dependency with -ffreestanding.
60173         ($(objpfx)bits/syscall%d): Likewise.
60175 2013-07-13  David S. Miller  <davem@davemloft.net>
60177         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
60178         underflows from atanl/atan2l due to bug 15319.
60179         (casinh_test_data): Likewise.
60181 2013-07-07  David S. Miller  <davem@davemloft.net>
60183         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
60185 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
60187         * sysdeps/i386/fpu/libm-test-ulps: Update.
60188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60190 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60192         * configure.in (--enable-lock-elision): Fix message text.
60193         * INSTALL: Regenerate.
60194         * configure: Regenerate.
60196 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60200 2013-07-03  Andreas Jaeger  <aj@suse.de>
60202         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
60203         define.
60204         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
60205         (ptrace_peeksiginfo_args): Add.
60206         (__ptrace_peeksiginfo_flags): Add.
60207         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60208         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60211 2013-07-03  Allan McRae  <allan@archlinux.org>
60213         * sysdeps/i386/fpu/libm-test-ulps: Update.
60215 2013-07-02  David S. Miller  <davem@davemloft.net>
60217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60219 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
60221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60223 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60225         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
60226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60228 2013-07-02  Andi Kleen <ak@linux.intel.com>
60230         * config.h.in (ENABLE_LOCK_ELISION): Add.
60231         * configure.in (--enable-lock-elision): Add option.
60232         * manual/install.texi: Document --enable lock elision.
60233         * configure: Regenerate
60234         * INSTALL: Regenerate.
60236 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
60238         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
60239         SSE4.2 strcasecmp for libc.a.
60240         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
60242 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
60244         [BZ #13304]
60245         * soft-fp/op-common.h (_FP_FMA): New macro.
60246         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
60247         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
60248         (_FP_MUL_MEAT_1_imm): ... here.
60249         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
60250         (_FP_MUL_MEAT_1_wide): ... here.
60251         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
60252         (_FP_MUL_MEAT_1_hard): ... here.
60253         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
60254         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
60255         (_FP_MUL_MEAT_2_wide): ... here.
60256         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
60257         (_FP_MUL_MEAT_2_wide_3mul): ... here.
60258         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
60259         (_FP_MUL_MEAT_2_gmp): ... here.
60260         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
60261         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
60262         (_FP_MUL_MEAT_4_wide): ... here.
60263         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
60264         (_FP_MUL_MEAT_4_gmp): ... here.
60265         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
60266         (_FP_WFRACBITS_DW_S): Likewise.
60267         (_FP_WFRACXBITS_DW_S): Likewise.
60268         (_FP_HIGHBIT_DW_S): Likewise.
60269         (FP_FMA_S): Likewise.
60270         (_FP_FRAC_HIGH_DW_S): Likewise.
60271         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
60272         (_FP_WFRACBITS_DW_D): Likewise.
60273         (_FP_WFRACXBITS_DW_D): Likewise.
60274         (_FP_HIGHBIT_DW_D): Likewise.
60275         (FP_FMA_D): Likewise.
60276         (_FP_FRAC_HIGH_DW_D): Likewise.
60277         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
60278         (_FP_WFRACBITS_DW_E): Likewise.
60279         (_FP_WFRACXBITS_DW_E): Likewise.
60280         (_FP_HIGHBIT_DW_E): Likewise.
60281         (FP_FMA_E): Likewise.
60282         (_FP_FRAC_HIGH_DW_E): Likewise.
60283         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
60284         (_FP_WFRACBITS_DW_Q): Likewise.
60285         (_FP_WFRACXBITS_DW_Q): Likewise.
60286         (_FP_HIGHBIT_DW_Q): Likewise.
60287         (FP_FMA_Q): Likewise.
60288         (_FP_FRAC_HIGH_DW_Q): Likewise.
60289         * soft-fp/fmasf4.c: New file.
60290         * soft-fp/fmadf4.c: Likewise.
60291         * soft-fp/fmatf4.c: Likewise.
60293 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60296         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
60297         Silvermont.
60298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
60299         macro.
60300         (index_Slow_SSE4_2): Likewise.
60301         (index_Prefer_PMINUB_for_stringop): Likewise.
60302         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
60303         bit_Slow_SSE4_2 is set.
60304         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60305         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60307 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60309         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
60310         rtld_global._dl_hwcap2.
60311         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
60312         POWER8.
60313         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
60314         POWER8 feature descriptions defined in _dl_hwcap2.
60315         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
60316         string handling for POWER8 feature bits.
60317         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
60318         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
60319         _dl_powerpc_cap_flags.
60320         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
60321         * sysdeps/powerpc/rtld-global-offsets.sym
60322         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
60323         _dl_hwcap2 in the rtld_global_ro structure.
60325 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60327         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
60328         hardware capabilities in support of AT_HWCAP2.
60329         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
60330         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
60331         GLRO(dl_hwcap2).
60332         (_dl_show_auxv): Add support for calling _dl_procinfo to display
60333         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
60334         explicitly the unknown a_type display mechanism is used.
60335         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
60336         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
60337         struct member.
60338         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
60339         to macro prototype for AT_HWCAP2 support.
60340         * sysdeps/i386/dl-procinfo.h: Likewise.
60341         * sysdeps/s390/dl-procinfo.h: Likewise.
60342         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
60343         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
60344         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
60345         return -1 for unknown a_type display fallback.
60346         * sysdeps/sparc/dl-procinfo.h: Likewise.
60347         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
60348         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
60350 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
60352         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
60353         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
60355 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
60357         [BZ #12492]
60358         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
60359         mprotect making __stack_prot writable.
60361 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
60362             Joseph Myers  <joseph@codesourcery.com>
60364         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
60365         as being properly aligned.
60367 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
60369         * dlfcn/modstatic5.c: New file.
60370         * dlfcn/tststatic5.c: New file.
60371         * dlfcn/Makefile (tests): Add tststatic5.
60372         (tests-static): Likewise.
60373         (modules-names): Add modstatic5.
60374         (tststatic5-ENV): New variable.
60375         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
60377         [BZ #15022]
60378         * elf/dl-support.c (_dl_main_map): New variable.
60379         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
60380         (_dl_nns, _dl_load_adds): Set to 1.
60381         (_dl_initial_searchlist): Refer to _dl_main_map.
60382         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
60383         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60384         call to _dl_get_origin.
60385         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
60386         around call_map.
60387         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
60388         * dlfcn/modstatic3.c: New file.
60389         * dlfcn/tststatic3.c: New file.
60390         * dlfcn/tststatic4.c: New file.
60391         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
60392         (tests-static): Likewise.
60393         (modules-names): Add modstatic3.
60394         (tststatic3-ENV, tststatic4-ENV): New variables.
60395         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
60396         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
60398 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
60400         * configure.in (CC): Require GCC version 4.4 or later.
60401         * configure: Regenerated.
60402         * manual/install.texi (Tools for Compilation): Update GCC version
60403         requirement.
60404         * INSTALL: Regenerated.
60406 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60408         [BZ #15674]
60409         * string/test-memcmp.c (check2): New.
60410         (main): Call check2.
60412         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
60414 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
60416         [BZ #15022]
60417         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
60418         over to...
60419         (dl_open_worker) [!SHARED]: ... here.
60421 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60423         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
60425 2013-06-25  Richard Henderson  <rth@redhat.com>
60427         * locale/programs/locarchive.c: Include <libc-internal.h>
60429 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
60431         * manual/texinfo.tex: Update to version 2013-06-21.17, with
60432         trailing whitespace removed.
60434 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60436         [BZ #10283]
60437         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
60438         * locale/programs/locarchive.c: Include libc-mmap.h.
60439         (prepare_address_space): Take two new outputs (the mmap base and len).
60440         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
60441         values.
60442         (create_archive): Declare new mmap base and len values for
60443         prepare_address_space, and store the result in ah.
60444         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
60445         (enlarge_archive): If ah->mmap_base is not NULL, use that and
60446         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60447         Declare new mmap base and len values for
60448         prepare_address_space, and store the result in new_ah.
60449         (open_archive): Declare new mmap base and len values for
60450         prepare_address_space, and store the result in ah.
60451         (close_archive): If ah->mmap_base is not NULL, use that and
60452         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
60453         * sysdeps/generic/libc-mmap.h: New file.
60455 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
60457         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
60458         (ALIGN_UP): Likewise.
60459         (PTR_ALIGN_DOWN): Likewise.
60460         (PTR_ALIGN_UP): Likewise.
60462 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60464         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60465         entry mapped to PPC_PLATFORM_POWER8.
60466         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
60467         POWER8.
60468         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
60469         (_dl_string_platform): Add case for exporting platform position for
60470         POWER8.
60471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
60472         search path to sysdeps/powerpc/powerpc32/power8 directory.
60473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
60474         search path to sysdeps/powerpc/powerpc64/power8 directory.
60475         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
60476         power7 directories.
60477         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
60478         power7 directories.
60480 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60482         * INSTALL: Regenerate.
60484         * nscd/connections.c (nscd_init): Fix comment.
60486 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
60488         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
60490         [BZ #15667]
60491         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
60492         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
60494 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60496         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
60497         DL_DST_REQ_STATIC.
60498         (DL_DST_REQ_STATIC): Remove macro.
60500 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
60502         [BZ #7006]
60503         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
60504         with a shift of 0 bits.
60506 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
60508         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
60509         $(tststatic-ENV).
60511 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60513         [BZ #15655]
60514         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
60516 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60518         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
60519         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
60520         accepts -fno-tree-loop-distribute-patterns.
60521         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
60522         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
60523         recursive call.
60524         * string/memset.c (memset): Likewise.
60525         * string/test-memmove.c (simple_memmove): Disable loop transformation
60526         to library calls.
60527         * string/test-memset.c (simple_memset): Likewise.
60528         * benchtests/bench-memmove.c (simple_memmove): Likewise.
60529         * benchtests/bench-memset.c (simple_memset): Likewise.
60530         * configure: Regenerated.
60532 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
60534         * math/test-misc.c (main): Ignore fesetround failure when failures
60535         of subsequent rounding tests would be ignored.
60537         [BZ #15654]
60538         * math/fedisblxcpt.c (fedisableexcept): Return 0.
60539         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
60540         * math/fegetenv.c (__fegetenv): Return 0.
60541         * math/fegetexcept.c (fegetexcept): Return 0.
60542         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
60543         FE_TONEAREST.
60544         * math/feholdexcpt.c (feholdexcept): Return 0.
60545         * math/fesetenv.c (__fesetenv): Return 0.
60546         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
60547         argument FE_TONEAREST.
60548         * math/feupdateenv.c (__feupdateenv): Return 0.
60549         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
60551 2013-06-18  Roland McGrath  <roland@hack.frob.com>
60553         * elf/rtld-Rules (rtld-compile-command.S): New variable.
60554         (rtld-compile-command.s, rtld-compile-command.c): New variables.
60555         ($(objpfx)rtld-%.os rules): Use them.
60557 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60559         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
60560         fields.
60562 2013-06-17  Roland McGrath  <roland@hack.frob.com>
60564         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
60565         length of target pattern, then descending length of dependency pattern.
60566         * configure.in (AWK): Require gawk 3.1.2 or newer.
60567         * manual/install.texi (Tools for Compilation): Say that we do.
60568         * configure: Regenerated.
60570         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
60571         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
60572         * scripts/sysd-rules.awk: ... this new script.
60573         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
60574         than a glob-style pattern.
60576 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
60578         * math/test-misc.c (main): Do not treat incorrectly rounded
60579         conversions as failure unless ROUNDING_TESTS passes.
60581 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
60583         [BZ #15631]
60584         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
60585         restore exception state around main square root computation, then
60586         check for inexactness explicitly.
60588         * math/libm-test.inc (fma_test_data): Add another test.
60590 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60592         * manual/threads.texi (Non-POSIX Extensions): New document
60593         node.  Document pthread_getattr_default_np and
60594         pthread_setattr_default_np.
60596         * Versions.def (libpthread): Add GLIBC_2.18.
60597         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
60598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60599         Likewise.
60600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60601         Likewise.
60602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60603         Likewise.
60604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60605         Likewise.
60606         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
60607         Likewise.
60608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
60609         Likewise.
60610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
60611         Likewise.
60612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60613         Likewise.
60614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60615         Likewise.
60617 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60620         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
60622 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60623             H.J. Lu  <hjl.tools@gmail.com>
60625         [BZ #15627]
60626         * sysdeps/x86_64/rtld-memset.c: Remove file.
60627         * sysdeps/x86_64/rtld-memset.S: New file.
60629 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
60631         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
60632         (test_in_one_mode): Take arguments for whether the rounding mode
60633         is supported for each floating-point type.
60634         (do_test): Pass new arguments to test_in_one_mode using
60635         ROUNDING_TESTS.
60637 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60639         * posix/tst-waitid.c (do_test): Distinguish different instances of
60640         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
60641         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
60642         before entering the kernel for waitpid.
60644 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60646         * NEWS: Fix note on clock function precision.  Text by Roland
60647         McGrath.
60649 2013-06-13  Roland McGrath  <roland@hack.frob.com>
60651         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
60652         it into place only when and if the sanity check passes.
60654 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
60656         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
60657         output for whether conversion result is exact.  Take argument
60658         indicating whether type is IBM long double.
60659         (round_for_all): Change need_exact field to ibm_ld.
60660         * stdlib/tst-strtod-round.c (struct exactness): New type.
60661         (struct test): Change bool ld_ok field to struct exactness exact.
60662         (TEST): Update all definitions for change to field.
60663         (tests): Regenerate array contents.
60664         (test_in_one_mode): Take pointer to new field instead of old ld_ok
60665         field value.  Check for IBM long double here.
60666         (do_test): Update calls to test_in_one_mode.
60668 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60670         [BZ #12515]
60671         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
60672         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
60674 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60676         [BZ #15605]
60677         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
60678         generated by the compiler on loop optimizations.
60679         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
60680         general definitions.
60682 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
60684         * math/bug-nextafter.c: Include <math-tests.h>.
60685         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60686         the relevant type.
60687         * math/bug-nexttoward.c: Include <math-tests.h>.
60688         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60689         the relevant type.
60690         * math/test-misc.c: Include <math-tests.h>.
60691         (main): Only test for exceptions if EXCEPTION_TESTS is true for
60692         the relevant type.
60694 2013-06-12  Andreas Jaeger  <aj@suse.de>
60696         * po/ia.po: Update Interlingua translation from translation
60697         project.
60699 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60701         * include/fenv.h: Include stdbool.h.
60702         (struct rm_ctx): New structure.
60703         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
60704         Define macro.
60705         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
60706         (SET_RESTORE_ROUNDF): Likewise.
60707         (SET_RESTORE_ROUNDL): Likewise.
60708         (SET_RESTORE_ROUND_NOEX): Likewise.
60709         (SET_RESTORE_ROUND_NOEXF): Likewise.
60710         (SET_RESTORE_ROUND_NOEXL): Likewise.
60711         (SET_RESTORE_ROUND_53BIT): Likewise.
60712         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
60713         (libc_feresetround_noexf_ctx): Likewise.
60714         (libc_feresetround_noexl_ctx): Likewise.
60715         (libc_feholdsetround_53bit_ctx): Likewise.
60716         (libc_feresetround_53bit_ctx): Likewise.
60717         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
60718         (libc_feholdexcept_setround_sse_ctx): New function.
60719         (libc_fesetenv_sse_ctx): Likewise.
60720         (libc_feupdateenv_sse_ctx): Likewise.
60721         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
60722         (libc_feholdexcept_setround_387_ctx): Likewise.
60723         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
60724         (libc_feholdsetround_387_prec_ctx): Likewise.
60725         (libc_feholdsetround_387_ctx): Likewise.
60726         (libc_feholdsetround_387_53bit_ctx): Likewise.
60727         (libc_feholdsetround_sse_ctx): Likewise.
60728         (libc_feresetround_sse_ctx): Likewise.
60729         (libc_feresetround_387_ctx): Likewise.
60730         (libc_feupdateenv_387_ctx): Likewise.
60731         (libc_feholdexcept_setroundf_ctx): Define macro.
60732         (libc_fesetenvf_ctx): Likewise.
60733         (libc_feupdateenvf_ctx): Likewise.
60734         (libc_feholdsetroundf_ctx): Likewise.
60735         (libc_feresetroundf_ctx): Likewise.
60736         (libc_feholdexcept_setround_ctx): Likewise.
60737         (libc_fesetenv_ctx): Likewise.
60738         (libc_feupdateenv_ctx): Likewise.
60739         (libc_feholdsetround_ctx): Likewise.
60740         (libc_feresetround_ctx): Likewise.
60741         (libc_feholdexcept_setroundl_ctx): Likewise.
60742         (libc_feupdateenvl_ctx): Likewise.
60743         (libc_feholdsetroundl_ctx): Likewise.
60744         (libc_feresetroundl_ctx): Likewise.
60745         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
60746         (libc_feresetround_53bit_ctx): Likewise.
60748 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60750         * locale/iso-639.def: Convert to UTF-8.
60752 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
60754         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
60755         (EXCEPTION_TESTS_double): Likewise.
60756         (EXCEPTION_TESTS_long_double): Likewise.
60757         (EXCEPTION_TESTS): Likewise.
60758         * math/libm-test.inc (test_exceptions): Only test exceptions if
60759         EXCEPTION_TESTS (FLOAT).
60761 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60763         * benchtests/Makefile (string-bench): Add strcpy_chk and
60764         stpcpy_chk.
60765         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
60766         * benchtests/bench-stpcpy_chk.c: New file.
60767         * benchtests/bench-strcpy_chk-ifunc.c: New file.
60768         * benchtests/bench-strcpy_chk.c: New file.
60769         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
60770         code.
60771         (do_test): Likewise.
60773 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60775         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
60776         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
60777         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
60778         with tabs where appropriate.
60779         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
60780         dl-procinfo.h.
60781         [PPC_PLATFORM_PPC440]: Likewise.
60782         [PPC_PLATFORM_PPC464]: Likewise.
60783         [PPC_PLATFORM_PPC476]: Likewise.
60784         (_dl_string_platform): Add support for detecting ppc405, ppc440,
60785         ppc464, and ppc476 platform strings merging from ports/
60786         dl-procinfo.h.
60788 2013-06-11  Andreas Schwab  <schwab@suse.de>
60790         [BZ #14991]
60791         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
60792         (from_ucs4_idx): Regenerate.
60793         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
60794         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
60795         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
60796         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
60797         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
60798         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
60799         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
60800         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
60801         from FROM_LOOP and TO_LOOP specific macros.
60802         (BODY): Handle combining characters.
60803         * iconvdata/BIG5HKSCS.irreversible: Update.
60804         * iconvdata/BIG5HKSCS.precomposed: New file.
60805         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
60806         characters.
60807         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
60809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60811         * include/sys/time.h: Fix indentation and add copyright header.
60813         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
60814         (do_test): Likewise.
60815         * string/test-memchr.c (do_one_test): Likewise.
60816         (do_test): Likewise.
60817         * string/test-memcmp.c (do_one_test): Likewise.
60818         (do_test): Likewise.
60819         * string/test-memcpy.c (do_one_test): Likewise.
60820         (do_test): Likewise.
60821         * string/test-memmem.c (do_one_test): Likewise.
60822         (do_test): Likewise.
60823         (do_random_tests): Likewise.
60824         * string/test-memmove.c (do_one_test): Likewise.
60825         (do_test): Likewise.
60826         * string/test-memset.c (do_one_test): Likewise.
60827         (do_test): Likewise.
60828         * string/test-rawmemchr.c (do_one_test): Likewise.
60829         (do_test): Likewise.
60830         * string/test-strcasecmp.c (do_one_test): Likewise.
60831         (do_test): Likewise.
60832         * string/test-strcasestr.c (do_one_test): Likewise.
60833         (do_test): Likewise.
60834         * string/test-strcat.c (do_one_test): Likewise.
60835         (do_test): Likewise.
60836         * string/test-strchr.c (do_one_test): Likewise.
60837         (do_test): Likewise.
60838         * string/test-strcmp.c (do_one_test): Likewise.
60839         (do_test): Likewise.
60840         * string/test-strcpy.c (do_one_test): Likewise.
60841         (do_test): Likewise.
60842         * string/test-string.h: Likewise.
60843         (test_init): Likewise.
60844         * string/test-strlen.c (do_one_test): Likewise.
60845         (do_test): Likewise.
60846         * string/test-strncasecmp.c (do_one_test): Likewise.
60847         (do_test): Likewise.
60848         * string/test-strncat.c (do_one_test): Likewise.
60849         (do_test): Likewise.
60850         * string/test-strncmp.c (do_one_test): Likewise.
60851         (do_test_limit): Likewise.
60852         (do_test): Likewise.
60853         * string/test-strncpy.c (do_one_test): Likewise.
60854         (do_test): Likewise.
60855         * string/test-strnlen.c (do_one_test): Likewise.
60856         (do_test): Likewise.
60857         * string/test-strpbrk.c (do_one_test): Likewise.
60858         (do_test): Likewise.
60859         * string/test-strrchr.c (do_one_test): Likewise.
60860         (do_test): Likewise.
60861         * string/test-strspn.c (do_one_test): Likewise.
60862         (do_test): Likewise.
60863         * string/test-strstr.c (do_one_test): Likewise.
60864         (do_test): Likewise.
60866         * benchtests/Makefile (string-bench): Add string benchmarks.
60867         * benchtests/bench-bcopy-ifunc.c: New file.
60868         * benchtests/bench-bcopy.c: New file.
60869         * benchtests/bench-bzero-ifunc.c: New file.
60870         * benchtests/bench-bzero.c: New file.
60871         * benchtests/bench-memccpy-ifunc.c: New file.
60872         * benchtests/bench-memccpy.c: New file.
60873         * benchtests/bench-memchr-ifunc.c: New file.
60874         * benchtests/bench-memchr.c: New file.
60875         * benchtests/bench-memcmp-ifunc.c: New file.
60876         * benchtests/bench-memcmp.c: New file.
60877         * benchtests/bench-memmem-ifunc.c: New file.
60878         * benchtests/bench-memmem.c: New file.
60879         * benchtests/bench-memmove-ifunc.c: New file.
60880         * benchtests/bench-memmove.c: New file.
60881         * benchtests/bench-mempcpy-ifunc.c: New file.
60882         * benchtests/bench-mempcpy.c: New file.
60883         * benchtests/bench-memset-ifunc.c: New file.
60884         * benchtests/bench-memset.c: New file.
60885         * benchtests/bench-rawmemchr-ifunc.c: New file.
60886         * benchtests/bench-rawmemchr.c: New file.
60887         * benchtests/bench-stpcpy-ifunc.c: New file.
60888         * benchtests/bench-stpcpy.c: New file.
60889         * benchtests/bench-stpncpy-ifunc.c: New file.
60890         * benchtests/bench-stpncpy.c: New file.
60891         * benchtests/bench-strcasecmp-ifunc.c: New file.
60892         * benchtests/bench-strcasecmp.c: New file.
60893         * benchtests/bench-strcasestr-ifunc.c: New file.
60894         * benchtests/bench-strcasestr.c: New file.
60895         * benchtests/bench-strcat-ifunc.c: New file.
60896         * benchtests/bench-strcat.c: New file.
60897         * benchtests/bench-strchr-ifunc.c: New file.
60898         * benchtests/bench-strchr.c: New file.
60899         * benchtests/bench-strchrnul-ifunc.c: New file.
60900         * benchtests/bench-strchrnul.c: New file.
60901         * benchtests/bench-strcmp-ifunc.c: New file.
60902         * benchtests/bench-strcmp.c: New file.
60903         * benchtests/bench-strcpy-ifunc.c: New file.
60904         * benchtests/bench-strcpy.c: New file.
60905         * benchtests/bench-strcspn-ifunc.c: New file.
60906         * benchtests/bench-strcspn.c: New file.
60907         * benchtests/bench-strlen-ifunc.c: New file.
60908         * benchtests/bench-strlen.c: New file.
60909         * benchtests/bench-strncasecmp-ifunc.c: New file.
60910         * benchtests/bench-strncasecmp.c: New file.
60911         * benchtests/bench-strncat-ifunc.c: New file.
60912         * benchtests/bench-strncat.c: New file.
60913         * benchtests/bench-strncmp-ifunc.c: New file.
60914         * benchtests/bench-strncmp.c: New file.
60915         * benchtests/bench-strncpy-ifunc.c: New file.
60916         * benchtests/bench-strncpy.c: New file.
60917         * benchtests/bench-strnlen-ifunc.c: New file.
60918         * benchtests/bench-strnlen.c: New file.
60919         * benchtests/bench-strpbrk-ifunc.c: New file.
60920         * benchtests/bench-strpbrk.c: New file.
60921         * benchtests/bench-strrchr-ifunc.c: New file.
60922         * benchtests/bench-strrchr.c: New file.
60923         * benchtests/bench-strspn-ifunc.c: New file.
60924         * benchtests/bench-strspn.c: New file.
60925         * benchtests/bench-strstr-ifunc.c: New file.
60926         * benchtests/bench-strstr.c: New file.
60928         * benchtests/Makefile: Disable parallel execution of targets.
60929         (string-bench): Add memcpy.
60930         (benchset): New variable to store a list of benchmark sets.
60931         (bench-func): Renamed from bench.
60932         (bench-set): New target.
60933         (bench): Depend on bench-func and bench-set.
60934         * benchtests/README: Add section on benchmark sets.
60935         * benchtests/bench-memcpy-ifunc.c: New file.
60936         * benchtests/bench-memcpy.c: New file.
60937         * benchtests/bench-string.h: New file.
60939 2013-06-11  Andreas Schwab  <schwab@suse.de>
60941         [BZ #15577]
60942         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
60943         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
60944         values in the triple.
60945         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
60946         terminator in the group key.
60948 2013-06-11  Andreas Jaeger  <aj@suse.de>
60950         * po/zh_TW.po: Update Chinese (traditional) translation from
60951         translation project.
60953 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60955         * include/time.h (__clock_gettime): Add libc_hidden_proto.
60956         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
60957         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
60958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60959         (clock_getcpuclockid): Likewise.
60960         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
60961         Add weak_alias and libc_hidden_def.
60962         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
60963         * rt/clock_gettime.c (clock_gettime): Rename to
60964         __clock_gettime.  Add weak_alias and libc_hidden_def.
60965         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
60966         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
60967         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
60968         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
60969         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
60970         Likewise.
60971         * rt/clock_settime.c (clock_settime): Rename to
60972         __clock_settime.  Add weak_alias and libc_hidden_def.
60973         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
60975 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
60977         * mach/err_boot.sub: Remove trailing whitespace.
60978         * mach/err_ipc.sub: Likewise.
60979         * mach/err_mach.sub: Likewise.
60981         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
60982         (ROUNDING_TESTS_double): Likewise.
60983         (ROUNDING_TESTS_long_double): Likewise.
60984         (ROUNDING_TESTS): Likewise.
60985         * math/libm-test.inc: Include <math-tests.h>.
60986         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
60987         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60988         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60989         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60991 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60993         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
60994         of assigning.
60996 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
60998         * sysdeps/gnu/errlist.awk: Do not generate space at end of
60999         otherwise empty TRANS lines.
61000         * sysdeps/gnu/errlist.c: Regenerated.
61002         * catgets/gencat.c (error_print): Use (void) in function
61003         definition.
61004         * crypt/crypt_util.c (__init_des): Likewise.
61005         * crypt/speeds.c (Stop): Likewise.
61006         (main): Likewise.
61007         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61008         * inet/ruserpass.c (token): Likewise.
61009         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61010         * intl/localealias.c (extend_alias_table): Likewise.
61011         * intl/plural-exp.c (init_germanic_plural): Likewise.
61012         * libio/fcloseall.c (__fcloseall): Likewise.
61013         * libio/genops.c (_IO_flush_all): Likewise.
61014         (_IO_flush_all_linebuffered): Likewise.
61015         (_IO_cleanup): Likewise.
61016         (_IO_iter_begin): Likewise.
61017         (_IO_iter_end): Likewise.
61018         (_IO_list_lock): Likewise.
61019         (_IO_list_unlock): Likewise.
61020         (_IO_list_resetlock): Likewise.
61021         * libio/getchar.c (getchar): Likewise.
61022         * libio/getchar_u.c (getchar_unlocked): Likewise.
61023         * libio/getwchar.c (getwchar): Likewise.
61024         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61025         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61026         * login/getpt.c (__getpt): Likewise.
61027         * login/tst-utmp.c (main): Likewise.
61028         * malloc/hooks.c (__malloc_check_init): Likewise.
61029         * malloc/malloc.c (__malloc_stats): Likewise.
61030         * malloc/mtrace.c (tr_break): Likewise.
61031         (mtrace): Likewise.
61032         (muntrace): Likewise.
61033         * misc/fstab.c (endfsent): Likewise.
61034         * misc/getclktck.c (__getclktck): Likewise.
61035         * misc/getdtsz.c (__getdtablesize): Likewise.
61036         * misc/gethostid.c (gethostid): Likewise.
61037         * misc/getpagesize.c (__getpagesize): Likewise.
61038         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61039         (__get_nprocs): Likewise.
61040         (__get_phys_pages): Likewise.
61041         (__get_avphys_pages): Likewise.
61042         * misc/getttyent.c (getttyent): Likewise.
61043         (setttyent): Likewise.
61044         (endttyent): Likewise.
61045         * misc/getusershell.c (getusershell): Likewise.
61046         (endusershell): Likewise.
61047         (setusershell): Likewise.
61048         (initshells): Likewise.
61049         * misc/hsearch.c (__hdestroy): Likewise.
61050         * misc/sync.c (sync): Likewise.
61051         * misc/syslog.c (closelog_internal): Likewise.
61052         (closelog): Likewise.
61053         * misc/ttyslot.c (ttyslot): Likewise.
61054         * misc/vhangup.c (vhangup): Likewise.
61055         * posix/fork.c (__fork): Likewise.
61056         * posix/getegid.c (__getegid): Likewise.
61057         * posix/geteuid.c (__geteuid): Likewise.
61058         * posix/getgid.c (__getgid): Likewise.
61059         * posix/getpid.c (__getpid): Likewise.
61060         * posix/getppid.c (__getppid): Likewise.
61061         * posix/getuid.c (__getuid): Likewise.
61062         * posix/pause.c (pause): Likewise.
61063         * posix/setpgrp.c (setpgrp): Likewise.
61064         * posix/setsid.c (__setsid): Likewise.
61065         * posix/test-vfork.c (noop): Likewise.
61066         * resolv/gethnamaddr.c (_endhtent): Likewise.
61067         (_gethtent): Likewise.
61068         (ht_endhostent): Likewise.
61069         (gethostent): Likewise.
61070         (dns_service): Likewise.
61071         * stdlib/drand48.c (drand48): Likewise.
61072         * stdlib/lrand48.c (lrand48): Likewise.
61073         * stdlib/mrand48.c (mrand48): Likewise.
61074         * stdlib/rand.c (rand): Likewise.
61075         * stdlib/random.c (__random): Likewise.
61076         * stdlib/setenv.c (clearenv): Likewise.
61077         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
61078         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
61079         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
61080         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
61081         (__get_nprocs): Likewise.
61082         (__get_phys_pages): Likewise.
61083         (__get_avphys_pages): Likewise.
61084         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
61085         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
61086         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
61087         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
61088         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
61089         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
61090         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
61091         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
61092         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
61093         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
61094         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
61095         * sysdeps/mach/hurd/sync.c (sync): Likewise.
61096         * sysdeps/posix/clock.c (clock): Likewise.
61097         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
61098         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
61099         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
61100         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
61101         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
61102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
61103         (__get_nprocs_conf): Likewise.
61104         (__get_phys_pages): Likewise.
61105         (__get_avphys_pages): Likewise.
61106         * time/clock.c (clock): Likewise.
61107         * time/tzset.c (__tzname_max): Likewise.
61109 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
61111         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
61112         (__bswap_32): Do not use "register".
61113         * crypt/crypt.c (_ufc_doit_r): Likewise.
61114         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
61115         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
61116         * gmon/gmon.c (__monstartup): Likewise.
61117         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
61118         * hurd/hurdmalloc.c (more_memory): Likewise.
61119         (malloc): Likewise.
61120         (free): Likewise.
61121         (realloc): Likewise.
61122         (malloc_fork_prepare): Likewise.
61123         (malloc_fork_parent): Likewise.
61124         (malloc_fork_child): Likewise.
61125         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
61126         (_svcauth_des): Likewise.
61127         * inet/inet_lnaof.c (inet_lnaof): Likewise.
61128         * inet/inet_net.c (inet_network): Likewise.
61129         * inet/inet_netof.c (inet_netof): Likewise.
61130         * inet/rcmd.c (__validuser2_sa): Likewise.
61131         * io/fts.c (fts_open): Likewise.
61132         (fts_load): Likewise.
61133         (fts_close): Likewise.
61134         (fts_read): Likewise.
61135         (fts_children): Likewise.
61136         (fts_build): Likewise.
61137         (fts_stat): Likewise.
61138         (fts_sort): Likewise.
61139         (fts_alloc): Likewise.
61140         (fts_lfree): Likewise.
61141         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
61142         (_IO_file_xsgetn): Likewise.
61143         (_IO_file_xsgetn_mmap): Likewise.
61144         * libio/iofopncook.c (_IO_cookie_read): Likewise.
61145         (_IO_cookie_write): Likewise.
61146         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
61147         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
61148         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
61149         * malloc/obstack.c (_obstack_begin): Likewise.
61150         (_obstack_begin_1): Likewise.
61151         (_obstack_newchunk): Likewise.
61152         (_obstack_allocated_p): Likewise.
61153         (obstack_free): Likewise.
61154         (_obstack_memory_used): Likewise.
61155         * misc/getttyent.c (getttynam): Likewise.
61156         (getttyent): Likewise.
61157         (skip): Likewise.
61158         (value): Likewise.
61159         * misc/getusershell.c (initshells): Likewise.
61160         * misc/syslog.c (__vsyslog_chk): Likewise.
61161         * misc/ttyslot.c (ttyslot): Likewise.
61162         * nis/nis_hash.c (__nis_hash): Likewise.
61163         * posix/fnmatch_loop.c (FCT): Likewise.
61164         * posix/getconf.c (print_all): Likewise.
61165         (main): Likewise.
61166         * posix/getopt.c (exchange): Likewise.
61167         * posix/glob.c (globfree): Likewise.
61168         (prefix_array): Likewise.
61169         (__glob_pattern_type): Likewise.
61170         * resolv/arpa/nameser.h (NS_GET16): Likewise.
61171         (NS_GET32): Likewise.
61172         (NS_PUT16): Likewise.
61173         (NS_PUT32): Likewise.
61174         * resolv/gethnamaddr.c (getanswer): Likewise.
61175         (gethostbyname2): Likewise.
61176         (gethostbyaddr): Likewise.
61177         (_gethtent): Likewise.
61178         (_gethtbyname2): Likewise.
61179         (_gethtbyaddr): Likewise.
61180         * resolv/ns_print.c (dst_s_get_int16): Likewise.
61181         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
61182         * resolv/res_init.c (__res_vinit): Likewise.
61183         (net_mask): Likewise.
61184         * resolv/res_mkquery.c (outchar): Likewise.
61185         (PRINT): Likewise.
61186         * stdio-common/printf_fp.c (outchar): Likewise.
61187         (PRINT): Likewise.
61188         * stdio-common/printf_fphex.c (outchar): Likewise.
61189         (PRINT): Likewise.
61190         * stdio-common/printf_size.c (outchar): Likewise.
61191         (PRINT): Likewise.
61192         * stdio-common/test_rdwr.c (main): Likewise.
61193         * stdio-common/tfformat.c (matches): Likewise.
61194         * stdio-common/vfprintf.c (outchar): Likewise.
61195         (printf_unknown): Likewise.
61196         (buffered_vfprintf): Likewise.
61197         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
61198         * stdio-common/xbug.c (AppendToBuffer): Likewise.
61199         (ReadFile): Likewise.
61200         * stdlib/qsort.c (SWAP): Likewise.
61201         (_quicksort): Likewise.
61202         * stdlib/setenv.c (__add_to_environ): Likewise.
61203         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
61204         * stdlib/strtol_l.c (__strtol_l): Likewise.
61205         * stdlib/tst-strtod.c (main): Likewise.
61206         * stdlib/tst-strtol.c (main): Likewise.
61207         * stdlib/tst-strtoll.c (main): Likewise.
61208         * string/bits/string2.h (__strcmp_cc): Likewise.
61209         (__strcmp_cg): Likewise.
61210         (__strcspn_c1): Likewise.
61211         (__strcspn_c2): Likewise.
61212         (__strcspn_c3): Likewise.
61213         (__strspn_c1): Likewise.
61214         (__strspn_c2): Likewise.
61215         (__strspn_c3): Likewise.
61216         (__strsep_1c): Likewise.
61217         (__strsep_2c): Likewise.
61218         (__strsep_3c): Likewise.
61219         * string/memccpy.c (__memccpy): Likewise.
61220         * string/stpcpy.c (__stpcpy): Likewise.
61221         * string/strcmp.c (strcmp): Likewise.
61222         * string/strrchr.c (strrchr): Likewise.
61223         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
61224         Likewise.
61225         * sysdeps/mach/hurd/getcwd.c
61226         (_hurd_canonicalize_directory_name_internal): Likewise.
61227         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
61228         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
61229         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
61230         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
61231         Likewise, in both definitions.
61232         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
61233         definitions.
61234         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
61235         64] (__bswap_64): Likewise.
61236         * time/test_time.c (main): Likewise.
61237         * time/tzfile.c (__tzfile_read): Likewise.
61238         (__tzfile_compute): Likewise.
61239         * time/tzset.c (__tzset_parse_tz): Likewise.
61240         (tzset_internal): Likewise.
61241         (compute_change): Likewise.
61242         * wcsmbs/wcscat.c (__wcscat): Likewise.
61243         * wcsmbs/wcschr.c (wcschr): Likewise.
61244         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
61245         * wcsmbs/wcscspn.c (wcscspn): Likewise.
61246         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
61247         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
61248         * wcsmbs/wcsspn.c (wcsspn): Likewise.
61249         * wcsmbs/wcsstr.c (wcsstr): Likewise.
61250         * wcsmbs/wmemchr.c (wmemchr): Likewise.
61251         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61252         * wcsmbs/wmemset.c (wmemset): Likewise.
61254 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
61256         * scripts/config.guess: Update to version 2013-05-16.
61257         * scripts/config.sub: Update to version 2013-04-24.
61258         * scripts/install-sh: Update to version 2011-11-20.07.
61259         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
61260         * scripts/move-if-change: Update to version 2012-01-06 07:23.
61262 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
61264         * debug/fgetws_u_chk.c: Fix leading whitespaces.
61265         * elf/sln.c: Likewise.
61266         * hurd/hurd/ioctl.h: Likewise.
61267         * hurd/hurdmalloc.c: Likewise.
61268         * hurd/xattr.c: Likewise.
61269         * include/shlib-compat.h: Likewise.
61270         * inet/ruserpass.c: Likewise.
61271         * libio/iofgets_u.c: Likewise.
61272         * libio/iofgetws_u.c: Likewise.
61273         * locale/programs/ld-identification.c: Likewise.
61274         * locale/programs/ld-time.c: Likewise.
61275         * mach/msg-destroy.c: Likewise.
61276         * nss/nss_files/files-netgrp.c: Likewise.
61277         * resolv/res_data.c: Likewise.
61278         * soft-fp/op-1.h: Likewise.
61279         * soft-fp/op-2.h: Likewise.
61280         * soft-fp/op-4.h: Likewise.
61281         * soft-fp/op-common.h: Likewise.
61282         * stdio-common/printf_fphex.c: Likewise.
61283         * stdlib/strtod_l.c: Likewise.
61284         * sunrpc/rpc/clnt.h: Likewise.
61285         * sysdeps/generic/framestate.c: Likewise.
61286         * sysdeps/i386/bsd-_setjmp.S: Likewise.
61287         * sysdeps/i386/bsd-setjmp.S: Likewise.
61288         * sysdeps/i386/__longjmp.S: Likewise.
61289         * sysdeps/i386/setjmp.S: Likewise.
61290         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61291         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61293         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61295         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61296         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61297         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61298         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61299         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61300         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61301         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61302         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61303         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61304         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61305         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61306         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61307         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
61308         * sysdeps/ieee754/support.c: Likewise.
61309         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61310         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
61311         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
61312         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
61313         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
61314         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
61315         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
61316         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
61317         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
61318         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
61319         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
61320         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
61321         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61322         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
61323         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
61324         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
61325         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
61328 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
61330         * posix/transbug.c: Remove executable mode.
61332 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
61334         * crypt/speeds.c: Remove trailing whitespace.
61335         * dlfcn/default.c: Likewise.
61336         * elf/ifuncdep2.c: Likewise.
61337         * elf/ifuncmain1.c: Likewise.
61338         * elf/ifuncmain1vis.c: Likewise.
61339         * elf/testobj.h: Likewise.
61340         * elf/tst-stackguard1.c: Likewise.
61341         * gmon/sys/gmon.h: Likewise.
61342         * hurd/hurdmsg.c: Likewise.
61343         * hurd/new-fd.c: Likewise.
61344         * hurd/ports-get.c: Likewise.
61345         * iconvdata/ibm1008_420.c: Likewise.
61346         * inet/tst-getni1.c: Likewise.
61347         * inet/tst-getni2.c: Likewise.
61348         * libio/ioungetc.c: Likewise.
61349         * libio/wfiledoalloc.c: Likewise.
61350         * manual/libm-err-tab.pl: Likewise.
61351         * math/w_dremf.c: Likewise.
61352         * misc/ftruncate.c: Likewise.
61353         * posix/bug-glob2.c: Likewise.
61354         * posix/tst-pcre.c: Likewise.
61355         * posix/wait4.c: Likewise.
61356         * resolv/README: Likewise.
61357         * resolv/res_debug.h: Likewise.
61358         * resolv/tst-inet_ntop.c: Likewise.
61359         * setjmp/bug269-setjmp.c: Likewise.
61360         * soft-fp/extended.h: Likewise.
61361         * soft-fp/op-1.h: Likewise.
61362         * soft-fp/op-2.h: Likewise.
61363         * soft-fp/op-4.h: Likewise.
61364         * soft-fp/op-8.h: Likewise.
61365         * soft-fp/testit.c: Likewise.
61366         * stdio-common/bug16.c: Likewise.
61367         * stdlib/random.c: Likewise.
61368         * sunrpc/rpcsvc/rquota.x: Likewise.
61369         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
61370         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61371         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61372         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61373         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61374         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61375         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61376         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61377         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61378         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61379         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61380         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61381         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61382         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61383         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61384         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61385         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61387         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61388         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61389         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61390         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61391         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
61392         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61393         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61394         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61396         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61398         * sysdeps/ieee754/s_lib_version.c: Likewise.
61399         * sysdeps/mach/hurd/check_fds.c: Likewise.
61400         * sysdeps/mach/hurd/getsockname.c: Likewise.
61401         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
61402         * sysdeps/mach/hurd/recvfrom.c: Likewise.
61403         * sysdeps/powerpc/bits/link.h: Likewise.
61404         * sysdeps/powerpc/dl-procinfo.c: Likewise.
61405         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
61406         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
61407         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
61408         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61409         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61410         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
61411         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61412         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
61413         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
61414         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
61415         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61416         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
61417         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
61418         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
61419         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
61420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
61423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61424         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61425         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
61426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61427         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61428         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
61429         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61430         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61432         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61433         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61434         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61436         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61437         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61438         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
61439         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61440         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
61441         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61442         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
61443         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
61444         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
61445         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
61446         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
61447         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
61448         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61449         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
61450         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
61451         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61452         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
61453         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
61454         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61456         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61457         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61458         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
61459         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
61460         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61462         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
61463         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
61464         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
61465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
61466         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
61467         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61468         * sysdeps/powerpc/sysdep.h: Likewise.
61469         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61470         * sysdeps/s390/s390-64/sub_n.S: Likewise.
61471         * sysdeps/sh/dl-trampoline.S: Likewise.
61472         * sysdeps/sh/memset.S: Likewise.
61473         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
61474         * sysdeps/sh/strlen.S: Likewise.
61475         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
61476         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
61477         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
61478         * sysdeps/sparc/sparc32/rem.S: Likewise.
61479         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
61480         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
61481         * sysdeps/sparc/sparc32/strchr.S: Likewise.
61482         * sysdeps/sparc/sparc32/udiv.S: Likewise.
61483         * sysdeps/sparc/sparc32/urem.S: Likewise.
61484         * sysdeps/sparc/sparc64/add_n.S: Likewise.
61485         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
61486         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
61487         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
61488         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
61489         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
61490         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
61491         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
61492         * sysdeps/unix/bsd/times.c: Likewise.
61493         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
61494         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
61495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
61496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
61497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
61498         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
61499         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61500         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
61501         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
61502         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
61503         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
61504         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61505         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
61506         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61507         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61508         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
61509         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61510         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
61511         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
61512         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
61513         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
61514         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
61515         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61516         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
61517         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
61518         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
61519         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
61520         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61521         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
61522         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
61523         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
61524         * sysdeps/x86_64/strcspn.S: Likewise.
61526 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61528         * locale/C-translit.h: Revert #include <stdint.h> because this is a
61529         generated file.  Regenerate properly from gen-translit.pl.
61530         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
61531         locale/C-translit.h.
61533 2013-06-05  Andreas Schwab  <schwab@suse.de>
61535         [BZ #15100]
61536         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
61537         week as 6 instead of -1.
61538         * time/tst-strptime.c (day_tests): Add test case.
61540 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61542         * sysdeps/generic/math_private.h
61543         (libc_feholdexcept_setround_53bit): Replace with
61544         libc_feholdsetround_53bit.
61545         (libc_feupdateenv_53bit): Replace with
61546         libc_feresetround_53bit.
61547         (SET_RESTORE_ROUND_53BIT): Adjust.
61549 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61551         * string/test-strchrnul.c: Add copyright header.
61553         * posix/tst-getaddrinfo4.c: Increase test timeout.
61555 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
61557         [BZ #15536]
61558         * math/libm-test.inc (MAX_EXP): Remove
61559         (MIN_EXP): Define.
61560         (ulp): Use MIN_EXP - MANT_DIG.
61561         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
61563 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
61565         * po/be.po: Revert last change.
61566         * po/zh_CN.po: Likewise.
61567         * po/header.pot: Likewise.
61569 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
61571         * Makefile ($(common-objpfx)linkobj/libc.so): Define
61572         link-libc-deps to empty as target-specific variable.
61573         * Makerules (link-libc-args): New variable.
61574         (libc-for-link): Likewise.
61575         (link-libc-deps): Likewise.
61576         (lib%.so): Depend on $(link-libc-deps).  Link with
61577         $(link-libc-args).
61578         (build-module): Link with $(link-libc-args).
61579         (build-module-asneeded): Likewise.
61580         (build-module-helper-objlist): Filter out $(link-libc-deps) from
61581         list of objects.
61582         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
61583         target-specific variable.
61584         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
61585         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
61586         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
61587         libc.
61588         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
61589         libc and ld.so.
61590         ($(objpfx)libpcprofile.so): Likewise.
61591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
61592         libc_nonshared.a.
61593         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
61594         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
61595         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
61596         $(link-libc-deps).
61597         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
61598         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
61599         * login/Makefile ($(objpfx)libutil.so): Likewise.
61600         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
61601         * math/Makefile ($(objpfx)libm.so): Likewise.
61602         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
61603         $(objpfx)libnsl.so): Define libc-for-link as target-specific
61604         variable instead of depending directly on libc.
61605         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
61606         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
61607         $(link-libc-deps).
61608         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
61609         libc.
61610         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
61611         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
61612         ($(objpfx)libanl.so): Likewise.
61613         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
61614         ld.so.
61615         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
61616         $(link-libc-deps).
61617         * sysdeps/i386/fpu/Makefile: Remove file.
61618         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
61619         ($(objpfx)libm.so): Remove dependency on ld.so.
61621 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
61623         [BZ # 15553]
61624         * nis/yp_xdr.c (XDRMAXNAME): Define.
61625         (XDRMAXRECORD): Define.
61626         (xdr_domainname): Use XDRMAXNAME.
61627         (xdr_mapname): Likewise.
61628         (xdr_peername): Likewise.
61629         (xdr_keydat): Use XDRMAXRECORD.
61630         (xdr_valdat): Likewise.
61632 2013-05-30  Jeff Law  <law@redhat.com>
61634         [BZ #14256]
61635         * manual/errno.texi (ESTALE): Update to account for more than
61636         just NFS file systems.
61637         * sysdeps/gnu/errlist.c: Regenerated.
61639 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61641         [BZ #15465]
61642         * elf/Makefile (tests): Add tst-null-argv.
61643         (modules-names):  Add tst-null-argv-lib.
61644         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
61645         (tst-null-argv-ENV): Set environment for tst-null-argv.
61646         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
61647         (RTLD_PROGNAME): New macro.
61648         * elf/tst-null-argv.c: New test case.
61649         * elf/tst-null-argv-lib.c: Library for test case.
61650         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
61651         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
61652         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
61653         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
61654         * elf/dl-init.c (call_init): Likewise.
61655         (_dl_init): Likewise.
61656         * elf/dl-load.c (print_search_path): Likewise.
61657         (_dl_map_object): Likewise.
61658         * elf/dl-lookup.c (do_lookup_x): Likewise.
61659         (add_dependency): Likewise.
61660         (_dl_lookup_symbol_x): Likewise.
61661         (_dl_debug_bindings): Likewise.
61662         * elf/dl-open.c (_dl_show_scope): Likewise.
61663         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
61664         * elf/dl-version.c (match_symbol): Likewise.
61665         (_dl_check_map_versions): Likewise.
61666         * elf/rtld.c (dl_main): Likewise.
61667         (print_unresolved): Use RTLD_PROGNAME.
61668         (print_missing_version): Likewise.
61669         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
61670         (elf_machine_rela): Likewise.
61671         * sysdeps/powerpc/powerpc32/dl-machine.c
61672         (__process_machine_rela): Likewise.
61673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61674         Likewise.
61675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61676         Likewise.
61677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
61678         Likewise.
61679         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61680         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
61681         Likewise.
61682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
61683         Likewise.
61684         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61686 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
61688         * po/be.po: Add descriptive title.
61689         * po/zh_CN.po: Likewise.
61690         * po/header.pot: Likewise.
61692 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
61694         * locale/programs/locarchive.c (create_archive): Inlucde fname in
61695         error message.
61696         (enlarge_archive): Likewise.
61698 2013-05-28  Ben North  <ben@redfrontdoor.org>
61700         * manual/arith.texi (frexp): It is the magnitude of the return
61701         value which lies in [0.5, 1), not the return value itself.
61703 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61707 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
61709         * stdio-common/bug26.c (main): Correct fscanf template.
61711         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
61712         declare _dl_skip_args.
61714         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
61715         Don't declare.
61717         * manual/platform.texi: Add missing @end deftypefun.
61719 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61721         [BZ #15529]
61722         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
61723         bit of mantissa of 2^16382.
61724         * math/libm-test.inc (hypot_test_data): Add more tests.
61726         * math/libm-test.inc: Add drem and pow10 to list of tested
61727         functions.
61728         (pow10_test): New function.
61729         (drem_test): Likewise.
61730         (drem_test_tonearest): Likewise.
61731         (drem_test_towardzero): Likewise.
61732         (drem_test_downward): Likewise.
61733         (drem_test_upward): Likewise.
61734         (main): Call the new functions.
61736         * math/libm-test.inc (finite_test_data): Remove.
61737         (finite_test): Run tests from isfinite_test_data.
61738         (gamma_test_data): Remove.
61739         (gamma_test): Run tests from lgamma_test_data.
61740         * sysdeps/i386/fpu/libm-test-ulps: Update.
61741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61743 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61745         * manual/platform.texi: Add PowerPC PPR function set documentation.
61746         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
61747         implementation.
61749 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
61751         * math/libm-test.inc (MAX_EXP): Define.
61752         (ULPDIFF): Define.
61753         (ulp): New function.
61754         (check_float_internal): Use ULPDIFF.
61755         (cpow_test): Disable failing test.
61756         (check_ulp): Test ulp() implementation.
61757         (main): Call check_ulp before starting tests.
61759 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
61761         * math/gen-libm-test.pl (generate_testfile): Do not handle
61762         START_DATA and END_DATA.
61763         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
61764         END_DATA.
61765         (acos_tonearest_test_data): Likewise.
61766         (acos_towardzero_test_data): Likewise.
61767         (acos_downward_test_data): Likewise.
61768         (acos_upward_test_data): Likewise.
61769         (acosh_test_data): Likewise.
61770         (asin_test_data): Likewise.
61771         (asin_tonearest_test_data): Likewise.
61772         (asin_towardzero_test_data): Likewise.
61773         (asin_downward_test_data): Likewise.
61774         (asin_upward_test_data): Likewise.
61775         (asinh_test_data): Likewise.
61776         (atan_test_data): Likewise.
61777         (atanh_test_data): Likewise.
61778         (atan2_test_data): Likewise.
61779         (cabs_test_data): Likewise.
61780         (cacos_test_data): Likewise.
61781         (cacosh_test_data): Likewise.
61782         (carg_test_data): Likewise.
61783         (casin_test_data): Likewise.
61784         (casinh_test_data): Likewise.
61785         (catan_test_data): Likewise.
61786         (catanh_test_data): Likewise.
61787         (cbrt_test_data): Likewise.
61788         (ccos_test_data): Likewise.
61789         (ccosh_test_data): Likewise.
61790         (ceil_test_data): Likewise.
61791         (cexp_test_data): Likewise.
61792         (cimag_test_data): Likewise.
61793         (clog_test_data): Likewise.
61794         (clog10_test_data): Likewise.
61795         (conj_test_data): Likewise.
61796         (copysign_test_data): Likewise.
61797         (cos_test_data): Likewise.
61798         (cos_tonearest_test_data): Likewise.
61799         (cos_towardzero_test_data): Likewise.
61800         (cos_downward_test_data): Likewise.
61801         (cos_upward_test_data): Likewise.
61802         (cosh_test_data): Likewise.
61803         (cosh_tonearest_test_data): Likewise.
61804         (cosh_towardzero_test_data): Likewise.
61805         (cosh_downward_test_data): Likewise.
61806         (cosh_upward_test_data): Likewise.
61807         (cpow_test_data): Likewise.
61808         (cproj_test_data): Likewise.
61809         (creal_test_data): Likewise.
61810         (csin_test_data): Likewise.
61811         (csinh_test_data): Likewise.
61812         (csqrt_test_data): Likewise.
61813         (ctan_test_data): Likewise.
61814         (ctan_tonearest_test_data): Likewise.
61815         (ctan_towardzero_test_data): Likewise.
61816         (ctan_downward_test_data): Likewise.
61817         (ctan_upward_test_data): Likewise.
61818         (ctanh_test_data): Likewise.
61819         (ctanh_tonearest_test_data): Likewise.
61820         (ctanh_towardzero_test_data): Likewise.
61821         (ctanh_downward_test_data): Likewise.
61822         (ctanh_upward_test_data): Likewise.
61823         (erf_test_data): Likewise.
61824         (erfc_test_data): Likewise.
61825         (exp_test_data): Likewise.
61826         (exp_tonearest_test_data): Likewise.
61827         (exp_towardzero_test_data): Likewise.
61828         (exp_downward_test_data): Likewise.
61829         (exp_upward_test_data): Likewise.
61830         (exp10_test_data): Likewise.
61831         (exp2_test_data): Likewise.
61832         (expm1_test_data): Likewise.
61833         (fabs_test_data): Likewise.
61834         (fdim_test_data): Likewise.
61835         (finite_test_data): Likewise.
61836         (floor_test_data): Likewise.
61837         (fma_test_data): Likewise.
61838         (fma_towardzero_test_data): Likewise.
61839         (fma_downward_test_data): Likewise.
61840         (fma_upward_test_data): Likewise.
61841         (fmax_test_data): Likewise.
61842         (fmin_test_data): Likewise.
61843         (fmod_test_data): Likewise.
61844         (fpclassify_test_data): Likewise.
61845         (frexp_test_data): Likewise.
61846         (gamma_test_data): Likewise.
61847         (hypot_test_data): Likewise.
61848         (ilogb_test_data): Likewise.
61849         (isfinite_test_data): Likewise.
61850         (isgreater_test_data): Likewise.
61851         (isgreaterequal_test_data): Likewise.
61852         (isinf_test_data): Likewise.
61853         (isless_test_data): Likewise.
61854         (islessequal_test_data): Likewise.
61855         (islessgreater_test_data): Likewise.
61856         (isnan_test_data): Likewise.
61857         (isnormal_test_data): Likewise.
61858         (issignaling_test_data): Likewise.
61859         (isunordered_test_data): Likewise.
61860         (j0_test_data): Likewise.
61861         (j1_test_data): Likewise.
61862         (jn_test_data): Likewise.
61863         (ldexp_test_data): Likewise.
61864         (lgamma_test_data): Likewise.
61865         (lrint_test_data): Likewise.
61866         (lrint_tonearest_test_data): Likewise.
61867         (lrint_towardzero_test_data): Likewise.
61868         (lrint_downward_test_data): Likewise.
61869         (lrint_upward_test_data): Likewise.
61870         (llrint_test_data): Likewise.
61871         (llrint_tonearest_test_data): Likewise.
61872         (llrint_towardzero_test_data): Likewise.
61873         (llrint_downward_test_data): Likewise.
61874         (llrint_upward_test_data): Likewise.
61875         (log_test_data): Likewise.
61876         (log10_test_data): Likewise.
61877         (log1p_test_data): Likewise.
61878         (log2_test_data): Likewise.
61879         (logb_test_data): Likewise.
61880         (logb_downward_test_data): Likewise.
61881         (lround_test_data): Likewise.
61882         (llround_test_data): Likewise.
61883         (modf_test_data): Likewise.
61884         (nearbyint_test_data): Likewise.
61885         (nextafter_test_data): Likewise.
61886         (nexttoward_test_data): Likewise.
61887         (pow_test_data): Likewise.
61888         (pow_tonearest_test_data): Likewise.
61889         (pow_towardzero_test_data): Likewise.
61890         (pow_downward_test_data): Likewise.
61891         (pow_upward_test_data): Likewise.
61892         (remainder_test_data): Likewise.
61893         (remainder_tonearest_test_data): Likewise.
61894         (remainder_towardzero_test_data): Likewise.
61895         (remainder_downward_test_data): Likewise.
61896         (remainder_upward_test_data): Likewise.
61897         (remquo_test_data): Likewise.
61898         (rint_test_data): Likewise.
61899         (rint_tonearest_test_data): Likewise.
61900         (rint_towardzero_test_data): Likewise.
61901         (rint_downward_test_data): Likewise.
61902         (rint_upward_test_data): Likewise.
61903         (round_test_data): Likewise.
61904         (scalb_test_data): Likewise.
61905         (scalbn_test_data): Likewise.
61906         (scalbln_test_data): Likewise.
61907         (signbit_test_data): Likewise.
61908         (sin_test_data): Likewise.
61909         (sin_tonearest_test_data): Likewise.
61910         (sin_towardzero_test_data): Likewise.
61911         (sin_downward_test_data): Likewise.
61912         (sin_upward_test_data): Likewise.
61913         (sincos_test_data): Likewise.
61914         (sinh_test_data): Likewise.
61915         (sinh_tonearest_test_data): Likewise.
61916         (sinh_towardzero_test_data): Likewise.
61917         (sinh_downward_test_data): Likewise.
61918         (sinh_upward_test_data): Likewise.
61919         (sqrt_test_data): Likewise.
61920         (tan_test_data): Likewise.
61921         (tan_tonearest_test_data): Likewise.
61922         (tan_towardzero_test_data): Likewise.
61923         (tan_downward_test_data): Likewise.
61924         (tan_upward_test_data): Likewise.
61925         (tanh_test_data): Likewise.
61926         (tgamma_test_data): Likewise.
61927         (trunc_test_data): Likewise.
61928         (y0_test_data): Likewise.
61929         (y1_test_data): Likewise.
61930         (yn_test_data): Likewise.
61931         (significand_test_data): Likewise.
61933         * math/gen-libm-test.pl (@functions): Remove variable.
61934         (generate_testfile): Don't handle START and END lines.
61935         * math/libm-test.inc (START): New macro.
61936         (END): Likewise.
61937         (END_COMPLEX): Likewise.
61938         (acos_test): Use END macro without arguments.
61939         (acos_test_tonearest): Likewise.
61940         (acos_test_towardzero): Likewise.
61941         (acos_test_downward): Likewise.
61942         (acos_test_upward): Likewise.
61943         (acosh_test): Likewise.
61944         (asin_test): Likewise.
61945         (asin_test_tonearest): Likewise.
61946         (asin_test_towardzero): Likewise.
61947         (asin_test_downward): Likewise.
61948         (asin_test_upward): Likewise.
61949         (asinh_test): Likewise.
61950         (atan_test): Likewise.
61951         (atanh_test): Likewise.
61952         (atan2_test): Likewise.
61953         (cabs_test): Likewise.
61954         (cacos_test): Use END_COMPLEX macro without arguments.
61955         (cacosh_test): Likewise.
61956         (carg_test): Use END macro without arguments.
61957         (casin_test): Use END_COMPLEX macro without arguments.
61958         (casinh_test): Likewise.
61959         (catan_test): Likewise.
61960         (catanh_test): Likewise.
61961         (cbrt_test): Use END macro without arguments.
61962         (ccos_test): Use END_COMPLEX macro without arguments.
61963         (ccosh_test): Likewise.
61964         (ceil_test): Use END macro without arguments.
61965         (cexp_test): Use END_COMPLEX macro without arguments.
61966         (cimag_test): Use END macro without arguments.
61967         (clog_test): Use END_COMPLEX macro without arguments.
61968         (clog10_test): Likewise.
61969         (conj_test): Likewise.
61970         (copysign_test): Use END macro without arguments.
61971         (cos_test): Likewise.
61972         (cos_test_tonearest): Likewise.
61973         (cos_test_towardzero): Likewise.
61974         (cos_test_downward): Likewise.
61975         (cos_test_upward): Likewise.
61976         (cosh_test): Likewise.
61977         (cosh_test_tonearest): Likewise.
61978         (cosh_test_towardzero): Likewise.
61979         (cosh_test_downward): Likewise.
61980         (cosh_test_upward): Likewise.
61981         (cpow_test): Use END_COMPLEX macro without arguments.
61982         (cproj_test): Likewise.
61983         (creal_test): Use END macro without arguments.
61984         (csin_test): Use END_COMPLEX macro without arguments.
61985         (csinh_test): Likewise.
61986         (csqrt_test): Likewise.
61987         (ctan_test): Likewise.
61988         (ctan_test_tonearest): Likewise.
61989         (ctan_test_towardzero): Likewise.
61990         (ctan_test_downward): Likewise.
61991         (ctan_test_upward): Likewise.
61992         (ctanh_test): Likewise.
61993         (ctanh_test_tonearest): Likewise.
61994         (ctanh_test_towardzero): Likewise.
61995         (ctanh_test_downward): Likewise.
61996         (ctanh_test_upward): Likewise.
61997         (erf_test): Use END macro without arguments.
61998         (erfc_test): Likewise.
61999         (exp_test): Likewise.
62000         (exp_test_tonearest): Likewise.
62001         (exp_test_towardzero): Likewise.
62002         (exp_test_downward): Likewise.
62003         (exp_test_upward): Likewise.
62004         (exp10_test): Likewise.
62005         (exp2_test): Likewise.
62006         (expm1_test): Likewise.
62007         (fabs_test): Likewise.
62008         (fdim_test): Likewise.
62009         (finite_test): Likewise.
62010         (floor_test): Likewise.
62011         (fma_test): Likewise.
62012         (fma_test_towardzero): Likewise.
62013         (fma_test_downward): Likewise.
62014         (fma_test_upward): Likewise.
62015         (fmax_test): Likewise.
62016         (fmin_test): Likewise.
62017         (fmod_test): Likewise.
62018         (fpclassify_test): Likewise.
62019         (frexp_test): Likewise.
62020         (gamma_test): Likewise.
62021         (hypot_test): Likewise.
62022         (ilogb_test): Likewise.
62023         (isfinite_test): Likewise.
62024         (isgreater_test): Likewise.
62025         (isgreaterequal_test): Likewise.
62026         (isinf_test): Likewise.
62027         (isless_test): Likewise.
62028         (islessequal_test): Likewise.
62029         (islessgreater_test): Likewise.
62030         (isnan_test): Likewise.
62031         (isnormal_test): Likewise.
62032         (issignaling_test): Likewise.
62033         (isunordered_test): Likewise.
62034         (j0_test): Likewise.
62035         (j1_test): Likewise.
62036         (jn_test): Likewise.
62037         (ldexp_test): Likewise.
62038         (lgamma_test): Likewise.
62039         (lrint_test): Likewise.
62040         (lrint_test_tonearest): Likewise.
62041         (lrint_test_towardzero): Likewise.
62042         (lrint_test_downward): Likewise.
62043         (lrint_test_upward): Likewise.
62044         (llrint_test): Likewise.
62045         (llrint_test_tonearest): Likewise.
62046         (llrint_test_towardzero): Likewise.
62047         (llrint_test_downward): Likewise.
62048         (llrint_test_upward): Likewise.
62049         (log_test): Likewise.
62050         (log10_test): Likewise.
62051         (log1p_test): Likewise.
62052         (log2_test): Likewise.
62053         (logb_test): Likewise.
62054         (logb_test_downward): Likewise.
62055         (lround_test): Likewise.
62056         (llround_test): Likewise.
62057         (modf_test): Likewise.
62058         (nearbyint_test): Likewise.
62059         (nextafter_test): Likewise.
62060         (nexttoward_test): Likewise.
62061         (pow_test): Likewise.
62062         (pow_test_tonearest): Likewise.
62063         (pow_test_towardzero): Likewise.
62064         (pow_test_downward): Likewise.
62065         (pow_test_upward): Likewise.
62066         (remainder_test): Likewise.
62067         (remainder_test_tonearest): Likewise.
62068         (remainder_test_towardzero): Likewise.
62069         (remainder_test_downward): Likewise.
62070         (remainder_test_upward): Likewise.
62071         (remquo_test): Likewise.
62072         (rint_test): Likewise.
62073         (rint_test_tonearest): Likewise.
62074         (rint_test_towardzero): Likewise.
62075         (rint_test_downward): Likewise.
62076         (rint_test_upward): Likewise.
62077         (round_test): Likewise.
62078         (scalb_test): Likewise.
62079         (scalbn_test): Likewise.
62080         (scalbln_test): Likewise.
62081         (signbit_test): Likewise.
62082         (sin_test): Likewise.
62083         (sin_test_tonearest): Likewise.
62084         (sin_test_towardzero): Likewise.
62085         (sin_test_downward): Likewise.
62086         (sin_test_upward): Likewise.
62087         (sincos_test): Likewise.
62088         (sinh_test): Likewise.
62089         (sinh_test_tonearest): Likewise.
62090         (sinh_test_towardzero): Likewise.
62091         (sinh_test_downward): Likewise.
62092         (sinh_test_upward): Likewise.
62093         (sqrt_test): Likewise.
62094         (tan_test): Likewise.
62095         (tan_test_tonearest): Likewise.
62096         (tan_test_towardzero): Likewise.
62097         (tan_test_downward): Likewise.
62098         (tan_test_upward): Likewise.
62099         (tanh_test): Likewise.
62100         (tgamma_test): Likewise.
62101         (trunc_test): Likewise.
62102         (y0_test): Likewise.
62103         (y1_test): Likewise.
62104         (yn_test): Likewise.
62105         (significand_test): Likewise.
62107 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
62109         [BZ #15381]
62110         * libio/genops.c (_IO_no_init): Initialize wide struct info.
62112 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
62114         [BZ #14894]
62115         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
62116         __ppc_mdoio and __ppc_mdoom.
62117         * manual/platform.texi: Document new functions __ppc_yield,
62118         __ppc_mdoio and __ppc_mdoom.
62120 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
62122         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
62123         (main): Mention "tls" pseudo-hwcap is legacy.
62124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
62126 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62128         * math/gen-libm-test.pl (parse_args): Output only string of
62129         arguments as text for test name, not full call or descriptions of
62130         tests for extra outputs.
62131         (generate_testfile): Do not pass function name to parse_args.
62132         Generate this_func variable from START.
62133         * math/libm-test.inc (struct test_f_f_data): Rename test_name
62134         field to arg_str.
62135         (struct test_ff_f_data): Likewise.
62136         (test_ff_f_data_nexttoward): Likewise.
62137         (struct test_fi_f_data): Likewise.
62138         (struct test_fl_f_data): Likewise.
62139         (struct test_if_f_data): Likewise.
62140         (struct test_fff_f_data): Likewise.
62141         (struct test_c_f_data): Likewise.
62142         (struct test_f_f1_data): Likewise.  Remove field extra_name.
62143         (struct test_fF_f1_data): Likewise.
62144         (struct test_ffI_f1_data): Likewise.
62145         (struct test_c_c_data): Rename test_name field to arg_str.
62146         (struct test_cc_c_data): Likewise.
62147         (struct test_f_i_data): Likewise.
62148         (struct test_ff_i_data): Likewise.
62149         (struct test_f_l_data): Likewise.
62150         (struct test_f_L_data): Likewise.
62151         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
62152         and extra2_name.
62153         (COMMON_TEST_SETUP): New macro.
62154         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
62155         (COMMON_TEST_CLEANUP): Likewise.
62156         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
62157         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
62158         macros.
62159         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
62160         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
62161         macros.
62162         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
62163         (RUN_TEST_fff_f): Take argument string.  Call new setup and
62164         cleanup macros.
62165         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
62166         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
62167         macros.
62168         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
62169         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
62170         macros.
62171         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62172         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
62173         cleanup macros.
62174         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62175         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
62176         cleanup macros.
62177         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62178         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
62179         cleanup macros.
62180         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62181         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
62182         macros.
62183         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
62184         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
62185         macros.
62186         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
62187         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
62188         macros.
62189         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
62190         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
62191         cleanup macros.
62192         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
62193         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
62194         cleanup macros.
62195         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
62196         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
62197         macros.
62198         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
62199         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
62200         cleanup macros.
62201         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
62202         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
62203         macros.
62204         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
62205         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
62206         macros.
62207         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
62208         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
62209         cleanup macros.
62210         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
62212 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
62214         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
62215         to _sifields.sigfault.
62216         (si_addr_lsb): Define new macro.
62217         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
62218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
62221 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
62223         [BZ #15441]
62224         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
62225         returns -1.
62226         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
62227         null return -1.
62228         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
62229         loading the domain.
62231 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
62233         * math/gen-libm-test.pl (parse_args): Do not include expected
62234         result in test name.
62235         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
62236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62238         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62242 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62244         * benchtests/Makefile: Sort function entries.
62246         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
62247         tanh, asinh, acosh, atanh.
62248         * benchtests/acos-inputs: New file.
62249         * benchtests/acosh-inputs: New file.
62250         * benchtests/asin-inputs: New file.
62251         * benchtests/asinh-inputs: New file.
62252         * benchtests/atanh-inputs: New file.
62253         * benchtests/cosh-inputs: New file.
62254         * benchtests/log-inputs: New file.
62255         * benchtests/sinh-inputs: New file.
62256         * benchtests/tanh-inputs: New file.
62258 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
62260         [BZ #15339]
62261         * posix/tst-getaddrinfo4.c: New test.
62262         * posix/Makefile (tests): Add it.
62264 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62266         [BZ #15339]
62267         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
62268         when no services were used.
62269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
62270         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
62272 2013-05-21  Andreas Schwab  <schwab@suse.de>
62274         [BZ #15014]
62275         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
62276         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
62277         successful.
62278         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
62279         redundant variable declarations and reallocation of buffer when
62280         parsing as IPv6 address.  Always set NSS status when called from
62281         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
62282         buffer too small.  Correct computation of needed size.
62283         * nss/Makefile (tests): Add test-digits-dots.
62284         * nss/test-digits-dots.c: New test.
62286 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62288         * benchtests/Makefile: Remove instructions for adding
62289         benchmark tests.
62290         * benchtests/README: New file to explain how to execute and
62291         enhance the benchmark tests.
62293 2013-05-21  Andreas Schwab  <schwab@suse.de>
62295         [BZ #15493]
62296         * setjmp/Makefile (tests): Add tst-sigsetjmp.
62297         * setjmp/tst-sigsetjmp.c: New test.
62299 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62301         * sysdeps/x86_64/memset.S (memset): New implementation.
62302         (__bzero): Likewise.
62303         (__memset_tail): New function.
62305 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
62307         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
62308         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
62309         __memcpy_sse2_unaligned ifunc selection.
62310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62311         Add memcpy-sse2-unaligned.S.
62312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62313         Add: __memcpy_sse2_unaligned.
62315 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
62317         [BZ #15490]
62318         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62319         math_force_eval before restoring floating-point envrionment.
62320         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
62321         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
62322         Likewise.
62323         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
62324         <math_private.h>.
62325         (__nearbyintl): Use math_force_eval before restoring
62326         floating-point environment.
62327         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
62329         * math/gen-libm-test.pl (special_functions): Remove.
62330         (parse_args): Don't handle TEST_extra.  Handle functions with no
62331         return value.
62332         * math/libm-test.inc (struct test_sincos_data): Replace with
62333         struct test_fFF_11_data.
62334         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
62335         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
62336         (sincos_test_data): Change element type to struct
62337         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
62338         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
62339         RUN_TEST_LOOP_sincos.
62340         * math/README.libm-test: Don't mention special handling of
62341         individual functions.
62342         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
62343         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62344         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62345         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62346         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62349         * math/gen-libm-test.pl (get_variable): Remove function.
62350         (parse_args): Don't show pointer parameters to call in test
62351         names.  Use "extra output N" in test names for extra outputs
62352         rather than naming variables.
62354 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
62356         [BZ #15488]
62357         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
62358         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
62359         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
62360         double tests.
62361         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
62362         disable.
62363         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
62364         check_long_double.
62366         * math/gen-libm-test.pl (@tests): Remove variable.
62367         ($count): Likewise.
62368         (new_test): Remove function.
62369         (show_exceptions): New function.
62370         (special_functions): Use show_exceptions instead of new_test.
62371         (parse_args): Likewise.
62372         (generate_testfile): Pass only function name in generated call to
62373         print_max_error or print_complex_max_error.
62374         (get_ulps): Do not handle complex tests specially.
62375         (output_test): Rename to ...
62376         (get_all_ulps_for_test): ... this.  Return a string rather than
62377         printing to a file.  Require ulps to be present.
62378         (output_ulps): Generate arrays rather than #defines.
62379         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
62380         (struct ulp_data): New type.
62381         (BUILD_COMPLEX_ULP): Remove macro.
62382         (compare_ulp_data): New function.
62383         (find_ulps): Likewise.
62384         (find_test_ulps): Likewise.
62385         (find_function_ulps): Likewise.
62386         (find_complex_function_ulps): Likewise.
62387         (print_max_error): Determine allowed ulps using
62388         find_function_ulps.
62389         (print_complex_max_error): Determine allowed ulps using
62390         find_complex_function_ulps.
62391         (check_float_internal): Determine max ulps using find_test_ulps.
62392         (check_float): Do not take max_ulp parameter.  Update call to
62393         check_float_internal.
62394         (check_complex): Likewise.
62395         (check_int): Do not take max_ulp parameter.
62396         (check_long): Likewise.
62397         (check_bool): Likewise.
62398         (check_longlong): Likewise.
62399         (struct test_f_f_data): Remove max_ulp field.
62400         (struct test_ff_f_data): Likewise.
62401         (struct test_ff_f_data_nexttoward): Likewise.
62402         (struct test_fi_f_data): Likewise.
62403         (struct test_fl_f_data): Likewise.
62404         (struct test_if_f_data): Likewise.
62405         (struct test_fff_f_data): Likewise.
62406         (struct test_c_f_data): Likewise.
62407         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
62408         (struct test_fF_f1_data): Likewise.
62409         (struct test_ffI_f1_data): Likewise.
62410         (struct test_c_c_data): Remove max_ulp field.
62411         (struct test_cc_c_data): Likewise.
62412         (struct test_f_i_data): Likewise.
62413         (struct test_ff_i_data): Likewise.
62414         (struct test_f_l_data): Likewise.
62415         (struct test_f_L_data): Likewise.
62416         (struct test_sincos_data): Likewise.
62417         (RUN_TEST_f_f): Do not handle ulps.
62418         (RUN_TEST_LOOP_f_f): Likewise.
62419         (RUN_TEST_2_f): Likewise.
62420         (RUN_TEST_LOOP_2_f): Likewise.
62421         (RUN_TEST_fff_f): Likewise.
62422         (RUN_TEST_LOOP_fff_f): Likewise.
62423         (RUN_TEST_c_f): Likewise.
62424         (RUN_TEST_LOOP_c_f): Likewise.
62425         (RUN_TEST_f_f1): Likewise.
62426         (RUN_TEST_LOOP_f_f1): Likewise.
62427         (RUN_TEST_fF_f1): Likewise.
62428         (RUN_TEST_LOOP_fF_f1): Likewise.
62429         (RUN_TEST_fI_f1): Likewise.
62430         (RUN_TEST_LOOP_fI_f1): Likewise.
62431         (RUN_TEST_ffI_f1): Likewise.
62432         (RUN_TEST_LOOP_ffI_f1): Likewise.
62433         (RUN_TEST_c_c): Likewise.
62434         (RUN_TEST_LOOP_c_c): Likewise.
62435         (RUN_TEST_cc_c): Likewise.
62436         (RUN_TEST_LOOP_cc_c): Likewise.
62437         (RUN_TEST_f_i): Likewise.
62438         (RUN_TEST_LOOP_f_i): Likewise.
62439         (RUN_TEST_f_i_tg): Likewise.
62440         (RUN_TEST_LOOP_f_i_tg): Likewise.
62441         (RUN_TEST_ff_i_tg): Likewise.
62442         (RUN_TEST_LOOP_ff_i_tg): Likewise.
62443         (RUN_TEST_f_b): Likewise.
62444         (RUN_TEST_LOOP_f_b): Likewise.
62445         (RUN_TEST_f_b_tg): Likewise.
62446         (RUN_TEST_LOOP_f_b_tg): Likewise.
62447         (RUN_TEST_f_l): Likewise.
62448         (RUN_TEST_LOOP_f_l): Likewise.
62449         (RUN_TEST_f_L): Likewise.
62450         (RUN_TEST_LOOP_f_L): Likewise.
62451         (RUN_TEST_sincos): Likewise.
62452         (RUN_TEST_LOOP_sincos): Likewise.
62454 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
62456         [BZ #15480]
62457         [BZ #15485]
62458         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
62459         main case of finite arguments, set rounding mode to FE_TONEAREST
62460         and discard exceptions.
62461         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
62462         exceptions.
62463         (remainder_tonearest_test_data): New variable.
62464         (remainder_test_tonearest): New function.
62465         (remainder_towardzero_test_data): New variable.
62466         (remainder_test_towardzero): New function.
62467         (remainder_downward_test_data): New variable.
62468         (remainder_test_downward): New function.
62469         (remainder_upward_test_data): New variable.
62470         (remainder_test_upward): New function.
62471         (main): Call the new test functions.
62473         * math/libm-test.inc (struct test_f_f1_data): Remove field
62474         extra_init.
62475         (struct test_fF_f1_data): Likewise.
62476         (struct test_ffI_f1_data): Likewise.
62477         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
62478         based on value of EXTRA_EXPECTED.
62479         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
62480         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
62481         EXTRA_VAR based on value of EXTRA_EXPECTED.
62482         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
62483         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
62484         EXTRA_VAR based on value of EXTRA_EXPECTED.
62485         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
62486         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
62487         EXTRA_VAR based on value of EXTRA_EXPECTED.
62488         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
62489         * math/gen-libm-test.pl (parse_args): Don't output initializers
62490         for extra output values.
62492         * math/libm-test.inc (check_int): Expect result to be exactly
62493         equal to expected value and do not handle ulps.
62494         (check_long): Likewise.
62495         (check_longlong): Likewise.
62497         * math/libm-test.inc (ceil_test_data): Test for "inexact"
62498         exceptions.
62499         (cimag_test_data): Likewise.
62500         (conj_test_data): Likewise.
62501         (copysign_test_data): Likewise.
62502         (cproj_test_data): Likewise.
62503         (creal_test_data): Likewise.
62504         (fabs_test_data): Likewise.
62505         (fdim_test_data): Likewise.
62506         (finite_test_data): Likewise.
62507         (floor_test_data): Likewise.
62508         (fmax_test_data): Likewise.
62509         (fmin_test_data): Likewise.
62510         (fmod_test_data): Likewise.
62511         (fpclassify_test_data): Likewise.
62512         (frexp_test_data): Likewise.
62513         (ilogb_test_data): Likewise.
62514         (isfinite_test_data): Likewise.
62515         (isgreater_test_data): Likewise.
62516         (isgreaterequal_test_data): Likewise.
62517         (isinf_test_data): Likewise.
62518         (isless_test_data): Likewise.
62519         (islessequal_test_data): Likewise.
62520         (islessgreater_test_data): Likewise.
62521         (isnan_test_data): Likewise.
62522         (isnormal_test_data): Likewise.
62523         (issignaling_test_data): Likewise.
62524         (isunordered_test_data): Likewise.
62525         (ldexp_test_data): Likewise.
62526         (lrint_test_data): Likewise.
62527         (lrint_test_data) [TEST_FLOAT]: Disable one test.
62528         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
62529         (lrint_tonearest_test_data): Test for "inexact" exceptions.
62530         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62531         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
62532         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62533         test input.
62534         (lrint_towardzero_test_data): Test for "inexact" exceptions.
62535         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62536         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
62537         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
62538         that test input.
62539         (lrint_downward_test_data): Test for "inexact" exceptions.
62540         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62541         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
62542         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
62543         test input.
62544         (lrint_upward_test_data): Test for "inexact" exceptions.
62545         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
62546         test input.
62547         (llrint_test_data): Test for "inexact" exceptions.
62548         (llrint_test_data) [TEST_FLOAT]: Disable one test.
62549         (llrint_tonearest_test_data): Test for "inexact" exceptions.
62550         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
62551         (llrint_towardzero_test_data): Test for "inexact" exceptions.
62552         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
62553         (llrint_downward_test_data): Test for "inexact" exceptions.
62554         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
62555         (llrint_upward_test_data): Test for "inexact" exceptions.
62556         (logb_test_data): Likewise.
62557         (logb_downward_test_data): Likewise.
62558         (nextafter_test_data): Likewise.
62559         (nexttoward_test_data): Likewise.
62560         (remainder_test_data): Likewise.
62561         (remquo_test_data): Likewise.
62562         (scalbn_test_data): Likewise.
62563         (scalbln_test_data): Likewise.
62564         (signbit_test_data): Likewise.
62565         (sqrt_test_data): Likewise.
62566         (significand_test_data): Likewise.
62568 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62570         [BZ #15424]
62571         * benchtests/bench-modf.c (struct args): Mark arg0 as
62572         volatile.
62573         * scripts/bench.pl: Mark members of struct args as volatile.
62575 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62577         [BZ # 15497]
62578         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
62579         negative infinity on POWER6 or lower.
62580         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
62582 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
62584         [BZ #15442]
62585         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
62586         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
62587         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
62588         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
62589         (_FP_SETQNAN): New macro.
62590         (_FP_SETQNAN_SEMIRAW): Likewise.
62591         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
62592         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
62593         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
62594         (FP_EXTEND): Use _FP_FRAC_SNANP.
62595         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
62596         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
62597         into account.
62598         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62599         New macro.
62600         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
62601         Likewise.
62603 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62605         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
62606         with DIVIDE_BY_ZERO_EXCEPTION.
62607         (gamma_test_data): Likewise.
62608         (lgamma_test_data): Likewise.
62609         (log_test_data): Likewise.
62610         (log10_test_data): Likewise.
62611         (log2_test_data): Likewise.
62612         (tgamma_test_data): Likewise.
62614         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
62615         (acos_test_tonearest): Likewise.
62616         (acos_test_towardzero): Likewise.
62617         (acos_test_downward): Likewise.
62618         (acos_test_upward): Likewise.
62619         (acosh_test): Likewise.
62620         (asin_test): Likewise.
62621         (asin_test_tonearest): Likewise.
62622         (asin_test_towardzero): Likewise.
62623         (asin_test_downward): Likewise.
62624         (asin_test_upward): Likewise.
62625         (asinh_test): Likewise.
62626         (atan_test): Likewise.
62627         (atanh_test): Likewise.
62628         (atan2_test): Likewise.
62629         (cabs_test): Likewise.
62630         (cacos_test): Likewise.
62631         (cacosh_test): Likewise.
62632         (casin_test): Likewise.
62633         (casinh_test): Likewise.
62634         (catan_test): Likewise.
62635         (catanh_test): Likewise.
62636         (cbrt_test): Likewise.
62637         (ccos_test): Likewise.
62638         (ccosh_test): Likewise.
62639         (cexp_test): Likewise.
62640         (clog_test): Likewise.
62641         (clog10_test): Likewise.
62642         (cos_test): Likewise.
62643         (cos_test_tonearest): Likewise.
62644         (cos_test_towardzero): Likewise.
62645         (cos_test_downward): Likewise.
62646         (cos_test_upward): Likewise.
62647         (cosh_test): Likewise.
62648         (cosh_test_tonearest): Likewise.
62649         (cosh_test_towardzero): Likewise.
62650         (cosh_test_downward): Likewise.
62651         (cosh_test_upward): Likewise.
62652         (cpow_test): Likewise.
62653         (csin_test): Likewise.
62654         (csinh_test): Likewise.
62655         (csqrt_test): Likewise.
62656         (ctan_test): Likewise.
62657         (ctan_test_tonearest): Likewise.
62658         (ctan_test_towardzero): Likewise.
62659         (ctan_test_downward): Likewise.
62660         (ctan_test_upward): Likewise.
62661         (ctanh_test): Likewise.
62662         (ctanh_test_tonearest): Likewise.
62663         (ctanh_test_towardzero): Likewise.
62664         (ctanh_test_downward): Likewise.
62665         (ctanh_test_upward): Likewise.
62666         (erf_test): Likewise.
62667         (erfc_test): Likewise.
62668         (exp_test): Likewise.
62669         (exp_test_tonearest): Likewise.
62670         (exp_test_towardzero): Likewise.
62671         (exp_test_downward): Likewise.
62672         (exp_test_upward): Likewise.
62673         (exp10_test): Likewise.
62674         (exp2_test): Likewise.
62675         (expm1_test): Likewise.
62676         (fmod_test): Likewise.
62677         (gamma_test): Likewise.
62678         (hypot_test): Likewise.
62679         (j0_test): Likewise.
62680         (j1_test): Likewise.
62681         (jn_test): Likewise.
62682         (lgamma_test): Likewise.
62683         (log_test): Likewise.
62684         (log10_test): Likewise.
62685         (log1p_test): Likewise.
62686         (log2_test): Likewise.
62687         (logb_test_downward): Likewise.
62688         (pow_test): Likewise.
62689         (pow_test_tonearest): Likewise.
62690         (pow_test_towardzero): Likewise.
62691         (pow_test_downward): Likewise.
62692         (pow_test_upward): Likewise.
62693         (remainder_test): Likewise.
62694         (remquo_test): Likewise.
62695         (sin_test): Likewise.
62696         (sin_test_tonearest): Likewise.
62697         (sin_test_towardzero): Likewise.
62698         (sin_test_downward): Likewise.
62699         (sin_test_upward): Likewise.
62700         (sincos_test): Likewise.
62701         (sinh_test): Likewise.
62702         (sinh_test_tonearest): Likewise.
62703         (sinh_test_towardzero): Likewise.
62704         (sinh_test_downward): Likewise.
62705         (sinh_test_upward): Likewise.
62706         (sqrt_test): Likewise.
62707         (tan_test): Likewise.
62708         (tan_test_tonearest): Likewise.
62709         (tan_test_towardzero): Likewise.
62710         (tan_test_downward): Likewise.
62711         (tan_test_upward): Likewise.
62712         (tanh_test): Likewise.
62713         (tgamma_test): Likewise.
62714         (y0_test): Likewise.
62715         (y1_test): Likewise.
62716         (yn_test): Likewise.
62718         * math/gen-libm-test.pl (adjust_arg): Remove function.
62719         (special_function): Remove argument $in_func.  Only handle
62720         generating output for tables of tests, not inside functions.
62721         (parse_args): Likewise.
62722         (generate_testfile): Remove variable $in_func.  Update call to
62723         parse_args.
62724         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
62725         (MINUS_ZERO_INIT): Rename macro to minus_zero.
62726         (PLUS_INFTY_INIT): Rename macro to plus_infty.
62727         (MINUS_INFTY_INIT): Rename macro to minus_infty.
62728         (QNAN_VALUE_INIT): Rename macro to qnan_value.
62729         (MAX_VALUE_INIT): Rename macro to max_value.
62730         (MIN_VALUE_INIT): Rename macro to min_value.
62731         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
62732         (plus_zero): Remove variable.
62733         (minus_zero): Likewise.
62734         (plus_infty): Likewise.
62735         (minus_infty): Likewise.
62736         (qnan_value): Likewise.
62737         (max_value): Likewise.
62738         (min_value): Likewise.
62739         (min_subnorm_value): Likewise.
62741 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62743         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
62744         uint64_t or uint32_t usage.
62745         * crypt/sha256-block.c: Likewise.
62746         * crypt/sha256-crypt.c: Likewise.
62747         * crypt/sha256.c: Likewise.
62748         * crypt/sha512-block.c: Likewise.
62749         * crypt/sha512-crypt.c: Likewise.
62750         * crypt/sha512.c: Likewise.
62751         * debug/backtrace-tst.c: Likewise.
62752         * debug/pcprofiledump.c: Likewise.
62753         * elf/cache.c: Likewise.
62754         * elf/dl-cache.c: Likewise.
62755         * elf/dl-misc.c: Likewise.
62756         * elf/dl-profile.c: Likewise.
62757         * elf/dl-support.c: Likewise.
62758         * elf/ldconfig.c: Likewise.
62759         * elf/sprof.c: Likewise.
62760         * iconv/dummy-repertoire.c: Likewise.
62761         * iconv/iconv_charmap.c: Likewise.
62762         * iconv/skeleton.c: Likewise.
62763         * iconvdata/8bit-generic.c: Likewise.
62764         * iconvdata/cp737.h: Likewise.
62765         * iconvdata/cp775.h: Likewise.
62766         * iconvdata/ibm1008.h: Likewise.
62767         * iconvdata/ibm1025.h: Likewise.
62768         * iconvdata/ibm1046.h: Likewise.
62769         * iconvdata/ibm1097.h: Likewise.
62770         * iconvdata/ibm1112.h: Likewise.
62771         * iconvdata/ibm1122.h: Likewise.
62772         * iconvdata/ibm1123.h: Likewise.
62773         * iconvdata/ibm1124.h: Likewise.
62774         * iconvdata/ibm1129.h: Likewise.
62775         * iconvdata/ibm1130.h: Likewise.
62776         * iconvdata/ibm1132.h: Likewise.
62777         * iconvdata/ibm1133.h: Likewise.
62778         * iconvdata/ibm1137.h: Likewise.
62779         * iconvdata/ibm1140.h: Likewise.
62780         * iconvdata/ibm1141.h: Likewise.
62781         * iconvdata/ibm1142.h: Likewise.
62782         * iconvdata/ibm1143.h: Likewise.
62783         * iconvdata/ibm1144.h: Likewise.
62784         * iconvdata/ibm1145.h: Likewise.
62785         * iconvdata/ibm1146.h: Likewise.
62786         * iconvdata/ibm1147.h: Likewise.
62787         * iconvdata/ibm1148.h: Likewise.
62788         * iconvdata/ibm1149.h: Likewise.
62789         * iconvdata/ibm1153.h: Likewise.
62790         * iconvdata/ibm1154.h: Likewise.
62791         * iconvdata/ibm1155.h: Likewise.
62792         * iconvdata/ibm1156.h: Likewise.
62793         * iconvdata/ibm1157.h: Likewise.
62794         * iconvdata/ibm1158.h: Likewise.
62795         * iconvdata/ibm1160.h: Likewise.
62796         * iconvdata/ibm1161.h: Likewise.
62797         * iconvdata/ibm1162.h: Likewise.
62798         * iconvdata/ibm1163.h: Likewise.
62799         * iconvdata/ibm1164.h: Likewise.
62800         * iconvdata/ibm1166.h: Likewise.
62801         * iconvdata/ibm1167.h: Likewise.
62802         * iconvdata/ibm12712.h: Likewise.
62803         * iconvdata/ibm1390.h: Likewise.
62804         * iconvdata/ibm1399.h: Likewise.
62805         * iconvdata/ibm16804.h: Likewise.
62806         * iconvdata/ibm4517.h: Likewise.
62807         * iconvdata/ibm4899.h: Likewise.
62808         * iconvdata/ibm4909.h: Likewise.
62809         * iconvdata/ibm4971.h: Likewise.
62810         * iconvdata/ibm5347.h: Likewise.
62811         * iconvdata/ibm803.h: Likewise.
62812         * iconvdata/ibm856.h: Likewise.
62813         * iconvdata/ibm901.h: Likewise.
62814         * iconvdata/ibm902.h: Likewise.
62815         * iconvdata/ibm9030.h: Likewise.
62816         * iconvdata/ibm9066.h: Likewise.
62817         * iconvdata/ibm921.h: Likewise.
62818         * iconvdata/ibm922.h: Likewise.
62819         * iconvdata/ibm9448.h: Likewise.
62820         * iconvdata/isiri-3342.h: Likewise.
62821         * iconvdata/jis0201.h: Likewise.
62822         * include/link.h: Likewise.
62823         * include/netdb.h: Likewise.
62824         * inet/check_native.c: Likewise.
62825         * inet/check_pf.c: Likewise.
62826         * inet/getipv4sourcefilter.c: Likewise.
62827         * inet/getnameinfo.c: Likewise.
62828         * inet/getsourcefilter.c: Likewise.
62829         * inet/htonl.c: Likewise.
62830         * inet/setipv4sourcefilter.c: Likewise.
62831         * inet/setsourcefilter.c: Likewise.
62832         * inet/test-inet6_opt.c: Likewise.
62833         * inet/tst-network.c: Likewise.
62834         * locale/C-collate.c: Likewise.
62835         * locale/C-ctype.c: Likewise.
62836         * locale/C-time.c: Likewise.
62837         * locale/C-translit.h: Likewise.
62838         * locale/loadarchive.c: Likewise.
62839         * locale/programs/3level.h: Likewise.
62840         * locale/programs/charmap.c: Likewise.
62841         * locale/programs/charmap.h: Likewise.
62842         * locale/programs/ld-address.c: Likewise.
62843         * locale/programs/ld-collate.c: Likewise.
62844         * locale/programs/ld-ctype.c: Likewise.
62845         * locale/programs/ld-identification.c: Likewise.
62846         * locale/programs/ld-measurement.c: Likewise.
62847         * locale/programs/ld-messages.c: Likewise.
62848         * locale/programs/ld-monetary.c: Likewise.
62849         * locale/programs/ld-name.c: Likewise.
62850         * locale/programs/ld-numeric.c: Likewise.
62851         * locale/programs/ld-paper.c: Likewise.
62852         * locale/programs/ld-telephone.c: Likewise.
62853         * locale/programs/ld-time.c: Likewise.
62854         * locale/programs/linereader.c: Likewise.
62855         * locale/programs/locale.c: Likewise.
62856         * locale/programs/locarchive.c: Likewise.
62857         * locale/programs/locfile.h: Likewise.
62858         * locale/programs/repertoire.c: Likewise.
62859         * locale/programs/simple-hash.c: Likewise.
62860         * locale/programs/simple-hash.h: Likewise.
62861         * malloc/memusage.c: Likewise.
62862         * malloc/memusagestat.c: Likewise.
62863         * nis/nis_defaults.c: Likewise.
62864         * nis/nis_hash.c: Likewise.
62865         * nis/nis_print.c: Likewise.
62866         * nis/nis_xdr.c: Likewise.
62867         * nscd/connections.c: Likewise.
62868         * nscd/hstcache.c: Likewise.
62869         * nscd/nscd_gethst_r.c: Likewise.
62870         * nscd/nscd_getserv_r.c: Likewise.
62871         * nscd/nscd_helper.c: Likewise.
62872         * nscd/servicescache.c: Likewise.
62873         * nss/makedb.c: Likewise.
62874         * nss/nss_db/db-XXX.c: Likewise.
62875         * nss/nss_db/db-initgroups.c: Likewise.
62876         * nss/nss_db/db-netgrp.c: Likewise.
62877         * nss/nss_files/files-network.c: Likewise.
62878         * nss/nss_files/files-parse.c: Likewise.
62879         * posix/bug-regex5.c: Likewise.
62880         * posix/fnmatch_loop.c: Likewise.
62881         * posix/regcomp.c: Likewise.
62882         * posix/regexec.c: Likewise.
62883         * posix/tst-rfc3484-2.c: Likewise.
62884         * posix/tst-rfc3484-3.c: Likewise.
62885         * posix/tst-rfc3484.c: Likewise.
62886         * resolv/nss_dns/dns-canon.c: Likewise.
62887         * resolv/nss_dns/dns-network.c: Likewise.
62888         * resolv/res_init.c: Likewise.
62889         * resolv/res_mkquery.c: Likewise.
62890         * resolv/tst-aton.c: Likewise.
62891         * stdlib/cxa_atexit.c: Likewise.
62892         * stdlib/cxa_finalize.c: Likewise.
62893         * stdlib/gen-fpioconst.c: Likewise.
62894         * stdlib/strtol_l.c: Likewise.
62895         * string/tst-endian.c: Likewise.
62896         * sunrpc/auth_des.c: Likewise.
62897         * sunrpc/clnt_udp.c: Likewise.
62898         * sunrpc/rtime.c: Likewise.
62899         * sunrpc/svcauth_des.c: Likewise.
62900         * sunrpc/xdr.c: Likewise.
62901         * sunrpc/xdr_intXX_t.c: Likewise.
62902         * sunrpc/xdr_rec.c: Likewise.
62903         * sysdeps/generic/ldconfig.h: Likewise.
62904         * sysdeps/generic/ldsodefs.h: Likewise.
62905         * sysdeps/generic/memusage.h: Likewise.
62906         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62907         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
62908         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
62909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62910         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62912         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62913         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62914         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62916         * sysdeps/posix/getaddrinfo.c: Likewise.
62917         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62919         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62920         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62921         * sysdeps/powerpc/test-gettimebase.c: Likewise.
62922         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
62923         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
62924         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
62925         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
62926         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
62927         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62928         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62929         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
62930         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
62931         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
62932         * sysdeps/x86_64/dl-tls.h: Likewise.
62933         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
62934         * time/alt_digit.c: Likewise.
62935         * time/era.c: Likewise.
62936         * wcsmbs/tst-c16c32-1.c: Likewise.
62938 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62940         * math/libm-test.inc (struct test_sincos_data): New type.
62941         (RUN_TEST_LOOP_sincos): New macro.
62942         (sincos_test_data): New variable.
62943         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
62945 2013-05-16  Richard Henderson  <rth@redhat.com>
62947         * math/atest-exp2.c (LIMB64): New macro.
62948         (CONSTSZ): New macro.
62949         (mp_exp1, mp_exp_m1, mp_log2): New variables.
62950         (hexdig): Move ...
62951         (print_mpn_fp): ... to function scope.
62952         (read_mpn_hex): Remove.
62953         (get_log2): Remove.
62954         (exp2_mpn): Use mp_log2.
62955         (main): Use mp_exp1.
62957 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
62959         * math/libm-test.inc: Remove comment about not testing "inexact"
62960         exceptions.
62961         (INEXACT_EXCEPTION): New macro.
62962         (NO_INEXACT_EXCEPTION): Likewise.
62963         (INVALID_EXCEPTION_OK): Update value.
62964         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62965         (OVERFLOW_EXCEPTION_OK): Likewise.
62966         (UNDERFLOW_EXCEPTION_OK): Likewise.
62967         (IGNORE_ZERO_INF_SIGN): Likewise.
62968         (ERRNO_UNCHANGED): Likewise.
62969         (ERRNO_EDOM): Likewise.
62970         (ERRNO_ERANGE): Likewise.
62971         (test_exceptions): Handle testing "inexact" exceptions.
62972         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
62973         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
62974         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
62975         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
62976         INEXACT_EXCEPTION.
62977         (rint_towardzero_test_data): Likewise.
62978         (rint_downward_test_data): Likewise.
62979         (rint_upward_test_data): Likewise.
62981         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
62982         with OVERFLOW_EXCEPTION.
62983         (exp10_test_data): Likewise.
62984         (exp2_test_data): Likewise.
62985         (expm1_test_data): Likewise.
62986         (lgamma_test_data): Likewise.
62987         (pow_test_data): Likewise.
62988         (tgamma_test_data): Likewise.
62989         (yn_test_data): Remove duplicate test of overflow.
62991         * math/libm-test.inc (struct test_cc_c_data): New type.
62992         (RUN_TEST_LOOP_cc_c): New macro.
62993         (cpow_test_data): New variable.
62994         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
62996         * math/libm-test.inc (struct test_f_L_data): New type.
62997         (RUN_TEST_LOOP_f_L): New macro.
62998         (llrint_test_data): New variable.
62999         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63000         (llrint_tonearest_test_data): New variable.
63001         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63002         (llrint_towardzero_test_data): New variable.
63003         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63004         (llrint_downward_test_data): New variable.
63005         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63006         (llrint_upward_test_data): New variable.
63007         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63008         (llround_test_data): New variable.
63009         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63011 2013-05-13  Peter Collingbourne  <pcc@google.com>
63013         * math/atest-exp2.c (get_log2): Remove const attribute.
63015 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63017         * math/libm-test.inc (struct test_f_l_data): New type.
63018         (RUN_TEST_LOOP_f_l): New macro.
63019         (lrint_test_data): New variable.
63020         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63021         (lrint_tonearest_test_data): New variable.
63022         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63023         (lrint_towardzero_test_data): New variable.
63024         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63025         (lrint_downward_test_data): New variable.
63026         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63027         (lrint_upward_test_data): New variable.
63028         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63029         (lround_test_data): New variable.
63030         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63032 2013-05-15  Peter Collingbourne  <pcc@google.com>
63034         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63035         (EXTRACT_WORDS64) Use where appropriate.
63036         (INSERT_WORDS64) Likewise.
63038         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63039         constraints with x constraints.
63040         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63042         * malloc/obstack.c (_obstack_compat): Add initializer.
63044 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63046         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63047         si_trapno and add si_addr_lsb to _sifields.sigfault.
63048         (si_trapno): Remove macro.
63049         (si_addr_lsb): Define new macro.
63050         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63052 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63054         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
63055         instead of TEST_f_l.
63056         (llrint_test_tonearest): Likewise.
63057         (llrint_test_towardzero): Likewise.
63058         (llrint_test_downward): Likewise.
63059         (llrint_test_upward): Likewise.
63060         (llround_test): Likewise.
63062         * math/libm-test.inc (struct test_f_i_data): Add comment.
63063         (RUN_TEST_LOOP_f_b): New macro.
63064         (RUN_TEST_LOOP_f_b_tg): Likewise.
63065         (finite_test_data): New variable.
63066         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
63067         (isfinite_test_data): New variable.
63068         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63069         (isinf_test_data): New variable.
63070         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63071         (isnan_test_data): New variable.
63072         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63073         (isnormal_test_data): New variable.
63074         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63075         (issignaling_test_data): New variable.
63076         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63077         (signbit_test_data): New variable.
63078         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
63080         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
63081         with INVALID_EXCEPTION.
63082         (acosh_test_data): Likewise.
63083         (asin_test_data): Likewise.
63084         (atanh_test_data): Likewise.
63085         (fmod_test_data): Likewise.
63086         (log_test_data): Likewise.
63087         (log10_test_data): Likewise.
63088         (log2_test_data): Likewise.
63089         (pow_test_data): Likewise.
63090         (sqrt_test_data): Likewise.
63091         (y0_test_data): Likewise.
63092         (y1_test_data): Likewise.
63093         (yn_test_data): Likewise.
63095         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
63096         function contents.
63098         * math/libm-test.inc (struct test_ff_i_data): New type.
63099         (RUN_TEST_LOOP_ff_i_tg): New macro.
63100         (isgreater_test_data): New variable.
63101         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63102         (isgreaterequal_test_data): New variable.
63103         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63104         (isless_test_data): New variable.
63105         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63106         (islessequal_test_data): New variable.
63107         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63108         (islessgreater_test_data): New variable.
63109         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63110         (isunordered_test_data): New variable.
63111         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
63113 2013-05-14  David S. Miller  <davem@davemloft.net>
63115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63117 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
63119         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
63121         * math/libm-test.inc (struct test_fF_f1_data): Change type of
63122         extra_test to int.
63123         (struct test_f_i_data): Change type of max_ulp to int.
63125         * math/libm-test.inc (test_ffI_f1_data): New type.
63126         (RUN_TEST_LOOP_ffI_f1): New macro.
63127         (remquo_test_data): New variable.
63128         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
63130         * setjmp/tst-setjmp-fp.c: New file.
63131         * setjmp/Makefile (tests): Add tst-setjmp-fp.
63132         (link-libm): New variable.
63133         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
63135         * math/libm-test.inc (struct test_f_i_data): New type.
63136         (RUN_TEST_LOOP_f_i): New macro.
63137         (RUN_TEST_LOOP_f_i_tg): Likewise.
63138         (fpclassify_test_data): New variable.
63139         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
63140         (ilogb_test_data): New variable.
63141         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
63143         * math/libm-test.inc (scalbln_test): Correct function name in END
63144         call.
63146         * math/libm-test.inc (struct test_f_f1_data): Add comment.
63147         (RUN_TEST_LOOP_fI_f1): New macro.
63148         (frexp_test_data): New variable.
63149         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
63151         * math/libm-test.inc (struct test_fF_f1_data): New type.
63152         (RUN_TEST_LOOP_fF_f1): New macro.
63153         (modf_test_data): New variable.
63154         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
63156         * math/libm-test.inc (struct test_f_f1_data): New type.
63157         (RUN_TEST_LOOP_f_f1): New macro.
63158         (gamma_test_data): New variable.
63159         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63160         (lgamma_test_data): New variable.
63161         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
63163 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
63165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
63166         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
63167         (main): Comment "tls" pseudo-hwcap.
63169 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
63171         * math/libm-test.inc (struct test_fl_f_data): New type.
63172         (RUN_TEST_LOOP_fl_f): New variable.
63173         (scalbln_test_data): New variable.
63174         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
63176         * math/libm-test.inc (struct test_fi_f_data): New type.
63177         (RUN_TEST_LOOP_fi_f): New macro.
63178         (ldexp_test_data): New variable.
63179         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
63180         (scalbn_test_data): New variable.
63181         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
63183         * math/libm-test.inc (struct test_c_f_data): New type.
63184         (RUN_TEST_LOOP_c_f): New macro.
63185         (cabs_test_data): New variable.
63186         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
63187         (carg_test_data): New variable.
63188         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
63189         (cimag_test_data): New variable.
63190         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
63191         (creal_test_data): New variable.
63192         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
63194         * math/libm-test.inc (struct test_if_f_data): New type.
63195         (RUN_TEST_LOOP_if_f): New macro.
63196         (jn_test_data): New variable.
63197         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
63198         (yn_test_data): New variable.
63199         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
63201         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
63203 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63205         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
63206         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
63208 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63210         * benchtests/Makefile (CPPFLAGS-nonlib): Add
63211         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
63212         (bench-deps): Add bench-timing.h.
63213         * benchtests-bench-skeleton.c: Include bench-timing.h.
63214         (main): Use TIMING_* macros instead of clock_gettime.
63215         * benchtests/bench-timing.h: New file.
63217         [BZ #14582]
63218         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
63219         Renamed from _LIB_VERSION.
63220         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
63222 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
63224         * math/libm-test.inc (struct test_fff_f_data): New type.
63225         (RUN_TEST_LOOP_fff_f): New macro.
63226         (fma_test_data): New variable.
63227         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
63228         (fma_towardzero_test_data): New variable.
63229         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
63230         (fma_downward_test_data): New variable.
63231         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
63232         (fma_upward_test_data): New variable.
63233         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
63235         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63236         (struct test_c_c_data): New type.
63237         (RUN_TEST_LOOP_c_c): New macro.
63238         (cacos_test_data): New variable.
63239         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
63240         (cacosh_test_data): New variable.
63241         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
63242         (casin_test_data): New variable.
63243         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
63244         (casinh_test_data): New variable.
63245         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
63246         (catan_test_data): New variable.
63247         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
63248         (catanh_test_data): New variable.
63249         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
63250         (ccos_test_data): New variable.
63251         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
63252         (ccosh_test_data): New variable.
63253         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
63254         (cexp_test_data): New variable.
63255         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
63256         (clog_test_data): New variable.
63257         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
63258         (clog10_test_data): New variable.
63259         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
63260         (conj_test_data): New variable.
63261         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
63262         (cproj_test_data): New variable.
63263         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
63264         (csin_test_data): New variable.
63265         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
63266         (csinh_test_data): New variable.
63267         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
63268         (csqrt_test_data): New variable.
63269         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
63270         (ctan_test_data): New variable.
63271         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
63272         (ctan_tonearest_test_data): New variable.
63273         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63274         (ctan_towardzero_test_data): New variable.
63275         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63276         (ctan_downward_test_data): New variable.
63277         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63278         (ctan_upward_test_data): New variable.
63279         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63280         (ctanh_test_data): New variable.
63281         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
63282         (ctanh_tonearest_test_data): New variable.
63283         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
63284         (ctanh_towardzero_test_data): New variable.
63285         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
63286         (ctanh_downward_test_data): New variable.
63287         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
63288         (ctanh_upward_test_data): New variable.
63289         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
63290         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
63291         of BUILD_COMPLEX.
63293         * math/libm-test.inc (struct test_ff_f_data): New type.
63294         (struct test_ff_f_data_nexttoward): Likewise.
63295         (RUN_TEST_LOOP_2_f): New macro.
63296         (RUN_TEST_LOOP_ff_f): Likewise.
63297         (atan2_test_data): New variable.
63298         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
63299         (copysign_test_data): New variable.
63300         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
63301         (fdim_test_data): New variable.
63302         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
63303         (fmax_test_data): New variable.
63304         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
63305         (fmin_test_data): New variable.
63306         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
63307         (fmod_test_data): New variable.
63308         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
63309         (hypot_test_data): New variable.
63310         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
63311         (nextafter_test_data): New variable.
63312         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
63313         (nexttoward_test_data): New variable.
63314         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
63315         (pow_test_data): New variable.
63316         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
63317         (pow_tonearest_test_data): New variable.
63318         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
63319         (pow_towardzero_test_data): New variable.
63320         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
63321         (pow_downward_test_data): New variable.
63322         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
63323         (pow_upward_test_data): New variable.
63324         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
63325         (remainder_test_data): New variable.
63326         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
63327         (scalb_test_data): New variable.
63328         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
63329         * sysdeps/i386/fpu/libm-test-ulps: Update.
63331 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
63333         * math/libm-test.inc (fma_test): Use max_value instead of local
63334         variable fltmax.
63335         (nextafter_test): Likewise.
63337         * math/libm-test.inc (acos_towardzero_test_data): New variable.
63338         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63339         (acos_downward_test_data): New variable.
63340         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63341         (acos_upward_test_data): New variable.
63342         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63343         (acosh_test_data): New variable.
63344         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
63345         (asin_test_data): New variable.
63346         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
63347         (asin_tonearest_test_data): New variable.
63348         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63349         (asin_towardzero_test_data): New variable.
63350         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63351         (asin_downward_test_data): New variable.
63352         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63353         (asin_upward_test_data): New variable.
63354         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63355         (asinh_test_data): New variable.
63356         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
63357         (atan_test_data): New variable.
63358         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
63359         (atanh_test_data): New variable.
63360         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
63361         (cbrt_test_data): New variable.
63362         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
63363         (ceil_test_data): New variable.
63364         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
63365         (cos_test_data): New variable.
63366         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
63367         (cos_tonearest_test_data): New variable.
63368         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63369         (cos_towardzero_test_data): New variable.
63370         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63371         (cos_downward_test_data): New variable.
63372         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63373         (cos_upward_test_data): New variable.
63374         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63375         (cosh_test_data): New variable.
63376         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
63377         (cosh_tonearest_test_data): New variable.
63378         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63379         (cosh_towardzero_test_data): New variable.
63380         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63381         (cosh_downward_test_data): New variable.
63382         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63383         (cosh_upward_test_data): New variable.
63384         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63385         (erf_test_data): New variable.
63386         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
63387         (erfc_test_data): New variable.
63388         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
63389         (exp_test_data): New variable.
63390         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
63391         (exp_tonearest_test_data): New variable.
63392         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63393         (exp_towardzero_test_data): New variable.
63394         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63395         (exp_downward_test_data): New variable.
63396         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63397         (exp_upward_test_data): New variable.
63398         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63399         (exp10_test_data): New variable.
63400         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
63401         (exp2_test_data): New variable.
63402         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
63403         (expm1_test_data): New variable.
63404         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
63405         (fabs_test_data): New variable.
63406         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
63407         (floor_test_data): New variable.
63408         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
63409         (j0_test_data): New variable.
63410         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
63411         (j1_test_data): New variable.
63412         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
63413         (log_test_data): New variable.
63414         (log_test): Run tests with RUN_TEST_LOOP_f_f.
63415         (log10_test_data): New variable.
63416         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
63417         (log1p_test_data): New variable.
63418         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
63419         (log2_test_data): New variable.
63420         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
63421         (logb_test_data): New variable.
63422         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
63423         (logb_downward_test_data): New variable.
63424         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63425         (nearbyint_test_data): New variable.
63426         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
63427         (rint_test_data): New variable.
63428         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
63429         (rint_tonearest_test_data): New variable.
63430         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63431         (rint_towardzero_test_data): New variable.
63432         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63433         (rint_downward_test_data): New variable.
63434         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63435         (rint_upward_test_data): New variable.
63436         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63437         (round_test_data): New variable.
63438         (round_test): Run tests with RUN_TEST_LOOP_f_f.
63439         (sin_test_data): New variable.
63440         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
63441         (sin_tonearest_test_data): New variable.
63442         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63443         (sin_towardzero_test_data): New variable.
63444         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63445         (sin_downward_test_data): New variable.
63446         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63447         (sin_upward_test_data): New variable.
63448         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63449         (sinh_test_data): New variable.
63450         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
63451         (sinh_tonearest_test_data): New variable.
63452         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63453         (sinh_towardzero_test_data): New variable.
63454         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63455         (sinh_downward_test_data): New variable.
63456         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63457         (sinh_upward_test_data): New variable.
63458         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63459         (sqrt_test_data): New variable.
63460         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
63461         (tan_test_data): New variable.
63462         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
63463         (tan_tonearest_test_data): New variable.
63464         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63465         (tan_towardzero_test_data): New variable.
63466         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
63467         (tan_downward_test_data): New variable.
63468         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
63469         (tan_upward_test_data): New variable.
63470         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
63471         (tanh_test_data): New variable.
63472         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
63473         (tgamma_test_data): New variable.
63474         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
63475         (trunc_test_data): New variable.
63476         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
63477         (y0_test_data): New variable.
63478         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
63479         (y1_test_data): New variable.
63480         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
63481         (significand_test_data): New variable.
63482         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
63484 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
63486         [BZ #12387]
63487         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
63489 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63491         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
63493 2013-05-10  Andreas Jaeger  <aj@suse.de>
63495         [BZ #15448]
63496         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
63497         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
63499 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63501         * math/gen-libm-test.pl (adjust_arg): New function.
63502         (special_functions): Handle generating output in both functions
63503         and arrays.
63504         (parse_args): Likewise.
63505         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
63506         $in_func argument to parse_args.
63507         * math/libm-test.inc (struct test_f_f_data): New type.
63508         (IF_ROUND_INIT_): New macro.
63509         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
63510         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63511         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63512         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63513         (ROUND_RESTORE_): Likewise.
63514         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
63515         (ROUND_RESTORE_FE_TONEAREST): Likewise.
63516         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
63517         (ROUND_RESTORE_FE_UPWARD): Likewise.
63518         (RUN_TEST_LOOP_f_f): New macro.
63519         (acos_test_data): New variable.
63520         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
63521         (acos_tonearest_test_data): New variable.
63522         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63524 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63526         * benchtests/bench-skeleton.c (startup): Fix coding style.
63528 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
63530         [BZ #6809]
63531         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
63532         negative infinity argument.
63533         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
63534         negative infinity argument.
63535         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
63536         negative infinity argument.
63537         * math/libm-test.inc (tgamma_test): Expect errno to be set for
63538         domain errors.
63540 2013-05-10  Florian Weimer  <fweimer@redhat.com>
63542         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
63543         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
63544         * iconv/iconv_prog.c (main): Likewise.
63545         * locale/programs/charmap-dir.c (charmap_readdir)
63546         (fopen_uncompressed): Likewise.
63547         * locale/programs/locfile.c (siblings_uncached)
63548         (write_locale_data): Use lstat64 instead of lstat.
63549         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
63550         stat.
63552 2013-05-10  Andreas Jaeger  <aj@suse.de>
63554         [BZ #15395]
63555         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
63556         localization.
63557         Include <locale.h>.
63559 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
63561         * elf/dl-close.c (_dl_close_worker): Add comments.
63563 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
63565         [BZ #15359]
63566         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
63567         high part of pi/2.
63568         (__ieee754_rem_pio2l): Update comments.
63570         [BZ #15429]
63571         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
63572         high part of pi/2.
63573         (__ieee754_rem_pio2l): Update comments.
63575         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
63576         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
63578         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
63579         M_PI_4l.
63581         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
63582         (M_PI_34_LOG10El): Likewise.
63583         (M_PI2_LOG10El): Likewise.
63584         (M_PI4_LOG10El): Likewise.
63585         (M_PI_LOG10El): Likewise.
63587 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63591 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
63593         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
63594         (MINUS_ZERO_INIT): Likewise.
63595         (PLUS_INFTY_INIT): Likewise.
63596         (MINUS_INFTY_INIT): Likewise.
63597         (QNAN_VALUE_INIT): Likewise.
63598         (MAX_VALUE_INIT): Likewise.
63599         (MIN_VALUE_INIT): Likewise.
63600         (MIN_SUBNORM_VALUE_INIT): Likewise.
63601         (plus_zero): Initialize with PLUS_ZERO_INIT.
63602         (minus_zero): Initialize with MINUS_ZERO_INIT.
63603         (plus_infty): Initialize with PLUS_INFTY_INIT.
63604         (minus_infty): Initialize with MINUS_INFTY_INIT.
63605         (qnan_value): Initialize with QNAN_VALUE_INIT.
63606         (max_value): Initialize with MAX_VALUE_INIT.
63607         (min_value): Initialize with MIN_VALUE_INIT.
63608         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
63610         * math/libm-test.inc (RUN_TEST_if_f): New macro.
63611         (jn_test): Use TEST_if_f instead of TEST_ff_f.
63612         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
63613         (yn_test): Use TEST_if_f instead of TEST_ff_f.
63615         * math/libm-test.inc (RUN_TEST_f_f): New macro.
63616         (RUN_TEST_2_f): Likewise.
63617         (RUN_TEST_ff_f): Likewise.
63618         (RUN_TEST_fi_f): Likewise.
63619         (RUN_TEST_fl_f): Likewise.
63620         (RUN_TEST_fff_f): Likewise.
63621         (RUN_TEST_c_f): Likewise.
63622         (RUN_TEST_f_f1): Likewise.
63623         (RUN_TEST_fF_f1): Likewise.
63624         (RUN_TEST_fI_f1): Likewise.
63625         (RUN_TEST_ffI_f1): Likewise.
63626         (RUN_TEST_c_c): Likewise.
63627         (RUN_TEST_cc_c): Likewise.
63628         (RUN_TEST_f_i): Likewise.
63629         (RUN_TEST_f_i_tg): Likewise.
63630         (RUN_TEST_ff_i_tg): Likewise.
63631         (RUN_TEST_f_b): Likewise.
63632         (RUN_TEST_f_b_tg): Likewise.
63633         (RUN_TEST_f_l): Likewise.
63634         (RUN_TEST_f_L): Likewise.
63635         (RUN_TEST_sincos): Likewise.
63636         * math/gen-libm-test.pl (new_test): Take new argument to indicate
63637         whether to show exceptions.  Do not include ");\n" in return
63638         value.
63639         (special_functions): Output call to RUN_TEST_sincos instead of
63640         check_float calls.  Update calls to new_test.
63641         (parse_args): Output call to single RUN_TEST_* macro instead of
63642         check_* calls and other assignments.  Update calls to new_test.
63644         [BZ #2546]
63645         [BZ #2560]
63646         [BZ #5159]
63647         [BZ #15426]
63648         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63649         input to result for tgamma overflow.
63650         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
63651         (gamma_coeff): New variable.
63652         (NCOEFF): New macro.
63653         (gamma_positive): New function.
63654         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
63655         underflow here.  Use gamma_positive instead of exp (lgamma) for
63656         other arguments.
63657         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
63658         (gamma_coeff): New variable.
63659         (NCOEFF): New macro.
63660         (gammaf_positive): New function.
63661         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
63662         underflow here.  Use gamma_positive instead of exp (lgamma) for
63663         other arguments.
63664         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
63665         (gamma_coeff): New variable.
63666         (NCOEFF): New macro.
63667         (gammal_positive): New function.
63668         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
63669         underflow here.  Use gamma_positive instead of exp (lgamma) for
63670         other arguments.
63671         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
63672         (gamma_coeff): New variable.
63673         (NCOEFF): New macro.
63674         (gammal_positive): New function.
63675         (__ieee754_gammal_r): Handle positive infinity, overflow and
63676         underflow here.  Handle NaN the same as positive infinity.  Remove
63677         check x < 0xffffffff for negative integers.  Use gamma_positive
63678         instead of exp (lgamma) for other arguments.
63679         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
63680         (gamma_coeff): New variable.
63681         (NCOEFF): New macro.
63682         (gammal_positive): New function.
63683         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
63684         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
63685         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
63686         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
63687         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
63688         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
63689         * sysdeps/generic/math_private.h (__gamma_productf): New
63690         prototype.
63691         (__gamma_product): Likewise.
63692         (__gamma_productl): Likewise.
63693         * math/Makefile (libm-calls): Add gamma_product.
63694         * math/libm-test.inc (tgamma_test): Add more tests.
63695         * sysdeps/i386/fpu/libm-test-ulps: Update.
63696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63698 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
63700         * benchtests/bench-skeleton.c (main): Preheat CPU.
63702 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
63704         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
63706 2013-05-07  Roland McGrath  <roland@hack.frob.com>
63708         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
63709         and _dl_skip_args_internal.
63711 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
63713         * manual/message.texi (Message Translation): Talk about users.
63714         Message to key mapping impacts design.
63716 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63718         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
63720         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
63722         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
63723         * sysdeps/wordsize-64/glob64.c: ... here.
63725         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
63726         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
63727         New macros.
63729         * debug/getlogin_r_chk.c: Moved to ...
63730         * login/getlogin_r_chk.c: ... here.
63731         * debug/Makefile (routines): Move getlogin_r_chk to ...
63732         * login/Makefile (routines): ... here.
63733         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
63734         * login/Versions (libc: GLIBC_2.4): ... here.
63736         * io/poll.c (__poll): Renamed from poll.
63737         Add libc_hidden_def.
63738         (poll): Define as weak alias.
63740         * debug/ptsname_r_chk.c: Moved to ...
63741         * login/ptsname_r_chk.c: ... here.
63742         * debug/Makefile (routines): Move ptsname_r_chk to ...
63743         * login/Makefile (routines): ... here.
63744         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
63745         * login/Versions (libc: GLIBC_2.4): ... here.
63747         * posix/getlogin.c: Moved to ...
63748         * login/getlogin.c: ... here.
63749         * posix/getlogin_r.c: Moved to ...
63750         * login/getlogin_r.c: ... here.
63751         * posix/getlogin_r.c: Moved to ...
63752         * login/getlogin_r.c: ... here.
63753         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
63754         * login/Makefile (routines): ... here.
63755         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
63756         * login/Versions (libc: GLIBC_2.0): ... here.
63758         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
63759         (setrlimit): Define as weak alias.
63761         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
63762         Call __ names for open, ftruncate, and close.
63763         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
63764         (truncate): Define as weak alias.
63766 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
63768         * math/gen-libm-test.pl (parse_args): Initialize x before each
63769         test of frexp, modf and remquo.
63771         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
63772         test signgam value.
63774 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63776         [BZ #15418]
63777         [BZ #15419]
63778         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
63779         internal tests.
63780         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63782 2013-05-06  Roland McGrath  <roland@hack.frob.com>
63784         * elf/dl-writev.h: New file.
63785         * elf/dl-misc.c: Include it.
63786         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
63787         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
63789 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
63791         * math/libm-test.inc (noXFails): Remove variable.
63792         (noXPasses): Likewise.
63793         (BUILD_COMPLEX_INT): Remove macro.
63794         (print_screen): Remove xfail argument.
63795         (print_screen_max_error): Likewise.
63796         (update_stats): Likewise.
63797         (print_max_error): Likewise.  Update calls to other affected
63798         functions.
63799         (print_complex_max_error): Likewise.
63800         (test_single_exception): Update calls to print_screen.
63801         (test_single_errno): Likewise.
63802         (check_float_internal): Remove xfail argument.  Update calls to
63803         other affected functions.
63804         (check_float): Likewise.
63805         (check_complex): Likewise.
63806         (check_int): Likewise.
63807         (check_long): Likewise.
63808         (check_bool): Likewise.
63809         (check_longlong): Likewise.
63810         (main): Don't print noXFails and noXPasses.
63811         * math/gen-libm-test.pl (top level): Don't mention expected
63812         failure handling in comment.
63813         (new_test): Don't handle expected failures.
63814         (parse_args): Don't mention expected failure handling in comment.
63815         (generate_testfile): Don't handle expected failures.
63816         (parse_ulps): Likewise.
63817         (print_ulps_file): Likewise.
63818         (get_failure): Remove function.
63819         (output_test): Don't handle expected failures.
63820         * make/README.libm-test: Don't mention expected failure handling.
63822         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
63823         (minus_zero): Likewise.
63824         (plus_infty): Likewise.
63825         (minus_infty): Likewise.
63826         (qnan_value): Likewise.
63827         (max_value): Likewise.
63828         (min_value): Likewise.
63829         (min_subnorm_value): Likewise.
63830         (initialize): Do not initialize those variables dynamically.
63832 2013-05-03  Roland McGrath  <roland@hack.frob.com>
63834         * io/open.c (__open_2): Moved to ...
63835         * io/open_2.c: ... this new file.
63836         * io/open64.c (__open64_2): Moved to ...
63837         * io/open64_2.c: ... this new file.
63838         * io/openat.c (__openat_2): Moved to ...
63839         * io/openat_2.c: ... this new file.
63840         * io/openat64.c (__openat64_2): Moved to ...
63841         * io/openat64_2.c: ... this new file.
63842         * io/Makefile (routines): Add them.
63843         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
63844         * sysdeps/unix/sysv/linux/open_2.c: File removed.
63845         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
63846         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
63847         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
63848         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
63849         (__openat64): Add hidden_ver.
63850         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
63851         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
63853         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
63854         Separately conditionalize setting of GLRO(dl_sysinfo) so
63855         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
63856         as well, but the actual setting is only under [NEED_DL_SYSINFO].
63858 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63860         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
63861         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
63862         definition.
63863         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
63864         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63865         (_libc_vdso_platform_setup): Add __vdso_time initialization.
63866         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
63867         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
63869 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
63871         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
63872         test signgam value.
63874         * math/libm-test.inc (hypot_test): Do not use
63875         IGNORE_ZERO_INF_SIGN.
63877 2013-05-03  Andreas Jaeger  <aj@suse.de>
63879         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
63880         Linux 3.9.
63881         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63882         (PF_MAX): Adjust for VSOCK change.
63884 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63888 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
63890         [BZ #15264]
63891         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
63892         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
63893         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
63895 2013-05-02  David S. Miller  <davem@davemloft.net>
63897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63899 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
63901         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
63903 2013-05-01  Roland McGrath  <roland@hack.frob.com>
63905         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
63907 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
63909         [BZ #14952]
63910         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
63911         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63912         Use __attribute__ ((__gnu_inline__)).
63913         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
63914         Don't use __attribute__ ((__gnu_inline__)).
63916 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
63918         [BZ #15423]
63919         * math/s_catan.c (__catan): Handle small real or imaginary part of
63920         input specially to avoid spurious underflow.
63921         * math/s_catanf.c (__catanf): Likewise.
63922         * math/s_catanh.c (__catanh): Likewise.
63923         * math/s_catanhf.c (__catanhf): Likewise.
63924         * math/s_catanhl.c (__catanhl): Likewise.
63925         * math/s_catanl.c (__catanl): Likewise.
63926         * math/libm-test.inc (catan_test): Add more tests.
63927         (catanh_test): Likewise.
63928         * sysdeps/i386/fpu/libm-test-ulps: Update.
63929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63931 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63935 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
63937         [BZ #15416]
63938         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
63939         accurately for denominator in atan2.
63940         * math/s_catanf.c (__catanf): Likewise.
63941         * math/s_catanh.c (__catanh): Likewise.
63942         * math/s_catanhf.c (__catanhf): Likewise.
63943         * math/s_catanhl.c (__catanhl): Likewise.
63944         * math/s_catanl.c (__catanl): Likewise.
63945         * math/libm-test.inc (catan_test): Add more tests.
63946         (catanh_test): Likewise.
63947         * sysdeps/i386/fpu/libm-test-ulps: Update.
63948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63950 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63952         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
63954         * benchtests/Makefile (bench): Remove slow benchmarks.
63955         * benchtests/atan-inputs: Add slow benchmark inputs.
63956         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63957         (BENCH_FUNC): Accept variant offset.
63958         (VARIANT): Define.
63959         * benchtests/bench-skeleton.c (main): Run benchmark for each
63960         variant.
63961         * benchtests/cos-inputs: Add slow benchmark inputs.
63962         * benchtests/exp-inputs: Likewise.
63963         * benchtests/pow-inputs: Likewise.
63964         * benchtests/sin-inputs: Likewise.
63965         * benchtests/slowatan-inputs: Remove.
63966         * benchtests/slowatan.c: Remove.
63967         * benchtests/slowcos-inputs: Remove.
63968         * benchtests/slowcos.c: Remove.
63969         * benchtests/slowexp-inputs: Remove.
63970         * benchtests/slowexp.c: Remove.
63971         * benchtests/slowpow-inputs: Remove.
63972         * benchtests/slowpow.c: Remove.
63973         * benchtests/slowsin-inputs: Remove.
63974         * benchtests/slowsin.c: Remove.
63975         * benchtests/slowtan-inputs: Remove.
63976         * benchtests/slowtan.c: Remove.
63977         * benchtests/tan-inputs: Add slow benchmark inputs.
63978         * scripts/bench.pl: Parse comments and directives.
63980         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
63981         in CPPFLAGS.
63982         ($(objpfx)bench-%.c): Remove *-ITER.
63983         * benchtests/bench-modf.c: Remove definition of ITER.
63984         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
63985         (main): Loop for DURATION seconds instead of fixed number of
63986         iterations.
63987         * scripts/bench.pl: Don't expect iterations in parameters.
63989 2013-04-29  Roland McGrath  <roland@hack.frob.com>
63991         * io/fchdir.c (__fchdir): Renamed from fchdir.
63992         (fchdir): Define as weak alias.
63994 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
63996         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
63997         (ERRNO_EDOM): Likewise.
63998         (ERRNO_ERANGE): Likewise.
63999         (noErrnoTests): New variable.
64000         (init_max_error): Set errno to 0.
64001         (test_single_errno): New function.
64002         (test_errno): Likewise.
64003         (check_float_internal): Call test_errno.  Set errno to 0.
64004         (check_complex): Refer to errno tests in comment.
64005         (check_int): Call test_errno.  Set errno to 0.
64006         (check_long): Likewise.
64007         (check_bool): Likewise.
64008         (check_longlong): Likewise.
64009         (cos_test): Use ERRNO_* flags for errno tests instead of
64010         check_int.
64011         (expm1_test): Likewise.
64012         (fmod_test): Likewise.
64013         (ilogb_test): Likewise.
64014         (lgamma_test): Likewise.
64015         (pow_test): Likewise.
64016         (remainder_test): Likewise.
64017         (sin_test): Likewise.
64018         (tan_test): Likewise.
64019         (yn_test): Likewise.
64020         (initialize): Set errno to 0.
64021         (main): Print number of errno tests.
64022         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64024 2013-04-29  Andreas Jaeger  <aj@suse.de>
64026         [BZ #15084]
64027         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64028         and RES_USEVC.
64030         [BZ #15085]
64031         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64032         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64033         unimplemented.
64035         [BZ #15380]
64036         * stdlib/random.c (__initstate): Return NULL if
64037         __initstate fails.
64039         [BZ #15086]
64040         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64041         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64042         RES_SNGLKUPREOP.
64044 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64048 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64050         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
64051         of individual tests.
64052         (casin_test): Likewise.
64053         (casinh_test): Likewise.
64055 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
64057         [BZ #15409]
64058         * math/s_catan.c (__catan): Handle arguments with large real or
64059         imaginary part separately without squaring.
64060         * math/s_catanf.c (__catanf): Likewise.
64061         * math/s_catanh.c (__catanh): Likewise.
64062         * math/s_catanhf.c (__catanhf): Likewise.
64063         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64064         and redefine.
64065         (__catanhl): Handle arguments with large real or imaginary part
64066         separately without squaring.
64067         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
64068         and redefine.
64069         (__catanl): Handle arguments with large real or imaginary part
64070         separately without squaring.
64071         * math/libm-test.inc (catan_test): Add more tests.
64072         (catanh_test): Likewise.
64073         * sysdeps/i386/fpu/libm-test-ulps: Update.
64074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64076 2013-04-27  Andreas Jaeger  <aj@suse.de>
64078         [BZ #15007]
64079         * stdlib/stdlib.h: Update guards for qecvt.
64080         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
64081         <stdlib.h>.
64083 2013-04-27  Allan McRae  <allan@archlinux.org>
64085         * sysdeps/i386/fpu/libm-test-ulps: Update.
64087 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
64089         [BZ #15406]
64090         * math/s_catan.c: Include <float.h>.
64091         (__catan): Ensure underflow exception occurs for underflowed
64092         result.
64093         * math/s_catanf.c: Include <float.h>.
64094         (__catanf): Ensure underflow exception occurs for underflowed
64095         result.
64096         * math/s_catanh.c: Include <float.h>.
64097         (__catanh): Ensure underflow exception occurs for underflowed
64098         result.
64099         * math/s_catanhf.c: Include <float.h>.
64100         (__catanhf): Ensure underflow exception occurs for underflowed
64101         result.
64102         * math/s_catanhl.c: Include <float.h>.
64103         (__catanhl): Ensure underflow exception occurs for underflowed
64104         result.
64105         * math/s_catanl.c: Include <float.h>.
64106         (__catanl): Ensure underflow exception occurs for underflowed
64107         result.
64108         * math/libm-test.inc (catan_test): Add more tests.
64109         (catanh_test): Likewise.
64111         [BZ #15405]
64112         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
64113         underflowed result.
64114         * math/s_ccoshf.c (__ccoshf): Likewise.
64115         * math/s_ccoshl.c (__ccoshl): Likewise.
64116         * math/s_csin.c (__csin): Likewise.
64117         * math/s_csinf.c (__csinf): Likewise.
64118         * math/s_csinh.c (__csinh): Likewise.
64119         * math/s_csinhf.c (__csinhf): Likewise.
64120         * math/s_csinhl.c (__csinhl): Likewise.
64121         * math/s_csinl.c (__csinl): Likewise.
64122         * math/libm-test.inc (ccos_test): Add more tests.
64123         (ccosh_test): Likewise.
64124         (csin_test): Likewise.
64125         (csinh_test): Likewise.
64127 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64129         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
64130         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
64131         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
64132         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
64133         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
64134         powerpc/power5+/fpu folders.
64135         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
64138 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64142 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
64144         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
64145         additions to variable.
64146         [$(config-machine) = x86_64] (modules-names): Likewise.
64147         ($(objpfx)tst-audit3): Remove dependency.
64148         ($(objpfx)tst-audit3.out): Likewise.
64149         ($(objpfx)tst-audit4): Likewise.
64150         ($(objpfx)tst-audit4.out): Likewise.
64151         ($(objpfx)tst-audit5): Likewise.
64152         ($(objpfx)tst-audit5.out): Likewise.
64153         ($(objpfx)tst-audit6): Likewise.
64154         ($(objpfx)tst-audit6.out): Likewise.
64155         ($(objpfx)tst-audit7): Likewise.
64156         ($(objpfx)tst-audit7.out): Likewise.
64157         (tst-audit3-ENV): Remove variable.
64158         (tst-audit4-ENV): Likewise.
64159         (tst-audit5-ENV): Likewise.
64160         (tst-audit6-ENV): Likewise.
64161         (tst-audit7-ENV): Likewise.
64162         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
64163         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
64164         addition to variable.
64165         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
64166         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
64167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
64168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
64169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
64170         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
64171         tst-audit3, tst-audit4 and tst-audit5.
64172         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
64173         tst-audit6 and tst-audit7.
64174         [$(subdir) = elf] (modules-names): Add audit modules for those
64175         tests.
64176         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
64177         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
64178         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
64179         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
64180         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
64181         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
64182         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
64183         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
64184         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
64185         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
64186         [$(subdir) = elf] (tst-audit3-ENV): New variable.
64187         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
64188         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
64189         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
64190         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
64191         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
64192         Likewise.
64193         [$(subdir) = elf && $(config-cflags-avx) = yes]
64194         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
64195         [$(subdir) = elf && $(config-cflags-avx) = yes]
64196         (CFLAGS-tst-auditmod4a.c): Likewise.
64197         [$(subdir) = elf && $(config-cflags-avx) = yes]
64198         (CFLAGS-tst-auditmod4b.c): Likewise.
64199         [$(subdir) = elf && $(config-cflags-avx) = yes]
64200         (CFLAGS-tst-auditmod6b.c): Likewise.
64201         [$(subdir) = elf && $(config-cflags-avx) = yes]
64202         (CFLAGS-tst-auditmod6c.c): Likewise.
64203         [$(subdir) = elf && $(config-cflags-avx) = yes]
64204         (CFLAGS-tst-auditmod7b.c): Likewise.
64205         * elf/tst-audit3.c: Move to ...
64206         * sysdeps/x86_64/tst-audit3.c: ... here.
64207         * elf/tst-audit4.c: Move to ...
64208         * sysdeps/x86_64/tst-audit4.c: ... here.
64209         * elf/tst-audit5.c: Move to ...
64210         * sysdeps/x86_64/tst-audit5.c: ... here.
64211         * elf/tst-audit6.c: Move to ...
64212         * sysdeps/x86_64/tst-audit6.c: ... here.
64213         * elf/tst-audit7.c: Move to ...
64214         * sysdeps/x86_64/tst-audit7.c: ... here.
64215         * elf/tst-auditmod3a.c: Move to ...
64216         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
64217         * elf/tst-auditmod3b.c: Move to ...
64218         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
64219         * elf/tst-auditmod4a.c: Move to ...
64220         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
64221         * elf/tst-auditmod4b.c: Move to ...
64222         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
64223         * elf/tst-auditmod5a.c: Move to ...
64224         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
64225         * elf/tst-auditmod5b.c: Move to ...
64226         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
64227         * elf/tst-auditmod6a.c: Move to ...
64228         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
64229         * elf/tst-auditmod6b.c: Move to ...
64230         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
64231         * elf/tst-auditmod6c.c: Move to ...
64232         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
64233         * elf/tst-auditmod7a.c: Move to ...
64234         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
64235         * elf/tst-auditmod7b.c: Move to ...
64236         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
64238 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
64240         [BZ #15366]
64241         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
64242         define unconditionally.
64243         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
64244         define unconditionally.
64245         (INT8_C, INT16_C, etc.): Likewise.
64247 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
64249         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
64250         __ehdr_start with hidden visibility.
64252         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
64254 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
64256         * math/libm-test.inc (cos_test): Use accurate hex constants.
64257         (sincost_test): Likewise.
64259 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
64261         * math/libm-test.inc (catan_test): Add more tests.
64262         (catanh_test): Likewise.
64264         * math/s_catanf.c (__catanf): Use suffixed floating-point
64265         constants.
64266         * math/s_catanhf.c (__catanhf): Likewise.
64267         * math/s_catanhl.c (__catanhl): Likewise.
64268         * math/s_catanl.c (__catanl): Likewise.
64270         [BZ #15394]
64271         * math/s_catan.c (__catan): Calculate imaginary part of result
64272         with log1p not log unless computing log of number close to 0.
64273         * math/s_catanf.c (__catanf): Likewise.
64274         * math/s_catanl.c (__catanl): Likewise.
64275         * math/s_catanh.c (__catanh): Calculate real part of result with
64276         log1p not log unless computing log of number close to 0.
64277         * math/s_catanhf.c (__catanhf): Likewise.
64278         * math/s_catanhl.c (__catanhl): Likewise.
64279         * math/libm-test.inc (catan_test): Add more tests.
64280         (catanh_test): Likewise.
64281         * sysdeps/i386/fpu/libm-test-ulps: Update.
64282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64284 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64286         * benchtests/Makefile: Mention files in which fast and slow
64287         paths of math functions are implemented.
64289 2013-04-23  Roland McGrath  <roland@hack.frob.com>
64291         * sysdeps/posix/timespec_get.c: New file.
64293 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64295         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
64296         POWER.
64297         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
64298         for POWER.
64299         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
64300         powerpc/power5/fpu folders.
64301         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
64302         * benchtests/Makefile: Add modf testcase.
64303         * benchtests/bench-modf.c: New file: Benchmark test for mo
64305 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
64307         [BZ #14888]
64308         * time/Makefile (tests): Add tst-strptime-whitespace.
64309         * time/strptime_l.c (get_number): Use ISSPACE.
64310         (__strptime_internal): Likewise.
64311         * time/tst-strptime-whitespace.c: New test case.
64313 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
64315         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
64316         member.
64317         (_nss_files_init): Set it here.
64319 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
64321         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
64322         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
64323         unsigned.
64325 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
64327         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
64329 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64331         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
64332         size just once.
64334 2013-04-21  David S. Miller  <davem@davemloft.net>
64336         * po/ru.po: Update Russion translation from translation project.
64338 2013-04-17  Adam Conrad  <adconrad@0c3.net>
64340         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
64341         and setfsgid.
64343 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
64345         * configure.in: Remove i386 configure warning. Remove i386 case.
64346         * configure: Regenerate.
64347         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
64348         Add example to error message.
64349         * sysdeps/i386/configure: Regenerate.
64351 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64353         * benchtests/Makefile (bench): Add cos, tan, slowcos and
64354         slowtan.
64355         * benchtests/cos-inputs: New file.
64356         * benchtests/slowcos-inputs: New file.
64357         * benchtests/slowcos.c: New file.
64358         * benchtests/slowtan-inputs: New file.
64359         * benchtests/slowtan.c: New file.
64360         * benchtests/tan-inputs: New file.
64362 2013-04-16  Roland McGrath  <roland@hack.frob.com>
64364         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
64365         considered kosher.
64367 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64369         * benchtests/Makefile: Include cppflags-iterator.mk to add
64370         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
64372         * Makefile.in (bench-clean): New target.
64373         * benchtests/Makefile (bench-clean): Likewise.
64375 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
64377         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
64379 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
64381         * stdio-common/tstdiomisc.c: Fix coding-style violation.
64383 2013-04-15  Andreas Schwab  <schwab@suse.de>
64385         * nscd/grpcache.c (cache_addgr): Properly check for short write.
64386         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64387         * nscd/pwdcache.c (cache_addpw): Likewise.
64388         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
64389         more than recsize.
64391 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64393         * benchtests/Makefile (bench): Write all output to
64394         bench-out.tmp together.
64396 2013-04-15  Andreas Schwab  <schwab@suse.de>
64398         * nscd/nscd.c (main): Don't fork again after closing files.
64400 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64402         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
64404         * benchtests/Rules (bench-deps): Collect dependencies into a
64405         single variable.  Add Makefile to dependencies.
64406         ($(objpfx)bench-%.c): Depend on bench-deps.
64408 2013-04-12  Roland McGrath  <roland@hack.frob.com>
64409             Xavier Roche  <roche+kml2@exalead.com>
64411         [BZ #15361]
64412         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
64413         just that it's a file descriptor.
64414         * manual/llio.texi (Synchronizing AIO Operations): Update description
64415         for EBADF error from aio_fsync.
64417 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64419         * Rules (bench): Move target definition...
64420         * benchtests/Makefile: ... here.
64422 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
64424         * math/libm-test.inc (cos_test): Fix PI/2 test.
64425         (sincos_test): Likewise.
64426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
64427         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
64429 2013-04-11  Andreas Schwab  <schwab@suse.de>
64431         [BZ #13988]
64432         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64433         accept exponent character only when digits were seen.
64434         * stdio-common/Makefile (tests): Add bug26.
64435         * stdio-common/bug26.c: New file.
64437         [BZ #14293]
64438         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
64439         non-freeable.
64441 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64443         * Makeconfig (rtld-prefix): Define built linker prefix.
64444         * Rules (run-bench): Use it.
64445         * math/Makefile (run-regen-ulps): Likewise.
64447         * Rules (bench): Remove eval.
64449 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64450             Roland McGrath  <roland@hack.frob.com>
64451             Ondrej Bilka  <neleai@seznam.cz>
64453         [BZ #15346]
64454         * time/getdate.c: Include ctype.h and alloca.h.
64455         (__getdate_r): Trim leading and trailing spaces of input.
64456         * time/tst-getdate.c (tests): Add tests with leading and
64457         trailing spaces.
64459 2013-04-08  Roland McGrath  <roland@hack.frob.com>
64461         [BZ #14280]
64462         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
64463         when computing value.
64465 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64467         * math/README.libm-test (How can I generate "libm-test-ulps"?):
64468         Use testrun.sh to run libm tests.
64470         [BZ #15309]
64471         * elf/dl-open.c (dl_open_worker): memset all of seen array.
64473 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
64475         [BZ #15264]
64476         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
64478 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64480         * Makefile.in (regen-ulps): New target.
64481         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
64482         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
64483         [ifneq (no,$(PERL)] (regen-ulps): New target.
64484         [ifeq (no,$(PERL)] (regen-ulps): New target.
64485         * math/libm-test.inc (ulps_file_name): Define.
64486         (output_dir): New variable.
64487         (options): Add "output-dir" option.
64488         (parse_opt): Handle 'o' case.
64489         (main): If output_dir is non-NULL use it as a prefix
64490         otherwise use "".
64491         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
64493 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64495         [BZ #10060, #10062]
64496         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
64497         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64498         fail configure if __sync_val_compare_and_swap is not inlined.
64499         * sysdeps/i386/configure: Regenerate.
64500         * configure.in: Build for i686 when configured for i386.
64501         * configure: Regenerate.
64502         * README: Remove i386 reference.
64504 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
64506         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
64507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64509 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64511         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
64512         (lmsnanval): New variables.
64513         (F): Add conversion tests.
64514         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
64515         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
64517         * stdio-common/tstdiomisc.c (F): Properly collect individual
64518         tests' results.
64520         [BZ #14686, #15336]
64521         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64522         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
64523         Instead, use input NaN values or generate a qNaN by arithmetic
64524         operation.  Also fix bugs to comply with the standard.
64525         * math/libm-test.inc (remainder_test): Add more tests.
64527         [BZ #15335, #15342]
64528         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
64529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
64530         input NaN values or generate a qNaN by arithmetic operation.
64532         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
64533         unreachable code.
64535         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
64536         definitions.
64538 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
64540         [BZ #14478]
64541         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
64542         underflowed result.
64543         * math/s_cexpf.c (__cexpf): Likewise.
64544         * math/s_cexpl.c (__cexpl): Likewise.
64545         * math/libm-test.inc (cexp_test): Add more tests.
64547 2013-04-03  Andreas Schwab  <schwab@suse.de>
64549         [BZ #15330]
64550         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
64551         order arrays from heap if bigger than alloca cutoff.
64553 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
64555         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
64556         (SNAN_TESTS_double): Refer to GCC PR56831.
64557         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
64558         GCC PR56828.
64560 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64562         * Rules (bench): Move bench.out after the run is complete.
64564         * Rules (bench): Echo currently running benchmark.
64566         * benchtests/Makefile (bench): Add atan and slowatan.
64567         * benchtests/atan-inputs: New file.
64568         * benchtests/slowatan-inputs: New file.
64569         * benchtests/slowatan.c: New file.
64571         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
64573         its value.
64575         [BZ #15305]
64576         * sysdeps/unix/sysv/linux/kernel-features.h
64577         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64578         __ASSUME_XFS_RESTRICTED_CHOWN.
64579         * sysdeps/unix/sysv/linux/pathconf.c
64580         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
64581         Save and restore errno.
64583 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
64585         [BZ #15327]
64586         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
64587         arguments using __kernel_casinh.
64588         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
64589         arguments using __kernel_casinhf.
64590         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
64591         arguments using __kernel_casinhl.
64592         * math/libm-test.inc (cacosh_test): Add more tests.
64593         * sysdeps/i386/fpu/libm-test-ulps: Update.
64594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64596 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64598         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
64599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
64601         * bench/Makefile (bench): Add sin and slowsin.
64602         * benchtests/sin-inputs: New file.
64603         * benchtests/slowsin-inputs: New file.
64604         * benchtests/slowsin.c: New file.
64606         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
64607         (bench): Add slowexp and slowpow.
64608         (exp-ITER): Increase iterations.
64609         (pow-ITER): Likewise.
64610         * benchtests/exp-inputs: Change input.
64611         * benchtests/pow-inputs: Likewise.
64612         * benchtests/slowexp-inputs: New file.
64613         * benchtests/slowexp.c: New file.
64614         * benchtests/slowpow-inputs: New file.
64615         * benchtests/slowpow.c: New file.
64617 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64619         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
64620         instructions.
64621         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64622         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
64623         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
64624         * benchtests/Makefile: Add rint benchtest.
64625         * benchtests/rint-inputs: Input for rint benchtest.
64627 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64629         * Versions.def (libm): Add GLIBC_2.18.
64630         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
64631         hidden libm prototypes.
64632         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
64633         * math/Makefile (libm-calls): Add s_issignaling.
64634         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
64635         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
64636         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
64637         declaration.
64638         * math/math.h [__USE_GNU] (issignaling): New macro.
64639         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
64640         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
64641         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
64642         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
64643         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
64644         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
64645         * manual/arith.texi (issignaling): New section.
64646         * manual/libm-err-tab.pl (@all_functions): Update comment.
64647         * math/gen-libm-test.pl (parse_args): Apply special handling for
64648         issignaling.
64649         * math/libm-test.inc (print_float, issignaling_test): New
64650         functions.
64651         (check_float_internal): Add issignaling checks.
64652         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
64653         default definition.
64654         * sysdeps/powerpc/math-tests.h: New file.
64655         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
64656         tests.
64657         * math/test-snan.c (TEST_FUNC): Likewise.
64659 2013-03-30  David S. Miller  <davem@davemloft.net>
64661         * po/de.po: Update from translation team.
64663 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
64665         [BZ #10357]
64666         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64667         imaginary part less than 1.0 and real part less than 0.5
64668         specially.
64669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64671         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
64672         (cacos_test): Add more tests.
64673         (casin_test): Likewise.
64674         (casinh_test): Likewise.
64675         * sysdeps/i386/fpu/libm-test-ulps: Update.
64676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64678 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64680         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
64681         ONE with its value.
64683         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
64684         (__pow_mp): Replace ONE and MONE with their values.
64685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
64687         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64688         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
64689         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64690         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64692         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
64694         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
64695         (__pow_mp): Replace ZERO and MZERO with their values.
64696         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64697         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64698         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64700         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64701         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
64702         (__sqr): Likewise.
64704         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
64706         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
64708 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64710         * include/stdlib.h [!SHARED] (__call_tls_dtors):
64711         Declare with __attribute__ ((weak)).
64712         * stdlib/exit.c (__libc_atexit) [!SHARED]:
64713         Call __call_tls_dtors only if it's not NULL.
64715 2013-03-28  Roland McGrath  <roland@hack.frob.com>
64717         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
64718         didn't do it already, then set _dl_phdr and _dl_phnum based on the
64719         magic __ehdr_start linker symbol if it's defined.
64720         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
64721         them up here if it was already done.
64723         * elf/dl-support.c (_dl_phdr): Make pointer to const.
64724         (_dl_aux_init): Use const in cast when setting it.
64725         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64726         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
64727         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
64729         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
64730         Declare them here.
64731         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
64732         * csu/libc-tls.c: Nor here.
64733         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
64735         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
64736         (__libc_message): Never call vsyslog.
64738 2013-03-28  Alan Modra  <amodra@gmail.com>
64740         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64741         Define as empty.
64742         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
64743         Likewise.
64745 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64747         [BZ #15214]
64748         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
64749         underflow.
64750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64752 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64754         [BZ #15304]
64755         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
64756         Don't add gid passed as argument.
64758         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
64760 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
64762         [BZ #15307]
64763         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64764         imaginary part between 1.0 and 1.5 and real part less than 0.5
64765         specially.
64766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64768         * math/libm-test.inc (cacos_test): Add more tests.
64769         (casin_test): Likewise.
64770         (casinh_test): Likewise.
64771         * sysdeps/i386/fpu/libm-test-ulps: Update.
64772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64774 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64776         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
64777         constants.
64778         (norm): Likewise.
64779         (denorm): Likewise.
64780         (__dbl_mp): Likewise.
64781         (add_magnitudes): Likewise.
64782         (sub_magnitudes): Likewise.
64783         (__add): Likewise.
64784         (__sub): Likewise.
64785         (__mul): Likewise.
64786         (__sqr): Likewise.
64787         (__inv): Likewise.
64788         (__dvd): Likewise.
64790         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
64791         commented code.
64792         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
64793         (__dubcos): Likewise.
64794         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
64795         (__ieee754_acos): Likewise.
64796         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
64797         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
64798         (__exp1): Likewise.
64799         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
64800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64801         (log1): Likewise.
64802         (my_log2): Likewise.
64803         (checkint): Likewise.
64804         * sysdeps/ieee754/dbl-64/e_remainder.c
64805         (__ieee754_remainder): Likewise.
64806         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
64807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
64808         (bsloww): Likewise.
64809         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64811         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
64812         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
64813         MANTISSA_STORE_T to store computations on mantissa.  Use
64814         macros for rounding and division.
64815         (denorm): Likewise.
64816         (__dbl_mp): Likewise.
64817         (add_magnitudes): Likewise.
64818         (sub_magnitudes): Likewise.
64819         (__mul): Likewise.
64820         (__sqr): Likewise.
64821         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
64822         powers of two in terms of TWOPOW macro.
64823         (mp_no): Make type of mantissa as MANTISSA_T.
64824         [!RADIXI]: Define RADIXI.
64825         [!TWO52]: Define TWO52.
64826         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
64828 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64830         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
64831         llroundl symbol when building for PPC32.
64833 2013-03-24  Mark H Weaver  <mhw@netris.org>
64835         * manual/arith.texi (Normalization Functions): Fix prototypes for
64836         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
64838 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64840         [BZ #13889]
64841         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
64842         high value to check if expl overflow.
64843         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
64844         to check for underflow and overflow.
64845         * math/libm-test.inc: Add exp test.
64847 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
64849         [BZ #11120]
64850         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64851         with NOT_IN_libc.
64853 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64855         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
64856         symbol.
64858 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64860         * math/gen-libm-test.pl (parse_args, special_functions): Properly
64861         wrap blocks consisting of several statements.
64863         * sysdeps/generic/math-tests.h: New file.
64864         * sysdeps/i386/fpu/math-tests.h: Likewise.
64865         * math/test-snan.c: Include it.
64866         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
64868 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64870         [BZ #15285]
64871         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
64872         (__ieee754_j0l): Do not improve calculations using cos of twice
64873         input for inputs above LDBL_MAX / 2.0L.
64874         (__ieee754_y0l): Likewise.
64875         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
64876         (__ieee754_j1l): Do not improve calculations using cos of twice
64877         input for inputs above LDBL_MAX / 2.0L.
64878         (__ieee754_y1l): Likewise.
64879         * math/libm-test.inc (j0_test): Add another test.
64880         (j1_test): Likewise.
64881         (y0_test): Likewise.
64882         (y1_test): Likewise.
64883         * sysdeps/i386/fpu/libm-test-ulps: Update.
64885 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64887         * Rules ($(objpfx)bench-%.c): Include code from a C source
64888         file.
64890 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
64892         [BZ #15287]
64893         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64894         imaginary part 1.0 and real part less than 0.5 specially.
64895         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64896         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64897         * math/libm-test.inc (cacos_test): Add more tests.
64898         (casin_test): Likewise.
64899         (casinh_test): Likewise.
64900         * sysdeps/i386/fpu/libm-test-ulps: Update.
64901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64903 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64905         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
64906         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
64908 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
64910         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
64911         * config.make.in (config-cflags-sse4): Remove variable.
64912         (config-cflags-avx): Likewise.
64913         (config-cflags-sse2avx): Likewise.
64914         (config-cflags-novzeroupper): Likewise.
64915         (config-asflags-i686): Likewise.
64916         (have-mfma4): Likewise.
64917         (have-as-vis3): Likewise.
64918         (MIG): Likewise.
64919         * configure.in (MIG): Do not AC_SUBST.
64920         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
64921         (libc_cv_cc_sse4): Do not AC_SUBST.
64922         (libc_cv_cc_avx): Likewise.
64923         (libc_cv_cc_sse2avx): Likewise.
64924         (libc_cv_cc_novzeroupper): Likewise.
64925         (libc_cv_cc_fma4): Likewise.
64926         (libc_cv_as_i686): Likewise.
64927         (libc_cv_sparc_as_vis3): Likewise.
64928         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
64929         LIBC_CONFIG_VAR.
64930         (config-asflags-i686): Likewise.
64931         (config-cflags-avx): Likewise.
64932         (config-cflags-sse2avx): Likewise.
64933         (have-mfma4): Likewise.
64934         (config-cflags-novzeroupper): Likewise.
64935         * sysdeps/mach/configure.in (MIG): Likewise.
64936         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
64937         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
64938         LIBC_CONFIG_VAR.
64939         (config-cflags-avx): Likewise.
64940         (config-cflags-sse2avx): Likewise.
64941         (have-mfma4): Likewise.
64942         (config-cflags-novzeroupper): Likewise.
64943         * configure: Regenerated.
64944         * sysdeps/i386/configure: Likewise.
64945         * sysdeps/mach/configure: Likewise.
64946         * sysdeps/sparc/configure: Likewise.
64947         * sysdeps/x86_64/configure: Likewise.
64949 2013-03-20  Roland McGrath  <roland@hack.frob.com>
64951         [BZ #14812]
64952         * locale/programs/localedef.c (options): Put N_ translation marker
64953         on argument names, not just descriptions.
64955 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64957         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
64959 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
64961         [BZ #14176]
64962         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
64964 2013-03-19  Roland McGrath  <roland@hack.frob.com>
64966         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
64967         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
64968         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
64969         [!BEFORE_ABORT] (before_abort): New function.
64970         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
64971         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
64972         (writev_for_fatal): New function.
64973         (WRITEV_FOR_FATAL): New macro; call that.
64974         (backtrace_and_maps): New function.
64975         (BEFORE_ABORT): New macro; call that.
64976         (struct str_list): Type removed.
64977         (__libc_message, __libc_fatal): Functions removed.
64978         Include <sysdeps/posix/libc_fatal.c> instead.
64980 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
64982         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
64983         constants.
64984         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
64985         double constants.
64987 2013-03-19  Andreas Schwab  <schwab@suse.de>
64989         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
64990         * sysdeps/gnu/configure: Regenerate.
64992         * configure.in: Substitute libc_cv_rtlddir.
64993         * configure: Regenerate.
64994         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
64995         * Makeconfig (rtlddir, inst_rtlddir): New variables.
64996         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
64997         * elf/Makefile (install-others, CFLAGS-interp.c)
64998         (ldso_install, common-ldd-rewrite): Likewise.
64999         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65000         $(inst_slibdir)/$(rtld-installed-name).
65001         * scripts/rellns-sh: Add -p option.
65002         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65003         for source.
65005 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65007         * manual/nptl.texi: Renamed to ...
65008         * manual/threads.texi: ... this.
65009         * manual/Makefile (chapters): Update.
65011 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65013         [BZ #14812]
65014         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65015         on argument names, not just descriptions.
65016         * malloc/memusagestat.c (options): Likewise.
65017         * nss/getent.c (options): Likewise.
65019 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65021         [BZ #14812]
65022         * iconv/iconv_prog.c (options): Put N_ translation marker
65023         on argument names, not just descriptions.
65024         * iconv/iconvconfig.c (options): Likewise.
65026 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65028         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65029         implementation which is faster on all x86_64 architectures.
65030         Tested on AMD, Intel Nehalem, SNB, IVB.
65031         * sysdeps/x86_64/strnlen.S: Likewise.
65033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65034         Remove all multiarch strlen and strnlen versions.
65035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65036         Remove strlen and strnlen related parts.
65038         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65039         Inline strlen part.
65040         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65042         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65043         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65044         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65045         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65046         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65047         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65049 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
65051         * manual/memory.texi (Malloc Tunable Parameters):
65052         Sort parameters alphabetically. Add comments for missing entries.
65054 2013-03-17  David S. Miller  <davem@davemloft.net>
65056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65058 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
65060         [BZ #15283]
65061         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
65062         for arguments at most half maximum finite value.
65063         * math/libm-test.inc (j0_test): Add more tests.
65064         (j1_test): Likewise.
65065         (y0_test): Likewise.
65066         (y1_test): Likewise.
65067         * sysdeps/i386/fpu/libm-test-ulps: Update.
65068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65070         [BZ #14155]
65071         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
65072         1 / x and functions P and Q for arguments above 0x1p256L.
65073         (__ieee754_y0l): Likewise.
65074         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
65075         (__ieee754_y1l): Likewise.
65076         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
65077         (j1_test): Likewise.
65078         (y0_test): Likewise.
65079         (y1_test): Likewise.
65081 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
65083         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
65084         variable.
65086 2013-03-15  Roland McGrath  <roland@hack.frob.com>
65088         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
65089         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
65090         zero since it's initialized to EXEC_PAGESIZE.
65092         * sysdeps/unix/sysv/linux/ldsodefs.h
65093         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
65094         * sysdeps/generic/ldsodefs.h: ... here.
65096 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
65098         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
65100         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
65101         math/test-snan.c.
65102         * math/test-snan.c: Renamed from
65103         sysdeps/powerpc/fpu/test-powerpc-snan.c.
65104         * math/Makefile (tests): Add test-snan.
65105         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
65106         test-powerpc-snan.
65108         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
65109         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
65110         functions.
65111         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
65112         __builtin_nan family of functions.
65113         * math/libm-test.inc (initialize): Initialize qnan_value with
65114         __builtin_nan family of functions.
65115         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
65116         Remove variables.
65117         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
65118         Remove functions.
65119         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
65120         storage class.  Initialize qNaN_var and sNaN_var with
65121         __builtin_nan and __builtin_nans families of functions,
65122         respectively.
65124         * math/libm-test.inc (acosh_test): Also test with qNaN input.
65125         (sqrt_test): Remove duplicate test with qNaN input.
65126         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
65127         (round_test, signbit_test, significand_test): Note missing +/-Inf
65128         as well as qNaN tests.
65130         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
65131         qNaN_var.  Fix a few strings, too.
65132         * math/libm-test.inc (nan_value): Rename to qnan_value.
65133         * math/gen-libm-test.pl (%beautify): Adjust to that.
65134         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
65135         * math/test-misc.c (main): Likewise.
65136         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
65137         to __qnan_bytes, and __qnan_union, respectively.
65138         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
65139         Likewise.
65140         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
65141         and lqnanval, respectively.
65142         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
65143         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
65144         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
65145         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
65147         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
65148         * math/test-misc.c (main) [__x86_64__]: Enable test for long
65149         doubles.
65151         * math/test-misc.c (main): Fix copy'n'pastos.
65152         * misc/tst-efgcvt.c (special): Likewise.
65154         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
65155         Remove declarations.
65157 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65159         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
65160         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
65161         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
65162         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
65164 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
65167         macro to return vdso values correctly in IFUNC implementations.
65168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
65169         Optimization by using IFUNC.
65171 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65172             Richard Henderson  <rth@redhat.com>
65173             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65175         * Makefile.in (bench): New target.
65176         * NEWS: Mention the benchmark framework.
65177         * Rules (bench): Likewise.
65178         (binaries-bench): Generate binaries for functions to
65179         benchmark.
65180         * benchtests/Makefile: New makefile for benchmark tests.
65181         * benchtests/bench-skeleton.c: New skeleton file for benchmark
65182         programs.
65183         * benchtests/exp-inputs: New input file for EXP function.
65184         * benchtests/pow-inputs: New input file for POW function.
65185         * scripts/bench.pl: New script to generate source files for
65186         benchmark programs.
65188 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65190         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65191         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
65192         computations on mantissa.  Use macros for rounding and
65193         division.
65194         (denorm): Likewise.
65195         (__dbl_mp): Likewise.
65196         (add_magnitudes): Likewise.
65197         (sub_magnitudes): Likewise.
65198         (__mul): Likewise.
65199         (__sqr): Likewise.
65200         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65201         powers of two in terms of TWOPOW macro.
65202         (mp_no): Make type of mantissa as MANTISSA_T.
65203         [!RADIXI]: Define RADIXI.
65204         [!TWO52]: Define TWO52.
65205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65207         * manual/nptl.texi (cindex): Modify threads to pthreads.
65209 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
65211         * sysdeps/x86_64/preconfigure: Regenerated.
65213 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
65215         [BZ #14155]
65216         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
65217         0x1p28 and above.
65218         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
65219         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
65220         0x1p28 and above.
65221         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
65222         * math/libm-test.inc (j0_test): Do not allow one spurious
65223         underflow exception.
65224         (y1_test): Likewise.
65226 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65228         * manual/Makefile (chapters): Add nptl.
65229         * manual/debug.texi (Debugging Support): Add link to Threads
65230         chapter.
65231         * manual/nptl.texi: New file.
65233         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
65235 2013-03-14  Petr Baudis  <pasky@ucw.cz>
65237         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
65238         for non-NULL pointer before the memory validity test. Pointed
65239         out by Holger Brunck <holger.brunck@keymile.com>.
65241 2013-03-13  Andreas Schwab  <schwab@suse.de>
65243         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
65244         instead of .os.
65246 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
65248         * timezone/zic.c: Update from tzcode 2013b.
65250 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
65252         * manual/install.texi (Configuring and compiling):
65253         Mention i686 and i586.
65254         * INSTALL: Regenerate.
65256 2013-03-12  Roland McGrath  <roland@hack.frob.com>
65258         * sysdeps/init_array/elf-init.c: New file.
65259         * csu/elf-init.c
65260         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
65261         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
65263         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
65264         __gmon_start__ as global, but as static with a .preinit_array pointer.
65265         * sysdeps/init_array/gmon-start.c: New file.  Use that.
65266         * sysdeps/init_array/crti.S: New file, empty except for comments.
65267         * sysdeps/init_array/crtn.S: Likewise.
65269 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
65271         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
65272         definining bcopy.
65273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65274         Remove Prefer_SSE_for_memop.
65275         * sysdeps/x86_64/multiarch/init-arch.h: Remove
65276         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
65277         HAS_PREFER_SSE_FOR_MEMOP.
65278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
65279         memset-x86-64.
65280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65281         Remove bzero, memset ifunc support.
65282         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
65283         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
65284         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65285         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65287 2013-03-11  Andreas Schwab  <schwab@suse.de>
65289         [BZ #15234]
65290         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
65291         by SHLIB_COMPAT.
65292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
65293         (GLIBC_2.16): Remove pthread_atfork.
65295 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
65297         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
65298         (ptestcases.h): Likewise.
65300 2013-03-08  Roland McGrath  <roland@hack.frob.com>
65302         * Makeconfig ($(common-objpfx)config.status): Depend on
65303         sysdeps/*/preconfigure{,.in} too.
65305 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
65307         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
65308         (__free_hook): Use void * instead of __malloc_ptr_t.
65309         (__malloc_hook): Likewise.
65310         (__realloc_hook): Likewise.
65311         (__memalign_hook): Likewise.
65312         (__after_morecore_hook): Likewise.
65313         * malloc/arena.c (save_malloc_hook): Likewise.
65314         (save_free_hook): Likewise.
65315         * malloc/hooks.c (malloc_hook_ini): Likewise.
65316         (realloc_hook_ini): Likewise.
65317         (memalign_hook_ini): Likewise.
65318         * malloc/malloc.c (malloc_hook_ini): Likewise.
65319         (realloc_hook_ini): Likewise.
65320         (memalign_hook_ini): Likewise.
65321         (__free_hook): Likewise.
65322         (__malloc_hook): Likewise.
65323         (__realloc_hook): Likewise.
65324         (__memalign_hook): Likewise.
65325         (__libc_malloc): Likewise.
65326         (__libc_free): Likewise.
65327         (__libc_realloc): Likewise.
65328         (__libc_memalign): Likewise.
65329         (__libc_valloc): Likewise.
65330         (__libc_pvalloc): Likewise.
65331         (__libc_calloc): Likewise.
65332         (__posix_memalign): Likewise.
65333         * malloc/morecore.c (__sbrk): Likewise.
65334         (__default_morecore): Likewise.
65336         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
65338         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
65339         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
65340         __malloc_ptrdiff_t.
65342         * malloc/malloc.h (__malloc_size_t): Remove macro.
65343         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
65344         __malloc_size_t.
65345         (old_memalign_hook): Likewise.
65346         (old_realloc_hook): Likewise.
65347         (struct hdr): Likewise.
65348         (flood): Likewise.
65349         (mallochook): Likewise.
65350         (memalignhook): Likewise.
65351         (reallochook): Likewise.
65352         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
65353         (tr_old_realloc_hook): Likewise.
65354         (tr_old_memalign_hook): Likewise.
65355         (tr_mallochook): Likewise.
65356         (tr_reallochook): Likewise.
65357         (tr_memalignhook): Likewise.
65359 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
65362         default_ldbl_pack and using as default implementation.
65363         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
65364         implementation.
65365         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
65366         redundant definition.
65367         (ldbl_insert_mantissa): Likewise.
65368         (ldbl_canonicalize): Likewise.
65369         (ldbl_nearbyint): Likewise.
65370         (ldbl_pack): Rename to ldbl_pack_ppc.
65371         (ldbl_unpack): Rename to ldbl_unpack_ppc.
65372         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
65373         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
65375 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
65378         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
65379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
65380         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
65381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
65382         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
65383         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
65384         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
65386 2013-03-07  Andreas Jaeger  <aj@suse.de>
65388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65389         bits/mman-linux.h.
65391 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65393         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
65394         Include mpa.h and declare __MPEXP.
65395         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
65396         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65397         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65398         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
65399         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65400         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65401         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
65403         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
65404         (__slowpow): Use long double EXPL and LOGL functions to
65405         compute POW.
65406         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
65407         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65408         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
65409         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
65410         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
65411         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
65413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
65414         intermediate variable to calculate exponent.
65415         (__sqr): Likewise.
65416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65417         Likewise.
65418         (__sqr): Likewise.
65420         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
65421         [!NO__SQR]: Define __sqr.
65422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
65423         and NO__SQR.  Remove all code except __mul and __sqr.  Include
65424         sysdeps/ieee754/dbl-64/mpa.c.
65425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65427         [BZ #12723]
65428         * posix/Makefile (tests): Add tst-pathconf.
65429         * posix/tst-pathconf.c: New test case.
65430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
65431         _PC_PIPE_BUF.
65432         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
65434 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
65436         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
65438 2013-03-06  Andreas Jaeger  <aj@suse.de>
65440         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
65441         definition via __MAP_ANONYMOUS.
65443         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
65444         it's not part of Linux headers.
65446         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
65447         (MAP_HUGE_MASK): Define.
65449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65450         Define.
65451         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65452         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65453         Define.
65454         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65455         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
65456         Define.
65457         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
65459         Define.
65460         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
65462         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
65463         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
65464         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
65465         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
65466         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
65467         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
65469         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65470         Handle f2fs.
65472         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65473         Handle f2fs and efivarfs.
65475         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
65476         f2fs.
65478         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
65479         (EFIVARFS_MAGIC): Add.
65480         (F2FS_LINK_MAX): Add.
65482 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65484         * stdio-common/vfprintf.c: Replace __builtin_expect with
65485         __glibc_unlikely.
65487 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
65489         [BZ #13550]
65490         * sysdeps/generic/bp-sym.h: Remove file.
65491         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
65492         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
65493         <bp-sym.h> and <bp-asm.h>.
65494         (__longjmp): Don't use BP_SYM.
65495         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
65496         and <bp-asm.h>.
65497         (memcpy): Don't use BP_SYM.
65498         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
65499         <bp-sym.h> and <bp-asm.h>.
65500         (memcpy): Don't use BP_SYM.
65501         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
65502         <bp-asm.h>.
65503         (memcpy): Don't use BP_SYM.
65504         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
65505         <bp-asm.h>.
65506         (memset): Don't use BP_SYM.
65507         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65508         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65509         (__bzero): Don't use BP_SYM.
65510         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65511         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65512         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
65513         <bp-sym.h> and <bp-asm.h>.
65514         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65515         pointers.
65516         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
65517         <bp-sym.h> and <bp-asm.h>.
65518         (memcpy): Don't use BP_SYM.
65519         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
65520         <bp-sym.h> and <bp-asm.h>.
65521         (memset): Don't use BP_SYM.
65522         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65523         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65524         (__bzero): Don't use BP_SYM.
65525         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65526         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65527         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
65528         <bp-sym.h> and <bp-asm.h>.
65529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65530         pointers.
65531         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
65532         <bp-sym.h> and <bp-asm.h>.
65533         (memcpy): Don't use BP_SYM.
65534         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
65535         <bp-sym.h> and <bp-asm.h>.
65536         (memset): Don't use BP_SYM.
65537         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65538         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65539         (__bzero): Don't use BP_SYM.
65540         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65541         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65542         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
65543         <bp-sym.h> and <bp-asm.h>.
65544         (__memchr): Don't use BP_SYM.
65545         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
65546         <bp-sym.h> and <bp-asm.h>.
65547         (memcmp): Don't use BP_SYM.  Remove comment about bounded
65548         pointers.
65549         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
65550         <bp-sym.h> and <bp-asm.h>.
65551         (memcpy): Don't use BP_SYM.
65552         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
65553         <bp-sym.h> and <bp-asm.h>.
65554         (__mempcpy): Don't use BP_SYM.
65555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
65556         <bp-sym.h> and <bp-asm.h>.
65557         (__memrchr): Don't use BP_SYM.
65558         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
65559         <bp-sym.h> and <bp-asm.h>.
65560         (memset): Don't use BP_SYM.
65561         (__bzero): Likewise.
65562         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
65563         <bp-sym.h> and <bp-asm.h>.
65564         (__rawmemchr): Don't use BP_SYM.
65565         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
65566         <bp-sym.h> and <bp-asm.h>.
65567         (__STRCMP): Don't use BP_SYM.
65568         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
65569         <bp-sym.h> and <bp-asm.h>.
65570         (strchr): Don't use BP_SYM.
65571         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
65572         <bp-sym.h> and <bp-asm.h>.
65573         (__strchrnul): Don't use BP_SYM.
65574         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
65575         <bp-sym.h> and <bp-asm.h>.
65576         (strlen): Don't use BP_SYM.
65577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
65578         <bp-sym.h> and <bp-asm.h>.
65579         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65580         pointers.
65581         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
65582         <bp-sym.h> and <bp-asm.h>.
65583         (__strnlen): Don't use BP_SYM.
65584         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
65585         <bp-sym.h> and <bp-asm.h>.
65586         (__GI__setjmp): Don't use BP_SYM.
65587         (_setjmp): Likewise.
65588         (__sigsetjmp): Likewise.
65589         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
65590         (L(start_addresses)): Don't use BP_SYM.
65591         (_start): Likewise.
65592         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
65593         <bp-asm.h>.
65594         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
65595         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
65596         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65597         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65598         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
65599         <bp-asm.h>.
65600         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
65601         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
65602         about bounded pointers.
65603         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65604         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65605         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
65606         <bp-asm.h>.
65607         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65608         about bounded pointers.  Remove GKM FIXME comments.
65609         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65610         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
65611         <bp-asm.h>.
65612         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
65613         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
65614         Remove GKM FIXME comments.
65615         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65616         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65617         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
65618         <bp-asm.h>.
65619         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
65620         about bounded pointers.  Remove GKM FIXME comment.
65621         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
65622         and <bp-asm.h>.
65623         (strncmp): Don't use BP_SYM.  Remove comment about bounded
65624         pointers.
65625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
65626         <bp-sym.h> and <bp-asm.h>.
65627         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
65629         <bp-sym.h> and <bp-asm.h>.
65630         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65631         comment.
65633 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
65635         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
65636         call free(NULL).
65638 2013-03-05  David S. Miller  <davem@davemloft.net>
65640         * po/es.po: Update from translation team.
65642 2013-03-05  Andreas Jaeger  <aj@suse.de>
65644         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
65645         <bits/mman-linux.h>.
65646         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65647         is fine.
65648         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
65649         <bits/mman-linux.h> to end of file.
65650         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65651         is fine.
65652         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
65653         <bits/mman-linux.h> to end of file.
65654         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
65655         is fine.
65656         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
65657         <bits/mman-linux.h> to end of file.
65659         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
65660         (MCL_CURRENT, MCL_FUTURE): Define here.
65662 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65664         [BZ #15232]
65665         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
65666         attribute_hidden.
65667         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65669 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65671         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
65672         fourth parameter needed for rt_sigprocmask syscall.
65673         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
65674         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
65676         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65677         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65678         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
65680 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
65682         [BZ #13550]
65683         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
65684         comment about bounded pointers.
65685         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
65686         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
65688 2013-03-04  Andreas Jaeger  <aj@suse.de>
65690         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
65691         common definitions.
65693         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
65694         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
65695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
65696         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65697         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65700 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65702         [BZ #15055]
65703         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
65704         __ieee754_sqrl instead of __sqrl.
65706 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
65708         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
65709         * sysdeps/powerpc/fpu_control.h: ... here.
65710         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
65711         * sysdeps/powerpc/bits/fenvinline.h: ... here.
65712         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
65713         * sysdeps/powerpc/bits/mathinline.h: ... here.
65715 2013-03-01  Roland McGrath  <roland@hack.frob.com>
65717         * elf/dl-hwcaps.c (_dl_important_hwcaps):
65718         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
65719         to just [NEED_DL_SYSINFO_DSO].
65720         * elf/dl-support.c: Likewise.
65721         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
65722         * elf/rtld.c (dl_main): Likewise.
65723         * elf/setup-vdso.h (setup_vdso): Likewise.
65724         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
65725         * sysdeps/unix/sysv/linux/dl-sysdep.c
65726         (_dl_discover_osversion): Likewise.
65728 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
65730         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
65731         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65733 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
65735         * NEWS: Mention libm performance improvements and non-x86 PI
65736         futex support.
65738         * csu/libc-start.c (__pthread_initialize_minimal): Change
65739         function arguments.
65740         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
65742 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
65744         [BZ #13550]
65745         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
65746         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
65747         <bp-sym.h> and <bp-asm.h>.
65748         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65749         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
65750         and <bp-asm.h>.
65751         (memcpy): Don't use BP_SYM.
65752         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
65753         <bp-asm.h>.
65754         (__mpn_add_n): Don't use BP_SYM.
65755         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
65756         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
65757         and <bp-asm.h>.
65758         (__mpn_addmul_1): Don't use BP_SYM.
65759         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65760         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
65761         <bp-sym.h>.
65762         (_setjmp): Don't use BP_SYM.
65763         (__novmx_setjmp): Likewise.
65764         (__GI__setjmp): Likewise.
65765         (__vmx_setjmp): Likewise.
65766         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
65767         <bp-sym.h>.
65768         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
65769         (__bzero): Don't use BP_SYM.
65770         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
65771         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
65772         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
65773         <bp-sym.h> and <bp-asm.h>.
65774         (memcpy): Don't use BP_SYM.
65775         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
65776         <bp-sym.h> and <bp-asm.h>.
65777         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65778         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
65779         <bp-sym.h> and <bp-asm.h>.
65780         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
65781         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
65782         <bp-asm.h>.
65783         (__mpn_lshift): Don't use BP_SYM.
65784         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65785         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
65786         <bp-asm.h>.
65787         (memset): Don't use BP_SYM.
65788         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
65789         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
65790         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
65791         <bp-asm.h>.
65792         (__mpn_mul_1): Don't use BP_SYM.
65793         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65794         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
65795         <bp-sym.h> and <bp-asm.h>.
65796         (memcmp): Don't use BP_SYM.
65797         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
65798         <bp-sym.h> and <bp-asm.h>.
65799         (memcpy): Don't use BP_SYM.
65800         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
65801         <bp-sym.h> and <bp-asm.h>.
65802         (memset): Don't use BP_SYM.
65803         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
65804         <bp-sym.h> and <bp-asm.h>.
65805         (strncmp): Don't use BP_SYM.
65806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
65807         <bp-sym.h> and <bp-asm.h>.
65808         (memcpy): Don't use BP_SYM.
65809         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
65810         <bp-sym.h> and <bp-asm.h>.
65811         (memset): Don't use BP_SYM.
65812         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
65813         <bp-sym.h> and <bp-asm.h>.
65814         (__memchr): Don't use BP_SYM.
65815         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
65816         <bp-sym.h> and <bp-asm.h>.
65817         (memcmp): Don't use BP_SYM.
65818         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
65819         <bp-sym.h> and <bp-asm.h>.
65820         (memcpy): Don't use BP_SYM.
65821         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
65822         <bp-sym.h> and <bp-asm.h>.
65823         (__mempcpy): Don't use BP_SYM.
65824         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
65825         <bp-sym.h> and <bp-asm.h>.
65826         (__memrchr): Don't use BP_SYM.
65827         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
65828         <bp-sym.h> and <bp-asm.h>.
65829         (memset): Don't use BP_SYM.
65830         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
65831         <bp-sym.h> and <bp-asm.h>.
65832         (__rawmemchr): Don't use BP_SYM.
65833         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
65834         <bp-sym.h> and <bp-asm.h>.
65835         (__STRCMP): Don't use BP_SYM.
65836         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
65837         <bp-sym.h> and <bp-asm.h>.
65838         (strchr): Don't use BP_SYM.
65839         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
65840         <bp-sym.h> and <bp-asm.h>.
65841         (__strchrnul): Don't use BP_SYM.
65842         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
65843         <bp-sym.h> and <bp-asm.h>.
65844         (strlen): Don't use BP_SYM.
65845         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
65846         <bp-sym.h> and <bp-asm.h>.
65847         (strncmp): Don't use BP_SYM.
65848         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
65849         <bp-sym.h> and <bp-asm.h>.
65850         (__strnlen): Don't use BP_SYM.
65851         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
65852         <bp-asm.h>.
65853         (__mpn_rshift): Don't use BP_SYM.
65854         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65855         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
65856         <bp-sym.h> and <bp-asm.h>.
65857         (__sigsetjmp): Don't use BP_SYM.
65858         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
65859         (L(start_addresses)): Don't use BP_SYM.
65860         (_start): Likewise.
65861         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
65862         <bp-asm.h>.
65863         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
65864         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65865         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65866         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
65867         <bp-asm.h>.
65868         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
65869         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65870         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65871         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
65872         <bp-asm.h>.
65873         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65874         comments.
65875         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65876         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
65877         <bp-asm.h>.
65878         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
65879         FIXME comments.
65880         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65881         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
65882         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
65883         <bp-asm.h>.
65884         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
65885         comment.
65886         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
65887         and <bp-asm.h>.
65888         (strncmp): Don't use BP_SYM,
65889         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
65890         <bp-asm.h>.
65891         (__mpn_sub_n): Don't use BP_SYM.
65892         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65893         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
65894         and <bp-asm.h>.
65895         (__mpn_submul_1): Don't use BP_SYM.
65896         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
65898         <bp-sym.h> and <bp-asm.h>.
65899         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
65900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
65901         <bp-sym.h> and <bp-asm.h>.
65902         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
65903         comment.
65905 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
65908         Use ZK to minimize writes to Z.
65909         (sub_magnitudes): Simplify code a bit.
65910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
65911         Use ZK to minimize writes to Z.
65912         (sub_magnitudes): Simplify code a bit.
65914 2013-02-27  Roland McGrath  <roland@hack.frob.com>
65916         * csu/gmon-start.c: Add special exception to license text.
65918 2013-02-27  Richard Henderson  <rth@redhat.com>
65920         * scripts/config.guess: Update from config.git.
65921         * scripts/config.sub: Likewise.
65923 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65925         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
65927         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
65929         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
65931         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
65933         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
65935 2013-02-26  Roland McGrath  <roland@hack.frob.com>
65937         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
65938         [$(build-shared = yes].
65940 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65942         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
65943         (__mul): Reduce iterations for calculating mantissa.
65945         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
65946         MPTWO.
65947         (__mpranred): Likewise.
65949         [BZ #15160]
65950         * malloc/memusagestat.c (main): Draw graphs for heap and stack
65951         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
65953 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
65955         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
65956         Define __attribute__.
65958 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65960         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
65961         unused.
65962         * posix/regex_internal.h (__attribute): Remove.
65963         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
65964         (re_string_context_at): Likewise.
65965         (bitset_not): Use __attribute__ and mark function as possibly
65966         unused.
65967         (bitset_merge): Likewise.
65968         (bitset_mask): Likewise.
65969         (re_string_char_size_at): Likewise.
65970         (re_string_wchar_at): Likewise.
65971         (re_string_elem_size_at): Likewise.
65973 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65975         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
65976         code.
65977         (cc32): Likewise.
65979         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
65980         (__acr): Likewise.
65981         (__cpy): Likewise.
65982         (norm): Likewise.
65983         (denorm): Likewise.
65984         (__dbl_mp): Likewise.
65985         (add_magnitudes): Likewise.
65986         (sub_magnitudes): Likewise.
65987         (__mul): Likewise.
65988         (__inv): Likewise.
65990         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
65991         style.
65993         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
65994         style.
65996         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
65997         code.
65999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66000         up changes with default code.
66001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66002         Likewise.
66004 2013-02-24  Allan McRae  <allan@archlinux.org>
66006         * manual/socket.texi (The Internet Namespace): Order menu items
66007         to match that in the file.
66009         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66010         node listing of the info page menu.
66012 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66014         [BZ #13550]
66015         * sysdeps/i386/bp-asm.h: Remove file.
66016         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66017         (PARMS): Do not use macros from bp-asm.h.
66018         (S1): Likewise.
66019         (S2): Likewise.
66020         (SIZE): Likewise.
66021         (__mpn_add_n): Do not use BP_SYM
66022         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66023         "bp-asm.h".
66024         (PARMS): Do not use macros from bp-asm.h.
66025         (S1): Likewise.
66026         (SIZE): Likewise.
66027         (__mpn_addmul_1): Do not use BP_SYM
66028         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66029         "bp-asm.h".
66030         (PARMS): Do not use macros from bp-asm.h.
66031         (SIGMSK): Likewise.
66032         (_setjmp): Likewise.  Do not use BP_SYM.
66033         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66034         "bp-asm.h".
66035         (PARMS): Do not use macros from bp-asm.h.
66036         (SIGMSK): Likewise.
66037         (setjmp): Likewise.  Do not use BP_SYM.
66038         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66039         "bp-asm.h".
66040         (PARMS): Do not use macros from bp-asm.h.
66041         (__frexp): Do not use BP_SYM.
66042         (frexp): Likewise.
66043         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66044         "bp-asm.h".
66045         (PARMS): Do not use macros from bp-asm.h.
66046         (__frexpf): Do not use BP_SYM.
66047         (frexpf): Likewise.
66048         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66049         "bp-asm.h".
66050         (PARMS): Do not use macros from bp-asm.h.
66051         (__frexpl): Do not use BP_SYM.
66052         (frexpl): Likewise.
66053         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
66054         "bp-asm.h".
66055         (PARMS): Do not use macros from bp-asm.h.
66056         (__remquo): Do not use BP_SYM.
66057         (remquo): Likewise.
66058         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
66059         "bp-asm.h".
66060         (PARMS): Do not use macros from bp-asm.h.
66061         (__remquof): Do not use BP_SYM.
66062         (remquof): Likewise.
66063         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
66064         "bp-asm.h".
66065         (PARMS): Do not use macros from bp-asm.h.
66066         (__remquol): Do not use BP_SYM.
66067         (remquol): Likewise.
66068         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66069         "bp-asm.h".
66070         (PARMS): Do not use macros from bp-asm.h.
66071         (DEST): Likewise.
66072         (SRC): Likewise.
66073         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
66074         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
66075         "bp-asm.h".
66076         (PARMS): Do not use macros from bp-asm.h.
66077         (strlen): Do not use BP_SYM.
66078         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
66079         "bp-asm.h".
66080         (PARMS): Do not use macros from bp-asm.h.
66081         (S1): Likewise.
66082         (S2): Likewise.
66083         (SIZE): Likewise.
66084         (__mpn_add_n): Do not use BP_SYM.
66085         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
66086         "bp-asm.h".
66087         (PARMS): Do not use macros from bp-asm.h.
66088         (S1): Likewise.
66089         (SIZE): Likewise.
66090         (__mpn_addmul_1): Do not use BP_SYM.
66091         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
66092         weak_alias.
66093         (bzero): Likewise.
66094         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
66095         "bp-asm.h".
66096         (PARMS): Do not use macros from bp-asm.h.
66097         (S): Likewise.
66098         (SIZE): Likewise.
66099         (__mpn_lshift): Do not use BP_SYM.
66100         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
66101         "bp-asm.h".
66102         (PARMS): Do not use macros from bp-asm.h.
66103         (DEST): Likewise.
66104         (SRC): Likewise.
66105         (LEN): Likewise.
66106         (memcpy): Likewise.  Do not use BP_SYM.
66107         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
66108         libc_hidden_def and weak_alias.
66109         (mempcpy): Do not use BP_SYM in weak_alias.
66110         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
66111         "bp-asm.h".
66112         (PARMS): Do not use macros from bp-asm.h.
66113         (DEST): Likewise.
66114         (LEN): Likewise.
66115         [!BZERO_P] (CHR): Likewise.
66116         (memset): Likewise.  Do not use BP_SYM.
66117         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
66118         "bp-asm.h".
66119         (PARMS): Do not use macros from bp-asm.h.
66120         (S1): Likewise.
66121         (SIZE): Likewise.
66122         (__mpn_mul_1): Do not use BP_SYM.
66123         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
66124         "bp-asm.h".
66125         (PARMS): Do not use macros from bp-asm.h.
66126         (S): Likewise.
66127         (SIZE): Likewise.
66128         (__mpn_rshift): Do not use BP_SYM.
66129         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
66130         "bp-asm.h".
66131         (PARMS): Do not use macros from bp-asm.h.
66132         (STR): Likewise.
66133         (CHR): Likewise.
66134         (strchr): Likewise.  Do not use BP_SYM.
66135         (index): Do not use BP_SYM in weak_alias.
66136         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
66137         "bp-asm.h".
66138         (PARMS): Do not use macros from bp-asm.h.
66139         (DEST): Likewise.
66140         (SRC): Likewise.
66141         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
66142         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
66143         "bp-asm.h".
66144         (PARMS): Do not use macros from bp-asm.h.
66145         (strlen): Do not use BP_SYM.
66146         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
66147         "bp-asm.h".
66148         (PARMS): Do not use macros from bp-asm.h.
66149         (S1): Likewise.
66150         (S2): Likewise.
66151         (SIZE): Likewise.
66152         (__mpn_sub_n): Do not use BP_SYM.
66153         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
66154         "bp-asm.h".
66155         (PARMS): Do not use macros from bp-asm.h.
66156         (S1): Likewise.
66157         (SIZE): Likewise.
66158         (__mpn_submul_1): Do not use BP_SYM.
66159         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
66160         "bp-asm.h".
66161         (PARMS): Do not use macros from bp-asm.h.
66162         (S1): Likewise.
66163         (S2): Likewise.
66164         (SIZE): Likewise.
66165         (__mpn_add_n): Do not use BP_SYM.
66166         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
66167         weak_alias.
66168         (bzero): Likewise.
66169         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
66170         "bp-asm.h".
66171         (PARMS): Do not use macros from bp-asm.h.
66172         (BLK2): Likewise.
66173         (LEN): Likewise.
66174         (memcmp): Do not use BP_SYM.
66175         (bcmp): Do not use BP_SYM in weak_alias.
66176         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
66177         "bp-asm.h".
66178         (PARMS): Do not use macros from bp-asm.h.
66179         (DEST): Likewise.
66180         (SRC): Likewise.
66181         (LEN): Likewise.
66182         (memcpy): Likewise.  Do not use BP_SYM.
66183         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
66184         "bp-asm.h".
66185         (PARMS): Do not use macros from bp-asm.h.
66186         (DEST): Likewise.
66187         (SRC): Likewise.
66188         (LEN): Likewise.
66189         (memmove): Likewise.  Do not use BP_SYM.
66190         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
66191         "bp-asm.h".
66192         (PARMS): Do not use macros from bp-asm.h.
66193         (DEST): Likewise.
66194         (SRC): Likewise.
66195         (LEN): Likewise.
66196         (__mempcpy): Likewise.  Do not use BP_SYM.
66197         (mempcpy): Do not use BP_SYM in weak_alias.
66198         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
66199         "bp-asm.h".
66200         (PARMS): Do not use macros from bp-asm.h.
66201         (DEST): Likewise.
66202         (LEN): Likewise.
66203         [!BZERO_P] (CHR): Likewise.
66204         (memset): Likewise.  Do not use BP_SYM.
66205         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
66206         "bp-asm.h".
66207         (PARMS): Do not use macros from bp-asm.h.
66208         (STR2): Likewise.
66209         (strcmp): Do not use BP_SYM.
66210         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
66211         "bp-asm.h".
66212         (PARMS): Do not use macros from bp-asm.h.
66213         (STR): Likewise.
66214         (DELIM): Likewise.
66215         [USE_AS_STRTOK_R] (SAVE): Likewise.
66216         (FUNCTION): Likewise.  Do not use BP_SYM.
66217         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
66218         aliases.
66219         (strtok_r): Likewise.
66220         (__GI___strtok_r): Likewise.
66221         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66222         (PARMS): Do not use macros from bp-asm.h.
66223         (S): Likewise.
66224         (SIZE): Likewise.
66225         (__mpn_lshift): Do not use BP_SYM.
66226         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66227         (PARMS): Do not use macros from bp-asm.h.
66228         (STR): Likewise.
66229         (CHR): Likewise.
66230         (__memchr): Do not use BP_SYM.
66231         (memchr): Do not use BP_SYM in weak_alias.
66232         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66233         (PARMS): Do not use macros from bp-asm.h.
66234         (BLK2): Likewise.
66235         (LEN): Likewise.
66236         (memcmp): Do not use BP_SYM.
66237         (bcmp): Do not use BP_SYM in weak_alias.
66238         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
66239         (PARMS): Do not use macros from bp-asm.h.
66240         (S1): Likewise.
66241         (SIZE): Likewise.
66242         (__mpn_mul_1): Do not use BP_SYM.
66243         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
66244         "bp-asm.h".
66245         (PARMS): Do not use macros from bp-asm.h.
66246         (STR): Likewise.
66247         (CHR): Likewise.
66248         (__rawmemchr): Do not use BP_SYM.
66249         (rawmemchr): Do not use BP_SYM in weak_alias.
66250         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
66251         (PARMS): Do not use macros from bp-asm.h.
66252         (S): Likewise.
66253         (SIZE): Likewise.
66254         (__mpn_rshift): Do not use BP_SYM.
66255         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
66256         (PARMS): Do not use macros from bp-asm.h.
66257         (SIGMSK): Likewise.
66258         (__sigsetjmp): Likewise.  Do not use BP_SYM.
66259         * sysdeps/i386/start.S: Do not include "bp-sym.h".
66260         (_start): Do not use BP_SYM.
66261         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
66262         (PARMS): Do not use macros from bp-asm.h.
66263         (DEST): Likewise.
66264         (SRC): Likewise.
66265         (__stpcpy): Likewise.  Do not use BP_SYM.
66266         (stpcpy): Do not use BP_SYM in weak_alias.
66267         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
66268         "bp-asm.h".
66269         (PARMS): Do not use macros from bp-asm.h.
66270         (DEST): Likewise.
66271         (SRC): Likewise.
66272         (LEN): Likewise.
66273         (__stpncpy): Likewise.  Do not use BP_SYM.
66274         (stpncpy): Do not use BP_SYM in weak_alias.
66275         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
66276         (PARMS): Do not use macros from bp-asm.h.
66277         (STR): Likewise.
66278         (CHR): Likewise.
66279         (strchr): Likewise.  Do not use BP_SYM.
66280         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
66281         "bp-asm.h".
66282         (PARMS): Do not use macros from bp-asm.h.
66283         (STR): Likewise.
66284         (CHR): Likewise.
66285         (__strchrnul): Likewise.  Do not use BP_SYM.
66286         (strchrnul): Do not use BP_SYM in weak_alias.
66287         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
66288         "bp-asm.h".
66289         (PARMS): Do not use macros from bp-asm.h.
66290         (STOP): Likewise.
66291         (strcspn): Do not use BP_SYM.
66292         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
66293         "bp-asm.h".
66294         (PARMS): Do not use macros from bp-asm.h.
66295         (STR): Likewise.
66296         (STOP): Likewise.
66297         (strpbrk): Likewise.  Do not use BP_SYM.
66298         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
66299         "bp-asm.h".
66300         (PARMS): Do not use macros from bp-asm.h.
66301         (STR): Likewise.
66302         (CHR): Likewise.
66303         (strrchr): Likewise.  Do not use BP_SYM.
66304         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
66305         (PARMS): Do not use macros from bp-asm.h.
66306         (SKIP): Likewise.
66307         (strspn): Do not use BP_SYM.
66308         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
66309         (PARMS): Do not use macros from bp-asm.h.
66310         (STR): Likewise.
66311         (DELIM): Likewise.
66312         (SAVE): Likewise.
66313         (FUNCTION): Likewise.  Do not use BP_SYM.
66314         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
66315         aliases.
66316         (strtok_r): Likewise.
66317         (__GI___strtok_r): Likewise.
66318         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66319         (PARMS): Do not use macros from bp-asm.h.
66320         (S1): Likewise.
66321         (S2): Likewise.
66322         (SIZE): Likewise.
66323         (__mpn_sub_n): Do not use BP_SYM.
66324         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
66325         "bp-asm.h".
66326         (PARMS): Do not use macros from bp-asm.h.
66327         (S1): Likewise.
66328         (SIZE): Likewise.
66329         (__mpn_submul_1): Do not use BP_SYM.
66330         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
66331         <bp-sym.h>.
66332         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
66333         and <bp-asm.h>.
66334         (PARMS): Do not use macros from bp-asm.h.
66335         (FLAGS): Likewise.
66336         (PTID): Likewise.
66337         (TLS): Likewise.
66338         (CTID): Likewise.
66339         (__clone): Do not use BP_SYM.
66340         (clone): Do not use BP_SYM in weak_alias.
66341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
66342         and <bp-asm.h>.
66343         (PARMS): Do not use macros from bp-asm.h.
66344         (LEN): Likewise.
66345         (__mmap64): Do not use BP_SYM.
66346         (mmap64): Do not use BP_SYM in weak_alias.
66347         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66348         <bp-sym.h> and <bp-asm.h>.
66349         (PARMS): Do not use macros from bp-asm.h.
66350         (__posix_fadvise64_l64): Do not use BP_SYM.
66351         * sysdeps/unix/sysv/linux/i386/semtimedop.S
66352         (PARMS): Do not use macros from bp-asm.h.
66353         (NSOPS): Likewise.
66354         (semtimedop): Do not use BP_SYM.
66355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
66356         and <bp-asm.h>.
66358 2013-02-21  Allan McRae  <allan@archlinux.org>
66360         * manual/message.texi (Charset conversion in gettext):
66361         Move @end statement to beginning of line.
66363 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
66366         static.
66367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66368         Likewise.
66370         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
66371         (denorm): Likewise.
66372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
66373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
66375 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66377         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
66378         tail-call to the resolved function if pltexit isn't needed.
66380 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
66383         or Y being zero as being unlikely.
66384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66385         Likewise.
66387 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
66389         * manual/nss.texi (System Databases and Name Service Switch):
66390         Remove frobnicate @pxref.
66392 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66394         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66395         __attribute__ ((unused)) to __attribute__ ((__unused__)).
66397 2013-02-20  Petr Machata  <pmachata@redhat.com>
66399         * elf/elf.h (R_ARM_TARGET1): New macro.
66400         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
66401         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
66402         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
66403         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
66404         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
66405         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
66406         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
66407         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
66408         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
66409         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
66410         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
66411         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
66412         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
66413         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
66414         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
66415         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
66416         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
66417         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
66418         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
66419         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
66420         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
66421         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
66422         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66423         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
66424         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
66425         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
66426         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
66427         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
66428         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
66429         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
66430         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
66431         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
66432         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
66433         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
66434         (R_ARM_THM_GOT_BREL12): Likewise.
66435         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
66436         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
66437         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
66438         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
66439         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
66440         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
66441         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
66442         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
66443         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
66445 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
66447         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
66448         __attribute_used__ to __attribute__ ((unused)).
66450 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
66452         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
66453         powerpc mpa.c.
66454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
66455         comment formatting.
66456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
66458 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
66460         [BZ #13550]
66461         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
66462         Remove macro.
66463         (ENTER): Remove both macro definitions.
66464         (LEAVE): Likewise.
66465         (CHECK_BOUNDS_LOW): Likewise.
66466         (CHECK_BOUNDS_HIGH): Likewise.
66467         (CHECK_BOUNDS_BOTH): Likewise.
66468         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
66469         (RETURN_BOUNDED_POINTER): Likewise.
66470         (RETURN_NULL_BOUNDED_POINTER): Likewise.
66471         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
66472         (POP_ERRNO_LOCATION_RETURN): Likewise.
66473         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
66474         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66475         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
66476         macros.
66477         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66478         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
66479         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
66480         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
66481         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
66482         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
66483         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
66484         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
66485         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
66486         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
66487         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
66488         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
66489         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66490         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
66491         removed macros.
66492         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66493         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
66494         macros.
66495         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66496         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
66497         * sysdeps/i386/i586/memset.S (memset): Likewise.
66498         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
66499         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66500         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
66501         macros.
66502         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66503         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
66504         Change uses of L(2) to L(out).
66505         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
66506         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
66507         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
66508         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66509         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
66510         removed macros.
66511         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66512         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
66513         macros.
66514         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66515         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
66516         (RETURN): Do not use macro LEAVE.
66517         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
66518         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
66519         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
66520         * sysdeps/i386/i686/memset.S (memset): Likewise.
66521         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
66522         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
66523         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66524         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
66525         Likewise.
66526         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66527         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
66528         L(1_2) and L(1_3) into L(1).
66529         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66530         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
66531         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66532         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
66533         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66534         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
66535         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
66536         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66537         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
66538         macros.
66539         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
66540         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66541         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
66542         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
66543         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
66544         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66545         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
66546         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
66547         * sysdeps/i386/strcspn.S (strcspn): Likewise.
66548         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
66549         * sysdeps/i386/strrchr.S (strrchr): Likewise.
66550         * sysdeps/i386/strspn.S (strspn): Likewise.
66551         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
66552         conditional code.
66553         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66554         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
66555         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
66556         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
66557         L(1_3) into L(1_1).
66558         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
66559         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66560         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
66561         macros.
66562         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66564 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
66566         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
66567         macro.
66569 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66571         * math/atest-exp.c (exp_mpn): Remove ROUND.
66572         * math/atest-exp2.c (exp_mpn): Likewise.
66573         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
66575         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
66576         * stdlib/tst-tls-atexit-lib.c: Likewise.
66577         * stdlib/tst-tls-atexit.c: Likewise.
66579 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66581         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
66582         and __attribute_alloc_size__.
66584 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66586         * include/programs/xmalloc.h: Change __attribute_alloc_size to
66587         __attribute_alloc_size__.
66588         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
66589         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
66591 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
66593         * include/programs/xmalloc.h: New file.
66594         * catgets/gencat.c: Include it.
66595         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
66596         * elf/pldd.c: Likewise.
66597         * iconv/iconv_charmap.c: Likewise.
66598         * iconv/iconvconfig.c: Likewise.
66599         * iconv/strtab.c: Likewise.
66600         * locale/programs/locale.c: Likewise.
66601         * locale/programs/localedef.h: Likewise.
66602         * locale/programs/simple-hash.c: Likewise.
66603         * nscd/nscd.h: Likewise.
66604         * nss/makedb.c: Likewise.
66605         * sysdeps/generic/ldconfig.h: Likewise.
66607 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66609         * Versions.def: Add GLIBC_2.18.
66610         * include/link.h (struct link_map): New member l_tls_dtor_count.
66611         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
66612         (__call_tls_dtors): Likewise.
66613         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
66614         __cxa_thread_atexit_impl.
66615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66616         Likewise.
66617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66618         Likewise.
66619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
66620         Likewise.
66621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
66622         Likewise.
66623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
66625         Likewise.
66626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
66627         Likewise.
66628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66630         Likewise.
66631         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
66632         (tests): Add test case tst-tls-atexit.
66633         (modules-names): Add shared library for tst-tls-atexit.
66634         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
66635         (GLIBC_PRIVATE): Add __call_tls_dtors.
66636         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
66637         for libstdc++.
66638         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
66639         * stdlib/tst-tls-atexit.c: New test case.
66640         * stdlib/tst-tls-atexit-lib.c: New test case.
66642         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66644         * elf/Versions (ld): Add _dl_find_dso_for_object.
66645         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
66646         * elf/dl-open.c (_dl_find_dso_for_object): New function.
66647         (dl_open_worker): Use _dl_find_dso_for_object.
66648         * elf/dl-sym.c (do_sym): Likewise.
66649         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
66651 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66653         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
66654         Syntactic changes only.
66655         (_dl_runtime_profile): Do a tail-call to the resolved function.
66657 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
66659         [BZ #13550]
66660         * sysdeps/x86_64/bp-asm.h: Remove file.
66661         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
66662         <bp-sym.h> and <bp-asm.h>.
66663         (__clone): Do not use BP_SYM.
66664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
66665         <bp-sym.h> and <bp-asm.h>.
66666         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66667         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
66668         "bp-asm.h".
66669         (_setjmp): Do not use BP_SYM.
66670         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
66671         "bp-asm.h".
66672         (setjmp): Do not use BP_SYM.
66673         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
66674         libc_hidden_def.
66675         (mempcpy): Do not use BP_SYM in weak_alias.
66676         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
66677         "bp-asm.h".
66678         (strchr): Do not use BP_SYM.
66679         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
66680         "bp-asm.h".
66681         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
66682         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
66683         (_start): Do not use BP_SYM.
66684         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
66685         "bp-asm.h".
66686         (strcat): Do not use BP_SYM.
66687         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
66688         "bp-asm.h".
66689         (STRCMP): Do not use BP_SYM.
66690         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
66691         "bp-asm.h".
66692         (STRCPY): Do not use BP_SYM.
66693         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
66694         "bp-asm.h".
66695         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
66696         "bp-asm.h".
66697         (FUNCTION): Do not use BP_SYM.
66698         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
66699         weak_alias.
66700         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
66702 2013-02-17  Andreas Jaeger  <aj@suse.de>
66704         * time/Versions: Sort entries.
66705         * string/Versions: Likewise.
66706         * resolv/Versions: Likewise.
66707         * posix/Versions: Likewise.
66708         * iconv/Versions: Likewise.
66709         * elf/Versions: Likewise.
66710         * wcsmbs/Versions: Likewise.
66712 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66714         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
66715         loop termination condition.
66717         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
66718         variable to calculate EZ.
66719         (__sqr): Likewise.
66721         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
66722         the lower precision input.
66724 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
66726         [BZ #13550]
66727         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
66728         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
66729         (run-via-rtld-prefix): Do not handle %-bp tests.
66730         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
66731         (all-object-suffixes): Remove .ob.
66732         (bppfx): Remove variable.
66733         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
66734         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
66735         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
66736         [$(build-bounded) = yes] (libtype.ob): Likewise.
66737         * Makerules (elide-routines.ob): Remove variable.
66738         (do-tests-clean): Do not handle *-bp.out.
66739         (common-mostlyclean): Do not handle *-bp and *-bp.out.
66740         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
66741         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
66742         (tests): Do not include $(tests-bp.out).
66743         (xtests): Do not include $(xtests-bp.out).
66744         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
66745         [$(build-bounded) = yes] ($(addprefix
66746         $(objpfx),$(binaries-bounded))): Remove rule.
66747         ($(objpfx)%-bp.out): Remove rule.
66748         * config.make.in (build-bounded): Remove variable.
66749         * crypt/Makefile [$(build-bounded) = yes]
66750         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
66751         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
66752         append to variable.
66753         [$(build-bounded) = yes] (install-lib): Likewise.
66754         [$(build-bounded) = yes] (generated): Likewise.
66755         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
66756         Remove rule.
66757         * intl/Makefile [$(build-bounded) = yes]
66758         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
66759         * math/Makefile [$(build-bounded) = yes]
66760         ($(tests:%=$(objpfx)%-bp): Likewise.
66761         * misc/Makefile [$(build-bounded) = yes]
66762         ($(objpfx)tst-tsearch-bp): Likewise.
66763         * nptl/Makeconfig (bounded-thread-library): Remove variable.
66764         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
66765         Remove dependency.
66766         * string/Makefile (o-objects.ob): Remove variable.
66767         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
66768         (CFLAGS-.ob): Remove variable.
66769         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
66770         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
66771         both definitions of variable.
66772         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
66773         (ASFLAGS-.ob): Remove variable.
66775 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
66777         [BZ #13550]
66778         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
66779         Remove __BOUNDED_POINTERS__ from condition.
66780         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
66781         * string/bits/string2.h [!__NO_STRING_INLINES &&
66782         !__BOUNDED_POINTERS__]: Likewise.
66783         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
66784         Likewise.
66785         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
66786         Remove conditional code.
66787         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
66788         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
66789         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
66790         condition.
66792         [BZ #13550]
66793         * csu/libc-start.c: Do not include <bp-sym.h>.
66794         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
66795         * elf/dl-open.c: Do not include <bp-sym.h>.
66796         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
66797         * math/fegetenv.c: Do not include <bp-sym.h>.
66798         (fegetenv): Do not use BP_SYM in versioned symbols.
66799         * nptl/sysdeps/pthread/bits/libc-lockP.h
66800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
66801         <bp-sym.h>.
66802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66803         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
66804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66805         (__pthread_mutex_destroy): Likewise.
66806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66807         (__pthread_mutex_lock): Likewise.
66808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66809         (__pthread_mutex_trylock): Likewise.
66810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66811         (__pthread_mutex_unlock): Likewise.
66812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66813         (__pthread_mutexattr_init): Likewise.
66814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66815         (__pthread_mutexattr_destroy): Likewise.
66816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66817         (__pthread_mutexattr_settype): Likewise.
66818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66819         (__pthread_rwlock_init): Likewise.
66820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66821         (__pthread_rwlock_destroy): Likewise.
66822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66823         (__pthread_rwlock_rdlock): Likewise.
66824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66825         (__pthread_rwlock_tryrdlock): Likewise.
66826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66827         (__pthread_rwlock_wrlock): Likewise.
66828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66829         (__pthread_rwlock_trywrlock): Likewise.
66830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66831         (__pthread_rwlock_unlock): Likewise.
66832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66833         (__pthread_key_create): Likewise.
66834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66835         (__pthread_setspecific): Likewise.
66836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66837         (__pthread_getspecific): Likewise.
66838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
66839         Likewise.
66840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66841         (_pthread_cleanup_push_defer): Likewise.
66842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66843         (_pthread_cleanup_pop_restore): Likewise.
66844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
66845         (pthread_setcancelstate): Likewise.
66846         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
66847         <bp-sym.h>.
66848         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
66849         (memchr): Do not use BP_SYM in weak_alias.
66850         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
66851         (fegetenv): Do not use BP_SYM in versioned symbols.
66852         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
66853         (fesetenv): Do not use BP_SYM in versioned symbols.
66854         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66855         (feupdateenv): Do not use BP_SYM in versioned symbols.
66856         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66857         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66858         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
66859         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
66860         (open64): Do not use BP_SYM in weak_alias.
66861         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
66862         (fegetenv): Do not use BP_SYM in versioned symbols.
66863         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
66864         (fesetenv): Do not use BP_SYM in versioned symbols.
66865         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
66866         (feupdateenv): Do not use BP_SYM in versioned symbols.
66867         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
66868         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
66869         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
66870         (feraiseexcept): Do not use BP_SYM in versioned symbols.
66871         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
66872         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
66873         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
66874         <bp-sym.h>.
66875         (__libc_start_main): Do not use BP_SYM.
66877 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
66880         redundant return line.
66881         (norm): Likewise.
66882         (denorm): Likewise.
66883         (dbl_mp): Likewise.
66884         (sub_magnitudes): Likewise.
66885         (__add): Likewise.
66886         (__sub): Likewise.
66887         (__mul): Likewise.
66888         (__inv): Likewise.
66889         (__dvd): Likewise.
66890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
66891         (norm): Likewise.
66892         (denorm): Likewise.
66893         (dbl_mp): Likewise.
66894         (sub_magnitudes): Likewise.
66895         (__add): Likewise.
66896         (__sub): Likewise.
66897         (__mul): Likewise.
66898         (__inv): Likewise.
66899         (__dvd): Likewise.
66901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
66902         instead of __mul.
66903         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
66904         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
66905         (cc32): Likewise.
66907         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
66908         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
66909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
66910         of __mul for squares.
66911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
66912         function
66913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
66914         Likewise.
66915         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
66916         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66918 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
66920         [BZ #13550]
66921         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
66922         code.
66923         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
66924         prototype or function definition.  Rename ubp_* variables and
66925         parameters.  Remove argv definitions conditional on
66926         [__BOUNDED_POINTERS__].
66927         * debug/backtrace.c (__backtrace): Do not use __unbounded.
66928         * elf/dl-runtime.c (_dl_fixup): Likewise.
66929         * include/set-hooks.h (RUN_HOOK): Likewise.
66930         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
66931         definition.
66932         * string/strcpy.c (strcpy): Do not use __unbounded.
66933         * sysdeps/generic/frame.h (struct layout): Likewise.
66934         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
66935         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
66936         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
66937         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
66938         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
66939         (__backtrace): Likewise.
66940         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
66941         use __ptrvalue.
66942         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
66943         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
66944         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
66945         Likewise.
66946         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
66947         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
66948         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
66949         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66950         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
66951         Do not use __unbounded.
66952         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
66953         Rename __unboundedrlimits parameter to rlimits in prototype.
66954         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
66955         Do not use __unbounded.
66956         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
66957         not use __ptrvalue.
66958         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66959         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
66960         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66961         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
66962         __ptrvalue or __unbounded.
66963         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
66964         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
66965         use __unbounded.
66966         (__new_msgctl): Do not use __ptrvalue.
66967         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
66968         __unbounded.
66969         (__libc_msgrcv): Do not use __ptrvalue.
66970         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
66971         startup_info): Do not use __unbounded.
66972         (__libc_start_main): Likewise.  Rename ubp_* variables and
66973         parameters.  Remove argv definitions conditional on
66974         [__BOUNDED_POINTERS__].
66975         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
66976         __ptrvalue.
66977         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
66978         use __unbounded.
66979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
66980         or __ptrvalue.
66981         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
66982         use __unbounded.
66983         (__new_shmctl): Do not use __ptrvalue.
66984         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
66985         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
66986         Likewise.
66987         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
66988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
66989         (__libc_sigaction): Likewise.
66990         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
66991         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
66992         Likewise.
66993         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66995 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
66997         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
66999         * string/mempcpy.c: Implement by calling memcpy.
67001 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67006         evaluation.
67008         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67009         values in the mantissa.
67011         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67012         minimize writes to Z.
67013         (sub_magnitudes): Simplify code a bit.
67015 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67017         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67018         from the message.  The linker prefixes all warnings with that already.
67020 2013-02-12  Andreas Schwab  <schwab@suse.de>
67022         [BZ #15078]
67023         * posix/regexec.c (extend_buffers): Add parameter min_len.
67024         (check_matching): Pass minimum needed length.
67025         (clean_state_log_if_needed): Likewise.
67026         (get_subexp): Likewise.
67027         * posix/Makefile (tests): Add bug-regex34.
67028         (bug-regex34-ENV): Define.
67029         * posix/bug-regex34.c: New file.
67031         [BZ #11561]
67032         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67033         elements compare against the byte sequence of it, not its name.
67034         * posix/Makefile (tests): Add bug-regex35.
67035         (bug-regex35-ENV): Define.
67036         * posix/bug-regex35.c: New file.
67038 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67040         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67041         comment.
67042         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67043         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67044         (CHECK_EOL): Add undef.
67046 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67048         * bits/stdlib-bsearch.h: New file.
67049         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
67050         * stdlib/stdlib.h: Likewise.
67052 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67054         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
67055         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
67056         declaration.
67057         * manual/search.texi (Array Search Function): Add missing const in
67058         lfind prototype.
67059         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
67060         declaration to use rlim_t.
67061         (Basic Scheduling Functions): Remove erroneous const from
67062         sched_getparam prototype.  Remove erroneous * from
67063         sched_get_priority_max and sched_get_priority_min prototypes.
67064         (Resource Usage): Fix summary @comment on vtimes to refer to
67065         sys/vtimes.h rather than vtimes.h.
67066         Add missing *s in vtimes prototype.
67067         (Limits on Resources): Fix ulimit prototype to return long int.
67068         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
67069         prototypes to use long int rather than double.
67070         (BSD Random): Fix initstate and setstate to use char *, not void *.
67071         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
67072         prototype to make second argument 'struct aiocb64 *const[]'.
67073         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
67074         (Status of AIO Operations): Remove erroneous const in aio_return and
67075         aio_return64 prototypes.
67076         (Synchronizing I/O): Fix sync prototype to return void.
67077         * manual/startup.texi (Suboptions): Remove an erroneous const in
67078         getsubopt prototype.
67079         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
67080         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
67081         use size_t rather than int.
67082         (Scanning All Users): Likewise for getpwent_r.
67083         (Setting Groups): Add missing const to setgroups prototype.
67084         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
67085         * manual/socket.texi (Host Names): Fix gethostbyaddr and
67086         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
67087         'const void *' rather than 'const char *'.
67088         (Host Address Functions): Likewise for inet_ntop.
67089         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
67090         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
67091         ssize_t for return value.
67092         (Sending Data): Likewise for send, sendto, sendmsg.
67093         (Socket Option Functions): Add a missing const in setsockopt prototype.
67094         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
67095         use wchar_t for the argument.
67096         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
67097         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
67098         take no arguments.
67099         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
67100         double/float/long double for second argument.
67101         Fix return types of significand, significandf, significandl.
67102         * manual/filesys.texi (Setting Permissions): Use mode_t for second
67103         argument in fchmod prototype.
67104         (File Owner): Use uid_t and gid_t in fchown prototype.
67105         (File Times): Add const to utimes, futimes, and lutimes prototypes.
67106         (Making Special Files): Use mode_t and dev_t in mknod prototype.
67107         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
67108         use 'const struct dirent **' as argument types to CMP function pointer
67109         argument.
67110         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
67111         (File Times): Fix summary magic @comment for struct utimbuf and utime
67112         to refer to utime.h, not time.h.
67113         * manual/string.texi (Argz Functions): Add missing const in
67114         argz_extract and argz_next prototypes.
67115         (Finding Tokens in a String): Likewise for basename.
67116         (String/Array Comparison): Fix typo in wcscasecmp prototype.
67117         (Copying and Concatenation): Fix typo in wmemmove prototype.
67118         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
67119         (Signal Stack): Remove erroneous const in sigstack prototype.
67120         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
67121         prototype.
67122         (Simple Calendar Time): Likewise for stime.
67123         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
67124         prototype.
67125         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
67126         say sys/sysctl.h instead.
67127         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
67128         and vsyslog prototypes.
67130 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67132         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
67133         Remove.
67135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
67137         * misc/sys/mman.h: Fix typo in mremap comment.
67139 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67141         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
67142         the '\0' terminator.
67144 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67146         [BZ #13550]
67147         * debug/segfault.c: Don't include <bp-checks.h>.
67148         * sysdeps/generic/bp-checks.h: Remove file.
67149         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
67150         (__GETDENTS): Don't use CHECK_N.
67151         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
67152         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
67153         (__getgroups): Don't use CHECK_N.
67154         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
67155         (setgroups): Don't use CHECK_N.
67156         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
67157         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
67158         (__libc_msgrcv): Don't use CHECK_N.
67159         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
67160         (__libc_msgsnd): Don't use CHECK_N.
67161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
67162         <bp-checks.h>.
67163         (__libc_pread): Don't use CHECK_N.
67164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
67165         include <bp-checks.h>.
67166         (__libc_pread64): Don't use CHECK_N.
67167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
67168         include <bp-checks.h>.
67169         (__libc_pwrite): Don't use CHECK_N.
67170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
67171         include <bp-checks.h>.
67172         (__libc_pwrite64): Don't use CHECK_N.
67173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
67174         <bp-checks.h>.
67175         (__libc_pread): Don't use CHECK_N.
67176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
67177         include <bp-checks.h>.
67178         (__libc_pread64): Don't use CHECK_N.
67179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
67180         include <bp-checks.h>.
67181         (__libc_pwrite): Don't use CHECK_N.
67182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
67183         include <bp-checks.h>.
67184         (__libc_pwrite64): Don't use CHECK_N.
67185         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
67186         (do_pread): Don't use CHECK_N.
67187         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
67188         (do_pread64): Don't use CHECK_N.
67189         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
67190         (do_pwrite): Don't use CHECK_N.
67191         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
67192         (do_pwrite64): Don't use CHECK_N.
67193         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
67194         (__libc_readv): Don't use CHECK_N.
67195         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
67196         (semop): Don't use CHECK_N.
67197         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
67198         <bp-checks.h>.
67199         (semtimedop): Don't use CHECK_N.
67200         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
67201         (__libc_pread): Don't use CHECK_N.
67202         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
67203         <bp-checks.h>.
67204         (__libc_pread64): Don't use CHECK_N.
67205         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
67206         <bp-checks.h>.
67207         (__libc_pwrite): Don't use CHECK_N.
67208         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
67209         <bp-checks.h>.
67210         (__libc_pwrite64): Don't use CHECK_N.
67211         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
67212         <bp-checks.h>.
67213         (__libc_msgrcv): Don't use CHECK_N.
67214         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
67215         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
67216         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
67217         (__libc_writev): Don't use CHECK_N.
67219 2013-02-08  Roland McGrath  <roland@hack.frob.com>
67221         * string/strcpy.c: Removed unused variable.
67223         * Makeconfig (+sysdep-includes): Define with := rather than =.
67224         Use an existing include/ subdir of each sysdeps dir before it.
67226 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67228         * nscd/connection.c (register_traced_file): Comment function.
67229         [HAVE_INOTIFY] (union __inev): Define.
67230         [HAVE_INOTIFY] (inotify_check_files): New function.
67231         [HAVE_INOTIFY] (clear_db_cache): Likewise.
67232         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
67233         clear_db_cache.
67234         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
67236 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67238         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
67239         loaded if not already and that a failure is permanent.
67241 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
67243         [BZ #15006]
67244         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
67245         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
67247 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
67249         [BZ #13550]
67250         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
67251         (CHECK_1_NULL_OK): Likewise.
67252         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
67253         (__fxstat): Do not use CHECK_1.
67254         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
67255         <bp-checks.h>.
67256         (___fxstat64): Do not use CHECK_1.
67257         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
67258         <bp-checks.h>.
67259         (__fxstatat): Do not use CHECK_1.
67260         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
67261         <bp-checks.h>.
67262         (__fxstatat64): Do not use CHECK_1.
67263         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
67264         <bp-checks.h>.
67265         (__fxstat): Do not use CHECK_1.
67266         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
67267         <bp-checks.h>.
67268         (__fxstatat): Do not use CHECK_1.
67269         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67270         <bp-checks.h>.
67271         (__getresgid): Do not use CHECK_1.
67272         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67273         <bp-checks.h>.
67274         (__getresuid): Do not use CHECK_1.
67275         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
67276         <bp-checks.h>.
67277         (__lxstat): Do not use CHECK_1.
67278         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67279         <bp-checks.h>.
67280         (__old_msgctl): Do not use CHECK_1.
67281         (__new_msgctl): Likewise.
67282         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
67283         <bp-checks.h>.
67284         (__new_setrlimit): Do not use CHECK_1.
67285         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67286         <bp-checks.h>.
67287         (__old_shmctl): Do not use CHECK_1.
67288         (__new_shmctl): Likewise.
67289         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
67290         <bp-checks.h>.
67291         (__xstat): Do not use CHECK_1.
67292         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
67293         (__lxstat): Do not use CHECK_1.
67294         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
67295         <bp-checks.h>.
67296         (___lxstat64): Do not use CHECK_1.
67297         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
67298         (__old_msgctl): Do not use CHECK_1.
67299         (__new_msgctl): Likewise.
67300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
67301         <bp-checks.h>.
67302         (__gettimeofday): Do not use CHECK_1.
67303         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
67304         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
67305         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
67306         <bp-checks.h>.
67307         (__gettimeofday): Do not use CHECK_1.
67308         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
67309         (__old_shmctl): Do not use CHECK_1_NULL_OK.
67310         (__new_shmctl): Do not use CHECK_1.
67311         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
67312         <bp-checks.h>.
67313         (do_sigtimedwait): Do not use CHECK_1.
67314         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
67315         <bp-checks.h>.
67316         (do_sigwaitinfo): Do not use CHECK_1.
67317         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
67318         <bp-checks.h>.
67319         (msgctl): Do not use CHECK_1.
67320         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
67321         <bp-checks.h>.
67322         (shmctl): Do not use CHECK_1.
67323         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
67324         (ustat): Do not use CHECK_1.
67325         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
67326         <bp-checks.h>.
67327         (__fxstat): Do not use CHECK_1.
67328         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
67329         <bp-checks.h>.
67330         (__fxstatat): Do not use CHECK_1.
67331         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
67332         <bp-checks.h>.
67333         (__lxstat): Do not use CHECK_1.
67334         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
67335         <bp-checks.h>.
67336         (__xstat): Do not use CHECK_1.
67337         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
67338         (__xstat): Do not use CHECK_1.
67339         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
67340         (___xstat64): Do not use CHECK_1.
67342         [BZ #13550]
67343         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
67344         definitions.
67345         (CHECK_BOUNDS_HIGH): Likewise.
67346         * string/strcpy.c: Do not include <bp-checks.h>.
67347         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
67349 2013-02-07  Roland McGrath  <roland@hack.frob.com>
67351         * nscd/nscd-client.h (__nscd_drop_map_ref):
67352         Add __attribute__ ((unused)).
67353         * nis/nss-nisplus.h (niserr2nss): Likewise.
67355         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
67356         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
67358         * csu/libc-tls.c (init_static_tls, init_slotinfo):
67359         Remove inline keyword.
67360         * include/rounding-mode.h (round_away): Likewise.
67361         * libio/wfileops.c (adjust_wide_data): Likewise.
67362         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
67363         (__m128i_strloadu_tolower): Likewise.
67364         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
67365         (__m128i_strloadu_tolower): Likewise.
67366         * time/mktime.c (ydhms_diff): Likewise.
67367         * locale/elem-hash.h (elem_hash): Likewise.
67368         * locale/setlocale.c (setdata): Likewise.
67369         * posix/regex_internal.h (re_string_char_size_at): Likewise.
67370         (re_string_wchar_at): Likewise.
67371         (bitset_not, bitset_merge, bitset_mask): Likewise.
67372         [!(__GNUC__ > 3)] (inline): Remove macro.
67373         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
67374         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
67375         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
67376         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
67377         * string/memcmp.c (memcmp_bytes): Likewise.
67378         * locale/programs/locarchive.c (compute_hashval): Likewise.
67379         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
67380         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
67381         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
67382         * nss/getent.c (print_rpc, print_protocols): Likewise.
67383         (print_passwd, print_group, print_aliases): Likewise.
67384         * nis/nss-nisplus.h (niserr2nss): Likewise.
67385         * nscd/connections.c (restart_p): Likewise.
67386         Change return type to bool.
67388 2013-02-05  Roland McGrath  <roland@hack.frob.com>
67390         * Makeconfig (all-Depend-files): Add existing
67391         $(sorted-subdirs:=/Depend) files.
67392         (all-subdirs): Remove nss.
67393         * sysdeps/unix/inet/Subdirs: Add it here instead.
67394         * hesiod/Depend: New file.
67396         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
67397         instead of calling alloca.
67399         * io/lseek.c (__lseek): Rename to __libc_lseek.
67400         Define __lseek as an alias.
67402         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
67404 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
67406         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
67407         else clause and remove check for non-standard endianness.
67409 2013-02-04  David S. Miller  <davem@davemloft.net>
67411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67413 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
67415         [BZ #13550]
67416         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
67417         (__ubp_memchr): Remove prototype.
67418         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
67419         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67420         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
67421         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
67422         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
67423         Remove alias.
67424         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
67425         (__ubp_memchr): Likewise.
67426         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
67427         (__ubp_memchr): Likewise.
67428         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
67429         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
67430         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
67431         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
67432         CHECK_STRING.
67433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
67434         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
67435         (__getcwd): Do not use CHECK_STRING.
67436         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67437         <bp-checks.h>.
67438         (__real_chown): Do not use CHECK_STRING.
67439         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
67440         <bp-checks.h>.
67441         (fchownat): Do not use CHECK_STRING.
67442         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
67443         CHECK_STRING.
67444         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67445         <bp-checks.h>.
67446         (__lchown): Do not use CHECK_STRING.
67447         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67448         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67450         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
67451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67452         include <bp-checks.h>.
67453         (truncate64): Do not use CHECK_STRING.
67454         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67455         <bp-checks.h>.
67456         (__real_chown): Do not use CHECK_STRING.
67457         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67458         <bp-checks.h>.
67459         (__lchown): Do not use CHECK_STRING.
67460         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67461         <bp-checks.h>.
67462         (__chown): Do not use CHECK_STRING.
67463         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
67464         <bp-checks.h>.
67465         (truncate64): Do not use CHECK_STRING.
67466         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
67467         Likewise.
67468         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
67469         (__xmknod): Do not use CHECK_STRING.
67470         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
67471         <bp-checks.h>.
67472         (__xmknodat): Do not use CHECK_STRING.
67473         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67474         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
67476 2013-02-04  Andreas Schwab  <schwab@suse.de>
67478         [BZ #14142]
67479         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
67480         * include/netdb.h: Likewise for h_errno.
67481         * elf/tst-stackguard1.c: Include <tls.h>.
67483 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
67485         * elf/link.h (struct link_map): Extend the l_addr comment.
67486         * include/link.h (struct link_map): Likewise.
67488 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
67490         [BZ #13550]
67491         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
67492         (BOUNDED_1): Remove macro.
67493         * debug/backtrace.c: Don't include <bp-checks.h>.
67494         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
67495         (__backtrace): Likewise.
67496         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
67497         <bp-checks.h>.
67498         (__backtrace): Don't use BOUNDED_1.
67499         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
67500         <bp-checks.h>.
67501         (__backtrace): Don't use BOUNDED_1.
67502         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
67503         (__backtrace): Don't use BOUNDED_1.
67504         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
67505         (shmat): Don't use BOUNDED_N.
67507 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
67509         [BZ #13550]
67510         * sysdeps/generic/bp-start.h: Remove file.
67511         * csu/libc-start.c: Don't include <bp-start.h>.
67512         (LIBC_START_MAIN): Set up __environ directly instead of using
67513         INIT_ARGV_and_ENVIRON.
67514         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
67515         <bp-start.h>.
67517         [BZ #13550]
67518         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
67519         definitions.
67520         (CHECK_FCNTL): Likewise.
67521         (CHECK_N_PAGES): Likewise.
67523         [BZ #13550]
67524         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
67525         definitions.
67526         (CHECK_SIGSET_NULL_OK): Likewise.
67527         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
67528         <bp-checks.h>.
67529         (sigpending): Don't use CHECK_SIGSET.
67530         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
67531         <bp-checks.h>.
67532         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67533         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
67534         <bp-checks.h>.
67535         (do_sigsuspend): Don't use CHECK_SIGSET.
67536         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
67537         use CHECK_SIGSET.
67538         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
67539         (do_sigwait): Don't use CHECK_SIGSET.
67540         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
67541         use CHECK_SIGSET.
67542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
67543         include <bp-checks.h>.
67544         (sigpending): Don't use CHECK_SIGSET.
67545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
67546         include <bp-checks.h>.
67547         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67548         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
67549         <bp-checks.h>.
67550         (sigpending): Don't use CHECK_SIGSET.
67551         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
67552         <bp-checks.h>.
67553         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67555         [BZ #13550]
67556         * sysdeps/generic/bp-semctl.h: Remove file.
67557         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
67558         <bp-checks.h> and <bp-semctl.h>.
67559         (__old_semctl): Don't use CHECK_SEMCTL.
67560         (__new_semctl): Likewise.
67561         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
67562         and <bp-semctl.h>.
67563         (__old_semctl): Don't use CHECK_SEMCTL.
67564         (__new_semctl): Likewise.
67565         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
67566         <bp-checks.h> and <bp-semctl.h>.
67567         (__old_semctl): Don't use CHECK_SEMCTL.
67568         (__new_semctl): Likewise.
67569         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
67570         <bp-checks.h> and <bp-semctl.h>.
67571         (semctl): Don't use CHECK_SEMCTL.
67573         [BZ #13550]
67574         * Makerules (elide-bp-thunks): Remove variable.
67575         (elide-routines.oS): Don't use $(elide-bp-thunks).
67576         (elide-routines.os): Likewise.
67577         (elide-routines.o): Likewise.
67578         (elide-routines.op): Likewise.
67579         (elide-routines.og): Likewise.
67580         (objects): Don't use $(bp-thunks).
67581         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
67582         include.
67583         (common-generated): Do not add s-proto-bp.d.
67584         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
67585         (int): Likewise.
67586         (typ): Likewise.
67587         Do not generate makefile rules for bounded-pointer thunks.
67588         * sysdeps/generic/bp-thunks.h: Remove file.
67589         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
67590         * sysdeps/unix/s-proto-bp.S: Likewise.
67592         [BZ #15062]
67593         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
67594         parts of result separately when argument is not close to line from
67595         -i to i and one part of argument is small.
67596         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67597         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67598         * math/libm-test.inc (cacos_test): Add more tests.
67599         (casin_test): Likewise.
67600         (casinh_test): Likewise.
67601         * sysdeps/i386/fpu/libm-test-ulps: Update.
67602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67604 2013-01-31  David S. Miller  <davem@davemloft.net>
67606         * po/de.po: Update from translation team.
67608 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
67610         * time/tzfile.c: Include stdint.h for SIZE_MAX.
67612 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
67614         * configure.in (_AC_PROG_CC_C89): New definition.
67615         * configure: Regenerate.
67617         * configure.in (AC_PROG_CPP): New definition.
67618         * configure: Regenerate.
67620 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67622         * debug/tst-backtrace.h: New file.
67623         * debug/tst-backtrace2.c: Include tst-backtrace.h.
67624         (ret): Remove variable.
67625         (x): Likewise.
67626         (FAIL): Remove macro.
67627         (NO_INLINE): Likewise.
67628         (fn1): Use match function instead of strstr.
67629         * debug/tst-backtrace3.c: Include tst-backtrace.h.
67630         (ret): Remove variable.
67631         (x): Likewise.
67632         (FAIL): Remove macro.
67633         (NO_INLINE): Likewise.
67634         (fn): Use match function instead of strstr.
67635         * debug/tst-backtrace4.c: Include tst-backtrace.h.
67636         (ret): Remove variable.
67637         (x): Likewise.
67638         (FAIL): Remove macro.
67639         (NO_INLINE): Likewise.
67640         (handle_signal): Use match function instead of strstr.
67641         * debug/tst-backtrace5.c: Include tst-backtrace.h.
67642         (ret): Remove variable.
67643         (x): Likewise.
67644         (FAIL): Remove macro.
67645         (NO_INLINE): Likewise.
67646         (handle_signal): Use match function instead of strstr.
67648 2013-01-23  Roland McGrath  <roland@hack.frob.com>
67650         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
67652 2013-01-23  David S. Miller  <davem@davemloft.net>
67654         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
67655         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
67656         argument of CAS if possible.
67657         * sysdeps/sparc/sparc64/bits/atomic.h
67658         (__arch_compare_and_exchange_val_32_acq): Likewise.
67659         (__arch_compare_and_exchange_val_64_acq): Likewise.
67661 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
67663         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
67664         * sysdeps/posix/ulimit.c: ... this.
67665         Include <limits.h>.
67666         * sysdeps/unix/bsd/ulimit.c: Remove file.
67668 2013-01-23  Adam Conrad  <adconrad@0c3.net>
67670         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
67671         (LDFLAGS-tst-array5): Likewise.
67673 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
67675         [BZ #15036]
67676         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
67677         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
67678         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
67679         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
67681 2013-01-21  David S. Miller  <davem@davemloft.net>
67683         * sysdeps/sparc/backtrace.c: New file.
67684         * sysdeps/sparc/sparc32/backtrace.h: New file.
67685         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
67686         * sysdeps/sparc/sparc64/backtrace.h: New file.
67687         * sysdeps/sparc/sparc64/backtrace.c: Delete.
67688         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
67689         -funwind-tables.
67691 2013-01-21  Andreas Schwab  <schwab@suse.de>
67693         [BZ #15020]
67694         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
67695         closed its stdout.
67697 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
67699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
67700         "mpa2.h".
67701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67703 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
67704             Mark Mitchell  <mark@codesourcery.com>
67705             Tom de Vries  <tom@codesourcery.com>
67706             Paul Pluzhnikov  <ppluzhnikov@google.com>
67708         * debug/tst-backtrace2.c: New file.
67709         * debug/tst-backtrace3.c: Likewise.
67710         * debug/tst-backtrace4.c: Likewise.
67711         * debug/tst-backtrace5.c: Likewise.
67712         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
67713         (CFLAGS-tst-backtrace3.c): Likewise.
67714         (CFLAGS-tst-backtrace4.c): Likewise.
67715         (CFLAGS-tst-backtrace5.c): Likewise.
67716         (LDFLAGS-tst-backtrace2): Likewise.
67717         (LDFLAGS-tst-backtrace3): Likewise.
67718         (LDFLAGS-tst-backtrace4): Likewise.
67719         (LDFLAGS-tst-backtrace5): Likewise.
67720         (tests): Add new tests tst-backtrace2, tst-backtrace3,
67721         tst-backtrace4 and tst-backtrace5.
67723 2013-01-18  Anton Blanchard  <anton@samba.org>
67724             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67726         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
67727         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
67728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
67729         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
67730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67731         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
67732         "+r" and remove output regs list as redundant.  Add explicit inline
67733         asm to specify register of return val to work around compiler codegen
67734         bug.  Remove (int) cast on return value.  Add return type parameter to
67735         use in macro so that this macro does not truncate return value for
67736         64-bit values.
67737         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
67738         pass to INTERNAL_VSYSCALL_NCS.
67739         (INLINE_VSYSCALL): Add 'long int' as return type to
67740         INTERNAL_VSYSCALL_NCS macro invocation.
67741         (INTERNAL_VSYSCALL): Add 'long int' as return type to
67742         INTERNAL_VSYSCALL_NCS macro invocation.
67743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67745 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67747         [BZ #14496]
67748         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
67749         Fix application of SIMD FP exception mask.
67751         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
67752         mp_no from a power of two.
67753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
67754         __mpexp_twomm1.  Use __pow_mp.
67756         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
67757         multiplication.
67759 2013-01-17  David S. Miller  <davem@davemloft.net>
67761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67763 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67765         [BZ #15023]
67766         * include/complex.h: Condition contents on [!_COMPLEX_H].
67767         (__kernel_casinhf): New prototype.
67768         (__kernel_casinh): Likewise.
67769         (__kernel_casinhl): Likewise.
67770         * math/Makefile (libm_calls): Add k_casinh.
67771         * math/k_casinh.c: New file.
67772         * math/k_casinhf.c: Likewise.
67773         * math/k_casinhl.c: Likewise.
67774         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
67775         finite nonzero arguments.
67776         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
67777         finite nonzero arguments.
67778         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
67779         finite nonzero arguments.
67780         * math/s_casinh.c: Do not include <float.h>.
67781         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
67782         * math/s_casinhf.c: Do not include <float.h>.
67783         (__casinhf): Move code for finite nonzero arguments to
67784         k_casinhf.c.
67785         * math/s_casinhl.c: Do not include <float.h>.
67786         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
67787         redefine.
67788         (__casinhl): Move code for finite nonzero arguments to
67789         k_casinhl.c.
67790         * math/libm-test.inc (cacos_test): Add more tests.
67791         * sysdeps/i386/fpu/libm-test-ulps: Update.
67792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67794 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
67796         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
67797         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
67798         [!HAVE_MREMAP]: Remove [defined linux] case.
67799         * malloc/arena.c: Do not include <malloc-sysdep.h>.
67801 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67803         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
67805 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
67807         * elf/elf.h (R_386_SIZE32): New relocation.
67808         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
67809         R_386_SIZE32.
67810         (elf_machine_rela): Likewise.
67811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67812         R_X86_64_SIZE64 and R_X86_64_SIZE32.
67814 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
67816         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
67817         (FP_FAST_FMA): Do not define.
67818         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
67819         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
67820         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
67821         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
67822         !_SOFT_FLOAT]: Likewise.
67823         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
67824         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
67825         value.
67826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
67827         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
67828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
67829         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
67830         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
67831         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
67832         file.
67834 2013-01-16  Andreas Schwab  <schwab@suse.de>
67836         [BZ #14327]
67837         * include/stdlib.h (__mktemp): Add declaration.
67838         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
67839         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
67841 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67843         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
67844         definitions.
67845         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67846         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
67847         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
67848         definitions here.
67849         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
67850         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
67851         definitions.
67852         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
67853         and ONE.
67854         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
67855         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
67856         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
67857         definitions.
67858         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
67859         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
67860         definitions.
67861         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67863         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
67865 2013-01-15  David S. Miller  <davem@davemloft.net>
67867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67868         trunc{,f} to libm-sysdep_routes.
67869         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
67871         file.
67872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
67873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
67874         file.
67875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
67876         file.
67877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
67878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
67879         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
67880         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
67881         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
67882         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
67883         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
67884         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
67886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67887         nearbyint{,f} to libm-sysdep_routes.
67888         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
67890         New file.
67891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
67892         file.
67893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
67894         New file.
67895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
67896         file.
67897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
67898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
67899         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
67900         file.
67901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
67902         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
67903         file.
67904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
67905         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
67906         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
67908         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
67909         libc_feholdexcept and libc_fesetenv.
67911 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
67913         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
67915 2013-01-14  David S. Miller  <davem@davemloft.net>
67917         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
67918         (SPARC_ASM_VIS2_IFUNC): Likewise.
67919         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
67920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
67921         use of 'siam' instruction.
67922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
67923         Likewise.
67924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
67925         Likewise.
67926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
67927         Likewise.
67928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
67929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
67930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
67931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
67932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
67933         file.
67934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
67935         file.
67936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
67937         file.
67938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
67939         file.
67940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
67941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
67942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
67943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
67944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
67945         new VIS2 routines.
67946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67949         Likewise.
67950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
67955         routines to libm-sysdep_routines.
67956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
67958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
67959         fdim/fdimf to libm-sysdep_routines.
67960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
67961         file.
67962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
67963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
67964         file.
67965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
67966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
67967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
67968         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
67969         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
67970         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
67971         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
67973 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
67976         to optimize copies.
67978         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
67979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
67983         local variable MPTWO.
67984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67985         Likewise.
67987 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67989         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
67990         GLOB_NOESCAPE.
67992 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67994         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
67996 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
67998         * manual/pattern.texi (glob_t): Document gl_flags.
67999         (glob64_t): Likewise.
68001 2013-01-11  David S. Miller  <davem@davemloft.net>
68003         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68004         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68005         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68006         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68007         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68008         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68009         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68010         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68011         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68012         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68013         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68014         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68017         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68018         sparc V9 rather than using V8 code.
68019         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68020         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68022         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68023         Move to...
68024         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68025         Here.
68027 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68029         [BZ #14941]
68030         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68031         not in the main loop.
68032         * configure: Regenerated.
68034 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68036         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68037         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68038         to just #else.
68039         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68040         [!__GLIBC_HAVE_LONG_LONG] case.
68041         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68042         condition to just #else.
68043         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68044         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68045         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68046         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68047         unconditional.
68048         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68049         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68050         #elif condition to just #else.
68051         * sysdeps/unix/sysv/linux/sys/sysmacros.h
68052         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
68053         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
68054         #elif condition to just #else.
68056 2013-01-11  Steve Ellcey  <sellcey@mips.com>
68058         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
68059         (EF_MIPS_ARCH_64): Fix value.
68060         (EF_MIPS_ARCH_32R2): New.
68061         (EF_MIPS_ARCH_64R2): New.
68063 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
68065         * Makeconfig (+link-pie-before-libc): New.
68066         (+link-pie-after-libc): Likewise.
68067         (+link-pie-tests): Likewise.
68068         (+link-pie): Rewritten.
68069         (link-before-libc): Remove $(config-LDFLAGS).
68070         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
68071         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
68072         (config-LDFLAGS): Renamed to ...
68073         (rtld-LDFLAGS): This.
68074         (rtld-tests-LDFLAGS): New macro.
68075         (link-libc-rpath-link): Likewise.
68076         (link-libc-tests-rpath-link): Likewise.
68077         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
68078         (link-libc): Prepand $(link-libc-rpath-link).
68079         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
68080         (test-program-prefix): New macro.
68081         (test-via-rtld-prefix): Likewise.
68082         (test-program-cmd): Likewise.
68083         (host-test-program-cmd): Likewise.
68084         * Makefile ($(common-objpfx)testrun.sh): Replace
68085         $(run-program-prefix) with $(test-program-prefix).
68086         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
68087         $(rtld-LDFLAGS).
68088         ($(common-objpfx)shlib.lds): Likewise.
68089         (build-module-helper): Likewise.
68090         ($(common-objpfx)format.lds): Likewise.
68091         * Rules (binaries-pie-tests): New.
68092         (binaries-pie-notests): Likewise.
68093         (binaries-pie): Rewritten.
68094         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
68095         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
68096         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
68097         (make-test-out): Replace $(host-built-program-cmd) with
68098         $(host-test-program-cmd).
68099         * config.make.in (build-hardcoded-path-in-tests): New variable.
68100         * configure.in (--enable-hardcoded-path-in-tests): New configure
68101         option.
68102         (hardcoded_path_in_tests): New AC_SUBST.
68103         * configure: Regenerated.
68104         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
68105         $(built-program-cmd) with $(test-program-cmd).
68106         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
68107         (test_program_cmd): This.
68108         * elf/Makefile ($(objpfx)order.out): Run test with
68109         $(test-program-prefix).
68110         ($(objpfx)order2.out): Likewise.
68111         ($(objpfx)tst-initorder.out): Likewise.
68112         ($(objpfx)tst-initorder2.out): Likewise.
68113         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
68114         $(test-program-cmd).
68115         ($(objpfx)tst-array1-static.out): Likewise.
68116         ($(objpfx)tst-array2.out): Likewise.
68117         ($(objpfx)tst-array3.out): Likewise.
68118         ($(objpfx)tst-array4.out): Likewise.
68119         ($(objpfx)tst-array5.out): Likewise.
68120         ($(objpfx)tst-array5-static.out): Likewise.
68121         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
68122         $(test-program-cmd).
68123         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
68124         $(run-program-prefix) with $(test-program-prefix).
68125         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
68126         (test_program_prefix): This.
68127         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
68128         $(run-program-prefix) with $(test-program-prefix).
68129         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
68130         (test_program_prefix): This.
68131         * iconvdata/tst-tables.sh: Likewise.
68132         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
68133         $(run-program-prefix) with $(test-program-prefix).
68134         ($(objpfx)tst-translit.out): Likewise.
68135         ($(objpfx)tst-gettext2.out): Likewise.
68136         ($(objpfx)tst-gettext4.out): Likewise.
68137         ($(objpfx)tst-gettext6.out): Likewise.
68138         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
68139         (test_program_prefix): This.
68140         * intl/tst-gettext2.sh: Likewise.
68141         * intl/tst-gettext4.sh  Likewise.
68142         * intl/tst-gettext6.sh: Likewise.
68143         * intl/tst-translit.sh: Likewise.
68144         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
68145         with $(test-program-cmd).
68146         * libio/Makefile ($(objpfx)test-freopen.out): Replace
68147         $(run-program-prefix) with $(test-program-prefix).
68148         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
68149         (test_program_prefix): This.
68150         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
68151         $(run-program-prefix) with $(test-program-prefix).
68152         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
68153         (test_program_prefix): This.
68154         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
68155         * posix/Makefile ($(objpfx)globtest.out): Replace
68156         $(run-via-rtld-prefix) and $(test-wrapper) with
68157         $(test-program-prefix) and $(test-via-rtld-prefix).
68158         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
68159         $(test-program-prefix).
68160         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
68161         $(host-test-program-cmd).
68162         (tst-spawn-ARGS): Likewise.
68163         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
68164         $(test-program-prefix).
68165         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
68166         (test_via_rtld_prefix): This.
68167         (test_wrapper): Renamed to ...
68168         (test_program_prefix): This.
68169         (run_program_prefix): Replaced by test_program_prefix.
68170         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
68171         (test_program_prefix): This.
68172         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
68173         with $(host-test-program-cmd).
68174         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
68175         $(run-program-prefix) with $(test-program-prefix).
68176         ($(objpfx)tst-printf.out): Likewise.
68177         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
68178         $(test-program-cmd).
68179         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
68180         (test_program_prefix): This.
68181         * stdio-common/tst-unbputc.sh: Likewise.
68182         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
68183         $(run-program-prefix) with $(test-program-prefix).
68184         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
68185         (test_program_prefix): This.
68186         * string/Makefile ($(objpfx)tst-svc.out):  Replace
68187         $(built-program-cmd) with $(test-program-cmd).
68189 2013-01-11  Andreas Jaeger  <aj@suse.de>
68191         [BZ #15003]
68192         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
68193         value. Sync with Linux 3.7.
68195 2013-01-10  David S. Miller  <davem@davemloft.net>
68197         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
68198         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68199         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68201 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68203         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
68204         never set.
68205         * configure: Regenerated.
68207 2013-01-10  David S. Miller  <davem@davemloft.net>
68209         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68210         sparc V9 rather than using V8 code.
68211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68214 2013-01-10  Roland McGrath  <roland@hack.frob.com>
68216         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
68217         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
68218         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
68219         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
68220         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
68221         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
68222         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
68223         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
68224         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
68225         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
68226         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
68227         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
68228         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
68229         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
68230         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
68231         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
68232         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
68233         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
68234         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
68235         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
68236         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
68237         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
68238         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
68239         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
68240         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
68241         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
68242         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
68244 2013-01-10  David S. Miller  <davem@davemloft.net>
68246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68248 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68250         * posix/Makefile (tests-static): New variable.
68251         (tests): Add $(tests-static).
68252         (tst-exec-static-ARGS): New variable.
68253         (tst-spawn-static-ARGS): Likewise.
68254         * posix/tst-exec-static.c: New file.
68255         * posix/tst-spawn-static.c: Likewise.
68256         * posix/tst-exec.c: Support run directly.
68257         * posix/tst-spawn.c: Likewise.
68259 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
68261         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
68262         long.
68263         * math/bits/mathcalls.h (llrint): Likewise.
68264         (llround): Likewise.
68265         * stdlib/stdlib.h (struct drand48_data): Likewise.
68266         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
68267         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
68268         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
68269         Likewise.
68270         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
68271         Likewise.
68272         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
68273         (elf_greg_t): Likewise.
68274         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
68275         (__jmp_buf): Likewise.
68276         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
68277         definitions.
68278         (llrint): Likewise, for all definitions.
68279         (llrintl): Likewise.
68281         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
68282         Remove [__GNUC__] condition.
68283         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
68284         condition to just [__USE_ISOC99].
68285         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
68287 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
68289         [BZ #14200]
68290         * sysdeps/unix/sysv/linux/x86/bits/environments.h
68291         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
68292         defined.
68293         (_POSIX_V6_ILP32_OFF32): Likewise.
68294         (_XBS5_ILP32_OFF32): Likewise.
68295         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
68296         (__ILP32_OFFBIG_LDFLAGS): Likewise.
68298 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68300         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
68302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
68303         doubles __mpexp_twomm1.  Adjust usage.
68304         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
68305         Remove.
68307 2013-01-10  Andreas Schwab  <schwab@suse.de>
68309         [BZ #14964]
68310         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
68311         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
68313 2013-01-09  David S. Miller  <davem@davemloft.net>
68315         [BZ #15003]
68316         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
68317         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
68318         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
68319         (TCP_FASTOPEN): Define.
68320         (tcp_repair_opt): New structure.
68321         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
68322         enum values.
68323         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
68324         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
68325         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
68326         (tcp_cookie_transactions): New structure.
68328 2013-01-09  Anton Blanchard  <anton@samba.org>
68330         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
68331         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
68332         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
68333         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
68335 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
68337         * include/features.h (__USE_ANSI): Remove.
68339 2013-01-09  Roland McGrath  <roland@hack.frob.com>
68341         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
68343         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
68345 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
68347         * sysdeps/s390/fpu/libm-test-ulps: Update.
68349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68351         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
68352         (__acr): Likewise.
68353         (__cpy): Likewise.
68354         (norm): Likewise.
68355         (denorm): Likewise.
68356         (__mp_dbl): Likewise.
68357         (__dbl_mp): Likewise.
68358         (add_magnitudes): Likewise.
68359         (sub_magnitudes): Likewise.
68360         (__add): Likewise.
68361         (__sub): Likewise.
68362         (__mul): Likewise.
68363         (__inv): Likewise.
68364         (__dvd): Likewise.
68365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
68366         (__acr): Likewise.
68367         (__cpy): Likewise.
68368         (norm): Likewise.
68369         (denorm): Likewise.
68370         (__mp_dbl): Likewise.
68371         (__dbl_mp): Likewise.
68372         (add_magnitudes): Likewise.
68373         (sub_magnitudes): Likewise.
68374         (__add): Likewise.
68375         (__sub): Likewise.
68376         (__mul): Likewise.
68377         (__inv): Likewise.
68378         (__dvd): Likewise.
68379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
68380         (__acr): Likewise.
68381         (__cpy): Likewise.
68382         (norm): Likewise.
68383         (denorm): Likewise.
68384         (__mp_dbl): Likewise.
68385         (__dbl_mp): Likewise.
68386         (add_magnitudes): Likewise.
68387         (sub_magnitudes): Likewise.
68388         (__add): Likewise.
68389         (__sub): Likewise.
68390         (__mul): Likewise.
68391         (__inv): Likewise.
68392         (__dvd): Likewise.
68394 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
68396         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
68397         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
68398         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
68399         2 && __USE_EXTERN_INLINES]: Likewise.
68401 2013-01-08  Andreas Jaeger  <aj@suse.de>
68403         [BZ #14985]
68404         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
68405         Remove.
68406         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68407         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
68409 2013-01-07  Anton Blanchard  <anton@samba.org>
68411         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
68412         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
68413         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
68414         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
68415         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
68416         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68417         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
68418         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68420         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68421         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68422         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68424         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
68425         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
68426         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68427         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68428         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
68429         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
68430         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
68431         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
68432         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
68433         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68434         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
68435         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
68436         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
68437         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68438         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
68439         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
68440         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68441         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
68442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68443         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68444         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
68445         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
68446         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68447         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
68448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68449         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
68450         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
68451         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
68452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68453         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
68455 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
68457         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
68458         (__MALLOC_PMT): Likewise.
68459         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
68460         [__GNUC__], only on [_LIBC].
68461         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68462         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
68463         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
68464         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
68465         forward declaration.
68466         (realloc_hook_ini): Likewise.
68467         (memalign_hook_ini): Likewise.
68468         (__libc_memalign): Do not use __MALLOC_PMT in variable
68469         declaration.
68470         (__libc_valloc): Likewise.
68471         (__libc_pvalloc): Likewise.
68472         (__libc_calloc): Likewise.
68473         (__posix_memalign): Likewise.
68475         [BZ #14996]
68476         * math/s_casinh.c: Include <float.h>.
68477         (__casinh): Do not do computation with squaring and square root
68478         for large arguments.
68479         * math/s_casinhf.c: Include <float.h>.
68480         (__casinhf): Do not do computation with squaring and square root
68481         for large arguments.
68482         * math/s_casinhl.c: Include <float.h>.
68483         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
68484         (__casinhl): Do not do computation with squaring and square root
68485         for large arguments.
68486         * math/libm-test.inc (casin_test): Add more tests.
68487         (casinh_test): Likewise.
68488         * sysdeps/i386/fpu/libm-test-ulps: Update.
68489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68491 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
68493         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
68494         (__x86_64_raw_data_cache_size): Likewise.
68495         (__x86_64_data_cache_size_half): Likewise.
68496         (__x86_64_raw_data_cache_size_half): Likewise.
68497         (__x86_64_shared_cache_size): Likewise.
68498         (__x86_64_raw_shared_cache_size): Likewise.
68499         (__x86_64_shared_cache_size_half): Likewise.
68500         (__x86_64_raw_shared_cache_size_half): Likewise.
68501         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
68502         to ...
68503         (__x86_data_cache_size): This.
68504         (__x86_64_raw_data_cache_size): Renamed to ...
68505         (__x86_raw_data_cache_size): This.
68506         (__x86_64_data_cache_size_half): Renamed to ...
68507         (__x86_data_cache_size_half): This.
68508         (__x86_64_raw_data_cache_size_half): Renamed to ...
68509         (__x86_raw_data_cache_size_half): This.
68510         (__x86_64_shared_cache_size): Renamed to ...
68511         (__x86_shared_cache_size): This.
68512         (__x86_64_raw_shared_cache_size): Renamed to ...
68513         (__x86_raw_shared_cache_size): This.
68514         (__x86_64_shared_cache_size_half): Renamed to ...
68515         (__x86_shared_cache_size_half): This.
68516         (__x86_64_raw_shared_cache_size_half): Renamed to ...
68517         (__x86_raw_shared_cache_size_half): This.
68518         * sysdeps/x86_64/memcpy.S: Updated.
68519         * sysdeps/x86_64/memset.S: Likewise.
68520         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
68521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68522         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68524 2013-01-04  David S. Miller  <davem@davemloft.net>
68526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68528 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
68530         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
68531         1 to avoid redefinition warning.
68532         (__USE_GNU): Don't define.
68533         (init_signaling_nan): Protoize.
68535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68537 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68539         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
68540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
68541         (__cpymn): Likewise.
68542         (norm): Remove commented code.
68543         (denorm): Likewise.
68544         (__mp_dbl): Likewise.
68545         (__inv): Likewise.
68546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
68547         (__cpymn): Likewise.
68548         (norm): Remove commented code.
68549         (denorm): Likewise.
68550         (__mp_dbl): Likewise.
68551         (__inv): Likewise.
68553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
68554         mp_no value for 1.0 and 2.0.
68555         (norm): Use RADIXI instead of radixi.d.
68556         (denorm): Likewise.
68557         (__mul): Use 0.0 instead of zero.d.
68558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
68559         mp_no value for 1.0 and 2.0.
68560         (norm): Use RADIXI instead of radixi.d.
68561         (denorm): Likewise.
68562         (__mul): Use 0.0 instead of zero.d.
68564 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
68566         [BZ #14994]
68567         * math/s_casinh.c (__casinh): Reduce finite argument to first
68568         quadrant then set signs of results at the end.
68569         * math/s_casinhf.c (__casinhf): Likewise.
68570         * math/s_casinhl.c (__casinhl): Likewise.
68571         * math/libm-test.inc (casin_test): Add more tests.
68572         (casinh_test): Likewise.
68573         * sysdeps/i386/fpu/libm-test-ulps: Update.
68574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68576 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68578         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
68580         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
68582         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
68583         declarations.
68584         (denorm): Likewise.
68585         (__mp_dbl): Likewise.
68586         (__inv): Likewise.
68588         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
68589         and adjust the header comment.
68591         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
68592         variable name from declaration.
68594 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
68596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68597         Initialize COMMON_CPUID_INDEX_7 element.
68598         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
68599         (CPUID_RTM): Likewise.
68600         (HAS_RTM): Likewise.
68601         (COMMON_CPUID_INDEX_7): New enum.
68603 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
68605         [BZ #14981]
68606         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
68607         size is zero, record memory as freed.
68609 2013-01-03  Andreas Jaeger  <aj@suse.de>
68611         * po/ia.po: Add new Interlingua translation.
68613 2012-01-03  Allan McRae  <allan@archlinux.org>
68615         * locale/programs/localedef.c: Fix description of '--posix' flag.
68617 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
68619         * NEWS: Update dates in second copyright notice.
68620         * README: Update copyright dates in example.
68621         * manual/libc.texinfo: Update copyright dates.
68622         * scripts/test-installation.pl: Update copyright date in --version
68623         output.
68625         * hurd/ctty-input.c: Fix copyright notice formatting.
68626         * hurd/ctty-output.c: Likewise.
68627         * hurd/dtable.c: Likewise.
68628         * hurd/hurd-raise.c: Likewise.
68629         * hurd/hurdprio.c: Likewise.
68630         * hurd/msgportdemux.c: Likewise.
68631         * misc/sys/file.h: Likewise.
68632         * misc/sys/ioctl.h: Likewise.
68633         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
68634         * sysdeps/mach/hurd/chdir.c: Likewise.
68635         * sysdeps/mach/hurd/fchdir.c: Likewise.
68636         * sysdeps/mach/hurd/rename.c: Likewise.
68637         * sysdeps/mach/hurd/rmdir.c: Likewise.
68638         * sysdeps/mach/hurd/seekdir.c: Likewise.
68639         * sysdeps/mach/hurd/setsid.c: Likewise.
68640         * sysdeps/posix/wait3.c: Likewise.
68642         * All files with FSF copyright notices: Update copyright dates
68643         using scripts/update-copyrights.
68644         * intl/plural.c: Regenerated.
68645         * locale/programs/charmap-kw.h: Likewise.
68646         * locale/programs/locfile-kw.h: Likewise.
68648 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68650         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
68651         four values.
68653         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
68654         calculation loop and add branch prediction.
68656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
68657         check access beyond bounds of m1np.
68659         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68660         MPTWO.
68661         (__inv): Remove local variable MPTWO to use the global
68662         constant.
68663         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
68664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68665         variable MPTWO.
68666         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
68667         MP3HALFS static const.
68669 2013-01-01  David S. Miller  <davem@davemloft.net>
68671         * po/ca.po: Update from translation team.
68673 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
68675         * scripts/update-copyrights: New file.
68676         * Makeconfig: Reformat copyright notice.
68677         * ctype/ctype.h: Likewise.
68678         * debug/swprintf_chk.c: Likewise.
68679         * elf/dl-cache.c: Likewise.
68680         * elf/dl-debug.c: Likewise.
68681         * elf/dl-object.c: Likewise.
68682         * grp/initgroups.c: Likewise.
68683         * hurd/Makefile: Likewise.
68684         * hurd/hurd/signal.h: Likewise.
68685         * hurd/hurdfault.c: Likewise.
68686         * hurd/hurdioctl.c: Likewise.
68687         * hurd/hurdlookup.c: Likewise.
68688         * hurd/intr-msg.c: Likewise.
68689         * iconv/gconv_open.c: Likewise.
68690         * libio/swprintf.c: Likewise.
68691         * locale/lc-ctype.c: Likewise.
68692         * locale/nl_langinfo.c: Likewise.
68693         * mach/Machrules: Likewise.
68694         * mach/Makefile: Likewise.
68695         * malloc/obstack.h: Likewise.
68696         * manual/Makefile: Likewise.
68697         * manual/tsort.awk: Likewise.
68698         * misc/bits/stab.def: Likewise.
68699         * nis/nis_print_group_entry.c: Likewise.
68700         * nis/nis_table.c: Likewise.
68701         * nis/nss_compat/compat-pwd.c: Likewise.
68702         * nis/nss_compat/compat-spwd.c: Likewise.
68703         * po/Makefile: Likewise.
68704         * posix/fnmatch.c: Likewise.
68705         * posix/regex.h: Likewise.
68706         * resolv/Makefile: Likewise.
68707         * resolv/nss_dns/dns-network.c: Likewise.
68708         * resolv/res_hconf.c: Likewise.
68709         * scripts/gen-sorted.awk: Likewise.
68710         * soft-fp/soft-fp.h: Likewise.
68711         * stdio-common/printf.h: Likewise.
68712         * stdlib/monetary.h: Likewise.
68713         * stdlib/random.c: Likewise.
68714         * stdlib/random_r.c: Likewise.
68715         * sysdeps/generic/Makefile: Likewise.
68716         * sysdeps/gnu/Makefile: Likewise.
68717         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68719         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68721         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68724         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68725         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68726         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68727         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68728         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68729         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68730         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68731         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
68732         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68733         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68735         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68736         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68737         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68738         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68739         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68740         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
68741         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
68745         * sysdeps/mach/hurd/errnos.awk: Likewise.
68746         * sysdeps/mach/hurd/fork.c: Likewise.
68747         * sysdeps/mach/hurd/getcwd.c: Likewise.
68748         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
68749         * sysdeps/mach/hurd/mmap.c: Likewise.
68750         * sysdeps/mach/hurd/utimes.c: Likewise.
68751         * sysdeps/mach/hurd/xmknod.c: Likewise.
68752         * sysdeps/posix/profil.c: Likewise.
68753         * sysdeps/posix/readdir_r.c: Likewise.
68754         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68755         * sysdeps/powerpc/bits/setjmp.h: Likewise.
68756         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
68757         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
68758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68759         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68760         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68761         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68763         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68764         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68765         * sysdeps/pthread/lio_listio.c: Likewise.
68766         * sysdeps/sparc/dl-procinfo.h: Likewise.
68767         * sysdeps/unix/i386/sysdep.S: Likewise.
68768         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
68769         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
68770         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
68771         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
68772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68773         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
68774         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
68775         * sysdeps/unix/sysv/linux/speed.c: Likewise.
68776         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
68777         * sysdeps/wordsize-32/divdi3.c: Likewise.
68778         * time/sys/time.h: Likewise.
68779         * wcsmbs/Makefile: Likewise.
68781 2013-01-01  David S. Miller  <davem@davemloft.net>
68783         * po/fr.po: Update from translation team.
68785         * catgets/gencat.c: Update copyright year.
68786         * csu/version.c: Likewise.
68787         * debug/catchsegv.sh: Likewise.
68788         * debug/pcprofiledump.c: Likewise.
68789         * debug/xtrace.sh: Likewise.
68790         * elf/ldconfig.c: Likewise.
68791         * elf/ldd.bash.in: Likewise.
68792         * elf/pldd.c: Likewise.
68793         * elf/sotruss.ksh: Likewise.
68794         * elf/sprof.c: Likewise.
68795         * iconv/iconv_prog.c: Likewise.
68796         * iconv/iconvconfig.c: Likewise.
68797         * locale/programs/locale.c: Likewise.
68798         * locale/programs/localedef.c: Likewise.
68799         * login/programs/pt_chown.c: Likewise.
68800         * malloc/memusage.sh: Likewise.
68801         * malloc/memusagestat.c: Likewise.
68802         * malloc/mtrace.pl: Likewise.
68803         * nscd/nscd.c: Likewise.
68804         * nss/getent.c: Likewise.
68805         * nss/makedb.c: Likewise.
68806         * posix/getconf.c: Likewise.
68808 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68810         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
68811         numbers.
68813 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
68815         * math/bits/mathcalls.h (modf): Use __nonnull.
68817 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68819         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
68820         (split): Use macro CN instead of the bare value.
68821         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
68822         could be used.
68823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
68824         instead of the bare value.
68825         (power1): Likewise.
68827 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68829         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
68830         __ATAN_TWOM.
68831         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68833         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
68834         their values.
68835         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68836         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68837         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
68838         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68840 2012-12-28  Andreas Jaeger  <aj@suse.de>
68842         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
68843         values are from Linux 3.7.
68845         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
68846         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
68848 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68850         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
68851         TRUE case.
68853         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
68854         (norm): Likewise.
68855         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
68856         variables with preprocessor constants.
68857         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68858         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68859         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68861 2012-12-27  Bruno Haible  <bruno@clisp.org>
68863         [BZ #14317]
68864         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
68865         only if needed.
68867 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
68870         and use variable directly.
68871         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
68873         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
68874         MPONE.
68875         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
68876         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
68877         variable MPONE.
68878         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68880         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
68881         include directive.  Remove local variable MPONE.
68882         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
68883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68884         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68886 2012-12-25  David S. Miller  <davem@davemloft.net>
68888         * version.h (RELEASE): Set to "development".
68889         (VERSION): Set to "2.17.90".
68890         * NEWS: Add 2.18 section.
68892 2012-12-21  David S. Miller  <davem@davemloft.net>
68894         * po/hr.po: Update from translation team.
68896 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68898         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
68900 2012-12-19  Steve Ellcey  <sellcey@mips.com>
68902         * NEWS:  Mention new memcpy for MIPS.
68904 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68906         * manual/contrib.texi (Contributors): Spelling correction.
68908 2012-12-15  David S. Miller  <davem@davemloft.net>
68910         * po/ru.po: Update from translation team.
68912 2012-12-13  David S. Miller  <davem@davemloft.net>
68914         * NEWS: Mention IFUNC testsuite enhancements.
68916         * po/pl.po: Update from translation team.
68917         * po/bg.po: Likewise.
68919         * manual/contrib.texi (Contributors): Update entries for Hongjiu
68920         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
68922 2012-12-11  David S. Miller  <davem@davemloft.net>
68924         * po/sv.po: Update from translation team.
68926         * po/vi.po: Update from translation team.
68928         * po/cs.po: Update from translation team.
68930         * po/de.po: Update from translation team.
68931         * po/eo.po: Likewise.
68932         * po/nl.po: Likewise.
68934 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68936         [BZ #14246]
68937         * manual/argp.texi (Argp Helper Functions): Move node to follow
68938         Argp Parsing State.
68940         [BZ #14872]
68941         * manual/conf.texi (Limits on File System Capacity): Mention if
68942         terminating null is included in the max size.
68944 2012-12-10  Andreas Jaeger  <aj@suse.de>
68946         * po/cs.po: Update from translation team.
68948 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68950         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
68951         void pointer and cast to uintptr_t.
68952         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
68953         path.
68954         * sysdeps/s390/s390-64/memcpy.S: Likewise.
68955         * sysdeps/s390/s390-64/memset.S: Likewise.
68957 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
68959         [BZ #14833]
68960         * menual/message.texi (Message Translation): Fix typos.
68961         (Helper programs for gettext): Likewise.
68963 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
68965         [BZ #14898]
68966         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
68967         Change to -1.
68969 2012-12-07  David S. Miller  <davem@davemloft.net>
68971         * po/libc.pot: Update.
68973 2012-12-07  Richard Henderson  <rth@redhat.com>
68975         [BZ #10114]
68976         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
68977         normal/normal case to before the switch.
68978         (_FP_DIV): Likewise.
68980 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
68981             Mike Frysinger  <vapier@gentoo.org>
68983         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
68984         check for __NR_fadvise64_64.
68986 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
68988         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
68989         0, not just to plain "0" as a statement.
68990         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
68991         with cw.
68993 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
68995         * NEWS: Use sourceware.org in Bugzilla URL.
68997 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69000         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69002         * stdio-common/tst-put-error.c (do_test): Add newline to the
69003         padded test to ensure flush.
69005 2012-12-05  Jeff Law  <law@redhat.com>
69007         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69009 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69011         * README: Don't refer to ports add-on as distributed separately.
69012         Mention AArch64 in list of systems supported in the ports add-on.
69014         * LICENSES: Add more non-FSF copyright and license notices.
69016         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69017         ((unused)).
69019         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69021         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69022         10000 as width of padded output.
69024 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69026         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69028         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69029         variable LX with __attribute__ ((unused)).
69030         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69031         Likewise.
69032         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69033         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69034         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69035         with __attribute__ ((unused)).
69037 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69039         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69041 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69043         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69044         (CFLAGS-nldbl-acos.c): New variable.
69045         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69046         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69047         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69048         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69049         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
69050         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
69051         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
69052         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
69053         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
69054         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
69055         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
69056         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
69057         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
69058         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
69059         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
69060         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
69061         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
69062         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
69063         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
69064         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
69065         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
69066         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
69067         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
69068         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
69069         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
69070         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
69071         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
69072         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69073         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
69074         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
69075         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
69076         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
69077         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
69078         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
69079         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
69080         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
69081         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
69082         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
69083         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
69084         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
69085         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
69086         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
69087         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
69088         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
69089         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
69090         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
69091         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
69092         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
69093         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69094         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
69095         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
69096         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
69097         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
69098         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
69099         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
69100         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
69101         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
69102         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
69103         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
69104         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
69105         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
69106         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
69107         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
69108         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
69109         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
69110         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
69111         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
69112         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
69113         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
69114         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
69115         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
69116         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
69117         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
69118         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
69119         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
69120         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
69121         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
69122         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
69123         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
69124         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
69125         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
69126         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
69127         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
69128         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
69129         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
69130         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
69131         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
69132         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
69133         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
69134         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
69135         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
69136         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
69137         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
69138         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
69139         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
69140         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
69141         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
69143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69144         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69146         [BZ #14914]
69147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
69148         whole low double instead of just low 47 bits when splitting values
69149         into two parts.
69151 2012-12-03  Allan McRae  <allan@archlinux.org>
69153         * manual/stdio.texi (Predefined Printf Handlers): Remove
69154         @hsep and @vsep usage.
69156 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
69158         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
69159         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
69161 2012-12-03  Jeff Law  <law@redhat.com>
69163         * time/sys/time.h (settimeofday): Do not mark TV argument
69164         as __nonnull.
69166 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
69168         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
69169         when currently writing and seek to current position when not.
69170         * libio/Makefile (tests): Remove bug-fclose1.
69171         * libio/bug-fclose1.c: Delete.
69173 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
69175         * manual/arith.texi (feenableexcept): Fix typo.
69176         (fedisableexcept): Likewise.
69178 2012-11-30  Roland McGrath  <roland@hack.frob.com>
69180         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
69181         second, differently-typed declaration, rather than a cast.
69183 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69185         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
69186         * include/rpc/svc.h: ... here.
69188 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
69190         [BZ #13013]
69191         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
69192         depending n and resplen2 to catch cases where answer
69193         equals answerp2.
69195 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
69197         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
69198         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
69200 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
69202         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
69204 2012-11-29  Roland McGrath  <roland@hack.frob.com>
69206         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
69208 2012-11-28  Jeff Law  <law@redhat.com>
69210         [BZ #13761]
69211         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
69212         dataset_temporary.  Track alloca usage into alloca_used.
69213         If dataset is large allocate and release it via malloc/free.
69215 2012-06-04  Florian Weimer  <fweimer@redhat.com>
69217         [BZ #14197]
69218         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
69220 2012-11-28  David S. Miller  <davem@davemloft.net>
69222         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69224 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69226         [BZ #14803]
69227         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
69228         of pi/2 rounded to nearest to 64 bits.
69229         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
69230         nearest to 64 bits.
69231         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
69232         bits.
69234 2012-11-28  Jeff Law <law@redhat.com>
69235             Martin Osvald <mosvald@redhat.com>
69237         [BZ #14889]
69238         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
69239         * sunrpc/svc.c: Include time.h.
69240         (__svc_accept_failed): New function.
69241         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
69242         any reason other than EINTR, call __svc_accept_failed.
69243         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
69244         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69246 2012-11-28  Andreas Schwab  <schwab@suse.de>
69248         * scripts/abilist.awk: Also handle indirect functions in .opd
69249         section.
69251 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
69253         [BZ #13881]
69254         * sysdeps/x86/fpu/powl_helper.c: New file.
69255         * sysdeps/x86/fpu/Makefile: Likewise.
69256         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
69257         (p3): New object.
69258         (__ieee754_powl): Use __powl_helper for finite arguments except
69259         integer exponents below 8.
69260         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
69261         (p3): New object.
69262         (__ieee754_powl): Use __powl_helper for finite arguments except
69263         integer exponents below 8.
69264         * math/libm-test.inc (pow_test): Add more tests and enable some
69265         previously disabled tests.
69266         * sysdeps/i386/fpu/libm-test-ulps: Update.
69267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69269 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69270             Carlos O'Donell  <carlos_odonell@mentor.com>
69272         * nss/makedb.c (is_prime): Assert that input is odd and greater
69273         than 4.  Note that fact in a comment too.
69274         (next_prime): Add 4 to input.
69276 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69278         [BZ #11741]
69279         * libio/Makefile (tests): Add test case tst-fwrite-error.
69280         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
69281         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
69282         * libio/tst-fwrite-error.c: New test case.
69284 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
69286         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
69287         before casting to void *.
69288         * include/libc-internal.h (__pointer_type): New macro.
69289         (__integer_if_pointer_type_sub): Likewise.
69290         (__integer_if_pointer_type): Likewise.
69291         (cast_to_integer): Likewise.
69292         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
69293         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
69294         before casting to atomic64_t.
69295         (atomic_exchange_acq): Likewise.
69296         (__arch_exchange_and_add_body): Likewise.
69297         (__arch_add_body): Likewise.
69298         (atomic_add_negative): Likewise.
69299         (atomic_add_zero): Likewise.
69301 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
69303         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
69304         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
69305         (add_fdes): Likewise.
69306         (linear_search_fdes): Likewise.
69307         (binary_search_unencoded_fdes): Likewise.
69309 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
69311         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
69313 2012-11-24  Adam Conrad  <adconrad@0c3.net>
69315         * configure.in: Autodetect C++ header directories.
69316         * configure: Regenerated.
69318 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
69320         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
69322 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
69324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69326 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
69328         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
69329         LDBL_MANT_DIG == 106]: Disable some tests.
69330         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69331         Likewise.
69332         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
69333         Likewise.
69335         [BZ #14871]
69336         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69337         input for small inputs.  Return +/- pi/2 for large inputs.
69338         * math/libm-test.inc (atan_test): Add more tests.
69340         * sysdeps/generic/unwind-dw2-fde-glibc.c
69341         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
69342         __attribute__ ((unused)).
69344         [BZ #14645]
69345         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
69346         x * y if x and y are nonzero and z is zero.
69348         [BZ #14811]
69349         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
69350         nonzero exponents with absolute value below 0x1p-117 to +/-
69351         0x1p-117.
69353         [BZ #14869]
69354         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
69355         up arguments below 2**-450, not just those below 2**-500.
69356         * math/libm-test.inc (hypot_test): Add another test.
69358         [BZ #14868]
69359         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
69360         Return a+b for ratio over 2**120, not 2**60.
69361         * math/libm-test.inc (hypot_test): Add another test.
69363         * math/libm-test.inc (clog_test): Use
69364         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
69365         (clog10_test): Likewise.
69367         [BZ #6778]
69368         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
69370 2012-11-22  Andreas Schwab  <schwab@suse.de>
69372         * sysdeps/i386/fpu/libm-test-ulps: Update.
69374 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
69376         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
69377         printf output with newline.
69379 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
69381         [BZ #14865]
69382         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
69383         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
69384         -z nodlopen, -z initfirst and -z execstack support.
69385         * configure: Regenerated.
69387         * elf/elf.h (DF_1_NODIRECT): New macro.
69388         (DF_1_IGNMULDEF): Likewise.
69389         (DF_1_NOKSYMS): Likewise.
69390         (DF_1_NOHDR): Likewise.
69391         (DF_1_EDITED): Likewise.
69392         (DF_1_NORELOC): Likewise.
69393         (DF_1_SYMINTPOSE): Likewise.
69394         (DF_1_GLOBAUDIT): Likewise.
69395         (DF_1_SINGLETON): Likewise.
69396         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
69397         DT_1_SUPPORTED_MASK bits.
69398         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
69400 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
69402         * sysdeps/unix/make-syscalls.sh: Document prefixes.
69404 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
69406         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
69407         macro.
69409         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69410         (sendmmsg): Move declarations...
69411         * socket/sys/socket.h: ... here.
69412         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
69413         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
69414         include it from...
69415         * socket/recvmmsg.c: ... this new file.
69416         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
69417         (sendmmsg): Rename to __sendmmsg, create weak alias and make
69418         definition of __sendmmsg hidden.
69419         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
69420         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
69421         Move ENOSYS stub into and include it from...
69422         * socket/sendmmsg.c: ... this new file.
69423         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
69424         (sysdep_routines): Move recvmmsg and sendmmsg...
69425         * socket/Makefile (routines): ... here.
69426         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
69427         (GLIBC_PRIVATE): Add __sendmmsg.
69428         * include/sys/socket.h (__sendmmsg): Add declarations.
69429         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
69430         sendmmsg.
69432 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
69434         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
69435         variable I1 with __attribute__ ((unused)).
69436         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69438 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69440         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
69441         DUMMY variables with __attribute__ ((unused)).
69443         * bits/byteswap.h: Include <bits/types.h>.
69444         (__bswap_64): Use __uint64_t instead of unsigned long long int.
69446 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69448         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
69449         string_t.  Do not manually set errno.
69450         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
69451         length with __strnlen.  Make sure to both set errno and return it on
69452         failure.
69454 2012-11-19  David S. Miller  <davem@davemloft.net>
69456         With help from Joseph Myers.
69457         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
69458         very large arguments properly.
69459         * math/libm-test.inc (atan_test): New tests.
69460         (atan2_test): New tests.
69461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69464 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
69466         [BZ #14856]
69467         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
69468         Define to 3.
69470         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
69471         [POSIX] (EADDRNOTAVAIL): Likewise.
69472         [POSIX] (EAFNOSUPPORT): Likewise.
69473         [POSIX] (EALREADY): Likewise.
69474         [POSIX] (ECONNABORTED): Likewise.
69475         [POSIX] (ECONNREFUSED): Likewise.
69476         [POSIX] (ECONNRESET): Likewise.
69477         [POSIX] (EDESTADDRREQ): Likewise.
69478         [POSIX] (EDQUOT): Likewise.
69479         [POSIX] (EHOSTUNREACH): Likewise.
69480         [POSIX] (EIDRM): Likewise.
69481         [POSIX] (EISCONN): Likewise.
69482         [POSIX] (ELOOP): Likewise.
69483         [POSIX] (EMULTIHOP): Likewise.
69484         [POSIX] (ENETDOWN): Likewise.
69485         [POSIX] (ENETUNREACH): Likewise.
69486         [POSIX] (ENOBUFS): Likewise.
69487         [POSIX] (ENODATA): Likewise.
69488         [POSIX] (ENOLINK): Likewise.
69489         [POSIX] (ENOMSG): Likewise.
69490         [POSIX] (ENOPROTOOPT): Likewise.
69491         [POSIX] (ENOSR): Likewise.
69492         [POSIX] (ENOSTR): Likewise.
69493         [POSIX] (ENOTCONN): Likewise.
69494         [POSIX] (ENOTSOCK): Likewise.
69495         [POSIX] (EOPNOTSUPP): Likewise.
69496         [POSIX] (EOVERFLOW): Likewise.
69497         [POSIX] (EPROTO): Likewise.
69498         [POSIX] (EPROTONOSUPPORT): Likewise.
69499         [POSIX] (EPROTOTYPE): Likewise.
69500         [POSIX] (ESTALE): Likewise.
69501         [POSIX] (ETIME): Likewise.
69502         [POSIX] (ETXTBSY): Likewise.
69503         [POSIX] (EWOULDBLOCK): Likewise.
69504         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
69505         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
69506         [POSIX] (SEEK_CUR): Likewise.
69507         [POSIX] (SEEK_END): Likewise.
69508         [POSIX || UNIX98] (mode_t): Do not require.
69509         [POSIX] (off_t): Likewise.
69510         [POSIX] (pid_t): Likewise.
69511         [POSIX] (sys/stat.h): Do not allow header.
69512         [POSIX] (unistd.h): Likewise.
69513         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
69514         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
69515         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
69516         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
69517         require.
69518         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
69519         sigevent): Specify elements.
69520         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
69521         entry.
69522         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
69523         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
69525         * conform/data/cpio.h-data [POSIX]: Disable whole file.
69526         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
69527         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
69528         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
69529         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
69530         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
69531         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
69532         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
69533         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
69534         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
69535         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69536         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
69537         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
69538         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
69539         Likewise.
69540         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
69541         Likewise.
69542         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
69543         Likewise.
69544         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
69545         Likewise.
69546         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
69547         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
69548         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
69549         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
69550         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
69551         Specify lower bound on value.
69552         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
69553         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
69554         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
69555         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
69556         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
69557         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
69558         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
69559         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
69560         value.
69561         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
69562         as optional.
69563         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
69564         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
69565         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
69566         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
69567         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
69568         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
69569         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
69570         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
69571         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
69572         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
69573         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
69574         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
69575         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
69576         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
69577         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
69578         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
69579         entry.
69580         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
69581         optional.
69582         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
69583         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
69584         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
69585         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
69586         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
69587         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
69588         Likewise.
69589         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
69590         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
69591         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
69592         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
69593         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
69594         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
69595         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
69596         as optional.
69597         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
69598         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
69599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
69600         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
69601         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
69602         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
69603         specify as optional.
69604         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
69605         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
69606         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
69607         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
69608         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
69609         [XPG3] (NL_LANGMAX): Likewise.
69610         [POSIX || XPG3] (NL_MSGMAX): Likewise.
69611         [POSIX || XPG3] (NL_NMAX): Likewise.
69612         [POSIX || XPG3] (NL_SETMAX): Likewise.
69613         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
69614         [XPG3] (NZERO): Likewise.
69615         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
69616         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
69617         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
69618         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
69619         (REG_ERANGE): Expect.
69620         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
69621         optional-constant.
69622         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
69623         Use (void) in prototype.
69624         [POSIX] (*_t): Allow.
69625         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
69626         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
69627         (WRDE_BADVAL): Expect.
69629         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
69630         expect.
69631         [XPG3 || XPG4] (O_RSYNC): Likewise.
69632         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
69633         Likewise.
69634         [XPG3 || XPG4] (pthread_sigmask): Likewise.
69635         [XPG3 || XPG4] (sigqueue): Likewise.
69636         [XPG3 || XPG4] (sigtimedwait): Likewise.
69637         [XPG3 || XPG4] (sigwaitinfo): Likewise.
69638         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
69639         [XPG3 || XPG4] (vsnprintf): Likewise.
69640         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
69641         Likewise.
69642         [XPG3 || XPG4] (blksize_t): Likewise.
69643         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
69644         Likewise.
69645         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
69646         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
69647         [XPG3 || XPG4] (struct itimerspec): Likewise.
69648         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
69649         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
69650         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
69651         [XPG3 || XPG4] (clockid_t): Likewise.
69652         [XPG3 || XPG4] (timer_t): Likewise.
69653         [XPG3 || XPG4] (clock_getres): Likewise.
69654         [XPG3 || XPG4] (clock_gettime): Likewise.
69655         [XPG3 || XPG4] (clock_settime): Likewise.
69656         [XPG3 || XPG4] (nanosleep): Likewise.
69657         [XPG3 || XPG4] (timer_create): Likewise.
69658         [XPG3 || XPG4] (timer_delete): Likewise.
69659         [XPG3 || XPG4] (timer_gettime): Likewise.
69660         [XPG3 || XPG4] (timer_getoverrun): Likewise.
69661         [XPG3 || XPG4] (timer_settime): Likewise.
69662         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
69663         [XPG3 || XPG4] (getlogin_r): Likewise.
69664         [XPG3 || XPG4] (pread): Likewise.
69665         [XPG3 || XPG4] (pthread_atfork): Likewise.
69666         [XPG3 || XPG4] (pwrite): Likewise.
69668         [BZ #14835]
69669         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
69670         <bits/siginfo.h>.
69672 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
69674         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
69675         finalizing MALLSTREAM.
69677         * sysdeps/mach/hurd/syncfs.c: New file.
69679 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69681         [BZ #14719]
69682         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
69683         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
69684         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
69685         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
69686         (_nss_dns_gethostbyname4_r): Likewise.
69687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
69688         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
69690 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
69692         [BZ #13763]
69693         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
69695 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
69697         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
69698         * elf/cache.c (print_entry): Print ",AArch64" for
69699         FLAG_AARCH64_LIB64
69701         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
69702         * elf/cache.c (print_entry): Print ",hard-float" for
69703         FLAG_ARM_LIBHF.
69705 2012-11-18  David S. Miller  <davem@davemloft.net>
69707         With help from Joseph Myers.
69708         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
69709         cutoff to 2**-13.
69710         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
69711         cutoff to 2**-25.
69712         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
69713         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
69714         small.
69715         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
69716         * math/libm-test.inc (y0_test): New tests.
69717         (y1_test): New tests.
69718         * sysdeps/i386/fpu/libm-test-ulps: Update.
69719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69722 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
69724         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
69725         64-bit targets.
69726         * configure: Regenerated.
69728 2012-11-17  David S. Miller  <davem@davemloft.net>
69730         [BZ #14811]
69731         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
69732         nonzero exponents with absolute value below 0x1p-128 to +/-
69733         0x1p-128.
69735 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
69737         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
69739         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
69741         * posix/getconf-speclist.c: New file.
69742         * posix/posix-envs.def: Likewise.
69743         * posix/confstr.c (START_ENV_GROUP): New macro.
69744         (END_ENV_GROUP): Likewise.
69745         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69746         (KNOWN_PRESENT_ENV_STRING): Likewise.
69747         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69748         (UNKNOWN_ENVIRONMENT): Likewise.
69749         (confstr): Include posix-envs.def instead of handling
69750         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
69751         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
69752         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
69753         (END_ENV_GROUP): Likewise.
69754         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
69755         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
69756         (UNKNOWN_ENVIRONMENT): Likewise.
69757         (__sysconf): Include posix-envs.def instead of handling associated
69758         cases directly here.
69759         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
69760         preprocessing getconf-speclist.c rather than running getconf or
69761         generating empty file.
69763 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
69765         * scripts/check-local-headers.sh: Ignore 'mach' headers.
69767 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
69769         [BZ #14672]
69770         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
69772 2012-11-16  David S. Miller  <davem@davemloft.net>
69774         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
69775         smaller than LDBL_EPSILON/2.0L, just return xm1.
69777 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
69779         * elf/tst-array1.c (init): Set constructor priority to 1000.
69780         (fini): Set destructor priority to 1000.
69781         * elf/tst-array2dep.c: Likewise.
69783 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69785         [BZ #11741]
69786         * libio/fileops.c (_IO_new_file_write): Correctly return error.
69787         (_IO_new_file_xsputn): Also return EOF if none of the input
69788         data was written when overflow failed.
69789         * libio/iopadn.c (_IO_padn): Likewise.
69790         * libio/iowpadn.c (_IO_wpadn): Likewise.
69791         * stdio-common/tst-put-error.c: Add copyright notice.
69792         (do_test): Add case for printing padded string.
69793         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
69794         _IO_padn returned error.
69795         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
69796         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
69797         return EOF.
69799 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69801         * libio/libioP.h: Add comment note that the references to C++
69802         bits are now obsolete.
69804 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69806         * math/libm-test.inc (check_complex): Use asprintf.
69808 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
69810         * debug/pcprofiledump.c (print_version): Update copyright year.
69811         * malloc/memusagestat.c (print_version): Likewise.
69813 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
69815         [BZ #14831]
69816         * elf/Makefile (tests): Add tst-audit8.
69817         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
69818         ($(objpfx)tst-audit8.out): New target.
69819         (tst-audit8-ENV): New variable.
69820         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
69821         audit if l_reloc_result is NULL.
69822         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
69823         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
69824         * elf/tst-audit8.c: New file.
69826 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69828         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
69829         * misc/Makefile (CFLAGS-select.c): Define.
69830         * posix/Makefile (CFLAGS-pause.c): Define.
69832 2012-11-13  David S. Miller  <davem@davemloft.net>
69834         * crypt/Makefile: Move test targets after toplevel Rules
69835         inclusion.  Grab any necessary sysdep routines when linking.
69836         * crypt/md5.c (md5_process_block): Remove define, we will always
69837         name it __md5_process_block.
69838         (md5_finish_ctx): Update md5_process_block call.
69839         (md5_stream): Likewise.
69840         (md5_process_bytes): Likewise.
69841         (md5_process_block): Rename to __md5_process_block and move to ...
69842         * crypt/md5-block.c: ... here.
69843         * crypt/sha256.c (sha256_process_block): Move to ...
69844         * crypt/sha256-block.c: ... here.
69845         * crypt/sha512.c (sha512_process_block): Move to ...
69846         * crypt/sha512-block.c: ... here.
69847         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
69848         path.
69849         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
69850         * sysdeps/sparc/sparc64/multiarch/Makefile
69851         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
69852         crypt subdir.
69853         (localedef-aux): Add md5 crypto assembler when in locale subdir.
69854         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
69855         multiarch changes.
69856         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
69857         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
69858         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
69859         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
69860         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
69861         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
69862         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
69863         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
69864         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
69865         file.
69866         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
69867         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
69868         file.
69869         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
69871 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
69873         * timezone/tzselect.ksh: Update from tzcode git revision
69874         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
69875         * timezone/zdump.c: Likewise.
69876         * timezone/zic.c: Likewise.
69877         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
69878         in TZVERSION setting, not $(PKGVERSION).
69879         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
69880         REPORT_BUGS_TO settings.
69882         [BZ #14838]
69883         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
69884         macro.
69886 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69888         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
69889         detection to immediately after _FP_ROUND().
69890         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
69891         bits are 0.
69893 2012-11-11  David S. Miller  <davem@davemloft.net>
69895         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
69896         inttypes.h
69897         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
69898         __close rather than their public counterparts.
69900 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
69902         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
69903         file.
69904         [UNIX98] (sem_timedwait): Do not expect.
69905         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
69906         [XPG4 || UNIX98] (sockatmark): Do not expect.
69907         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
69908         (clock_getcpuclockid): Do not expect.
69909         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
69910         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
69911         Do not expect.
69912         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
69913         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
69914         [UNIX98] (vwscanf): Likewise.
69915         [UNIX98] (vswscanf): Likewise.
69917 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
69919         * timezone/version.h: Remove file.
69920         * timezone/README: Do not refer to version.h.
69921         * timezone/Makefile ($(objpfx)zic.o): New dependency on
69922         $(objpfx)version.h.
69923         ($(objpfx)zdump.o): Likewise.
69924         ($(objpfx)version.h): New target.
69926         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
69927         2012i.
69928         * timezone/README: Don't mention modification to tzselect.ksh.
69929         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
69930         work on unmodified tzselect.ksh.  Substitute version numbers in
69931         tzselect.ksh.
69933         * Makefile (format-me): Remove.
69934         (INSTALL): Adjust indentation.  Use commands directly instead of
69935         using $(format-me).
69937         * aclocal.m4 (ACX_PKGVERSION): New macro.
69938         (ACX_BUGURL): Likewise.
69939         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
69940         (PKGVERSION): New AC_DEFINE_UNQUOTED.
69941         (REPORT_BUGS_TO): Likewise.
69942         * configure: Regenerated.
69943         * config.h.in (PKGVERSION): New macro.
69944         (REPORT_BUGS_TO): Likewise.
69945         * config.make.in (PKGVERSION): New variable.
69946         (PKGVERSION_TEXI): Likewise.
69947         (REPORT_BUGS_TO): Likewise.
69948         (REPORT_BUGS_TEXI): Likewise.
69949         * Makefile (format-me): Use -I$(common-objpfx)manual.
69950         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
69951         ($(common-objpfx)manual/%): New target.
69952         (manual/%): Remove target.
69953         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
69954         (print_version): Use PKGVERSION.
69955         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
69956         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
69957         and REPORT_BUGS_TO.
69958         ($(objpfx)xtrace): Likewise.
69959         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
69960         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
69961         (print_version): Use PKGVERSION.
69962         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
69963         (do_version): Use PKGVERSION.
69964         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
69965         REPORT_BUGS_TO.
69966         (common-ldd-rewrite): Likewise.
69967         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
69968         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
69969         (print_version): Use PKGVERSION.
69970         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
69971         * elf/pldd.c (argp_program_bug_address): Remove variable.
69972         (more_help): New function.
69973         (argp): Use more_help.
69974         (print_version): Use PKGVERSION.
69975         * elf/sln.c (main): Use PKGVERSION.
69976         (usage): Use REPORT_BUGS_TO.
69977         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
69978         (top level): Use PKGVERSION.
69979         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
69980         (print_version): Use PKGVERSION.
69981         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
69982         (print_version): Use PKGVERSION.
69983         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
69984         (print_version): Use PKGVERSION.
69985         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
69986         (print_version): Use PKGVERSION.
69987         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
69988         (print_version): Use PKGVERSION.
69989         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
69990         (print_version): Use PKGVERSION.
69991         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
69992         and BUGURL.
69993         ($(objpfx)memusage): Likewise.
69994         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
69995         (do_version): Use PKGVERSION.
69996         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
69997         (print_version): Use PKGVERSION.
69998         * malloc/mtrace.pl ($PACKAGE): Remove variable.
69999         ($PKGVERSION): New variable.
70000         ($REPORT_BUGS_TO): Likewise.
70001         (usage): Use $REPORT_BUGS_TO.
70002         (top level): Use $PKGVERSION.
70003         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70004         ($(objpfx)pkgvers.texi): New rule.
70005         ($(objpfx)stamp-pkgvers): Likewise.
70006         * manual/install.texi: Include pkgvers.texi.
70007         (--with-pkgversion): Document new configure option.
70008         (--with-bugurl): Likewise.
70009         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70010         than necessarily for this particular distribution.  Use
70011         REPORT_BUGS_TO for where to report bugs.
70012         * INSTALL: Regenerated.
70013         * manual/libc.texinfo: Include pkgvers.texi.
70014         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70015         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70016         (print_version): Use PKGVERSION.
70017         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70018         (print_version): Use PKGVERSION.
70019         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70020         (print_version): Use PKGVERSION.
70021         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70022         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70023         macro.
70024         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70025         (print_version): Use PKGVERSION.
70026         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70027         (print_version): Use PKGVERSION.
70028         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70029         and PKGVERSION.
70031         * timezone/checktab.awk: Update from tzcode 2012i.
70032         * timezone/ialloc.c: Likewise.
70033         * timezone/private.h: Likewise.
70034         * timezone/scheck.c: Likewise.
70035         * timezone/tzfile.h: Likewise.
70036         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70037         (TZVERSION): Hardcode tzcode version number.
70038         * timezone/zdump.c: Update from tzcode 2012i.
70039         * timezone/zic.c: Likewise.
70040         * timezone/version.h: New file.
70041         * timezone/README: Describe version.h.  Update upstream location.
70043         [BZ #14824]
70044         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70045         (mktemp): Enable declaration.
70046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
70050         Likewise.
70051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
70052         Likewise.
70053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
70054         Likewise.
70055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
70056         Likewise.
70057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
70058         Likewise.
70059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
70060         Likewise.
70062         [BZ #14821]
70063         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
70064         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
70065         for copies of such integer values.
70066         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70067         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70069 2012-11-09  Andreas Jaeger  <aj@suse.de>
70071         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
70072         definitions and declarations that are provided by
70073         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70075 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70077         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
70078         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
70079         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
70080         definition.
70082 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70084         * elf/elf.h: Update comment before AArch64 relocations.
70086 2012-11-07  David S. Miller  <davem@davemloft.net>
70088         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
70089         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70090         (__start_context): Declare.
70091         (__makecontext_ret): Delete.
70092         (__makecontext): Hook up __start_context instead of
70093         __makecontext_ret.
70094         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
70095         (sysdep_routines): Add __start_context when in stdlib.
70097 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70099         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
70100         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
70101         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
70102         hardcoded "nm".
70103         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
70104         (READELF): New variable.  Use it instead of hardcoded "readelf".
70106 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70108         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
70109         * sysdeps/x86/Makefile: Here.
70110         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
70111         * sysdeps/x86/tst-xmmymm.sh: This.
70113 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70115         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
70116         expectations.
70117         [UNIX98] (pthread_barrier_t): Do not expect.
70118         [UNIX98] (pthread_barrierattr_t): Likewise.
70119         [UNIX98] (pthread_spinlock_t): Likewise.
70120         [UNIX98] (pthread_barrier_destroy): Likewise.
70121         [UNIX98] (pthread_barrier_init): Likewise.
70122         [UNIX98] (pthread_barrier_wait): Likewise.
70123         [UNIX98] (pthread_barrierattr_destroy): Likewise.
70124         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
70125         [UNIX98] (pthread_barrierattr_init): Likewise.
70126         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
70127         [UNIX98] (pthread_getcpuclockid): Likewise.
70128         [UNIX98] (pthread_mutex_timedlock): Likewise.
70129         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
70130         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
70131         [UNIX98] (pthread_sigmask): Likewise.
70132         [UNIX98] (pthread_spin_destroy): Likewise.
70133         [UNIX98] (pthread_spin_init): Likewise.
70134         [UNIX98] (pthread_spin_lock): Likewise.
70135         [UNIX98] (pthread_spin_trylock): Likewise.
70136         [UNIX98] (pthread_spin_unlock): Likewise.
70137         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
70138         Do not expect.
70139         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
70140         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
70141         [XPG3 || XPG4] (pthread_cond_t): Likewise.
70142         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
70143         [XPG3 || XPG4] (pthread_key_t): Likewise.
70144         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
70145         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
70146         [XPG3 || XPG4] (pthread_once_t): Likewise.
70147         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
70148         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
70149         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
70150         [XPG3 || XPG4] (pthread_t): Likewise.
70152         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
70153         not expect.
70154         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
70156         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
70157         Change function return type to int.
70159         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
70160         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
70161         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
70162         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
70163         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
70164         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
70165         [!POSIX] (posix_madvise): Likewise.
70166         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
70167         && !UNIX98].
70168         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
70169         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
70170         (mode_t): Likewise.
70171         (posix_mem_offset): Likewise.
70172         (posix_typed_mem_get_info): Likewise.
70173         (posix_typed_mem_open): Likewise.
70175         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
70176         Change condition to [XOPEN2K8].
70178         * conform/conformtest.pl: Preprocess allow-header data with -x c
70179         instead of from stdin.
70180         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
70181         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
70182         [C99-based standards] (cerfc): Likewise.
70183         [C99-based standards] (cexp2): Likewise.
70184         [C99-based standards] (cexpm1): Likewise.
70185         [C99-based standards] (clog10): Likewise.
70186         [C99-based standards] (clog1p): Likewise.
70187         [C99-based standards] (clog2): Likewise.
70188         [C99-based standards] (clgamma): Likewise.
70189         [C99-based standards] (ctgamma): Likewise.
70190         [C99-based standards] (cerff): Likewise.
70191         [C99-based standards] (cerfcf): Likewise.
70192         [C99-based standards] (cexp2f): Likewise.
70193         [C99-based standards] (cexpm1f): Likewise.
70194         [C99-based standards] (clog10f): Likewise.
70195         [C99-based standards] (clog1pf): Likewise.
70196         [C99-based standards] (clog2f): Likewise.
70197         [C99-based standards] (clgammaf): Likewise.
70198         [C99-based standards] (ctgammaf): Likewise.
70199         [C99-based standards] (cerfl): Likewise.
70200         [C99-based standards] (cerfcl): Likewise.
70201         [C99-based standards] (cexp2l): Likewise.
70202         [C99-based standards] (cexpm1l): Likewise.
70203         [C99-based standards] (clog10l): Likewise.
70204         [C99-based standards] (clog1pl): Likewise.
70205         [C99-based standards] (clog2l): Likewise.
70206         [C99-based standards] (clgammal): Likewise.
70207         [C99-based standards] (ctgammal): Likewise.
70208         * conform/data/inttypes.h-data [C99-based standards]: Include
70209         stdint.h-data.  Remove all expectations for stdint.h contents.
70210         [C99-based standards] (PRI*): Do not allow.
70211         [C99-based standards] (SCN*): Likewise.
70212         [C99-based standards] (*_t): Likewise.
70213         [C99-based-standards] (PRId8): Expect macro.
70214         [C99-based-standards] (PRIi8): Likewise.
70215         [C99-based-standards] (PRIo8): Likewise.
70216         [C99-based-standards] (PRIu8): Likewise.
70217         [C99-based-standards] (PRIx8): Likewise.
70218         [C99-based-standards] (PRIX8): Likewise.
70219         [C99-based-standards] (SCNd8): Likewise.
70220         [C99-based-standards] (SCNi8): Likewise.
70221         [C99-based-standards] (SCNo8): Likewise.
70222         [C99-based-standards] (SCNu8): Likewise.
70223         [C99-based-standards] (SCNx8): Likewise.
70224         [C99-based-standards] (PRIdLEAST8): Likewise.
70225         [C99-based-standards] (PRIiLEAST8): Likewise.
70226         [C99-based-standards] (PRIoLEAST8): Likewise.
70227         [C99-based-standards] (PRIuLEAST8): Likewise.
70228         [C99-based-standards] (PRIxLEAST8): Likewise.
70229         [C99-based-standards] (PRIXLEAST8): Likewise.
70230         [C99-based-standards] (SCNdLEAST8): Likewise.
70231         [C99-based-standards] (SCNiLEAST8): Likewise.
70232         [C99-based-standards] (SCNoLEAST8): Likewise.
70233         [C99-based-standards] (SCNuLEAST8): Likewise.
70234         [C99-based-standards] (SCNxLEAST8): Likewise.
70235         [C99-based-standards] (PRIdFAST8): Likewise.
70236         [C99-based-standards] (PRIiFAST8): Likewise.
70237         [C99-based-standards] (PRIoFAST8): Likewise.
70238         [C99-based-standards] (PRIuFAST8): Likewise.
70239         [C99-based-standards] (PRIxFAST8): Likewise.
70240         [C99-based-standards] (PRIXFAST8): Likewise.
70241         [C99-based-standards] (SCNdFAST8): Likewise.
70242         [C99-based-standards] (SCNiFAST8): Likewise.
70243         [C99-based-standards] (SCNoFAST8): Likewise.
70244         [C99-based-standards] (SCNuFAST8): Likewise.
70245         [C99-based-standards] (SCNxFAST8): Likewise.
70246         [C99-based-standards] (PRId16): Likewise.
70247         [C99-based-standards] (PRIi16): Likewise.
70248         [C99-based-standards] (PRIo16): Likewise.
70249         [C99-based-standards] (PRIu16): Likewise.
70250         [C99-based-standards] (PRIx16): Likewise.
70251         [C99-based-standards] (PRIX16): Likewise.
70252         [C99-based-standards] (SCNd16): Likewise.
70253         [C99-based-standards] (SCNi16): Likewise.
70254         [C99-based-standards] (SCNo16): Likewise.
70255         [C99-based-standards] (SCNu16): Likewise.
70256         [C99-based-standards] (SCNx16): Likewise.
70257         [C99-based-standards] (PRIdLEAST16): Likewise.
70258         [C99-based-standards] (PRIiLEAST16): Likewise.
70259         [C99-based-standards] (PRIoLEAST16): Likewise.
70260         [C99-based-standards] (PRIuLEAST16): Likewise.
70261         [C99-based-standards] (PRIxLEAST16): Likewise.
70262         [C99-based-standards] (PRIXLEAST16): Likewise.
70263         [C99-based-standards] (SCNdLEAST16): Likewise.
70264         [C99-based-standards] (SCNiLEAST16): Likewise.
70265         [C99-based-standards] (SCNoLEAST16): Likewise.
70266         [C99-based-standards] (SCNuLEAST16): Likewise.
70267         [C99-based-standards] (SCNxLEAST16): Likewise.
70268         [C99-based-standards] (PRIdFAST16): Likewise.
70269         [C99-based-standards] (PRIiFAST16): Likewise.
70270         [C99-based-standards] (PRIoFAST16): Likewise.
70271         [C99-based-standards] (PRIuFAST16): Likewise.
70272         [C99-based-standards] (PRIxFAST16): Likewise.
70273         [C99-based-standards] (PRIXFAST16): Likewise.
70274         [C99-based-standards] (SCNdFAST16): Likewise.
70275         [C99-based-standards] (SCNiFAST16): Likewise.
70276         [C99-based-standards] (SCNoFAST16): Likewise.
70277         [C99-based-standards] (SCNuFAST16): Likewise.
70278         [C99-based-standards] (SCNxFAST16): Likewise.
70279         [C99-based-standards] (PRId32): Likewise.
70280         [C99-based-standards] (PRIi32): Likewise.
70281         [C99-based-standards] (PRIo32): Likewise.
70282         [C99-based-standards] (PRIu32): Likewise.
70283         [C99-based-standards] (PRIx32): Likewise.
70284         [C99-based-standards] (PRIX32): Likewise.
70285         [C99-based-standards] (SCNd32): Likewise.
70286         [C99-based-standards] (SCNi32): Likewise.
70287         [C99-based-standards] (SCNo32): Likewise.
70288         [C99-based-standards] (SCNu32): Likewise.
70289         [C99-based-standards] (SCNx32): Likewise.
70290         [C99-based-standards] (PRIdLEAST32): Likewise.
70291         [C99-based-standards] (PRIiLEAST32): Likewise.
70292         [C99-based-standards] (PRIoLEAST32): Likewise.
70293         [C99-based-standards] (PRIuLEAST32): Likewise.
70294         [C99-based-standards] (PRIxLEAST32): Likewise.
70295         [C99-based-standards] (PRIXLEAST32): Likewise.
70296         [C99-based-standards] (SCNdLEAST32): Likewise.
70297         [C99-based-standards] (SCNiLEAST32): Likewise.
70298         [C99-based-standards] (SCNoLEAST32): Likewise.
70299         [C99-based-standards] (SCNuLEAST32): Likewise.
70300         [C99-based-standards] (SCNxLEAST32): Likewise.
70301         [C99-based-standards] (PRIdFAST32): Likewise.
70302         [C99-based-standards] (PRIiFAST32): Likewise.
70303         [C99-based-standards] (PRIoFAST32): Likewise.
70304         [C99-based-standards] (PRIuFAST32): Likewise.
70305         [C99-based-standards] (PRIxFAST32): Likewise.
70306         [C99-based-standards] (PRIXFAST32): Likewise.
70307         [C99-based-standards] (SCNdFAST32): Likewise.
70308         [C99-based-standards] (SCNiFAST32): Likewise.
70309         [C99-based-standards] (SCNoFAST32): Likewise.
70310         [C99-based-standards] (SCNuFAST32): Likewise.
70311         [C99-based-standards] (SCNxFAST32): Likewise.
70312         [C99-based-standards] (PRId64): Likewise.
70313         [C99-based-standards] (PRIi64): Likewise.
70314         [C99-based-standards] (PRIo64): Likewise.
70315         [C99-based-standards] (PRIu64): Likewise.
70316         [C99-based-standards] (PRIx64): Likewise.
70317         [C99-based-standards] (PRIX64): Likewise.
70318         [C99-based-standards] (SCNd64): Likewise.
70319         [C99-based-standards] (SCNi64): Likewise.
70320         [C99-based-standards] (SCNo64): Likewise.
70321         [C99-based-standards] (SCNu64): Likewise.
70322         [C99-based-standards] (SCNx64): Likewise.
70323         [C99-based-standards] (PRIdLEAST64): Likewise.
70324         [C99-based-standards] (PRIiLEAST64): Likewise.
70325         [C99-based-standards] (PRIoLEAST64): Likewise.
70326         [C99-based-standards] (PRIuLEAST64): Likewise.
70327         [C99-based-standards] (PRIxLEAST64): Likewise.
70328         [C99-based-standards] (PRIXLEAST64): Likewise.
70329         [C99-based-standards] (SCNdLEAST64): Likewise.
70330         [C99-based-standards] (SCNiLEAST64): Likewise.
70331         [C99-based-standards] (SCNoLEAST64): Likewise.
70332         [C99-based-standards] (SCNuLEAST64): Likewise.
70333         [C99-based-standards] (SCNxLEAST64): Likewise.
70334         [C99-based-standards] (PRIdFAST64): Likewise.
70335         [C99-based-standards] (PRIiFAST64): Likewise.
70336         [C99-based-standards] (PRIoFAST64): Likewise.
70337         [C99-based-standards] (PRIuFAST64): Likewise.
70338         [C99-based-standards] (PRIxFAST64): Likewise.
70339         [C99-based-standards] (PRIXFAST64): Likewise.
70340         [C99-based-standards] (SCNdFAST64): Likewise.
70341         [C99-based-standards] (SCNiFAST64): Likewise.
70342         [C99-based-standards] (SCNoFAST64): Likewise.
70343         [C99-based-standards] (SCNuFAST64): Likewise.
70344         [C99-based-standards] (SCNxFAST64): Likewise.
70345         [C99-based-standards] (PRIdMAX): Likewise.
70346         [C99-based-standards] (PRIiMAX): Likewise.
70347         [C99-based-standards] (PRIoMAX): Likewise.
70348         [C99-based-standards] (PRIuMAX): Likewise.
70349         [C99-based-standards] (PRIxMAX): Likewise.
70350         [C99-based-standards] (PRIXMAX): Likewise.
70351         [C99-based-standards] (SCNdMAX): Likewise.
70352         [C99-based-standards] (SCNiMAX): Likewise.
70353         [C99-based-standards] (SCNoMAX): Likewise.
70354         [C99-based-standards] (SCNuMAX): Likewise.
70355         [C99-based-standards] (SCNxMAX): Likewise.
70356         [C99-based-standards] (PRIdPTR): Likewise.
70357         [C99-based-standards] (PRIiPTR): Likewise.
70358         [C99-based-standards] (PRIoPTR): Likewise.
70359         [C99-based-standards] (PRIuPTR): Likewise.
70360         [C99-based-standards] (PRIxPTR): Likewise.
70361         [C99-based-standards] (PRIXPTR): Likewise.
70362         [C99-based-standards] (SCNdPTR): Likewise.
70363         [C99-based-standards] (SCNiPTR): Likewise.
70364         [C99-based-standards] (SCNoPTR): Likewise.
70365         [C99-based-standards] (SCNuPTR): Likewise.
70366         [C99-based-standards] (SCNxPTR): Likewise.
70367         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
70368         allow.
70369         * conform/data/stdint.h-data: Update comments to clarify
70370         requirements.
70371         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
70372         type.
70373         [C99-based standards] (INT8_MAX): Likewise.
70374         [C99-based standards] (INT16_MIN): Likewise.
70375         [C99-based standards] (INT16_MAX): Likewise.
70376         [C99-based standards] (INT32_MIN): Likewise.
70377         [C99-based standards] (INT32_MAX): Likewise.
70378         [C99-based standards] (INT64_MIN): Likewise.
70379         [C99-based standards] (INT64_MAX): Likewise.
70380         [C99-based standards] (UINT8_MAX): Likewise.
70381         [C99-based standards] (UINT16_MAX): Likewise.
70382         [C99-based standards] (UINT32_MAX): Likewise.
70383         [C99-based standards] (UINT64_MAX): Likewise.
70384         [C99-based standards] (INT_LEAST8_MIN): Likewise.
70385         [C99-based standards] (INT_LEAST8_MAX): Likewise.
70386         [C99-based standards] (INT_LEAST16_MIN): Likewise.
70387         [C99-based standards] (INT_LEAST16_MAX): Likewise.
70388         [C99-based standards] (INT_LEAST32_MIN): Likewise.
70389         [C99-based standards] (INT_LEAST32_MAX): Likewise.
70390         [C99-based standards] (INT_LEAST64_MIN): Likewise.
70391         [C99-based standards] (INT_LEAST64_MAX): Likewise.
70392         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
70393         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
70394         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
70395         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
70396         [C99-based standards] (INT_FAST8_MIN): Likewise.
70397         [C99-based standards] (INT_FAST8_MAX): Likewise.
70398         [C99-based standards] (INT_FAST16_MIN): Likewise.
70399         [C99-based standards] (INT_FAST16_MAX): Likewise.
70400         [C99-based standards] (INT_FAST32_MIN): Likewise.
70401         [C99-based standards] (INT_FAST32_MAX): Likewise.
70402         [C99-based standards] (INT_FAST64_MIN): Likewise.
70403         [C99-based standards] (INT_FAST64_MAX): Likewise.
70404         [C99-based standards] (UINT_FAST8_MAX): Likewise.
70405         [C99-based standards] (UINT_FAST16_MAX): Likewise.
70406         [C99-based standards] (UINT_FAST32_MAX): Likewise.
70407         [C99-based standards] (UINT_FAST64_MAX): Likewise.
70408         [C99-based standards] (INTPTR_MIN): Likewise.
70409         [C99-based standards] (INTPTR_MAX): Likewise.
70410         [C99-based standards] (UINTPTR_MAX): Likewise.
70411         [C99-based standards] (INTMAX_MIN): Likewise.
70412         [C99-based standards] (INTMAX_MAX): Likewise.
70413         [C99-based standards] (UINTMAX_MAX): Likewise.
70414         [C99-based standards] (PTRDIFF_MIN): Likewise.
70415         [C99-based standards] (PTRDIFF_MAX): Likewise.
70416         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
70417         [C99-based standards] (SIZE_MAX): Likewise.
70418         [C99-based standards] (WCHAR_MAX): Likewise.
70419         [C99-based standards] (WINT_MAX): Likewise.
70420         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
70421         constraint on value.
70422         [C99-based standards] (WCHAR_MIN): Likewise.
70423         [C99-based standards] (WINT_MIN): Likewise.
70424         [C99-based standards] (*_t): Allow.
70425         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
70426         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
70427         Include math.h-data and complex.h-data.  Remove all expectations
70428         of math.h and complex.h contents.
70429         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
70430         at end of line.
70431         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
70432         (struct tm): Expect tag.
70433         [C99-based-standards] (wcstof): Expect function.
70434         [C99-based-standards] (wcstold): Likewise.
70435         [C99-based-standards] (wcstoll): Likewise.
70436         [C99-based-standards] (wcstoull): Likewise.
70437         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
70438         macro-int-constant.  Specify type.
70439         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
70440         constraint on value.
70441         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70442         Specify type.
70443         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
70444         Specify value.
70445         [ISO C standards]: Do not allow headers.
70446         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
70447         wcs[abcdefghijklmnopqrstuvwxyz]*.
70448         [ISO C standards] (*_t): Do not allow.
70449         * conform/data/wctype.h-data [C99-based standards] (iswblank):
70450         Expect function.
70451         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
70452         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
70453         Specify type.
70454         [ISO C standards]: Do not allow headers.
70455         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
70456         is[abcdefghijklmnopqrstuvwxyz]*.
70457         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
70458         to[abcdefghijklmnopqrstuvwxyz]*.
70459         [ISO C standards] (*_t): Do not allow.
70460         * conform/data/stdalign.h-data: New file.
70461         * conform/data/stdbool.h-data: Likewise.
70462         * conform/data/stdnoreturn.h-data: Likewise.
70464 2012-11-07  Roland McGrath  <roland@hack.frob.com>
70466         [BZ #14815]
70467         * manual/filesys.texi (Directory Entries): Typo fix.
70468         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
70470 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70472         * elf/elf.h (EM_AARCH64): New macro.
70473         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
70474         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
70475         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
70476         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
70477         (R_AARCH64_TLSDESC): Likewise.
70478         (NT_ARM_TLS): Likewise.
70479         (NT_ARM_HW_BREAK): Likewise.
70480         (NT_ARM_HW_WATCH): Likewise.
70482 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70484         [BZ #14811]
70485         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
70486         (__ieee754_powl): Saturate nonzero exponents with absolute value
70487         below 0x1p-79 to +/- 0x1p-79.
70488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
70489         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
70490         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
70491         nonzero exponents with absolute value below 0x1p-32 to +/-
70492         0x1p-32.
70493         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
70494         (__ieee754_powl): Saturate nonzero exponents with absolute value
70495         below 0x1p-79 to +/- 0x1p-79.
70496         * math/libm-test.inc (pow_test): Add more tests.
70498 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70500         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
70501         _dl_s390_cap_flags with kernel. Increase string length.
70502         (_dl_s390_platforms): Add z196 and zEC12.
70504 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
70506         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
70507         Change XOPEN21K to XOPEN2K.
70509 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
70511         * string/memmove.c: Use memcpy when possible.
70513 2012-11-06  Andreas Jaeger  <aj@suse.de>
70515         * po/eo.po: Update from translation team.
70517 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
70519         [BZ #14793]
70520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
70521         exponent and small x and y exponents, scale x or y up.  Increase
70522         by 2 the exponent used in scaling up.
70523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70524         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70525         * math/libm-test.inc (fma_test): Add more tests.
70526         (fma_test_towardzero): Likewise.
70527         (fma_test_downward): Likewise.
70528         (fma_test_upward): Likewise.
70530 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
70532         [BZ #14805]
70533         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
70534         fenv_t *.
70536         [BZ #14801]
70537         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
70538         namespace for names of struct fields.
70539         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
70540         fenv_t fields.
70541         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
70542         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
70544 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70546         [BZ #3665]
70547         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
70549 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70551         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
70552         PTR_DEMANGLE.
70554         [BZ #5246]
70555         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
70556         PTR_DEMANGLE.
70558 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
70560         [BZ #14797]
70561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
70562         definitely overflow as x * y not x * y + z.
70563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70565         * math/libm-test.inc (fma_test): Add more tests.
70566         (fma_test_towardzero): Likewise.
70567         (fma_test_downward): Likewise.
70568         (fma_test_upward): Likewise.
70570 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
70572         [BZ #157]
70574         * include/stub-tag.h: Remove file.
70575         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
70576         '#include' of it.
70577         * manual/maint.texi (Porting): Don't reference it.
70578         * Makerules ($(objpfx)stubs): Likewise.
70579         * dirent/closedir.c: Don't include <stub-tag.h>.
70580         * dirent/dirfd.c: Likewise.
70581         * dirent/fdopendir.c: Likewise.
70582         * dirent/getdents.c: Likewise.
70583         * dirent/getdents64.c: Likewise.
70584         * dirent/opendir.c: Likewise.
70585         * dirent/readdir.c: Likewise.
70586         * dirent/readdir64.c: Likewise.
70587         * dirent/readdir64_r.c: Likewise.
70588         * dirent/readdir_r.c: Likewise.
70589         * dirent/rewinddir.c: Likewise.
70590         * dirent/seekdir.c: Likewise.
70591         * dirent/telldir.c: Likewise.
70592         * gmon/profil.c: Likewise.
70593         * grp/setgroups.c: Likewise.
70594         * inet/if_index.c: Likewise.
70595         * io/access.c: Likewise.
70596         * io/chdir.c: Likewise.
70597         * io/chmod.c: Likewise.
70598         * io/chown.c: Likewise.
70599         * io/close.c: Likewise.
70600         * io/dup.c: Likewise.
70601         * io/dup2.c: Likewise.
70602         * io/dup3.c: Likewise.
70603         * io/euidaccess.c: Likewise.
70604         * io/faccessat.c: Likewise.
70605         * io/fchdir.c: Likewise.
70606         * io/fchmod.c: Likewise.
70607         * io/fchmodat.c: Likewise.
70608         * io/fchown.c: Likewise.
70609         * io/fchownat.c: Likewise.
70610         * io/fcntl.c: Likewise.
70611         * io/flock.c: Likewise.
70612         * io/fstatfs.c: Likewise.
70613         * io/fstatfs64.c: Likewise.
70614         * io/fstatvfs.c: Likewise.
70615         * io/fstatvfs64.c: Likewise.
70616         * io/futimens.c: Likewise.
70617         * io/fxstat.c: Likewise.
70618         * io/fxstat64.c: Likewise.
70619         * io/fxstatat.c: Likewise.
70620         * io/fxstatat64.c: Likewise.
70621         * io/getcwd.c: Likewise.
70622         * io/isatty.c: Likewise.
70623         * io/lchmod.c: Likewise.
70624         * io/lchown.c: Likewise.
70625         * io/link.c: Likewise.
70626         * io/linkat.c: Likewise.
70627         * io/lseek.c: Likewise.
70628         * io/lseek64.c: Likewise.
70629         * io/lxstat64.c: Likewise.
70630         * io/mkdir.c: Likewise.
70631         * io/mkdirat.c: Likewise.
70632         * io/mkfifo.c: Likewise.
70633         * io/mkfifoat.c: Likewise.
70634         * io/open.c: Likewise.
70635         * io/open64.c: Likewise.
70636         * io/openat.c: Likewise.
70637         * io/openat64.c: Likewise.
70638         * io/pipe.c: Likewise.
70639         * io/pipe2.c: Likewise.
70640         * io/poll.c: Likewise.
70641         * io/posix_fadvise.c: Likewise.
70642         * io/posix_fadvise64.c: Likewise.
70643         * io/posix_fallocate.c: Likewise.
70644         * io/posix_fallocate64.c: Likewise.
70645         * io/read.c: Likewise.
70646         * io/readlink.c: Likewise.
70647         * io/readlinkat.c: Likewise.
70648         * io/rmdir.c: Likewise.
70649         * io/sendfile.c: Likewise.
70650         * io/sendfile64.c: Likewise.
70651         * io/statfs.c: Likewise.
70652         * io/statfs64.c: Likewise.
70653         * io/statvfs.c: Likewise.
70654         * io/statvfs64.c: Likewise.
70655         * io/symlink.c: Likewise.
70656         * io/symlinkat.c: Likewise.
70657         * io/ttyname.c: Likewise.
70658         * io/ttyname_r.c: Likewise.
70659         * io/umask.c: Likewise.
70660         * io/unlink.c: Likewise.
70661         * io/unlinkat.c: Likewise.
70662         * io/utime.c: Likewise.
70663         * io/utimensat.c: Likewise.
70664         * io/write.c: Likewise.
70665         * io/xmknod.c: Likewise.
70666         * io/xmknodat.c: Likewise.
70667         * io/xstat.c: Likewise.
70668         * io/xstat64.c: Likewise.
70669         * login/getpt.c: Likewise.
70670         * login/grantpt.c: Likewise.
70671         * login/unlockpt.c: Likewise.
70672         * math/e_acoshl.c: Likewise.
70673         * math/e_acosl.c: Likewise.
70674         * math/e_asinl.c: Likewise.
70675         * math/e_atan2l.c: Likewise.
70676         * math/e_atanhl.c: Likewise.
70677         * math/e_coshl.c: Likewise.
70678         * math/e_expl.c: Likewise.
70679         * math/e_fmodl.c: Likewise.
70680         * math/e_gammal_r.c: Likewise.
70681         * math/e_hypotl.c: Likewise.
70682         * math/e_j0l.c: Likewise.
70683         * math/e_j1l.c: Likewise.
70684         * math/e_jnl.c: Likewise.
70685         * math/e_lgammal_r.c: Likewise.
70686         * math/e_log10l.c: Likewise.
70687         * math/e_log2l.c: Likewise.
70688         * math/e_logl.c: Likewise.
70689         * math/e_powl.c: Likewise.
70690         * math/e_rem_pio2l.c: Likewise.
70691         * math/e_sinhl.c: Likewise.
70692         * math/e_sqrtl.c: Likewise.
70693         * math/fclrexcpt.c: Likewise.
70694         * math/fedisblxcpt.c: Likewise.
70695         * math/feenablxcpt.c: Likewise.
70696         * math/fegetenv.c: Likewise.
70697         * math/fegetexcept.c: Likewise.
70698         * math/fegetround.c: Likewise.
70699         * math/feholdexcpt.c: Likewise.
70700         * math/fesetenv.c: Likewise.
70701         * math/fesetround.c: Likewise.
70702         * math/feupdateenv.c: Likewise.
70703         * math/fgetexcptflg.c: Likewise.
70704         * math/fraiseexcpt.c: Likewise.
70705         * math/fsetexcptflg.c: Likewise.
70706         * math/ftestexcept.c: Likewise.
70707         * math/k_cosl.c: Likewise.
70708         * math/k_rem_pio2l.c: Likewise.
70709         * math/k_sinl.c: Likewise.
70710         * math/k_tanl.c: Likewise.
70711         * math/s_asinhl.c: Likewise.
70712         * math/s_atanl.c: Likewise.
70713         * math/s_cbrtl.c: Likewise.
70714         * math/s_erfl.c: Likewise.
70715         * math/s_expm1l.c: Likewise.
70716         * math/s_log1pl.c: Likewise.
70717         * math/s_tanhl.c: Likewise.
70718         * misc/acct.c: Likewise.
70719         * misc/brk.c: Likewise.
70720         * misc/chflags.c: Likewise.
70721         * misc/chroot.c: Likewise.
70722         * misc/fchflags.c: Likewise.
70723         * misc/fgetxattr.c: Likewise.
70724         * misc/flistxattr.c: Likewise.
70725         * misc/fremovexattr.c: Likewise.
70726         * misc/fsetxattr.c: Likewise.
70727         * misc/fsync.c: Likewise.
70728         * misc/ftruncate.c: Likewise.
70729         * misc/futimes.c: Likewise.
70730         * misc/futimesat.c: Likewise.
70731         * misc/getdomain.c: Likewise.
70732         * misc/getdtsz.c: Likewise.
70733         * misc/gethostid.c: Likewise.
70734         * misc/gethostname.c: Likewise.
70735         * misc/getloadavg.c: Likewise.
70736         * misc/getpagesize.c: Likewise.
70737         * misc/getsysstats.c: Likewise.
70738         * misc/getxattr.c: Likewise.
70739         * misc/gtty.c: Likewise.
70740         * misc/ioctl.c: Likewise.
70741         * misc/lgetxattr.c: Likewise.
70742         * misc/listxattr.c: Likewise.
70743         * misc/llistxattr.c: Likewise.
70744         * misc/lremovexattr.c: Likewise.
70745         * misc/lsetxattr.c: Likewise.
70746         * misc/lutimes.c: Likewise.
70747         * misc/madvise.c: Likewise.
70748         * misc/mincore.c: Likewise.
70749         * misc/mlock.c: Likewise.
70750         * misc/mlockall.c: Likewise.
70751         * misc/mmap.c: Likewise.
70752         * misc/mprotect.c: Likewise.
70753         * misc/msync.c: Likewise.
70754         * misc/munlock.c: Likewise.
70755         * misc/munlockall.c: Likewise.
70756         * misc/munmap.c: Likewise.
70757         * misc/preadv.c: Likewise.
70758         * misc/preadv64.c: Likewise.
70759         * misc/ptrace.c: Likewise.
70760         * misc/pwritev.c: Likewise.
70761         * misc/pwritev64.c: Likewise.
70762         * misc/readv.c: Likewise.
70763         * misc/reboot.c: Likewise.
70764         * misc/remap_file_pages.c: Likewise.
70765         * misc/removexattr.c: Likewise.
70766         * misc/revoke.c: Likewise.
70767         * misc/select.c: Likewise.
70768         * misc/setdomain.c: Likewise.
70769         * misc/setegid.c: Likewise.
70770         * misc/seteuid.c: Likewise.
70771         * misc/sethostid.c: Likewise.
70772         * misc/sethostname.c: Likewise.
70773         * misc/setregid.c: Likewise.
70774         * misc/setreuid.c: Likewise.
70775         * misc/setxattr.c: Likewise.
70776         * misc/sstk.c: Likewise.
70777         * misc/stty.c: Likewise.
70778         * misc/swapoff.c: Likewise.
70779         * misc/swapon.c: Likewise.
70780         * misc/sync.c: Likewise.
70781         * misc/syncfs.c: Likewise.
70782         * misc/syscall.c: Likewise.
70783         * misc/truncate.c: Likewise.
70784         * misc/ualarm.c: Likewise.
70785         * misc/usleep.c: Likewise.
70786         * misc/ustat.c: Likewise.
70787         * misc/utimes.c: Likewise.
70788         * misc/vhangup.c: Likewise.
70789         * misc/writev.c: Likewise.
70790         * posix/_exit.c: Likewise.
70791         * posix/alarm.c: Likewise.
70792         * posix/execve.c: Likewise.
70793         * posix/fexecve.c: Likewise.
70794         * posix/fork.c: Likewise.
70795         * posix/fpathconf.c: Likewise.
70796         * posix/getaddrinfo.c: Likewise.
70797         * posix/getegid.c: Likewise.
70798         * posix/geteuid.c: Likewise.
70799         * posix/getgid.c: Likewise.
70800         * posix/getgroups.c: Likewise.
70801         * posix/getlogin.c: Likewise.
70802         * posix/getlogin_r.c: Likewise.
70803         * posix/getpgid.c: Likewise.
70804         * posix/getpid.c: Likewise.
70805         * posix/getppid.c: Likewise.
70806         * posix/getresgid.c: Likewise.
70807         * posix/getresuid.c: Likewise.
70808         * posix/getsid.c: Likewise.
70809         * posix/getuid.c: Likewise.
70810         * posix/glob64.c: Likewise.
70811         * posix/nanosleep.c: Likewise.
70812         * posix/pathconf.c: Likewise.
70813         * posix/pause.c: Likewise.
70814         * posix/posix_madvise.c: Likewise.
70815         * posix/pread.c: Likewise.
70816         * posix/pread64.c: Likewise.
70817         * posix/pwrite.c: Likewise.
70818         * posix/pwrite64.c: Likewise.
70819         * posix/sched_getaffinity.c: Likewise.
70820         * posix/sched_getp.c: Likewise.
70821         * posix/sched_gets.c: Likewise.
70822         * posix/sched_primax.c: Likewise.
70823         * posix/sched_primin.c: Likewise.
70824         * posix/sched_rr_gi.c: Likewise.
70825         * posix/sched_setaffinity.c: Likewise.
70826         * posix/sched_setp.c: Likewise.
70827         * posix/sched_sets.c: Likewise.
70828         * posix/sched_yield.c: Likewise.
70829         * posix/setgid.c: Likewise.
70830         * posix/setlogin.c: Likewise.
70831         * posix/setpgid.c: Likewise.
70832         * posix/setresgid.c: Likewise.
70833         * posix/setresuid.c: Likewise.
70834         * posix/setsid.c: Likewise.
70835         * posix/setuid.c: Likewise.
70836         * posix/sleep.c: Likewise.
70837         * posix/spawni.c: Likewise.
70838         * posix/sysconf.c: Likewise.
70839         * posix/times.c: Likewise.
70840         * posix/wait.c: Likewise.
70841         * posix/wait3.c: Likewise.
70842         * posix/wait4.c: Likewise.
70843         * posix/waitpid.c: Likewise.
70844         * resolv/gai_sigqueue.c: Likewise.
70845         * resource/getpriority.c: Likewise.
70846         * resource/getrlimit.c: Likewise.
70847         * resource/getrusage.c: Likewise.
70848         * resource/nice.c: Likewise.
70849         * resource/setpriority.c: Likewise.
70850         * resource/setrlimit.c: Likewise.
70851         * resource/ulimit.c: Likewise.
70852         * rt/aio_cancel.c: Likewise.
70853         * rt/aio_fsync.c: Likewise.
70854         * rt/aio_read.c: Likewise.
70855         * rt/aio_sigqueue.c: Likewise.
70856         * rt/aio_suspend.c: Likewise.
70857         * rt/aio_write.c: Likewise.
70858         * rt/clock_getres.c: Likewise.
70859         * rt/clock_gettime.c: Likewise.
70860         * rt/clock_nanosleep.c: Likewise.
70861         * rt/clock_settime.c: Likewise.
70862         * rt/lio_listio.c: Likewise.
70863         * rt/mq_close.c: Likewise.
70864         * rt/mq_getattr.c: Likewise.
70865         * rt/mq_notify.c: Likewise.
70866         * rt/mq_open.c: Likewise.
70867         * rt/mq_receive.c: Likewise.
70868         * rt/mq_send.c: Likewise.
70869         * rt/mq_setattr.c: Likewise.
70870         * rt/mq_timedreceive.c: Likewise.
70871         * rt/mq_timedsend.c: Likewise.
70872         * rt/mq_unlink.c: Likewise.
70873         * rt/shm_open.c: Likewise.
70874         * rt/shm_unlink.c: Likewise.
70875         * rt/timer_create.c: Likewise.
70876         * rt/timer_delete.c: Likewise.
70877         * rt/timer_getoverr.c: Likewise.
70878         * rt/timer_gettime.c: Likewise.
70879         * rt/timer_settime.c: Likewise.
70880         * setjmp/__longjmp.c: Likewise.
70881         * setjmp/setjmp.c: Likewise.
70882         * signal/kill.c: Likewise.
70883         * signal/killpg.c: Likewise.
70884         * signal/raise.c: Likewise.
70885         * signal/sigaction.c: Likewise.
70886         * signal/sigaltstack.c: Likewise.
70887         * signal/sigblock.c: Likewise.
70888         * signal/sigignore.c: Likewise.
70889         * signal/sigintr.c: Likewise.
70890         * signal/signal.c: Likewise.
70891         * signal/sigpause.c: Likewise.
70892         * signal/sigpending.c: Likewise.
70893         * signal/sigqueue.c: Likewise.
70894         * signal/sigreturn.c: Likewise.
70895         * signal/sigset.c: Likewise.
70896         * signal/sigsetmask.c: Likewise.
70897         * signal/sigstack.c: Likewise.
70898         * signal/sigsuspend.c: Likewise.
70899         * signal/sigtimedwait.c: Likewise.
70900         * signal/sigvec.c: Likewise.
70901         * signal/sigwait.c: Likewise.
70902         * signal/sigwaitinfo.c: Likewise.
70903         * signal/sysv_signal.c: Likewise.
70904         * socket/accept.c: Likewise.
70905         * socket/accept4.c: Likewise.
70906         * socket/bind.c: Likewise.
70907         * socket/connect.c: Likewise.
70908         * socket/getpeername.c: Likewise.
70909         * socket/getsockname.c: Likewise.
70910         * socket/getsockopt.c: Likewise.
70911         * socket/isfdtype.c: Likewise.
70912         * socket/listen.c: Likewise.
70913         * socket/recv.c: Likewise.
70914         * socket/recvfrom.c: Likewise.
70915         * socket/recvmsg.c: Likewise.
70916         * socket/send.c: Likewise.
70917         * socket/sendmsg.c: Likewise.
70918         * socket/sendto.c: Likewise.
70919         * socket/setsockopt.c: Likewise.
70920         * socket/shutdown.c: Likewise.
70921         * socket/sockatmark.c: Likewise.
70922         * socket/socket.c: Likewise.
70923         * socket/socketpair.c: Likewise.
70924         * stdio-common/ctermid.c: Likewise.
70925         * stdio-common/cuserid.c: Likewise.
70926         * stdio-common/remove.c: Likewise.
70927         * stdio-common/rename.c: Likewise.
70928         * stdio-common/renameat.c: Likewise.
70929         * stdio-common/tempname.c: Likewise.
70930         * stdlib/getcontext.c: Likewise.
70931         * stdlib/makecontext.c: Likewise.
70932         * stdlib/setcontext.c: Likewise.
70933         * stdlib/swapcontext.c: Likewise.
70934         * stdlib/system.c: Likewise.
70935         * streams/fattach.c: Likewise.
70936         * streams/fdetach.c: Likewise.
70937         * streams/getmsg.c: Likewise.
70938         * streams/getpmsg.c: Likewise.
70939         * streams/putmsg.c: Likewise.
70940         * streams/putpmsg.c: Likewise.
70941         * sysdeps/unix/bsd/getpt.c: Likewise.
70942         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
70943         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
70944         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
70945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
70946         Likewise.
70947         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
70948         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70949         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
70950         * sysvipc/msgctl.c: Likewise.
70951         * sysvipc/msgget.c: Likewise.
70952         * sysvipc/msgrcv.c: Likewise.
70953         * sysvipc/msgsnd.c: Likewise.
70954         * sysvipc/semctl.c: Likewise.
70955         * sysvipc/semget.c: Likewise.
70956         * sysvipc/semop.c: Likewise.
70957         * sysvipc/semtimedop.c: Likewise.
70958         * sysvipc/shmat.c: Likewise.
70959         * sysvipc/shmctl.c: Likewise.
70960         * sysvipc/shmdt.c: Likewise.
70961         * sysvipc/shmget.c: Likewise.
70962         * termios/tcdrain.c: Likewise.
70963         * termios/tcflow.c: Likewise.
70964         * termios/tcflush.c: Likewise.
70965         * termios/tcgetattr.c: Likewise.
70966         * termios/tcgetpgrp.c: Likewise.
70967         * termios/tcsendbrk.c: Likewise.
70968         * termios/tcsetattr.c: Likewise.
70969         * termios/tcsetpgrp.c: Likewise.
70970         * time/adjtime.c: Likewise.
70971         * time/clock.c: Likewise.
70972         * time/getitimer.c: Likewise.
70973         * time/gettimeofday.c: Likewise.
70974         * time/setitimer.c: Likewise.
70975         * time/settimeofday.c: Likewise.
70976         * time/stime.c: Likewise.
70977         * time/time.c: Likewise.
70979 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
70981         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
70982         /usr/old/bin.
70984         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
70985         instead of spaces.
70986         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
70988 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
70990         [BZ #14796]
70991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
70992         FE_TONEAREST before applying Dekker multiplication and Knuth
70993         addition.  Clear inexact exceptions and check for exact zero
70994         results afterwards.
70995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70996         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70997         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70998         * math/libm-test.inc (fma_test): Add more tests.
70999         (fma_test_towardzero): Likewise.
71000         (fma_test_downward): Likewise.
71001         (fma_test_upward): Likewise.
71002         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71003         function.
71004         (libc_fesetround): New macro.
71005         (libc_fesetroundf): Likewise.
71006         (libc_fesetroundl): Likewise.
71007         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71008         function.
71009         (libc_fesetround_387): Likewise.
71010         (libc_fesetroundf): New macro.
71011         (libc_fesetround): Likewise.
71012         (libc_fesetroundl): Likewise.
71013         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71014         function.
71015         (libc_fesetroundf): New macro.
71016         (libc_fesetround): Likewise.
71017         (libc_fesetroundl): Likewise.
71018         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71019         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71020         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71021         libm_hidden_ver.
71022         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71023         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71024         libm_hidden_def.
71025         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71026         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71027         libm_hidden_ver.
71028         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71029         libm_hidden_def.
71031         [BZ #3439]
71032         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71033         integer constant usable in #if and use that to give value to enum
71034         constant.
71035         (FE_DIVBYZERO): Likewise.
71036         (FE_UNDERFLOW): Likewise.
71037         (FE_OVERFLOW): Likewise.
71038         (FE_INVALID): Likewise.
71039         (FE_INVALID_SNAN): Likewise.
71040         (FE_INVALID_ISI): Likewise.
71041         (FE_INVALID_IDI): Likewise.
71042         (FE_INVALID_ZDZ): Likewise.
71043         (FE_INVALID_IMZ): Likewise.
71044         (FE_INVALID_COMPARE): Likewise.
71045         (FE_INVALID_SOFTWARE): Likewise.
71046         (FE_INVALID_SQRT): Likewise.
71047         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71048         (FE_TONEAREST): Likewise.
71049         (FE_TOWARDZERO): Likewise.
71050         (FE_UPWARD): Likewise.
71051         (FE_DOWNWARD): Likewise.
71052         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
71053         (FE_DIVBYZERO): Likewise.
71054         (FE_OVERFLOW): Likewise.
71055         (FE_UNDERFLOW): Likewise.
71056         (FE_INEXACT): Likewise.
71057         (FE_TONEAREST): Likewise.
71058         (FE_DOWNWARD): Likewise.
71059         (FE_UPWARD): Likewise.
71060         (FE_TOWARDZERO): Likewise.
71061         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
71062         (FE_UNDERFLOW): Likewise.
71063         (FE_OVERFLOW): Likewise.
71064         (FE_DIVBYZERO): Likewise.
71065         (FE_INVALID): Likewise.
71066         (FE_TONEAREST): Likewise.
71067         (FE_TOWARDZERO): Likewise.
71068         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
71069         (FE_OVERFLOW): Likewise.
71070         (FE_UNDERFLOW): Likewise.
71071         (FE_DIVBYZERO): Likewise.
71072         (FE_INEXACT): Likewise.
71073         (FE_TONEAREST): Likewise.
71074         (FE_TOWARDZERO): Likewise.
71075         (FE_UPWARD): Likewise.
71076         (FE_DOWNWARD): Likewise.
71077         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
71078         (FE_DIVBYZERO): Likewise.
71079         (FE_OVERFLOW): Likewise.
71080         (FE_UNDERFLOW): Likewise.
71081         (FE_INEXACT): Likewise.
71082         (FE_TONEAREST): Likewise.
71083         (FE_DOWNWARD): Likewise.
71084         (FE_UPWARD): Likewise.
71085         (FE_TOWARDZERO): Likewise.
71087 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
71089         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
71091 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
71093         * scripts/cross-test-ssh.sh (command): Use newlines to separate
71094         commands.  Quote $PWD.
71095         (blacklist_exports): Don't use remove_newlines.  Replace "declare
71096         -x" by "export".
71097         (remove_newlines): Remove.
71099 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
71101         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
71102         * stdlib/stdlib.h (atof): Moved to ...
71103         * include/bits/stdlib-float.h: Here.  New file.
71104         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
71105         * stdlib/bits/stdlib-float.h: New file.
71106         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
71107         -mno-sse -mno-mmx.
71108         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
71109         <xmmintrin.h>.
71111 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71113         * conform/conformtest.pl (@headers): Add fenv.h.
71114         * conform/data/fenv.h-data: New file.
71115         * include/fenv.h [_ISOMAC]: Disable all contents of file except
71116         include of <math/fenv.h>.
71118         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
71119         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
71120         && !UNIX98].  Enables tests for XOPEN2K8.
71121         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
71122         POSIX2008]: Likewise.
71124         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
71125         (struct rusage): Do not expect type or its members.
71127         [BZ #3439]
71128         * math/math.h (FP_NAN): Define macro to integer constant usable in
71129         #if and use that to give value to enum constant.
71130         (FP_INFINITE): Likewise.
71131         (FP_ZERO): Likewise.
71132         (FP_SUBNORMAL): Likewise.
71133         (FP_NORMAL): Likewise.
71135 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
71137         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
71138         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
71139         arguments.
71141 2012-11-02  Roland McGrath  <roland@hack.frob.com>
71143         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
71144         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
71145         autoconf-time if not.
71146         * configure.in: Remove AC_PREREQ.
71148 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71150         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
71151         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
71152         of the internal implementation.
71154 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
71156         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
71157         except include of <misc/sys/syslog.h>.
71159 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
71162         function returns with a NULL context exit with zero.
71164 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71166         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
71168 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
71170         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
71171         (run_program_cmd): This.
71172         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
71173         (tst_langinfo): New variable.  Use it.
71175 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
71177         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
71178         floating point opcodes.
71180 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71182         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
71183         variable.
71185         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
71187         * sysdeps/mach/hurd/powerpc: Remove directory.
71188         * sysdeps/mach/powerpc: Likewise.
71190 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71192         * scripts/check-local-headers.sh: Ignore c++ headers.
71194 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71196         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
71197         __libc_cleanup_region_start argument.
71199 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
71201         [BZ #14784]
71202         [BZ #14785]
71203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
71204         x * y using scaling, not as x * y + z.
71205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71207         * math/libm-test.inc (fma_test): Add more tests.
71208         (fma_test_towardzero): Likewise.
71209         (fma_test_downward): Likewise.
71210         (fma_test_upward): Likewise.
71212 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
71214         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
71216 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71218         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
71219         New variable.
71221 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
71223         * rt/tst-shm.c (worker): Correct checking for mmap failure.
71225 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71228         Fix sort order.
71229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71230         Likewise.
71232 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71235         Fix the order of the list for glibc 2.17.
71236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71237         Likewise.
71239 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
71241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71243 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
71245         [BZ #14610]
71246         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
71247         for low part of x being zero before using __atanl (y).
71248         * math/libm-test.inc (atan2_test): Add another test.
71250         * manual/install.texi (Configuring and compiling): Document
71251         general use of test-wrapper and test-wrapper-env.
71252         * INSTALL: Regenerated.
71254         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
71255         (__fma): Do not extract and scale down low bits on after-rounding
71256         systems when result rounded to normal precision would have normal
71257         exponent.
71258         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
71259         (__fmal): Do not extract and scale down low bits on after-rounding
71260         systems when result rounded to normal precision would have normal
71261         exponent.
71262         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
71263         (__fmal): Do not extract and scale down low bits on after-rounding
71264         systems when result rounded to normal precision would have normal
71265         exponent.
71266         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
71267         macro.
71268         (fma_test): Add more tests.
71269         (fma_test_towardzero): Likewise.
71270         (fma_test_downward): Likewise.
71271         (fma_test_upward): Likewise.
71273 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
71275         * sysdeps/i386/tininess.h: Renamed to ...
71276         * sysdeps/x86/tininess.h: This.
71277         * sysdeps/x86_64/tininess.h: Removed.
71279 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71281         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
71282         input.  Use $(build-program-cmd).
71283         ($(objpfx)tst-array1-static.out): Likewise.
71284         ($(objpfx)tst-array2.out): Likewise.
71285         ($(objpfx)tst-array3.out): Likewise.
71286         ($(objpfx)tst-array4.out): Likewise.
71287         ($(objpfx)tst-array5.out): Likewise.
71288         ($(objpfx)tst-array5-static.out): Likewise.
71290 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
71292         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
71293         if defined.
71295         * nss/nsswitch.h (nss_interface_function): Provide new
71296         macro for use with NSS functions.
71297         * grp/initgroups.c: Use new macro.
71298         * nss/getXXbyYY.c: Likewise.
71299         * nss/getXXbyYY_r.c: Likewise.
71300         * nss/getXXent.c: Likewise.
71301         * nss/getXXent_r.c: Likewise.
71302         * sysdeps/posix/getaddrinfo.c: Likewise.
71304 2012-10-30  Andreas Jaeger  <aj@suse.de>
71306         * po/ru.po: Update Russion translation from translation project.
71308 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
71310         [BZ #14152]
71311         [BZ #14783]
71312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
71313         result and shift together with sticky bit instead of replicating
71314         round-to-nearest rounding.
71315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71317         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
71318         missing underflow exceptions.
71319         (fma_test_towardzero): Add more tests.
71320         (fma_test_downward): Likewise.
71321         (fma_test_upward): Likewise.
71323         [BZ #14047]
71324         * sysdeps/generic/tininess.h: New file.
71325         * sysdeps/i386/tininess.h: Likewise.
71326         * sysdeps/sh/tininess.h: Likewise.
71327         * sysdeps/x86_64/tininess.h: Likewise.
71328         * stdlib/tst-strtod-underflow.c: Likewise.
71329         * stdlib/tst-tininess.c: Likewise.
71330         * stdlib/strtod_l.c: Include <tininess.h>.
71331         (round_and_return): Do not set errno for exact underflow cases.
71332         Force an underflow exception when setting errno for underflow.
71333         Determine underflow based on rounding to normal precision if
71334         TININESS_AFTER_ROUNDING.
71335         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
71336         ERANGE for exact underflow cases.
71337         * stdlib/Makefile (tests): Add tst-tininess and
71338         tst-strtod-underflow.
71339         ($(objpfx)tst-tininess): Use $(link-libm).
71340         ($(objpfx)tst-strtod-underflow): Likewise.
71342 2012-10-30  Andreas Jaeger  <aj@suse.de>
71344         [BZ #14767]
71345         * elf/Makefile (tests): Remove conditional for have-initfini-array
71346         since this is now always required and the variable does not exist
71347         anymore.
71348         (tests-static): Likewise.
71349         (modules-names): Likewise.
71351         * po/eo.po: Add Esperanto translation from translation project.
71353         * elf/tst-array1.c (fini_array): Make writeable so that it can be
71354         merged with constructor/destructor.
71355         (init_array): Likewise.
71356         * elf/tst-array2dep.c (fini_array): Likewise.
71357         (init_array): Likewise.
71359 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
71361         * manual/message.texi: Delete @cartouche tags.
71363 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
71365         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
71366         EOPNOTSUPP.
71367         * sysdeps/mach/hurd/fsync.c: Likewise.
71369         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
71370         [_POSIX_REALTIME_SIGNALS]: Change condition to
71371         [_POSIX_REALTIME_SIGNALS > 0].
71373 2012-10-27  Andreas Jaeger  <aj@suse.de>
71375         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
71376         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
71377         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
71378         [__WORDSIZE != 64]: Likewise.
71380 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
71382         *  iconvdata/tst-table.sh: Remove ${SHELL}.
71383         *  iconvdata/tst-tables.sh: Likewise.
71385 2012-10-25  David S. Miller  <davem@davemloft.net>
71387         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71388         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
71389         of strtoull.
71391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
71392         ifunc-impl-list.c
71393         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71394         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
71395         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
71396         file.
71398 2012-10-25  Roland McGrath  <roland@hack.frob.com>
71400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71401         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
71402         __getdirentries.
71404 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71405             Jim Blandy  <jimb@codesourcery.com>
71407         * scripts/cross-test-ssh.sh: New file.
71408         * manual/install.texi (Configuring and compiling): Document use of
71409         cross-test-ssh.sh.
71410         * INSTALL: Regenerated.
71412 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
71414         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
71415         EOPNOTSUPP.
71417 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
71419         * Makeconfig (run-program-prefix): Fix comment.
71421 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71422             Jim Blandy  <jimb@codesourcery.com>
71424         * Makeconfig (test-wrapper): New variable,
71425         (test-wrapper-env): Likewise.
71426         [$(cross-compiling) = yes && $(test-wrapper) != ""]
71427         (run-built-tests): Define to yes.
71428         (run-program-prefix): Use $(test-wrapper).
71429         (built-program-cmd): Likewise.
71430         * Rules (make-test-out): Use $(test-wrapper-env) and
71431         $(host-built-program-cmd).
71432         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
71433         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
71434         tst-pathopt.sh.
71435         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
71436         $(test-wrapper-env) to tst-rtld-load-self.sh.
71437         ($(objpfx)order2.out): Use $(test-wrapper).
71438         ($(objpfx)tst-initorder.out): Likewise.
71439         ($(objpfx)tst-initorder2.out): Likewise.
71440         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
71441         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
71442         (test_wrapper_env): New variable.  Use it to run ld.so.
71443         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
71444         Use it to run ld.so.
71445         (test_wrapper_env): Likewise.
71446         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
71447         $(test-wrapper) to run-iconv-test.sh.
71448         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
71449         (ICONV): Use $test_wrapper.
71450         * posix/Makefile ($(objpfx)globtest.out): Pass
71451         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
71452         globtest.sh, not $(run-program-prefix).
71453         * posix/globtest.sh (run_via_rtld_prefix): New variable.
71454         (test_wrapper): Likewise.
71455         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
71456         set together with run_via_rtld_prefix.
71457         (run_program_prefix): Define in terms of test_wrapper and
71458         run_via_rtld_prefix.
71460 2012-10-24  Roland McGrath  <roland@hack.frob.com>
71462         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
71463         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
71464         Targets removed.
71466         [BZ #14743]
71467         * include/time.h: Remove librt_hidden_proto (clock_gettime).
71468         Declare __clock_getres, __clock_gettime, __clock_settime,
71469         __clock_nanosleep, and __clock_getcpuclockid.
71470         * rt/clock_gettime.c: Define __clock_gettime as an alias.
71471         Remove librt_hidden_def (clock_gettime).
71472         * sysdeps/unix/clock_gettime.c: Likewise.
71473         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
71474         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
71475         * rt/clock_getres.c: Define __clock_getres as an alias.
71476         * sysdeps/posix/clock_getres.c: Likewise.
71477         * rt/clock_settime.c: Define __clock_settime as an alias.
71478         * sysdeps/unix/clock_settime.c: Likewise.
71479         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
71480         * sysdeps/unix/clock_nanosleep.c: Likewise.
71481         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
71482         * rt/clock-compat.c: New file.
71483         * rt/Makefile (librt-routines): Add clock-compat and move
71484         $(clock-routines) to ...
71485         (routines): ... here, new variable.
71486         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
71487         Don't add get_clockfreq here.
71488         * rt/Versions (libc: GLIBC_2.17): New version set.
71489         Add clock_* symbols here.
71490         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
71491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
71492         (GLIBC_2.17): Add clock_* symbols.
71493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71497         Likewise.
71498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71499         Likewise.
71500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71504         * NEWS: Mention the move.
71506         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
71507         Use __open, __read, __close rather than their public counterparts.
71508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71509         (__get_clockfreq_via_cpuinfo): Likewise.
71510         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
71511         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
71513         * config.h.in (HAVE_IFUNC): New #undef.
71514         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
71515         was successful.
71516         * configure: Regenerated.
71518 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71520         * configure.in: Move READELF check to start of file.
71521         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
71522         libc_cv_asm_gnu_indirect_function in the process.
71523         * configure: Regenerated.
71525 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
71527         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
71528         send the output to /dev/null.
71529         (libc_cv_cc_with_libunwind): Likewise.
71530         (libc_cv_as_noexecstack): Likewise.
71531         * configure: Regenerate.
71533 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
71535         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
71537         * posix/globtest.sh (TMPDIR): Do not set.
71538         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
71539         (testout): Likewise.
71541 2012-10-24  Andreas Jaeger  <aj@suse.de>
71543         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
71544         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
71545         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
71546         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
71547         posix_fadvise64, posix_fallocate64.
71549         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
71550         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
71551         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
71552         Likewise.
71553         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
71554         Likewise.
71555         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
71557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
71558         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
71559         <bits/fcntl-linux.h>.
71560         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
71562         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
71563         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
71564         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
71565         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
71566         [__WORDSIZE != 64]: Likewise.
71568 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71570         * Makeconfig (run-built-tests): New variable.
71571         * Rules [$(cross-compiling) = yes]: Change condition to
71572         [$(run-built-tests) = no].
71573         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
71574         to [$(run-built-tests) = yes].
71575         * elf/Makefile [$(cross-compiling) = no]: Likewise.
71576         * grp/Makefile [$(cross-compiling) = no]: Likewise.
71577         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
71578         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
71579         * intl/Makefile [$(cross-compiling) = no]: Likewise.
71580         * io/Makefile [$(cross-compiling) = no]: Likewise.
71581         * libio/Makefile [$(cross-compiling) = no]: Likewise.
71582         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
71583         * misc/Makefile [$(cross-compiling) = no]: Likewise.
71584         * posix/Makefile [$(cross-compiling) = no]: Likewise.
71585         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
71586         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
71587         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
71588         * string/Makefile [$(cross-compiling) = no]: Likewise.
71590         * posix/Makefile ($(objpfx)globtest.out): Pass
71591         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
71592         $(rtld-installed-name).
71593         * posix/globtest.sh (elf_objpfx): Remove variable.
71594         (rtld_installed_name): Likewise.
71595         (library_path): Likewise.
71596         (run_program_prefix): New variable.  Use for running globtest
71597         binary.
71599 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
71600             Joseph Myers  <joseph@codesourcery.com>
71602         * Makeconfig (host-built-program-cmd): New variable.
71603         * elf/Makefile (tst-stackguard1-ARGS): Use
71604         $(host-built-program-cmd).
71605         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
71606         (tst-spawn-ARGS): Likewise.
71607         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
71609 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
71610             Jim Blandy  <jimb@codesourcery.com>
71612         * Makeconfig (run-via-rtld-prefix): New variable.
71613         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
71614         (built-program-cmd): Likewise.
71616 2012-10-22  Andreas Jaeger  <aj@suse.de>
71618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
71619         __O_RSYNC if it exists, otherwise to O_SYNC.
71621 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
71622             Joseph Myers  <joseph@codesourcery.com>
71624         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
71625         /dev/null.
71626         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
71627         from /dev/null
71628         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
71629         /dev/null.
71631 2012-10-22  Andreas Jaeger  <aj@suse.de>
71633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
71634         Define always.
71635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
71637         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71638         bits/fcntl-linux.h.
71640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
71641         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
71643         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
71644         to __O_LARGEFILE.
71645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
71646         to __O_LARGEFILE.
71648 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
71649             Joseph Myers  <joseph@codesourcery.com>
71651         * config.make.in (NM): New variable.
71653 2012-10-21  Andreas Jaeger  <aj@suse.de>
71655         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
71656         definitions and declarations that are provided by
71657         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71659 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71661         [BZ #14683]
71662         * elf/Makefile (tests-static): Add tst-leaks1-static.
71663         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
71664         ($(objpfx)tst-leaks1-static): New rule.
71665         ($(objpfx)tst-leaks1-static-mem): Likewise.
71666         (tst-leaks1-static-ENV): New macro.
71667         * elf/dl-open.c (dl_open_worker): Check the main application
71668         only if SHARED is defined.
71669         * elf/tst-leaks1-static.c: New file.
71671 2012-10-20  Andreas Jaeger  <aj@suse.de>
71673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
71674         generic values for Linux.
71675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
71676         and declarations that are provided by <bits/fcntl-linux.h> and
71677         include <bits/fcntl-linux.h>.
71678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71681 2012-10-20  Roland McGrath  <roland@hack.frob.com>
71683         * io/fcntl.h: Move include of <bits/types.h> to the top and
71684         include it unconditionally.
71686 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
71688         * wcsmbs/Makefile (tests-ifunc): New variable.
71689         (tests): Add $(tests-ifunc).
71690         * wcsmbs/test-wcschr-ifunc.c: New file.
71691         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
71692         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
71693         * wcsmbs/test-wcslen-ifunc.c: Likewise.
71694         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
71695         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
71697         * string/Makefile (tests-ifunc): New variable.
71698         (tests): Add $(tests-ifunc).
71699         * string/test-memccpy.c (TEST_NAME): New macro.
71700         * string/test-memchr.c (TEST_NAME): Likewise.
71701         * string/test-memcmp.c (TEST_NAME): Likewise.
71702         * string/test-memcpy.c (TEST_NAME): Likewise.
71703         * string/test-memmem.c (TEST_NAME): Likewise.
71704         * string/test-memmove.c (TEST_NAME): Likewise.
71705         * string/test-memset.c (TEST_NAME): Likewise.
71706         * string/test-rawmemchr.c (TEST_NAME): Likewise.
71707         * string/test-stpcpy.c (TEST_NAME): Likewise.
71708         * string/test-stpncpy.c (TEST_NAME): Likewise.
71709         * string/test-strcasecmp.c (TEST_NAME): Likewise.
71710         * string/test-strcasestr.c (TEST_NAME): Likewise.
71711         * string/test-strcat.c (TEST_NAME): Likewise.
71712         * string/test-strchr.c (TEST_NAME): Likewise.
71713         * string/test-strcmp.c(TEST_NAME): Likewise.
71714         * string/test-strcpy.c (TEST_NAME): Likewise.
71715         * string/test-strcspn.c (TEST_NAME): Likewise.
71716         * string/test-strlen.c (TEST_NAME): Likewise.
71717         * string/test-strncasecmp.c (TEST_NAME): Likewise.
71718         * string/test-strncmp.c (TEST_NAME): Likewise.
71719         * string/test-strncpy.c (TEST_NAME): Likewise.
71720         * string/test-strnlen.c (TEST_NAME): Likewise.
71721         * string/test-strpbrk.c (TEST_NAME): Likewise.
71722         * string/test-strrchr.c (TEST_NAME): Likewise.
71723         * string/test-strspn.c (TEST_NAME): Likewise.
71724         * string/test-strstr.c (TEST_NAME): Likewise.
71725         * string/test-bcopy-ifunc.c: New file.
71726         * string/test-bzero-ifunc.c: Likewise.
71727         * string/test-memccpy-ifunc.c: Likewise.
71728         * string/test-memchr-ifunc.c: Likewise.
71729         * string/test-memcmp-ifunc.c: Likewise.
71730         * string/test-memcpy-ifunc.c: Likewise.
71731         * string/test-memmem-ifunc.c: Likewise.
71732         * string/test-memmove-ifunc.c: Likewise.
71733         * string/test-mempcpy-ifunc.c: Likewise.
71734         * string/test-memset-ifunc.c: Likewise.
71735         * string/test-rawmemchr-ifunc.c: Likewise.
71736         * string/test-stpcpy-ifunc.c: Likewise.
71737         * string/test-stpncpy-ifunc.c: Likewise.
71738         * string/test-strcasecmp-ifunc.c: Likewise.
71739         * string/test-strcasestr-ifunc.c: Likewise.
71740         * string/test-strcat-ifunc.c: Likewise.
71741         * string/test-strchr-ifunc.c: Likewise.
71742         * string/test-strchrnul-ifunc.c: Likewise.
71743         * string/test-strcmp-ifunc.c: Likewise.
71744         * string/test-strcpy-ifunc.c: Likewise.
71745         * string/test-strcspn-ifunc.c: Likewise.
71746         * string/test-strlen-ifunc.c: Likewise.
71747         * string/test-strncasecmp-ifunc.c: Likewise.
71748         * string/test-strncat-ifunc.c: Likewise.
71749         * string/test-strncmp-ifunc.c: Likewise.
71750         * string/test-strncpy-ifunc.c: Likewise.
71751         * string/test-strnlen-ifunc.c: Likewise.
71752         * string/test-strpbrk-ifunc.c: Likewise.
71753         * string/test-strrchr-ifunc.c: Likewise.
71754         * string/test-strspn-ifunc.c: Likewise.
71755         * string/test-strstr-ifunc.c: Likewise.
71757         * debug/Makefile (tests-ifunc): New variable.
71758         (tests): Add $(tests-ifunc).
71759         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
71760         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
71761         * debug/test-stpcpy_chk-ifunc.c: New file.
71762         * debug/test-strcpy_chk-ifunc.c: Likewise.
71764 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
71766         [BZ #13601]
71767         * elf/dl-load.c (open_verify): Retry read if the entire ELF
71768         header is not read in.
71770 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
71772         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
71773         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
71774         directly.  Pass built executable to script as
71775         $(built-program-cmd).
71776         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
71777         $testprogram without using LD_LIBRARY_PATH and $ldso.
71779         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
71780         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
71781         $(rtld-installed-name).
71782         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
71783         (rtld_installed_name): Likewise.
71784         (library_path): Likewise.
71785         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
71786         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
71787         $(run-program-prefix) to tst-tables.sh.
71788         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
71789         it to run tst-table-from and tst-table-to.
71790         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
71791         Pass it to tst-table.sh.
71792         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
71793         $(run-program-prefix) to tst-gettext.sh.
71794         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
71795         tst-translit.sh.
71796         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
71797         tst-gettext2.sh.
71798         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
71799         to run tst-gettext.
71800         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
71801         to run tst-gettext2.
71802         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
71803         to run tst-translit.
71804         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
71805         $(run-program-prefix) to tst-mtrace.sh.
71806         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
71807         to run tst-mtrace.
71808         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
71809         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
71810         $(rtld-installed-name).
71811         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
71812         (rtld_installed_name): Likewise.
71813         (run_program_prefix): New variable.  Use it to run wordexp-test.
71815         * Makeconfig (ARCH): Remove all definitions.
71816         (machine): Likewise.
71817         [ARCH]: Remove conditional code.
71818         [!objdir]: Give error.
71819         [!objdir] (objpfx): Remove.
71820         [!objdir] (common-objpfx): Likewise.
71821         [!objdir] (common-objdir): Likewise.
71822         * configure.in (config_makefile): Remove.  Hardcode Makefile in
71823         AC_CONFIG_FILES call.
71824         * configure: Regenerated.
71826         [BZ #13888]
71827         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
71828         or TMPDIR.
71829         (testout): Likewise.
71831         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
71832         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
71833         $(rtld-installed-name).
71834         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
71835         (rtld_installed_name): Likewise.
71836         (runit): Remove function.
71837         (run_getconf): New variable,  Use it for running getconf binary.
71839 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
71841         [BZ #14716]
71842         * string/test-memmem.c (check_result): New function.
71843         (do_one_test): Use it.
71844         (check1): New function.
71845         (test_main): Use it.
71847 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
71849         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
71851 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
71853         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
71854         (_G_LSEEK64): Likewise.
71855         (_G_MMAP64): Likewise.
71856         (_G_FSTAT64): Likewise.
71857         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
71858         (_G_LSEEK64): Likewise.
71859         (_G_MMAP64): Likewise.
71860         (_G_FSTAT64): Likewise.
71861         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
71862         unconditional.  Call __mmap64 directly.
71863         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
71864         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
71865         __lseek64 directly.
71866         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
71867         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
71868         __mmap64 directly.
71869         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
71870         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71871         __lseek64 directly.
71872         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
71873         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
71874         __lseek64 directly.
71875         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
71876         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
71877         __lseek64 directly.
71878         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
71879         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
71880         __fxstat64 directly.
71881         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
71882         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
71883         unconditional.
71884         (freopen64) [!_G_OPEN64]: Remove conditional code.
71885         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
71886         unconditional.
71887         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
71888         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
71889         unconditional.
71890         (ftello64) [!_G_LSEEK64]: Remove conditional code.
71891         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
71892         unconditional.
71893         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71894         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
71895         unconditional.
71896         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
71897         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
71898         unconditional.
71899         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71900         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
71901         unconditional.
71902         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
71903         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
71904         unconditional.
71905         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
71907 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71909         [BZ #12140]
71910         * manual/memory.texi (Malloc Tunable Parameters): Add note
71911         about free list pointers overwriting some perturb bytes.
71912         Wording suggested by Roland McGrath.
71914 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
71916         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
71917         (lgamma_test): Likewise.
71918         (tgamma_test): Likewise.
71920 2012-10-16  Florian Weimer  <fweimer@redhat.com>
71922         [BZ #14700]
71923         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
71924         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
71926 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
71928         * NEWS: Mention BZ #14716.
71929         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
71930         when removing AVAILABLE1_USES_J macro.
71932 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
71934         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
71935         (__bswap_64): __uint64_t for unsigned 64-bit int.
71937 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
71939         * include/string.h (memmem): Declare libc hidden alias.
71940         * string/memmem.c (memmem): Define libc hidden alias.
71941         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
71942         __read, __close instead of open, read, close.
71944 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
71946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
71947         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
71948         global and hidden.
71949         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
71950         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
71951         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
71952         Likewise.
71953         (__rawmemchr_sse2): Likewise.
71954         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
71955         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
71956         (__strchr_sse2): Likewise.
71957         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
71958         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
71959         (__strcasecmp_sse2): Likewise.
71960         (__strncasecmp_sse2): Likewise.
71961         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
71962         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
71963         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
71964         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
71965         (__strrchr_sse2): Likewise.
71966         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
71967         ifunc-impl-list.c.
71968         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
71969         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
71970         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
71971         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71972         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
71973         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
71974         * sysdeps/x86_64/multiarch/memset.S: Likewise.
71975         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
71976         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
71977         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
71978         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
71979         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
71980         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
71981         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
71982         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
71983         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
71984         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
71985         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
71986         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
71987         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
71988         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
71989         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
71990         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
71991         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
71992         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
71993         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71994         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
71995         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71996         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
71997         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
71999         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72000         global and hidden.
72001         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72002         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72003         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72004         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72005         Likewise.
72006         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72007         Likewise.
72008         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72009         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72010         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72011         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72012         ifunc-impl-list.c.
72013         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72014         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72015         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72016         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72017         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72018         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72019         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72020         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72021         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72022         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72023         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72024         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72025         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72026         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72027         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72028         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72029         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72030         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72031         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72032         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72033         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72034         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72035         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72036         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72038         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72039         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72040         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72042         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72043         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72044         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72045         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72046         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72047         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72048         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72049         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72050         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72051         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72052         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72053         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
72055         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
72056         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
72057         * include/ifunc-impl-list.h: New file.
72058         * misc/ifunc-impl-list.c: Likewise.
72059         * misc/Makefile (routines): Add ifunc-impl-list.
72060         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
72061         * string/test-string.h: Include <ifunc-impl-list.h>.
72062         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
72063         TEST_NAME]: New variables.
72064         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
72065         are defined.
72066         (test_init): Call __libc_ifunc_impl_list to initialize
72067         func_list if TEST_IFUNC and TEST_NAME are defined.
72069         * string/Makefile (strop-tests): Add bcopy and bzero.
72070         * string/test-bcopy.c: New file.
72071         * string/test-bzero.c: Likewise.
72072         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
72073         defined.
72074         * string/test-memset.c: Support bzero test if TEST_BZERO is
72075         defined.
72076         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
72077         __libc_memmove.
72078         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
72079         __libc_memset.
72080         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
72081         of memset.
72083 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
72085         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
72086         * configure: Regenerated.
72088         * Makeconfig (+link-static-before-libc): Don't include
72089         $(link-static-libc).
72091         * libio/libio.h (_IO_pos_t): Remove.
72093 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72095         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
72096         McGrath.
72098 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72100         * crypt/crypt-entry.c: Include fips-private.h.
72101         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
72102         * crypt/md5c-test.c (main): Tolerate disabled MD5.
72103         * sysdeps/unix/sysv/linux/fips-private.h: New file.
72104         * sysdeps/generic/fips-private.h: New file, dummy fallback.
72106 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
72108         * crypt/crypt-private.h: Include stdbool.h.
72109         (_ufc_setup_salt_r): Return bool.
72110         * crypt/crypt-entry.c: Include errno.h.
72111         (__crypt_r): Return NULL with EINVAL for bad salt.
72112         * crypt/crypt_util.c (bad_for_salt): New.
72113         (_ufc_setup_salt_r): Check that salt is long enough and within
72114         the specified alphabet.
72115         * crypt/badsalttest.c: New file.
72116         * crypt/Makefile (tests): Add it.
72117         ($(objpfx)badsalttest): New.
72119 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
72121         * NEWS: Add entry for BZ #14602.
72123 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72125         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
72126         type-generic.
72127         * math/libm-test.inc: Update comment listing what functions and
72128         macros are tested.
72129         (isgreater_test): New function.
72130         (isgreaterequal_test): Likewise.
72131         (isless_test): Likewise.
72132         (islessequal_test): Likewise.
72133         (islessgreater_test): Likewise.
72134         (isunordered_test): Likewise.
72135         (main): Call the new functions.
72137 2012-10-09  Roland McGrath  <roland@hack.frob.com>
72139         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
72140         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
72141         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
72142         * sysdeps/i386/configure: Regenerated.
72143         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
72144         * sysdeps/mach/configure: Regenerated.
72145         * sysdeps/mach/hurd/configure: Regenerated.
72146         * sysdeps/powerpc/configure: Regenerated.
72147         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72148         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72149         * sysdeps/s390/s390-32/configure: Regenerated.
72150         * sysdeps/s390/s390-64/configure: Regenerated.
72151         * sysdeps/sh/configure: Regenerated.
72152         * sysdeps/sparc/configure: Regenerated.
72153         * sysdeps/unix/sysv/linux/configure: Regenerated.
72154         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
72155         * sysdeps/x86_64/configure: Regenerated.
72157         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
72158         defined.  Don't check if MAP is NULL.
72160 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
72162         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
72163         (_G_stat64): Likewise.
72164         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
72165         (_G_stat64): Likewise.
72166         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
72167         instead of struct _G_stat64.
72168         * libio/fileops.c (mmap_remap_check): Likewise.
72169         (decide_maybe_mmap): Likewise.
72170         (_IO_new_file_seekoff): Likewise.
72171         (_IO_file_stat): Likewise.
72172         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
72173         _G_off64_t.
72174         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
72175         instead of struct _G_stat64.
72176         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72178 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
72180         [BZ #14602]
72181         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72182         Replace with ...
72183         (CHECK_EOL): New macro.
72184         (two_way_short_needle): Check beginning of haystack for EOL.  Use
72185         CHECK_EOL.
72186         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72187         Replace with CHECK_EOL.
72188         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
72189         Replace with CHECK_EOL.
72191 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
72193         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
72194         type-generic.
72195         * math/libm-test.inc: Update comment listing what functions and
72196         macros are tested.
72197         (finite_test): New function.
72198         (isinf_test): Likewise.
72199         (isnan_test): Likewise.
72200         (fpclassify_test): Test subnormal input.
72201         (isfinite_test): Likewise.
72202         (isnormal_test): Likewise.
72203         (main): Call the new functions.
72205 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
72207         [BZ #14660]
72208         * Makerules (%.dynsym): Force C locale when running
72209         $(OBJDUMP) --dynamic-syms.
72211 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
72213         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
72214         <stdint.h>.
72216 2012-10-06  David S. Miller  <davem@davemloft.net>
72218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
72219         upper 32-bits of the length value in %o2 since we use branch-on-register
72220         tests which consider the entire 64-bit register.
72222 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
72224         * string/test-strstr.c (check2): Add a test for page boundary.
72226 2012-10-05  David S. Miller  <davem@davemloft.net>
72228         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
72229         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
72230         file.
72231         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72232         sysdep_routines.
72233         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72234         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
72235         and bzero when HWCAP_SPARC_CRYPTO is present.
72237 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
72239         [BZ #14602]
72240         * string/test-strstr.c (check2): New function.
72241         (test_main): Call check2.
72243         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
72244         and bug-strchr1.
72245         * string/bug-strcasestr1.c (do_test): Moved to ...
72246         * string/test-strcasestr.c (check1): Here.  New function.
72247         (do_one_test): Break out result checking code into ...
72248         (check_result): This.  New function.
72249         (do_one_test): Call check_result.
72250         (test_main): Call check1.
72251         * string/bug-strchr1.c (do_test): Moved to ...
72252         * string/test-strchr.c (check1): Here.  New function.
72253         (do_one_test): Break out result checking code into ...
72254         (check_result): This.  New function.
72255         (do_one_test): Call check_result.
72256         (test_main): Call check1.
72257         * string/bug-strstr1.c (main): Moved to ...
72258         * string/test-strstr.c (check1): Here.  New function.
72259         (do_one_test): Break out result checking code into ...
72260         (check_result): This.  New function.
72261         (do_one_test): Call check_result.
72262         (test_main): Call check1.
72263         * string/bug-strcasestr1.c: Removed.
72264         * string/bug-strchr1.c: Likewise.
72265         * string/bug-strstr1.c: Likewise.
72267         * elf/Makefile (dl-routines): Add hwcaps.
72268         * elf/dl-support.c (_dl_important_hwcaps): Removed.
72269         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
72270         (_dl_important_hwcaps): Moved to ...
72271         * elf/dl-hwcaps.c: Here.  New file.
72272         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
72274         [BZ #14557]
72275         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
72276         if IS_IN_rtld isn't defined.
72278         * elf/dl-support.c (_dl_sysinfo_map): New.
72279         Include "get-dynamic-info.h" and "setup-vdso.h".
72280         (_dl_non_dynamic_init): Call setup_vdso.
72281         * elf/dynamic-link.h: Don't include <assert.h>.
72282         (elf_get_dynamic_info): Moved to ...
72283         * elf/get-dynamic-info.h: Here.  New file.
72284         * elf/dynamic-link.h: Include "get-dynamic-info.h".
72285         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
72286         * elf/setup-vdso.h: Here.  New file.
72287         * elf/rtld.c: Include "setup-vdso.h".
72288         (dl_main): Call setup_vdso.
72290 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
72292         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
72293         creal in comment listing functions tested.  List finite, isinf,
72294         isnan, isless, islessequal, isgreater, isgreaterequal,
72295         islessgreater, isunordered, lgamma_r and pow10 as functions and
72296         macros not tested.  Mention which functions not tested are aliases
72297         for other functions.  Fix typo.  Note that signs of NaNs are not
72298         tested.
72300         * scripts/config.guess: Update from config.git.
72301         * scripts/config.sub: Likewise.
72303 2012-10-04  Roland McGrath  <roland@hack.frob.com>
72305         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
72306         * misc/madvise.c (madvise): Renamed to __madvise.
72307         Make madvise a weak alias.
72308         * include/sys/mman.h: Declare __madvise.
72309         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
72310         * sysdeps/unix/syscalls.list
72311         (madvise): Make __madvise the strong name, and madvise a weak alias.
72312         * sysdeps/unix/sysv/linux/syscalls.list
72313         (madvise, mmap): Remove redundant entries.
72314         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
72315         * malloc/malloc.c (mtrim): Likewise.
72316         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
72318 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72320         * sysdeps/mach/hurd/dl-cache.c: File removed.
72321         * config.h.in (USE_LDCONFIG): New #undef.
72322         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
72323         * configure: Regenerated.
72324         * elf/Makefile (dl-routines): Add dl-cache only under
72325         [$(use-ldconfig) = yes].
72326         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
72327         cache on [USE_LDCONFIG].
72328         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
72329         [USE_LDCONFIG].
72330         * elf/rtld.c (dl_main): Likewise.
72332 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
72334         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
72335         _SC_LEVEL4_CACHE_LINESIZE.
72337 2012-10-03  Roland McGrath  <roland@hack.frob.com>
72339         * sysdeps/unix/bsd/confstr.h: File removed.
72341 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
72343         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
72344         sys/sdt-config.h.
72346 2012-10-02  Roland McGrath  <roland@hack.frob.com>
72348         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
72349         Make 'mapoff' field ElfW(Off) rather than off_t.
72351 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
72353         * nscd/Makefile: Remove nscd-cflags and all its users.
72354         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
72355         (CFLAGS-nonlib): Add compiler flags for nscd modules.
72357         [BZ #10631]
72358         * malloc.c (malloc_printerr): Clarify error message.
72360 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
72362         [BZ #14648]
72363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72364         Set bit_FMA_Usable if FMA is supported.
72365         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
72366         macro.
72367         (bit_FMA4_Usable): Updated.
72368         (index_FMA_Usable): New macro.
72369         (CPUID_FMA): Likewise.
72370         (HAS_FMA): Defined with bit_FMA_Usable.
72372 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72374         * bits/types.h (__swblk_t): Type removed.
72375         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
72376         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
72377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72378         (__SWBLK_T_TYPE): Likewise.
72379         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72380         (__SWBLK_T_TYPE): Likewise.
72381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72382         (__SWBLK_T_TYPE): Likewise.
72383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72384         (__SWBLK_T_TYPE): Likewise.
72386 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
72387             Honza Horak <hhorak@redhat.com>
72389         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
72390         (xdr_mapname): Use YPMAXMAP as maxsize.
72391         (xdr_peername): Use YPMAXPEER as maxsize.
72392         (xdr_keydat): Use YPAXRECORD as maxsize.
72393         (xdr_valdat): Use YPMAXRECORD as maxsize.
72395 2012-10-01  Roland McGrath  <roland@hack.frob.com>
72397         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
72399         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
72400         * csu/init-first.c: ... here.
72401         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
72402         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
72403         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
72404         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
72405         * sysdeps/i386/init-first.c: File removed.
72406         * sysdeps/sh/init-first.c: File removed.
72408 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
72410         [BZ #14645]
72411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
72412         if x * y might underflow to zero and z is zero.
72413         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72415         * math/libm-test.inc (min_subnorm_value): New variable.
72416         (fma_test): Add more tests.
72417         (fma_test_towardzero): Likewise.
72418         (fma_test_downward): Likewise.
72419         (fma_test_upward): Likewise.
72420         (initialize): Set min_subnorm_value.
72422 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
72424         [BZ #14638]
72425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
72426         0 + 0.
72427         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
72428         mode for addition resulting in exact zero.
72429         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
72430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
72431         exact 0 + 0.
72432         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72434         * math/libm-test.inc (fma_test): Add more tests.
72435         (fma_test_towardzero): New function.
72436         (fma_test_downward): Likewise.
72437         (fma_test_upward): Likewise.
72438         (main): Call the new functions.
72440 2012-09-28  David S. Miller  <davem@davemloft.net>
72442         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
72444 2012-09-28  Roland McGrath  <roland@hack.frob.com>
72446         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
72447         instead of SIGALRM.
72449         * sysdeps/gnu/_G_config.h: Moved to ...
72450         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
72451         * sysdeps/mach/hurd/_G_config.h: Moved to ...
72452         * sysdeps/generic/_G_config.h: ... here.
72454         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
72456         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
72458         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
72459         Conditionalize target on [libnss_test1.so-version].
72461         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
72463         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
72464         (elfobjdir): Move out of conditionals.
72466         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
72467         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
72468         (__nss_lookup_function): Conditionalize label remove_from_tree on
72469         [!DO_STATIC_NSS || SHARED], matching its only use.
72471 2012-09-28  David S. Miller  <davem@davemloft.net>
72473         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
72474         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
72475         file.
72476         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
72477         sysdep_routines.
72478         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
72479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
72480         when HWCAP_SPARC_CRYPTO is present.
72482 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72484         * io/tst-mknodat.c: Create a FIFO instead of a socket.
72486 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
72488         [BZ #6530]
72489         * stdio-common/vfprintf.c (process_string_arg): Revert
72490         2000-07-22 change.
72492 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
72494         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
72495         for testcase.
72496         * stdio-common/tst-sprintf.c: Include <locale.h>
72497         (main): Test sprintf's handling of incomplete multibyte
72498         characters.
72500 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
72502         * elf/dl-runtime.c (VERSYMIDX): Removed.
72503         * elf/dl-version.c (VERSYMIDX): Likewise.
72504         * elf/do-rel.h (VERSYMIDX): Likewise.
72505         (VALIDX): Likewise.
72506         * elf/dynamic-link.h (VERSYMIDX): Likewise.
72507         * elf/rtld.c (VALIDX): Likewise.
72508         (ADDRIDX): Likewise.
72509         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
72510         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
72511         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
72512         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
72513         (VALIDX): Likewise.
72514         (ADDRIDX): Likewise.
72516 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72518         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
72520 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
72522         [BZ #11438]
72523         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
72524         to global scope.
72525         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
72526         addresses are in the same scope as 192.0.2/24.
72527         * posix/gai.conf: Document new scope table defaults.
72529 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72531         [BZ #5298]
72532         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
72533         for ftell.  Compute offsets from write pointers instead.
72534         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
72536 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72538         [BZ #14543]
72539         * libio/Makefile (tests): New test case tst-fseek.
72540         * libio/tst-fseek.c: New test case to verify that fseek/ftell
72541         combination works in wide mode.
72542         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
72543         state when the external buffer state changes.
72545 2012-09-27  David S. Miller  <davem@davemloft.net>
72547         [BZ #14376]
72548         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
72549         pass reloc->r_addend in as the 'high' argument to
72550         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
72552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72554 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
72556         * rt/tst-aio2.c: Include <pthread.h>.
72557         * rt/tst-aio3.c: Likewise.
72559 2012-09-27  Steve Ellcey  <sellcey@mips.com>
72561         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
72563 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
72565         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
72566         contents on [SHARED].
72568 2012-09-26  Marek Polacek  <polacek@redhat.com>
72570         [BZ #14530]
72571         [BZ #13741]
72572         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
72573         for C++ and GCC <4.3 as well as for non GCC compilers.
72575 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
72577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72579 2012-09-25  Roland McGrath  <roland@hack.frob.com>
72581         * Makefile.in (all, install): Declare with .PHONY.
72582         Reported by Michael Hope <michael.hope@linaro.org>.
72584 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72586         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
72587         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
72588         system header.
72589         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
72590         Likewise.
72591         (sydep_routines): Add the new and the internal functions.
72592         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
72593         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
72594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
72595         (GLIBC_2.17): Add the new function.
72596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72597         (GLIBC_2.17): Likewise.
72598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
72599         (GLIBC_2.17): Likewise.
72600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
72601         (GLIBC_2.17): Likewise.
72602         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
72604 2012-09-25  Alan Modra  <amodra@gmail.com>
72606         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
72607         Add release barrier before setting once_control to say
72608         initialisation is done.  Add hints on lwarx.  Use macro in
72609         place of isync.
72610         (clear_once_control): Add release barrier.
72612 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72614         [BZ #13629]
72615         * math/s_clog.c (__clog): Handle more values close to |z| = 1
72616         specially.
72617         * math/s_clog10.c (__clog10): Likewise.
72618         * math/s_clog10f.c (__clog10f): Likewise.
72619         * math/s_clog10l.c (__clog10l): Likewise.
72620         * math/s_clogf.c (__clogf): Likewise.
72621         * math/s_clogl.c (__clogl): Likewise.
72622         * math/Makefile (libm-calls): Add x2y2m1.
72623         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
72624         (__x2y2m1): Likewise.
72625         (__x2y2m1l): Likewise.
72626         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
72627         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
72628         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
72629         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
72630         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
72631         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
72632         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
72633         * sysdeps/i386/fpu/libm-test-ulps: Update.
72634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72636         [BZ #14621]
72637         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
72638         int as type of variable DEPTH.
72639         (glob): Use size_t instead of int as type of variables NEWCOUNT
72640         and OLD_PATHC.
72642 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72644         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
72645         Add s_sincosf-sse2.
72646         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
72647         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
72648         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
72649         macros for using routine as __sincosf_ia32.
72650         Use macro for function declaration and weak_alias.
72651         * sysdeps/i386/fpu/libm-test-ulps: Update.
72653         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
72654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72656         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
72657         subnormal argument.
72658         * math/s_cexpf.c (__cexpf): Likewise.
72659         * math/s_csinf.c (__csinf): Likewise.
72660         * math/s_csinhf.c (__csinhf): Likewise.
72661         * math/s_ctanf.c (__ctanf): Likewise.
72662         * math/s_ctanhf.c (__ctanhf): Likewise.
72663         * math/s_ccosh.c (__ccoshf): Likewise.
72664         * math/s_cexp.c (__cexpl): Likewise.
72665         * math/s_csin.c (__csin): Likewise.
72666         * math/s_csinh.c (__csinh): Likewise.
72667         * math/s_ctan.c (__ctan): Likewise.
72668         * math/s_ctanh.c (ctanh): Likewise.
72669         * math/s_ccoshl.c (__ccoshl): Likewise.
72670         * math/s_cexpl.c (__cexpl): Likewise.
72671         * math/s_csinl.c (__csinl): Likewise.
72672         * math/s_csinhl.c (__csinhl): Likewise.
72673         * math/s_ctanl.c (__ctanl): Likewise.
72674         * math/s_ctanhl.c (__ctanhl): Likewise.
72676 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
72678         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
72679         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
72680         (_IO_off_t): Define to __off_t, not _G_off_t.
72681         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
72682         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
72683         (_IO_wint_t): Define to wint_t, not _G_wint_t.
72684         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
72685         type of __dummy and __dummy2 fields.
72686         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
72687         (_G_ssize_t): Likewise.
72688         (_G_off_t): Likewise.
72689         (_G_pid_t): Likewise.
72690         (_G_uid_t): Likewise.
72691         (_G_wchar_t): Likewise.
72692         (_G_wint_t): Likewise.
72693         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
72694         (_G_ssize_t): Likewise.
72695         (_G_off_t): Likewise.
72696         (_G_pid_t): Likewise.
72697         (_G_uid_t): Likewise.
72698         (_G_wchar_t): Likewise.
72699         (_G_wint_t): Likewise.
72700         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
72701         (_G_ssize_t): Likewise.
72702         (_G_off_t): Likewise.
72703         (_G_pid_t): Likewise.
72704         (_G_uid_t): Likewise.
72705         (_G_wchar_t): Likewise.
72706         (_G_wint_t): Likewise.
72708 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72710         * malloc/arena.c: Include malloc-sysdep.h.
72711         (shrink_heap): Use check_may_shrink_heap to decide if madvise
72712         is sufficient to shrink the heap or an unmap is needed.
72713         * sysdeps/generic/malloc-sysdep.h: New file.  Define
72714         new function check_may_shrink_heap.
72715         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
72716         new function check_may_shrink_heap.
72718 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72720         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
72721         comments.
72723 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
72725         * catgets/test-gencat.sh: Add "set -e".
72726         * elf/tst-pathopt.sh: Likewise.
72727         * grp/tst_fgetgrent.sh: Likewise.
72728         * iconvdata/run-iconv-test.sh: Likewise.
72729         * intl/tst-gettext.sh: Likewise.
72730         * intl/tst-gettext2.sh: Likewise.
72731         * intl/tst-gettext4.sh: Likewise.
72732         * intl/tst-gettext6.sh: Likewise.
72733         * intl/tst-translit.sh: Likewise.
72734         * io/ftwtest-sh: Likewise.
72735         * libio/test-freopen.sh: Likewise.
72736         * malloc/tst-mtrace.sh: Likewise.
72737         * posix/globtest.sh: Likewise.
72738         * posix/tst-getconf.sh: Likewise.
72739         * posix/wordexp-tst.sh: Likewise.
72740         * stdio-common/tst-printf.sh: Likewise.
72741         * stdio-common/tst-unbputc.sh: Likewise.
72742         * stdlib/tst-fmtmsg.sh: Likewise.
72743         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72744         * catgets/Makefile: Do not specify -e option when running
72745         testsuite shell scripts.
72746         * elf/Makefile: Likewise.
72747         * grp/Makefile: Likewise.
72748         * iconvdata/Makefile: Likewise.
72749         * intl/Makefile: Likewise.
72750         * io/Makefile: Likewise.
72751         * libio/Makefile: Likewise.
72752         * malloc/Makefile: Likewise.
72753         * posix/Makefile: Likewise.
72754         * stdio-common/Makefile: Likewise.
72755         * stdlib/Makefile: Likewise.
72756         * sysdeps/x86_64/Makefile: Likewise.
72758         * io/ftwtest-sh: Add copyright header.
72759         * posix/globtest.sh: Likewise.
72760         * posix/tst-getconf.sh: Likewise.
72761         * posix/wordexp-tst.sh: Likewise.
72762         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
72764 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
72766         [BZ #13679]
72767         * Makeconfig (+link): Defined as $(+link-static) if
72768         $(build-shared) isn't yes.
72769         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
72770         isn't yes.
72771         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
72773         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
72775         [BZ #14562]
72776         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
72777         new chunk size with MALLOC_ALIGN_MASK.
72779 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
72781         [BZ #5044]
72782         * stdio-common/printf_fphex.c: Include <stdbool.h> and
72783         <rounding-mode.h>.
72784         (__printf_fphex): Determine rounding using get_rounding_mode and
72785         round_away.
72786         * stdio-common/tst-printf-round.c (struct hex_test): New
72787         structure.
72788         (hex_tests): New variable.
72789         (test_hex_in_one_mode): New function.
72790         (do_test): Also run tests for hex float output.
72792 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
72794         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72795         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72796         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
72797         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
72798         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
72799         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
72800         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
72803 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
72805         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
72806         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
72807         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
72808         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
72810 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
72812         [BZ #14579]
72813         * elf/rtld.c (dl_main): Limit the check for self loading to normal
72814         mode only.
72815         * elf/tst-rtld-load-self.sh: New test.
72816         * elf/Makefile: Run it.
72818 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
72820         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
72821         (tst-writev-ENV): Remove.
72822         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
72824 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
72826         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
72828 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
72830         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
72831         unconditional.
72832         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
72833         Likewise.
72834         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72835         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
72836         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
72837         Likewise.
72839 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
72841         [BZ #14587]
72842         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
72843         * config.make.in (have-cpp-asm-debuginfo): Removed.
72844         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
72845         * configure: Regenerated.
72847 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
72849         [BZ #5044]
72850         * stdio-common/printf_fp.c: Include <stdbool.h> and
72851         <rounding-mode.h>.
72852         (___printf_fp): Determine rounding using get_rounding_mode and
72853         round_away.
72854         * stdio-common/tst-printf-round.c: New file.
72855         * stdio-common/Makefile (tests): Add tst-printf-round.
72856         (link-libm): New variable.
72857         ($(objpfx)tst-printf-round): Depend in $(link-libm).
72859 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
72861         [BZ #14576]
72862         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
72863         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
72864         Likewise.
72865         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
72866         Likewise.
72868 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
72870         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
72871         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72872         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72873         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
72875 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
72877         [BZ #14518]
72878         * include/rounding-mode.h: New file.
72879         * sysdeps/generic/get-rounding-mode.h: Likewise.
72880         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
72881         * stdlib/strtod_l.c: Include <rounding-mode.h>.
72882         (MAX_VALUE): New macro.
72883         (MIN_VALUE): Likewise.
72884         (overflow_value): New function.
72885         (underflow_value): Likewise.
72886         (round_and_return): Use overflow_value and underflow_value to
72887         determine return values in overflow and underflow cases.  Use
72888         round_away to determine rounding depending on rounding mode.
72889         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
72890         determine return values in overflow and underflow cases.
72891         * stdlib/tst-strtod-round.c: Include <fenv.h>.
72892         (struct test_results): New structure.
72893         (struct test): Use struct test_results to store expected results
72894         for all rounding modes.
72895         (TEST): Include expected results for all rounding modes.
72896         (test_in_one_mode): New function.
72897         (do_test): Use test_in_one_mode to compute and check results.
72898         Check results for all rounding modes.
72899         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
72900         $(link-libm).
72902 2012-12-09  Allan McRae  <allan@archlinux.org>
72904         * sysdeps/i386/fpu/libm-test-ulps: Update
72906 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
72908         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
72909         (_G_int32_t): Likewise.
72910         (_G_uint16_t): Likewise.
72911         (_G_uint32_t): Likewise.
72912         (_G_HAVE_BOOL): Likewise.
72913         (_G_HAVE_ATEXIT): Likewise.
72914         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72915         (_G_HAVE_IO_FILE_OPEN): Likewise.
72916         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
72917         (_G_int32_t): Likewise.
72918         (_G_uint16_t): Likewise.
72919         (_G_uint32_t): Likewise.
72920         (_G_HAVE_BOOL): Likewise.
72921         (_G_HAVE_ATEXIT): Likewise.
72922         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72923         (_G_HAVE_IO_FILE_OPEN): Likewise.
72924         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
72925         (_G_int32_t): Likewise.
72926         (_G_uint16_t): Likewise.
72927         (_G_uint32_t): Likewise.
72928         (_G_HAVE_BOOL): Likewise.
72929         (_G_HAVE_ATEXIT): Likewise.
72930         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
72931         (_G_HAVE_IO_FILE_OPEN): Likewise.
72933 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
72935         * csu/libc-tls.c: Update copyright years.
72937 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
72939         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
72940         [!_G_USING_THUNKS]: Remove conditional code.
72941         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
72942         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
72944         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
72945         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
72946         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72947         (_G_VTABLE_LABEL_PREFIX): Likewise.
72948         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72949         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72950         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72951         (_G_VTABLE_LABEL_PREFIX): Likewise.
72952         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72953         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
72954         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
72955         (_G_VTABLE_LABEL_PREFIX): Likewise.
72956         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
72958 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
72960         * libio/Makefile: Include ../Makeconfig before tests.
72961         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
72962         only if $(build-shared) is yes.
72964         * iconv/gconv_db.c: Update copyright years.
72966 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72968         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
72969         unwind info if defined PIC. Fix special cases description.
72970         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
72972         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
72973         DP_HI_MASK entry.
72974         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
72976 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
72978         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
72980         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
72981         is NULL.
72983         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
72984         (LDLIBS-tst-chk4): This.
72985         (LDFLAGS-tst-chk5): Renamed to ...
72986         (LDLIBS-tst-chk5): This.
72987         (LDFLAGS-tst-chk6): Renamed to ...
72988         (LDLIBS-tst-chk6): This.
72989         (LDFLAGS-tst-lfschk4): Renamed to ...
72990         (LDLIBS-tst-lfschk4): This.
72991         (LDFLAGS-tst-lfschk5): Renamed to ...
72992         (LDLIBS-tst-lfschk5): This.
72993         (LDFLAGS-tst-lfschk6): Renamed to ...
72994         (LDLIBS-tst-lfschk6): This.
72996         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
72997         on $(common-objpfx)soversions.mk.
72999 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73001         [BZ #10014]
73002         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73003         example host name.
73005 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73007         * malloc/arena.c (arena_get_retry): New function that gets
73008         another arena for the caller to try its request on.
73009         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73010         current arena cannot fulfill the request.
73011         (__libc_memalign): Likewise.
73012         (__libc_memalign): Likewise.
73013         (__libc_pvalloc): Likewise.
73014         (__libc_calloc): Likewise.
73016 2012-09-05  John Tobey  <john.tobey@gmail.com>
73018         [BZ #13542]
73019         * manual/arith.texi (Operations on Complex): Fix description
73020         of carg branch cut.
73022 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73024         [BZ #10014]
73025         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73026         host name.
73028         [BZ #10038]
73029         * manual/memory.texi (Memory): Make order of menu items match
73030         order of sections.
73032 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73034         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73035         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73036         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73038 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73040         * csu/libc-tls.c (static_dtv): Renamed to ...
73041         (_dl_static_dtv): This.  Make it global.
73042         (_dl_initial_dtv): Removed.
73043         (__libc_setup_tls): Updated.
73044         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73045         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73046         DL_INITIAL_DTV.
73048 2012-09-06  Petr Machata  <pmachata@redhat.com>
73050         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
73051         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
73052         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
73053         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
73055 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73057         [BZ #14545]
73058         * csu/libc-tls.c (_dl_initial_dtv): New variable.
73059         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
73060         freeing dtv[-1].
73062 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73064         [BZ #14544]
73065         * Makeconfig (link-static-before-libc): Replace $(+prector)
73066         with $(+prectorT).
73067         (link-static-after-libc): Replace $(+postctor) with
73068         $(+postctorT).
73069         (link-bounded): Replace $(+prector)/$(+postctor) with
73070         $(+prectorT)/$(+postctorT).
73071         (+prectorT): New macro.
73072         (+postctorT): Likewise.
73074 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73076         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
73077         (round_str): Handle values above the maximum for IBM long double
73078         as inexact.
73079         * stdlib/tst-strtod-round.c (tests): Regenerated.
73081 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73083         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
73084         assembler flag.
73085         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
73086         zarch_nohighgprs around the zarch optimized routines.
73087         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
73088         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
73089         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
73090         for zarch.
73092 2012-09-05  David S. Miller  <davem@davemloft.net>
73094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73096         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
73097         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
73098         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
73099         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73100         entries.
73102 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73104         * malloc/arena.c: Fold copyright years.
73105         * malloc/mcheck.c, malloc/memusage.c: Likewise.
73107 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73109         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73113         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
73115 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73117         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
73118         change internal state upon failure.
73120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
73122         * malloc/mcheck.c (mcheck_check_all): Fix typo.
73123         * malloc/memusage.c (mmap): Likewise.
73124         (mmap64, mremap): Likewise.  Adjust name in comment.
73126 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73128         * libio/fileops.c: Fix typos in comments.
73129         * libio/oldfileops.c: Likewise.
73130         * libio/wfileops.c: Likewise.
73132 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
73134         [BZ #1349]
73135         * malloc/Makefile (tests): Add tst-malloc-usable test case.
73136         (tst-malloc-usable-ENV): Set environment for test case.
73137         * malloc/hooks.c (malloc_check_get_size): New function to get
73138         requested size.
73139         * malloc/malloc.c (musable): Use malloc_check_get_size.
73140         * malloc/tst-malloc-usable.c: New test case.
73142 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73144         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
73146 2012-09-05  Allan McRae  <allan@archlinux.org>
73148         [BZ #13966]
73149         * configure.in (CXX_SYSINCLUDES): Use compiler output to
73150         determine header location.
73151         * configure: Regenerated.
73153 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73155         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
73156         float format.
73157         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
73158         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
73159         format.
73160         (test): Regenerate.
73162 2012-09-04  David S. Miller  <davem@davemloft.net>
73164         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
73165         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
73166         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
73168 2012-09-04  Florian Weimer  <fweimer@redhat.com>
73170         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
73171         failures.
73173         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73175 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
73177         [BZ #9914]
73178         * libio/iogetdelim.c: Include <limits.h>.
73179         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
73180         + len + 1 would overflow.
73182 2012-09-03  Andreas Jaeger  <aj@suse.de>
73184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73185         * sysdeps/i386/fpu/libm-test-ulps: Update.
73187 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73189         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73190         Add s_sinf-sse2, s_conf-sse2.
73192         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
73193         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
73194         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
73195         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
73197         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
73198         for using routine as __sinf_ia32.
73199         Use macro for function declaration and weak_alias.
73200         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
73201         for using routine as __cosf_ia32.
73202         Use macro for function declaration and weak_alias.
73204         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
73205         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
73207         * sysdeps/x86_64/fpu/s_sinf.S: New file.
73208         * sysdeps/x86_64/fpu/s_cosf.S: New file.
73209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73211         * math/libm-test.inc (cos_test): Add more test cases.
73212         (sin_test): Likewise.
73213         (sincos_test): Likewise.
73215 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73217         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
73218         (IFUNC_RESOLVE): Make pointers to the specialized implementations
73219         hidden.
73220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
73222 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
73224         [BZ #14538]
73225         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
73226         first element of the GOT.
73227         (elf_machine_load_address): Return the difference between
73228         the runtime address of _DYNAMIC and elf_machine_dynamic ().
73230 2012-09-01  Allan McRae  <allan@archlinux.org>
73232         [BZ #13412]
73233         * configure.in (AWK): Require gawk version 3.0 or later.
73234         * configure: Regenerated.
73236 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
73238         * sysdeps/unix/sysv/linux/kernel-features.h
73239         (__ASSUME_POSIX_CPU_TIMERS): Remove.
73240         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73241         [__NR_clock_getres]: Make code unconditional.
73242         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
73243         (clock_getcpuclockid): Remove code left unreachable by removal of
73244         conditionals.
73245         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
73246         code unconditional.
73247         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73248         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73249         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
73250         Make code unconditional.
73251         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
73252         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73253         * sysdeps/unix/sysv/linux/clock_settime.c
73254         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
73255         conditional code.
73256         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
73257         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
73259 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
73261         [BZ #14476]
73262         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
73263         scripts/test-installation.pl.
73265         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
73266         and $ld_so_version if it is set.
73268 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73270         [BZ #14516]
73271         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
73272         failure if reading from procfs failed.
73273         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
73275 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73277         * sysdeps/unix/sysv/linux/kernel-features.h
73278         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
73279         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73280         Remove conditional code.
73281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73282         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
73283         Remove conditional code.
73284         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73285         * sysdeps/unix/sysv/linux/i386/fxstat.c
73286         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73288         * sysdeps/unix/sysv/linux/i386/fxstatat.c
73289         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73291         * sysdeps/unix/sysv/linux/i386/lxstat.c
73292         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
73293         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73294         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
73295         Remove conditional code.
73296         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73297         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
73298         Remove conditional code.
73299         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73300         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
73301         <kernel-features.h>.
73302         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
73303         Remove.
73304         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
73305         Remove conditional code.
73306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
73307         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73308         Remove conditional.
73310 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
73312         [BZ #5400]
73313         * NEWS: Add fixed bug number.
73315 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
73317         [BZ #14519]
73318         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
73319         underflowing exponent in case of negative sign.
73320         * stdlib/tst-strtod-round-data: Add more tests.
73321         * stdlib/tst-strtod-round.c (tests): Regenerated.
73323         [BZ #3479]
73324         * stdlib/strtod_l.c (NDIG): Remove.
73325         (HEXNDIG): Likewise.
73326         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
73327         smallest representable value.
73328         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
73329         lie within an exact representation of 1/2 ulp of the result.
73330         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
73331         unconditionally.
73332         (TENS_P9_IDX): Define unconditionally.
73333         (TENS_P9_SIZE): Likewise.
73334         (TENS_P10_IDX): Likewise.
73335         (TENS_P10_SIZE): Likewise.
73336         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
73337         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
73338         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
73339         entries for 10^2^13 and 10^2^14.
73340         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
73341         (TENS_P13_IDX): Define.
73342         (TENS_P13_SIZE): Likewise.
73343         (TENS_P14_IDX): Likewise.
73344         (TENS_P14_SIZE): Likewise.
73345         (_fpioconst_pow10): Change array size to
73346         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
73347         unconditional.
73348         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
73349         1024]: Add entries for 10^2^13 and 10^2^14.
73350         [LAST_POW10 > _LAST_POW10]: Remove #error.
73351         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
73352         (_fpioconst_pow10): Change array size to
73353         FPIOCONST_POW10_ARRAY_SIZE.
73354         * stdlib/gen-fpioconst.c: New file.
73355         * stdlib/gen-tst-strtod-round.c: Likewise.
73356         * stdlib/tst-strtod-round-data: Likewise.
73357         * stdlib/tst-strtod-round.c: Likewise.
73358         * stdlib/Makefile (tests): Add tst-strtod-round.
73360         [BZ #14459]
73361         * stdlib/strtod_l.c: Include <stdint.h>.
73362         (NDEBUG): Do not define.
73363         (round_and_return): Change EXPONENT parameter to type intmax_t.
73364         Rearrange calculations to avoid internal overflow possibilities.
73365         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
73366         Rearrange calculations to avoid internal overflow possibilities.
73367         Assert that number fits inside MPNSIZE limbs.
73368         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
73369         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
73370         calculations and add assertions to avoid internal overflow
73371         possibilities.  Add casts to avoid signed/unsigned operations.
73372         * stdlib/tst-strtod-overflow.c: New file.
73373         * stdlib/Makefile (tests): Add tst-strtod-overflow.
73375 2012-08-25  Marek Polacek  <polacek@redhat.com>
73377         * time/time.h: Fix some typos in comments.
73379 2012-08-23  Roland McGrath  <roland@hack.frob.com>
73381         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
73382         * posix/tst-rfc3484-2.c: Likewise.
73383         * posix/tst-rfc3484-3.c: Likewise.
73385 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
73387         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
73388         (EF_ARM_ABI_FLOAT_HARD): Likewise.
73390 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
73392         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
73393         #include of fxstatat64.c.
73395 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73397         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
73398         * shadow/getspent_r.c: Likewise.
73399         * shadow/getspnam.c: Likewise.
73400         * shadow/getspnam_r.c: Likewise.
73401         * gshadow/getsgent.c: Likewise.
73402         * gshadow/getsgent_r.c: Likewise.
73403         * gshadow/getsgnam.c: Likewise.
73404         * gshadow/getsgnam_r.c: Likewise.
73405         * inet/getnetbyad.c: Likewise.
73406         * inet/getnetbyad_r.c: Likewise.
73407         * inet/getnetbynm.c: Likewise.
73408         * inet/getnetbynm_r.c: Likewise.
73409         * inet/getnetent.c: Likewise.
73410         * inet/getnetent_r.c: Likewise.
73411         * inet/getproto.c: Likewise.
73412         * inet/getproto_r.c: Likewise.
73413         * inet/getprtent.c: Likewise.
73414         * inet/getprtent_r.c: Likewise.
73415         * inet/getprtname.c: Likewise.
73416         * inet/getprtname_r.c: Likewise.
73417         * inet/getrpcbyname.c: Likewise.
73418         * inet/getrpcbyname_r.c: Likewise.
73419         * inet/getrpcbynumber.c: Likewise.
73420         * inet/getrpcbynumber_r.c: Likewise.
73421         * inet/getrpcent.c: Likewise.
73422         * inet/getrpcent_r.c: Likewise.
73423         * inet/getaliasent.c: Likewise.
73424         * inet/getaliasent_r.c: Likewise.
73425         * inet/getaliasname.c: Likewise.
73426         * inet/getaliasname_r.c: Likewise.
73427         * nscd/getgrgid_r.c: Likewise.
73428         * nscd/getgrnam_r.c: Likewise.
73429         * nscd/gethstbyad_r.c: Likewise.
73430         * nscd/gethstbynm3_r.c: Likewise.
73431         * nscd/getpwnam_r.c: Likewise.
73432         * nscd/getpwuid_r.c: Likewise.
73433         * nscd/getsrvbynm_r.c: Likewise.
73434         * nscd/getsrvbypt_r.c: Likewise.
73435         * nscd/gai.c: Likewise.
73437         * configure.in (build_nscd): New substituted variable, set
73438         by --disable-build-nscd and defaults to $use_nscd.
73439         * configure: Regenerated.
73440         * config.make.in (build-nscd): New substituted variable.
73441         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
73442         Change conditional to require [$(build-nscd) = yes] as well.
73443         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
73445         [BZ #13696]
73446         * configure.in (use_nscd): New substituted variable, set by
73447         --disable-nscd.  If enabled, define USE_NSCD.
73448         * configure: Regenerated.
73449         * config.h.in: Add USE_NSCD.
73450         * config.make.in (use-nscd): New substituted variable.
73451         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
73452         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
73453         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
73454         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
73455         (CFLAGS-getgrnam_r.c): Likewise.
73456         (CFLAGS-initgroups.c): Likewise.
73457         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
73458         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
73459         Variables removed.
73460         * inet/getnetgrent_r.c
73461         (nscd_setnetgrent): New function, broken out of ...
73462         (setnetgrent): ... here.  Call it.
73463         (innetgr): Conditionalize nscd bits on [USE_NSCD].
73464         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
73465         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
73466         * nscd/Makefile (routines, aux): Move definitions after include of
73467         Makeconfig.  Conditionalize on [$(use-nscd) != no].
73468         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
73469         Conditionalize on [USE_NSCD].
73470         (is_nscd, nscd_init_cb): Likewise.
73471         (nss_load_library): Conditionalize init callback on [USE_NSCD].
73472         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
73473         * nss/nss_db/db-init.c: Likewise.
73474         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
73475         [USE_NSCD].
73476         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
73477         (make_request): Use it.
73478         (cache_valid_p): New function.
73479         (__check_pf): Use it.
73480         * NEWS: Add item for --disable-nscd.
73482 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
73484         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
73485         to support sed >= 4.2.1-20-ga9bf076.
73486         * configure: Regenerated.
73488 2012-08-22  Roland McGrath  <roland@hack.frob.com>
73490         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
73491         Conditionalize whole body on [IREL].
73493 2012-08-22  Jeff Law <law@redhat.com>
73495         [BZ #14505]
73496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
73497         if the family is PF_UNSPEC.
73499 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
73501         * Makerules (lib-version): Rename from V.
73502         (install-lib-nosubdir): Change V to lib-version.
73504 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
73506         [BZ #14252]
73507         * powerpc32/power6/wcschr.c: New file.
73508         * powerpc32/power6/wcscpy.c: New file.
73509         * powerpc32/power6/wcsrchr.c: New file.
73510         * powerpc64/power6/wcschr.c: New file.
73511         * powerpc64/power6/wcscpy.c: New file.
73512         * powerpc64/power6/wcsrchr.c: New file.
73514 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73516         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
73517         (two_way_short_needle): Use it.
73518         * string/strstr.c (AVAILABLE1_USES_J): Define.
73519         * string/strcasestr.c: Likewise.
73521         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
73522         array references.
73523         * string/strcasestr.c (TOLOWER): Make side-effect safe.
73525         [BZ #11607]
73526         * NEWS: Add an entry.
73527         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
73528         define their defaults.
73529         (two_way_short_needle): Detect end-of-string on-the-fly.
73530         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
73531         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
73532         * string/bug-strcasestr1.c: New test.
73533         * string/Makefile: Run it.
73535 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
73537         [BZ #11607]
73538         * string/str-two-way.h (two_way_short_needle): Optimize matching of
73539         the first character.
73541 2012-08-21  Roland McGrath  <roland@hack.frob.com>
73543         * csu/elf-init.c (__libc_csu_irel): Function removed.
73544         * csu/libc-start.c (apply_irel): New function.
73545         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
73547 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
73549         * sysdeps/unix/sysv/linux/kernel-features.h
73550         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
73551         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
73552         <kernel-features.h>.
73553         [__NR_fadvise64_64]: Make code unconditional.
73554         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
73555         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73556         !__NR_fadvise64_64)]: Likewise.
73557         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
73558         !__NR_fadvise64_64))]: Likewise.
73559         [__NR_fadvise64]: Make code unconditional.
73560         [!__NR_fadvise64]: Remove conditional code.
73561         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
73562         <kernel-features.h>.
73563         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73564         unconditional.
73565         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73566         conditional code.
73567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
73568         not include <kernel-features.h>.
73569         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73570         unconditional.
73571         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73572         conditional code.
73573         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
73574         include <kernel-features.h>.
73575         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
73576         unconditional.
73577         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
73578         conditional code.
73580 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73582         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
73583         slight instruction rearrangements per scrollpipe analysis.
73584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
73586 2012-08-20  Roland McGrath  <roland@hack.frob.com>
73588         * manual/syslog.texi (syslog; vsyslog, closelog):
73589         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
73590         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
73592         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
73593         DSOCAPS to match condition on defining it.
73595 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
73597         * sysdeps/unix/sysv/linux/kernel-features.h
73598         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
73599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
73600         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73601         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
73603         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73604         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
73606         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
73607         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
73609         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
73610         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
73612         * sysdeps/unix/sysv/linux/kernel-features.h
73613         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
73614         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
73615         unconditional.
73616         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73617         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
73618         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73619         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73620         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
73621         Make code unconditional.
73622         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73623         (__mmap64) [!__NR_mmap2]: Likewise.
73624         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
73625         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
73626         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73627         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
73628         [__NR_mmap2]: Make code unconditional.
73629         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
73630         (__mmap64) [!__NR_mmap2]: Likewise.
73632 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73634         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
73636 2012-08-18  Andreas Jaeger  <aj@suse.de>
73638         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
73640 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73642         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
73643         * include/unistd.h (__have_sock_cloexec): Likewise.
73644         (__have_pipe2): Likewise.
73645         (__have_dup3): Likewise.
73647 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
73649         [BZ #9685]
73650         * include/unistd.h (__have_pipe2): Change define into an extern int.
73651         (__have_dup3): Likewise.
73652         * socket/have_sock_cloexec.c: Include fcntl.h.
73653         (__have_pipe2): New variable.
73654         (__have_dup3): Likewise.
73656 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
73658         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
73660 2012-08-17  Marek Polacek  <polacek@redhat.com>
73662         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
73663         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
73665 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73667         * configure.in: Add AC_SUBST for sysheaders.
73668         * configure: Regenerated.
73669         * config.make.in (sysheaders): New substituted variable.
73671         * sysdeps/unix/mkfifo.c: Moved ...
73672         * sysdeps/posix/mkfifo.c: ... here.
73673         * sysdeps/unix/mkfifoat.c: Moved ...
73674         * sysdeps/posix/mkfifoat.c: ... here.
73676         * sysdeps/unix/utime.c: Moved ...
73677         * sysdeps/posix/utime.c: ... here.
73679         * sysdeps/unix/time.c: Moved ...
73680         * sysdeps/posix/time.c: ... here.
73681         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
73682         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
73684         * sysdeps/unix/nice.c: Moved ...
73685         * sysdeps/posix/nice.c: ... here.
73687         * sysdeps/unix/alarm.c: Moved ...
73688         * sysdeps/posix/alarm.c: ... here.
73690         * intl/Makefile ($(codeset_mo)): Depend on the input file.
73692 2012-08-17  Jeff Law <law@redhat.com>
73694         * intl/Makefile (codeset_mo): New variable.
73695         ($(codeset_mo)): New target.
73696         (tst-codeset.out): Depend on that.  Remove explicit rule.
73697         (tst-gettext3.out, tst-gettext5.out): Likewise.
73698         (LOCPATH-ENV, tst-codeset-ENV): New variables.
73699         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
73700         * intl/tst-codeset.sh: Remove.
73701         * intl/tst-gettext3.sh: Likewise.
73702         * intl/tst-gettext5.sh: Likewise.
73704 2012-08-17  Roland McGrath  <roland@hack.frob.com>
73706         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
73707         * sysdeps/unix/syscalls.list: ... here.
73709         * sysdeps/posix/getaddrinfo.c
73710         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
73711         (gaiconf_init, gaiconf_reload): Use them.
73712         [!_STATBUF_ST_NSEC]
73713         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
73714         Define using time_t rather than struct timespec.
73716         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
73717         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
73718         Macros removed.
73719         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
73720         [!NO_THREADS].
73721         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
73722         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
73723         Likewise.
73725         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
73726         __libc_cleanup_push argument.
73728         * bits/param.h: New file.
73729         * misc/sys/param.h: New file.
73730         * include/sys/param.h: New file.
73731         * misc/Makefile (headers): Add bits/param.h.
73732         * sysdeps/generic/sys/param.h: File removed.
73733         * sysdeps/unix/sysv/linux/bits/param.h: New file.
73734         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
73735         * sysdeps/mach/hurd/bits/param.h: New file.
73736         * sysdeps/mach/hurd/sys/param.h: File removed.
73738         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
73739         last change.
73741         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
73742         [_IO_MTSAFE_IO].
73743         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
73744         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
73745         New macros.
73747         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
73748         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
73749         rather than -D_IO_MTSAFE_IO conditionally.
73750         * stdio-common/Makefile (CPPFLAGS): Likewise.
73751         * wcsmbs/Makefile (CPPFLAGS): Likewise.
73752         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
73753         Use $(libio-mtsafe).
73754         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
73755         of -D_IO_MTSAFE_IO.
73756         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
73757         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
73758         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
73759         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
73760         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
73761         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
73762         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
73763         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
73764         (CFLAGS-fread_u_chk.c): Likewise.
73765         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
73766         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
73767         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
73768         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
73769         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
73770         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
73771         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
73772         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
73773         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
73775         * libio/Makefile: Test [$(libc-reentrant) = yes]
73776         instead of [$(filter %REENTRANT, $(defines)) nonempty].
73778         * Makeconfig
73779         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
73780         * sysdeps/pthread/configure: File removed.
73781         * sysdeps/pthread/Makeconfig: New file.
73782         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
73783         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
73785 2012-08-16  Gary Benson  <gbenson@redhat.com>
73787         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
73788         unmapping the first object in a namespace.
73790 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73792         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
73793         (__internal_setnetgrent): ... this.  Add internal_function to
73794         definition.  Add libc_hidden_def.
73795         (setnetgrent): Update caller.
73796         (internal_endnetgrent): Renamed to ...
73797         (__internal_endnetgrent): ... this.  Add internal_function to
73798         definition.  Add libc_hidden_def.
73799         (endnetgrent): Update caller.
73800         (internal_getnetgrent_r): Renamed to ...
73801         (__internal_getnetgrent_r): ... this.  Add internal_function to
73802         definition.  Add libc_hidden_def.
73803         (__getnetgrent_r): Update caller.
73804         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
73806 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73808         * stdlib/longlong.h: Update from GCC.
73810 2012-08-16  Roland McGrath  <roland@hack.frob.com>
73812         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
73813         on _QL, which is set by umul_ppmm but never used.
73814         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
73815         variables, which are set by GMP macros but never used.
73816         * stdio-common/_itowa.c (_itowa): Likewise.
73817         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
73818         * stdlib/mod_1.c (mpn_mod_1): Likewise.
73820 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
73822         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
73823         struct La_sh_regs is not constant.
73824         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
73825         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
73826         and struct La_sparc64_regs are not constant.
73828 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
73830         * sysdeps/unix/sysv/linux/kernel-features.h
73831         (__ASSUME_POSIX_TIMERS): Remove.
73832         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
73833         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73834         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
73835         Make code unconditional.
73836         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73837         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
73838         Make code unconditional.
73839         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73840         * sysdeps/unix/sysv/linux/clock_nanosleep.c
73841         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
73842         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73843         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
73844         Make code unconditional.
73845         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
73846         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
73847         (__libc_missing_posix_timers): Remove.
73849 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73851         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
73852         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
73854         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
73856         * elf/dl-sym.c: Include <stdlib.h>.
73858         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
73859         constants, which avoids warnings in 32-bit builds.
73861         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
73862         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
73864         * misc/lseek.c: File moved to ...
73865         * io/lseek.c: ... here.
73867         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
73869         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
73870         shifting LEN more than 31 bits at once.
73872 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73874         [BZ #14195]
73875         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
73876         segmentation fault for a case of two empty input strings.
73877         * string/test-strncasecmp.c (check1): Renamed to...
73878         (bz12205): ...this.
73879         (bz14195): Add new testcase for two empty input strings and N > 0.
73880         (test_main): Call new testcase, adapt for renamed function.
73882 2012-08-15  Andreas Jaeger  <aj@suse.de>
73884         [BZ #14090]
73885         * crypt/md5test2.c: New test, based on test supplied by Serge
73886         Belyshev <belyshev@depni.sinp.msu.ru>.
73887         * crypt/Makefile (xtests): Add md5test-giant..
73888         * crypt/Makefile ($(objpfx)md5test-giant): Add.
73890 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
73892         [BZ #14090]
73893         * crypt/md5.c (md5_process_block): Don't assume the buffer
73894         length is less than 2**32.
73895         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
73896         length is less than 2**64.
73898 2012-08-15  Roland McGrath  <roland@hack.frob.com>
73900         * string/str-two-way.h: Include <sys/param.h>.
73901         (MAX): Macro removed.
73903         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
73904         Move #define and #undef of memmove to just before and after
73905         including <string.h>.
73907         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
73908         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
73909         and after including <string.h>.  Move declarations of
73910         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
73911         to before #include "string/memmove.c".
73913         * include/dirent.h: Declare __getdirentries.
73915         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
73916         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
73918 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
73920         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
73921         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
73922         * sysdeps/i386/configure: Regenerated.
73923         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
73924         STABS_CURRENT_FILE, and STABS_FUN.
73925         (END): Remove call to STABS_FUN_END.
73926         (STABS_CURRENT_FILE1): Delete.
73927         (STABS_CURRENT_FILE): Likewise.
73928         (STABS_FUN): Likewise.
73929         (STABS_FUN_END): Likewise.
73930         (STABS_FUN2): Likewise.
73931         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
73932         * sysdeps/x86_64/configure: Regenerated.
73934 2012-08-14  Roland McGrath  <roland@hack.frob.com>
73936         * elf/dl-open.c: Include <atomic.h>.
73937         * elf/dl-lookup.c: Likewise.
73939 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
73941         * sysdeps/unix/sysv/linux/kernel-features.h
73942         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
73943         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
73944         unconditionally.
73945         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
73946         unconditionally.
73947         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
73948         condition on __ASSUME_CLONE_THREAD_FLAGS.
73950 2012-08-14  Andreas Jaeger  <aj@suse.de>
73952         * sysdeps/i386/fpu/libm-test-ulps: Update.
73954 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
73956         * include/atomic.h (atomic_exchange_and_add): Split into ...
73957         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
73958         New atomic macros.
73960 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
73962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73964 2012-08-13  Jeff Law <law@redhat.com>
73966         * manual/stdio.texi (snprintf): Clarify handling of the trailing
73967         null byte in the output string.
73969 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
73971         * sysdeps/unix/sysv/linux/kernel-features.h
73972         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
73973         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
73974         (__ASSUME_ARG_MAX_STACK_BASED): Define.
73975         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
73976         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
73977         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
73978         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
73980 2012-08-09  Jeff Law <law@redhat.com>
73982         [BZ #13939]
73983         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
73984         When avoid_arena is set, don't retry in the that arena.  Pick the
73985         next one, whatever it might be.
73986         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
73987         (arena_lock): Pass in new parameter to arena_get2.
73988         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
73989         arena_get2.
73990         (__libc_malloc): Unify retrying after main arena failure with
73991         __libc_memalign version.
73992         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
73994 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
73996         [BZ #14166]
73997         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
73998         to __redirect_strstr.
73999         (__strstr_sse42): Use typeof __redirect_strstr.
74000         (__strstr_ia32): Likewise.
74001         (__libc_strstr): New prototype.
74002         (strstr): Renamed to ...
74003         (__libc_strstr): This.
74004         (strstr): New strong alias of __libc_strstr.
74005         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74006         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74007         __redirect_time.
74008         Include <time.h>.
74009         (__libc_time): New prototype.
74010         (time_ifunc): Replace time with __libc_time.
74011         (time): New strong alias and hidden definition of __libc_time.
74012         (__GI_time): Remove strong alias.
74013         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74014         Include <stddef.h>.
74015         (memmove): Redefined to __redirect_memmove.
74016         (__memmove_sse2): Use typeof __redirect_memmove.
74017         (__memmove_ssse3): Likewise.
74018         (__memmove_ssse3_back): Likewise.
74019         (__libc_memmove): New prototype.
74020         (memmove): Renamed to ...
74021         (__libc_memmove): This.
74022         (memmove): New strong alias of __libc_memmove.
74024 2012-08-08  Mark Salter  <msalter@redhat.com>
74026         * elf/elf.h
74027         (R_MN10300_TLS_GD): Define.
74028         (R_MN10300_TLS_LD): Likewise.
74029         (R_MN10300_TLS_LDO): Likewise.
74030         (R_MN10300_TLS_GOTIE): Likewise.
74031         (R_MN10300_TLS_IE): Likewise.
74032         (R_MN10300_TLS_LE): Likewise.
74033         (R_MN10300_TLS_DTPMOD): Likewise.
74034         (R_MN10300_TLS_DTPOFF): Likewise.
74035         (R_MN10300_TLS_TPOFF): Likewise.
74036         (R_MN10300_SYM_DIFF): Likewise.
74037         (R_MN10300_ALIGN): Likewise.
74038         (R_MN10300_NUM): Update.
74040 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74042         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74043         Remove.
74045 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74047         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74049         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
74050         sysdeps/unix -> sysdeps/posix move.
74051         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
74053 2012-08-07      Allan McRae     <allan@archlinux.org>
74055         [BZ #14303]
74056         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
74057         (SUNOS_CPP): Likewise.
74058         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
74059         not found.
74060         (open_input): Call CPP using execvp.
74062 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74064         * sysdeps/unix/sysv/linux/kernel-features.h
74065         (__ASSUME_PROT_GROWSUPDOWN): Remove.
74066         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74067         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74068         (__ASSUME_WAITID_SYSCALL): Likewise.
74069         * sysdeps/unix/sysv/linux/dl-execstack.c
74070         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
74071         code unconditional.
74072         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
74073         conditional code.
74074         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
74075         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
74076         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
74077         code.
74078         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
74079         unconditional.
74080         [__ASSUME_WAITID_SYSCALL]: Likewise.
74081         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
74083 2012-08-07  Roland McGrath  <roland@hack.frob.com>
74085         * sysdeps/unix/closedir.c: Renamed to ...
74086         * sysdeps/posix/closedir.c: ... here.
74087         * sysdeps/unix/dirfd.c: Renamed to ...
74088         * sysdeps/posix/dirfd.c: ... here.
74089         * sysdeps/unix/dirstream.h: Renamed to ...
74090         * sysdeps/posix/dirstream.h: ... here.
74091         * sysdeps/unix/fdopendir.c: Renamed to ...
74092         * sysdeps/posix/fdopendir.c: ... here.
74093         * sysdeps/unix/opendir.c: Renamed to ...
74094         * sysdeps/posix/opendir.c: ... here.
74095         * sysdeps/unix/readdir.c: Renamed to ...
74096         * sysdeps/posix/readdir.c: ... here.
74097         * sysdeps/unix/readdir_r.c: Renamed to ...
74098         * sysdeps/posix/readdir_r.c: ... here.
74099         * sysdeps/unix/rewinddir.c: Renamed to ...
74100         * sysdeps/posix/rewinddir.c: ... here.
74101         * sysdeps/unix/seekdir.c: Renamed to ...
74102         * sysdeps/posix/seekdir.c: ... here.
74103         * sysdeps/unix/telldir.c: Renamed to ...
74104         * sysdeps/posix/telldir.c: ... here.
74105         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
74106         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
74107         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
74108         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
74110         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
74111         * bits/fcntl.h: ... here.
74113         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
74114         not 0.
74115         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
74116         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
74117         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
74118         (struct flock): Move l_start, l_len to the beginning.
74119         Use __pid_t for l_pid.
74120         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
74121         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
74122         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
74123         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
74124         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
74125         [__USE_LARGEFILE64] (struct flock64): New type.
74126         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
74128         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
74129         * bits/dirent.h: ... here.
74131         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
74132         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
74134 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
74136         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74137         Change from 2.6.0 to 2.6.16.
74138         * sysdeps/unix/sysv/linux/configure: Regenerated.
74139         * sysdeps/unix/sysv/linux/kernel-features.h
74140         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
74141         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
74142         version.
74143         (__ASSUME_UTIMES): Likewise.
74144         (__ASSUME_CLONE_STOPPED): Remove.
74145         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
74146         architectures, not kernel version.
74147         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
74148         (__ASSUME_NO_CLONE_DETACHED): Likewise.
74149         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
74150         (__ASSUME_WAITID_SYSCALL): Likewise.
74151         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
74152         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
74153         * README: State 2.6.16 as minimum Linux kernel version.  Do not
74154         refer to older versions.
74156 2012-08-06  Roland McGrath  <roland@hack.frob.com>
74158         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
74159         Define alphasort64 as an alias.
74160         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
74161         Define versionsort64 as an alias.
74162         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
74163         Define scandir64 as an alias.
74164         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
74165         Define scandirat64 as an alias.
74166         * dirent/alphasort64.c (alphasort64):
74167         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
74168         * dirent/versionsort64.c: Likewise.
74169         * dirent/scandir64.c: Likewise.
74170         * dirent/scandirat64.c: Likewise.
74171         * sysdeps/wordsize-64/alphasort.c: File removed.
74172         * sysdeps/wordsize-64/alphasort64.c: File removed.
74173         * sysdeps/wordsize-64/scandir.c: File removed.
74174         * sysdeps/wordsize-64/scandir64.c: File removed.
74175         * sysdeps/wordsize-64/scandirat.c: File removed.
74176         * sysdeps/wordsize-64/scandirat64.c: File removed.
74177         * sysdeps/wordsize-64/versionsort.c: File removed.
74178         * sysdeps/wordsize-64/versionsort64.c: File removed.
74179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
74180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
74181         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
74182         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
74183         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
74184         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
74185         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
74186         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
74188         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
74189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74190         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
74191         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74192         [defined __arch64__ || defined __sparcv9]
74193         (__INO_T_MATCHES_INO64_T): New macro.
74194         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74195         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
74196         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
74197         * sysdeps/unix/sysv/linux/bits/dirent.h
74198         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
74199         (_DIRENT_MATCHES_DIRENT64): New macro.
74201         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
74202         Define lockf64 as an alias.
74203         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
74204         Define fseeko64 as an alias.
74205         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
74206         Define ftello64 as an alias.
74207         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
74208         Define _IO_fgetpos64 and fgetpos64 as aliases.
74209         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
74210         Define _IO_fsetpos64 and fsetpos64 as aliases.
74211         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
74212         Conditionalize body on this.
74213         * libio/fseeko64.c: Likewise.
74214         * libio/ftello64.c: Likewise.
74215         * libio/iofgetpos64.c: Likewise.
74216         * libio/iofsetpos64.c: Likewise.
74217         * sysdeps/wordsize-64/lockf.c: File removed.
74218         * sysdeps/wordsize-64/lockf64.c: File removed.
74219         * sysdeps/wordsize-64/fseeko.c: File removed.
74220         * sysdeps/wordsize-64/fseeko64.c: File removed.
74221         * sysdeps/wordsize-64/ftello.c: File removed.
74222         * sysdeps/wordsize-64/ftello64.c: File removed.
74223         * sysdeps/wordsize-64/iofgetpos.c: File removed.
74224         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
74225         * sysdeps/wordsize-64/iofsetpos.c: File removed.
74226         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
74227         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
74228         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
74229         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
74230         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
74231         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
74232         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
74233         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
74234         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
74235         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
74236         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
74238         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
74240         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
74241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74242         [defined __arch64__ || defined __sparcv9]
74243         (__OFF_T_MATCHES_OFF64_T): New macro.
74244         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74245         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
74246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74247         (__OFF_T_MATCHES_OFF64_T): New macro.
74249 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74251         * stdlib/secure-getenv.c (__secure_getenv): Replace
74252         GLIBC_2_16 with GLIBC_2_17.
74254 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
74256         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
74257         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74259 2012-08-03  David S. Miller  <davem@davemloft.net>
74261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74263 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74265         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
74266         Remove.
74267         (__ASSUME_CORRECT_SI_PID): Likewise.
74268         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
74269         (__ASSUME_TMPFS_NAME): Likewise.
74270         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
74271         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
74272         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
74273         (HAVE_AUX_SECURE): Make definition unconditional.
74274         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
74275         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
74277 2012-08-03  Roland McGrath  <roland@hack.frob.com>
74279         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
74280         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
74281         * sysdeps/mach/hurd/eloop-threshold.h: New file.
74282         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74283         __eloop_threshold instead of SYMLOOP_MAX.
74285         * sysdeps/generic/eloop-threshold.h: New file.
74286         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
74287         of MAXSYMLINKS.
74288         * elf/chroot_canon.c (chroot_canon): Likewise.
74290 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
74292         [BZ #13717]
74293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74294         Change to 2.6.0 everywhere.
74295         * sysdeps/unix/sysv/linux/configure: Regenerated.
74296         * sysdeps/unix/sysv/linux/kernel-features.h
74297         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
74298         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
74299         kernel versions.
74300         (__ASSUME_POSIX_TIMERS): Define unconditionally.
74301         (__ASSUME_FUTEX_REQUEUE): Remove.
74302         (__ASSUME_STATFS64): Define unconditionally.
74303         (__ASSUME_AT_SECURE): Likewise.
74304         (__ASSUME_CORRECT_SI_PID): Likewise.
74305         (__ASSUME_TGKILL): Define without depending on kernel version for
74306         i386.
74307         (__ASSUME_UTIMES): Likewise.
74308         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
74309         kernel version.
74310         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
74311         (__ASSUME_TMPFS_NAME): Likewise.
74312         * README: Update reference to Linux kernel versions.
74314 2012-08-02  Marek Polacek  <polacek@redhat.com>
74316         [BZ #14150]
74317         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
74318         libc_cv_asm_type_prefix with %.
74319         * configure: Regenerated.
74320         * include/libc-symbols.h: Remove comment about
74321         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74322         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
74323         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
74324         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
74325         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
74326         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74327         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
74328         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
74329         * elf/tst-unique2mod1.c: Likewise.
74330         * elf/tst-unique1mod2.c: Likewise.
74331         * elf/tst-unique1mod1.c: Likewise.
74332         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
74333         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
74334         Replace ASM_TYPE_DIRECTIVE with .type.
74335         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74336         * sysdeps/i386/sysdep.h: Likewise.
74337         * sysdeps/x86_64/sysdep.h: Likewise.
74338         * sysdeps/sh/sysdep.h: Likewise.
74339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74340         Do not define ASM_TYPE_DIRECTIVE.
74341         * sysdeps/powerpc/sysdep.h: Likewise.
74342         * sysdeps/powerpc/powerpc32/sysdep.h:
74343         Replace ASM_TYPE_DIRECTIVE with .type.
74344         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74345         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74346         * sysdeps/i386/fpu/e_powf.S: Likewise.
74347         * sysdeps/i386/fpu/e_expl.S: Likewise.
74348         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74349         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74350         * sysdeps/i386/fpu/e_pow.S: Likewise.
74351         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74352         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74353         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74354         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74355         * sysdeps/i386/fpu/e_log2.S: Likewise.
74356         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74357         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74358         * sysdeps/i386/fpu/e_powl.S: Likewise.
74359         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74360         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74361         * sysdeps/i386/fpu/e_logl.S: Likewise.
74362         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74363         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74364         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74365         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74366         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74367         * sysdeps/i386/fpu/e_log.S: Likewise.
74368         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74369         * sysdeps/i386/fpu/e_logf.S: Likewise.
74370         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74371         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74372         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74373         * sysdeps/i386/fpu/e_log10.S: Likewise.
74374         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74375         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74376         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74377         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74378         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74379         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
74380         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74381         * sysdeps/i386/i686/strtok.S: Likewise.
74382         * sysdeps/i386/i386-mcount.S: Likewise.
74383         * sysdeps/i386/strtok.S: Likewise.
74384         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
74385         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74386         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74387         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74388         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74389         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74390         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74391         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74392         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74393         * sysdeps/x86_64/_mcount.S: Likewise.
74394         * sysdeps/x86_64/strtok.S: Likewise.
74395         * sysdeps/sh/_mcount.S: Likewise.
74397 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74399         * libio/iofopen.c: Include <fcntl.h>.
74400         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
74401         (_IO_fopen64, fopen64): Define as aliases.
74402         * libio/iofopen64.c: Include <fcntl.h>.
74403         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
74404         Conditionalize body on this.
74405         * sysdeps/wordsize-64/iofopen.c: File removed.
74406         * sysdeps/wordsize-64/iofopen64.c: File removed.
74408 2012-08-01  Marek Polacek  <polacek@redhat.com>
74410         * libc/Makeconfig: Use elf in place of binfmt-subdir.
74411         Use dlfcn directly instead of a variable.
74412         (binfmt-subdir): Do not define.
74413         (dlfcn): Likewise.
74415 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
74417         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
74418         Remove all definitions.
74419         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
74420         <kernel-features.h>.
74421         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74422         (miss_F_GETOWN_EX): Remove all definitions.
74423         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
74424         macro definition.
74425         [!__ASSUME_FCNTL64]: Remove conditional code.
74426         [__ASSUME_FCNTL64]: Make code unconditional.
74427         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
74428         <kernel-features.h>.
74429         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
74430         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
74431         (lockf64) [__NR_fcntl64]: Make code unconditional.
74432         (lockf64) [__ASSUME_FCNTL64]: Likewise.
74434         * sysdeps/unix/sysv/linux/kernel-features.h
74435         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
74436         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
74437         Make code unconditional.
74438         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74439         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
74441         [__NR_vfork]: Make code unconditional.
74442         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74443         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
74445         [__NR_vfork]: Make code unconditional.
74446         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
74447         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
74449 2012-08-01  Roland McGrath  <roland@hack.frob.com>
74451         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
74452         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
74454         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74455         Define mkstemp64 as an alias.
74456         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74457         Define mkstemps64 as an alias.
74458         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74459         Define mkostemp64 as an alias.
74460         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
74461         Define mkostemps64 as an alias.
74462         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
74463         Conditionalize body on this.
74464         * misc/mkostemp64.c: Likewise.
74465         * misc/mkostemps64.c: Likewise.
74466         * misc/mkstemps64.c: Likewise.
74467         * sysdeps/wordsize-64/mkstemp64.c: File removed.
74468         * sysdeps/wordsize-64/mkostemp64.c: File removed.
74469         * sysdeps/wordsize-64/mkostemp.c: File removed.
74470         * sysdeps/wordsize-64/mkstemp.c: File removed.
74471         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
74472         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
74473         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
74474         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
74476         [BZ #14138]
74477         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
74478         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
74479         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
74480         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
74482         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
74483         compat_symbol macros from <shlib-compat.h> rather than the underlying
74484         default_symbol_version and symbol_version macros, so that DEFAULT
74485         lines in shlib-versions are respected.
74486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74488 2012-08-01  Florian Weimer  <fweimer@redhat.com>
74490         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
74491         Declare with warn_unused_result.
74492         (setgid, setregid, setegid, setresgid): Likewise.
74493         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
74494         Likewise.
74495         * WUR-REPORT: Remove set*id functions.
74497 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
74499         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
74501 2012-07-31  Roland McGrath  <roland@hack.frob.com>
74503         [BZ #10191]
74504         * include/sys/socket.h (__libc_accept, __libc_accept4):
74505         Add attribute_hidden.
74506         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
74508         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
74509         use of PTR_MANGLE.
74510         * inet/getnetgrent_r.c (setup): Likewise.
74512         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
74514 2012-07-31  David S. Miller  <davem@davemloft.net>
74516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74518 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
74520         [BZ #13629]
74521         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
74522         value between 1.0 and 2.0 and smaller part has absolute value less
74523         than 1.0.
74524         * math/s_clog10.c (__clog10): Likewise.
74525         * math/s_clog10f.c (__clog10f): Likewise.
74526         * math/s_clog10l.c (__clog10l): Likewise.
74527         * math/s_clogf.c (__clogf): Likewise.
74528         * math/s_clogl.c (__clogl): Likewise.
74529         * math/libm-test.inc (clog_test): Add more tests.
74530         (clog10_test): Likewise.
74531         * sysdeps/i386/fpu/libm-test-ulps: Update.
74532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74534 2012-07-31  Florian Weimer  <fweimer@redhat.com>
74536         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
74537         Exit with zero in case no suitable GID is found, and write a
74538         message to standard error.
74540 2012-07-30  Roland McGrath  <roland@hack.frob.com>
74542         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
74543         rather than to 1.
74544         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
74545         (MAXPATHLEN): Removed.
74546         (NOGROUP, NODEV): New macros.
74547         (setbit, clrbit, isset, isclr): New macros.
74548         (howmany, roundup, powerof2): New macros.
74549         (DEV_BSIZE): New macro.
74551         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
74552         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
74554         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
74555         definition on [!__NO_LONG_DOUBLE_MATH].
74557         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
74558         PTR_MANGLE and PTR_DEMANGLE.
74560         * socket/accept4.c (accept4): Rename to __libc_accept4.
74561         Define accept4 as a weak alias.
74563         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
74564         on [_DIRENT_HAVE_D_TYPE].
74565         * io/ftw.c (ftw_dir): Likewise.
74567         * io/xmknod.c (__xmknod): Don't check PATH for being null.
74569         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74571         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
74572         Use the BSD numbers rather than the arbitrary ones we had.
74573         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
74574         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
74575         (SIGXCPU, SIGXFSZ): New macros.
74576         (_NSIG): Now 32.
74578         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
74579         initializer on [_LIBC_REENTRANT].
74581         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
74582         definitions inside [_POSIX_MAPPED_FILES].
74584         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
74586         * dirent/opendir.c: Include <fcntl.h>.
74588         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
74589         (__libc_getspecific): Likewise.
74590         (__libc_key_create): Likewise.
74592         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
74593         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
74594         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
74595         (tmpfile64): Define as alias.
74596         * sysdeps/wordsize-64/tmpfile.c: File removed.
74597         * sysdeps/wordsize-64/tmpfile64.c: File removed.
74598         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
74599         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
74601         * stdio-common/vfscanf.c: Include <stdbool.h>.
74602         * nss/makedb.c: Likewise.
74603         * stdio-common/_i18n_number.h: Likewise.
74604         * argp/argp-help.c: Likewise.
74605         * posix/wordexp.c: Likewise.
74606         * sysdeps/posix/spawni.c: Likewise.
74607         * nss/nss_files/files-initgroups.c: Likewise.
74608         * stdio-common/reg-modifier.c: Include <stdlib.h>.
74609         * nss/nss_files/files-initgroups.c: Likewise.
74610         * nss/nss_db/db-netgrp.c: Likewise.
74611         * nss/nss_db/db-initgroups.c: Likewise.
74612         * io/fchmodat.c: Include <sys/stat.h>.
74614         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
74615         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
74617         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
74618         [HAVE_MMAP].
74620         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
74621         Add multiple inclusion protection.
74623 2012-07-27  David S. Miller  <davem@davemloft.net>
74625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74627 2012-07-27  Gary Benson  <gbenson@redhat.com>
74629         [BZ #14298]
74630         * elf/rtld.c: Include <stap-probe.h>.
74631         (dl_main): Added static probes "init_start" and "init_complete".
74632         * elf/dl-load.c: Include <stap-probe.h>.
74633         (lose): Take new parameter "nsid".
74634         Added static probe "map_failed".
74635         (_dl_map_object_from_fd): Pass namespace id to lose.
74636         Added static probe "map_start".
74637         (open_verify): Pass namespace id to lose.
74638         * elf/dl-open.c: Include <stap-probe.h>.
74639         (dl_open_worker) Added static probes "map_complete", "reloc_start"
74640         and "reloc_complete".
74641         * elf/dl-close.c: Include <stap-probe.h>.
74642         (_dl_close_worker): Added static probes "unmap_start" and
74643         "unmap_complete".
74644         * elf/rtld-debugger-interface.txt: New file documenting the above.
74646 2012-07-26  Roland McGrath  <roland@hack.frob.com>
74648         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
74649         rather than a string variable.
74650         * sunrpc/rpc_main.c (h_output): Likewise.
74651         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
74653 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
74655         * inet/check_native.c: New file.
74657 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
74659         [BZ #13629]
74660         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
74661         if larger part has absolute value 1.0.
74662         * math/s_clog10.c (__clog10): Likewise.
74663         * math/s_clog10f.c (__clog10f): Likewise.
74664         * math/s_clog10l.c (__clog10l): Likewise.
74665         * math/s_clogf.c (__clogf): Likewise.
74666         * math/s_clogl.c (__clogl): Likewise.
74667         * math/libm-test.inc (clog_test): Add more tests.
74668         (clog10_test): Likewise.
74669         * sysdeps/i386/fpu/libm-test-ulps: Update.
74670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74672         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
74673         (pltexit): Likewise.
74674         (La_regs): Likewise.
74675         (La_retval): Likewise.
74676         (int_retval): Likewise.
74677         Update #error for removed macros to refer only to definitions in
74678         tst-audit.h.
74679         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
74680         macro.
74681         (pltexit): Likewise.
74682         (La_regs): Likewise.
74683         (La_retval): Likewise.
74684         (int_retval): Likewise.
74685         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
74686         macro.
74687         (pltexit): Likewise.
74688         (La_regs): Likewise.
74689         (La_retval): Likewise.
74690         (int_retval): Likewise.
74691         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
74692         macro.
74693         (pltexit): Likewise.
74694         (La_regs): Likewise.
74695         (La_retval): Likewise.
74696         (int_retval): Likewise.
74697         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
74698         macro.
74699         (pltexit): Likewise.
74700         (La_regs): Likewise.
74701         (La_retval): Likewise.
74702         (int_retval): Likewise.
74703         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
74704         macro.
74705         (pltexit): Likewise.
74706         (La_regs): Likewise.
74707         (La_retval): Likewise.
74708         (int_retval): Likewise.
74709         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
74710         macro.
74711         (pltexit): Likewise.
74712         (La_regs): Likewise.
74713         (La_retval): Likewise.
74714         (int_retval): Likewise.
74715         * sysdeps/generic/tst-audit.h: Update comment to refer only to
74716         macro definitions in tst-audit.h.
74717         * sysdeps/i386/tst-audit.h: New file.
74718         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
74719         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
74720         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
74721         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
74722         * sysdeps/sh/tst-audit.h: Likewise.
74723         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
74724         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
74725         * sysdeps/x86_64/tst-audit.h: Likewise.
74727 2012-07-26  Andreas Jaeger  <aj@suse.de>
74729         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74730         ptrace.
74732         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
74733         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
74734         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
74735         PTRACE_O_MASK.
74736         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
74737         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
74738         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
74740         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
74741         value.
74743         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
74744         _sigsys.
74745         (si_call_addr, si_syscall, si_arch): Define new macro.
74746         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
74747         _sigsys.
74748         (si_call_addr, si_syscall, si_arch): Define new marcro.
74749         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
74750         _sigsys.
74751         (si_call_addr, si_syscall, si_arch): Define new macro.
74752         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
74753         _sigsys.
74754         (si_call_addr, si_syscall, si_arch): Define new macro.
74756 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74758         [BZ #13717]
74759         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
74760         Change to 2.4.21 where previously 2.4.1.
74761         * sysdeps/unix/sysv/linux/configure: Regenerated.
74762         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
74763         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
74764         Linux kernel version.
74765         (__ASSUME_STD_AUXV): Remove.
74766         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
74767         kernel version.
74768         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
74769         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
74770         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
74771         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
74772         (__ASSUME_NETLINK_SUPPORT): Likewise.
74773         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
74774         (__no_netlink_support): Remove conditional definition.
74775         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
74776         Remove.
74777         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74778         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
74779         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
74780         (if_nameindex_ioctl): Remove.
74781         (if_nameindex_netlink): Do not handle __no_netlink_support.
74782         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74783         code.
74784         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
74785         Remove conditional code.
74786         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
74787         code.
74788         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
74789         unconditional.
74790         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
74791         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
74792         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
74793         Remove.
74794         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
74795         [!__ASSUME_STD_AUXV]: Remove conditional code.
74796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
74797         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
74798         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
74799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
74800         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
74801         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74802         code.
74803         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
74805         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
74806         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74807         conditional code.
74808         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
74809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
74810         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
74811         code.
74812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
74813         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
74814         conditional code.
74815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
74816         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74817         code unconditional.
74818         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74819         conditional code.
74820         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74821         unconditional.
74822         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74823         conditional code.
74824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74825         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74826         unconditional.
74827         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74828         conditional code.
74829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
74830         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74831         code unconditional.
74832         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74833         conditional code.
74834         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74835         unconditional.
74836         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74837         conditional code.
74838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
74839         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
74840         code unconditional.
74841         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74842         conditional code.
74843         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
74844         unconditional.
74845         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
74846         conditional code.
74848 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
74850         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
74851         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
74852         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
74853         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
74854         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
74855         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
74856         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
74857         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
74858         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
74859         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
74860         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
74861         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
74862         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
74863         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
74864         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
74865         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
74866         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74867         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
74868         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
74869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
74870         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
74871         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
74872         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74874 2012-07-25  Florian Weimer  <fweimer@redhat.com>
74876         * Versions.def: Add GLIBC_2.17.
74877         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
74878         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
74879         Introduce __libc_secure_getenv.
74880         * stdlib/Versions (2.17): Add secure_getenv
74881         (GLIBC_PRIVATE): Add __libc_secure_getenv.
74882         * stdlib/secure-getenv.c: Rename __secure_getenv to
74883         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
74884         symbol __secure_getenv for GLIBC_2.0.
74885         * stdlib/tst-secure-getenv.c: New.
74886         * stdlib/Makefile (tests): Add testcase.
74887         * manual/startup.texi (Environment Access): Document
74888         secure_getenv.
74889         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
74890         __libc_secure_getenv.
74891         * inet/ruserpass.c (ruserpass): Likewise.
74892         * malloc/mtrace.c (mtrace): Likewise.
74893         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
74894         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
74895         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
74896         * sysdeps/posix/tempname.c: Likewise.  Evaluate
74897         HAVE_SECURE_GETENV.
74898         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
74899         __secure_getenv to __libc_secure_getenv.
74900         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
74901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74902         Likewise.
74903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74904         Likewise.
74905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74907         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74913 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
74915         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
74916         (struct La_i86_retval): Likewise.
74917         (struct La_x86_64_regs): Likewise.
74918         (struct La_x86_64_retval): Likewise.
74919         (struct La_x32_regs): Likewise.
74920         (struct La_x32_retval): Likewise.
74921         (struct La_ppc32_regs): Likewise.
74922         (struct La_ppc32_retval): Likewise.
74923         (struct La_ppc64_regs): Likewise.
74924         (struct La_ppc64_retval): Likewise.
74925         (struct La_sh_regs): Likewise.
74926         (struct La_sh_retval): Likewise.
74927         (struct La_s390_32_regs): Likewise.
74928         (struct La_s390_32_retval): Likewise.
74929         (struct La_s390_64_regs): Likewise.
74930         (struct La_s390_64_retval): Likewise.
74931         (struct La_sparc32_regs): Likewise.
74932         (struct La_sparc32_retval): Likewise.
74933         (struct La_sparc64_regs): Likewise.
74934         (struct La_sparc64_retval): Likewise.
74935         (struct audit_ifaces): Remove architecture-specific pltenter and
74936         pltexit members.
74937         * sysdeps/i386/ldsodefs.h: New file.
74938         * sysdeps/powerpc/ldsodefs.h: Likewise.
74939         * sysdeps/s390/ldsodefs.h: Likewise.
74940         * sysdeps/sh/ldsodefs.h: Likewise.
74941         * sysdeps/sparc/ldsodefs.h: Likewise.
74942         * sysdeps/x86_64/ldsodefs.h: Likewise.
74944 2012-07-25  Marek Polacek  <polacek@redhat.com>
74946         [BZ #6808]
74947         * math/libm-test.inc (yn_test): Add another test.
74948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
74949         to ERANGE when the result is +-Inf.
74950         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
74951         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
74952         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
74953         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
74955 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
74957         * conform/data/time.h-data (NULL): Use macro-constant.  Require
74958         equal to 0.
74959         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
74960         clock_t.
74961         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
74963 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
74965         * configure.in <sysdeps resolving>: Correct printing
74966         Implies_before.
74967         * configure: Regenerate.
74969 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
74971         * math/w_ilogb.c: Include <limits.h>.
74972         * math/w_ilogbl.c: Likewise.
74974 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
74976         * manual/lang.texi (__va_copy): Document primarily as ISO C99
74977         va_copy.  Document allowing for unavailable va_copy only as
74978         pre-C99 compatibility.
74979         * manual/string.texi (Copying and Concatenation): Use va_copy
74980         instead of __va_copy in concat example.
74982 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
74984         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
74985         (__sendto): Use create_address_port.  Initialize APORT and deallocate
74986         it if not null.
74988         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
74989         with O_NOLINK passed to __file_name_lookup.
74991         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
74992         with O_NOLINK passed to __file_name_lookup.
74994         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
74995         negative N or less than NGIDS.
74997         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
74998         type to string_t.  Set ERANGE as errno and return it if NAME is not big
74999         enough.  Use memcpy instead of strncpy.
75001 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75003         * elf/Makefile (check-data): Remove.
75004         (localplt.data): New vpath directive.
75005         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75006         instead of $(check-data).
75007         * scripts/data/localplt-generic.data: Move to ...
75008         * sysdeps/generic/localplt.data: ... here.
75009         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75010         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75011         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75013         ... here.
75014         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75016         ... here.
75017         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75019         ... here.
75020         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75022         ... here.
75023         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75025         ... here.
75026         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75028         ... here.
75030 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75032         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75033         PPC32 and PPC64 files.
75034         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75035         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75037 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75039         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75040         __makecontext_ret to ...
75041         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75042         ... here and call exit if uc_link is NULL.  New file.
75043         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75044         __makecontext_ret.S.
75045         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75046         __makecontext_ret to ...
75047         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75048         ... here and call exit if uc_link is NULL.  New file.
75049         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
75050         __makecontext_ret.S.
75052 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75054         * elf/elf.h (R_390_IRELATIVE): New definition.
75055         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75056         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
75057         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
75058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
75059         (elf_machine_lazy_rel): Likewise.
75060         * sysdeps/s390/dl-irel.h: New file.
75061         * sysdeps/s390/s390-64/memcpy.S: New asm code.
75062         * sysdeps/s390/s390-64/memset.S: New asm code.
75063         * sysdeps/s390/s390-64/memcmp.S: New asm code.
75064         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
75065         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
75066         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
75067         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
75068         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
75069         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
75070         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
75071         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
75072         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
75073         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
75074         * sysdeps/s390/s390-32/memcpy.S: New asm code.
75075         * sysdeps/s390/s390-32/memset.S: New asm code.
75076         * sysdeps/s390/s390-32/memcmp.S: New asm code.
75078 2012-07-17  Marek Polacek  <polacek@redhat.com>
75080         [BZ #14349]
75081         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
75082         * sysdeps/s390/s390-64/configure.in: Likewise.
75083         * sysdeps/sparc/configure.in: Likewise.
75084         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
75085         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
75086         * sysdeps/i386/configure.in: Likewise.
75087         * sysdeps/x86_64/configure.in: Likewise.
75088         * sysdeps/sh/configure.in: Likewise.
75089         * sysdeps/s390/s390-32/configure: Regenerated.
75090         * sysdeps/s390/s390-64/configure: Likewise.
75091         * sysdeps/x86_64/configure: Likewise.
75092         * sysdeps/sh/configure: Likewise.
75093         * sysdeps/powerpc/powerpc64/configure: Likewise.
75094         * sysdeps/powerpc/powerpc32/configure: Likewise.
75095         * sysdeps/sparc/configure: Likewise.
75096         * sysdeps/i386/configure: Likewise.
75098         * elf/dl-open.c: Comment fixes.
75100 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
75102         * Makefile [CXX] (check-data): Remove.
75103         [CXX] (c++-types.data): New vpath directive.
75104         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
75105         vpath.  Do not allow for C++ type data being missing.
75106         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
75107         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
75108         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
75109         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
75110         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
75111         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
75112         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
75113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
75114         ... here.
75115         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
75116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
75117         ... here.
75118         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
75119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
75120         ... here.
75121         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
75122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
75123         ... here.
75124         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
75125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
75126         ... here.
75127         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
75128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
75129         ... here.
75130         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
75131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
75132         ... here.
75133         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
75134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
75136         * elf/tls-macros.h (TLS_LE): Move architecture-specific
75137         definitions to architecture-specific files.
75138         (TLS_IE): Likewise.
75139         (TLS_LD): Likewise.
75140         (TLS_GD): Likewise.
75141         * sysdeps/i386/tls-macros.h: New file.
75142         * sysdeps/powerpc/tls-macros.h: Likewise.
75143         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
75144         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
75145         * sysdeps/sh/tls-macros.h: Likewise.
75146         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
75147         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
75148         * sysdeps/x86_64/tls-macros.h: Likewise.
75150 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75152         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
75153         zero value for regular exit case.
75155         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
75156         (__start_context): Preserve zero value for regular exit case.
75158 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
75159             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75161         * manual/setjmp.texi (setcontext): Clarify normal process
75162         termination when uc_link is the null pointer.
75163         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
75164         exit call.
75166 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
75168         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
75169         preprocessor.  Test for each exception mask separately.
75171 2012-07-16  Andreas Jaeger  <aj@suse.de>
75173         * po/ru.po: Update from translation team.
75175 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
75177         * conform/data/string.h-data (NULL): Use macro-constant.  Require
75178         equal to 0.
75179         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75180         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75181         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
75182         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
75183         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75185 2012-07-13  Andreas Jaeger  <aj@suse.de>
75187         * po/fr.po: Update from translation team.
75189 2012-07-12  Marek Polacek  <polacek@redhat.com>
75191         [BZ #14173]
75192         * math/libm-test.inc (yn_test): Add test for BZ #14173.
75193         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
75194         loop condition.
75196 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
75198         [BZ #13717]
75199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75200         Change to 2.4.1 where previously 2.4.0.
75201         * sysdeps/unix/sysv/linux/configure: Regenerated.
75202         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
75203         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
75204         version.
75205         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
75206         (__ASSUME_AT_CLKTCK): Remove.
75207         (__ASSUME_AT_PAGESIZE): Likewise.
75208         (__ASSUME_AT_XID): Likewise.
75209         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
75210         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
75211         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
75212         unconditionally.
75213         (HAVE_AUX_PAGESIZE): Likewise.
75214         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
75215         [__ASSUME_AT_CLKTCK]: Make code unconditional.
75216         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
75218 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
75220         [BZ #14307]
75221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
75222         the temporary buffer used to invoke __gethostbyname2_r,
75223         __gethostbyaddr_r and gethostbyname4_r to make room for struct
75224         host_data / struct gaih_addrtuple.
75225         * resolv/nss_dns/dns-host.c (global scope): Move definition of
75226         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
75227         header file nss/nsswitch.h.
75228         * nss/nsswitch.h (global scope): Add definition of implementation
75229         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
75230         resolv/nss_dns/dns-host.c).
75232 2012-07-11  Andreas Jaeger  <aj@suse.de>
75234         * po/fr.po: Update from translation team.
75236         * po/sv.po: Update from translation team
75237         * po/fr.po: Another update from translation team.
75239 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75241         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
75242         for subnormals or multiply small sinh result by itself.
75243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75246 2012-07-11  David S. Miller  <davem@davemloft.net>
75248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75250 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
75252         [BZ #14347]
75253         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
75254         (INTERNAL_MARK): Shift it here.
75256 2012-07-10  Marek Polacek  <polacek@redhat.com>
75258         [BZ #14151]
75259         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
75260         libc_cv_asm_global_directive with .globl.
75261         * configure: Regenerated.
75262         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
75263         with .globl.
75264         * sysdeps/i386/configure: Regenerated.
75265         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
75266         with .globl.
75267         * sysdeps/x86_64/configure: Regenerated.
75268         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
75269         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
75270         * elf/tst-unique2mod2.c: Likewise.
75271         * elf/tst-unique2mod1.c: Likewise.
75272         * elf/tst-unique1mod2.c: Likewise.
75273         * elf/tst-unique1mod1.c: Likewise.
75274         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75275         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75276         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75277         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75278         * sysdeps/mach/sysdep.h: Likewise.
75279         * sysdeps/i386/sysdep.h: Likewise.
75280         * sysdeps/i386/i386-mcount.S: Likewise.
75281         * sysdeps/x86_64/_mcount.S: Likewise.
75282         * sysdeps/x86_64/sysdep.h: Likewise.
75283         * sysdeps/sh/_mcount.S: Likewise.
75284         * sysdeps/sh/sysdep.h: Likewise.
75285         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
75286         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
75287         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
75288         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75289         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
75290         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
75291         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75292         * locale/localeinfo.h: Likewise.
75293         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
75294         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
75296 2012-07-09  Roland McGrath  <roland@hack.frob.com>
75298         [BZ #14336]
75299         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
75300         system".
75301         * manual/message.texi (The Uniforum approach): Likewise.
75302         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
75303         (glibc iconv Implementation): Likewise.
75305 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
75307         [BZ #14337]
75308         * math/s_clog.c (__clog): Avoid scaling a value down where that
75309         could result in underflow.
75310         * math/s_clog10.c (__clog10): Likewise.
75311         * math/s_clog10f.c (__clog10f): Likewise.
75312         * math/s_clog10l.c (__clog10l): Likewise.
75313         * math/s_clogf.c (__clogf): Likewise.
75314         * math/s_clogl.c (__clogl): Likewise.
75315         * math/libm-test.inc (clog_test): Add more tests.
75316         (clog10_test): Likewise.
75317         * sysdeps/i386/fpu/libm-test-ulps: Update.
75318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75320 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
75322         [BZ #14283]
75323         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
75324         by 7 not 8 to examine high bit of fractional part.
75326         [BZ #14042]
75327         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
75328         for call to __mcount_internal.
75329         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
75330         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
75331         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
75333 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
75335         [BZ #14154]
75336         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
75337         approximation for values within 0x1p-13f of an odd multiple of
75338         pi/4.
75339         * math/libm-test.inc (tan_test): Do not allow spurious underflow
75340         exception.  Add more tests.
75341         * sysdeps/i386/fpu/libm-test-ulps: Update.
75343         [BZ #6778]
75344         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
75345         inputs and return -1 for them.  Do not check for +Inf in case not
75346         reachable for +Inf.
75347         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
75348         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
75349         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75350         and return -1 for them.  Do not check for +Inf in case not
75351         reachable for +Inf.
75352         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
75353         define.
75354         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
75355         and return -1 for them.  Do not check for +Inf in case not
75356         reachable for +Inf.
75357         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
75358         spurious underflow.
75359         * sysdeps/i386/fpu/libm-test-ulps: Update.
75360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75362 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
75364         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
75366 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
75368         [BZ #14157]
75369         [BZ #14331]
75370         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
75371         could result in spurious underflow.  Scale down values above
75372         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
75373         * math/s_csqrtf.c (__csqrtf): Likewise.
75374         * math/s_csqrtl.c (__csqrtl): Likewise.
75375         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
75376         spurious underflow.
75377         * sysdeps/i386/fpu/libm-test-ulps: Update.
75378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75380 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
75382         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
75383         xopen-msg.sed.
75384         * catgets/xopen-msg.awk: New file.
75385         * catgets/xopen-msg.sed: Removed.
75387         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
75388         po2text.sed.
75389         * intl/po2test.awk: New file.
75390         * intl/po2test.sed: Removed.
75392 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
75394         [BZ #14328]
75395         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
75396         or multiply small sinh result by itself.
75397         * math/s_ctanf.c (__ctanf): Likewise.
75398         * math/s_ctanh.c (__ctanh): Likewise.
75399         * math/s_ctanhf.c (__ctanhf): Likewise.
75400         * math/s_ctanhl.c (__ctanhl): Likewise.
75401         * math/s_ctanl.c (__ctanl): Likewise.
75402         * math/libm-test.inc (ctan_test_tonearest): New function.
75403         (ctan_test_towardzero): Likewise.
75404         (ctan_test_downward): Likewise.
75405         (ctan_test_upward): Likewise.
75406         (ctanh_test_tonearest): Likewise.
75407         (ctanh_test_towardzero): Likewise.
75408         (ctanh_test_downward): Likewise.
75409         (ctanh_test_upward): Likewise.
75410         (main): Call these new functions.
75411         * sysdeps/i386/fpu/libm-test-ulps: Update.
75412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75414 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
75416         * .gitignore: Delete /ports entry.
75418 2012-07-03  Andreas Jaeger  <aj@suse.de>
75420         * po/bg.po: Update from translation team.
75421         * po/cs.po: Likewise.
75422         * po/de.po: Likewise.
75423         * po/hr.po: Likewise.
75424         * po/nl.pl: Likewise.
75425         * po/pl.po: Likewise.
75426         * po/vi.po: Likewise.
75428 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
75430         * Makeconfig [!+link] (+link-before-libc): New variable.
75431         [!+link] (+link-after-libc): Likewise.
75432         [!+link] (+link-tests): Likewise.
75433         [!+link] (+link): Define in terms of $(+link-before-libc) and
75434         $(+link-after-libc).
75435         [!+link-static] (+link-static-before-libc): New variable.
75436         [!+link-static] (+link-static-after-libc): Likewise.
75437         [!+link-static] (+link-static-tests): Likewise.
75438         [!+link-static] (+link-static): Define in terms of
75439         $(+link-static-before-libc) and $(+link-static-after-libc).
75440         [build-shared] (link-libc-before-gnulib): New variable.
75441         [build-shared] (link-libc-tests): Likewise.
75442         [build-shared] (link-libc): Define in terms of
75443         $(link-libc-before-gnulib).
75444         [!build-shared] (link-libc-tests): New variable.
75445         (link-libc-static-tests): New variable.
75446         [!gnulib] (gnulib-arch): New variable.
75447         [!gnulib] (gnulib-tests): Likewise.
75448         [!gnulib] (static-gnulib-arch): Likewise.
75449         [!gnulib] (static-gnulib-tests): Likewise.
75450         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
75451         Define with "=" instead of ":=".
75452         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
75453         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
75454         * Rules (binaries-all-notests): New variable.
75455         (binaries-all-tests): Likewise.
75456         (binaries-static-notests): Likewise.
75457         (binaries-static-tests): Likewise.
75458         (binaries-all): Define using $(binaries-all-notests) and
75459         $(binaries-all-tests).
75460         (binaries-static): Define using $(binaries-static-notests) and
75461         $(binaries-static-tests).
75462         (binaries-shared-tests): New variable.
75463         (binaries-shared-notests): Likewise.
75464         (binaries-shared): Remove variable.
75465         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
75466         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
75467         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
75468         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
75469         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
75470         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
75471         * elf/Makefile (sln-modules): New variable.
75472         (extra-objs): Add $(sln-modules:=.o).
75473         (ldconfig-modules): Add static-stubs.
75474         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
75475         * elf/static-stubs.c: New file.
75477         [BZ #14283]
75478         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
75479         by 7 not 8 to examine high bit of fractional part.  Use volatile
75480         variables when splitting into final array of floats if
75481         __FLT_EVAL_METHOD__ != 0.
75482         * math/libm-test.inc (cos_test): Add another test.
75483         (sin_test): Likewise.
75484         * sysdeps/i386/fpu/libm-test-ulps: Update.
75486         [BZ #14273]
75487         * math/libm-test.inc (cosh_test): Add more tests.
75489         * version.h (RELEASE): Set to "development".
75490         (VERSION): Set to "2.16.90".
75492 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
75494         * NEWS: Update copyright. Remove last-updated date.
75495         Mention math library bug fixes and timezone data changes.
75496         * README: Mention GNU/Hurd, x32, and HPPA support status.
75498 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
75500         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
75502 2012-06-27  Andreas Jaeger  <aj@suse.de>
75504         * manual/contrib.texi (Contributors): Add Samuel Thibault.
75506 2012-06-25  Andreas Jaeger  <aj@suse.de>
75508         * sysdeps/s390/fpu/libm-test-ulps: Update.
75510 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
75511             Thomas Schwinge  <thomas@codesourcery.com>
75513         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
75514         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
75515         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
75516         fanotify_mark.
75518 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
75520         * sysdeps/mach/start.c: Remove file.
75521         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
75522         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
75523         * sysdeps/sh/init-first.c: Likewise.
75525         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
75526         registers for frame unwinding purposes, add CFI directives.
75527         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75528         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
75529         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
75530         Likewise.
75532         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
75533         __fortify_fail returning.
75534         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
75536         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
75537         sysdeps/sh/____longjmp_chk.S.
75538         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
75539         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
75540         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
75541         (gen-as-const-headers): Append sigaltstack-offsets.sym.
75543         * sysdeps/sh/abort-instr.h: New file.
75544         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
75545         process in case exit returns.
75547         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
75548         initialize the GOT register before use.
75550         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
75551         calculation of ARGC > 4.
75553         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
75554         meaningful names to some local labels.
75556 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75557             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75559         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
75560         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
75561         (__arch_compare_and_exchange_val_16_acq): Likewise.
75562         (__arch_compare_and_exchange_val_32_acq): Likewise.
75563         (atomic_exchange_and_add): Fix gUSA sequence.
75564         (atomic_add): Likewise.
75565         (atomic_add_negative): Likewise.
75566         (atomic_add_zero): Likewise.
75567         (atomic_bit_test_set): Likewise.
75569 2012-06-22  Andreas Schwab  <schwab@redhat.com>
75571         [BZ #13579]
75572         * include/link.h (struct link_map): Add l_free_initfini.
75573         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
75574         l_initfini.
75575         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
75576         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
75577         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
75578         set.
75580 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
75582         * configure.in: Use AC_LANG_SOURCE.
75583         * configure: Regenerate.
75585 2012-06-22  Roland McGrath  <roland@hack.frob.com>
75587         * configure.in (libc_cv_localstatedir): New substituted variable.
75588         * configure: Regenerated.
75589         * config.make.in (localstatedir): New variable, substituted from
75590         libc_cv_localstatedir.
75591         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
75592         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
75593         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
75594         * sysdeps/gnu/configure: Regenerated.
75596 2012-06-21  Jeff Law  <law@redhat.com>
75598         [BZ #14277]
75599         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
75600         free.  Simplify list management for _LIBC case.
75602 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
75604         [BZ #14273]
75605         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
75606         Clear sign bit of 64-bit integer value before comparing against
75607         overflow value.
75609         * sysdeps/mach/configure: Regenerated.
75611 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
75613         [BZ #14278]
75614         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
75616 2012-06-21  Jeff Law  <law@redhat.com>
75618         [BZ #13882]
75619         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
75620         uint16_t for elements in the "seen" array to avoid char overflows.
75621         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75622         * elf/dl-open.c (dl_open_worker): Likewise.
75624 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
75626         * scripts/list-sources.sh: Scan PORTS for translations.
75627         * po/libc.pot: Regenerated.
75629 2012-06-21  Andreas Jaeger  <aj@suse.de>
75631         [BZ #12194]
75632         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
75633         warning.
75634         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
75635         * bits/byteswap-16.h (__bswap_16): Likewise.
75636         * bits/byteswap.h (__bswap_constant_16): Likewise.
75638 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
75640         [BZ #14117]
75641         * sysdeps/i386/fpu_control.h: Removed.
75642         * sysdeps/x86_64/fpu_control.h: Moved to ...
75643         * sysdeps/x86/fpu_control.h: Here.
75645         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
75646         (_FPU_SETCW): Likewise.
75648 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
75650         [BZ #14117]
75651         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
75652         * sysdeps/x86/fpu/bits/mathinline.h: This.
75653         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
75655         [BZ #14050]
75656         [BZ #14117]
75657         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
75658         functions if __x86_64__ is defined.
75660 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
75662         * string/endian.h: Add !__ASSEMBLER__ condition for including
75663         conversion interfaces.
75665 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
75667         [BZ #14241]
75668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
75669         of ABS(x) in calculating zero to negative powers other than odd
75670         integers.
75671         * math/libm-test.inc (pow_test): Add more tests.
75673 2012-06-15  Andreas Jaeger  <aj@suse.de>
75675         * manual/contrib.texi (Contributors): Update entry of Liubov
75676         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
75677         Machado Filho.
75679 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
75681         * string/string.h: Add __wur to GNU version of strerror_r.
75683 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
75685         [BZ #14229]
75686         * string/Makefile (tests): Add tst-strtok_r.
75687         * string/tst-strtok_r.c: New file.
75688         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
75689         RAX_LP/RDX_LP on SAVE_PTR.
75691 2012-06-14  Roland McGrath  <roland@hack.frob.com>
75693         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
75695 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
75697         * libm_test.inc (csqrt_test): Allow more spurious underflow
75698         exceptions.
75699         (j0_test): Likewise.
75700         (j1_test): Likewise.
75701         (y0_test): Likewise.
75702         (y1_test): Likewise.
75704 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
75706         * po/Makefile (libc.pot): Use UTF-8 charset.
75708 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
75710         [BZ #14210]
75711         Suppress sign-conversion warning from FD_SET.
75712         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
75713         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
75714         not unsigned long int.
75715         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
75717 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
75719         [BZ #14050]
75720         [BZ #14117]
75721         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
75722         __extern_always_inline instead of __extern_inline.
75723         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
75724         (__signbit): Likewise.
75725         (__signbitl): Support C++ namespace.
75726         (lrintf): New inline function.
75727         (lrint): Likewise.
75728         (llrintf): Likewise.
75729         (llrint): Likewise.
75730         (fmaxf): Likewise.
75731         (fmax): Likewise.
75732         (fminf): Likewise.
75733         (fmin): Likewise.
75734         (rint): Likewise.
75735         (rintf): Likewise.
75736         (ceil): Likewise.
75737         (ceilf): Likewise.
75738         (floor): Likewise.
75739         (floorf): Likewise.
75740         (nearbyint): Likewise.
75741         (nearbyintf): Likewise.
75743 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
75745         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
75746         non-default versions.
75748 2012-06-11  Roland McGrath  <roland@hack.frob.com>
75750         [BZ #14218]
75751         * manual/argp.texi (Argp): Reword argp_parse description slightly.
75753 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
75755         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
75756         (FE_UPWARD, FE_DOWNWARD): Don't define.
75757         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
75758         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75760         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
75761         reading it.
75762         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75763         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75765 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75767         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
75769         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
75770         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
75772 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
75774         [BZ #14117]
75775         * sysdeps/i386/fpu/bits/fenv.h: Removed.
75776         * sysdeps/i386/fpu/Implies: New file.
75777         * sysdeps/x86_64/fpu/Implies: Likewise.
75778         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
75779         * sysdeps/x86/fpu/bits/fenv.h: This.
75781         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
75782         __SSE_MATH__.
75784 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
75786         [BZ #14134]
75787         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
75788         character 0xffff that matches the last element of the
75789         conversion table.
75791 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75793         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
75794         fmodl commit.
75796 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75798         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
75799         values higher than 25.6283.
75801 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75803         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
75804         subnormal exponent extraction and add some __builtin_expect.
75805         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
75806         Fix for subnormal mantissa calculation.
75808 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
75810         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
75811         cpu2 is -1 and errno is not ENOSYS.
75813 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
75815         [BZ #14117]
75816         * sysdeps/i386/i486/bits/string.h: Renamed to ...
75817         * sysdeps/x86/bits/string.h: This.
75818         * sysdeps/x86_64/bits/string.h: Removed.
75820         * sysdeps/i386/i486/bits/string.h: Define inline functions only
75821         if not compiling for x86-64, but compiling for >= i486.
75823         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
75824         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
75826         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
75827         New macro from Linux kernel 3.4.0.
75828         (FP_XSTATE_MAGIC2): Likewise.
75829         (FP_XSTATE_MAGIC2_SIZE): Likewise.
75830         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
75831         (struct _fpx_sw_bytes): New struct.
75832         (struct _xsave_hdr): Likewise.
75833         (struct _ymmh_state): Likewise.
75834         (struct _xstate): Likewise.
75836         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
75837         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
75838         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
75839         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
75840         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
75841         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
75843         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
75844         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
75845         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
75846         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
75847         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
75848         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
75850 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75852         [BZ #13743]
75853         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
75854         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
75855         (sysdep_headers): Include sys/platform/ppc.h.
75856         * sysdeps/powerpc/test-gettimebase.c: Test for
75857         __ppc_get_timebase() to catch future ISA opcode/insn changes.
75858         * manual/Makefile (appendices): Include platform.texi.
75859         * manual/contrib.texi (Contributors): Update @node pointers.
75860         * manual/maint.texi (Maintenance): Likewise.
75861         (Platform): New node.
75862         * manual/platform.texi: New file.  Document the new features.
75864 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
75865             Jakub Jelinek  <jakub@redhat.com>
75867         [BZ #14188]
75868         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
75869         where __builtin_expect is unavailable.
75871 2012-06-03  David S. Miller  <davem@davemloft.net>
75873         * stdlib/longlong.h: Updated from GCC.
75875 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
75877         [BZ #14042]
75878         * sysdeps/powerpc/powerpc32/mcount.c: New file.
75879         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
75880         __mcount_internal.
75881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75882         (GLIBC_2.16): Likewise.
75884 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
75888 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
75891         (default-abi): New variable.
75892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
75893         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
75894         variable.
75895         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
75896         Likewise.
75897         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
75898         Likewise.
75899         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
75900         Likewise.
75902         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
75903         definition.  Document in comment.
75905 2012-06-01  David S. Miller  <davem@davemloft.net>
75907         * stdlib/longlong.h: Updated from GCC.
75909 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75911         [BZ #14117]
75912         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
75913         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
75914         sys/debugreg.h sys/io.h here.
75915         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
75916         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
75917         sys/io.h.
75918         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
75919         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
75920         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
75921         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
75922         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
75923         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
75925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
75926         Define only if __x86_64__ is defined.
75928 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
75930         [BZ #14048]
75931         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
75932         Use int64_t for variable i.
75933         * math/libm-test.inc (fmod_test): Add more tests.
75935         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
75936         z computation is not scheduled after fetestexcept.
75937         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
75938         Use math_force_eval instead of asm to ensure calculation scheduled
75939         before exception test.
75940         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
75941         Ensure a1 + u.d computation is not scheduled after fetestexcept.
75943 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
75945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
75946         computation is not scheduled after fetestexcept.
75948 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
75950         [BZ #14117]
75951         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
75952         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
75954 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75956         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
75957         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75959 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
75961         [BZ #14117]
75962         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
75963         <bits/wordsize.h>.
75964         (__WCHAR_MIN): Support __WORDSIZE == 64.
75965         (__WCHAR_MAX): Likewise.
75967         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
75968         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
75970         [BZ #14183]
75971         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
75972         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
75974         [BZ #14117]
75975         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
75976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
75978         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
75979         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
75981         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
75982         Defined to 1 if __x86_64__ isn't defined.
75983         (_STAT_VER_LINUX_OLD): New.
75984         (st_atime): Remove duplicate.
75985         (st_mtime): Likewise.
75986         (st_ctime): Likewise.
75988 2012-05-31  David S. Miller  <davem@davemloft.net>
75990         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
75991         entries.
75993 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
75995         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
75996         gen-libm-test.pl.
75998         [BZ #14132]
75999         * elf/dl-reloc.c: Include <_itoa.h>.
76000         (_dl_reloc_bad_type): Remove use of INTUSE.
76001         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76002         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76003         * stdio-common/psiginfo.c (psiginfo): Likewise.
76004         * stdio-common/psignal.c (psignal): Likewise.
76005         * string/strsignal.c (strsignal): Likewise.
76006         * include/signal.h (_sys_siglist): Declare hidden proto.
76007         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76008         INTVARDEF with libc_hidden_data_def.
76009         * stdio-common/itoa-udigits.c: Likewise.
76010         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76011         (_itoa_lower_digits_internal): Remove declaration.
76012         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76013         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76014         (_sys_sigabbrev_internal): Remove aliases.
76015         (_sys_siglist): Define hidden alias.
76017 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76020         bits/sysctl.h.
76022 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76024         [BZ #14117]
76025         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76026         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76028         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76029         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76030         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76031         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76033         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76035         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76036         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76037         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76039         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76040         with __addr.
76041         (insw): Likewise.
76042         (insl): Likewise.
76043         (outsb): Likewise.
76044         (outsw): Likewise.
76045         (outsl): Likewise.
76047         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76048         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76049         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
76051         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
76052         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76053         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
76054         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
76055         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
76056         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
76058         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
76059         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
76061         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
76062         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
76064         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
76065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
76066         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
76068         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
76069         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
76070         to ...
76071         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
76073         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
76074         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
76075         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
76077         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
76078         for x86-64.
76079         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
76081 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
76083         * math/math.h (M_El): Use two more decimal places.
76084         (M_LOG2El): Likewise.
76085         (M_LOG10El): Likewise.
76086         (M_LN2l): Likewise.
76087         (M_LN10l): Likewise.
76088         (M_PIl): Likewise.
76089         (M_PI_2l): Likewise.
76090         (M_PI_4l): Likewise.
76091         (M_1_PIl): Likewise.
76092         (M_2_PIl): Likewise.
76093         (M_2_SQRTPIl): Likewise.
76094         (M_SQRT2l): Likewise.
76095         (M_SQRT1_2l): Likewise.
76097 2012-05-31  David S. Miller  <davem@davemloft.net>
76099         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
76100         values between float registers.
76101         * sysdeps/sparc/sparc64/memset.S: Likewise.
76102         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76104 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
76106         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
76107         -D_FORTIFY_SOURCE=1.
76108         (CPPFLAGS-tst-longjmp_chk.c): Define.
76109         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
76110         (CPPFLAGS-tst-longjmp_chk2.c): Define.
76111         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
76112         CFLAGS-tst-wchar-h.c.
76114 2012-05-31  Marek Polacek  <polacek@redhat.com>
76116         [BZ #14132]
76117         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
76118         __endmntent_internal): Remove declaration.
76119         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
76120         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
76121         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76123 2012-05-30  David S. Miller  <davem@davemloft.net>
76125         * sysdeps/sparc/sparc32/soft-fp/q_util.c
76126         (___Q_simulate_exceptions): Use real FP ops rather than writing
76127         into the %fsr.
76128         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
76129         Likewise.
76131 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76133         [BZ #14117]
76134         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
76135         * sysdeps/x86/bits/xtitypes.h: This.
76137         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
76138         * sysdeps/x86/bits/wordsize.h: This.
76140         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
76141         * sysdeps/x86/bits/huge_vall.h: This.
76143         * sysdeps/i386/bits/select.h: Removed.
76144         * sysdeps/x86_64/bits/select.h: Renamed to ...
76145         * sysdeps/x86/bits/select.h: This.
76147         * sysdeps/i386/bits/setjmp.h: Removed.
76148         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
76149         * sysdeps/x86/bits/setjmp.h: This.
76151         * sysdeps/i386/bits/mathdef.h: Removed.
76152         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
76153         * sysdeps/x86/bits/mathdef.h: This.
76155 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
76157         [BZ #14132]
76158         * include/sys/socket.h (__connect_internal)
76159         (__libc_sa_len_internal): Remove declaration.
76160         (__connect, __libc_sa_len): Declare hidden_proto.
76161         (SA_LEN): Remove use of INTUSE.
76162         * socket/connect.c: Add libc_hidden_def.
76163         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
76164         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
76165         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
76166         alias.
76167         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
76168         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
76169         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
76170         of adding _internal alias.
76172 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76174         [BZ #14117]
76175         * sysdeps/i386/bits/link.h: Removed.
76176         * sysdeps/i386/bits/linkmap.h: Likewise.
76177         * sysdeps/x86_64/bits/link.h: Renamed to ...
76178         * sysdeps/x86/bits/link.h: This.
76179         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
76180         * sysdeps/x86/bits/linkmap.h: This.
76182         * sysdeps/i386/bits/endian.h: Removed.
76183         * sysdeps/x86_64/bits/endian.h: Renamed to ...
76184         * sysdeps/x86/bits/endian.h: This.
76186         * sysdeps/i386/bits/byteswap.h: Removed.
76187         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76188         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
76189         * sysdeps/x86/bits/byteswap.h: This.
76190         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
76191         * sysdeps/x86/bits/byteswap-16.h: This.
76192         * sysdeps/i386/Implies: Add x86.
76193         * sysdeps/x86_64/Implies: Likewise.
76195 2012-05-30  David S. Miller  <davem@davemloft.net>
76197         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
76198         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
76199         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
76200         (FP_TRAPPING_EXCEPTIONS): Define.
76201         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
76202         (FP_TRAPPING_EXCEPTIONS): Define.
76203         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
76204         subnormals only when inexact has been signalled or underflow
76205         exceptions are enabled.
76206         (_FP_PACK_CANONICAL): Likewise.
76208 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76210         [BZ #14183]
76211         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
76212         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
76214 2012-05-30  Richard Henderson  <rth@twiddle.net>
76216         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
76217         with #ifndef NOT_IN_libc.
76219         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
76220         marked to avoid plt entry.
76222 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
76224         [BZ #14112]
76225         * Makeconfig (default-abi): New macro.
76226         (abi-includes): Likewise.
76227         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
76228         $(abi-$(default-abi)-lib-soname) for soname if defined.
76229         ($(common-objpfx)gnu/lib-names.stmp): Generate from
76230         abi-variants.
76231         * Makefile (installed-stubs): Likewise.
76232         * include/stubs-biarch.h: Removed.
76233         * scripts/lib-names.awk: Only handle one library at a time.
76234         * scripts/soversions.awk: Remove WORDSIZE support.
76235         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
76236         entries.
76237         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
76238         Removed.
76239         (syscall-list-default-condition): Likewise.
76240         (syscall-list-default-condition): Likewise.
76241         (syscall-list-includes): Likewise.
76242         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
76243         syscall-list-* with abi-*.  Handle undefined abi-variants.
76244         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
76245         * sysdeps/unix/sysv/linux/i386/Implies: New file.
76246         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
76247         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
76248         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
76249         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
76250         Removed.
76251         (syscall-list-32-options): Likewise.
76252         (syscall-list-32-condition): Likewise.
76253         (syscall-list-64-options): Likewise.
76254         (syscall-list-64-condition): Likewise.
76255         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
76256         macro.
76257         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
76258         Renamed to ...
76259         (abi-*): This.
76260         (abi-64-ld-soname): New macro.
76261         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
76262         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
76263         Renamed to ...
76264         (abi-*): This.
76265         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
76266         * sysdeps/x86_64/x32/shlib-versions: Likewise.
76268 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
76270         * sysdeps/unix/sysv/linux/kernel-features.h
76271         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
76272         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
76273         include <kernel-features.h>.
76274         [!__NR_ftruncate64]: Remove conditional code.
76275         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76276         [__NR_ftruncate64]: Make code unconditional.
76277         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76278         * sysdeps/unix/sysv/linux/truncate64.c: Do not
76279         include <kernel-features.h>.
76280         [!__NR_ftruncate64]: Remove conditional code.
76281         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76282         [__NR_ftruncate64]: Make code unconditional.
76283         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
76285         include <kernel-features.h>.
76286         [!__NR_ftruncate64]: Remove conditional code.
76287         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76288         [__NR_ftruncate64]: Make code unconditional.
76289         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
76291         include <kernel-features.h>.
76292         [!__NR_ftruncate64]: Remove conditional code.
76293         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76294         [__NR_ftruncate64]: Make code unconditional.
76295         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
76297         * configure.in (libc_cv_fpie): Weaken to a compile test using
76298         LIBC_TRY_CC_OPTION.
76299         * configure: Regenerated.
76301 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
76304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
76305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
76306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76307         Refreshed.
76308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
76309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
76310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
76311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
76312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
76313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76314         Refreshed.
76316 2012-05-27  David S. Miller  <davem@davemloft.net>
76318         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
76319         (___Q_zero): New.
76320         (__Q_simulate_exceptions): Return void.  Change to simulate
76321         exceptions by writing into the %fsr.
76322         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
76323         (__Qp_handle_exceptions): Likewise.
76324         (numbers): Delete.
76325         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
76326         __Qp_handle_exceptions.
76327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
76328         __Qp_handle_exceptions.
76329         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76330         as unused and give dummy FP_RND_NEAREST initializer.
76331         (FP_INHIBIT_RESULTS): Define.
76332         (___Q_simulate_exceptions): Update declaration.
76333         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
76334         formatting.
76335         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
76336         as unused and give dummy FP_RND_NEAREST initializer.
76337         (__Qp_handle_exceptions): Update declaration.
76338         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
76339         formatting.
76341 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
76343         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
76344         the temporary FPU control word.
76345         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
76346         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
76347         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
76348         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76349         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
76350         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
76351         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
76352         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76353         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
76354         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
76355         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76357 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76359         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
76360         fields.
76362 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
76364         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
76365         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
76366         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
76367         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
76368         Likewise.
76369         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
76370         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
76371         Likewise.
76373 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
76375         * po/h.po: Update from translation team.
76377 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
76379         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
76381         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
76382         handling of denormals.
76383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76384         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
76385         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76386         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76388         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
76389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
76390         Likewise.
76392 2012-05-26  Marek Polacek  <polacek@redhat.com>
76394         [BZ #14152]
76395         * math/libm-test.inc (fma_test): Don't always expect underflow
76396         exception.
76398 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76400         [BZ #12416]
76401         * elf/tst-execstack.c: Include stackinfo.h.
76402         (do_test): Adjust test case to ensure that pthread_getattr_np
76403         behaviour remains the same after marking stack executable.
76405 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76407         * sysdeps/unix/sysv/linux/kernel-features.h
76408         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
76409         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
76410         kernel-features.h.
76411         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76412         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76413         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
76414         kernel-features.h.
76415         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76416         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
76418 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
76420         * configure.in: Define the default includes to being none.
76421         * configure: Regenerated.
76423 2012-05-25  Roland McGrath  <roland@hack.frob.com>
76425         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
76426         * sysdeps/x86_64/setjmp.S: Likewise.
76427         * sysdeps/i386/bsd-setjmp.S: Likewise.
76428         * sysdeps/i386/bsd-_setjmp.S: Likewise.
76429         * sysdeps/i386/setjmp.S: Likewise.
76430         * sysdeps/i386/__longjmp.S: Likewise.
76431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76432         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
76434         * include/stap-probe.h: New file.
76435         * configure.in: Handle --enable-systemtap.
76436         * configure: Regenerated.
76437         * config.h.in (USE_STAP_PROBE): New #undef.
76438         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
76439         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
76440         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
76442 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
76444         [BZ #13717]
76445         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76446         to 2.4.0 where earlier.
76447         * sysdeps/unix/sysv/linux/configure: Regenerated.
76448         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
76449         <kernel-features.h>.
76450         [__ASSUME_32BITUIDS]: Make code unconditional.
76451         [!__ASSUME_32BITUIDS]: Remove conditional code.
76452         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
76453         <kernel-features.h>.
76454         [__ASSUME_32BITUIDS]: Make code unconditional.
76455         [!__ASSUME_32BITUIDS]: Remove conditional code.
76456         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
76457         [__ASSUME_32BITUIDS]: Make code unconditional.
76458         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
76459         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
76460         <kernel-features.h>.
76461         [__ASSUME_32BITUIDS]: Make code unconditional.
76462         [!__ASSUME_32BITUIDS]: Remove conditional code.
76463         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
76464         <kernel-features.h>.
76465         [__ASSUME_32BITUIDS]: Make code unconditional.
76466         [!__ASSUME_32BITUIDS]: Remove conditional code.
76467         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
76468         <kernel-features.h>.
76469         [__ASSUME_32BITUIDS]: Make code unconditional.
76470         [!__ASSUME_32BITUIDS]: Remove conditional code.
76471         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
76472         <kernel-features.h>.
76473         [__ASSUME_32BITUIDS]: Make code unconditional.
76474         [!__ASSUME_32BITUIDS]: Remove conditional code.
76475         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
76476         <kernel-features.h>.
76477         [__ASSUME_32BITUIDS]: Make code unconditional.
76478         [!__ASSUME_32BITUIDS]: Remove conditional code.
76479         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
76480         <kernel-features.h>.
76481         [__ASSUME_32BITUIDS]: Make code unconditional.
76482         [!__ASSUME_32BITUIDS]: Remove conditional code.
76483         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
76484         <kernel-features.h>.
76485         [__ASSUME_32BITUIDS]: Make code unconditional.
76486         [!__ASSUME_32BITUIDS]: Remove conditional code.
76487         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
76488         <kernel-features.h>.
76489         [__ASSUME_32BITUIDS]: Make code unconditional.
76490         [!__ASSUME_32BITUIDS]: Remove conditional code.
76491         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
76492         <kernel-features.h>.
76493         [__ASSUME_32BITUIDS]: Make code unconditional.
76494         [!__ASSUME_32BITUIDS]: Remove conditional code.
76495         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
76496         <kernel-features.h>.
76497         [__ASSUME_32BITUIDS]: Make code unconditional.
76498         [!__ASSUME_32BITUIDS]: Remove conditional code.
76499         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
76500         <kernel-features.h>.
76501         [__NR_setresgid] (__setresgid): Do not declare.
76502         [__ASSUME_32BITUIDS]: Make code unconditional.
76503         [!__ASSUME_32BITUIDS]: Remove conditional code.
76504         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
76505         <kernel-features.h>.
76506         [__NR_setresuid] (__setresuid): Do not declare.
76507         [__ASSUME_32BITUIDS]: Make code unconditional.
76508         [!__ASSUME_32BITUIDS]: Remove conditional code.
76509         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
76510         <kernel-features.h>.
76511         [__ASSUME_32BITUIDS]: Make code unconditional.
76512         [!__ASSUME_32BITUIDS]: Remove conditional code.
76513         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
76514         <kernel-features.h>.
76515         [__ASSUME_32BITUIDS]: Make code unconditional.
76516         [!__ASSUME_32BITUIDS]: Remove conditional code.
76517         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
76518         <kernel-features.h>.
76519         [__ASSUME_32BITUIDS]: Make code unconditional.
76520         [!__ASSUME_32BITUIDS]: Remove conditional code.
76521         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
76522         <kernel-features.h>.
76523         [__ASSUME_32BITUIDS]: Make code unconditional.
76524         [!__ASSUME_32BITUIDS]: Remove conditional code.
76525         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
76526         <kernel-features.h>.
76527         [__ASSUME_32BITUIDS]: Make code unconditional.
76528         [!__ASSUME_32BITUIDS]: Remove conditional code.
76529         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
76530         <kernel-features.h>.
76531         [__ASSUME_32BITUIDS]: Make code unconditional.
76532         [!__ASSUME_32BITUIDS]: Remove conditional code.
76533         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
76534         <kernel-features.h>.
76535         [__ASSUME_32BITUIDS]: Make code unconditional.
76536         [!__ASSUME_32BITUIDS]: Remove conditional code.
76537         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
76538         <kernel-features.h>.
76539         [__ASSUME_32BITUIDS]: Make code unconditional.
76540         [!__ASSUME_32BITUIDS]: Remove conditional code.
76541         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
76542         <kernel-features.h>.
76543         [__ASSUME_32BITUIDS]: Make code unconditional.
76544         [!__ASSUME_32BITUIDS]: Remove conditional code.
76545         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
76546         <kernel-features.h>.
76547         [__ASSUME_32BITUIDS]: Make code unconditional.
76548         [!__ASSUME_32BITUIDS]: Remove conditional code.
76549         * sysdeps/unix/sysv/linux/kernel-features.h
76550         (__ASSUME_SETRESUID_SYSCALL): Remove.
76551         (__ASSUME_SETRESGID_SYSCALL): Likewise.
76552         (__ASSUME_32BITUIDS): Likewise.
76553         (__ASSUME_LDT_WORKS): Likewise.
76554         (__ASSUME_O_DIRECTORY): Likewise.
76555         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
76556         architecture but not kernel version.
76557         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
76558         (__ASSUME_MMAP2_SYSCALL): Likewise.
76559         (__ASSUME_STAT64_SYSCALL): Likewise.
76560         (__ASSUME_IPC64): Likewise.
76561         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
76562         <kernel-features.h>.
76563         [__ASSUME_32BITUIDS]: Make code unconditional.
76564         [!__ASSUME_32BITUIDS]: Remove conditional code.
76565         * sysdeps/unix/sysv/linux/opendir.c: Do not include
76566         <kernel-features.h>.
76567         [__ASSUME_O_DIRECTORY]: Make code unconditional.
76568         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
76569         132096]: Remove conditional code.
76570         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
76571         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
76572         <kernel-features.h>.
76573         [__ASSUME_32BITUIDS]: Make code unconditional.
76574         [!__ASSUME_32BITUIDS]: Remove conditional code.
76575         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
76576         <kernel-features.h>.
76577         [__ASSUME_32BITUIDS]: Make code unconditional.
76578         [!__ASSUME_32BITUIDS]: Remove conditional code.
76579         * sysdeps/unix/sysv/linux/setegid.c: Do not include
76580         <kernel-features.h>.
76581         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
76582         unconditional.
76583         (__setresgid): Do not declare.
76584         [__ASSUME_32BITUIDS]: Make code unconditional.
76585         [!__ASSUME_32BITUIDS]: Remove conditional code.
76586         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
76587         <kernel-features.h>.
76588         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
76589         unconditional.
76590         (__setresuid): Do not declare.
76591         [__ASSUME_32BITUIDS]: Make code unconditional.
76592         [!__ASSUME_32BITUIDS]: Remove conditional code.
76593         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
76594         <kernel-features.h>.
76595         [__ASSUME_32BITUIDS]: Make code unconditional.
76596         [!__ASSUME_32BITUIDS]: Remove conditional code.
76597         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
76598         <kernel-features.h>.
76599         [__ASSUME_32BITUIDS]: Make code unconditional.
76600         [!__ASSUME_32BITUIDS]: Remove conditional code.
76602 2012-05-25  Richard Henderson  <rth@twiddle.net>
76604         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
76605         dl_hwcap to ifunc resolver.
76606         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
76607         elf_ifunc_invoke.
76608         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
76609         dl_hwcap to ifunc resolver.
76610         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
76612 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76614         [BZ #14153]
76615         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
76616         for |x| <= 2**-26, not 2**-57.
76617         * math/libm-test.inc (acos_test): Do not allow spurious underflow
76618         exception.
76620 2012-05-24  Jeff Law  <law@redhat.com>
76622         * stdio-common/Makefile (tests): Add bug25.
76623         * stdio-common/bug25.c: New test.
76625 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76627         [BZ #13576]
76628         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
76629         multiple of MALLOC_ALIGNMENT in size.
76630         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
76632 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76634         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
76635         Require >= 256.
76636         (FILENAME_MAX): Use macro-int-constant.
76637         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
76638         (_IOFBF): Use macro-int-constant.
76639         (_IOLBF): Likewise.
76640         (_IONBF): Likewise.
76641         (SEEK_CUR): Likewise.
76642         (SEEK_END): Likewise.
76643         (SEEK_SET): Likewise.
76644         (TMP_MAX): Likewise.
76645         (EOF): Use macro-int-constant.  Require < 0.
76646         (NULL): Use macro-constant.  Require == 0.
76647         (stdin): Require type to be FILE *.
76648         (stdout): Likewise.
76649         (stderr): Likewise.
76650         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
76651         macro-int-constant.
76652         (EXIT_SUCCESS): Likewise.
76653         (NULL): Use macro-constant.  Require == 0.
76654         (RAND_MAX): Use macro-int-constant.
76655         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
76656         [C99-based standards] (strtof): Require function.
76657         [C99-based standards] (strtold): Likewise.
76658         [C99-based standards] (strtoll): Likewise.
76659         [C99-based standards] (strtoull): Likewise.
76660         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76661         [ISO || ISO99 || ISO11] (limits.h): Likewise.
76662         [ISO || ISO99 || ISO11] (math.h): Likewise.
76663         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
76664         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76665         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76667 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
76669         [BZ #14132]
76670         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
76671         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
76672         * intl/dgettext.c (DCGETTEXT): Likewise.
76673         * intl/gettext.c (DCGETTEXT): Likewise.
76674         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
76675         * posix/regex_internal.h (gettext): Likewise.
76676         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
76677         Remove declaration.
76678         * include/argz.h (__argz_count_internal)
76679         (__argz_stringify_internal): Remove declaration.
76680         (__argz_count, __argz_stringify): Declare hidden proto.
76681         * intl/dcgettext.c: Remove use of INTDEF.
76682         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
76683         * string/argz-stringify.c: Likewise.
76684         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76685         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76686         Declare hidden proto.
76687         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
76688         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76689         Declare hidden proto.
76690         * include/stdio.h (__asprintf_internal): Don't declare.
76691         (__asprintf): Don't define as macro.  Declare hidden proto.
76692         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
76693         (__fsetlocking): Declare hidden proto.
76694         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76695         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
76696         hidden proto.
76697         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
76698         (_IO_setlinebuf): Remove use of INTUSE.
76699         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76700         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
76701         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
76702         Remove declaration.
76703         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
76704         (_IO_do_flush): Remove use of INTUSE.
76705         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
76706         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
76707         (_IO_adjust_column, _IO_least_wmarker)
76708         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
76709         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
76710         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
76711         (_IO_default_doallocate, _IO_wdefault_doallocate)
76712         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
76713         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
76714         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
76715         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
76716         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
76717         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
76718         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
76719         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
76720         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
76721         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
76722         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
76723         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
76724         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
76725         proto.
76726         (_IO_flush_all_internal, _IO_adjust_column_internal)
76727         (_IO_default_uflow_internal, _IO_default_finish_internal)
76728         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
76729         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
76730         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
76731         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
76732         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
76733         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
76734         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
76735         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
76736         (_IO_file_close_internal, _IO_file_close_it_internal)
76737         (_IO_file_underflow_internal, _IO_file_overflow_internal)
76738         (_IO_file_init_internal, _IO_file_attach_internal)
76739         (_IO_file_fopen_internal, _IO_file_read_internal)
76740         (_IO_file_sync_internal, _IO_file_seek_internal)
76741         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
76742         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
76743         (_IO_str_underflow_internal, _IO_str_overflow_internal)
76744         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
76745         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
76746         (_IO_list_all_internal, _IO_link_in_internal)
76747         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
76748         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
76749         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
76750         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
76751         (_IO_do_write_internal, _IO_padn_internal)
76752         (_IO_getline_info_internal, _IO_getline_internal)
76753         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
76754         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
76755         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
76756         (_IO_vfscanf_internal, _IO_vfprintf_internal)
76757         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
76758         (_IO_init_internal, _IO_un_link_internal): Don't declare.
76759         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
76760         with libc_hidden_ver, remove use of INTUSE.
76761         * libio/genops.c: Likewise.
76762         * libio/freopen.c: Likewise.
76763         * libio/freopen64.c: Likewise.
76764         * libio/iofclose.c: Likewise.
76765         * libio/iofdopen.c: Likewise.
76766         * libio/iofflush.c: Likewise.
76767         * libio/iofflush_u.c: Likewise.
76768         * libio/iofgets.c: Likewise.
76769         * libio/iofgets_u.c: Likewise.
76770         * libio/iofopen.c: Likewise.
76771         * libio/iofopncook.c: Likewise.
76772         * libio/iofread.c: Likewise.
76773         * libio/iofread_u.c: Likewise.
76774         * libio/ioftell.c: Likewise.
76775         * libio/iofwrite.c: Likewise.
76776         * libio/iogetline.c: Likewise.
76777         * libio/iogets.c: Likewise.
76778         * libio/iogetwline.c: Likewise.
76779         * libio/iopadn.c: Likewise.
76780         * libio/iopopen.c: Likewise.
76781         * libio/ioseekoff.c: Likewise.
76782         * libio/ioseekpos.c: Likewise.
76783         * libio/iosetbuffer.c: Likewise.
76784         * libio/iosetvbuf.c: Likewise.
76785         * libio/ioungetc.c: Likewise.
76786         * libio/ioungetwc.c: Likewise.
76787         * libio/iovdprintf.c: Likewise.
76788         * libio/iovsprintf.c: Likewise.
76789         * libio/iovsscanf.c: Likewise.
76790         * libio/memstream.c: Likewise.
76791         * libio/obprintf.c: Likewise.
76792         * libio/oldfileops.c: Likewise.
76793         * libio/oldiofclose.c: Likewise.
76794         * libio/oldiofdopen.c: Likewise.
76795         * libio/oldiofopen.c: Likewise.
76796         * libio/oldiopopen.c: Likewise.
76797         * libio/oldstdfiles.c: Likewise.
76798         * libio/putc.c: Likewise.
76799         * libio/setbuf.c: Likewise.
76800         * libio/setlinebuf.c: Likewise.
76801         * libio/stdfiles.c: Likewise.
76802         * libio/strops.c: Likewise.
76803         * libio/vasprintf.c: Likewise.
76804         * libio/vscanf.c: Likewise.
76805         * libio/vsnprintf.c: Likewise.
76806         * libio/vswprintf.c: Likewise.
76807         * libio/wfiledoalloc.c: Likewise.
76808         * libio/wfileops.c: Likewise.
76809         * libio/wgenops.c: Likewise.
76810         * libio/wmemstream.c: Likewise.
76811         * libio/wstrops.c: Likewise.
76812         * libio/__fpurge.c: Likewise.
76813         * libio/__fsetlocking.c: Likewise.
76814         * assert/assert.c: Likewise.
76815         * debug/fgets_chk.c: Likewise.
76816         * debug/fgets_u_chk.c: Likewise.
76817         * debug/fread_chk.c: Likewise.
76818         * debug/fread_u_chk.c: Likewise.
76819         * debug/gets_chk.c: Likewise.
76820         * debug/obprintf_chk.c: Likewise.
76821         * debug/vasprintf_chk.c: Likewise.
76822         * debug/vdprintf_chk.c: Likewise.
76823         * debug/vsnprintf_chk.c: Likewise.
76824         * debug/vsprintf_chk.c: Likewise.
76825         * malloc/mtrace.c: Likewise.
76826         * misc/error.c: Likewise.
76827         * misc/syslog.c: Likewise.
76828         * stdio-common/asprintf.c: Likewise.
76829         * stdio-common/fxprintf.c: Likewise.
76830         * stdio-common/getw.c: Likewise.
76831         * stdio-common/isoc99_fscanf.c: Likewise.
76832         * stdio-common/isoc99_scanf.c: Likewise.
76833         * stdio-common/isoc99_vfscanf.c: Likewise.
76834         * stdio-common/isoc99_vscanf.c: Likewise.
76835         * stdio-common/isoc99_vsscanf.c: Likewise.
76836         * stdio-common/printf-prs.c: Likewise.
76837         * stdio-common/printf_fp.c: Likewise.
76838         * stdio-common/printf_fphex.c: Likewise.
76839         * stdio-common/printf_size.c: Likewise.
76840         * stdio-common/putw.c: Likewise.
76841         * stdio-common/scanf.c: Likewise.
76842         * stdio-common/sprintf.c: Likewise.
76843         * stdio-common/tmpfile.c: Likewise.
76844         * stdio-common/vfprintf.c: Likewise.
76845         * stdio-common/vfscanf.c: Likewise.
76846         * stdlib/strfmon_l.c: Likewise.
76847         * sunrpc/openchild.c: Likewise.
76848         * sunrpc/xdr_stdio.c: Likewise.
76849         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
76850         * sysdeps/mach/hurd/tmpfile.c: Likewise.
76852 2012-05-24  Roland McGrath  <roland@hack.frob.com>
76854         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76856         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
76857         in the third column, to generate for the shared library an IFUNC
76858         that uses _dl_vdso_vsym.
76859         * Makerules (COMPILE.c, compile-stdin.c): New variables.
76860         * Makeconfig (object-suffixes-noshared): New variable.
76862         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
76863         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
76864         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
76865         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
76867         [BZ #14132]
76868         * include/sys/time.h (__gettimeofday): Remove macro.
76869         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
76870         * time/gettimeofday.c (__gettimeofday): Remove #undef.
76871         Remove INTDEF.
76872         (__gettimeofday): Add libc_hidden_def.
76873         (gettimeofday): Add libc_hidden_weak.
76874         * sysdeps/mach/gettimeofday.c: Likewise.
76875         * sysdeps/posix/gettimeofday.c: Likewise.
76876         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
76877         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
76878         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
76879         (__gettimeofday_internal): Remove strong_alias.
76880         (__gettimeofday): Add libc_hidden_def.
76881         (gettimeofday): Add libc_hidden_weak.
76882         * sysdeps/unix/syscalls.list (gettimeofday):
76883         Remove __gettimeofday_internal alias.
76885 2012-05-24  Daniel Jacobowitz  <drow@false.org>
76886             H.J. Lu  <hongjiu.lu@intel.com>
76888         [BZ #12495]
76889         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
76890         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
76891         (largebin_index_32_big): New.
76892         (largebin_index): Use it for 16-byte alignment.
76893         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
76894         correction with front_misalign.
76896 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
76898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
76899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
76900         Likewise.
76901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
76902         Likewise.
76903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
76904         Likewise.
76905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
76906         Likewise.
76907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
76908         Likewise.
76909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
76910         Likewise.
76911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
76912         Likewise.
76913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
76914         Likewise.
76915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
76916         Likewise.
76917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
76918         Likewise.
76919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
76920         Likewise.
76921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
76922         Likewise.
76924         * scripts/data/c++-types-x32-linux-gnu.data: New file.
76925         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
76927 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
76929         [BZ #10846]
76930         [BZ #14036]
76931         * math/libm-test.inc (exp_test): Add test from bug 14036.
76932         (pow_test): Add test from bug 10846.
76934         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
76935         and other flags.
76936         (special_function): Do not include flags in test name.
76937         (parse_args): Likewise.
76938         * sysdeps/i386/fpu/libm-test-ulps: Update.
76939         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76940         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
76941         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
76942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76944         * math/gen-libm-test.pl (%beautify): Add entries for underflow
76945         exceptions.
76946         * math/libm-test.inc ("Philosophy"): Update comment about
76947         exception testing.
76948         (UNDERFLOW_EXCEPTION): New macro.
76949         (UNDERFLOW_EXCEPTION_OK): Likewise.
76950         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
76951         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
76952         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
76953         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
76954         (INVALID_EXCEPTION_OK): Update value.
76955         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76956         (OVERFLOW_EXCEPTION_OK): Likewise.
76957         (IGNORE_ZERO_INF_SIGN): Likewise.
76958         (test_exceptions): Handle underflow exceptions.
76959         (acos_test): Update for underflow exception expectations.
76960         (cexp_test): Likewise.
76961         (clog_test): Likewise.
76962         (clog10_test): Likewise.
76963         (csqrt_test): Likewise.
76964         (ctan_test): Likewise.
76965         (ctanh_test): Likewise.
76966         (exp_test): Likewise.
76967         (exp10_test): Likewise.
76968         (exp2_test): Likewise.
76969         (expm1_test): Likewise.
76970         (fma_test): Likewise.
76971         (j0_test): Likewise.
76972         (jn_test): Likewise.
76973         (nexttoward_test): Likewise.
76974         (pow_test): Likewise.
76975         (scalbn_test): Likewise.
76976         (scalbln_test): Likewise.
76977         (tan_test): Likewise.
76978         (y1_test): Likewise.
76979         * sysdeps/i386/fpu/libm-test-ulps: Update.
76980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76982 2012-05-23  David S. Miller  <davem@davemloft.net>
76984         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76985         (__libc_sigaction): Remove unused local variables.
76987 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
76989         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
76991 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
76993         mktime: avoid signed integer overflow
76994         * time/mktime.c (__mktime_internal): Do not mishandle the case
76995         where diff == INT_MIN.
76997         mktime: simplify computation of average
76998         * time/mktime.c (ranged_convert): Use new time_t_avg function
76999         instead of rolling our own (probably-slower) code.
77001         mktime: do not assume signed right shift propagates sign bit
77002         * time/mktime.c (isdst_differ): New static function.
77003         (__mktime_internal): No need to normalize tm_isdst now.
77004         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77005         tm_isdst values.
77007         mktime: merge another wrapv change from gnulib
77008         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77009         from some compilers.
77011         mktime: remove incorrect attempt at unusual arithmetics
77012         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77013         The code didn't really work on such machines anyway.
77014         (TYPE_MINIMUM): Assume two's complement.
77015         (twos_complement_arithmetic): Verify that long_int and time_t
77016         are two's complement (or unsigned, in the latter case).
77018         mktime: check signed shifts on long_int and time_t, too
77019         * time/mktime.c (SHR): Check that shifts work as desired
77020         on the types long_int and time_t too, as SHR is used on
77021         such types.
77023         mktime: do not assume 'long' is wide enough
77024         * time/mktime.c (verify): Move decl up.
77025         (long_int): New type.
77026         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77027         to remove assumption in the code that 'long' is wide enough to
77028         store year values.  This assumption is not true on x32 and on
77029         some non-glibc platforms.
77031         mktime: merge wrapv change from gnulib
77032         * time/mktime.c (WRAPV): New macro.
77033         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77034         (guess_time_tm, __mktime_internal): Do not assume that signed
77035         integer overflow wraps around; modern compilers generate code
77036         where this assumption is no longer valid.
77038 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77040         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77041         Replace "jmp L(pseudo_end)" with "ret".
77042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77043         Likewise.
77045 2012-05-23  Andreas Jaeger  <aj@suse.de>
77047         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77048         * sysdeps/unix/sysv/linux/poll.c: Remove file.
77050 2012-05-23  Andreas Jaeger  <aj@suse.de>
77051             Maximilian Attems  <max@stro.at>
77053         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
77054         New macros.
77056 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77058         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
77059         code so that pseudo_end is just ret and the stack pointer is
77060         correct also for static library in error case.
77062 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
77064         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
77065         move to syscalls.list.
77066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
77067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
77068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
77069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
77071         * manual/install.texi (Running make install): Do not mention Linux
77072         kernel version for which pt_chown is not needed.
77073         (Linux): Do not mention problems with nscd with 2.0 kernels.
77074         * INSTALL: Regenerated.
77076 2012-05-23  Andreas Jaeger  <aj@suse.de>
77078         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
77079         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
77080         macro.
77081         * sysdeps/unix/sysv/linux/s390/bits/mman.h
77082         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77083         * sysdeps/unix/sysv/linux/sh/bits/mman.h
77084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77085         * sysdeps/unix/sysv/linux/i386/bits/mman.h
77086         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
77088         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
77090         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
77091         * sysdeps/unix/sysv/linux/bits/in.h
77092         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
77094 2012-05-22  Roland McGrath  <roland@hack.frob.com>
77096         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
77097         (PREPARE_VERSION): Just use assert instead, it will be elided
77098         under [NDEBUG] anyway.
77100 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77102         * sysdeps/unix/sysv/linux/Makefile: Include
77103         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
77104         (sysdep_routines): Remove sysctl.
77105         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
77106         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
77107         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
77108         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
77109         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
77111 2012-05-22  Andreas Jaeger  <aj@suse.de>
77113         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
77114         that pseudo_end is just ret and the stack pointer is correct also
77115         for static library in error case.
77117 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
77119         [BZ #14122]
77120         * nss/nsswitch.c (defconfig_entries): New variable.
77121         (__nss_database_lookup): Don't leak defconfig entries.
77122         (nss_parse_service_list): Don't leak on error paths.
77123         (free_database_entries): New function.
77124         (free_defconfig): New function.
77125         (free_mem): Move common code to free_database_entries.
77127 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77129         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
77130         Add arch_prctl.
77131         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
77133         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
77134         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
77135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
77136         New macro.
77137         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
77138         (INTERNAL_SYSCALL_TYPES): Likewise.
77139         (LOAD_ARGS_TYPES_[1-6]): Likewise.
77140         (LOAD_REGS_TYPES_[1-6]): Likewise.
77141         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
77142         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
77144 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77146         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
77147         copysignl for GLIBC_2_0.
77148         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
77149         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
77150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
77151         logbl for GLIBC_2_0.
77152         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
77153         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
77155 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77157         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
77158         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77160         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77161         Use "neg %eax".
77163         * time/mktime.c: Update copyright years.
77165 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
77167         mktime: merge comment-quoting-style change from gnulib
77168         * time/mktime.c: Quote 'like this' in comments.
77169         The GNU coding standards suggest that we no longer quote `like this',
77170         as "`" and "'" are typically rendered asymmetrically nowadays.
77171         The typical gnulib style is to quote 'like this' when quoting
77172         code, and "like this" when quoting English.
77174         * time/mktime.c (compile-command): Add "-I.".
77176         mktime: merge mktime-internal.h change from gnulib
77177         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
77179         mktime: merge time_r change from gnulib
77180         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
77182         mktime: merge DEBUG change from gnulib
77183         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
77184         case system <time.h> has a #define.
77186         mktime: merge <sys/types.h> change from gnulib
77187         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
77188         since <time.t> is now guaranteed to define time_t.
77190         mktime: merge HAVE_CONFIG_H change from gnulib
77191         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
77193 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
77195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77196         Use "neg %eax".
77198         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
77199         __rlim_t cast.
77200         (struct rusage): Use anonymous union to pad each field to
77201         __syscall_slong_t.
77203 2012-05-21  David S. Miller  <davem@davemloft.net>
77205         * Makefules (o-iterator): Remove .s cases.
77206         (compile-command.s): Delete.
77207         (COMPILE.s): Delete.
77208         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
77210 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
77212         * configure.in (libc_cv_predef_stack_protector): Only consider
77213         "foobar" and "__stack_chk_fail" lines in libc_undefs.
77214         * configure: Regenerated.
77216 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
77219         New macro.  Use R*LP on int and pointer.
77220         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
77221         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
77222         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
77223         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
77225         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
77226         [__WORDSIZE_TIME64_COMPAT32] instead of
77227         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
77228         (struct utmp): Likewise.
77229         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
77230         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
77231         Renamed to ...
77232         (__WORDSIZE_TIME64_COMPAT32): This.
77233         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
77234         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
77235         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
77236         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77237         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
77238         (__WORDSIZE_TIME64_COMPAT32): New macro.
77240 2012-05-21  Andreas Jaeger  <aj@suse.de>
77242         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
77243         only if [SHARED]. Add prototype for __wcschr_ia32.
77245 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77247         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
77248         of %rbp unmolested in the jmp_buf while mangling the low bits.
77249         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
77250         unmolested high bits of %rbp while demangling the low bits.
77251         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77253 2012-05-21  Andreas Jaeger  <aj@suse.de>
77255         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77256         * sunrpc/svc_simple.c: Use it for registerrpc.
77257         * sunrpc/xcrypt.c: Use it for passwd2des.
77259         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
77261 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77263         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
77264         Don't define if [__SYSCALL_WORDSIZE != 32].
77265         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
77266         New macro.
77268 2012-05-21  Bruno Haible  <bruno@clisp.org>
77269             Andreas Jaeger  <aj@suse.de>
77271         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
77272         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
77273         inptr and inend for must_buffer_ch.
77274         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
77275         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
77276         * stdio-common/Makefile (tests): Remove bug15.
77277         (bug15-ENV): Remove macro.
77278         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
77279         anymore.
77281 2012-05-19  Andreas Jaeger  <aj@suse.de>
77282             Roland McGrath  <roland@hack.frob.com>
77284         * manual/contrib.texi: Completely rewritten. It contains now an
77285         alphabetical list of contributors and their contributions.
77287 2012-05-21  Richard Henderson  <rth@twiddle.net>
77289         * misc/getauxval.c (__getauxval): Use unsigned long int.
77290         * misc/sys/auxv.h: Include <sys/cdefs.h>.
77291         (getauxval): Use unsigned long int.
77293 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
77295         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77297 2012-05-21  Roland McGrath  <roland@hack.frob.com>
77299         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
77300         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
77301         __alignof__ (long double).
77303 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77307 2012-05-20  Richard Henderson  <rth@twiddle.net>
77309         * misc/getauxval.c: New file.
77310         * misc/sys/auxv.h: New file.
77311         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
77312         (routines): Add getauxval.
77313         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
77314         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
77315         * elf/dl-sysdep.c (_dl_auxv): Remove.
77316         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
77317         * elf/dl-support.c (_dl_auxv): New variable.
77318         (_dl_aux_init): Initialize it.
77319         * manual/startup.texi (Auxiliary Vector): New node.
77320         * sysdeps/generic/bits/hwcap.h: New file.
77321         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
77322         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
77323         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
77324         * sysdeps/sparc/sysdep.h: ... here.  Include it.
77325         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
77326         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
77327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77328         Update.
77329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
77330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
77331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
77332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
77333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
77335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
77336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
77338 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77342 2012-05-19  David S. Miller  <davem@davemloft.net>
77344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77346 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77348         [BZ #14123]
77349         * math/s_ccosh.c: Include <float.h>
77350         (__ccosh): Avoid internal overflow calculating sinh and cosh
77351         values before multiplying by sin and cos values.
77352         * math/s_ccoshf.c: Likewise.
77353         * math/s_ccoshl.c: Likewise.
77354         * math/s_csin.c: Likewise.
77355         * math/s_csinf.c: Likewise.
77356         * math/s_csinl.c: Likewise.
77357         * math/s_csinh.c: Likewise.
77358         * math/s_csinhf.c: Likewise.
77359         * math/s_csinhl.c: Likewise.
77360         * math/libm-test.inc (ccos_test): Add more tests.
77361         (ccosh_test): Likewise.
77362         (csin_test): Likewise.
77363         (csinh_test): Likewise.
77364         * sysdeps/i386/fpu/libm-test-ulps: Update.
77365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77367 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
77369         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
77370         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
77372         * sysdeps/x86_64/x32/_itoa.h: Add comment.
77374 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
77376         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
77377         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
77378         * sysdeps/powerpc/soft-fp/Versions: Likewise.
77379         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
77380         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
77381         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
77382         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
77383         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
77384         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
77385         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
77386         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
77387         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
77388         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
77389         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
77390         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
77391         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
77392         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
77393         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
77394         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
77395         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
77396         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
77397         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
77398         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
77399         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
77400         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
77401         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
77402         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
77403         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
77404         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
77405         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
77406         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
77408 2012-05-18  Andreas Jaeger  <aj@suse.de>
77410         * csu/.gitignore: Delete.
77412 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77414         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
77415         (timex): Use __syscall_slong_t.
77417 2012-05-18  Andreas Jaeger  <aj@suse.de>
77418             Carlos O'Donell  <carlos_odonell@mentor.com>
77420         * manual/install.texi (Configuring and compiling): Update
77421         description about files modified in the source directory.
77422         * INSTALL: Regenerated.
77424 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77426         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
77427         value.  Use "or" to set return value to -1.
77428         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
77429         negate return value.
77431 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77433         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
77434         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
77435         failure if the compiler has Graphite support disabled.
77436         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
77437         Likewise.
77438         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
77439         (CFLAGS-memmove.c): Likewise.
77440         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
77441         Likewise.
77443 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
77445         * sysdeps/x86_64/x32/_itoa.h: New file.
77447         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
77448         getdents system call only if kernel and user dirents have the
77449         same d_ino and d_off.
77451         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77452         LLONG_MAX != LONG_MAX.
77453         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77454         (_fitoa_word): Likewise.
77456         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
77457         years.
77458         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
77459         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
77460         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
77462         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
77463         include <bits/wordsize.h>.  Check __x86_64__ instead of
77464         __WORDSIZE.
77465         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
77466         if __x86_64__ is defined.  Use anonymous union on fpstate.
77468         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
77469         anonymous union.
77471 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
77473         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
77474         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
77475         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
77476         Refer to _rtld_local_ro instead of _rtld_global_ro.
77477         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
77478         Likewise.
77479         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
77480         Likewise.
77481         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
77482         Likewise.
77483         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
77484         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
77485         of _rtld_global, and rtld_progname instead of _dl_argv[0].
77487         [BZ #10882]
77488         * sysdeps/powerpc/powerpc32/dl-machine.c
77489         (__elf_machine_runtime_setup) [PROF]: Don't reference
77490         _dl_prof_resolve.
77492 2012-05-18  Andreas Jaeger  <aj@suse.de>
77494         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
77495         function only available for GCCs before 3.4 since GCC 3.4
77496         introduced a builtin.
77497         (lrint): Likewise.
77498         (llrintf): Likewise.
77499         (llrint): Likewise.
77500         (fmaxf): Likewise.
77501         (fmax): Likewise.
77502         (fminf): Likewise.
77503         (fmin): Likewise.
77504         (rint): Likewise.
77505         (rintf): Likewise.
77506         (nearbyint): Likewise.
77507         (nearbyintf): Likewise.
77508         (ceil): Likewise.
77509         (ceilf): Likewise.
77510         (floor): Likewise.
77511         (floorf): Likewise.
77513 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77515         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
77516         on both fields and cast pointer to __syscall_ulong_t.
77518         * bits/types.h (__fsword_t): New type.
77519         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
77520         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
77521         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77522         (__FSWORD_T_TYPE): Likewise.
77523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77524         (__FSWORD_T_TYPE): Likewise.
77525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77526         (__FSWORD_T_TYPE): Likewise.
77527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
77528         (__FSWORD_T_TYPE): Likewise.
77529         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
77530         __SWORD_TYPE with __fsword_t.
77531         (statfs64): Likewise.
77533 2012-05-17  David S. Miller  <davem@davemloft.net>
77535         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
77537 2012-05-17  Andreas Jaeger  <aj@suse.de>
77539         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
77540         warning.
77542 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77544         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
77546 2012-05-17  Andreas Jaeger  <aj@suse.de>
77548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
77549         when it is used.
77551 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77553         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
77555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77557         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
77558         * sysdeps/x86_64/tst-mallocalign1.c: New file.
77560 2012-05-17  Andreas Jaeger  <aj@suse.de>
77561             Carlos O'Donell  <carlos_odonell@mentor.com>
77563         [BZ #14059]
77564         * sysdeps/x86_64/multiarch/init-arch.h
77565         (bit_YMM_Usable): Rename to...
77566         (bit_AVX_Usable): ... this.
77567         (bit_FMA4_Usable): New macro.
77568         (bit_XMM_state): New macro.
77569         (bit_YMM_state): New macro.
77570         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
77571         [__ASSEMBLER__] (index_AVX_Usable): ... this.
77572         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
77573         (CPUID_OSXSAVE): New macro.
77574         (CPUID_AVX): New macro.
77575         (CPUID_FMA4): New macro.
77576         (index_YMM_Usable): Rename to...
77577         (index_AVX_Usable): ... this.
77578         (HAS_AVX): Use HAS_ARCH_FEATURE.
77579         (HAS_FMA4): Likewise.
77580         (HAS_YMM_USABLE): Remove.
77581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77582         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
77583         are present.
77584         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
77585         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
77586         * sysdeps/x86_64/multiarch/Makefile: Likewise.
77587         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
77588         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
77590 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
77592         * math/libm-test.c: Support platforms without multiple rounding modes.
77593         * math/bug-nextafter.c: Support platforms without FP exceptions.
77594         * math/bug-nexttoward.c: Likewise.
77595         * math/test-fenv.c: Likewise.
77596         * math/test-misc.c: Likewise.
77597         * stdlib/bug-getcontext.c: Likewise.
77599 2012-05-17  Andreas Jaeger  <aj@suse.de>
77601         * manual/examples/search.c (critter_cmp): Change signature to
77602         avoid warnings.
77603         * manual/string.texi (Collation Functions): Likewise.
77605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77607         * bits/types.h: Fold copyright years.
77608         * bits/typesizes.h: Likewise.
77609         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
77610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
77611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
77612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
77613         * time/time.h: Likewise.
77615 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
77617         [BZ #208]
77618         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
77619         in instead of returning them.  Return void.
77620         (__libc_mallinfo): Accumulate over all arenas.
77621         (__malloc_stats): Adjust for change in int_mallinfo interface.
77623 2012-05-16  Roland McGrath  <roland@hack.frob.com>
77625         [BZ #10375]
77626         * configure.in (NM): Add AC_CHECK_TOOL for it.
77627         (libc_extra_cflags): New substituted variable.
77628         Check for -fstack-protector being used implicitly.
77629         * configure: Regenerated.
77630         * config.make.in (config-extra-cflags): New variable,
77631         gets @libc_extra_cflags@.
77632         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
77634         [BZ #10375]
77635         * configure.in: Check for _FORTIFY_SOURCE being predefined.
77636         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
77637         * configure: Regenerated.
77638         * config.make.in (CPPUNDEFS): New substituted variable.
77639         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
77640         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
77641         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
77643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77645         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
77646         (mq_attr): Use __syscall_slong_t.
77648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77650         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
77651         Check __x86_64__ instead of __WORDSIZE.
77652         (_STAT_VER_LINUX): Likewise.
77653         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
77654         __syscall_ulong_t and __syscall_slong_t.
77655         (stat64): Likewise.
77657 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77659         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
77661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77663         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
77665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77667         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
77668         __syscall_ulong_t.
77670         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
77671         include <bits/wordsize.h>.  Check __x86_64__ instead of
77672         __WORDSIZE.
77673         (greg_t): Use "__extension__ long long int" if __x86_64__ is
77674         defined.
77675         (mcontext_t): Replace "unsigned long" with "unsigned long long".
77677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
77678         include <bits/wordsize.h>.  Check __x86_64__ instead of
77679         __WORDSIZE.
77680         (user_regs_struct): Use "__extension__ unsigned long long"
77681         instead of "unsigned long" if __x86_64__ is defined.
77682         (user): Likewise.  Pad after pointer field if __ILP32__ is
77683         defined.
77685 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
77687         * configure.in (makeinfo): Require version 4.5 or later.  Allow
77688         versions 5 to 9.
77689         * configure: Regenerated.
77690         * manual/install.texi (texinfo): Increase version requirement to
77691         4.5 or later.
77692         * INSTALL: Regenerated.
77694         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
77696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77698         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
77700         * sysdeps/x86_64/x32/ffs.c: New file.
77702         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
77703         __syscall_ulong_t.
77704         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
77705         defined.  Use __syscall_ulong_t.
77706         (shminfo): Use __syscall_ulong_t.
77707         (shm_info): Likewise.
77709         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
77710         __syscall_ulong_t.
77712         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
77713         <bits/wordsize.h>.
77714         (msgqnum_t): Use __syscall_ulong_t.
77715         (msglen_t): Likewise.
77716         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
77717         __syscall_ulong_t.
77719         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
77720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77722         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
77724         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
77725         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
77727         * sysvipc/sys/msg.h (msgbuf): Replace long int with
77728         __syscall_slong_t.
77730         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
77731         include <bits/wordsize.h>.  Check __x86_64__ instead of
77732         __WORDSIZE.
77734         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
77735         "unsigned long long int" if __x86_64__ is defined.
77736         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
77738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
77739         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
77740         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
77742         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
77743         <stdint.h>.
77744         (GET_PC): Cast to uintptr_t first.
77745         (GET_FRAME): Likewise.
77746         (GET_STACK): Likewise.
77748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
77749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
77750         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
77751         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
77752         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
77753         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
77754         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
77755         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
77756         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
77757         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
77758         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
77759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
77760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77761         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
77762         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
77763         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
77764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
77765         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
77766         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
77767         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
77768         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
77769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
77770         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
77771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
77772         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
77773         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
77774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
77775         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
77776         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
77778 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
77780         * Makerules (+depfiles): Also collect depfiles from .oS in
77781         $(extra-objs).
77782         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
77783         .oS, $(libnldbl-routines)).
77785         * Makerules (native-compile-mkdep-flags): Define.
77786         * sunrpc/Makefile (extra-objs): Add $(addprefix
77787         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
77788         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
77789         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
77790         calling $(make-target-directory).
77792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77794         * bits/types.h (__snseconds_t): Removed.
77795         * time/time.h (struct timespec): Replace __snseconds_t with
77796         __syscall_slong_t.
77797         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
77798         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
77799         Likewise.
77800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77801         (__SNSECONDS_T_TYPE): Likewise.
77802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77803         (__SNSECONDS_T_TYPE): Likewise.
77804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77805         (__SNSECONDS_T_TYPE): Likewise.
77807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77809         * sysdeps/mach/hurd/bits/typesizes.h
77810         (__SYSCALL_SLONG_TYPE): New macro.
77811         (__SYSCALL_ULONG_TYPE): Likewise.
77813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77815         * bits/types.h (__syscall_slong_t): New type.
77816         (__syscall_ulong_t): Likewise.
77818         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
77819         (__SYSCALL_ULONG_TYPE): Likewise.
77820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77821         (__SYSCALL_SLONG_TYPE): Likewise.
77822         (__SYSCALL_ULONG_TYPE): Likewise.
77823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77824         (__SYSCALL_SLONG_TYPE): Likewise.
77825         (__SYSCALL_ULONG_TYPE): Likewise.
77826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77827         (__SYSCALL_SLONG_TYPE): Likewise.
77828         (__SYSCALL_ULONG_TYPE): Likewise.
77830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77832         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
77833         Add sigaltstack-offsets.sym.
77834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
77835         <sigaltstack-offsets.h>.
77836         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
77837         longjmp_msg pointer.
77838         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
77839         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
77840         signal stack.
77841         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
77843 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77845         * elf/stackguard-macros.h: Remove file.
77846         * sysdeps/generic/stackguard-macros.h: New file.
77847         * sysdeps/i386/stackguard-macros.h: Likewise.
77848         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
77849         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
77850         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
77851         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
77852         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
77853         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
77854         * sysdeps/x86_64/stackguard-macros.h: Likewise.
77855         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
77856         <elf/stackguard-macros.h>.
77858         [BZ #14109]
77859         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
77860         __aligned__ in attribute.
77861         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
77862         (gregset_t): Likewise.
77864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77866         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
77867         * sysdeps/x86_64/64/Implies-after: Here.  New file.
77868         * sysdeps/x86_64/x32/Implies-after: New file.
77870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77872         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
77873         and access return value for _dl_profile_fixup.  Use R10_LP to
77874         load frame size.
77876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77878         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
77880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77882         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
77883         * sysdeps/x86_64/x32/sysdep.h: New file.
77885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77887         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
77888         * sysdeps/x86_64/setjmp.S: Likewise.
77890 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77892         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
77893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
77894         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
77895         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
77896         remove unused global constant.
77898 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
77900         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
77901         include of <not-cancel.h>.
77903 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77905         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
77907 2012-05-15  Jeff Law  <law@redhat.com>
77908             Andreas Jaeger  <aj@suse.de>
77910         [BZ #13594]
77911         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
77912         out from...
77913         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
77914         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
77915         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
77916         code changing __hst_map_handle.map.
77918 2012-05-15  Roland McGrath  <roland@hack.frob.com>
77920         * configure.in (sysnames): Look for Implies-before and Implies-after
77921         files.
77922         * configure: Regenerated.
77924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77926         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
77927         8-byte data alignment with LP_SIZE alignment.
77929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
77932         into R10_LP.
77934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77936         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
77938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77940         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
77941         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
77942         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
77943         Likewise.
77944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77948         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
77949         (stackinfo_sub_sp): Likewise.
77951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
77954         RAX_LP.
77956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77958         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
77959         into R*_LP.
77961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
77964         sizes into R*_LP.
77966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77968         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
77970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77972         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
77973         into R11_LP and load __x86_64_shared_cache_size_half into
77974         R8_LP.
77976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
77978         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
77979         R8_LP.
77981 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
77984         logb for POWER7.
77985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
77986         logbf for POWER7.
77987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
77988         logbl for POWER7.
77989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
77990         powerpc32/power7/fpu/s_logb.c via #include.
77991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
77992         powerpc32/power7/fpu/s_logbf.c via #include.
77993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
77994         powerpc32/power7/fpu/s_logbl.c via #include.
77996 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
77998         * README.libm: Remove file.
78000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78002         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78003         count for x32.  Use R*_LP and omit operand-size suffix.
78005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78007         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78008         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78009         * sysdeps/x86_64/x32/shlib-versions: New file.
78011 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78013         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78014         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78015         Use _dl_fatal_printf instead.
78017 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78019         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78020         set if not set by the user.  Do not allow for being unset.
78021         * sysdeps/unix/sysv/linux/configure: Regenerated.
78023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78025         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78026         the `q' suffix from lea and replace .quad with ASM_ADDR.
78028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78031         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78032         instead of $17.
78033         (PTR_DEMANGLE): Likewise.
78035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78037         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78038         (LP_OP): Likewise.
78039         (ASM_ADDR): Likewise.
78040         (RAX_LP): Likewise.
78041         (RBP_LP): Likewise.
78042         (RBX_LP): Likewise.
78043         (RCX_LP): Likewise.
78044         (RDI_LP): Likewise.
78045         (RSI_LP): Likewise.
78046         (RSP_LP): Likewise.
78047         (R8_LP): Likewise.
78048         (R9_LP): Likewise.
78049         (R10_LP): Likewise.
78050         (R10_LP): Likewise.
78051         (R11_LP): Likewise.
78052         (R12_LP): Likewise.
78053         (R13_LP): Likewise.
78054         (R14_LP): Likewise.
78055         (R15_LP): Likewise.
78057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78059         * sysdeps/x86_64/x32/dl-machine.h: New file.
78061 2012-05-14  Andreas Jaeger  <aj@suse.de>
78063         * manual/Makefile (subdir): Remove export of subdir.
78064         (all): Remove target.
78065         (.PHONY): Remove all from list.
78066         (mkinstalldirs): Remove.
78067         (.PHONY): Remove installdirs from list.
78068         ($(inst_infodir)/libc.info): Use make-target-directory.
78069         (installdirs): Remove.
78070         (subdir_%): Remove.
78071         (glibc-targets): Remove.
78072         (lib): Remove.
78073         (stubs): Remove.
78074         ($(objpfx)stubs ../po/manual.pot): Remove.
78075         ($(objpfx)stamp%): Remove.
78076         (make-target-directory): Remove.
78077         (subdir_install): Remove.
78078         (routines): Remove.
78079         (aux): Remove.
78080         (sources): Remove.
78081         (objects): Remove.
78082         (headers): Remove.
78084         [BZ #13750]
78085         * manual/.gitignore: Remove, it's not needed anymore.
78086         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
78087         all files in it.
78088         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
78089         directory.
78090         (texis): Renamed to $(objpfx)texis.
78091         (texis-path): New, contains path to generated files.
78092         (chapters.%): Use texis-path for complete path, add extra argument
78093         libc-texinfo.sh.
78094         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
78095         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
78096         (summary,texi, stamp-summary): Use complete path of
78097         files. Generate files in build dir.
78098         (dir-add.texi): Build in build dir.
78099         (libm-err.texi,stamp-libm-err): Likewise.
78100         (version.texi, stamp-version): Likewise.
78101         (.%c.texi): Likewise.
78102         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
78103         (mostlyclean): Remove target.
78104         (realclean): Remove target.
78105         (generated): Add new variable with contents from mostlyclean and
78106         realclean, remove entries duplicated in common-mostlyclean, add
78107         stamp-libm-err and stamp-version.
78108         (generated-dirs): Add libc directory.
78109         ($(inst_infodir)/libc.info): Install files from build dir.
78111         * manual/install.texi (Configuring and compiling): Adjust since
78112         the info files are not part of the tar ball anymore.
78114 2012-05-14  Andreas Jaeger  <aj@suse.de>
78116         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
78117         variable.
78119 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78121         [BZ #13717]
78122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78123         to 2.2.0 where earlier.
78124         * sysdeps/unix/sysv/linux/configure: Regenerated.
78125         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
78126         Remove conditional code.
78127         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
78128         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
78129         Remove conditional code.
78130         [!__NR_lchown]: Likewise.
78131         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78132         [__NR_lchown]: Likewise.
78133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
78134         comment referencing __ASSUME_LCHOWN_SYSCALL.
78135         * sysdeps/unix/sysv/linux/i386/sigaction.c
78136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78138         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
78139         Remove conditional code.
78140         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
78141         (__protocol_available): Remove #if 0 code.
78142         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
78143         conditional code.
78144         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
78145         * sysdeps/unix/sysv/linux/kernel-features.h
78146         (__ASSUME_GETCWD_SYSCALL): Don't define.
78147         (__ASSUME_REALTIME_SIGNALS): Likewise.
78148         (__ASSUME_PREAD_SYSCALL): Likewise.
78149         (__ASSUME_PWRITE_SYSCALL): Likewise.
78150         (__ASSUME_POLL_SYSCALL): Likewise.
78151         (__ASSUME_LCHOWN_SYSCALL): Likewise.
78152         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
78153         non-SPARC.
78154         (__ASSUME_SIOCGIFNAME): Don't define.
78155         (__ASSUME_MSG_NOSIGNAL): Likewise.
78156         (__ASSUME_SENDFILE): Define unconditionally.
78157         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
78158         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
78159         conditional code.
78160         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
78161         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
78162         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78163         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78164         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
78165         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
78166         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
78167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
78168         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
78171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
78174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
78177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
78180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
78183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
78184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
78186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
78189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78191         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
78192         Remove conditional code.
78193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78194         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78195         Remove conditional code.
78196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78197         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
78198         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
78199         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78200         Remove conditional code.
78201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78202         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
78203         Remove conditional code.
78204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78205         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
78206         Remove conditional code.
78207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78208         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
78209         Remove conditional code.
78210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
78211         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
78212         Remove conditional code.
78213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78214         * sysdeps/unix/sysv/linux/sh/pwrite64.c
78215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
78216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
78217         * sysdeps/unix/sysv/linux/sigaction.c
78218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78220         * sysdeps/unix/sysv/linux/sigpending.c
78221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78223         * sysdeps/unix/sysv/linux/sigprocmask.c
78224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78226         * sysdeps/unix/sysv/linux/sigsuspend.c
78227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
78228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78230         (__libc_missing_rt_sigs): Remove.
78231         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
78232         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
78233         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
78234         Remove conditional code.
78235         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
78236         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
78237         return 1.
78238         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
78239         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
78240         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
78241         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
78243 2012-05-14  Andreas Jaeger  <aj@suse.de>
78245         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
78246         it's not used in glibc.
78247         (__coshm1): Likewise.
78248         (__acosh1p): Likewise.
78249         (__sgn): Likewise.
78251         * manual/string.texi (Copying and Concatenation): Add missing
78252         variable in concat example.
78253         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
78255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78257         [BZ #14103]
78258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
78259         __builtin_clzl with __builtin_clzll.
78261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78263         [BZ #14104]
78264         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
78265         libc_freeres_ptr.
78267 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78269         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
78270         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
78271         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
78272         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
78274 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
78276         * NEWS: Update ia64 info.
78278 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
78280         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
78281         used as bcopy.
78283 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
78285         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
78286         * sysdeps/unix/syscalls.list (dup3): Likewise.
78287         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
78288         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
78290 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78292         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
78293         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
78295 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
78297         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
78298         thread pointer.
78299         (TLS_IE): Use mov/add instead of movq/addq to load thread
78300         pointer.
78301         (TLS_GD_PREFIX): New.
78302         (TLS_GD): Use it.
78304 2012-05-11  David S. Miller  <davem@davemloft.net>
78306         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
78307         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
78308         (_FPU_SETCW): Likewise.
78310 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78312         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
78313         is 32-byte aligned.
78315 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
78317         [BZ #11837]
78318         * iconvdata/gb18030.c: Update tables.
78319         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
78320         characters specially.
78321         (BODY for TO_LOOP): Add encoding of missing ranges.
78323 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
78325         [BZ #13673]
78326         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78327         * sysdeps/mach/hurd/dup3.c: Likewise.
78328         * sysdeps/mach/hurd/readlinkat.c: Likewise.
78329         * sysdeps/powerpc/memmove.c:: Likewise.
78331 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
78334         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
78336 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78338         * elf/elf.h (R_X86_64_RELATIVE64): New.
78339         (R_X86_64_NUM): Updated.
78340         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
78341         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
78342         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
78343         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
78344         tst-quad1pie tst-quad2pie
78345         (modules-names): Add tst-quadmod1 tst-quadmod2.
78346         ($(objpfx)tst-quad1): New dependency.
78347         ($(objpfx)tst-quad2): Likewise.
78348         ($(objpfx)tst-quad1pie): Likewise.
78349         ($(objpfx)tst-quad2pie): Likewise.
78350         * sysdeps/x86_64/tst-quad1.c: New file.
78351         * sysdeps/x86_64/tst-quad1pie.c: New file.
78352         * sysdeps/x86_64/tst-quad2.c: Likewise.
78353         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
78354         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
78355         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
78356         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
78357         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
78359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78361         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
78362         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
78363         * streams/stropts.h (t_scalar_t): Define type.
78365         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
78366         (_PATH_PRESERVE): Set to "/var/lib".
78367         (_PATH_RWHODIR): Set to "/var/spool/rwho".
78369         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
78370         instead of int.
78372         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
78373         if __dir_mkfile succeeded.
78375         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
78376         checking for _hurd_dtablesize.  Unlock it right after having
78377         finished _hurd_dtable allocation.
78379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78381         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
78382         * sysdeps/mach/hurd/configure: Regenerated.
78383         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
78384         special-casing to...
78385         * sysdeps/gnu/configure.in: ... this new file.
78386         * sysdeps/unix/sysv/linux/configure: Regenerated.
78387         * sysdeps/gnu/configure: New generated file.
78389         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
78390         for Linux: use nsec instead of usec, as well as:
78391         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
78392         members of type struct timespec.
78393         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
78394         New macros.
78395         (struct stat64): Likewise.
78396         (_STATBUF_ST_NSEC): New macro.
78397         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
78399         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78400         __strtoul_internal rather than strtoul.
78402 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78404         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
78405         and reject them.
78407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78409         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
78410         which preserves existing values.
78411         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
78413 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78415         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
78416         TIMEOUT values.  Return EINVAL for NFDS values either negative or
78417         greater than FD_SETSIZE.
78419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78421         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
78422         allocated, call __vm_protect to finish enabling the existing space, and
78423         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
78424         allocate the remainder.
78426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78428         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
78429         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
78431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78433         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
78434         sysdeps/mach/hurd/readlink.c.
78436         * posix/tst-sysconf.c (posix_options): Only use
78437         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
78438         _POSIX_SYNCHRONIZED_IO when they are defined
78439         * sysdeps/mach/hurd/bits/posix_opt.h:
78440         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
78441         (_XOPEN_REALTIME): Undefine macro.
78442         (_XOPEN_REALTIME_THREADS): Undefine macro.
78443         (_XOPEN_SHM): Undefine macro.
78444         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
78445         macro to -1.
78446         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78447         macro to -1.
78448         (_POSIX_ASYNC_IO): Undefine macro.
78449         (_POSIX_PRIORITIZED_IO): Undefine macro.
78450         (_POSIX_SPIN_LOCKS): Define macro to -1.
78452         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
78453         SA_NODEFER, SA_RESETHAND.
78454         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
78455         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78456         F_DUPFD_CLOEXEC.
78458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78460         * elf/Makefile (pldd-modules): Define unconditionally.
78462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78464         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
78466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78468         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
78469         Return ENOENT when name is empty.
78470         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
78472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78474         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
78476         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
78478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78480         Fix mlock in all cases except non-readable pages.
78481         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
78482         instead of VM_PROT_ALL as parameter to __vm_wire function.
78484         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
78485         (__mkdir): When path is `/', just fail with EEXIST.
78486         * sysdeps/mach/hurd/mkdirat.c: Likewise.
78488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78490         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
78491         <sys/uio.h> (for writev).
78492         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
78493         and <sys/param.h> (for MIN).
78495 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
78497         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
78498         REQUESTED_TIME.  Properly set the remaining time and return EINTR
78499         if interrupted.
78501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78503         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
78504         Depend on against $(link-rpcuserlibs).
78506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78508         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
78509         (__libc_stack_end): Do not use attribute_relro.
78510         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
78511         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
78512         to libthread-provided value.
78513         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
78514         attribute_relro.
78516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78518         [BZ #3748]
78519         * bits/libc-lock.h (__libc_once_get): New macro.
78520         * sysdeps/mach/bits/libc-lock.h: Likewise.
78521         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
78522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
78523         instead of using implementation details.
78525         * libio/fileops.c: Unconditionally include <kernel-features.h>.
78526         * libio/freopen.c: Likewise.
78527         * libio/freopen64.c: Likewise.
78528         * misc/syslog.c: Likewise.
78529         * nscd/connections.c: Likewise.
78530         * nscd/netgroupcache.c: Likewise.
78531         * sysdeps/posix/getcwd.c: Likewise.
78533 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78535         * math/w_ilogbf.c: Add #include <limits.h>.
78537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78539         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
78540         path instead of returning without unlocking.
78542         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78543         immediate-write ioctls.
78544         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
78546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78548         * sysdeps/mach/hurd/i386/init-first.c (init): Use
78549         __builtin_frame_address instead of making assumptions about the
78550         location of the return address relative to DATA.  Force early load of
78551         the return address.
78552         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
78553         __builtin_frame_address.
78555         dup3 for GNU Hurd.
78556         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
78557         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
78558         implement dup3 and do some further code clean-ups.
78559         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
78560         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
78562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78564         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
78566         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
78567         HURD_CRITICAL_END around holding _hurd_dtable_lock.
78568         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
78569         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
78570         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
78571         d->port.lock.
78573         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
78574         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
78575         when handler == SIG_ERR, not when handler != SIG_ERR.
78577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78579         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
78580         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
78581         definitions.
78583         accept4 for GNU Hurd.
78584         * include/sys/socket.h (__libc_accept4): New prototype.
78585         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
78586         to implement __libc_accept4.
78587         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
78588         __libc_accept4.
78589         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
78591         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
78592         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
78593         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
78594         signal-defines.sym.
78596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78598         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
78600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
78602         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
78603         assertion on O_CLOEXEC flag.
78604         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
78605         * hurd/intern-fd.c: Likewise.
78606         * hurd/port2fd.c: Likewise.
78608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78610         [BZ #3906]
78611         * bits/in.h (IPV6_PKTINFO): Define new macro.
78612         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
78614 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78616         [BZ #13954]
78617         [BZ #13955]
78618         [BZ #13956]
78619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
78620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78621         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
78622         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78624         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78625         * math/libm-test.inc (logb_test) : Additional logb tests.
78627 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
78628             Andreas Jaeger  <aj@suse.de>
78630         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
78631         * configure: Regenerated.
78632         * config.h.in (LINK_OBSOLETE_RPC): New macro.
78633         * config.make.in (link-obsolete-rpc): New substituted variable.
78634         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
78635         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
78636         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78637         (shared-only-routines): Don't set it under [link-obsolete-rpc],
78638         so that libc.a contains the symbols.
78639         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
78640         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
78641         * sunrpc/auth_none.c: Likewise.
78642         * sunrpc/auth_unix.c: Likewise.
78643         * sunrpc/authdes_prot.c: Likewise.
78644         * sunrpc/authuxprot.c: Likewise.
78645         * sunrpc/clnt_gen.c: Likewise.
78646         * sunrpc/clnt_perr.c: Likewise.
78647         * sunrpc/clnt_raw.c: Likewise.
78648         * sunrpc/clnt_simp.c: Likewise.
78649         * sunrpc/clnt_tcp.c: Likewise.
78650         * sunrpc/clnt_udp.c: Likewise.
78651         * sunrpc/clnt_unix.c: Likewise.
78652         * sunrpc/des_crypt.c: Likewise.
78653         * sunrpc/des_soft.c: Likewise.
78654         * sunrpc/get_myaddr.c: Likewise.
78655         * sunrpc/key_call.c: Likewise.
78656         * sunrpc/key_prot.c: Likewise.
78657         * sunrpc/netname.c: Likewise.
78658         * sunrpc/pm_getmaps.c: Likewise.
78659         * sunrpc/pm_getport.c: Likewise.
78660         * sunrpc/pmap_clnt.c: Likewise.
78661         * sunrpc/pmap_prot.c: Likewise.
78662         * sunrpc/pmap_prot2.c: Likewise.
78663         * sunrpc/pmap_rmt.c: Likewise.
78664         * sunrpc/publickey.c: Likewise.
78665         * sunrpc/rpc_cmsg.c: Likewise.
78666         * sunrpc/rpc_common.c: Likewise.
78667         * sunrpc/rpc_dtable.c: Likewise.
78668         * sunrpc/rpc_prot.c: Likewise.
78669         * sunrpc/rpc_thread.c: Likewise.
78670         * sunrpc/rtime.c: Likewise.
78671         * sunrpc/svc.c: Likewise.
78672         * sunrpc/svc_auth.c: Likewise.
78673         * sunrpc/svc_raw.c: Likewise.
78674         * sunrpc/svc_run.c: Likewise.
78675         * sunrpc/svc_tcp.c: Likewise.
78676         * sunrpc/svc_udp.c: Likewise.
78677         * sunrpc/svc_unix.c: Likewise.
78678         * sunrpc/svcauth_des.c: Likewise.
78679         * sunrpc/xcrypt.c: Likewise.
78680         * sunrpc/xdr.c: Likewise.
78681         * sunrpc/xdr_array.c: Likewise.
78682         * sunrpc/xdr_float.c: Likewise.
78683         * sunrpc/xdr_intXX_t.c: Likewise.
78684         * sunrpc/xdr_mem.c: Likewise.
78685         * sunrpc/xdr_rec.c: Likewise.
78686         * sunrpc/xdr_ref.c: Likewise.
78687         * sunrpc/xdr_sizeof.c: Likewise.
78688         * sunrpc/xdr_stdio.c: Likewise.
78690 2012-05-10  Roland McGrath  <roland@hack.frob.com>
78692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
78693         change.  Update copyright years.
78695 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78697         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
78699 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
78700             Joseph Myers  <joseph@codesourcery.com>
78701             Paul Pluzhnikov  <ppluzhnikov@google.com>
78703         [BZ #14012]
78704         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
78705         requiring rpcgen.
78706         [cross-compiling] (extra-libs): Likewise.
78707         [cross-compiling] (extra-libs-others): Likewise.
78708         [cross-compiling] (librpcsvc-routines): Likewise.
78709         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
78710         [cross-compiling] (omit-deps): Likewise.
78711         (sunrpc-CPPFLAGS): New variable.
78712         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
78713         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
78714         (cross-rpcgen-objs): New variable.
78715         (extra-objs): Append $(cross-rpcgen-objs).
78716         ($(cross-rpcgen-objs)): New rule.
78717         ($(objpfx)cross-rpcgen): Likewise.
78718         (rpcgen-cmd): Define to use $(built-program-file).  Expand
78719         comment.
78720         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
78721         ($(objpfx)x%.stmp): Likewise.
78722         * sunrpc/proto.h [IS_IN_build] (_): Define.
78723         [IS_IN_build] (_libc_intl_domainname): Likewise.
78725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
78727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
78728         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
78729         and R_X86_64_TPOFF64.
78731 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
78733         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
78734         sysdeps/unix/sysv/syscalls.list.
78735         (stime): Likewise.
78736         (utime): Likewise.
78737         * sysdeps/unix/sysv/syscalls.list: Remove file.
78739 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
78741         [BZ #3440]
78742         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
78743         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
78744         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
78745         (__LC_IDENTIFICATION): Make these macros useful in #if
78746         expressions, as required by C99.
78748 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
78750         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
78751         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
78752         after this.
78754 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
78756         * stdlib/longlong.h: Updated from GCC.
78758 2012-05-09  Andreas Jaeger  <aj@suse.de>
78760         * nscd/nscd.c (run_modes): Make named enum, reorder so that
78761         default is first entry.
78762         (run_mode): Set type.
78763         (main): Remove informal message about syslog.
78764         (options): Fix typo.
78766         [BZ #14053]
78767         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
78768         to asm.
78769         (lrint): Likewise.
78770         (llrintf): Likewise.
78771         (llrint): Likewise.
78772         (rint): Likewise.
78773         (rintf): Likewise.
78774         (nearbyint): Likewise.
78775         (nearbyintf): Likewise.
78777 2012-05-09  Andreas Jaeger  <aj@suse.de>
78778             Pedro Alves  <palves@redhat.com>
78780         * nscd/nscd.c (run_mode): Use enum.
78781         (main): Cleanup coding style issue.
78783 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
78784             Andreas Jaeger  <aj@suse.de>
78786         * nscd/nscd.c (go_background): Replaced with...
78787         (run_mode): ... this.
78788         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
78789         (options): Add -F --foreground.
78790         (main): Implement it.
78791         (parse_opt): Parse it.
78793 2012-05-09  Andreas Jaeger  <aj@suse.de>
78795         [BZ #14083]
78796         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
78797         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
78798         -Wconversion warning.
78799         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78800         Likewise.
78802 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
78804         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
78805         == 0.
78806         (LC_ALL): Use macro-int-constant.
78807         (LC_COLLATE): Likewise.
78808         (LC_CTYPE): Likewise.
78809         (LC_MESSAGES): Likewise.
78810         (LC_MONETARY): Likewise.
78811         (LC_NUMERIC): Likewise.
78812         (LC_TIME): Likewise.
78813         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
78814         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78816         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
78817         Specify type.
78818         [C99-based standards] (float_t): Expect type.
78819         [C99-based standards] (double_t): Expect type.
78820         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
78821         type.
78822         [C99-based standards] (HUGE_VALL): Likewise.
78823         [C99-based standards] (INFINITY): Likewise.
78824         [C99-based standards] (NAN): Likewise.
78825         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
78826         [C99-based standards] (FP_NAN): Likewise.
78827         [C99-based standards] (FP_NORMAL): Likewise.
78828         [C99-based standards] (FP_SUBNORMAL): Likewise.
78829         [C99-based standards] (FP_ZERO): Likewise.
78830         [C99-based standards] (FP_FAST_FMA): Use
78831         optional-macro-int-constant.  Specify type.  Require == 1.
78832         [C99-based standards] (FP_FAST_FMAF): Likewise.
78833         [C99-based standards] (FP_FAST_FMAL): Likewise.
78834         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
78835         [C99-based standards] (FP_ILOGBNAN): Likewise.
78836         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
78837         Specify type.
78838         [C99-based standards] (MATH_ERREXCEPT): Likewise.
78839         [C99-based standards] (math_errhandling): Specify type.
78840         [ISO99 || ISO11] (signgam): Do not allow.
78841         [non-C99-based standards] (copysignf): Do not allow.
78842         [non-C99-based standards] (exp2f): Likewise.
78843         [non-C99-based standards] (log2f): Likewise.
78844         [non-C99-based standards] (modff): Allow.
78845         [non-C99-based standards] (erff): Do not allow.
78846         [non-C99-based standards] (erfcf): Likewise.
78847         [non-C99-based standards] (gammaf): Likewise.
78848         [non-C99-based standards] (hypotf): Likewise.
78849         [non-C99-based standards] (j0f): Likewise.
78850         [non-C99-based standards] (j1f): Likewise.
78851         [non-C99-based standards] (jnf): Likewise.
78852         [non-C99-based standards] (lgammaf): Likewise.
78853         [non-C99-based standards] (tgammaf): Likewise.
78854         [non-C99-based standards] (y0f): Likewise.
78855         [non-C99-based standards] (y1f): Likewise.
78856         [non-C99-based standards] (ynf): Likewise.
78857         [non-C99-based standards] (isnanf): Likewise.
78858         [non-C99-based standards] (acoshf): Likewise.
78859         [non-C99-based standards] (asinhf): Likewise.
78860         [non-C99-based standards] (atanhf): Likewise.
78861         [non-C99-based standards] (cbrtf): Likewise.
78862         [non-C99-based standards] (expm1f): Likewise.
78863         [non-C99-based standards] (ilogbf): Likewise.
78864         [non-C99-based standards] (log1pf): Likewise.
78865         [non-C99-based standards] (logbf): Likewise.
78866         [non-C99-based standards] (nextafterf): Likewise.
78867         [non-C99-based standards] (remainderf): Likewise.
78868         [non-C99-based standards] (rintf): Likewise.
78869         [non-C99-based standards] (scalbf): Likewise.
78870         [non-C99-based standards] (copysignl): Likewise.
78871         [non-C99-based standards] (exp2l): Likewise.
78872         [non-C99-based standards] (log2l): Likewise.
78873         [non-C99-based standards] (modfl): Allow.
78874         [non-C99-based standards] (erfl): Do not allow.
78875         [non-C99-based standards] (erfcl): Likewise.
78876         [non-C99-based standards] (gammal): Likewise.
78877         [non-C99-based standards] (hypotl): Likewise.
78878         [non-C99-based standards] (j0l): Likewise.
78879         [non-C99-based standards] (j1l): Likewise.
78880         [non-C99-based standards] (jnl): Likewise.
78881         [non-C99-based standards] (lgammal): Likewise.
78882         [non-C99-based standards] (tgammal): Likewise.
78883         [non-C99-based standards] (y0l): Likewise.
78884         [non-C99-based standards] (y1l): Likewise.
78885         [non-C99-based standards] (ynl): Likewise.
78886         [non-C99-based standards] (isnanl): Likewise.
78887         [non-C99-based standards] (acoshl): Likewise.
78888         [non-C99-based standards] (asinhl): Likewise.
78889         [non-C99-based standards] (atanhl): Likewise.
78890         [non-C99-based standards] (cbrtl): Likewise.
78891         [non-C99-based standards] (expm1l): Likewise.
78892         [non-C99-based standards] (ilogbl): Likewise.
78893         [non-C99-based standards] (log1pl): Likewise.
78894         [non-C99-based standards] (logbl): Likewise.
78895         [non-C99-based standards] (nextafterl): Likewise.
78896         [non-C99-based standards] (remainderl): Likewise.
78897         [non-C99-based standards] (rintl): Likewise.
78898         [non-C99-based standards] (scalbl): Likewise.
78899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78900         [non-C99-based standards] (FP_*): Do not allow.
78901         [C99-based standards] (FP_*): Change to
78902         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
78903         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78904         allow.
78905         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
78906         (SIG_ERR): Likewise.
78907         [X/Open-based standards] (SIG_HOLD): Likewise.
78908         (SIG_IGN): Likewise.
78909         (SIGABRT): Use macro-int-constant.  Specify type.  Require
78910         positive value.
78911         (SIGFPE): Likewise.
78912         (SIGILL): Likewise.
78913         (SIGINT): Likewise.
78914         (SIGSEGV): Likewise.
78915         (SIGTER): Likewise.
78916         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
78917         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
78918         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
78919         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
78920         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
78921         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
78922         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
78923         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
78924         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
78925         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
78926         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
78927         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
78928         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
78929         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
78930         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
78931         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
78932         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
78933         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
78934         [X/Open-based standards] (SIGTRAP): Likewise.
78935         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
78936         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
78937         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
78938         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
78939         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78940         allow.
78942 2012-05-08  Ian Wienand  <ianw@vmware.com>
78944         [BZ #14080]
78945         * time/tzset.c (__tzset_parse_tz): Update default rules for
78946         daylight time changes in the Energy Policy Act of 2005.
78948 2012-05-09  Andreas Jaeger  <aj@suse.de>
78950         [BZ #13983]
78951         * elf/ldconfig.c (parse_conf): Change string to make clear that
78952         ldconfig only issued a warning if ld.so.conf does not exist.
78954 2012-05-08  David S. Miller  <davem@davemloft.net>
78956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
78957         movxtod instead of popping the value on the stack.
78959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78961 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
78963         * config.h.in: Add HAVE_ARM_PCS_VFP.
78965 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
78967         [BZ #13979]
78968         * include/features.h: Warn if user requests __FORTIFY_SOURCE
78969         checking but the checks are disabled for any reason.
78971 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78973         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
78974         and ELF64_R_TYPE with ELFW(R_TYPE).
78976 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
78978         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
78979         (ulimit): Likewise.
78981         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
78982         (settimeofday): Likewise.
78984 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
78986         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
78987         a struct th_u2 inside the union, and move tu_block/tu_code into
78988         a new th_u3 union of tu_block/tu_code inside of that.  Move
78989         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
78990         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
78991         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
78992         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
78993         (th_stuff): Change to th_u1.tu_stuff.
78994         (th_data): Define.
78995         (th_msg): Change to th_u1.th_u2.tu_data.
78997 2012-05-07  David S. Miller  <davem@davemloft.net>
78999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79001         [BZ #14074]
79002         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79003         (SETUP_PIC_REG): Use it.
79004         (SETUP_PIC_REG_LEAF): Use it.
79006 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79008         [BZ #13885]
79009         [BZ #13923]
79010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79011         USE_AS_EXPM1L.
79012         (EXPL_FINITE): Likewise.
79013         (FLDLOG): Likewise.
79014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79015         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79016         e_expl.S.
79017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79018         USE_AS_EXPM1L.
79019         (EXPL_FINITE): Likewise.
79020         (FLDLOG): Likewise.
79021         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79022         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79023         e_expl.S.
79024         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79025         test of -max_value argument for long double.
79026         * sysdeps/i386/fpu/libm-test-ulps: Update.
79027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79029 2012-05-06  David S. Miller  <davem@davemloft.net>
79031         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79032         quad soft-float symbols whose references which are compiler
79033         generated.
79034         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79036 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79038         [BZ #13884]
79039         [BZ #13914]
79040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79041         USE_AS_EXP10L.
79042         (EXPL_FINITE): Likewise.
79043         (FLDLOG): Likewise.
79044         (c0): Likewise.
79045         (c1): Likewise.
79046         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79047         Adjust comments for base varying.
79048         (__expl_finite): Change alias to EXPL_FINITE.
79049         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
79050         e_expl.S.
79051         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
79052         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
79053         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
79054         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
79055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79056         USE_AS_EXP10L.
79057         (EXPL_FINITE): Likewise.
79058         (FLDLOG): Likewise.
79059         (c0): Likewise.
79060         (c1): Likewise.
79061         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79062         Adjust comments for base varying.
79063         (__expl_finite): Change alias to EXPL_FINITE.
79064         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
79065         tests for bugs.
79066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79068         [BZ #14064]
79069         * math/libm-test.inc (check_float_internal): Correct ulp
79070         calculation for subnormal expected results.
79072 2012-05-06  Andreas Jaeger  <aj@suse.de>
79074         * Makeconfig (+math-flags): New, set to -frounding-math.
79075         (+cflags): Add +math-flags so that all of glibc gets compiled with
79076         it.
79078         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
79080 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
79082         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79083         Disable one test.
79085         [BZ #13787]
79086         [BZ #13922]
79087         [BZ #14036]
79088         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
79089         (__ieee754_expl): Allow for and saturate large arguments.
79090         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
79091         (u_threshold): Likewise.
79092         (__exp): Call __ieee754_exp before checking for overflow and
79093         underflow.
79094         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
79095         (u_threshold): Likewise.
79096         (__expf): Call __ieee754_expf before checking for overflow and
79097         underflow.
79098         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
79099         (u_threshold): Likewise.
79100         (__expl): Call __ieee754_expl before checking for overflow and
79101         underflow.
79102         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
79103         (__ieee754_expl): Allow for and saturate large arguments.
79104         * math/libm-test.inc (exp_test): Add another test.  Do not allow
79105         missing overflow exception on overflow.
79106         (expm1_test): Do not allow missing overflow exception on overflow.
79108         * sysdeps/i386/fpu/e_expl.c: Move to ...
79109         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
79110         rather than using inline asm.
79111         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
79112         * sysdeps/x86_64/fpu/e_expl.S: Copy from
79113         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
79115         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
79116         (nice): Likewise.
79117         (poll): Likewise.
79118         (signal): Likewise.
79119         (time): Likewise.
79120         (times): Likewise.
79122 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79124         * sysdeps/unix/syscalls.list (adjtime): Add entry from
79125         sysdeps/unix/common/syscalls.list.
79126         (fchmod): Likewise.
79127         (fchown): Likewise.
79128         (ftruncate): Likewise.
79129         (getrusage): Likewise.
79130         (gettimeofday): Likewise.
79131         (setpgid): Likewise.
79132         (setregid): Likewise.
79133         (setreuid): Likewise.
79134         (sigaction): Likewise.
79135         (truncate): Likewise.
79136         (vhangup): Likewise.
79137         * sysdeps/unix/common/syscalls.list: Remove file.
79138         * sysdeps/unix/bsd/Implies: Don't include unix/common.
79139         * sysdeps/unix/sysv/linux/Implies: Likewise.
79141 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
79143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
79144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
79145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
79146         Moved to ...
79147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
79148         Here.
79149         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
79150         to ...
79151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
79152         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
79153         to ...
79154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
79155         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
79156         to ...
79157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
79158         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
79159         to ...
79160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79161         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
79162         to ...
79163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
79164         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
79165         to ...
79166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
79167         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
79168         to ...
79169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79170         Here.
79171         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
79172         to ...
79173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
79174         Here.
79175         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
79176         to ...
79177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
79178         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
79179         Moved to ...
79180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
79181         Here.
79182         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
79183         to ...
79184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
79186 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79188         * sysdeps/unix/common/bits/dirent.h: Remove file.
79189         * sysdeps/unix/common/bits/fcntl.h: Likewise.
79191         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
79192         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
79193         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
79194         * sysdeps/unix/bsd/isatty.c: Likewise.
79195         * sysdeps/unix/bsd/tcdrain.c: Likewise.
79196         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
79197         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
79199 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79201         [BZ #13563]
79202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
79203         long double comparison inaccuracies.
79204         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
79205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79207 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
79209         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
79210         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
79212 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
79214         [BZ #14049]
79215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
79216         nonzero digits before rounding a hex value.
79217         * stdlib/tst-strtod.c (tests): Add another test.
79219 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79221         * sysdeps/s390/fpu/libm-test-ulps: Update.
79223 2012-05-03  Andreas Jaeger  <aj@suse.de>
79225         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
79226         does not get optimized out.
79227         (malloc_opt_barrier): New.
79229 2012-05-03  Andreas Jaeger  <aj@suse.de>
79230             Roland McGrath  <roland@hack.frob.com>
79232         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
79233         intermediate file deletion.
79234         (generated): Add .symlist files.
79236 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
79238         [BZ #13775]
79239         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
79240         Redirect under this condition.
79241         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79242         [__USE_GNU] (__dprintf_chk): Not under this condition.
79243         [__USE_GNU] (__vdprintf_chk): Likewise.
79244         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
79245         under this condition.
79246         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
79247         [__USE_XOPEN2K8] (dprintf): Define under this condition.
79248         [__USE_XOPEN2K8] (vdprintf): Likewise.
79249         [__USE_GNU] (__dprintf_chk): Not under this condition.
79250         [__USE_GNU] (__vdprintf_chk): Likewise.
79251         [__USE_GNU] (dprintf): Likewise.
79252         [__USE_GNU] (vdprintf): Likewise.
79254 2012-05-03  Roland McGrath  <roland@hack.frob.com>
79256         * elf/Makefile (common-generated): Set this instead of generated for
79257         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
79258         $(all-built-dso)-derived lists.
79260 2012-05-03  Andreas Jaeger  <aj@suse.de>
79262         * sysdeps/i386/fpu/libm-test-ulps: Update.
79264         * FAQ: Removed.
79265         * FAQ.in: Likewise.
79266         * scripts/gen-FAQ.pl: Likewise.
79267         * manual/install.texi (Installation): Point to online location of
79268         FAQ.
79269         * Makefile (files-for-dist): Remove FAQ.
79270         (FAQ): Remove.
79272 2012-05-02  Allan McRae  <allan@archlinux.org>
79274         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
79275         (LDFLAGS-reldepmod5.so): Likewise.
79276         (LDFLAGS-reldep6mod1.so): Likewise.
79277         (LDFLAGS-reldep6mod4.so): Likewise.
79278         (LDFLAGS-reldep8mod3.so): Likewise.
79279         (LDFLAGS-unload4mod1.so): Likewise.
79280         (LDFLAGS-unload4mod2.so): Likewise.
79281         (LDFLAGS-tst-initorder): Likewise.
79282         (LDFLAGS-tst-initordera2.so): Likewise.
79283         (LDFLAGS-tst-initordera3.so): Likewise.
79284         (LDFLAGS-tst-initordera4.so): Likewise.
79285         (LDFLAGS-tst-initorderb2.so): Likewise.
79286         (LDFLAGS-noload): Likewise.
79287         (LDFLAGS-next): Likewise.
79288         (LDFLAGS-order2mod1.so): Likewise.
79289         (LDFLAGS-order2mod2.so): Likewise.
79290         (LDFLAGS-tst-initorder2): Likewise.
79291         (LDFLAGS-tst-initorder2a.so): Likewise.
79292         (LDFLAGS-tst-initorder2b.so): Likewise.
79293         (LDFLAGS-tst-initorder2c.so): Likewise.
79294         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
79296 2012-05-02  David S. Miller  <davem@davemloft.net>
79298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79300 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
79302         [BZ #14055]
79303         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
79305 2012-05-02  Andreas Jaeger  <aj@suse.de>
79307         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
79308         since we manipulate rounding mode.
79309         (CPPFLAGS-test-idouble.c): Likewise.
79310         (CPPFLAGS-test-ifloat.c): Likewise.
79311         (CFLAGS-test-ldouble.c): Likewise.
79312         (CFLAGS-test-double.c): Likewise.
79313         (CFLAGS-test-float.c): Likewise.
79314         (CFLAGS-test-misc.c): Likewise.
79315         (CFLAGS-test-test-fenv.c): Likewise.
79317 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79319         [BZ #2550]
79320         [BZ #2570]
79321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
79322         comparisons to determine direction to adjust input.
79324 2012-05-01  Roland McGrath  <roland@hack.frob.com>
79326         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
79327         output to the target.
79329         * scripts/localplt.awk: New file.
79330         * elf/Makefile ($(objpfx)check-localplt): Target removed.
79331         (check-localplt-CFLAGS): Variable removed.
79332         ($(all-built-dso:=.jmprel)): New static pattern rule.
79333         (generated): Add those targets.
79334         (localplt-built-dso): New variable.
79335         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
79337         * elf/check-localplt.c: File removed.
79339         * scripts/check-execstack.awk: New file.
79340         * elf/Makefile ($(objpfx)check-execstack): Target removed.
79341         (check-execstack-CFLAGS): Variable removed.
79342         ($(objpfx)check-execstack.h): Target removed.
79343         ($(objpfx)execstack-default): New target.
79344         (generated): Add that instead of check-execstack.h.
79345         ($(all-built-dso:=.phdr)): New static pattern rule.
79346         (generated): Add those targets.
79347         * elf/check-execstack.c: File removed.
79349         * scripts/check-textrel.awk: New file.
79350         * elf/Makefile ($(objpfx)check-textrel): Target removed.
79351         (check-textrel-CFLAGS): Variable removed.
79352         (all-built-dso): Use := to define.o
79353         ($(all-built-dso:=.dyn)): New static pattern rule.
79354         (generated): Add those targets.
79355         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
79356         * config.make.in (READELF): New substituted variable.
79357         * elf/check-textrel.c: File removed.
79359 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79361         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79362         allow.
79363         * conform/data/ctype.h-data [C99-based standards] (isblank):
79364         Expect function.
79365         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
79366         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
79367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79368         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
79369         Specify type.  Require positive value.
79370         (EILSEQ): Likewise.
79371         (ERANGE): Likewise.
79372         [ISO || POSIX] (EILSEQ): Do not expect.
79373         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
79374         Specify type.  Require positive value.
79375         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
79376         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
79377         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
79378         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
79379         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
79380         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
79381         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
79382         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
79383         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
79384         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
79385         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
79386         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
79387         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
79388         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
79389         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
79390         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
79391         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
79392         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
79393         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
79394         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
79395         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
79396         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
79397         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
79398         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
79399         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
79400         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
79401         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
79402         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
79403         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
79404         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
79405         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
79406         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
79407         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
79408         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
79409         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
79410         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
79411         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
79412         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
79413         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
79414         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
79415         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
79416         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
79417         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
79418         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
79419         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
79420         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
79421         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
79422         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
79423         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
79424         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
79425         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
79426         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
79427         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
79428         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
79429         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
79430         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
79431         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
79432         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
79433         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
79434         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
79435         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
79436         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79437         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
79438         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
79439         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
79440         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
79441         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
79442         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
79443         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
79444         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
79445         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
79446         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
79447         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
79448         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
79449         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
79450         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
79451         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
79452         Require >= 2.
79453         (FLT_ROUNDS): Expect as macro, not constant.
79454         (FLT_MANT_DIG): Use macro-int-constant.
79455         (DBL_MANT_DIG): Likewise.
79456         (LDBL_MANT_DIG): Likewise.
79457         (FLT_DIG): Likewise.
79458         (DBL_DIG): Likewise.
79459         (LDBL_DIG): Likewise.
79460         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
79461         (DBL_MIN_EXP): Likewise.
79462         (LDBL_MIN_EXP): Likewise.
79463         (FLT_MAX_EXP): Use macro-int-constant.
79464         (DBL_MAX_EXP): Likewise.
79465         (LDBL_MAX_EXP): Likewise.
79466         (FLT_MAX_10_EXP): Likewise.
79467         (DBL_MAX_10_EXP): Likewise.
79468         (LDBL_MAX_10_EXP): Likewise.
79469         (FLT_MAX): Use macro-constant.
79470         (DBL_MAX): Likewise.
79471         (LDBL_MAX): Likewise.
79472         (FLT_EPSILON): Use macro-constant.  Give upper bound.
79473         (DBL_EPSILON): Likewise.
79474         (LDBL_EPSILON): Likewise.
79475         (FLT_MIN): Likewise.
79476         (DBL_MIN): Likewise.
79477         (LDBL_MIN): Likewise.
79478         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
79479         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
79480         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
79481         [ISO11] (FLT_HAS_SUBNORM): Likewise.
79482         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
79483         [ISO11] (DBL_DECIMAL_DIG): Likewise.
79484         [ISO11] (FLT_DECIMAL_DIG): Likewise.
79485         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
79486         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
79487         [ISO11] (FLT_TRUE_MIN): Likewise.
79488         [ISO11] (LDBL_TRUE_MIN): Likewise.
79489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79490         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
79491         (SCHAR_MIN): Use macro-int-constant.  Specify type.
79492         (SCHAR_MAX): Likewise.
79493         (UCHAR_MAX): Likewise.
79494         (CHAR_MIN): Likewise.
79495         (CHAR_MAX): Likewise.
79496         (MB_LEN_MAX): Use macro-int-constant.
79497         (SHRT_MIN): Use macro-int-constant.  Specify type.
79498         (SHRT_MAX): Likewise.
79499         (USHRT_MAX): Likewise.
79500         (INT_MAX): Likewise.
79501         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
79502         bound negative.
79503         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79504         bound with "U".
79505         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79506         bound with "L".
79507         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
79508         bound negative.  Suffix upper bound with "L".
79509         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
79510         bound with "UL".
79511         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
79512         Specify type.
79513         [C99-based standards] (LLONG_MAX): Likewise.
79514         [C99-based standards] (ULLONG_MAX): Likewise.
79515         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
79516         == 0.
79517         [ISO11] (max_align_t): Require type.
79518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79520         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
79521         from $CFLAGS, without defining away __attribute__ calls.
79522         (checknamespace): Use $CFLAGS_namespace.
79524         * conform/conformtest.pl (@keywords): Only include C99 keywords
79525         for standards based on C99 or C11.
79527         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
79528         Disable tests.
79529         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
79530         UNIX98]: Likewise.
79532         * conform/conformtest.pl: Handle "macro-int-constant" and test for
79533         usability of symbols in #if.
79535         * conform/conformtest.pl: If macro or constant types start
79536         "promoted:", expect the symbol to be of the following type
79537         promoted by the integer promotions.
79539         * conform/conformtest.pl: Parse all "constant" and "macro" lines
79540         in one place.  Also handle "macro-constant".
79542         * conform/conformtest.pl: Only accept expected macro values with
79543         "==".  Parse all "macro" lines in one place.
79544         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
79546         * conform/conformtest.pl: Handle braced types on "constant" lines
79547         instead of handling "typed-constant".
79548         * conform/data/signal.h-data: Use "constant" instead of
79549         "typed-constant".
79551         * conform/conformtest.pl: Handle "optional-" at start of lines in
79552         one place rather than duplicating several cases.  Handle each
79553         format of "macro" line with initial "optional-".
79555         * conform/conformtest.pl: Only accept expected constant or
79556         optional-constant values with "==".  Parse all "constant" lines in
79557         one place.  Parse all "optional-constant" lines in one place.
79558         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
79559         * conform/data/fmtmsg.h-data: Likewise.
79560         * conform/data/netinet/in.h-data: Likewise.
79561         * conform/data/tar.h-data: Likewise.
79562         * conform/data/limits.h-data: Use "==" form on "constant" and
79563         "optional-constant" lines.
79565         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
79566         Use -std=c99 for XOPEN2K.
79567         (@knownproblems): Remove.
79568         (newtoken): Don't check %isknown.
79570         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
79571         Do not expect macro.
79572         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
79573         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
79574         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
79575         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
79576         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
79577         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
79578         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
79579         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
79580         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
79581         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
79582         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
79583         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
79584         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
79585         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
79586         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
79587         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
79588         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
79589         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
79590         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
79591         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
79592         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
79593         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
79594         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
79595         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
79596         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
79597         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
79598         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
79599         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
79600         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
79601         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
79602         [XPG3] (acosh): Likewise.
79603         [XPG3] (asinh): Likewise.
79604         [XPG3] (atanh): Likewise.
79605         [XPG3] (cbrt): Likewise.
79606         [XPG3] (expm1): Likewise.
79607         [XPG3] (ilogb): Likewise.
79608         [XPG3] (log1p): Likewise.
79609         [XPG3] (logb): Likewise.
79610         [XPG3] (nextafter): Likewise.
79611         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
79612         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
79613         [XPG3] (remainder): Likewise.
79614         [XPG3] (rint): Likewise.
79615         [XPG3 || XPG4 || UNIX98] (round): Likewise.
79616         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
79617         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
79618         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
79619         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
79620         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
79621         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
79622         [UNIX98 || XOPEN2K] (scalb): Expect.
79623         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
79624         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
79625         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
79626         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
79627         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
79628         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
79629         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
79630         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
79631         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
79632         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
79633         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
79634         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
79635         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
79636         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
79637         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
79638         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
79639         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
79640         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
79641         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
79642         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
79643         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
79644         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
79645         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
79646         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
79647         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
79648         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
79649         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
79650         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
79651         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
79652         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
79653         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
79654         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
79655         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
79656         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
79657         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
79658         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
79659         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
79660         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
79661         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
79662         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
79663         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
79664         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
79665         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
79666         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
79667         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
79668         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
79669         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
79670         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
79671         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
79672         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
79673         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
79674         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
79675         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
79676         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
79677         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
79678         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
79679         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
79680         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
79681         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
79682         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
79683         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
79684         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
79685         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
79686         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
79687         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
79688         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
79689         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
79690         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
79691         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
79692         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
79693         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
79694         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
79695         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
79696         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
79697         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
79698         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
79699         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
79700         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
79701         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
79702         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
79703         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
79704         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
79705         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
79706         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
79707         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
79708         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
79709         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
79710         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
79711         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
79712         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
79713         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
79714         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
79715         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
79716         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
79717         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
79718         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
79719         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
79720         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
79721         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
79722         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
79723         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
79724         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
79725         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
79726         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
79727         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
79728         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
79729         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
79730         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
79731         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
79732         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
79733         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
79734         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
79735         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
79736         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
79737         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
79738         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
79739         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
79740         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
79741         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
79742         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
79743         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
79744         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
79745         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
79746         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
79747         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
79748         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
79749         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
79750         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
79751         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
79752         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
79753         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
79754         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
79755         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
79756         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
79757         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
79758         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
79759         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
79761         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
79762         _XOPEN_SOURCE_EXTENDED for XPG4.
79764         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
79766         * Makeconfig (localtime): Remove variable.
79767         (inst_localtime-file): Likewise.
79769 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
79772         Update.
79773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79774         Update.
79775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
79776         Update.
79777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
79778         Update.
79779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
79780         Update.
79781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
79782         Update.
79783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79784         Update.
79785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
79786         Update.
79787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
79788         Update.
79790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
79792         [BZ #2550]
79793         [BZ #2570]
79794         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
79795         comparisons to determine direction to adjust input.
79796         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
79797         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
79798         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
79799         Likewise.
79800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
79801         Likewise.
79802         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79803         Likewise.
79804         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
79805         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
79806         Likewise.
79807         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
79808         Likewise.
79809         * math/libm-test.inc (nexttoward_test): Add more tests.
79811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
79813         [BZ #14040]
79814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
79815         in version GLIBC_2.1, not GLIBC_2.0.
79816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
79817         Likewise.
79819 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
79821         [BZ #13942]
79822         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
79823         (1 - x) * (1 + x).
79824         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79825         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
79826         * math/libm-test.inc (acos_test): Add more tests.
79827         (asin_test): Likewise.
79828         * sysdeps/i386/fpu/libm-test-ulps: Update.
79829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79831         [BZ #14034]
79832         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
79833         of square root.
79834         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
79835         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
79836         * math/libm-test.inc (acos_test_tonearest): New function.
79837         (acos_test_towardzero): Likewise.
79838         (acos_test_downward): Likewise.
79839         (acos_test_upward): Likewise.
79840         (asin_test_tonearest): Likewise.
79841         (asin_test_towardzero): Likewise.
79842         (asin_test_downward): Likewise.
79843         (asin_test_upward): Likewise.
79844         (main): Call the new functions.
79845         * sysdeps/i386/fpu/libm-test-ulps: Update.
79846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79848         [BZ #13884]
79849         [BZ #13924]
79850         * math/e_exp10.c: Include <float.h>.
79851         (__ieee754_exp10): Handle underflow here rather than multiplying
79852         large negative argument by M_LN10.
79853         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
79854         of __ieee754_expf.
79855         * math/e_exp10l.c: Include <float.h>.
79856         (__ieee754_exp10l): Handle underflow here rather than multiplying
79857         large negative argument by M_LN10l.
79858         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
79859         spurious overflow exception on underflow.
79861 2012-04-29  Marek Polacek  <polacek@redhat.com>
79863         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
79864         (__fortify_function): New macro.
79865         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
79866         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
79867         __extern_always_inline.
79868         * libio/bits/stdio2.h: Likewise.
79869         * libio/bits/stdio.h: Likewise.
79870         * string/string.h: Likewise.
79871         * string/bits/string3.h: Likewise.
79872         * include/stdio.h: Likewise.
79873         * stdlib/bits/stdlib.h: Likewise.
79874         * stdlib/stdlib.h: Likewise.
79875         * rt/bits/mqueue2.h: Likewise.
79876         * rt/mqueue.h: Likewise.
79877         * posix/bits/unistd.h: Likewise.
79878         * posix/unistd.h: Likewise.
79879         * io/bits/poll2.h: Likewise.
79880         * io/bits/fcntl2.h: Likewise.
79881         * io/fcntl.h: Likewise.
79882         * io/sys/poll.h: Likewise.
79883         * misc/bits/syslog.h: Likewise.
79884         * misc/bits/syslog-ldbl.h: Likewise.
79885         * misc/sys/syslog.h: Likewise.
79886         * socket/bits/socket2.h: Likewise.
79887         * socket/sys/socket.h: Likewise.
79888         * debug/tst-chk1.c: Likewise.
79889         * wcsmbs/bits/wchar2.h: Likewise.
79890         * wcsmbs/bits/wchar-ldbl.h: Likewise.
79891         * wcsmbs/wchar.h: Likewise.
79893 2012-04-29  Andreas Jaeger  <aj@suse.de>
79895         * Makerules (tests): Remove enable-check-abi protection.
79896         (check-abi-warn): Remove.
79897         (check-abi-%): Remove check-abi-warn usage.
79899         * configure.in: Remove check-abi configure option.
79900         * configure: Regenerated.
79901         * config.make.in (enable-check-abi): Remove.
79903 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
79905         [BZ #14033]
79906         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
79907         double functions to double *_finite functions.
79909         [BZ #13941]
79910         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
79911         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
79912         LDBL_MIN_EXP.
79913         * stdio-common/Makefile (tests): Add tst-sprintf3.
79914         * stdio-common/tst-sprintf3.c: New file.
79916         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
79917         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
79919 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
79921         * conform/conformtest.pl: Remove duplicate typed-constant
79922         handling.
79924 2012-04-28  David S. Miller  <davem@davemloft.net>
79926         * Makerules (%.abilist): Add vpath on sysdep_dirs.
79927         (check-abi-%): Remove AWK script prerequisite and explicit
79928         abilist directory.
79929         (check-abi): Rewrite to just diff the symlist with the abilist.
79930         (config-tls, config-abi-config): Delete, no longer used.
79931         (update-abi-%): Remove AWK script and explicit abilist directory.
79932         (update-abi): Rewrite to simply compare and conditionally copy the
79933         symlist and the sysdep abilist file.  Remove update-abi-config
79934         checks.
79935         * abilist/ld.abilist: Remove.
79936         * abilist/libBrokenLocale.abilist: Remove.
79937         * abilist/libanl.abilist: Remove.
79938         * abilist/libcrypt.abilist: Remove.
79939         * abilist/libdl.abilist: Remove.
79940         * abilist/librt.abilist: Remove.
79941         * abilist/libthread_db.abilist: Remove.
79942         * abilist/libutil.abilist: Remove.
79943         * scripts/extract-abilist.awk: Remove.
79944         * scripts/merge-abilist.awk: Remove.
79945         * sysdeps/generic/libcidn.abilist: New file.
79946         * sysdeps/generic/libnss_compat.abilist: New file.
79947         * sysdeps/generic/libnss_db.abilist: New file.
79948         * sysdeps/generic/libnss_dns.abilist: New file.
79949         * sysdeps/generic/libnss_files.abilist: New file.
79950         * sysdeps/generic/libnss_hesiod.abilist: New file.
79951         * sysdeps/generic/libnss_nis.abilist: New file.
79952         * sysdeps/generic/libnss_nisplus.abilist: New file.
79953         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
79954         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
79955         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
79956         file.
79957         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
79958         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
79959         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
79960         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
79961         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
79962         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
79963         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
79964         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
79965         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
79966         file.
79967         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
79968         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
79969         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
79970         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
79971         file.
79972         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
79973         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
79974         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
79975         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
79976         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
79977         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
79978         file.
79979         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
79980         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
79981         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79982         file.
79983         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
79984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
79985         New file.
79986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
79987         New file.
79988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
79989         New file.
79990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
79991         New file.
79992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
79993         New file.
79994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
79995         New file.
79996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
79997         New file.
79998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
79999         New file.
80000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80001         New file.
80002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80003         New file.
80004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80005         New file.
80006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80007         New file.
80008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80009         New file.
80010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80011         file.
80012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80013         New file.
80014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80015         New file.
80016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80017         file.
80018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80019         New file.
80020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80021         New file.
80022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80023         file.
80024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80025         New file.
80026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80027         New file.
80028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80029         New file.
80030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80031         New file.
80032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80033         New file.
80034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80035         New file.
80036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80038         file.
80039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80040         New file.
80041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80042         file.
80043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80044         file.
80045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80046         file.
80047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80048         file.
80049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
80050         file.
80051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80052         New file.
80053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
80054         file.
80055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
80056         file.
80057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
80058         New file.
80059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
80060         file.
80061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
80062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
80063         file.
80064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
80065         New file.
80066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
80067         file.
80068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
80069         file.
80070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
80071         file.
80072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
80073         file.
80074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
80075         file.
80076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80077         New file.
80078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
80079         file.
80080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
80081         file.
80082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
80083         New file.
80084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
80085         file.
80086         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80087         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
80088         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
80089         file.
80090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
80091         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
80092         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
80093         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
80094         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
80095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
80096         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
80097         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
80098         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
80099         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
80100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
80101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
80102         file.
80103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
80104         New file.
80105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
80106         file.
80107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
80108         file.
80109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
80110         file.
80111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
80112         file.
80113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
80114         file.
80115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
80116         New file.
80117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
80118         New file.
80119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
80120         file.
80121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
80122         New file.
80123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
80124         file.
80125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
80126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
80127         file.
80128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
80129         New file.
80130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
80131         file.
80132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
80133         file.
80134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
80135         file.
80136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
80137         file.
80138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
80139         file.
80140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
80141         New file.
80142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
80143         New file.
80144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
80145         file.
80146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
80147         New file.
80148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
80149         file.
80151 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80153         * conform/conformtest.pl: Fix typo in handling typed-constant from
80154         allow-header.
80156 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80158         * README: Cut down references to pre-2.6 Linux kernels and
80159         Linuxthreads.  Update lists of configurations in libc and ports
80160         and sort alphabetically.  Say "or newer" with Linux kernel version
80161         requirements.
80163         * config.h.in [IS_IN_build]: Allow compiling without optimization.
80165 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
80167         [BZ #887]
80168         * math/libm-test.inc (logb_test_downward): New test to expose
80169         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
80170         rounding mode.
80172 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
80174         [BZ #14027]
80175         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
80176         to be done.
80177         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
80178         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
80180 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
80182         * sysdeps/unix/i386/brk.S: Remove file.
80183         * sysdeps/unix/i386/dl-brk.S: Likewise.
80184         * sysdeps/unix/i386/pipe.S: Likewise.
80185         * sysdeps/unix/i386/sigreturn.S: Likewise.
80186         * sysdeps/unix/i386/syscall.S: Likewise.
80187         * sysdeps/unix/i386/vfork.S: Likewise.
80188         * sysdeps/unix/i386/wait.S: Likewise.
80190         * sysdeps/unix/common/tcsendbrk.c: Move to ...
80191         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
80193         * configure.in (arm*-none*): Do not allow without
80194         --enable-hacker-mode.
80195         (netbsd*): Remove case setting base_os.
80196         (386bsd*): Likewise.
80197         (freebsd*): Likewise.
80198         (bsdi*): Likewise.
80199         (osf*): Likewise.
80200         (sunos*): Likewise.
80201         (ultrix*): Likewise.
80202         (newsos*): Likewise.
80203         (dynix*): Likewise.
80204         (*bsd*): Likewise.
80205         (sysv*): Likewise.
80206         (isc*): Likewise.
80207         (esix*): Likewise.
80208         (sco*): Likewise.
80209         (minix*): Likewise.
80210         (irix4*): Likewise.
80211         (irix6*): Likewise.
80212         (solaris[2-9]*): Likewise.
80213         (none): Likewise.
80214         * configure: Regenerated.
80216 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80218         [BZ #11521]
80219         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
80220         overflow or cancellation in calculating denominator.
80221         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
80222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
80223         down expression to avoid unexpected rounding in newer GCCs.
80224         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
80226 2012-04-26  David S. Miller  <davem@davemloft.net>
80228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
80229         long-double compat symbols.
80230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
80234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
80236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
80237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
80238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
80239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
80240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
80241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
80242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80244 2012-04-25  David S. Miller  <davem@davemloft.net>
80246         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
80247         HWCAP_* values only after the memory barriers have been defined.
80248         (atomic_full_barrier): Define.
80249         (atomic_read_barrier): Define.
80250         (atomic_write_barrier): Define.
80252 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80254         * shlib-versions: Add libgcc_s version information.
80255         * sysdeps/generic/libgcc_s.h: Remove.
80256         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
80257         libgcc_s.h.
80258         * sysdeps/gnu/unwind-resume.c: Likewise.
80259         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
80261 2012-04-25  David S. Miller  <davem@davemloft.net>
80263         * sysdeps/unix/sparc/brk.S: Delete.
80264         * sysdeps/unix/sparc/dl-brk.S: Delete.
80265         * sysdeps/unix/sparc/pipe.S: Delete.
80266         * sysdeps/unix/sparc/sysdep.S: Delete.
80267         * sysdeps/unix/sparc/sysdep.h: Delete.
80268         * sysdeps/unix/sparc/vfork.S: Delete.
80269         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
80270         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
80271         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
80272         (ret_ERRVAL, r0, r1, MOVE): Define.
80273         (JUMPTARGET): Remove.
80274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
80275         sysdeps/unix/sparc/sysdep.h
80276         (ENTRY, END): Remove.
80277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80279 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
80281         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
80282         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
80283         -DIS_IN_build.
80285         * timezone/README: Update upstream location and email address for
80286         tzcode and tzdata.
80287         * timezone/zdump.c: Update from tzcode 2012b.
80288         * timezone/zic.c: Likewise.
80290         * configure.in (libc_cv_as_needed): Remove test.
80291         * configure: Regenerated.
80292         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
80293         conditional definition.
80294         [$(have-as-needed) != yes] (no-as-needed): Likewise.
80295         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
80296         * config.make.in (have-as-needed): Remove variable.
80298 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
80299             Paul Pluzhnikov  <ppluzhnikov@google.com>
80301         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
80302         strings correctly.
80304 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
80306         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
80307         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
80308         * sysdeps/sh/strlen.S: Likewise.
80310 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80312         * sysdeps/unix/fork.S: Remove file.
80313         * sysdeps/unix/i386/fork.S: Likewise.
80314         * sysdeps/unix/sparc/fork.S: Likewise.
80316         * sysdeps/unix/system.c: Remove file.
80317         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
80319         * sysdeps/unix/getegid.S: Remove file.
80320         * sysdeps/unix/geteuid.S: Likewise.
80322 2012-04-24  Roland McGrath  <roland@hack.frob.com>
80324         * scripts/check-localplt.awk: New file.
80325         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
80326         of diff.
80327         * scripts/data/localplt-generic.data: Add a comment.
80329         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
80330         NODE when __dir_mkfile failed.
80331         * sysdeps/mach/hurd/symlinkat.c: Likewise.
80332         Reported by Ludovic Courtès <ludo@gnu.org>.
80334 2012-04-24  Andreas Jaeger  <aj@suse.de>
80336         * Makerules (common-clean): Also remove gen-as-const-headers
80337         files.
80339 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80341         * Makerules (native-compile): Do not change working directory for
80342         build.  Use $(OUTPUT_OPTION) in command.
80343         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
80345 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80347         [BZ #13886]
80348         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
80349         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
80350         * math/libm-test.inc (floor_test): Add more tests.
80351         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
80353 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
80355         * sysdeps/unix/getdents.c: Remove file.
80356         * sysdeps/unix/sysv/getdents.c: Likewise.
80357         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
80359         * sysdeps/unix/syscalls.list (madvise): Add syscall from
80360         sysdeps/unix/mman/syscalls.list.
80361         (mmap): Likewise.
80362         (mprotect): Likewise.
80363         (msync): Likewise.
80364         (munmap): Likewise.
80365         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
80366         * sysdeps/unix/mman/syscalls.list: Remove.
80367         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
80369         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
80370         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
80371         * configure: Regenerated.
80372         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
80373         $(libgcc_s_suffix).
80374         * config.make.in (libgcc_s_suffix): Remove variable.
80376 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
80378         * sysdeps/unix/sysv/gethostname.c: Move to ...
80379         * sysdeps/posix/gethostname.c: ... here.
80381         * sysdeps/unix/execve.S: Remove file.
80383         * sysdeps/unix/_exit.S: Remove file.
80385 2012-04-23  Andreas Jaeger  <aj@suse.de>
80387         [BZ #13739]
80388         * manual/Makefile: Remove make dist support, there's no
80389         need for a stand-alone documentation tar ball.
80390         (TEXI2DVI): Define always, it's not in Makeconfig.
80391         (dist): Removed.
80392         (tar-it): Removed.
80393         (edition): Removed.
80394         (glibc-doc-$(edition).tar): Removed
80395         (%.Z): Removed.
80396         (%.gz): Removed.
80397         (%.uu): Removed.
80398         (ETAGS): Remove, it's in Makeconfig.
80399         (move-if-change): Remove, it's in Makeconfig.
80401 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
80403         [BZ #13970]
80404         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
80405         (strtod, strtof, strtold, strtol, strtoul, strtoq)
80406         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
80407         (strtod_l, strtof_l, strtold_l): Remove __wur.
80408         It is not necessarily an error to ignore strtol's return value.
80409         One can reliably look at the stored endptr to decide whether
80410         the number had valid syntax.
80412 2012-04-21  Andreas Jaeger  <aj@suse.de>
80414         [BZ #13739]
80415         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
80417 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
80419         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
80420         * sysdeps/unix/sysv/Versions: Remove file.
80422 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
80424         [BZ #13927]
80425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80427 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
80429         [BZ #7064]
80430         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
80431         version from __vm86.
80433 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
80435         * sysdeps/unix/common/lxstat.c: Remove file.
80436         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
80438         * sysdeps/unix/sysv/Makefile: Remove file.
80440         * sysdeps/unix/sysv/direct.h: Remove file.
80442         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
80443         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
80444         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
80445         * sysdeps/unix/sysv/bits/signum.h: Likewise.
80446         * sysdeps/unix/sysv/bits/stat.h: Likewise.
80447         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
80448         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
80450         * sysdeps/unix/sysv/setrlimit.c: Remove file.
80452         * sysdeps/unix/xmknod.c: Remove file.
80453         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
80455         * sysdeps/unix/sysv/settimeofday.c: Remove file.
80457         * sysdeps/unix/sysv/i386/time.S: Remove file.
80459         * sysdeps/unix/fxstat.c: Remove file.
80460         * sysdeps/unix/xstat.c: Likewise.
80461         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
80463         * sysdeps/unix/sysv/sigaction.c: Remove file.
80465         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
80466         (sysdep_headers): Remove variable.
80467         [termio.h not in sysdep_headers] (generated): Likewise.
80468         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
80469         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
80470         * sysdeps/unix/sysv/tcdrain.c: Likewise.
80471         * sysdeps/unix/sysv/tcflow.c: Likewise.
80472         * sysdeps/unix/sysv/tcflush.c: Likewise.
80473         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
80474         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
80475         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
80476         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
80477         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
80479         * sysdeps/unix/siglist.c: Remove file.
80481         * sysdeps/unix/getppid.S: Remove file.
80483         * sysdeps/unix/mkdir.c: Remove file.
80484         * sysdeps/unix/rmdir.c: Likewise.
80486 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
80488         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
80489         ERR_MAX value.
80490         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
80491         errlist-compat value.
80493 2012-04-18  David S. Miller  <davem@davemloft.net>
80495         * sysdeps/generic/memcopy.h (reg_char): Delete.
80496         * debug/strcat_chk.c: Use char, not reg_char.
80497         * debug/strcpy_chk.c: Likewise.
80498         * debug/strncat_chk.c: Likewise.
80499         * debug/strncpy_chk.c: Likewise.
80500         * string/memchr.c: Likewise.
80501         * string/memrchr.c: Likewise.
80502         * string/rawmemchr.c: Likewise.
80503         * string/strcat.c: Likewise.
80504         * string/strchr.c: Likewise.
80505         * string/strchrnul.c: Likewise.
80506         * string/strcmp.c: Likewise.
80507         * string/strcpy.c: Likewise.
80508         * string/strncat.c: Likewise.
80509         * string/strncmp.c: Likewise.
80510         * string/strncpy.c: Likewise.
80512 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80514         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
80515         __builtin_memcopy is called when src and dest ranges are known to not
80516         overlap.
80518 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80520         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
80521         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
80522         fwd_align_merge macro call.
80523         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
80524         bwd_align_merge macro call.
80525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80527 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
80529         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
80530         bwd_align_merge macros.
80531         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
80532         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
80533         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
80535 2012-04-18  David S. Miller  <davem@davemloft.net>
80537         * sysdeps/sparc/sparc64/memcopy.h: Delete.
80539 2012-04-18  Andreas Jaeger  <aj@suse.de>
80541         [BZ #6794]
80542         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
80543         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
80544         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80546         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
80547         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
80548         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80550         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
80551         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
80552         Adjust for changed ldbl-128 files.
80554         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
80555         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80556         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
80558 2012-04-17  David S. Miller  <davem@davemloft.net>
80560         * sysdeps/sparc/sparc32/memcopy.h: Delete.
80562 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
80564         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80565         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
80566         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
80567         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
80568         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
80569         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
80571 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80573         [BZ #6794]
80574         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
80575         * math/libm-test.inc: Add ilogb errno and exception tests.
80576         * math/w_ilogb.c: New file: ilogb wrapper.
80577         * math/w_ilogbf.c: New file: ilogbf wrapper.
80578         * math/w_ilogbl.c: New file: ilogbl wrapper.
80579         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
80580         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
80581         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
80582         exception being thrown with 0.0 as argument.
80583         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
80584         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
80585         exception being thrown with 0.0 as argument.
80586         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
80587         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80588         exception being thrown with 0.0 as argument.
80589         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
80590         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
80591         exception being thrown with 0.0 as argument.
80592         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
80593         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
80594         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
80595         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
80596         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
80597         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
80598         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
80599         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
80600         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
80602 2012-04-17  Petr Baudis  <pasky@ucw.cz>
80604         * include/sys/uio.h: Change __vector to __iovec to avoid clash
80605         with altivec.
80607 2012-04-16  Marek Polacek  <polacek@redhat.com>
80609         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
80611 2012-04-16  Marek Polacek  <polacek@redhat.com>
80613         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
80614         operands of fdivp instruction.
80616 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80618         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
80619         * elf/tst-auditmod3b.c: Likewise.
80620         * elf/tst-auditmod4b.c: Likewise.
80621         * elf/tst-auditmod5b.c: Likewise.
80622         * elf/tst-auditmod6b.c: Likewise.
80623         * elf/tst-auditmod6c.c: Likewise.
80624         * elf/tst-auditmod7b.c: Likewise.
80625         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
80626         * sysdeps/x86_64/preconfigure.in: Likewise.
80627         * sysdeps/x86_64/preconfigure: Regenerated.
80629 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
80631         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
80632         __ILP32__.
80634 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
80636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80637         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
80639 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
80641         [BZ #13973]
80642         * locale/iso-639.def: Fix gl language name. Spotted by
80643         Yaron Shahrabani.
80645 2012-04-12  Roland McGrath  <roland@hack.frob.com>
80647         [BZ #2074]
80648         * libio/libio.h (__io_write_fn): Update comment.
80650 2012-04-12  Petr Baudis  <pasky@ucw.cz>
80652         [BZ #2074]
80653         * stdio.texi (Hook Functions): The user provided writer function
80654         is not allowed to return -1.
80656 2012-04-11  David S. Miller  <davem@davemloft.net>
80658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80660 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
80662         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
80663         Add a leading slash to rtkaio.
80665 2012-04-11  Jim Meyering  <meyering@redhat.com>
80667         [BZ #11959]
80668         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
80669         It is not necessarily an error to ignore fwrite's return
80670         value.  One can reliably use ferror to test for errors after
80671         the fact.
80673 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80675         * bits/types.h (__snseconds_t): New type.
80676         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
80678         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
80679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80680         (__SNSECONDS_T_TYPE): Likewise.
80681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80682         (__SNSECONDS_T_TYPE): Likewise.
80683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80684         (__SNSECONDS_T_TYPE): Likewise.
80686 2012-04-10  Andreas Jaeger  <aj@suse.de>
80688         [BZ #2636]
80689         * manual/time.texi (Processor Time): Return type of times is
80690         elapsed real time since an arbitrary point in the past.
80691         (CPU Time): Move CLK_TCK from here...
80692         (Processor Time): ...to here.  Correct description.
80693         * manual/conf.texi (Constants for Sysconf): Correct description of
80694         _SC_CLK_TCK.
80696 2012-04-10  David S. Miller  <davem@davemloft.net>
80698         [BZ #13967]
80699         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
80700         where the is a gap between DT_REL(A) and DT_JMPREL.
80702 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
80704         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
80705         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80706         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80708 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
80710         * elf/dl-support.c (_dl_inhibit_cache): New variable.
80711         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
80712         (dl_main): Handle --inhibit-cache.
80713         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
80714         _dl_inhibit_cache.
80715         * elf/dl-load.c (_dl_map_object): Use it.
80716         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
80718 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80720         [BZ #13872]
80721         * sysdeps/i386/fpu/e_powl.S (p78): New object.
80722         (__ieee754_powl): Saturate large exponents rather than testing for
80723         overflow of y*log2(x).
80724         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80725         * math/libm-test.inc (pow_test): Do not permit spurious overflow
80726         exceptions.
80728         [BZ #11521]
80729         * math/s_ctan.c: Include <float.h>.
80730         (__ctan): Avoid internal overflow or cancellation in calculating
80731         denominator.
80732         * math/s_ctanf.c: Likewise.
80733         * math/s_ctanl.c: Likewise.
80734         * math/s_ctanh.c: Likewise.
80735         * math/s_ctanhf.c: Likewise.
80736         * math/s_ctanhl.c: Likewise.
80737         * math/libm-test.inc (ctan_test): Add more tests.
80738         (ctanh_test): Likewise.
80739         * sysdeps/i386/fpu/libm-test-ulps: Update.
80740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80742 2012-04-09  Andreas Jaeger  <aj@suse.de>
80744         [BZ #6894]
80745         * manual/filesys.texi (Directory Entries): Mention that d_namlen
80746         is an optional BSD extension.
80748         [BZ #10254]
80749         * manual/stdio.texi (Opening Streams): Document additional fopen
80750         parameters.
80752 2012-04-09  Roland McGrath  <roland@hack.frob.com>
80754         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
80755         %eax without telling the compiler.
80757 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
80759         [BZ # 13963]
80760         * manual/install.texi: Use sourceware.org.
80762 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
80764         [BZ #13873]
80765         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
80766         (__ieee754_pow): Generate overflow and underflow using huge*huge
80767         and tiny*tiny rather than just returning constant infinity or zero
80768         for large exponents.
80769         * math/libm-test.inc (pow_test): Require overflow exceptions for
80770         applicable cases of large exponents.
80772         [BZ #706]
80773         * sysdeps/i386/fpu/e_pow.S (p10): New object.
80774         (__ieee754_pow): Use iterative multiplication algorithm only for
80775         integer exponents with absolute value below 1024.  Check for odd
80776         integer exponents when using algorithm for real exponents.
80777         * math/libm-test.inc (pow_test): Add more tests.
80778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80780 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
80782         [BZ #13705]
80783         * math/libm-test.inc (exp_test): Do not allow overflow exception
80784         on underflow test.
80786 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
80788         [BZ #13705]
80789         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
80790         instead of __kernel_standard_f.
80792 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
80794         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
80795         * sysdeps/x86_64/memset_chk.S: Likewise.
80797 2012-04-08  Andreas Jaeger  <aj@suse.de>
80799         [BZ #10153]
80800         * manual/startup.texi (Environment Access): Describe return value
80801         for putenv and setenv.
80803         [BZ #6895]
80804         * manual/filesys.texi (Directory Entries): Add description for
80805         DT_LNK.
80807         [BZ #6890]
80808         * manual/filesys.texi (Directory Entries): Clarify that it's file
80809         system not operating system in the description of DT_UNKNOWN.
80811         [BZ #6578]
80812         * manual/syslog.texi (closelog): Fix reference, it's openlog.
80814 2012-04-08  Stephen Compall  <s11@member.fsf.org>
80816         [BZ #6649]
80817         * manual/llio.texi (Opening and Closing Files): Add cross
80818         reference to explain mode argument.
80820 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
80822         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
80823         * sysdeps/x86_64/memset_chk.S: Likewise.
80825 2012-04-07  David S. Miller  <davem@davemloft.net>
80827         * elf/elf.h (R_SPARC_WDISP10): Define.
80828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
80829         R_SPARC_SIZE32.
80830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
80831         R_SPARC_SIZE64 and R_SPARC_H34.
80833 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
80835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
80836         conditions and remove no longer applicable assertion.
80838 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80840         * bits/byteswap.h: Include <features.h>.
80841         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
80842         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
80844 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
80846         * bits/byteswap.h (__bswap_16): Removed.
80847         Include <bits/byteswap-16.h> to get __bswap_16.
80848         * sysdeps/i386/bits/byteswap.h: Likewise.
80849         * sysdeps/s390/bits/byteswap.h: Likewise.
80850         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80851         * bits/byteswap-16.h: New file.
80852         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80853         * sysdeps/s390/bits/byteswap-16.h: Likewise.
80854         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
80855         * string/Makefile (headers): Add bits/byteswap-16.h.
80857 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80859         [BZ #13895]
80860         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
80861         extra indirection.
80862         * nss/Makefile (tests-static, tests): Add tst-nss-static.
80863         * nss/tst-nss-static.c: New.
80865 2012-04-06  Robert Millan  <rmh@gnu.org>
80867         [BZ #6486]
80868         * manual/llio.texi (File Position Primitive): lseek
80869         refers to WHENCE when it really means OFFSET.
80871 2012-04-06  Andreas Jaeger  <aj@suse.de>
80873         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
80874         strncmp declarations.
80876         * abilist/libc.abilist: Add __poll and __ppoll.
80878 2012-04-05  David S. Miller  <davem@davemloft.net>
80880         * scripts/check-local-headers.sh: Accept a host triplet in the
80881         path matched by the exclude regexp.
80883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
80884         definition.
80885         * sysdeps/powerpc/powerpc32/dl-machine.h
80886         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
80887         * sysdeps/s390/s390-32/dl-machine.h
80888         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80889         * sysdeps/sparc/sparc32/dl-machine.h
80890         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80891         * sysdeps/sparc/sparc64/dl-machine.h
80892         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
80894         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
80895         lazy binding.
80896         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
80897         undefined symbol errors.
80899         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
80900         DT_NEEDED entries.
80902 2012-04-05  Michael Matz  <matz@suse.de>
80904         [BZ #13592]
80905         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
80907 2012-04-05  Andreas Jaeger  <aj@suse.de>
80909         [BZ #13908]
80910         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
80911         comment.
80913 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80915         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
80916         which ROUND is no valid rounding mode.
80918 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80920         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
80921         read again.
80922         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
80924 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80926         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
80927         an exception using FPU order intentionally.
80929 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80931         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
80932         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
80933         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
80934         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
80936 2012-04-05  Simon Josefsson  <simon@josefsson.org>
80938         [BZ #12340]
80939         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
80940         EINVAL when BUFLEN is too smal.
80942 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
80944         [BZ #13553]
80945         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
80946         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
80948 2012-04-03  Andreas Jaeger  <aj@suse.de>
80950         [BZ #13938]
80951         * manual/setjmp.texi (System V contexts): Fix sentence.
80953         [BZ #13926]
80954         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
80955         New macro for this case.
80956         [!__GNUC__] (__bswap_64): New inline function for this case.
80957         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80958         * bits/byteswap.h: Likewise.
80959         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
80960         ull, guard with __GLIBC_HAVE_LONG_LONG.
80962         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
80963         __GLIBC_HAVE_LONG_LONG.
80965         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
80966         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
80968 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
80970         [BZ #13691]
80971         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
80972         inptr and inend, rather than using last_ch.
80974 2012-04-02  David S. Miller  <davem@davemloft.net>
80976         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
80977         * stdio-common/printf-parse.h (read_int): Change return type to
80978         'int', return -1 on INT_MAX overflow.
80979         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
80980         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
80981         overflows INT_MAX.  Check for overflow of in-format-string precision
80982         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
80983         SIZE_MAX not INT_MAX for integer overflow test.
80984         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
80985         skip the construct in the format string but do not record anything.
80986         * stdio-common/bug22.c: Adjust to test both width/prevision
80987         INT_MAX overflow as well as total length INT_MAX overflow.  Check
80988         explicitly for proper errno values.
80990 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
80992         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
80993         CHAR_MAX.
80994         * string/test-strcmp.c [! WIDE]: Likewise.
80995         * time/tst-mktime2.c: Likewise for INT_MAX.
80996         * string/test-string.h: #include <sys/param.h> for MIN.
80998         * csu/init-first.c (__libc_init_first): Call __ctype_init.
80999         * sysdeps/i386/init-first.c (init): Likewise.
81000         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81001         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81002         * sysdeps/sh/init-first.c (init): Likewise.
81004 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81006         * po/ru.po: Update from translation team.
81007         * po/vi.po: Likewise.
81009 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81011         * resolv/nss_dns/dns-host.c: Merge copyright years.
81013 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81015         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81016         Optimize memcpy with prefetch if
81017         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81018         src, dst pointers have unequal 16 byte alignments.
81020 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81022         [BZ #13928]
81023         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81024         from a CNAME entry and return the minimum ttl for the query.
81025         (gaih_getanswer_slice): Likewise.
81027 2012-03-30  Jeff Law  <law@redhat.com>
81029         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81030         due to long keys.
81031         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81032         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81034         * resolv/nss_dns/dns-host.c: Update copyright year.
81036 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81038         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81039         requests to save a system call.  Fix check that all bytes are sent.
81041         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81042         comments for sendmmsg.
81044 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81046         [BZ #13691]
81047         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81048         with only 1 character between 0x0041 and 0x01b0.
81049         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
81050         * wcsmbs/tst-mbsnrtowcs.c: New file.
81052 2012-03-29  David S. Miller  <davem@davemloft.net>
81054         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
81055         small copies by hand.
81057 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
81059         [BZ #13761]
81060         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
81061         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
81062         group memberships.
81064 2012-03-28  David S. Miller  <davem@davemloft.net>
81066         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
81067         that branches into memcpy.
81068         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
81069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
81070         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
81071         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
81072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
81073         bits.
81074         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
81075         implementation too.
81076         * sysdeps/sparc/mempcpy.S: New file.
81078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
81079         the IFUNC routine in the libc case.
81080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81082         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
81083         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
81084         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81085         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
81086         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
81087         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
81088         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
81089         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
81091         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
81092         loop to 256 bytes instead of 64 bytes and fix test signedness.
81094         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
81095         * sysdeps/sparc/sparc32/Makefile: rather than here...
81096         * sysdeps/sparc/sparc64/Makefile: and here.
81098 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
81100         * malloc/mallocbug.c: Avoid warnings about unused variables.
81102 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
81104         [BZ #13760]
81105         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
81106         in the right place. Discard and retry query if response is
81107         larger than input buffer size.
81109 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
81111         [BZ #369]
81112         [BZ #2678]
81113         [BZ #3866]
81114         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
81115         x for large integer exponent.
81116         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
81117         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
81118         sign of result as needed afterwards.
81119         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
81120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
81121         result for underflowing pow the same as for overflow.
81122         (__kernel_standard_l): Handle powl overflow and underflow here
81123         rather than calling __kernel_standard.
81124         * math/libm-test.inc (pow_test): Add more tests.
81126         [BZ #3868]
81127         [BZ #13879]
81128         [BZ #13910]
81129         [BZ #13911]
81130         [BZ #13912]
81131         [BZ #13913]
81132         [BZ #13915]
81133         [BZ #13916]
81134         [BZ #13917]
81135         [BZ #13918]
81136         [BZ #13919]
81137         [BZ #13920]
81138         [BZ #13921]
81139         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
81140         * sysdeps/ieee754/k_standard.c: Include <float.h>.
81141         (__kernel_standard_l): New function.
81142         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
81143         __kernel_standard.
81144         * math/w_acosl.c (__acosl): Likewise.
81145         * math/w_asinl.c (__asinl): Likewise.
81146         * math/w_atan2l.c (__atan2l): Likewise.
81147         * math/w_atanhl.c (__atanhl): Likewise.
81148         * math/w_coshl.c (__coshl): Likewise.
81149         * math/w_exp10l.c (__exp10l): Likewise.
81150         * math/w_exp2l.c (__exp2l): Likewise.
81151         * math/w_fmodl.c (__fmodl): Likewise.
81152         * math/w_hypotl.c (__hypotl): Likewise.
81153         * math/w_j0l.c (__j0l, __y0l): Likewise.
81154         * math/w_j1l.c (__j1l, __y1l): Likewise.
81155         * math/w_jnl.c (__jnl, __ynl): Likewise.
81156         * math/w_lgammal.c (__lgammal): Likewise.
81157         * math/w_log10l.c (__log10l): Likewise.
81158         * math/w_log2l.c (__log2l): Likewise.
81159         * math/w_logl.c (__logl): Likewise.
81160         * math/w_powl.c (__powl): Likewise.
81161         * math/w_remainderl.c (__remainderl): Likewise.
81162         * math/w_scalbl.c (sysv_scalbl): Likewise.
81163         * math/w_sinhl.c (__sinhl): Likewise.
81164         * math/w_sqrtl.c (__sqrtl): Likewise.
81165         * math/w_tgammal.c (__tgammal): Likewise.
81166         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
81167         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
81168         * math/libm-test.inc (acos_test): Add more tests.
81169         (acosh_test): Likewise.
81170         (asin_test): Likewise.
81171         (atanh_test): Likewise.
81172         (exp_test): Likewise.
81173         (exp10_test): Likewise.
81174         (exp2_test): Likewise.
81175         (expm1_test): Likewise.
81176         (lgamma_test): Likewise.
81177         (log_test): Likewise.
81178         (log10_test): Likewise.
81179         (log1p_test): Likewise.
81180         (log2_test): Likewise.
81181         (pow_test): Do not allow some spurious overflow exceptions.
81182         (sqrt_test): Add more tests.
81183         (tgamma_test): Likewise.
81184         (y0_test): Likewise.
81185         (y1_test): Likewise.
81186         (yn_test): Likewise.
81188 2012-03-27  Anton Blanchard  <anton@samba.org>
81190         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
81191         MAP_HUGETLB.
81192         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81193         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81196 2012-03-27  David S. Miller  <davem@davemloft.net>
81198         * conform/Makefile: Run run-conformtest.sh using $(BASH).
81200         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
81201         have-as-vis3 check.
81203 2012-03-27  Andreas Jaeger  <aj@suse.de>
81205         * sysdeps/x86_64/elf/configure.in: Moved to ...
81206         * sysdeps/x86_64/configure.in: ... here.
81207         * sysdeps/x86_64/elf/start.S: Moved to ...
81208         * sysdeps/x86_64/start.S: ... here.
81209         * sysdeps/x86_64/elf/configure: Delete.
81211         * sysdeps/x86_64/configure.in: Merge contents from
81212         sysdeps/i386/configure.in (without i686 check).
81214         * sysdeps/i386/elf/Versions: Merge into ...
81215         * sysdeps/i386/Versions: ... this.
81216         * sysdeps/i386/elf/Versions: Delete file.
81217         * sysdeps/i386/elf/start.S: Moved to ...
81218         * sysdeps/i386/start.S: ...here.
81219         * sysdeps/i386/elf/configure.in: Merge into...
81220         * sysdeps/i386/configure.in: ...here.
81221         * sysdeps/i386/elf/configure.in: Delete file.
81222         * sysdeps/i386/elf/configure: Delete file.
81224         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
81225         * debug/backtracesyms.c: ... here.
81226         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
81227         * debug/backtracesymsfd.c: ... here.
81228         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
81229         * sysdeps/generic/ifunc-sel.h: ... here.
81231         * sysdeps/unix/i386/start.c: Delete file.
81232         * sysdeps/unix/sparc/start.c: Delete file.
81233         * sysdeps/unix/start.c: Delete file.
81235         * sysdeps/sh/elf/configure.in: Moved to ...
81236         * sysdeps/sh/configure.in: ... here.
81237         * sysdeps/sh/elf/start.S: Moved to ...
81238         * sysdeps/sh/start.S: ... here.
81239         * sysdeps/sh/elf/configure: Delete file.
81241         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
81242         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
81243         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
81244         * sysdeps/powerpc/powerpc64/entry.h: ... here.
81245         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
81246         * sysdeps/powerpc/powerpc64/start.S: here.
81247         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
81248         * sysdeps/powerpc/powerpc64/Makefile: ... this.
81249         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
81250         * sysdeps/powerpc/powerpc64/configure.in: ... this.
81251         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
81253         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
81254         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
81255         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
81256         * sysdeps/powerpc/powerpc32/start.S: ... here.
81257         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
81258         * sysdeps/powerpc/powerpc32/configure.in: ... this.
81259         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
81261         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
81262         * sysdeps/powerpc/ifunc-sel.h: ... here.
81263         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
81264         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
81266         * sysdeps/sparc/elf/configure.in: Moved to ...
81267         * sysdeps/sparc/configure.in: ... here.
81268         * sysdeps/sparc/elf/configure: Delete file.
81269         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
81270         * sysdeps/sparc/sparc32/start.S: ... here.
81271         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
81272         * sysdeps/sparc/sparc64/start.S: ... here.
81273         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
81274         * sysdeps/sparc/sparc32/Makefile: ... this.
81275         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81276         * sysdeps/sparc/sparc64/Makefile: ... this.
81278         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
81279         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
81280         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
81281         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
81282         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
81283         * sysdeps/s390/s390-32/setjmp.S: ... here.
81284         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
81285         * sysdeps/s390/s390-32/configure.in: ... here.
81286         * sysdeps/s390/s390-32/elf/configure: Delete file.
81287         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
81288         * sysdeps/s390/s390-32/start.S: ... here.
81290         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
81291         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
81292         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
81293         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
81294         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
81295         * sysdeps/s390/s390-64/setjmp.S: ... here.
81296         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
81297         * sysdeps/s390/s390-64/configure.in: ... here
81298         * sysdeps/s390/s390-64/elf/configure: Delete file.
81299         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
81300         * sysdeps/s390/s390-64/start.S: ... here.
81301         * sysdeps/s390/s390-64/elf/configure: Delete.
81303         * configure.in: Remove support for elf directories in sysdeps.
81305         * configure: Regenerated.
81306         * sysdeps/i386/configure: Regenerated.
81307         * sysdeps/powerpc/powerpc32/configure: Regenerated.
81308         * sysdeps/powerpc/powerpc64/configure: Regenerated.
81309         * sysdeps/s390/s390-32/configure: Regenerated.
81310         * sysdeps/s390/s390-64/configure: Regenerated.
81311         * sysdeps/sh/configure: Regenerated.
81312         * sysdeps/sparc/configure: Regenerated.
81313         * sysdeps/x86_64/configure: Regenerated.
81315 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
81317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
81320         denormal result into account.
81322 2012-03-25  Roland McGrath  <roland@hack.frob.com>
81324         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
81325         Reported by Allan McRae <allan@archlinux.org>.
81327 2012-03-23  Jeff Law  <law@redhat.com>
81329         * nss/getnssent.c (__nss_getent): Fix typo.
81331 2012-03-23  David S. Miller  <davem@davemloft.net>
81333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81335 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
81337         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
81338         to pad to uint64_t for each field.
81339         (dl_tls_index): Replace unsigned long with uint64_t.
81341 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
81342         Paul Pluzhnikov  <ppluzhnikov@google.com>
81344         [BZ #6528]
81345         * grp/Makefile (otherlibs): Don't set it.
81346         * inet/Makefile (otherlibs): Likewise.
81347         * login/Makefile (otherlibs): Likewise.
81348         * nscd/Makefile (otherlibs): Likewise.
81349         * posix/Makefile (otherlibs): Likewise.
81350         * pwd/Makefile (otherlibs): Likewise.
81351         * rt/Makefile (otherlibs): Likewise.
81352         * sunrpc/Makefile (otherlibs): Likewise.
81353         * nss/Makefile (otherlibs): Likewise.
81354         Add libnss_files to routines and static-only-routines.
81355         ($(objpfx)getent): Remove rule.
81356         * resolv/Makefile: Add libnss_dns and libresolv to routines and
81357         static-only-routines.
81359 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81361         [BZ #13892]
81362         * math/s_cexp.c: Include <float.h>.
81363         (__cexp): Handle exp result overflowing not necessarily
81364         overflowing both real and imaginary parts of result.
81365         * math/s_cexpf.c: Likewise.
81366         * math/s_cexpl.c: Likewise.
81367         * math/libm-test.inc (cexp_test): Add more tests.
81368         * sysdeps/i386/fpu/libm-test-ulps: Update.
81369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81373         * include/link.h (ELFW): New macro.
81374         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
81375         Replace ELF64_R_TYPE with ELFW(R_TYPE).
81377 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81379         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
81380         with uint64_t.
81382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81384         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
81385         declaration.
81386         (struct La_x32_retval): Likewise.
81388 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
81390         * sysdeps/x86_64/preconfigure.in: New file.
81391         * sysdeps/x86_64/preconfigure: New generated file.
81393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
81395         [BZ #13824]
81396         * math/e_exp2l.c: Include <float.h>.
81397         (__ieee754_exp2l): Handle overflow and underflow cases
81398         separately.  Only pass fractional part of argument to
81399         __ieee754_expl.
81400         * math/libm-test.inc (exp2_test): Add more tests.
81402         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
81403         negating x to take absolute value.
81404         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
81405         Likewise.
81406         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
81407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
81408         Likewise.
81409         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
81410         computing low part if x was negated.
81411         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
81413 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81415         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
81416         la_x32_gnu_pltexit.
81417         (pltexit): Cast int_retval to ptrdiff_t.
81418         * elf/tst-auditmod3b.c: Likewise.
81419         * elf/tst-auditmod4b.c: Likewise.
81420         * elf/tst-auditmod5b.c: Likewise.
81421         * elf/tst-auditmod6b.c: Likewise.
81422         * elf/tst-auditmod6c.c: Likewise.
81423         * elf/tst-auditmod7b.c: Likewise.
81425         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
81426         and x32_gnu_pltexit.
81428         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
81429         __ELF_NATIVE_CLASS.
81430         (La_x32_regs): New macro.
81431         (La_x32_retval): Likewise.
81432         (la_x32_gnu_pltenter): New function prototype.
81433         (la_x32_gnu_pltexit): Likewise.
81435 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
81437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
81438         exponent.
81440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81442         * configure.in (libc_cv_cc_nofma): Check for option to disable
81443         generation of FMA instructions.
81444         * configure: Regenerate.
81445         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
81446         * sysdeps/ieee754/dbl-64/Makefile: New file.
81447         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
81448         Remove brandred-fma4.
81449         (CFLAGS-brandred-fma4.c): Remove.
81450         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
81451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
81452         define.
81453         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
81454         define.
81456 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81458         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81459         LLONG_MAX != LONG_MAX.
81460         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81461         (_fitoa_word): Likewise.
81462         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
81463         LLONG_MAX != LONG_MAX.
81464         * stdio-common/_itowa.h: Include <_itoa.h>.
81465         (_itowa_word): Use _ITOA_WORD_TYPE on value.
81466         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
81467         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
81468         only if not defined.
81469         (_ITOA_WORD_TYPE): Likewise.
81470         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81471         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
81473 2012-03-21  David S. Miller  <davem@davemloft.net>
81475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81477 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
81479         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
81480         of x86_64 when setting libc_cv_slibdir, libdir and
81481         libc_cv_localedir.
81482         * sysdeps/unix/sysv/linux/configure: Regenerated.
81484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81486         * manual/lang.texi (Old Varargs): Remove section.
81487         (How Variadic): Update menu.
81488         (va_start): Do not mention varargs.h.
81490 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81491             Joseph Myers  <joseph@codesourcery.com>
81493         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
81494         link test.
81495         * configure: Regenerated.
81497 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
81499         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
81500         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
81501         conformtest.pl
81503 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81505         * NOTES: Remove.
81506         * Makefile (files-for-dist): Remove NOTES.
81507         (NOTES): Remove rule.
81508         * README: Don't refer to NOTES.
81509         * manual/creature.texi: Don't include macros.texi.
81510         * manual/intro.texi (creature.texi): Remove comment referring to
81511         NOTES.
81513         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
81514         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
81515         * configure: Regenerated.
81516         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
81517         LIBC_TRY_CC_OPTION.
81518         (libc_cv_as_i686): Likewise.
81519         (libc_cv_cc_avx): Likewise.
81520         (libc_cv_cc_sse2avx): Likewise.
81521         (libc_cv_cc_fma4): Likewise.
81522         (libc_cv_cc_novzeroupper): Likewise.
81523         * sysdeps/i386/configure: Regenerated.
81525         [BZ #13883]
81526         * sysdeps/i386/fpu/s_cexp.S: Remove.
81527         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81529         * math/libm-test.inc (cexp_test): Add more tests.
81530         * sysdeps/i386/fpu/libm-test-ulps: Update.
81531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81533 2012-03-21  Allan McRae  <allan@archlinux.org>
81535         * timezone/Makefile: Do not install iso3166.tab and zone.tab
81537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
81539         [BZ #13871]
81540         * math/w_exp2.c: Do not include <float.h>.
81541         (o_threshold, u_threshold): Remove.
81542         (__exp2): Calculate result before checking finiteness and calling
81543         __kernel_standard.
81544         * math/w_exp2f.c: Likewise.
81545         * math/w_exp2l.c: Likewise.
81546         * math/libm-test.inc (exp2_test): Require overflow exception for
81547         1e6 input.
81549         [BZ #3866]
81550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
81551         range of signed 64-bit integers before using fistpll.  Remove
81552         checks for whether integers fit in mantissa bits.
81553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
81554         the range of signed 32-bit integers before using fistpl.  Remove
81555         checks for whether integers fit in mantissa bits.
81556         * sysdeps/i386/fpu/e_powl.S (p64): New object.
81557         (__ieee754_powl): Test for y outside the range of signed 64-bit
81558         integers before using fistpll.  Reduce 64-bit values to 63-bit
81559         ones as needed.
81560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
81561         divide-by-zero is raised for zero to large negative powers.
81562         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
81563         (__ieee754_powl): Test for y outside the range of signed 64-bit
81564         integers before using fistpll.  Reduce 64-bit values to 63-bit
81565         ones as needed.
81566         * math/libm-test.inc (pow_test): Add more tests.
81568 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81570         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
81571         <stdio-common/_itoa.h>.
81572         * debug/segfault.c: Likewise.
81573         * elf/dl-cache.c: Likewise.
81574         * elf/dl-minimal.c: Likewise.
81575         * elf/dl-misc.c: Likewise.
81576         * elf/dl-sysdep.c: Likewise.
81577         * elf/dl-version.c: Likewise.
81578         * elf/rtld.c: Likewise.
81579         * hurd/hurdsock.c: Likewise.
81580         * hurd/lookup-retry.c: Likewise.
81581         * malloc/malloc.c: Likewise.
81582         * malloc/mtrace.c: Likewise.
81583         * nscd/nscd_getgr_r.c: Likewise.
81584         * nscd/nscd_getpw_r.c: Likewise.
81585         * nscd/nscd_getserv_r.c: Likewise.
81586         * posix/getopt_init.c: Likewise.
81587         * posix/wordexp.c: Likewise.
81588         * stdio-common/_itoa.c: Likewise.
81589         * stdio-common/printf_fphex.c: Likewise.
81590         * stdio-common/vfprintf.c: Likewise.
81591         * string/_strerror.c: Likewise.
81592         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
81593         * sysdeps/i386/i686/hp-timing.h: Likewise.
81594         * sysdeps/mach/_strerror.c: Likewise.
81595         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
81596         * sysdeps/mach/hurd/sethostid.c: Likewise.
81597         * sysdeps/mach/hurd/xmknodat.c: Likewise.
81598         * sysdeps/mach/xpg-strerror.c: Likewise.
81599         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
81600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
81601         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
81602         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
81603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
81604         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
81605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
81606         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
81607         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
81608         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
81609         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
81610         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
81611         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
81612         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
81613         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
81614         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
81615         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
81616         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
81617         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
81618         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
81619         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
81621         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
81623         * stdio-common/_itoa.h: Moved to ...
81624         * sysdeps/generic/_itoa.h: Here.
81626         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
81628         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
81629         instead of "_itoa.h" and "_itowa.h".
81630         * stdio-common/vfprintf.: Likewise.
81632 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
81635         <bits/wordsize.h>.
81636         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
81637         (__signbit): Likewise.
81638         (llrintf): Likewise.
81639         (llrint): Likewise.
81641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
81644         __WORDSIZE != 64.
81646 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
81648         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
81649         OVERFLOW_EXCEPTION_OK.
81650         * math/libm-test.inc ("Philosophy"): Update comment about
81651         exception testing.
81652         (OVERFLOW_EXCEPTION): Define.
81653         (OVERFLOW_EXCEPTION_OK): Likewise.
81654         (INVALID_EXCEPTION_OK): Renumber.
81655         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81656         (IGNORE_ZERO_INF_SIGN): Likewise.
81657         (test_exceptions): Handle FE_OVERFLOW.
81658         (exp10_test): Expect overflow exceptions.
81659         (exp2_test): Likewise.
81660         (expm1_test): Likewise.
81661         (nextafter_test): Likewise.
81662         (pow_test): Likewise.
81663         (scalbn_test): Likewise.
81664         (scalbln_test): Likewise.
81666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81668         * sysdeps/x86_64/bits/atomic.h
81669         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
81670         64bit integer.
81671         (atomic_exchange_acq): Likewise.
81672         (__arch_exchange_and_add_body): Likewise.
81673         (__arch_add_body): Likewise.
81674         (atomic_add_negative): Likewise.
81675         (atomic_add_zero): Likewise.
81677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81679         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
81680         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
81682 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81684         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
81685         Check __x86_64__ instead of __WORDSIZE.
81687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81689         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
81691 2012-03-19  David S. Miller  <davem@davemloft.net>
81693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81695         * sysdeps/sparc/fpu/fenv_private.h: New file.
81696         * sysdeps/sparc/fpu/math_private.h: Use it.
81697         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
81698         Remove.
81699         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
81700         (libc_feholdexcept_setroundl): Remove.
81701         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
81702         Remove.
81703         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
81704         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
81706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81708         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
81709         int64_t instead of long int.
81710         (INSERT_WORDS64): Likewise.
81712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
81714         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
81715         _Unwind_GetCFA return to _Unwind_Ptr first.
81717 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
81719         [BZ #13629]
81720         * math/s_clog.c: Include <float.h>.
81721         (__clog): Scale large or subnormal inputs.
81722         * math/s_clogf.c: Likewise.
81723         * math/s_clogl.c: Likewise.
81724         * math/s_clog10.c: Include <float.h>.
81725         (M_LOG10_2): Define.
81726         (__clog10): Scale large or subnormal inputs.
81727         * math/s_clog10f.c: Likewise.
81728         * math/s_clog10l.c: Likewise.
81729         * math/libm-test.inc (clog_test): Add more tests.
81730         (clog10_test): Likewise.
81731         * sysdeps/i386/fpu/libm-test-ulps: Update.
81732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81734         [BZ #11451]
81735         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
81736         x and y.
81737         * math/libm-test.inc (atan2_test): Add another test.
81739         * Makerules (common-objdir-compile): Remove.
81740         * sysdeps/unix/Makefile (config-generated): Do not add
81741         $(unix-generated) to variable.
81742         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
81743         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
81744         Remove rule.
81745         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81746         Likewise.
81747         [generic bits/local_lim.h] (before-compile): Do not append to
81748         variable.
81749         [generic bits/local_lim.h] (common-generated): Likewise.
81750         [generic sys/param.h] (before-compile): Do not append to variable.
81751         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
81752         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
81753         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
81754         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
81755         include.
81756         [generic sys/param.h] (sys/param.h-includes): Remove variable.
81757         [generic sys/param.h] (sys/param.h-includes): Remove rule.
81758         [generic sys/param.h] ($(addprefix
81759         $(common-objpfx),$(sys/param.h-includes))): Likewise.
81760         [generic sys/param.h] (common-generated): Do not append to
81761         variable.
81762         [generic sys/param.h] (sysdep_headers): Likewise.
81763         [generic bits/errno.h] (before-compile): Do not append to
81764         variable.
81765         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
81766         rule.
81767         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
81768         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
81769         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
81770         [generic bits/errno.h] (common-generated): Do not append to
81771         variable.
81772         [generic bits/ioctls.h] (before-compile): Do not append to
81773         variable.
81774         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
81775         rule.
81776         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
81777         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
81778         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
81779         rule.
81780         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
81781         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
81782         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
81783         [generic bits/ioctls.h] (common-generated): Do not append to
81784         variable.
81785         [generic sys/syscall.h] (syscall.h): Remove variable.
81786         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
81787         rule.
81788         [generic sys/syscall.h] (before-compile): Do not append to
81789         variable.
81790         [generic sys/syscall.h] (common-generated): Likewise.
81791         * sysdeps/unix/errnos-tmpl.c: Remove file.
81792         * sysdeps/unix/errnos.awk: Likewise.
81793         * sysdeps/unix/ioctls-tmpl.c: Likewise.
81794         * sysdeps/unix/ioctls.awk: Likewise.
81795         * sysdeps/unix/mk-local_lim.c: Likewise.
81796         * sysdeps/unix/snarf-ioctls: Likewise.
81798 2012-03-19  Richard Henderson  <rth@twiddle.net>
81800         * sysdeps/i386/fpu/fenv_private.h: New file.
81801         * sysdeps/i386/fpu/math_private.h: Use it.
81802         (math_opt_barrier, math_force_eval): Remove.
81803         (libc_feholdexcept_setround_53bit): Remove.
81804         (libc_feupdateenv_53bit): Remove.
81805         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81806         (math_opt_barrier, math_force_eval): Remove.
81807         (libc_feholdexcept): Remove.
81808         (libc_feholdexcept_setround): Remove.
81809         (libc_fetestexcept, libc_fesetenv): Remove.
81810         (libc_feupdateenv_test): Remove.
81811         (libc_feupdateenv, libc_feholdsetround): Remove.
81812         (libc_feresetround): Remove.
81814         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
81815         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
81817         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
81818         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
81819         (libc_feupdateenv_testl): New.
81820         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
81821         (libc_feupdateenv_testf): New.
81822         (libc_feupdateenv): Use libc_feupdateenv_test.
81823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
81824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
81826         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
81827         (libc_feholdsetroundf, libc_feholdsetroundl): New.
81828         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
81829         (libc_feresetround_noex): New.
81830         (libc_feresetround_noexf): New.
81831         (libc_feresetround_noexl): New.
81832         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
81833         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
81834         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
81835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
81836         SET_RESTORE_ROUND.
81837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
81838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
81839         (__cos): Likewise.
81840         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
81841         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
81842         SET_RESTORE_ROUND_NOEX.
81843         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
81844         SET_RESTORE_ROUND_NOEXF.
81845         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
81846         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
81847         (libc_feholdsetroundf): New.
81848         (libc_feresetround, libc_feresetroundf): New.
81850         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
81851         (libc_feholdexcept_setround_53bit): Convert from macro to function.
81852         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
81854         * sysdeps/generic/math_private.h: Include <fenv.h>.
81855         (default_libc_feholdexcept): New.
81856         (default_libc_feholdexcept_setround): New.
81857         (default_libc_fesetenv, default_libc_feupdateenv): New.
81858         (libc_feholdexcept): Only define if undefined.
81859         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
81860         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
81861         (libc_feholdexcept_setroundl): Likewise.
81862         (libc_feholdexcept_setround_53bit): Likewise.
81863         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
81864         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
81865         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
81866         (libc_feupdateenv_53bit): Likewise.
81867         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
81868         (libc_feholdexcept): Convert from macro to inline function.
81869         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
81870         (libc_fesetenv, libc_feupdateenv): Likewise.
81872         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
81873         not previously defined.
81874         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
81875         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
81876         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
81877         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
81878         * sysdeps/ieee754/flt-32/math_private.h: New file.
81879         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
81880         math_private.h below SET_FLOAT_WORD.
81881         (__isnan, __isinf_ns, __finite): Remove.
81882         (__isnanf, __isinf_nsf, __finitef): Remove.
81884 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
81886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81888 2012-03-17  David S. Miller  <davem@davemloft.net>
81890         [BZ #6471]
81891         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
81892         for 2.16.
81894 2012-03-16  David S. Miller  <davem@davemloft.net>
81896         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
81897         warnings.
81899         [BZ #6471]
81900         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
81901         properly.
81902         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
81903         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81904         sysdep_routines when subdir is sysvipc.
81905         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
81906         __getshmlba helper.
81908         * sysdeps/sparc/fpu/libm-test/ulps: Update.
81910 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81912         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
81913         [__LP64__].
81915 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81917         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
81918         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
81919         (__lround): Renamed to ...
81920         (__llround): This.  Replace long int with long long int.
81921         Define lround functions as aliases of llround functions.
81922         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
81924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81926         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
81927         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
81928         adresses to uintptr_t.  Replace "long int" and "unsigned long
81929         int" with "greg_t" on va_arg.
81931 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
81933         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
81934         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
81936         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
81937         Move e_machine check before EI_CLASS check.  Handle x32
81938         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
81939         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
81940         SKIP_EM_IA_64 and include
81941         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
81943         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
81944         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
81945         (add_system_dir): New macro.
81947         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
81948         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
81950 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
81952         [BZ #2551]
81953         [BZ #2552]
81954         [BZ #2553]
81955         [BZ #2554]
81956         [BZ #2562]
81957         [BZ #2563]
81958         [BZ #2565]
81959         [BZ #2566]
81960         [BZ #2576]
81961         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
81962         (y0): Likewise.
81963         * math/w_j0f.c (j0f): Likewise.
81964         (y0f): Likewise.
81965         * math/w_j0l.c (__j0l): Likewise.
81966         (__y0l): Likewise.
81967         * math/w_j1.c (j1): Likewise.
81968         (y1): Likewise.
81969         * math/w_j1f.c (j1f): Likewise.
81970         (y1f): Likewise.
81971         * math/w_j1l.c (__j1l): Likewise.
81972         (__y1l): Likewise.
81973         * math/w_jn.c (jn): Likewise.
81974         (yn): Likewise.
81975         * math/w_jnf.c (jnf): Likewise.
81976         (ynf): Likewise.
81977         * math/w_jnl.c (__jnl): Likewise.
81978         (__ynl): Likewise.
81979         * math/libm-test.inc (j0_test): Add more tests.
81980         (j1_test): Likewise.
81981         (jn_test): Likewise.  Add trailing semicolon to existing test.
81982         (y0_test): Likewise.
81983         (y1_test): Likewise.
81984         * sysdeps/i386/fpu/libm-test-ulps: Update.
81985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81987         [BZ #13851]
81988         [BZ #13854]
81989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
81990         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
81991         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
81992         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
81993         (__tanl): Set errno for infinite argument.
81994         * sysdeps/i386/fpu/mptan.c: Remove.
81995         * sysdeps/i386/fpu/s_tan.S: Likewise.
81996         * sysdeps/i386/fpu/s_tanl.S: Likewise.
81997         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
81998         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
81999         * math/libm-test.inc (tan_test): Add more tests and enable more
82000         tests for double and long double.
82001         * sysdeps/i386/fpu/libm-test-ulps: Update.
82002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82004 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82006         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82007         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82009 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82011         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82012         * configure.in: Use it for both main tree and add-ons.
82013         * configure: Regenerated.
82015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82017         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82019 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82021         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82022         in comment.
82024         [BZ #13851]
82025         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82026         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82027         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82028         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82029         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82030         infinite argument.
82031         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82033         != 0 for prec == 2.
82034         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82035         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82036         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82037         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82038         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82039         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82040         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82041         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82042         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82043         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82044         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82045         * math/libm-test.inc (cos_test): Add more tests and enable more
82046         tests for long double.
82047         (sin_test): Likewise.
82048         (sincos_test): Likewise.
82049         * sysdeps/i386/fpu/libm-test-ulps: Update.
82050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82052 2012-03-16  David S. Miller  <davem@davemloft.net>
82054         * sysdeps/sparc/fpu/math_private.h: New file.
82056 2012-03-15  David S. Miller  <davem@davemloft.net>
82058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
82059         file.
82060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
82061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
82062         file.
82063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
82064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
82065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
82066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
82067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
82068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
82069         sysdep routines.
82070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82072         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
82073         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
82075         * sysdeps/sparc/sparc-ifunc.h: New file.
82076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
82077         sparc-ifunc.h
82078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
82079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
82080         Likewise.
82081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
82082         Likewise.
82083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
82084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
82085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
82087         Likewise.
82088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
82090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
82092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
82093         Likewise.
82094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
82095         Likewise.
82096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
82098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
82099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
82100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
82101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
82102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
82103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
82104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
82105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
82106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
82107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
82108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
82109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
82110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
82111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
82112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
82113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
82114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
82115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
82116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
82117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
82118         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
82119         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
82121 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82123         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
82124         scaling.
82125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82127 2012-03-15  Andreas Jaeger  <aj@suse.de>
82129         [BZ #13852]
82130         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
82131         ieee754/flt-32 implementation for sin, cos and sincos.
82132         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
82133         * sysdeps/i386/fpu/s_cosf.S: Likewise.
82134         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
82135         * sysdeps/i386/fpu/s_sinf.S: Likewise.
82136         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
82137         ieee754/flt-32 implementation for tan.
82139         * math/libm-test.inc (cos_test): Enable some large input tests for
82140         float as well
82141         (sin_test): Likewise.
82142         (sincos_test): Likewise.
82143         (tan_test): Add tests for large input.
82145         * sysdeps/i386/fpu/libm-test-ulps: Update.
82147 2012-03-15  Andreas Jaeger  <aj@suse.de>
82149         [BZ #13658]
82150         * math/libm-test.inc (cos_test): Add more test cases.
82151         (sin_test): Likewise.
82152         (sincos_test): Likewise.
82154 2012-03-15  Andreas Jaeger  <aj@suse.de>
82156         [BZ #13837]
82157         * math/libm-test.inc (cos_test): Add a test case for large input
82158         value.
82159         (sin_test): Likewise.
82160         (sincos_test): Likewise.
82162 2012-03-15  Andreas Jaeger  <aj@suse.de>
82163             Joseph Myers  <joseph@codesourcery.com>
82165         [BZ #13658]
82166         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
82167         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
82168         * sysdeps/i386/fpu/branred.c: Likewise.
82169         * sysdeps/i386/fpu/dosincos.c: Likewise.
82170         * sysdeps/i386/fpu/mpa.c: Likewise.
82171         * sysdeps/i386/fpu/s_cos.S: Likewise.
82172         * sysdeps/i386/fpu/s_sin.S: Likewise.
82173         * sysdeps/i386/fpu/s_sincos.S: Likewise.
82174         * sysdeps/i386/fpu/sincos32.c: Likewise.
82176         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
82177         Define.
82178         (libc_feupdateenv_53bit): Define.
82179         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
82180         Define.
82181         (libc_feupdateenv_53bit): Define.
82183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
82184         53 bit (without extend i386 double precision).
82186         * math/libm-test.inc (sincos_test): Add tests for large input.
82187         (sin): Likewise.
82188         (cos): Likewise.
82190         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
82192 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
82194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82196 2012-03-15  David S. Miller  <davem@davemloft.net>
82198         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
82199         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
82200         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
82201         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
82202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
82203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
82204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
82205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
82206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
82207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
82208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
82209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
82210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
82211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
82212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
82213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
82214         file.
82215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
82216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
82217         file.
82218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
82219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
82220         file.
82221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
82222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
82223         file.
82224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
82225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
82226         fmin/fmax sysdep routines.
82227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
82229 2012-03-14  David S. Miller  <davem@davemloft.net>
82231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
82232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
82233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
82234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
82235         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
82236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
82237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
82238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
82240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
82241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
82242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
82243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
82244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
82245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
82246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
82247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
82248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
82249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
82250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
82251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
82252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
82253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
82254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
82255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
82256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
82257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
82258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
82259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
82260         routines.
82261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
82262         file.
82263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
82264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
82265         file.
82266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
82267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
82268         file.
82269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
82270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
82271         file.
82272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
82273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
82274         file.
82275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
82276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
82277         file.
82278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
82279         file.
82280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
82281         file.
82282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
82283         file.
82284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
82285         New file.
82286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
82287         file.
82288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
82289         file.
82290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
82291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
82292         file.
82293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
82294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
82295         file.
82296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
82297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
82298         file.
82299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
82300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
82301         VIS3 routines.
82303         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
82304         New file.
82306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82308         * sysdeps/sparc/configure.in: New file.
82309         * sysdeps/sparc/configure: Generate.
82310         * configure.in (libc_cv_sparc_as_vis3): Substitute.
82311         * configure: Regenerate.
82312         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
82313         * config.make.in (have-as-vis3): New.
82314         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
82315         available use -Av9d instead of -Av9a.
82316         * sysdeps/sparc/sparc64/Makefile: Likewise.
82317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
82318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
82319         New file.
82320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
82321         file.
82322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
82323         New file.
82324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
82325         file.
82326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
82327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
82328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
82329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
82330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
82332         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
82333         fzeros/fnegs to load 0x80000000 into a float register instead of
82334         using the stack.
82335         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
82337 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82340         bits/syscall.h.
82341         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
82342         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
82343         ($(inst_includedir)/bits/syscall.h): Remove rule.
82344         ($(objpfx)bits/syscall.d): Include instead of
82345         $(objpfx)syscall-list.d.
82346         (generated): Change syscall-list.h and syscall-list.d to
82347         bits/syscall.h and bits/syscall.d.
82349 2012-03-14  Roland McGrath  <roland@hack.frob.com>
82351         [BZ #13846]
82352         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
82354 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
82356         [BZ #13841]
82357         * math/s_csqrt.c: Include <float.h>.
82358         (__csqrt): Scale large or subnormal inputs.
82359         * math/s_csqrtf.c: Likewise.
82360         * math/s_csqrtl.c: Likewise.
82361         * math/libm-test.inc (csqrt_test): Add more tests.
82362         * sysdeps/i386/fpu/libm-test-ulps: Update.
82363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82365         [BZ #13840]
82366         * math/libm-test.inc (hypot_test): Add more tests.
82368 2012-03-13  David S. Miller  <davem@davemloft.net>
82370         [BZ #13840]
82371         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
82372         double-precision for the calculation instead of scaling.
82374 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
82376         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
82377         manipulate bits before adding and subtracting TWO52[sx].
82378         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
82379         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
82380         Likewise.
82381         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
82383 2012-03-13  David S. Miller  <davem@davemloft.net>
82385         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
82386         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
82387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
82388         rtld-global-offsets.h
82389         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82391         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
82392         large parameters.
82394         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
82396         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
82397         'err' in the ifdef scope in which it is actually used.
82399         * nss/nss_db/db-init.c: Include string.h
82401 2012-03-12  David S. Miller  <davem@davemloft.net>
82403         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82404         masking out of the most significant byte of random value used.
82405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82406         Fix coding style in previous change.
82408         * sysdeps/unix/sysv/linux/kernel-features.h
82409         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
82410         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
82411         expression.
82412         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
82413         later.
82415 2012-03-11  David S. Miller  <davem@davemloft.net>
82417         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
82418         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
82419         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
82420         for 'resultvar' otherwise things get truncated on 64-bit.
82422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82423         Fix masking out of the most significant byte of random value used.
82425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82427 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
82429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82431 2012-03-09  David S. Miller  <davem@davemloft.net>
82433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
82434         variables with appropriate CPP guards.
82435         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
82436         from the frame pointer, not the stack pointer.  Correct layout
82437         comments.  Fix test on resulting framesize and the management of
82438         the outregs buffer for pltexit.  Preserve floating point return
82439         values across _dl_call_pltexit call.
82440         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
82441         framesize and the management of the outregs buffer for pltexit.
82442         Preserve floating point return values across _dl_call_pltexit
82443         call.
82444         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
82445         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
82446         (la_sparc64_gnu_pltexit): New functions.
82447         (print_exit): Fix format string for return register value.
82449 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
82451         * sunrpc/Makefile (others): Add rpcgen.
82452         ($(objpfx)rpcgen): Remove special build rule and dependency on
82453         libc.
82454         * sunrpc/rpcgen.c: New file.
82456 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
82458         [BZ #13673]
82459         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
82460         * stdio-common/bug-vfprintf-nargs.c: Likewise.
82461         * sysdeps/i386/crti.S: Likewise.
82462         * sysdeps/i386/crtn.S: Likewise.
82463         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
82464         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
82465         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
82466         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
82467         * sysdeps/sh/crti.S: Likewise.
82468         * sysdeps/sh/crtn.S: Likewise.
82469         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
82471         [BZ #13673]
82472         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
82473         with URL.
82474         * locale/programs/locfile-kw.gperf: Likewise.
82475         * locale/programs/charmap-kw.h: Regenerated.
82476         * locale/programs/locfile-kw.h: Likewise.
82478         [BZ #13673]
82479         * intl/plural.y: Replace FSF snail mail address with URL.
82480         * intl/plural.c: Regenerated.
82482 2012-03-09  Richard Henderson  <rth@twiddle.net>
82484         * include/math_private.h: Remove file.
82485         * math/math_private.h: Move file ...
82486         * sysdeps/generic/math_private.h: ... here.
82488         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
82489         * sysdeps/powerpc/fpu/math_private.h: Likewise.
82490         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82492         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
82493         and <math_private.h>.
82494         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82495         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82496         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82497         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82498         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82499         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
82500         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82502         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82503         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82505         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82506         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82508         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82509         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82510         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82511         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82512         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82513         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82515         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82516         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82518         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
82519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82520         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82524         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82526         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
82527         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82528         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82529         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82530         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82531         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82532         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82533         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82534         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
82535         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82536         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82537         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
82538         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
82539         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82540         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
82541         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
82542         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82543         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82544         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
82545         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
82546         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
82547         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82548         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
82549         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82550         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82551         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
82552         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
82553         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
82554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82555         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
82556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82557         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82558         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
82559         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82560         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82561         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82562         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
82563         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
82564         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
82565         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
82567         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82568         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
82569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
82570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
82571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82572         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
82573         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
82574         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
82575         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
82576         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
82577         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
82580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
82581         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
82582         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82583         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82584         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82585         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82586         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82587         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82588         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82589         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82590         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82591         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82592         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82593         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82594         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82595         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82596         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82597         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82598         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82599         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82600         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82601         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82602         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82603         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82604         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82605         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82606         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82607         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82608         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
82609         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82610         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82611         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82612         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82613         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82614         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82615         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82616         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82617         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
82618         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82619         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82621         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
82622         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82623         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
82624         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
82625         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82626         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82627         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
82628         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
82629         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82630         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82631         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82632         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
82633         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82634         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82635         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82636         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82637         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
82638         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
82639         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82640         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82641         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82642         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
82643         * sysdeps/ieee754/k_standard.c: Likewise.
82644         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82645         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82646         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82647         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82648         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82649         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82650         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82651         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82652         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82653         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82654         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82655         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82656         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82657         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82658         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82659         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82660         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
82661         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82662         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82663         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
82664         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
82665         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
82666         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82667         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82668         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
82669         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
82670         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82671         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82672         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82673         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82674         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
82675         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82676         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82677         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82678         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
82679         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82680         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82681         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
82682         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
82683         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82684         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
82685         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
82686         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
82687         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82688         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
82689         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
82690         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82691         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82692         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82693         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82694         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82695         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
82696         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82697         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
82698         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82699         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82700         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
82701         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
82702         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82703         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82705         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
82706         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82710         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82711         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82712         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82713         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82714         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82716         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82717         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82718         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82719         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
82721         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82723         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
82724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
82725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
82726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82727         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82728         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
82729         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82730         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82731         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
82732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
82735         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82736         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
82737         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
82738         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82739         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82740         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
82741         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
82742         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
82743         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
82744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82745         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82748         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
82749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82751         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
82752         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
82753         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82754         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82755         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82756         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82757         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82758         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82759         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82760         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82761         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82762         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82763         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82764         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82766         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82767         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82768         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82769         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
82770         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82771         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82772         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82773         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82774         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82775         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82776         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82777         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
82778         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82779         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82780         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
82781         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
82782         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82783         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
82784         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
82785         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82786         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
82787         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
82788         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82789         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82790         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82791         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82792         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82793         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
82794         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82795         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
82800         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82802         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82803         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
82804         * sysdeps/ieee754/s_lib_version.c: Likewise.
82805         * sysdeps/ieee754/s_matherr.c: Likewise.
82806         * sysdeps/ieee754/s_signgam.c: Likewise.
82807         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82808         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82809         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
82810         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
82811         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
82812         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
82813         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
82814         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
82815         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
82816         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
82817         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
82818         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
82819         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82820         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82821         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
82822         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
82823         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
82824         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
82825         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
82826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82829 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82831         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
82832         * sunrpc/rpc_main.c: Likewise.
82833         * sunrpc/rpc_svcout.c: Likewise.
82835 2012-03-09  David S. Miller  <davem@davemloft.net>
82837         * include/math_private.h: New file.
82839 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
82841         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
82842         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
82843         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
82844         from <bits/socket_type.h>.
82845         (enum __socket_type): Don't define here.
82846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
82847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82848         bits/socket_type.h.
82850         [BZ #13566]
82851         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
82852         checking __USE_GNU.
82854         * Makerules ($(inst_includedir)/%.h): New rule.
82855         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
82856         (install-others): Remove variable setting.
82857         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
82859 2012-03-08  Richard Henderson  <rth@twiddle.net>
82861         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
82862         from macro to inline function; merge with the
82863         !__LIBC_INTERNAL_MATH_INLINES version.
82864         (__ieee754_sqrtf): Likewise.
82866         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
82867         to inline function.
82868         (__rintf, __floor, __floorf): Likewise.
82870         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
82871         macro to inline function.
82872         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
82874         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
82875         not <math/math_private.h>.
82877 2012-03-08  David S. Miller  <davem@davemloft.net>
82879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
82880         copyright year.
82881         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
82883 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
82885         * resolv/gai_misc.c (handle_requests): Fix struct timespec
82886         normalization.
82887         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
82888         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
82890 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
82892         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
82893         be defined individually, they must be defined as a block.  Define
82894         S for printing a string instead of hidint the different by using a
82895         macro for adding the 'l'.
82896         * stdio-common/tst-fphex-wide.c: Adjust.
82898 2012-03-07  Marek Polacek  <polacek@redhat.com>
82900         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
82902 2012-03-08  Marek Polacek  <polacek@redhat.com>
82904         [BZ #13806]
82905         * stdio-common/Makefile (tests): Add tst-fphex-wide.
82906         * stdio-common/tst-fphex.c: Define a few macros to make the
82907         test reusable.  Use them.
82908         * stdio-common/tst-fphex-wide.c: New file.
82910 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
82912         [BZ #6911]
82913         * manual/macros.texi (gnusystems): New macro.
82914         (nongnusystems): Likewise.
82915         (gnulinuxhurdsystems): Likewise.
82916         (gnuhurdsystems): Likewise..
82917         (gnulinuxsystems): Likewise.
82918         * manual/charset.texi: Use new macros or @theglibc{} to refer to
82919         variants of the GNU system, not "GNU system".
82920         * manual/conf.texi: Likewise.
82921         * manual/errno.texi: Likewise.  Update example of errno macro
82922         expansion.
82923         * manual/filesys.texi: Likewise.
82924         (getumask): Document as specific to GNU/Hurd.
82925         * manual/install.texi: Likewise.  Reword some references to
82926         GNU/Linux.
82927         * manual/intro.texi: Likewise.
82928         * manual/io.texi: Likewise.
82929         (File Name Portability): Detail which constraints are inapplicable
82930         to all GNU systems and which are only inapplicable to GNU/Hurd.
82931         * manual/job.texi: Likewise.
82932         * manual/llio.texi: Likewise.
82933         (O_NOCTTY): Document as present on GNU/Linux.
82934         * manual/maint.texi: Likewise.
82935         * manual/memory.texi: Likewise.
82936         * manual/pattern.texi: Likewise.
82937         * manual/pipe.texi: Likewise.
82938         * manual/process.texi: Likewise.
82939         * manual/resource.texi: Likewise.
82940         (RUSAGE_CHILDREN): Remove statement about specifying a particular
82941         child on GNU/Hurd.
82942         * manual/setjmp.texi: Likewise.
82943         * manual/signal.texi: Likewise.
82944         * manual/startup.texi: Likewise.
82945         * manual/stdio.texi: Likewise.
82946         * manual/terminal.texi: Likewise.
82947         (ONLCR): Document as POSIX.
82948         (OXTABS): Document availability on GNU/Linux as XTABS.
82949         (ONOEOT): Document availability separately from other bits.
82950         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
82951         * manual/time.texi: Likewise.
82952         * manual/users.texi: Likewise.
82953         * INSTALL: Regenerated.
82954         * sysdeps/gnu/errlist.c: Regenerated.
82956         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
82957         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
82958         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
82959         puts.
82960         * configure: Regenerated.
82962 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
82964         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
82965         default includes instead of AC_HEADER_CHECK.
82966         * sysdeps/i386/configure: Regenerated.
82968         [BZ #10716]
82969         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
82970         * math/s_cacoshf.c (__cacoshf): Likewise.
82971         * math/s_cacoshl.c (__cacoshl): Likewise.
82972         * math/s_casinh.c (__casinh): Set signs of result from argument.
82973         * math/s_casinhf.c (__casinhf): Likewise.
82974         * math/s_casinhl.c (__casinhl): Likewise.
82975         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
82976         (casinh_test): Add more tests.
82977         * sysdeps/i386/fpu/libm-test-ulps: Update.
82978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82980 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
82982         * po/zh_TW.po: Update from translation team.
82984         * login/Makefile (distribute): Remove variable.
82985         * catgets/Makefile: Likewise.
82986         * mach/Makefile: Likewise.
82987         * malloc/Makefile: Likewise.
82988         * misc/Makefile: Likewise.
82989         * iconv/Makefile: Likewise.
82990         * nscd/Makefile: Likewise.
82991         * hurd/Makefile: Likewise.
82992         * manual/Makefile: Likewise.
82993         * locale/Makefile: Likewise.
82994         * intl/Makefile: Likewise.
82995         * conform/Makefile: Likewise.
82996         * nss/Makefile: Likewise.
82997         * time/Makefile: Likewise.
82998         * soft-fp/Makefile: Likewise.
82999         * dirent/Makefile: Likewise.
83000         * gmon/Makefile: Likewise.
83001         * po/Makefile: Likewise.
83002         * rt/Makefile: Likewise.
83003         * socket/Makefile: Likewise.
83004         * math/Makefile: Likewise.
83005         * signal/Makefile: Likewise.
83006         * debug/Makefile: Likewise.
83007         * elf/Makefile: Likewise.
83008         * timezone/Makefile: Likewise.
83009         * stdlib/Makefile: Likewise.
83010         * iconvdata/Makefile: Likewise.
83011         * sunrpc/Makefile: Likewise.
83012         * io/Makefile: Likewise.
83013         * argp/Makefile: Likewise.
83014         * inet/Makefile: Likewise.
83015         * hesiod/Makefile: Likewise.
83016         * grp/Makefile: Likewise.
83017         * csu/Makefile: Likewise.
83018         * wctype/Makefile: Likewise.
83019         * crypt/Makefile: Likewise.
83020         * libio/Makefile: Likewise.
83021         * string/Makefile: Likewise.
83022         * nis/Makefile: Likewise.
83023         * resolv/Makefile: Likewise.
83024         * stdio-common/Makefile: Likewise.
83025         * wcsmbs/Makefile: Likewise.
83026         * dlfcn/Makefile: Likewise.
83027         * posix/Makefile: Likewise.
83029         [BZ #6959]
83030         * timezone/Makefile: Don't install timezone files, just the programs
83031         and scripts.
83033 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83035         * nss/databases.def: Add missing gshadow entry.
83037         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83039 2012-03-06  Marek Polacek  <polacek@redhat.com>
83041         [BZ #13726]
83042         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83043         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83044         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83045         * stdio-common/tst-long-dbl-fphex.c: New file.
83047 2012-03-06  David S. Miller  <davem@davemloft.net>
83049         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83050         (set_obp_int): New function.
83051         (get_obp_int): New function.
83052         (__get_clockfreq_via_dev_openprom): Likewise.
83053         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
83054         Avoid unused variable warnings on 'val' and use builtin_expect.
83055         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
83056         __builtin_expect.
83057         (INLINE_CLONE_SYSCALL): Likewise.
83059 2012-03-05  David S. Miller  <davem@davemloft.net>
83061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83063 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
83065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
83068         only for |x| >= 40.
83069         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83071 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
83073         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
83074         Replace gettimeofday with __vdso_gettimeofday.
83076         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83077         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
83078         __vdso_clock_gettime and __vdso_getcpu.
83080         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
83081         time with __vdso_time.
83083 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83085         * manual/lang.texi (size_t): Note types to which size_t may be
83086         equivalent with the GNU C Library, but do not describe when
83087         differences between them are significant.
83089 2012-03-05  Andreas Jaeger  <aj@suse.de>
83091         * sysdeps/i386/fpu/libm-test-ulps: Update.
83093 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
83095         [BZ #3976]
83096         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
83097         (__ieee754_pow): Save and restore rounding mode and use
83098         round-to-nearest for main computations.
83099         * math/libm-test.inc (pow_test_tonearest): New function.
83100         (pow_test_towardzero): Likewise.
83101         (pow_test_downward): Likewise.
83102         (pow_test_upward): Likewise.
83103         (main): Call the new functions.
83104         * sysdeps/i386/fpu/libm-test-ulps: Update.
83105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83107         [BZ #3976]
83108         * math/libm-test.inc (cosh_test_tonearest): New function.
83109         (cosh_test_towardzero): Likewise.
83110         (cosh_test_downward): Likewise.
83111         (cosh_test_upward): Likewise.
83112         (sinh_test_tonearest): Likewise.
83113         (sinh_test_towardzero): Likewise.
83114         (sinh_test_downward): Likewise.
83115         (sinh_test_upward): Likewise.
83116         (main): Call the new functions.
83117         * sysdeps/i386/fpu/libm-test-ulps: Update.
83118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83120 2012-03-05  Tom de Vries  <tom@codesourcery.com>
83122         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
83123         default stack guard is set in last bytes.
83124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
83126 2012-03-05  Kees Cook  <keescook@chromium.org>
83128         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
83130         [BZ #13656]
83131         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
83132         possibly allocate from heap instead of stack.
83133         * stdio-common/bug-vfprintf-nargs.c: New file.
83134         * stdio-common/Makefile (tests): Add nargs overflow test.
83136 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
83138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83140 2012-03-03  Marek Polacek  <polacek@redhat.com>
83142         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
83143         * math/math_private.h: Likewise.
83144         * stdlib/tst-strtod.c: Likewise.
83145         * sysdeps/i386/i486/bits/atomic.h: Likewise.
83146         * sysdeps/x86_64/bits/atomic.h: Likewise.
83148 2012-03-02  David S. Miller  <davem@davemloft.net>
83150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
83151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
83152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
83154         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
83155         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
83156         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
83157         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
83159 2012-03-02  Roland McGrath  <roland@hack.frob.com>
83161         [BZ #13792]
83162         * manual/examples/README: New file, says the example source files
83163         can be used under GPL>=2.
83164         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83165         line containing just "*/".
83166         * manual/examples/add.c: Add copyright header (GPL>=2).
83167         * manual/examples/argp-ex1.c: Likewise.
83168         * manual/examples/argp-ex2.c: Likewise.
83169         * manual/examples/argp-ex3.c: Likewise.
83170         * manual/examples/argp-ex4.c: Likewise.
83171         * manual/examples/atexit.c: Likewise.
83172         * manual/examples/db.c: Likewise.
83173         * manual/examples/dir.c: Likewise.
83174         * manual/examples/dir2.c: Likewise.
83175         * manual/examples/execinfo.c: Likewise.
83176         * manual/examples/filecli.c: Likewise.
83177         * manual/examples/filesrv.c: Likewise.
83178         * manual/examples/fmtmsgexpl.c: Likewise.
83179         * manual/examples/genpass.c: Likewise.
83180         * manual/examples/inetcli.c: Likewise.
83181         * manual/examples/inetsrv.c: Likewise.
83182         * manual/examples/isockad.c: Likewise.
83183         * manual/examples/longopt.c: Likewise.
83184         * manual/examples/memopen.c: Likewise.
83185         * manual/examples/memstrm.c: Likewise.
83186         * manual/examples/mkfsock.c: Likewise.
83187         * manual/examples/mkisock.c: Likewise.
83188         * manual/examples/mygetpass.c: Likewise.
83189         * manual/examples/pipe.c: Likewise.
83190         * manual/examples/popen.c: Likewise.
83191         * manual/examples/rprintf.c: Likewise.
83192         * manual/examples/search.c: Likewise.
83193         * manual/examples/select.c: Likewise.
83194         * manual/examples/setjmp.c: Likewise.
83195         * manual/examples/sigh1.c: Likewise.
83196         * manual/examples/sigusr.c: Likewise.
83197         * manual/examples/stpcpy.c: Likewise.
83198         * manual/examples/strdupa.c: Likewise.
83199         * manual/examples/strftim.c: Likewise.
83200         * manual/examples/strncat.c: Likewise.
83201         * manual/examples/subopt.c: Likewise.
83202         * manual/examples/swapcontext.c: Likewise.
83203         * manual/examples/termios.c: Likewise.
83204         * manual/examples/testopt.c: Likewise.
83205         * manual/examples/testpass.c: Likewise.
83206         * manual/examples/timeval_subtract.c: Likewise.
83208         [BZ #13792]
83209         * manual/time.texi (Elapsed Time): Move timeval_subtract example
83210         function to ...
83211         * manual/timeval_subtract.c.texi: ... here, new file.
83213 2012-03-02  David S. Miller  <davem@davemloft.net>
83215         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
83217 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
83219         [BZ #3976]
83220         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
83221         (__sin): Save and restore rounding mode and use round-to-nearest
83222         for all computations.
83223         (__cos): Save and restore rounding mode and use round-to-nearest
83224         for all computations.
83225         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
83226         <fenv.h>.
83227         (tan): Save and restore rounding mode and use round-to-nearest for
83228         all computations.
83229         * math/libm-test.inc (cos_test_tonearest): New function.
83230         (cos_test_towardzero): Likewise.
83231         (cos_test_downward): Likewise.
83232         (cos_test_upward): Likewise.
83233         (sin_test_tonearest): Likewise.
83234         (sin_test_towardzero): Likewise.
83235         (sin_test_downward): Likewise.
83236         (sin_test_upward): Likewise.
83237         (tan_test_tonearest): Likewise.
83238         (tan_test_towardzero): Likewise.
83239         (tan_test_downward): Likewise.
83240         (tan_test_upward): Likewise.
83241         (main): Call the new functions.
83242         * sysdeps/i386/fpu/libm-test-ulps: Update.
83243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83245         [BZ #10135]
83246         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
83247         small n, then large n, before computing and testing k+n.
83248         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
83249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
83250         Likewise.
83251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
83252         Likewise.
83253         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
83254         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
83255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
83256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
83257         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
83258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83259         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
83260         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
83261         * math/libm-test.inc (scalbn_test): Add more tests.
83262         (scalbln_test): Likewise.
83264         * manual/filesys.texi (mode_t): Describe constraints on size and
83265         signedness, not exact equivalence to a particular type.
83266         (ino_t): Likewise.
83267         (ino64_t): Likewise.
83268         (dev_t): Likewise.
83269         (nlink_t): Likewise.
83270         (blkcnt_t): Likewise.
83271         (blkcnt64_t): Likewise.
83272         * manual/llio.texi (off_t): Likewise.
83274         [BZ #3976]
83275         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
83276         (__ieee754_exp): Save and restore rounding mode and use
83277         round-to-nearest for all computations.
83278         * math/libm-test.inc (exp_test_tonearest): New function.
83279         (exp_test_towardzero): Likewise.
83280         (exp_test_downward): Likewise.
83281         (exp_test_upward): Likewise.
83282         (main): Call the new functions.
83283         * sysdeps/i386/fpu/libm-test-ulps: Update.
83284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83286 2012-03-01  Chris Demetriou  <cgd@google.com>
83288         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
83289         have predictable order.
83291 2012-03-01  David S. Miller  <davem@davemloft.net>
83293         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
83295         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
83296         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
83297         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
83298         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
83300         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
83301         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
83302         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
83303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
83304         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
83305         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
83306         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
83307         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
83308         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
83310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83312         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
83313         * sysdeps/sparc/fpu/libm-test-ulps: to here.
83314         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
83316         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
83317         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83318         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83319         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
83320         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
83321         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
83322         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
83323         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83324         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83325         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
83326         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
83327         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83330         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83332         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
83333         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
83334         * sysdeps/sparc/elf/configure: Regenerated.
83336 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
83338         * configure.in (AS, LD): Require binutils 2.20 or later.
83339         * configure: Regenerated.
83340         * manual/install.texi (Tools for Compilation): Give binutils 2.20
83341         as required minimum version.
83342         * INSTALL: Regenerated.
83344         [BZ #2541]
83345         [BZ #4108]
83346         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
83347         before squaring exponent.
83348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
83349         bottom long double and 27 bits of top long double before squaring
83350         exponent.
83351         * math/libm-test.inc (erfc_test): Add more tests.
83352         * sysdeps/i386/fpu/libm-test-ulps: Update.
83353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83356 2012-03-01  Kai Tietz  <ktietz@redhat.com>
83358         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
83359         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
83360         containing bit-fields.
83361         * soft-fp/extended.h (_FP_UNION_E): Likewise.
83362         * soft-fp/single.h (_FP_UNION_S): Likewise.
83363         * soft-fp/double.h (_FP_UNION_D): Likewise.
83365 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83367         [BZ #13786]
83368         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
83369         not include ../strcmp.S.
83370         [USE_AS_STRNCASECMP_L]: Likewise.
83371         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
83372         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
83373         * sysdeps/i386/i686/multiarch/strncase_l-c.c
83374         (__strncasecmp_l_ia32): Define as alias to
83375         __strncasecmp_l_nonascii.
83377         [BZ #5794]
83378         * math/libm-test.inc (expm1_test): Add test for bug 5794.
83379         * sysdeps/i386/fpu/libm-test-ulps: Update.
83380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83382         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
83383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83385 2012-02-29  Jeff Law  <law@redhat.com>
83387         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
83388         out of bounds read.
83390 2012-02-29  Marek Polacek  <polacek@redhat.com>
83392         [BZ #13706]
83393         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
83394         * elf/Makefile: Add rules to run tst-unused-dep.out.
83396 2012-02-28  David S. Miller  <davem@davemloft.net>
83398         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
83399         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
83400         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
83401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
83402         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
83403         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
83405 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
83407         * math/libm-test.inc (llround_test): Move one test from
83408         lround_test.  Use TEST_f_L in moved test.
83409         (lround_test): Move misplaced test to llround_test.  Add testcase
83410         from bug 2561.
83412 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
83414         * sysdeps/x86_64/fpu/e_expf.S: New file.
83415         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
83417 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
83419         [BZ #13637]
83420         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
83421         of remain_len that may cause incomplete multi-byte character and
83422         false match.
83423         * posix/bug-regex33.c: New file.
83424         * posix/Makefile (tests): Add bug-regex33.
83426 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
83428         * manual/macros.texi: New file.
83429         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
83430         * manual/libc.texinfo: Include macros.texi.
83431         * manual/creatute.texi: Likewise.
83432         * manual/install.texi: Likewise.
83433         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
83434         @glibcadj{} in references to the GNU C Library.
83435         * manual/charset.texi: Likewise.
83436         * manual/conf.texi: Likewise.
83437         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
83438         when not using those macros.
83439         * manual/creature.texi: Likewise.
83440         * manual/crypt.texi: Likewise.
83441         * manual/errno.texi: Likewise.
83442         * manual/filesys.texi: Likewise.
83443         * manual/header.texi: Likewise.
83444         * manual/install.texi: Likewise.
83445         * manual/intro.texi: Likewise.
83446         * manual/io.texi: Likewise.
83447         * manual/job.texi: Likewise.
83448         * manual/lang.texi: Likewise.
83449         * manual/libc.texiinfo: Likewise.
83450         * manual/llio.texi: Likewise.
83451         * manual/locale.texi: Likewise.
83452         * manual/maint.texi: Likewise.
83453         * manual/math.texi: Likewise.
83454         * manual/memory.texi: Likewise.
83455         * manual/message.texi: Likewise.
83456         * manual/nss.texi: Likewise.
83457         * manual/pattern.texi: Likewise.
83458         * manual/process.texi: Likewise.
83459         * manual/resource.texi: Likewise.
83460         * manual/search.texi: Likewise.
83461         * manual/setjmp.texi: Likewise.
83462         * manual/signal.texi: Likewise.
83463         * manual/socket.texi: Likewise.
83464         * manual/startup.texi: Likewise.
83465         * manual/stdio.texi: Likewise.
83466         * manual/string.texi: Likewise.
83467         * manual/sysinfo.texi: Likewise.
83468         * manual/syslog.texi: Likewise.
83469         * manual/terminal.texi: Likewise.
83470         * manual/time.texi: Likewise.
83471         * manual/users.texi: Likewise.
83472         * INSTALL: Regenerated.
83473         * NOTES: Regenerated.
83474         * sysdeps/gnu/errlist.c: Regenerated.
83476 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
83478         * include/dirent.h: Include <dirstream.h> before
83479         <dirent/dirent.h>.
83481 2012-02-28  David S. Miller  <davem@davemloft.net>
83483         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
83484         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
83485         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
83486         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
83488 2012-02-27  David S. Miller  <davem@davemloft.net>
83490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
83491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
83492         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
83493         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
83495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
83496         frame pointer instead of stack pointer relative arg slot.
83497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83498         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83499         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83501 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
83503         [BZ #3992]
83504         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
83506 2012-02-27  David S. Miller  <davem@davemloft.net>
83508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
83509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
83510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
83512         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
83513         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
83514         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
83515         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
83517 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83519         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
83520         later.  Allow versions 5-9.
83521         * configure: Regenerated.
83522         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
83523         required minimum version and 4.6 as recommended version.  Do not
83524         mention bugs in GCC 2.7 and 2.8.
83525         * INSTALL: Regenerated.
83527 2012-02-27  David S. Miller  <davem@davemloft.net>
83529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
83530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
83531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
83532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
83533         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
83534         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
83535         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
83536         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
83538         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
83539         manipulate bits before adding and subtracting TWO112[sx].
83540         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
83542 2012-02-27  Roland McGrath  <roland@hack.frob.com>
83544         [BZ #13775]
83545         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
83546         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
83547         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
83548         being in POSIX, because they are in 1003.1-2008.
83550         * rt/tst-aio.c: Include <fcntl.h>.
83551         * rt/tst-aio7.c: Likewise.
83552         * rt/tst-aio64.c: Likewise.
83554         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
83556 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
83558         * manual/install.texi (--with-headers): Describe headers as
83559         interface headers, not private headers.
83560         (Specific advice for GNU/Linux systems): Describe use of headers
83561         from "make headers_install", not private headers from older
83562         kernels.
83563         * INSTALL: Regenerated.
83564         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
83565         Change to 2.6.19.
83566         * sysdeps/unix/sysv/linux/configure: Regenerated.
83568         * manual/llio.texi (fclean): Remove documentation.
83570         * manual/Makefile (libc-texi-generated): New variable.  Include
83571         version.texi.
83572         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
83573         $(libc-texi-generated), not duplicated list of files.
83574         (version.texi, stamp-version): New rules.
83575         (realclean): Remove $(libc-texi-generated), not individual files
83576         from that list.  Do not remove dir-add.texinfo.
83577         * manual/libc.texinfo: Comment out uses of edition numbers and
83578         references to printed manual.  Remove last-updated dates.
83579         (EDITION): Comment out.
83580         (ISBN): Likewise.
83581         (VERSION, UPDATED): Remove.
83582         (version.texi): Include.
83584 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
83586         * sysdeps/posix/spawni.c: Include <signal.h>.
83587         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
83588         * sysdeps/pthread/aio_fsync.c: Likewise.
83590 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
83592         * conform/Makefile (tests): Run only when not cross-compiling and
83593         when fast-check is not defined.
83595         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
83596         * conform/data/limits.h-data: Fixes for POSIX2008.
83597         * conform/run-conformtest.sh: Run all tests.
83598         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
83599         headers.
83600         * include/bits/dlfcn.h: Likewise.
83601         * include/langinfo.h: Likewise.
83602         * include/monetary.h: Likewise.
83603         * include/sys/poll.h: Likewise.
83605         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
83606         for __USE_GNU.
83607         * posix/spawn.h: Define __need_sigset_t.
83608         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
83609         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
83610         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
83611         to get sigevent_t only.
83612         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
83613         only for __USE_GNU.
83614         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83615         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83616         process_vm_writev only for __USE_GNU.
83617         * termios/termios.h: Declare tcgetsid also for POSIX2008.
83619         * conform/Makefile: For now ignore errors from run-conformtest.
83620         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
83621         POSIX to avoid namespace pollution.  Don't prepend headers.
83622         * conform/data/aio.h-data: Fixes for POSIX testing.
83623         * conform/data/fcntl.h-data: Likewise.
83624         * conform/data/glob.h-data: Likewise.
83625         * conform/data/grp.h-data: Likewise.
83626         * conform/data/pthread.h-data: Likewise.
83627         * conform/data/pwd.h-data: Likewise.
83628         * conform/data/signal.h-data: Likewise.
83629         * conform/data/spawn.h-data: Likewise.
83630         * conform/data/stdio.h-data: Likewise.
83631         * conform/data/stdlib.h-data: Likewise.
83632         * conform/data/stropts.h-data: Likewise.
83633         * conform/data/sys/mman.h-data: Likewise.
83634         * conform/data/sys/stat.h-data: Likewise.
83635         * conform/data/sys/types.h-data: Likewise.
83636         * conform/data/sys/wait.h-data: Likewise.
83637         * conform/data/time.h-data: Likewise.
83638         * conform/data/unistd.h-data: Likewise.
83639         * conform/data/utime.h-data: Likewise.
83641         * io/sys/stat.h: fchmod was always in POSIX.
83642         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
83643         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
83644         * rt/aio.h: Define __need_timespec before including <time.h>.
83645         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
83646         struct.  Add forward declaration of pthread_attr_t and use it in
83647         sigevent.
83648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83650         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
83651         always remove CLK_TCK definition.
83653 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
83655         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
83657 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
83659         * conform/run-conformtest.sh: New file.
83660         * conform/Makefile: Run run-conformtest for tests.
83661         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
83662         support.
83664         * conform/data/uchar.h-data: New file.
83665         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
83666         * conform/data/arpa/inet.h-data: Likewise.
83667         * conform/data/assert.h-data: Likewise.
83668         * conform/data/complex.h-data: Likewise.
83669         * conform/data/cpio.h-data: Likewise.
83670         * conform/data/ctype.h-data: Likewise.
83671         * conform/data/dirent.h-data: Likewise.
83672         * conform/data/dlfcn.h-data: Likewise.
83673         * conform/data/errno.h-data: Likewise.
83674         * conform/data/fcntl.h-data: Likewise.
83675         * conform/data/float.h-data: Likewise.
83676         * conform/data/fmtmsg.h-data: Likewise.
83677         * conform/data/fnmatch.h-data: Likewise.
83678         * conform/data/ftw.h-data: Likewise.
83679         * conform/data/glob.h-data: Likewise.
83680         * conform/data/grp.h-data: Likewise.
83681         * conform/data/iconv.h-data: Likewise.
83682         * conform/data/inttypes.h-data: Likewise.
83683         * conform/data/langinfo.h-data: Likewise.
83684         * conform/data/libgen.h-data: Likewise.
83685         * conform/data/limits.h-data: Likewise.
83686         * conform/data/locale.h-data: Likewise.
83687         * conform/data/math.h-data: Likewise.
83688         * conform/data/monetary.h-data: Likewise.
83689         * conform/data/mqueue.h-data: Likewise.
83690         * conform/data/ndbm.h-data: Likewise.
83691         * conform/data/net/if.h-data: Likewise.
83692         * conform/data/netdb.h-data: Likewise.
83693         * conform/data/netinet/in.h-data: Likewise.
83694         * conform/data/nl_types.h-data: Likewise.
83695         * conform/data/poll.h-data: Likewise.
83696         * conform/data/pthread.h-data: Likewise.
83697         * conform/data/pwd.h-data: Likewise.
83698         * conform/data/regex.h-data: Likewise.
83699         * conform/data/sched.h-data: Likewise.
83700         * conform/data/search.h-data: Likewise.
83701         * conform/data/semaphore.h-data: Likewise.
83702         * conform/data/setjmp.h-data: Likewise.
83703         * conform/data/signal.h-data: Likewise.
83704         * conform/data/spawn.h-data: Likewise.
83705         * conform/data/stdarg.h-data: Likewise.
83706         * conform/data/stdio.h-data: Likewise.
83707         * conform/data/stdlib.h-data: Likewise.
83708         * conform/data/string.h-data: Likewise.
83709         * conform/data/strings.h-data: Likewise.
83710         * conform/data/stropts.h-data: Likewise.
83711         * conform/data/sys/ipc.h-data: Likewise.
83712         * conform/data/sys/mman.h-data: Likewise.
83713         * conform/data/sys/msg.h-data: Likewise.
83714         * conform/data/sys/resource.h-data: Likewise.
83715         * conform/data/sys/select.h-data: Likewise.
83716         * conform/data/sys/sem.h-data: Likewise.
83717         * conform/data/sys/shm.h-data: Likewise.
83718         * conform/data/sys/socket.h-data: Likewise.
83719         * conform/data/sys/stat.h-data: Likewise.
83720         * conform/data/sys/statvfs.h-data: Likewise.
83721         * conform/data/sys/time.h-data: Likewise.
83722         * conform/data/sys/timeb.h-data: Likewise.
83723         * conform/data/sys/times.h-data: Likewise.
83724         * conform/data/sys/types.h-data: Likewise.
83725         * conform/data/sys/uio.h-data: Likewise.
83726         * conform/data/sys/un.h-data: Likewise.
83727         * conform/data/sys/utsname.h-data: Likewise.
83728         * conform/data/sys/wait.h-data: Likewise.
83729         * conform/data/syslog.h-data: Likewise.
83730         * conform/data/tar.h-data: Likewise.
83731         * conform/data/termios.h-data: Likewise.
83732         * conform/data/utime.h-data: Likewise.
83733         * conform/data/utmpx.h-data: Likewise.
83734         * conform/data/varargs.h-data: Likewise.
83735         * conform/data/wchar.h-data: Likewise.
83736         * conform/data/wctype.h-data: Likewise.
83737         * conform/data/wordexp.h-data: Likewise.
83739         * include/stropts.h: New file.
83740         * include/uchar.h: New file.
83741         * include/aio.h: Changes to allow conformtest.pl to use the headers.
83742         * include/assert.h: Likewise.
83743         * include/ctype.h: Likewise.
83744         * include/dirent.h: Likewise.
83745         * include/dlfcn.h: Likewise.
83746         * include/fcntl.h: Likewise.
83747         * include/fnmatch.h: Likewise.
83748         * include/glob.h: Likewise.
83749         * include/grp.h: Likewise.
83750         * include/libio.h: Likewise.
83751         * include/locale.h: Likewise.
83752         * include/math.h: Likewise.
83753         * include/net/if.h: Likewise.
83754         * include/netdb.h: Likewise.
83755         * include/netinet/in.h: Likewise.
83756         * include/pthread.h: Likewise.
83757         * include/pwd.h: Likewise.
83758         * include/regex.h: Likewise.
83759         * include/sched.h: Likewise.
83760         * include/search.h: Likewise.
83761         * include/setjmp.h: Likewise.
83762         * include/signal.h: Likewise.
83763         * include/stdio.h: Likewise.
83764         * include/stdlib.h: Likewise.
83765         * include/string.h: Likewise.
83766         * include/sys/cdefs.h: Likewise.
83767         * include/sys/mman.h: Likewise.
83768         * include/sys/msg.h: Likewise.
83769         * include/sys/resource.h: Likewise.
83770         * include/sys/select.h: Likewise.
83771         * include/sys/socket.h: Likewise.
83772         * include/sys/stat.h: Likewise.
83773         * include/sys/statvfs.h: Likewise.
83774         * include/sys/time.h: Likewise.
83775         * include/sys/times.h: Likewise.
83776         * include/sys/uio.h: Likewise.
83777         * include/sys/utsname.h: Likewise.
83778         * include/sys/wait.h: Likewise.
83779         * include/termios.h: Likewise.
83780         * include/time.h: Likewise.
83781         * include/ulimit.h: Likewise.
83782         * include/unistd.h: Likewise.
83783         * include/utime.h: Likewise.
83784         * include/wchar.h: Likewise.
83785         * include/wctype.h: Likewise.
83786         * include/wordexp.h: Likewise.
83788         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
83790         * time/time.h: TIME_UTC must be a macro.
83791         Make timespec_get available for ISO C11 only as well.
83793 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
83795         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
83796         Reported by Peng Haitao <penght@cn.fujitsu.com>.
83798 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83800         * configure.in: Use -o not -a in test for unsupported multi-arch.
83802 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83804         * manual/texinfo.tex: Update to version 2012-01-19.16.
83806 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
83808         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
83810 2012-02-24  Roland McGrath  <roland@hack.frob.com>
83812         [BZ #13738]
83813         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
83814         * manual/fdl-1.3.texi: New file.
83815         * manual/fdl-1.1.texi: File removed.
83817         [BZ #13738]
83818         * manual/libc.texinfo (FDL_VERSION): New @set.
83819         Use it for mention of FDL in cover text.
83820         (Documentation License): Use it in @include file name.
83822 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83823             Roland McGrath  <roland@hack.frob.com>
83825         [BZ #5461]
83826         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
83827         (not LONG_LONG_MAX and LONG_LONG_MIN.
83828         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
83829         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
83830         name.
83831         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
83833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83835         [BZ #2547]
83836         [BZ #11365]
83837         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
83838         manipulate bits before adding and subtracting TWO23[sx].
83839         * math/libm-test.inc (nearbyint_test): Add more tests.
83841 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83843         [BZ #2548]
83844         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
83845         bits before adding and subtracting TWO23[sx].
83846         * math/libm-test.inc (rint_test): Add more tests.
83847         (rint_test_tonearest): Likewise.
83848         (rint_test_towardzero): Likewise.
83849         (rint_test_downward): Likewise.
83850         (rint_test_upward: Likewise.
83852 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83854         [BZ #10110]
83855         * include/stdc-predef.h: New file.  Extracted from features.h.
83856         * include/features.h: Include stdc-predef.h.
83857         * Makefile (headers): Add stdc-predef.h.
83858         * CONFORMANCE (Compiler limitations): Update.
83860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
83862         * manual/libc.texinfo (VERSION, UPDATED): Revert.
83864 2012-02-21  David S. Miller  <davem@davemloft.net>
83866         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
83867         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83869 2012-02-20  David S. Miller  <davem@davemloft.net>
83871         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
83872         using a normal save/restore sequence, rather than allocating a
83873         dummy stack frame just to store a frame pointer and restore.
83874         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83876 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83878         * manual/install.texi: Fix stray word in line-wrapped comment.
83880 2012-02-20  David S. Miller  <davem@davemloft.net>
83882         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
83883         both binutils and gcc support GOTDATA.
83885         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
83886         "rd %pc" in the PIC register setup sequences.
83888         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
83889         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
83890         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
83891         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
83892         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83894         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83895         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
83896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
83897         (SYSCALL_ERROR_HANDLER): Likewise.
83898         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
83899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
83900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
83901         (SYSCALL_ERROR_HANDLER): Likewise.
83903         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
83904         (HAVE_GCC_GOTDATA): New.
83905         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
83906         relocation support in both binutils and gcc.
83907         * sysdeps/sparc/elf/configure: Regenerate.
83909         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
83910         * sysdeps/sparc/sparc32/elf/configure: Delete.
83911         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
83912         * sysdeps/sparc/sparc64/elf/configure: Delete.
83913         * sysdeps/sparc/elf/configure.in: New file.
83914         * sysdeps/sparc/elf/configure: Generate.
83916         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
83917         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
83918         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83919         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
83920         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
83922 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83924         * manual/install.texi: Do not mention specific glibc version
83925         numbers.
83926         * manual/libc.texinfo (VERSION, UPDATED): Update.
83927         (@copying): Use @copyright{} and range of years.
83929 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
83931         [BZ #13695]
83932         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
83933         [crti.S not in sysdirs] (generated): Do not append.
83934         [crti.S not in sysdirs] (omit-deps): Likewise.
83935         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
83936         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
83937         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
83938         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
83939         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
83940         Likewise.
83941         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
83942         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
83943         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
83944         * csu/defs.awk: Remove file.
83945         * sysdeps/generic/initfini.c: Likewise.
83946         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
83947         variable.
83948         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
83949         Likewise.
83951 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83953         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
83954         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
83955         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
83956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
83957         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83958         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
83959         <bits/epoll.h>.
83960         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
83961         (__EPOLL_PACKED): Define to empty if not defined by
83962         <bits/epoll.h>.
83963         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
83964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83965         bits/epoll.h.
83967 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83969         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
83970         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
83971         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
83972         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
83973         <bits/timerfd.h>.
83974         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
83975         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83976         bits/timerfd.h.
83978 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
83980         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
83981         in C locale.
83982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
83983         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
83984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
83985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83987 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
83989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
83992 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
83994         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
83995         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
83996         defined.
83997         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
83998         Likewise.
83999         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84000         entry for 2.16.
84002 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84004         * math/w_acos.c: Use non-signaling floating-point comparisons.
84005         * math/w_acosf.c: Likewise.
84006         * math/w_acosh.c: Likewise.
84007         * math/w_acoshf.c: Likewise.
84008         * math/w_acoshl.c: Likewise.
84009         * math/w_acosl.c: Likewise.
84010         * math/w_asin.c: Likewise.
84011         * math/w_asinf.c: Likewise.
84012         * math/w_asinl.c: Likewise.
84013         * math/w_atanh.c: Likewise.
84014         * math/w_atanhf.c: Likewise.
84015         * math/w_atanhl.c: Likewise.
84016         * math/w_exp2.c: Likewise.
84017         * math/w_exp2f.c: Likewise.
84018         * math/w_exp2l.c: Likewise.
84019         * math/w_j0.c: Likewise.
84020         * math/w_j0f.c: Likewise.
84021         * math/w_j0l.c: Likewise.
84022         * math/w_j1.c: Likewise.
84023         * math/w_j1f.c: Likewise.
84024         * math/w_j1l.c: Likewise.
84025         * math/w_jn.c: Likewise.
84026         * math/w_jnf.c: Likewise.
84027         * math/w_log.c: Likewise.
84028         * math/w_log10.c: Likewise.
84029         * math/w_log10f.c: Likewise.
84030         * math/w_log10l.c: Likewise.
84031         * math/w_log2.c: Likewise.
84032         * math/w_log2f.c: Likewise.
84033         * math/w_log2l.c: Likewise.
84034         * math/w_logf.c: Likewise.
84035         * math/w_logl.c: Likewise.
84036         * math/w_sqrt.c: Likewise.
84037         * math/w_sqrtf.c: Likewise.
84038         * math/w_sqrtl.c: Likewise.
84039         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84040         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84041         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84042         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84043         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84045 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84047         [BZ #9739]
84048         * manual/string.texi (strnlen): Use correct parameter name in
84049         equivalent expression.
84051 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84053         [BZ #11174]
84054         * manual/users.texi (seteuid): Consistently use neweuid for
84055         argument name.
84057 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84059         [BZ #13704]
84060         * manual/nss.texi (Services in the NSS configuration): Correct
84061         list of services in example configuration file.
84063 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
84065         [BZ #11322]
84066         * manual/arith.texi: Remove statements about negative zero
84067         behaving identically to zero.
84069 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84071         [BZ #5993]
84072         * manual/install.texi: Do not document upgrading from libc5.
84074 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
84076         [BZ #4596]
84077         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
84079 2012-02-18  David S. Miller  <davem@davemloft.net>
84081         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
84082         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
84083         %o7 across the call.
84084         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
84085         instead.
84086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
84087         SETUP_PIC_REG_LEAF.
84088         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84089         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
84090         * sysdeps/sparc/crtn.S: Likewise.
84092 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
84094         * aout/Makefile: Remove.
84096 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
84098         [BZ #13058]
84099         * manual/examples/argp-ex1.c (main): Format definition in GNU
84100         style.
84101         * manual/examples/argp-ex2.c (main): Likewise.
84102         * manual/examples/argp-ex3.c (main): Likewise.
84103         * manual/examples/argp-ex4.c (main): Likewise.
84104         * manual/examples/longopt.c (main): Use new-style prototype
84105         definition.
84106         * manual/examples/strncat.c (main): Specify return type and use
84107         (void) for arguments.
84108         * manual/examples/subopt.c (main): Use char **argv argument.
84110 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84112         [BZ #5077]
84113         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
84114         rounding modes.
84116 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
84118         [BZ #6907]
84119         * manual/string.texi (strchr): Change when strchrnul is
84120         recommended.
84122 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
84124         [BZ #174]
84125         * manual/locale.texi (setlocale): Document LOCPATH.
84127 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84129         [BZ #10210]
84130         * manual/process.texi (execle): Move @dots{} before last argument.
84132 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
84134         [BZ #12047]
84135         * manual/charset.texi (Generic Charset Conversion): Fix typo
84136         (LC_TYPE -> LC_CTYPE).
84138 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
84140         [BZ #5805]
84141         * manual/arith.texi (scalbn): Use @var{} on parameter names.
84142         (scalbnf): Likewise.
84143         (scalbnl): Likewise.
84144         (scalbln): Likewise.
84145         (scalblnf): Likewise.
84146         (scalblnl): Likewise.
84147         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
84148         (vwarnx): Likewise.
84149         (verr): Likewise.
84150         (verrx): Likewise.
84151         * manual/filesys.texi (telldir): Use braces around return type.
84152         * manual/llio.texi (mmap): Add space after comma.
84153         (mmap64): Likewise.
84154         * manual/math.texi (jn): Use @var{} on parameter names.
84155         (jnf): Likewise.
84156         (jnl): Likewise.
84157         (yn): Likewise.
84158         (ynf): Likewise.
84159         (ynl): Likewise.
84160         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
84161         line.
84162         * manual/resource.texi (ulimit): Use @dots{} instead of literal
84163         "...".
84164         (sched_get_priority_min): Remove semicolon on @deftypefun line.
84165         (sched_get_priority_max): Likewise.
84166         * manual/signal.texi (sigvec): Add space after comma.
84167         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
84168         names.
84169         (if_indextoname): Likewise.
84170         (if_freenameindex): Likewise.
84171         (sendto): Use ',' instead of '.' in prototype.
84172         * manual/startup.texi (syscall): Use @dots{} instead of literal
84173         "...".
84174         * manual/stdio.texi (__fpending): Separate initial words of
84175         paragraph from @deftypefun line.
84176         * manual/syslog.texi (syslog): Use @dots{} instead of literal
84177         "...".
84178         (vsyslog): Use @var{} on parameter names.
84179         * manual/terminal.texi (stty): Use @var{} on parameter names.
84180         * manual/users.texi (getutmp): Use @var{} on parameter names.
84181         (getutmpx): Likewise.
84183 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84185         [BZ #6884]
84186         * manual/stdio.texi (fopen): Fix typos in description of
84187         ",ccs=STRING".
84189 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
84191         [BZ #4026]
84192         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
84193         get clock_id definition.
84195 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
84197         [BZ #4822]
84198         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
84199         (madvise): Cast every argument to void on its own.
84201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84203         [BZ #9902]
84204         * manual/startup.texi (Exit Status): Fix typo.
84206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
84208         [BZ #10140]
84209         * manual/examples/argp-ex1.c: Include <stdlib.h>.
84210         * manual/examples/argp-ex2.c: Likewise.
84211         * manual/examples/argp-ex3.c: Likewise.
84213 2012-02-16  Richard Henderson  <rth@redhat.com>
84215         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
84216         * sysdeps/s390/s390-32/initfini.c: Remove.
84217         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
84218         * sysdeps/s390/s390-64/initfini.c: Remove.
84220 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
84222         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
84223         compiler output for sysdeps/generic/initfini.c.
84224         * sysdeps/sh/elf/initfini.c: Remove file.
84226 2012-02-16  David S. Miller  <davem@davemloft.net>
84228         [BZ #11494]
84229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
84231         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
84232         * sysdeps/sparc/crti.S: New file.
84233         * sysdeps/sparc/crtn.S: New file.
84234         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
84235         * sysdeps/sparc/sparc64/Makefile: Likewise.
84237 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
84239         [BZ #3335]
84240         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
84242 2012-02-15  Roland McGrath  <roland@hack.frob.com>
84244         [BZ #4822]
84245         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
84247         * mach/devstream.c (cookie_io_functions_t): Macro removed.
84248         (write, read, close): Likewise.
84249         Patch by Aurelien Jarno <aurelien@aurel32.net>.
84251 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
84253         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
84254         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
84255         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
84256         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
84257         <bits/signalfd.h>.
84258         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
84259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84260         bits/signalfd.h.
84262 2012-02-14  Marek Polacek  <polacek@redhat.com>
84264         * sysdeps/x86_64/crti.S: New file.
84265         * sysdeps/x86_64/crtn.S: New file.
84266         * sysdeps/x86_64/elf/initfini.c: Remove file.
84268 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84270         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
84271         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
84272         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
84273         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
84274         <bits/inotify.h>.
84275         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
84276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84277         bits/inotify.h.
84279 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
84281         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
84282         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
84283         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
84284         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
84285         <bits/eventfd.h>.
84286         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
84287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84288         bits/eventfd.h.
84290 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
84292         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
84293         __feraiseexcept instead of feraiseexcept.
84295         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
84296         nanosleep invocations.
84297         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
84298         strings, and add error checking for a nanosleep invocations.
84300 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
84302         Replace FSF snail mail address with URLs, as per GNU coding standards.
84303         Most of the snail mail addresses were wrong anyway, and omitting
84304         them makes the source code easier to maintain.  Almost all of the
84305         changes are to license notices and to locale LC_IDENTIFICATION
84306         addresses, except for this one:
84307         * manual/libc.texinfo: In "Published by", give the FSF's URL,
84308         not its snail mail address.
84310 2012-02-09  Richard Henderson  <rth@twiddle.net>
84312         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
84313         of kernel-features.h.
84315         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
84317 2012-02-08  Marek Polacek  <polacek@redhat.com>
84319         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
84320         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
84321         * sysdeps/gnu/_G_config.h: Likewise.
84322         * sysdeps/generic/_G_config.h: Likewise.
84324 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
84326         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
84327         tests.
84328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84330         * sysdeps/powerpc/powerpc32/crti.S: New file.
84331         * sysdeps/powerpc/powerpc32/crtn.S: New file.
84332         * sysdeps/powerpc/powerpc64/crti.S: New file.
84333         * sysdeps/powerpc/powerpc64/crtn.S: New file.
84335         * Makeconfig (have-initfini): Don't set.
84336         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
84337         * configure.in (nopic_initfini): Don't substitute.
84338         * config.h.in (HAVE_INITFINI): Don't #undef.
84339         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
84340         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
84342 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
84344         Support crti.S and crtn.S provided directly by architectures.
84345         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
84346         [crti.S in sysdirs] (omit-deps): Likewise.
84347         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
84348         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
84349         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
84350         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
84351         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
84352         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
84353         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
84354         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
84355         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
84356         compiler output for sysdeps/generic/initfini.c.
84357         * sysdeps/i386/elf/Makefile: Remove file.
84358         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
84360 2012-02-07  Marek Polacek  <polacek@redhat.com>
84362         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
84363         * sysdeps/gnu/_G_config.h: Likewise.
84364         * sysdeps/mach/hurd/_G_config.h: Likewise.
84366 2012-02-07  Marek Polacek  <polacek@redhat.com>
84368         * math/Makefile (tests): Add tst-CMPLX2.
84369         * math/tst-CMPLX2.c: New file.
84371 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
84373         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84375         * math/libm-test.inc (jn_test): Add missing L suffix.
84377 2012-02-06  Marek Polacek  <polacek@redhat.com>
84379         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
84380         * sysdeps/i386/fpu/e_powf.S: Likewise.
84381         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84382         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84384         * sysdeps/i386/fpu/e_pow.S: Likewise.
84385         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
84386         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84387         * sysdeps/i386/fpu/s_expm1.S: Likewise.
84388         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
84389         * sysdeps/i386/fpu/e_log2.S: Likewise.
84390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84392         * sysdeps/i386/fpu/e_powl.S: Likewise.
84393         * sysdeps/i386/fpu/s_log1p.S: Likewise.
84394         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84395         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
84396         * sysdeps/i386/fpu/e_logl.S: Likewise.
84397         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
84398         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
84399         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
84400         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
84401         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84402         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84403         * sysdeps/i386/fpu/e_log.S: Likewise.
84404         * sysdeps/i386/fpu/s_cexp.S: Likewise.
84405         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84406         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
84407         * sysdeps/i386/fpu/e_logf.S: Likewise.
84408         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84409         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84410         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
84411         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84412         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84413         * sysdeps/i386/fpu/e_log10.S: Likewise.
84414         * sysdeps/i386/fpu/s_frexp.S: Likewise.
84415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84416         * sysdeps/i386/fpu/s_asinh.S: Likewise.
84417         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
84418         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84419         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
84420         * sysdeps/i386/asm-syntax.h: Likewise.
84421         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84422         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84423         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84424         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
84425         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
84426         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84427         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
84428         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
84429         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84430         * sysdeps/powerpc/sysdep.h: Likewise.
84431         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
84432         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
84434 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84436         [BZ #411]
84437         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
84439 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
84441         * sysdeps/i386/sysdep.h: Include <features.h>.
84442         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
84443         version.
84445 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
84447         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
84448         Define.
84449         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
84450         LOAD_PIC_REG_STR.
84452 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84454         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
84455         (SETUP_PIC_REG): Use GET_PC_THUNK.
84456         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
84457         macro.
84459 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84461         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
84462         for non-PIC compilation.
84463         (SETUP_PIC_REG): Add .p2align directive.
84464         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
84465         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
84466         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
84467         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
84468         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
84469         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
84470         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
84471         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84472         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
84473         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
84474         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
84475         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
84476         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
84477         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
84478         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
84479         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
84480         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
84481         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
84482         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
84483         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
84484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
84485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
84486         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
84487         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
84488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
84489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
84490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84491         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
84492         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
84493         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
84494         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
84495         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84496         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
84497         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
84498         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
84499         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
84500         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
84501         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
84502         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
84503         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
84504         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
84506 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
84508         * math/tst-CMPLX.c: Include <stdio.h>.
84510 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
84512         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
84513         float.
84514         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84515         * sysdeps/sparc/bits/mathdef.h: Likewise.
84517 2012-01-31  Marek Polacek  <polacek@redhat.com>
84519         * libio/libio.h: Don't define _PARAMS.
84520         * locale/programs/config.h: Don't define PARAMS.
84521         * stdlib/strtol_l.c: Likewise.
84522         (__strtol_l): Remove PARAMS from the prototype.
84524 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
84526         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
84527         names.  Just use the correct names.  Remove unnecessary wrapper
84528         functions.
84529         * malloc/arena.c: Likewise.
84530         * malloc/hooks.c: Likewise.
84532         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
84533         ARENA_TEST says not to.  Simplify test for creation of a new arena.
84534         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
84536 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
84538         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
84539         into tail calls.
84540         (update_get_addr): New function.
84541         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
84542         GET_ADDR_MODULE parameter.
84544 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84546         * crypt/cert.c: Remove __STDC__ conditionals.
84547         * crypt/crypt-entry.c: Likewise.
84548         * crypt/crypt_util.c: Likewise.
84549         * libio/filedoalloc.c: Likewise.
84550         * libio/fileops.c: Likewise.
84551         * libio/genops.c: Likewise.
84552         * libio/iofclose.c: Likewise.
84553         * libio/iofdopen.c: Likewise.
84554         * libio/iofopen.c: Likewise.
84555         * libio/iofopen64.c: Likewise.
84556         * libio/iogetdelim.c: Likewise.
84557         * libio/iopopen.c: Likewise.
84558         * libio/obprintf.c: Likewise.
84559         * libio/oldfileops.c: Likewise.
84560         * libio/oldiofclose.c: Likewise.
84561         * libio/oldiofdopen.c: Likewise.
84562         * libio/oldiofopen.c: Likewise.
84563         * libio/oldiopopen.c: Likewise.
84564         * libio/wfiledoalloc.c: Likewise.
84565         * libio/wgenops.c: Likewise.
84566         * locale/programs/xmalloc.c: Likewise.
84567         * misc/syslog.c: Likewise.
84568         * stdio-common/xbug.c: Likewise.
84569         * string/memchr.c: Likewise.
84570         * string/memcmp.c: Likewise.
84571         * string/memrchr.c: Likewise.
84572         * string/rawmemchr.c: Likewise.
84573         * sysdeps/posix/getcwd.c: Likewise.
84574         * time/strftime_l.c: Likewise.
84576 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
84578         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
84579         * config.make.in (config-cflags-sse2avx): Define.
84580         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
84581         Fix typo.
84583 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
84585         * scripts/config.guess: Update from upstream config git repository.
84586         * scripts/config.sub: Likewise.
84588 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
84590         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
84591         (EM_NUM): Update.
84592         (R_TILEPRO_*, R_TILEGX_*): New macros.
84594         * scripts/firstversions.awk: Fix bug in version range handling.
84596         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
84598         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
84600         * include/sys/epoll.h: New file.
84601         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
84602         libc_hidden_def.
84604 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
84606         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
84607         Avoid unnecessary __WORDSIZE == 64 test.
84608         (fmaxf): Use VEX format if possible.
84609         (fmax): Likewise.
84610         (fminf): Likewise.
84611         (fmin): Likewise.
84613         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
84614         * math/math_private.h: Remove libc_fegetround* and
84615         libc_fesetround*.
84616         * sysdeps/i386/configure.in: Check for -msse2avx.
84617         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
84618         also if SSE2AVX is defined.
84619         Remove libc_fegetround* and libc_fesetround*.
84620         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
84621         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
84622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
84623         of HAS_YMM_USABLE.
84624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84625         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84626         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84627         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84628         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84630         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
84632 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84634         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
84635         size is not set.
84636         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84638 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
84640         [BZ #13618]
84641         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
84642         relocation.
84643         * Makeconfig (libm): Define.
84644         * elf/Makefile: Add rules to build and run tst-relsort1.
84645         * elf/tst-relsort1.c: New file.
84646         * elf/tst-relsort1mod1.c: New file.
84647         * elf/tst-relsort1mod2.c: New file.
84649 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
84651         * math/s_ldexp.c: Remove __STDC__ conditionals.
84652         * math/s_ldexpf.c: Likewise.
84653         * math/s_ldexpl.c: Likewise.
84654         * math/s_nextafter.c: Likewise.
84655         * math/s_nexttowardf.c: Likewise.
84656         * math/s_significand.c: Likewise.
84657         * math/s_significandf.c: Likewise.
84658         * math/s_significandl.c: Likewise.
84659         * math/w_jnl.c: Likewise.
84660         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84661         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84662         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84663         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84664         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84665         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84666         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
84667         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84668         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84672         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84673         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84678         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84679         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84680         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84682         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84683         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84684         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84685         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84686         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84687         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84688         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84689         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84690         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84691         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84692         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84693         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84694         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84695         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84696         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84697         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84698         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84699         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84700         * sysdeps/ieee754/k_standard.c: Likewise.
84701         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84703         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84708         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84709         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84710         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84711         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84712         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84713         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84714         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84715         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84716         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84717         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84718         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84719         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84720         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84723         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84724         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84726         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84730         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84731         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84732         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
84733         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84734         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84736         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84737         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
84738         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84739         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84740         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
84741         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
84742         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
84744         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
84758         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84759         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84760         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84761         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84762         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84767         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84768         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84769         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84772         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84774         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84775         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84776         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84780         * sysdeps/ieee754/s_matherr.c: Likewise.
84781         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84782         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84783         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84784         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84786 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84788         * crypt/md5.h: Remove __STDC__ conditionals.
84789         * libio/libioP.h: Likewise.
84790         * locale/programs/config.h: Likewise.
84791         * sysdeps/generic/sysdep.h: Likewise.
84792         * sysdeps/i386/asm-syntax.h: Likewise.
84793         * sysdeps/s390/asm-syntax.h: Likewise.
84794         * sysdeps/unix/sysdep.h: Likewise.
84795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
84796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
84798 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
84800         * libio/libio.h: Remove __STDC__ conditionals.
84801         * malloc/obstack.h: Likewise.
84802         * math/complex.h: Likewise.
84803         * math/math.h: Likewise.
84804         * sysdeps/generic/_G_config.h: Likewise.
84805         * sysdeps/gnu/_G_config.h: Likewise.
84806         * sysdeps/mach/hurd/_G_config.h: Likewise.
84807         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84808         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
84809         * sysdeps/sparc/bits/mathdef.h: Likewise.
84811 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
84813         [BZ #13583]
84814         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
84815         Clean up HAS_* macros.
84816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
84817         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
84818         possible.
84819         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
84820         HAS_AVX.
84821         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84822         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84823         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84824         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84827 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
84829         * elf/tst-unique3.cc (gets): Remove declaration.
84830         * elf/tst-unique3lib.cc (gets): Likewise.
84831         * elf/tst-unique3lib2.cc (gets): Likewise.
84832         * elf/tst-unique4.cc (gets): Likewise.
84834 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
84836         * include/stdio.h: Add C++ protection.  Add gets declarations and
84837         definitions.
84838         * debug/tst-chk1.c: Don't declare gets here.
84839         * stdio-common/tst-gets.c: Likewise.
84841 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84843         * posix/glob: Remove directory.
84845 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
84847         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
84849 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
84851         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
84852         of the non-standard EPFNOSUPPORT.
84854 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84856         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
84857         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
84858         ANYWHERE set to 1 only on KERN_NO_SPACE error.
84860 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
84862         * wcsmbs/uchar.h: Test __STDC_VERSION__.
84864 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
84866         * nscd/aicache.c (addhstaiX): Do not cache negative results of
84867         transient errors.
84868         * nscd/grpcache.c (cache_addgr): Likewise.
84869         * nscd/hstcache.c (cache_addhst): Likewise.
84870         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84871         * nscd/pwdcache.c (cache_addpw): Likewise.
84872         * nscd/servicescache.c (cache_addserv): Likewise.
84874 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
84876         * malloc/malloc.c: Various cleanups.
84877         * malloc/hooks.c: Likewise.
84879         * stdlib/Makefile (tests): Add bug-fmtmsg1.
84880         * stdlib/bug-fmtmsg1.c: New file.
84882         * stdlib/fmtmsg.c (init): Add missing unlock.
84883         Patch by Peng Haitao <penght@cn.fujitsu.com>.
84885 2012-01-12  Marek Polacek  <polacek@redhat.com>
84887         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
84888         and _GNU_SOURCE.
84890 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84892         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
84893         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
84894         macro to ensure uniqueness of label name.
84895         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84896         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84898 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
84900         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
84902         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
84903         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84905         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
84907 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
84909         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
84911         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
84912         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84913         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84915         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
84917         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
84918         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84919         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
84922         * math/bits/math-finite.h: Add ldexp support.
84924 2012-01-10  Marek Polacek  <polacek@redhat.com>
84926         * locale/programs/localedef.h (show_archive_content): Add noreturn
84927         attribute.
84929 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
84931         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
84933 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84935         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
84937         * io/Makefile (headers): Add bits/poll2.h.
84939 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
84941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
84942         typo #include statement.
84944 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84946         * include/sys/cdefs.h: Define __attribute_alloc_size.
84947         * catgets/gencat.c: Add alloc_size attribute and apply consistently
84948         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
84949         * elf/pldd.c: Likewise.
84950         * iconv/iconv_charmap.c: Likewise.
84951         * iconv/iconvconfig.c: Likewise.
84952         * iconv/strtab.c: Likewise.
84953         * locale/programs/locale.c: Likewise.
84954         * locale/programs/localedef.h: Likewise.
84955         * locale/programs/simple-hash.c: Likewise.
84956         * nscd/nscd.h: Likewise.
84957         * nss/makedb.c: Likewise.
84958         * sysdeps/generic/ldconfig.h: Likewise.
84959         * locale/programs/localedef.c: Remove xmalloc prototype.
84960         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
84962 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
84965         appropriate.
84967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
84969         * math/Makefile (tests): Add tst-CMPLX.
84970         * math/tst-CMPLX.c: New file.
84972         * math/complex.h (CMPLXL): Fix typo.
84974         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
84975         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
84976         GLIBC_2.16.
84977         * debug/tst-chk1.c: Add poll and ppoll tests.
84978         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
84979         * include/sys/poll.h: Add hidden proto for ppoll.
84980         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
84981         * sysdeps/mach/hurd/ppoll.c: Likewise.
84982         * io/ppoll.c: Likewise.
84983         * debug/poll_chk.c: New file.
84984         * debug/ppoll_chk.c: New file.
84985         * include/bits/poll2.h: New file.
84986         * io/bits/poll2.h: New file.
84988         [BZ #1350]
84989         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
84991         * configure.in: static is always set to yes.  Remove.
84992         * config.make.in: Don't set build-static.
84993         * Makeconfig: Remove use of build-static.
84994         * dlfcn/Makefile: Likewise.
84995         * elf/Makefile: Likewise.
84996         * math/Makefile: Likewise.
84997         * misc/Makefile: Likewise.
84998         * nptl/Makefile: Likewise.
84999         * sysdeps/mach/hurd/Makefile: Likewise.
85001         * configure.in: PWD_P is not used anymore.
85002         * config.make.in: Remove PWD_P entry.
85004         * configure.in: Remove last remnants of RANLIB.
85005         No need to check for signed size_t anymore.
85006         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85007         and IA-64.
85008         Remove __builtin_expect test because we require at least gcc 3.4.
85009         * aclocal.m4: Likewise.
85011         * wcsmbs/mbrtoc16.c: Implement using towc function.
85012         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85013         * wcsmbs/wcsmbsload.c: Likewise.
85014         * iconv/gconv_simple.c: Likewise.
85015         * iconv/gconv_int.h: Likewise.
85016         * iconv/gconv_builtin.h: Likewise.
85017         * iconv/iconv_prog.c: Remove CHAR16 handling.
85019         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85021         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85023         * configure.in: Remove --with-elf and --enable-bounded options.
85024         Dont set base_machine for ia64.  More non-ELF conditions removed.
85025         Remove testing and setting of leading underscore information.
85026         * config.make.in (build-bounded): Set to no.
85027         * config.h.in: Remove NO_UNDERSCORES entry.
85028         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85029         them.
85030         * csu/start.c: Remove !NO_UNDERSCORE code.
85031         * locale/localeinfo.h: Likewise.
85032         * sysdeps/generic/machine-gmon.h: Likewise.
85033         * sysdeps/generic/sysdep.h: Likewise.
85034         * sysdeps/i386/sysdep.h: Likewise.
85035         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85036         * sysdeps/mach/sysdep.h: Likewise.
85037         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85039         * sysdeps/sh/sysdep.h: Likewise.
85040         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85041         * sysdeps/unix/i386/sysdep.S: Likewise.
85042         * sysdeps/unix/sparc/start.c: Likewise.
85043         * sysdeps/unix/sparc/sysdep.S: Likewise.
85044         * sysdeps/unix/sparc/sysdep.h: Likewise.
85045         * sysdeps/unix/start.c: Likewise.
85046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85047         * sysdeps/x86_64/sysdep.h: Likewise.
85049 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
85051         [BZ #13553]
85052         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
85053         for non-gcc.
85054         * argp/argp-fmtstream.h: Use const instead __const.
85055         * argp/argp.h: Likewise.
85056         * assert/assert.h: Likewise.
85057         * bits/fenv.h: Likewise.
85058         * bits/sched.h: Likewise.
85059         * bits/sigset.h: Likewise.
85060         * bits/sigthread.h: Likewise.
85061         * catgets/nl_types.h: Likewise.
85062         * conform/data/pthread.h-data: Likewise.
85063         * crypt/crypt-private.h: Likewise.
85064         * crypt/crypt.h: Likewise.
85065         * crypt/crypt_util.c: Likewise.
85066         * ctype/ctype.h: Likewise.
85067         * debug/execinfo.h: Likewise.
85068         * debug/mbsnrtowcs_chk.c: Likewise.
85069         * debug/mbsrtowcs_chk.c: Likewise.
85070         * debug/wcsnrtombs_chk.c: Likewise.
85071         * debug/wcsrtombs_chk.c: Likewise.
85072         * debug/wcstombs_chk.c: Likewise.
85073         * dirent/dirent.h: Likewise.
85074         * dlfcn/dlfcn.h: Likewise.
85075         * elf/neededtest4.c: Likewise.
85076         * grp/grp.h: Likewise.
85077         * gshadow/gshadow.h: Likewise.
85078         * iconv/gconv.h: Likewise.
85079         * iconv/gconv_int.h: Likewise.
85080         * iconv/gconv_simple.c: Likewise.
85081         * iconv/iconv.h: Likewise.
85082         * iconv/loop.c: Likewise.
85083         * iconv/skeleton.c: Likewise.
85084         * include/aio.h: Likewise.
85085         * include/aliases.h: Likewise.
85086         * include/argz.h: Likewise.
85087         * include/arpa/inet.h: Likewise.
85088         * include/assert.h: Likewise.
85089         * include/dirent.h: Likewise.
85090         * include/dlfcn.h: Likewise.
85091         * include/execinfo.h: Likewise.
85092         * include/fcntl.h: Likewise.
85093         * include/fenv.h: Likewise.
85094         * include/glob.h: Likewise.
85095         * include/grp.h: Likewise.
85096         * include/libintl.h: Likewise.
85097         * include/mntent.h: Likewise.
85098         * include/netdb.h: Likewise.
85099         * include/pwd.h: Likewise.
85100         * include/rpc/netdb.h: Likewise.
85101         * include/sched.h: Likewise.
85102         * include/search.h: Likewise.
85103         * include/shadow.h: Likewise.
85104         * include/signal.h: Likewise.
85105         * include/stdio.h: Likewise.
85106         * include/stdlib.h: Likewise.
85107         * include/string.h: Likewise.
85108         * include/sys/socket.h: Likewise.
85109         * include/sys/stat.h: Likewise.
85110         * include/sys/statfs.h: Likewise.
85111         * include/sys/statvfs.h: Likewise.
85112         * include/sys/syslog.h: Likewise.
85113         * include/sys/time.h: Likewise.
85114         * include/sys/uio.h: Likewise.
85115         * include/time.h: Likewise.
85116         * include/unistd.h: Likewise.
85117         * include/utmp.h: Likewise.
85118         * include/wchar.h: Likewise.
85119         * include/wctype.h: Likewise.
85120         * inet/aliases.h: Likewise.
85121         * inet/arpa/inet.h: Likewise.
85122         * inet/netinet/ether.h: Likewise.
85123         * inet/netinet/in.h: Likewise.
85124         * intl/libintl.h: Likewise.
85125         * io/bits/fcntl2.h: Likewise.
85126         * io/fcntl.h: Likewise.
85127         * io/ftw.h: Likewise.
85128         * io/sys/poll.h: Likewise.
85129         * io/sys/stat.h: Likewise.
85130         * io/sys/statfs.h: Likewise.
85131         * io/sys/statvfs.h: Likewise.
85132         * io/utime.h: Likewise.
85133         * libio/bits/stdio.h: Likewise.
85134         * libio/bits/stdio2.h: Likewise.
85135         * libio/libio.h: Likewise.
85136         * libio/libioP.h: Likewise.
85137         * libio/stdio.h: Likewise.
85138         * locale/lc-ctype.c: Likewise.
85139         * locale/locale.h: Likewise.
85140         * login/utmp.h: Likewise.
85141         * malloc/arena.c: Likewise.
85142         * malloc/malloc.c: Likewise.
85143         * malloc/malloc.h: Likewise.
85144         * malloc/mcheck.c: Likewise.
85145         * malloc/mtrace.c: Likewise.
85146         * math/bits/mathcalls.h: Likewise.
85147         * math/fenv.h: Likewise.
85148         * math/math_private.h: Likewise.
85149         * misc/bits/error.h: Likewise.
85150         * misc/bits/syslog.h: Likewise.
85151         * misc/err.h: Likewise.
85152         * misc/error.h: Likewise.
85153         * misc/fstab.h: Likewise.
85154         * misc/mntent.h: Likewise.
85155         * misc/regexp.h: Likewise.
85156         * misc/search.h: Likewise.
85157         * misc/sgtty.h: Likewise.
85158         * misc/sys/mman.h: Likewise.
85159         * misc/sys/syslog.h: Likewise.
85160         * misc/sys/uio.h: Likewise.
85161         * misc/sys/xattr.h: Likewise.
85162         * misc/ttyent.h: Likewise.
85163         * nis/rpcsvc/ypclnt.h: Likewise.
85164         * nss/nss.h: Likewise.
85165         * posix/bits/unistd.h: Likewise.
85166         * posix/fnmatch.h: Likewise.
85167         * posix/glob.h: Likewise.
85168         * posix/sched.h: Likewise.
85169         * posix/spawn.h: Likewise.
85170         * posix/sys/wait.h: Likewise.
85171         * posix/unistd.h: Likewise.
85172         * posix/wordexp.h: Likewise.
85173         * pwd/pwd.h: Likewise.
85174         * resolv/netdb.h: Likewise.
85175         * resource/sys/resource.h: Likewise.
85176         * rt/aio.h: Likewise.
85177         * rt/bits/mqueue2.h: Likewise.
85178         * rt/mqueue.h: Likewise.
85179         * shadow/shadow.h: Likewise.
85180         * signal/signal.h: Likewise.
85181         * socket/send.c: Likewise.
85182         * socket/sendto.c: Likewise.
85183         * socket/sys/socket.h: Likewise.
85184         * stdio-common/printf.h: Likewise.
85185         * stdlib/bits/stdlib.h: Likewise.
85186         * stdlib/fmtmsg.h: Likewise.
85187         * stdlib/monetary.h: Likewise.
85188         * stdlib/stdlib.h: Likewise.
85189         * stdlib/ucontext.h: Likewise.
85190         * streams/stropts.h: Likewise.
85191         * string/argz.h: Likewise.
85192         * string/bits/string2.h: Likewise.
85193         * string/string.h: Likewise.
85194         * string/strings.h: Likewise.
85195         * sunrpc/rpc/auth.h: Likewise.
85196         * sunrpc/rpc/auth_des.h: Likewise.
85197         * sunrpc/rpc/clnt.h: Likewise.
85198         * sunrpc/rpc/netdb.h: Likewise.
85199         * sunrpc/rpc/pmap_clnt.h: Likewise.
85200         * sunrpc/rpc/xdr.h: Likewise.
85201         * sysdeps/generic/inttypes.h: Likewise.
85202         * sysdeps/generic/net/if.h: Likewise.
85203         * sysdeps/generic/sys/swap.h: Likewise.
85204         * sysdeps/gnu/net/if.h: Likewise.
85205         * sysdeps/gnu/utmpx.h: Likewise.
85206         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
85207         * sysdeps/i386/i486/bits/string.h: Likewise.
85208         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
85209         * sysdeps/s390/bits/string.h: Likewise.
85210         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
85211         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
85212         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
85213         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
85214         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
85215         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
85216         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
85217         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
85218         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
85219         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
85220         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
85221         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
85222         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
85223         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
85224         * sysdeps/unix/sysv/linux/readv.c: Likewise.
85225         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
85226         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
85227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85228         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
85229         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
85230         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85231         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
85232         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
85233         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
85234         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
85235         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
85236         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
85237         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85238         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
85239         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
85240         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
85241         * sysvipc/sys/ipc.h: Likewise.
85242         * sysvipc/sys/msg.h: Likewise.
85243         * sysvipc/sys/sem.h: Likewise.
85244         * sysvipc/sys/shm.h: Likewise.
85245         * termios/termios.h: Likewise.
85246         * time/sys/time.h: Likewise.
85247         * time/time.h: Likewise.
85248         * wcsmbs/bits/wchar2.h: Likewise.
85249         * wcsmbs/uchar.h: Likewise.
85250         * wcsmbs/wchar.h: Likewise.
85251         * wctype/wctype.h: Likewise.
85253         [BZ #13551]
85254         * Makeconfig: Remove all but ELF support including AIX support.
85255         * Makerules: Likewise.
85256         * config.h.in: Likewise.
85257         * config.make.in: Likewise.
85258         * configure: Likewise.
85259         * configure.in: Likewise.
85260         * csu/Makefile: Likewise.
85261         * csu/version.c: Likewise.
85262         * debug/Makefile: Likewise.
85263         * dlfcn/Makefile: Likewise.
85264         * elf/Makefile: Likewise.
85265         * extra-lib.mk: Likewise.
85266         * iconv/Makefile: Likewise.
85267         * include/libc-symbols.h: Likewise.
85268         * include/shlib-compat.h: Likewise.
85269         * resolv/Makefile: Likewise.
85270         * resolv/res_libc.c: Likewise.
85271         * rt/Makefile: Likewise.
85272         * sysdeps/i386/asm-syntax.h: Likewise.
85273         * sysdeps/i386/sysdep.h: Likewise.
85274         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85275         * sysdeps/mach/sysdep.h: Likewise.
85276         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
85277         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
85278         * sysdeps/s390/asm-syntax.h: Likewise.
85279         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85280         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85281         * sysdeps/sh/sysdep.h: Likewise.
85282         * sysdeps/unix/sparc/sysdep.h: Likewise.
85283         * sysdeps/wordsize-32/divdi3.c: Likewise.
85284         * sysdeps/x86_64/sysdep.h: Likewise.
85286         * argp/Versions: Remove _argp_unlock_xxx.
85288         [BZ #13559]
85289         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
85290         * abilist/libBrokenLocale.abilist: Likewise.
85291         * abilist/libanl.abilist: Likewise.
85292         * abilist/libc.abilist: Likewise.
85293         * abilist/libcrypt.abilist: Likewise.
85294         * abilist/libdl.abilist: Likewise.
85295         * abilist/libm.abilist: Likewise.
85296         * abilist/libnsl.abilist: Likewise.
85297         * abilist/libpthread.abilist: Likewise.
85298         * abilist/libresolv.abilist: Likewise.
85299         * abilist/librt.abilist: Likewise.
85300         * abilist/libthread_db.abilist: Likewise.
85301         * abilist/libutil.abilist: Likewise.
85302         * abilist/libnss_db.abilist: New file.
85304         * scripts/abilist.awk: Add support for indirect functions.
85306         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
85308         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
85310         * shlib-versions: Remove entries for ports architectures.
85312         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
85313         files in ports.
85314         * elf/stackguard-macros.h: Remove support for IA-64.
85315         * elf/tst-auditmod1.c: Likewise.
85316         * sysdeps/generic/ldsodefs.h: Likewise.
85318         * sysdeps/unix/sysv/linux/configure.in: Ports should define
85319         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
85320         configure files.
85322         [BZ #13552]
85323         * configure.in: Remove --enable-omitfp support.
85324         * FAQ.in: Adjust.
85325         * config.make.in: Likewise.
85326         * Makeconfig: Likewise.
85327         * manual/install.texi: Likewise.
85329         In case anyone cares, the IA-64 architecture could move to ports.
85330         * sysdeps/ia64/*: Removed.
85331         * sysdeps/unix/sysv/linux/ia64/*: Removed.
85332         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
85334         [BZ #13555]
85335         * configure.in: Remove entries for unsupported architectures.
85337         [BZ #13533]
85338         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
85339         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
85340         routines.
85341         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
85342         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
85343         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
85344         fall back to using wcrtomb.
85345         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
85346         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
85347         renaming.
85348         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
85349         * wcsmbs/tst-c16c32-1.c: New file.
85351         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
85352         local variable.
85354         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
85356         * elf/tst-unique3.cc: Add explicit declaration of gets.
85357         * elf/tst-unique3lib.cc: Likewise.
85358         * elf/tst-unique3lib2.cc: Likewise.
85359         * elf/tst-unique4.cc: Likewise.
85361         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
85363 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
85365         [BZ #13566]
85366         * assert/assert.h (static_assert): Don't define for C++.
85367         * libio/stdio.h (gets): Do declare for C++ <= C++11.
85368         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
85370 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
85372         * iconv/loop.c (single loop): Fix assertion in storing of
85373         remaining bytes.
85375         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
85377 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
85379         * posix/getconf.c: Update copyright year.
85380         * nss/getent.c: Likewise.
85381         * nss/makedb.c: Likewise.
85382         * iconv/iconvconfig.c: Likewise.
85383         * iconv/iconv_prog.c: Likewise.
85384         * elf/ldconfig.c: Likewise.
85385         * elf/pldd.c: Likewise.
85386         * elf/sotruss.ksh: Likewise.
85387         * catgets/gencat.c: Likewise.
85388         * csu/version.c: Likewise.
85389         * elf/ldd.bash.in: Likewise.
85390         * elf/sprof.c (print_version): Likewise.
85391         * locale/programs/locale.c: Likewise.
85392         * locale/programs/localedef.c: Likewise.
85393         * login/programs/pt_chown.c: Likewise.
85394         * nscd/nscd.c (print_version): Likewise.
85395         * debug/xtrace.sh: Likewise.
85396         * malloc/memusage.sh: Likewise.
85397         * malloc/mtrace.pl: Likewise.
85398         * debug/catchsegv.sh: Likewise.
85400 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
85402         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
85403         pure attribute.
85405 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
85407         [BZ #13533]
85408         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
85409         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
85410         transformations.
85411         * iconv/gconv_int.h: Likewise.
85412         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
85413         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
85414         from libc for GLIBC_2.16.
85415         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
85416         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
85417         * wcsmbs/uchar.h: Really define mbstate_t.
85418         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
85419         * wcsmbs/c16rtomb.c: New file.
85420         * wcsmbs/mbrtoc16.c: New file.
85421         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
85422         for C/POSIX locale.
85423         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
85424         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
85426         * wcsmbs/wchar.h: Add missing __restrict.
85428 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85430         [BZ #13532]
85431         * time/Makefile (routines): Add timespec_get.
85432         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
85433         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
85434         timespec for ISO C11.
85435         * time/timespec_get.c: New file.
85436         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
85437         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
85439         [BZ #13531]
85440         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
85441         * stdlib/stdlib.h: Declare aligned_alloc.
85442         * Versions.def: Add GLIBC_2.16 for libc.
85443         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
85445         [BZ 13527]
85446         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
85447         ISO C11.
85449         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
85450         code.
85452         [BZ #13528]
85453         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
85455         [BZ #13529]
85456         * assert/assert.h (static_assert): Define.
85458         * version.h: Update for 2.16 development version.
85460         [BZ #13526]
85461         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
85462         _ISOC11_SOURCE.
85464         * version.h (RELEASE): Bump for 2.15 release.
85465         * include/features.h (__GLIBC_MINOR__): Bump to 15.
85467         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
85468         Patch by Marek Polacek <mpolacek@redhat.com>.
85470         * bits/byteswap.h: Protect long long constants with __extension__.
85471         * sysdeps/i386/bits/byteswap.h: Likewise.
85472         * sysdeps/ia64/bits/byteswap.h: Likewise.
85473         * sysdeps/s390/bits/byteswap.h: Likewise.
85474         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85476 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85478         [BZ #13540]
85479         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
85480         destination buffer.
85481         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
85483 2011-12-23  Marek Polacek  <polacek@redhat.com>
85485         * elf/dl-addr.c (determine_info): Add inline keyword.
85486         * elf/tst-auditmod4b.c (check_avx): Likewise.
85487         * elf/tst-auditmod6b.c (check_avx): Likewise.
85488         * elf/tst-auditmod6c.c (check_avx): Likewise.
85489         * elf/tst-auditmod7b.c (check_avx): Likewise.
85491 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
85493         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
85494         !__SSE_MATH__.
85496 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85498         [BZ #13540]
85499         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
85500         processing for last bytes.
85502 2011-08-06  Bruno Haible  <bruno@clisp.org>
85504         [BZ #13061]
85505         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
85506         U+0385, not to U+1FEE.
85508         [BZ #13062]
85509         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
85510         entry for U+00A5 U+0301.
85512 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85514         [BZ #13166]
85515         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
85516         buffer for the output is too small.
85518         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
85519         optimization.
85521         [BZ #13185]
85522         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
85523         SSE flags if possible.
85525 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85527         [BZ #13540]
85528         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
85529         processing for last bytes.
85531 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
85533         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
85534         (syscall-list-default-options, syscall-list-default-condition)
85535         (syscall-list-includes): Define.
85536         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
85537         list of ABIs and options and #if conditions for each ABI.  Do not
85538         handle common syscalls between ABIs specially.
85539         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
85540         Remove.
85541         (syscall-list-variants, syscall-list-32bit-options)
85542         (syscall-list-32bit-condition, syscall-list-64bit-options)
85543         (syscall-list-64bit-condition): Define.
85544         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
85545         (syscall-list-variants, syscall-list-32bit-options)
85546         (syscall-list-32bit-condition, syscall-list-64bit-options)
85547         (syscall-list-64bit-condition): Define.
85548         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
85549         Remove.
85550         (syscall-list-variants, syscall-list-32bit-options)
85551         (syscall-list-32bit-condition, syscall-list-64bit-options)
85552         (syscall-list-64bit-condition): Define.
85553         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
85554         Remove.
85555         (syscall-list-variants, syscall-list-32bit-options)
85556         (syscall-list-32bit-condition, syscall-list-64bit-options)
85557         (syscall-list-64bit-condition): Define.
85559 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
85561         * locale/iso-639.def: Add brx entry.
85563         [BZ #13328]
85564         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
85565         Proposed by Mariusz_Cukr <marcukr@op.pl>.
85567         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
85568         __feraiseexcept_renamed.
85570 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85572         [BZ #13538]
85573         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
85574         EPOLLET with unsigned values.
85575         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85576         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
85578         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
85579         to large cancellation.
85580         * math/s_cacoshf.c: Likewise.
85581         * math/s_cacoshl.c: Likewise.
85583 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
85585         [BZ #13305]
85586         [BZ #12786]
85587         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
85588         * math/s_cacoshf.c: Likewise.
85589         * math/s_cacoshl.c: Likewise.
85591 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
85593         [BZ #13439]
85594         * iconv/gconv.h: Define __GCONV_SWAP.
85595         * iconvdata/unicode.c: The swap bit must be stored in __flags.
85596         * iconvdata/utf-16.c: Likewise.
85597         * iconvdata/utf-32.c: Likewise.
85599 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
85601         [BZ #13524]
85602         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
85603         numerator after shifting it by one limb.
85605 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
85607         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
85608         under [__USE_EXTERN_INLINES].
85610 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85612         [BZ #13446]
85613         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
85615 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85617         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
85618         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
85619         optimized code.
85620         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
85621         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
85622         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
85623         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
85624         for strncasecmp/strncasecmp_l compilation.
85625         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
85626         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
85628 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
85630         [BZ #13484]
85631         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
85632         of __asm__.
85634 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
85636         [BZ #13506]
85637         * time/tzfile.c (__tzfile_read): Check values from file header.
85639 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
85641         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
85642         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
85643         * powerpc/powerpc32/dl-start.S: Likewise.
85644         * powerpc/powerpc32/elf/start.S: Likewise.
85645         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
85646         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
85647         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
85648         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
85649         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
85650         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
85651         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
85652         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
85653         * powerpc/powerpc32/fpu/s_round.S: Likewise.
85654         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
85655         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
85656         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
85657         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
85658         * powerpc/powerpc32/memset.S: Likewise.
85659         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
85660         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
85661         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
85662         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
85663         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
85664         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
85665         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
85666         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85667         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
85668         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
85669         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
85670         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85671         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85673 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85675         * math/libm-test.inc: Added more nearbyint tests.
85676         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
85677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
85678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
85679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
85681 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
85683         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
85684         FD_CLOEXEC.
85686 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85688         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
85689         Add wcscpy-ssse3 wcscpy-c.
85690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
85691         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
85692         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
85693         * sysdeps/x86_64/wcschr.S: New file.
85694         * sysdeps/x86_64/wcsrchr.S: New file.
85695         * string/test-strcmp.c: Remove checking of wcscmp function for
85696         wrong alignments.
85697         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
85698         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
85699         wcsrchr-sse2 wcsrchr-c.
85700         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
85701         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
85702         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
85703         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
85704         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
85705         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
85706         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
85707         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
85708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
85709         * wcsmbc/wcschr.c (WCSCHR): New macro.
85711 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85713         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
85714         * wcsmbs/test-wcsrchr.c: New file.
85715         * string/test-strrchr.c: Add wcsrchr support.
85716         (WIDE): New macro.
85717         * wcsmbs/test-wcscpy.c: New file.
85718         * string/test-strcpy.c: Add wcscpy support.
85719         (WIDE): New macro.
85721 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
85723         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
85724         the inner loop.
85726 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
85728         [BZ #13472]
85729         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
85731 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
85733         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
85734         Minor optimizations.
85736         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
85737         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
85738         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
85740 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
85742         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
85743         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
85744         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
85745         for gcc to avoid warnings.
85746         * inet/Makefile (tests): Add tst-checks.
85747         * inet/tst-checks.c: New file.
85749         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
85750         warning.
85752         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
85753         __wmemcmp_sse2.
85755         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
85756         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
85758         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
85760 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
85762         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
85763         problem.
85765         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
85767 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
85769         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
85770         conditional on GCC version.
85771         (__arch_compare_and_exchange_val_8_acq)
85772         (__arch_compare_and_exchange_val_16_acq)
85773         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
85774         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
85775         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
85777 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
85779         * sysdeps/sh/backtrace.c: New file.
85781 2011-12-02  Andreas Schwab  <schwab@redhat.com>
85783         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
85784         parenthesis.
85786 2011-12-01  Andreas Schwab  <schwab@redhat.com>
85788         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
85789         falling back to utime.
85791 2011-11-30  Andreas Schwab  <schwab@redhat.com>
85793         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
85794         expectations for float.
85796 2011-11-29  Andreas Schwab  <schwab@redhat.com>
85798         * locale/weight.h (findidx): Add parameter len.
85799         * locale/weightwc.h (findidx): Likewise.
85800         * posix/fnmatch_loop.c (FCT): Adjust caller.
85801         * posix/regcomp.c (build_equiv_class): Likewise.
85802         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
85803         * posix/regexec.c (check_node_accept_bytes): Likewise.
85804         * string/strcoll_l.c (STRCOLL): Likewise.
85805         * string/strxfrm_l.c (STRXFRM): Likewise.
85807 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
85809         * Makefile.in: Remove CVSOPT handling.
85810         * configure.in: Remove use of AC_REVISION.
85811         * iconvdata/Makefile (distribute): No need to filter out CVS.
85812         * scripts/list-sources.sh: Remove CVS, subversion and monotone
85813         handling.
85815 2011-11-16  Andreas Schwab  <schwab@redhat.com>
85817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
85818         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
85819         [USE_AS_STRNCASECMP_L]: Likewise.
85820         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
85821         NO_TLS_DIRECT_SEG_REFS.
85822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
85823         Fix argument offsets for non-PIC.
85824         [USE_AS_STRNCASECMP_L]: Likewise.
85825         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
85826         NO_TLS_DIRECT_SEG_REFS.
85828 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85830         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
85831         O_CLOEXEC.
85832         * locale/loadlocale.c (_nl_load_locale): Likewise.
85834 2011-11-15  Andreas Schwab  <schwab@redhat.com>
85836         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
85837         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
85838         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
85839         (SYSCALL_GETTIME): Set errno on error.
85841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
85842         count references to noai6ai_cached.
85844 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
85846         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
85848         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
85849         FD_CLOEXEC for /proc/self/maps.
85851         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
85852         FD_CLOEXEC for /proc/meminfo.
85854         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
85855         gai.conf.
85857         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
85858         FD_CLOEXEC for given file.
85860         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
85862         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
85863         FD_CLOEXEC for /etc/hosts.
85864         (_gethtent): Likewise.
85866         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
85868         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
85869         cancellation and set FD_CLOEXEC for /etc/netgroup.
85871         * nss/nss_files/files-key.c (search): Don't allow cancellation when
85872         reading /etc/publickey.
85874         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
85875         allow cancellation when reading /etc/group.
85877         * nss/nss_files/files-alias.c (internal_setent): Don't allow
85878         cancellation.
85879         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
85881         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
85882         when using data file.
85884         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
85886         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
85887         (write_nis_obj): Use "c" and "e" in fopen.
85889         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
85891         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
85893         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
85895         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
85897         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
85898         locale.alias.
85900         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
85902         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
85904         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
85906         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
85907         file parsing and set FD_CLOEXEC.
85909 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85911         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
85913 2011-11-14  Andreas Schwab  <schwab@redhat.com>
85915         * malloc/arena.c (arena_get2): Don't call reused_arena when
85916         _int_new_arena failed.
85918 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
85920         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
85921         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
85922         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
85923         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85924         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85925         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
85926         to compile strcasecmp and strncasecmp.
85927         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
85928         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
85930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
85932 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
85934         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
85935         locale-defines.sym to gen-as-const-headers.
85936         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
85937         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
85938         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
85939         to compile strcasecmp and strncasecmp.
85940         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
85941         strcasecmp_l and strncasecmp_l.
85942         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
85943         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
85944         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
85945         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
85946         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
85947         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
85948         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
85949         * sysdeps/i386/i686/multiarch/strncase.S: New file.
85950         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
85951         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
85952         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
85954 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
85956         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
85957         result of SYSDEP_GETTIME_CPU to retval.
85958         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
85959         parameter list to macro.  Remove trailing semicolon.  Adjust users.
85961         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
85962         variable.
85964         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
85965         mantissa words.
85966         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
85968         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
85969         from unused variable.
85971         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
85972         DWARF definitions.
85973         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
85974         for assembling.
85976         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
85977         over namespaces.
85979         * sunrpc/rpc_prot.c (rejected): Fix case value.
85981         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
85982         unsigned long long int to avoid warnings in shift.
85984         * posix/regex_internal.c (re_string_reconstruct): Actually use result
85985         of use of trans.
85986         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
85987         variable tmp.
85989         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
85990         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
85991         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
85993         * nis/nis_table.c (nis_list): Use variable of correct type for
85994         result of __follow_path call.
85996 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85998         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
85999         of math functions ceil, trunc, floor, round, and sqrt, when
86000         avaliable on the platform.
86001         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86002         name clash.
86003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86004         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86005         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86007 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86009         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86010         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86012 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86014         * include/unistd.h: Fix __readlink return type.
86015         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86017 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86019         * stdlib/ucontext.h: Undo last change for makecontext.
86021 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86023         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86025         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86026         * setjmp/setjmp.h: Mark functions as non-leaf.
86027         * setjmp/bits/setjmp2.h: Likewise.
86028         * stdlib/ucontext.h: Likewise.
86030 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86032         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86033         (reused_arena): Don't check arena limit.
86034         (arena_get2): Atomically check arena limit.
86036 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86038         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86039         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86042         instructions.
86044 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86046         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86047         handler when locking.
86049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86050         Fix size of allocated buffer.
86052 2011-11-04  Andreas Schwab  <schwab@redhat.com>
86054         [BZ #10103]
86055         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
86056         declarations for long double functions.
86057         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
86059         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
86061 2011-11-03  Andreas Schwab  <schwab@redhat.com>
86063         * nscd/nscd.c (main): Don't start AVC thread until credentials are
86064         installed.
86066         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
86067         is disabled.
86069 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86071         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
86073 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
86075         * include/alloca.h (stackinfo_alloca_round): Define.
86076         (extend_alloca): Use it.
86077         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
86078         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
86079         here.
86081         * scripts/check-local-headers.sh: Ignore libaudit.h.
86083         * nscd/Makefile (extra-objs): Make recursively expanded.
86085 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
86087         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
86088         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
86090         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
86091         * posix/tst-rfc3484-2.c: Likewise.
86092         * posix/tst-rfc3484-3.c: Likewise.
86094         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86095         process_vm_writev.
86096         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
86097         process_vm_writev.
86098         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
86099         process_vm_writev from libc using GLIBC_2.15 version.
86101         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
86103 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
86105         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
86106         stack usage.
86108 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
86110         [BZ #13367]
86111         * nss/getent.c (initgroups_keys): Show error message in case no group
86112         names are given.
86114         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
86115         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
86116         __bump_nl_timestamp.
86117         * nscd/connections (nscd_init): When host database is served open
86118         netlink socket and request notification about configuration changes.
86119         (main_loop_poll): Track netlink file descriptor and bump timestamp
86120         in case data becomes available.
86121         (main_loop_epoll): Likewise.
86122         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
86123         (database_pers_head): Add extra_data fileds.
86124         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
86125         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
86126         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
86127         Adjust caller.
86128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
86129         in6ai data, call __free_in6ai.
86130         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
86131         Add -DHAVE_NETLINK.
86132         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
86133         interface information.  Reuse previous data if netlink timestamp
86134         is not changed.
86135         (__bump_nl_timestamp): New function.
86136         (__free_in6ai): New function.
86138 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
86140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
86141         close_not_cancel_no_status here.
86142         (__check_pf): Reorganize code a bit to not call close twice if OOM.
86144 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86146         [BZ #13276]
86147         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
86148         return value.
86150         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
86151         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
86152         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
86154 2011-07-03  Andreas Jaeger  <aj@suse.de>
86156         [BZ #10709]
86157         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
86158         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
86159         * math/libm-test.inc (sin_test): Add test case.
86161 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
86163         [BZ #13337]
86164         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
86165         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86167         * elf/chroot_canon.c (chroot_canon): Cleanups.
86169         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
86171         [BZ #13335]
86172         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
86173         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
86175         * string/test-strchr.c: Make usable for strchrnul testing.
86176         * string/test-strchrnul.c: New file.
86177         * string/Makefile (strop-tests): Add strchrnul.
86179         * po/it.po: Update from translation team.
86180         * po/es.po: Likewise.
86182 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
86184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
86185         the three constants needed as parameters.  Drop the others.
86186         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
86187         __m128i_strloadu_tolower.
86188         Create and initialize variable zero and use it in all the places
86189         where _mm_setzero_si128 was used.
86191         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
86192         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
86193         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
86194         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
86195         anymore.
86196         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
86197         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
86198         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
86199         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
86200         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
86201         __mpranred, __mptan.
86202         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
86203         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
86204         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
86205         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
86206         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
86207         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
86208         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
86209         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
86210         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
86212 2011-10-28  Andreas Schwab  <schwab@redhat.com>
86214         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
86215         redefine if SHARED.
86216         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
86218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
86219         wide char related routines to wcsmbs subdir.
86221 2011-10-27  Andreas Schwab  <schwab@redhat.com>
86223         [BZ #13344]
86224         * misc/sys/cdefs.h (__THROWNL): Define.
86225         * posix/unistd.h: Use __THREADNL instead of __THREAD
86226         for memory synchronization functions.
86228 2011-10-26  Roland McGrath  <roland@hack.frob.com>
86230         [BZ #13349]
86231         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
86232         doesn't exist.
86233         * manual/stdio.texi (Obstack Streams): Node removed.
86235 2011-10-26  Andreas Schwab  <schwab@redhat.com>
86237         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
86238         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86239         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86241         * math/math_private.h (math_force_eval): Allow non-addressable
86242         arguments.
86243         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
86245 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86247         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
86248         file is not needed.
86250         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
86251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
86252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86253         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86255         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86256         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86257         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
86258         Add AVX variants.
86259         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
86260         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
86261         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
86262         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
86263         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
86264         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
86265         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
86266         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
86267         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
86268         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
86269         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
86270         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
86271         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
86272         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
86273         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
86274         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
86275         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
86276         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
86277         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
86279         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
86280         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
86282         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
86283         place.  Use VEX encoding when compiling for AVX.
86285 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86287         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
86288         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
86290         * string/test-strchr.c (do_test): Don't generate NUL bytes.
86292 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86294         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
86295         useless if() expression.
86296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86297         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86298         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86299         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86301         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86302         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86303         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86304         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86305         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86306         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86307         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86308         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86309         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86310         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86313         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86314         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86316         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
86318 2011-10-25  Andreas Schwab  <schwab@redhat.com>
86320         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
86321         condition.
86322         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86324 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
86326         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
86327         .text section.  Avoid duplicate constants.
86328         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86330         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86332         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86336         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
86337         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
86338         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
86339         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
86340         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
86341         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
86342         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
86343         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
86344         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
86345         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
86346         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86347         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86348         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86349         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86350         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86351         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
86352         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
86353         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
86354         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
86355         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
86356         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
86357         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
86358         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
86359         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
86360         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
86361         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
86362         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
86363         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
86364         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
86365         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
86366         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
86367         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
86368         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
86369         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
86370         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
86371         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
86372         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
86374 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
86376         * sysdeps/x86_64/dla.h: Move to ...
86377         * sysdeps/x86_64/fpu/dla.h: ...here.
86378         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
86379         situations.  Use __builtin_fma only for gcc 4.6 and up.
86381         * config.make.in: Add have-mfma4 entry.
86382         * configure.in: Substitute libc_cv_cc_fma4.
86383         * math/Makefile (dbl-only-routines): Add sincostab.
86384         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
86385         Use __sincostab not sincos.
86386         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
86387         name is a macro.
86388         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86389         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86390         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
86392         using __copysign.
86393         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
86394         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
86395         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
86396         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
86397         and __inv.
86398         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86399         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
86400         __copysign.
86401         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
86402         define aliases when function name is a macro.
86403         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
86404         sysdeps/ieee754/dbl-64/sincos.tbl.
86405         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
86406         fma4-enabled routines.
86407         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
86408         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
86409         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
86410         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
86411         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
86412         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
86413         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
86414         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
86415         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
86416         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
86417         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
86418         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
86419         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
86420         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
86421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
86422         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
86423         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
86424         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
86425         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
86426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
86427         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
86428         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
86429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
86430         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
86431         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
86432         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
86433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
86434         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
86435         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
86436         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
86438         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
86439         rename.
86440         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86442         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86444         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86449 2011-10-24  Andreas Schwab  <schwab@redhat.com>
86451         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
86453 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
86457         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
86458         prediction.
86459         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
86461         * string/strnlen.c: Don't define STRNLEN, reverse logic.
86462         Remove unused variable magic_bits.
86463         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
86465         * string/strnlen.c: Define and use STRNLEN macro.
86466         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
86467         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
86468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
86469         * wcsmbs/wcslen.c: Define and use WCSLEN.
86470         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
86471         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
86472         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
86473         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
86474         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
86475         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
86476         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86478 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86481         strnlen-sse2-no-bsf.
86482         Rename strlen-no-bsf to strlen-sse2-no-bsf.
86483         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
86484         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
86485         Add strnlen support.
86486         (USE_AS_STRNLEN): New macro.
86487         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
86488         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
86489         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
86490         * sysdeps/x86_64/wcslen.S: New file.
86492 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
86494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
86495         XMM-moves are used for copying on small sizes.
86497 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86499         * wcsmbs/Makefile (strop-tests): Add wcschr.
86500         * wcsmbs/test-wcschr.c: New file.
86501         * string/test-strchr.c: Update.
86502         Add wcschr support.
86503         (WIDE): New macro.
86505 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86507         * wcsmbs/Makefile (strop-tests): Add wcslen.
86508         * wcsmbs/test-wcslen.c: New file.
86509         * string/test-strlen.c: Update.
86510         Add wcslen support.
86511         (WIDE): New macro.
86513 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86515         * po/it.po: Update from translation team.
86517 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86519         * sysdeps/x86_64/wcscmp.S: Update.
86520         Fix wrong comparison semantics.
86521         wcscmp shall use signed comparison not unsigned.
86522         Don't use substraction to avoid overflow bug.
86523         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
86524         * wcsmbc/wcscmp.c: Likewise.
86525         * string/test-strcmp.c: Likewise.
86526         Add new tests to check cases with negative values.
86528 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
86530         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
86531         * sysdeps/x86_64/dla.h: ...here.  New file.
86532         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
86533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86534         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86537         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86539         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86542 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
86544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
86545         __ynl_finite aliases.
86547 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86551         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
86552         define DLA_FMA.
86553         [DLA_FMA] (EMULV): Use DLA_FMA.
86554         [DLA_FMA] (MUL12): Use EMULV.
86555         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
86556         that are not needed.
86557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86565 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
86567         * math/s_nan.c: Undef __nan.
86568         * math/s_nanf.c: Undef __nanf.
86569         * math/s_nanl.c: Undef __nanl.
86570         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
86571         "math_private.h".
86573 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
86575         * math/s_catan.c: Add branch predictions.
86576         * math/s_catanf.c: Likewise.
86577         * math/s_catanh.c: Likewise.
86578         * math/s_catanhf.c: Likewise.
86579         * math/s_catanhl.c: Likewise.
86580         * math/s_catanl.c: Likewise.
86581         * math/s_cexp.c: Likewise.
86582         * math/s_cexpf.c: Likewise.
86583         * math/s_cexpl.c: Likewise.
86584         * math/s_clog.c: Likewise.
86585         * math/s_clog10.c: Likewise.
86586         * math/s_clog10f.c: Likewise.
86587         * math/s_clog10l.c: Likewise.
86588         * math/s_clogf.c: Likewise.
86589         * math/s_clogl.c: Likewise.
86590         * math/s_csqrt.c: Likewise.
86591         * math/s_csqrtf.c: Likewise.
86592         * math/s_csqrtl.c: Likewise.
86593         * math/s_ctanf.c: Likewise.
86594         * math/s_ctanh.c: Likewise.
86595         * math/s_ctanhf.c: Likewise.
86596         * math/s_ctanhl.c: Likewise.
86597         * math/s_ctanl.c: Likewise.
86599         * math/math_private.h: Define __nan, __nanf, __nanl.
86600         * math/s_cacosh.c: Include <math_private.h>.
86601         * math/s_cacoshl.c: Likewise.
86602         * math/s_casinh.c: Likewise.
86603         * math/s_casinhf.c: Likewise.
86604         * math/s_casinhl.c: Likewise.
86605         * math/s_ccos.c: Rely entire on ccosh.
86606         * math/s_ccosf.c: Rely entire on ccoshf.
86607         * math/s_ccosl.c: Rely entirely on ccoshl.
86608         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
86609         Remove tests for FE_INVALID.
86610         * math/s_ccoshf.c: Likewise.
86611         * math/s_ccoshl.c: Likewise.
86612         * math/s_csin.c: Likewise.
86613         * math/s_csinf.c: Likewise.
86614         * math/s_csinh.c Likewise.
86615         * math/s_csinhf.c: Likewise.
86616         * math/s_csinhl.c: Likewise.
86617         * math/s_csinl.c: Likewise.
86618         * math/s_ctan.c: Likewise.
86619         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
86620         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
86621         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
86623 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
86625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
86626         compilation problems.
86628         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
86629         __builtin_expect.
86631 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
86633         * sysdeps/i386/configure.in: Test for -mfma4 option.
86634         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
86635         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
86636         COMMON_CPUID_INDEX_80000001.
86637         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
86638         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
86639         use it if FMA3 is not supported.
86640         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
86642         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
86643         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86645 2011-10-20  Andreas Schwab  <schwab@redhat.com>
86647         [BZ #12892]
86648         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
86649         it would create a cycle with a link time dependency.
86651 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
86653         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
86654         instruction.
86655         * string/Makefile (strop-tests): Add rawmemchr.
86656         * string/test-rawmemchr.c: New file.
86658         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
86659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
86660         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
86661         when compiling str{,n}casecmp and when AVX is available.  Hook up
86662         new optimized code in initializers.
86664 2011-10-19  Andreas Schwab  <schwab@redhat.com>
86666         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
86667         __feraiseexcept instead of feraiseexcept.
86669 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
86671         * math/math_private.h: Define defaults for libc_fetestexcept and
86672         libc_feupdateenv.
86673         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
86674         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
86675         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
86676         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86677         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86678         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86679         libc_fetestexcept and libc_feupdateenv.
86681         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
86682         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
86683         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
86684         * sysdeps/x86_64/fpu/math_private.h: Define special version of
86685         libc_feholdexcept_setround.
86687         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
86688         Add s_nearbyint-c and s_nearbyintf-c.
86689         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
86690         nearbyintf inlines.
86691         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
86692         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
86693         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
86694         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
86696         * math/math_private.h: Define defaults for libc_fegetround,
86697         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
86698         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
86699         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
86700         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
86701         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
86702         standard functions.
86703         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
86704         Remove comments and hacks for old compiler versions.
86705         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
86706         libc_fegetround, libc_fesetround, libc_feholdexcept, and
86707         libc_feholdexceptl.
86709 2011-10-18  Andreas Schwab  <schwab@redhat.com>
86711         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
86712         (__feraiseexcept_renamed): Add __NTH.
86713         (feraiseexcept): Add __NTH.  Rename local variables to fix
86714         namespace violations.
86716 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
86718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
86720         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
86722         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
86723         recently added interfaces.
86724         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
86726         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
86727         about macro parameter expansion.
86729         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
86730         __NO_MATH_INLINES is defined.  Cleanups.
86732         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
86733         and __floorf is target has SSE4.1.
86734         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
86735         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
86736         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
86737         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
86739         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
86740         name.
86741         (floorf): Likewise.
86743         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
86745 2011-10-17  Andreas Schwab  <schwab@redhat.com>
86747         * misc/sys/cdefs.h: Fix last change.
86749         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
86750         database lookup.
86752 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
86754         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
86756         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
86757         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86759         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86760         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86761         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86762         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86763         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86764         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86765         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
86766         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
86767         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
86768         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
86769         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
86770         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
86771         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
86772         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
86773         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
86774         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
86775         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
86776         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
86777         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
86779         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
86780         ceil, ceilf, floor, floorf.
86782         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
86783         Perform IRELATIVE relocations last.
86785         * elf/do-rel.h: Add another parameter nrelative, replacing the
86786         local variable with the same name.  Change name of the function
86787         to end in Rel or Rela (uppercase).
86788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
86789         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
86790         elf_dynamic_do_##reloc function.
86792 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86794         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
86795         is sufficient, at least on modern CPUs.
86797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
86799         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
86800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
86802         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
86803         __expl_finite.
86804         * math/bits/math-finite.h: Add entries for exp.
86805         * math/e_expl.c: Add __*_finite alias.
86806         * sysdeps/i386/fpu/e_exp.S: Likewise.
86807         * sysdeps/i386/fpu/e_expf.S: Likewise.
86808         * sysdeps/i386/fpu/e_expl.c: Likewise.
86809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
86811         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
86812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
86813         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
86814         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86815         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86817         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
86818         is sufficient, at least on modern CPUs.
86820         * ctype/ctype-info.c (__ctype_init): Define.
86821         * include/ctype.h (__ctype_init): Declare.
86822         (__ctype_b_loc): The variable is always initialized.
86823         (__ctype_toupper_loc): Likewise.
86824         (__ctype_tolower_loc): Likewise.
86825         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
86826         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
86828 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
86830         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
86832         * configure.in: Also look in $cxxmachine/include for C++ system
86833         headers.
86835 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86837         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
86838         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
86839         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
86840         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
86841         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
86842         (USE_AS_WMEMCMP): New macro.
86843         Fixing indents.
86844         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
86845         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
86846         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
86847         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
86848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86849         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
86850         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
86851         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
86852         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
86853         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
86854         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
86855         (USE_AS_WMEMCMP): New macro.
86856         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
86857         * sysdeps/string/test-memcmp.c: Update.
86858         Fix simple_wmemcmp.
86859         Add new tests.
86860         * wcsmbs/wmemcmp.c: Update.
86861         (WMEMCMP): New macro.
86862         Fix overflow bug.
86864 2011-10-12  Andreas Jaeger  <aj@suse.de>
86866         [BZ #13268]
86867         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
86869 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
86871         * libio/iofwide.c (do_length): Avoid warning.
86873         * ctype/ctype.h (__isctype_f): Add missing __THROW.
86875 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
86877         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
86879         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
86880         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
86881         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
86882         * sysdeps/i386/i686/fpu/e_log.S: New file.
86883         * sysdeps/i386/i686/fpu/e_logf.S: New file.
86884         * sysdeps/i386/i686/fpu/e_logl.S: New file.
86886         * ctype/ctype.h: Add support for inlined isXXX functions when
86887         compiling C++ code.
86889 2011-10-14  Andreas Schwab  <schwab@redhat.com>
86891         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86893         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
86895 2011-10-13  Roland McGrath  <roland@hack.frob.com>
86897         [BZ #13291]
86898         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
86900 2011-10-13  Andreas Schwab  <schwab@redhat.com>
86902         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
86903         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
86904         feraiseexcept.
86906         * sysdeps/x86_64/memrchr.S: Check for zero size.
86908         * string/stratcliff.c: Add memrchr tests.
86910 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86913         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
86914         rawmemchr-sse2 rawmemchr-sse2-bsf.
86915         * sysdeps/i386/i686/multiarch/memchr.S: New file.
86916         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
86917         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
86918         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
86919         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
86920         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
86921         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
86922         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
86923         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
86924         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
86925         * string/memrchr.c (MEMRCHR): New macro.
86927 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
86929         Add integration with gcc's -ffinite-math-only and optimize wrapper
86930         functions in libm.
86931         * Versions.def: Define GLIBC_2.15 version for libm.
86932         * math/Makefile (headers): Add bits/math-finite.h.
86933         * math/bits/math-finite.h: New file.
86934         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
86935         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
86936         * math/e_acoshl.c: Add __*_finite alias.
86937         * math/e_acosl.c: Likewise.
86938         * math/e_asinl.c: Likewise.
86939         * math/e_atan2l.c: Likewise.
86940         * math/e_atanhl.c: Likewise.
86941         * math/e_coshl.c: Likewise.
86942         * math/e_exp10.c: Likewise.
86943         * math/e_exp10f.c: Likewise.
86944         * math/e_exp10l.c: Likewise.
86945         * math/e_exp2l.c: Likewise.
86946         * math/e_fmodl.c: Likewise.
86947         * math/e_gammal_r.c: Likewise.
86948         * math/e_hypotl.c: Likewise.
86949         * math/e_j0l.c: Likewise.
86950         * math/e_j1l.c: Likewise.
86951         * math/e_jnl.c: Likewise.
86952         * math/e_lgammal_r.c: Likewise.
86953         * math/e_log10l.c: Likewise.
86954         * math/e_log2l.c: Likewise.
86955         * math/e_logl.c: Likewise.
86956         * math/e_powl.c: Likewise.
86957         * math/e_sinhl.c: Likewise.
86958         * math/e_sqrtl.c: Likewise.
86959         * math/e_scalb.c: Completely rewritten and optimized.
86960         * math/e_scalbf.c: Likewise.
86961         * math/e_scalbl.c: Likewise.
86962         * math/w_acos.c: Likewise.
86963         * math/w_acosf.c: Likewise.
86964         * math/w_acosl.c: Likewise.
86965         * math/w_acosh.c: Likewise.
86966         * math/w_acoshf.c: Likewise.
86967         * math/w_acoshl.c: Likewise.
86968         * math/w_asin.c: Likewise.
86969         * math/w_asinf.c: Likewise.
86970         * math/w_asinl.c: Likewise.
86971         * math/w_atan2.c: Likewise.
86972         * math/w_atan2f.c: Likewise.
86973         * math/w_atan2l.c: Likewise.
86974         * math/w_atanh.c: Likewise.
86975         * math/w_atanhf.c: Likewise.
86976         * math/w_atanhl.c: Likewise.
86977         * math/w_exp10.c: Likewise.
86978         * math/w_exp10f.c: Likewise.
86979         * math/w_exp10l.c: Likewise.
86980         * math/w_fmod.c: Likewise.
86981         * math/w_fmodf.c: Likewise.
86982         * math/w_fmodl.c: Likewise.
86983         * math/w_j0.c: Likewise.
86984         * math/w_j0f.c: Likewise.
86985         * math/w_j0l.c: Likewise.
86986         * math/w_j1.c: Likewise.
86987         * math/w_j1f.c: Likewise.
86988         * math/w_j1l.c: Likewise.
86989         * math/w_jn.c: Likewise.
86990         * math/w_jnf.c: Likewise.
86991         * math/w_log.c: Likewise.
86992         * math/w_logf.c: Likewise.
86993         * math/w_logl.c: Likewise.
86994         * math/w_log10.c: Likewise.
86995         * math/w_log10f.c: Likewise.
86996         * math/w_log10l.c: Likewise.
86997         * math/w_log2.c: Likewise.
86998         * math/w_log2f.c: Likewise.
86999         * math/w_log2l.c: Likewise.
87000         * math/w_pow.c: Likewise.
87001         * math/w_powf.c: Likewise.
87002         * math/w_powl.c: Likewise.
87003         * math/w_remainder.c: Likewise.
87004         * math/w_remainderf.c: Likewise.
87005         * math/w_remainderl.c: Likewise.
87006         * math/w_scalb.c: Likewise.
87007         * math/w_scalbf.c: Likewise.
87008         * math/w_scalbl.c: Likewise.
87009         * math/w_sqrt.c: Likewise.
87010         * math/w_sqrtf.c: Likewise.
87011         * math/w_sqrtl.c: Likewise.
87012         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87013         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87014         used.
87015         * math/math_private.h: Declare __kernel_standard_f.
87016         * math/w_cosh.c: Remove cruft and optimize a bit.
87017         * math/w_coshf.c: Likewise.
87018         * math/w_coshl.c: Likewise.
87019         * math/w_exp2.c: Likewise.
87020         * math/w_exp2f.c: Likewise.
87021         * math/w_exp2l.c: Likewise.
87022         * math/w_hypot.c: Likewise.
87023         * math/w_hypotf.c: Likewise.
87024         * math/w_hypotl.c: Likewise.
87025         * math/w_lgamma.c: Likewise.
87026         * math/w_lgamma_r.c: Likewise.
87027         * math/w_lgammaf.c: Likewise.
87028         * math/w_lgammaf_r.c: Likewise.
87029         * math/w_lgammal.c: Likewise.
87030         * math/w_lgammal_r.c: Likewise.
87031         * math/w_sinh.c: Likewise.
87032         * math/w_sinhf.c: Likewise.
87033         * math/w_sinhl.c: Likewise.
87034         * math/w_tgamma.c: Likewise.
87035         * math/w_tgammaf.c: Likewise.
87036         * math/w_tgammal.c: Likewise.
87037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87038         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87039         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87040         Minor optimizations.  Pretty printing.  Remove cruft.
87041         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87042         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87043         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87044         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87045         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87046         * sysdeps/i386/fpu/e_asin.S: Likewise.
87047         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87048         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87049         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
87050         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
87051         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87052         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87053         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87054         * sysdeps/i386/fpu/e_exp10.S: Likewise.
87055         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
87056         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
87057         * sysdeps/i386/fpu/e_exp2.S: Likewise.
87058         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
87059         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
87060         * sysdeps/i386/fpu/e_fmod.S: Likewise.
87061         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
87062         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
87063         * sysdeps/i386/fpu/e_hypot.S: Likewise.
87064         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
87065         * sysdeps/i386/fpu/e_log.S: Likewise.
87066         * sysdeps/i386/fpu/e_log10.S: Likewise.
87067         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87068         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87069         * sysdeps/i386/fpu/e_log2.S: Likewise.
87070         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87071         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87072         * sysdeps/i386/fpu/e_logf.S: Likewise.
87073         * sysdeps/i386/fpu/e_logl.S: Likewise.
87074         * sysdeps/i386/fpu/e_pow.S: Likewise.
87075         * sysdeps/i386/fpu/e_powf.S: Likewise.
87076         * sysdeps/i386/fpu/e_powl.S: Likewise.
87077         * sysdeps/i386/fpu/e_remainder.S: Likewise.
87078         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
87079         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
87080         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87081         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87082         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87083         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
87084         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
87085         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
87086         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87087         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87088         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87089         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87090         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87091         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87092         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
87093         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87094         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87095         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87096         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87097         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87099         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87100         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87102         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87103         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87104         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87106         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87107         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87108         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87109         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87110         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87111         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87112         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87113         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87114         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
87115         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87116         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87117         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87118         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87119         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87120         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87121         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87122         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87123         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87124         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87125         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87126         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87127         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87128         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87129         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87130         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87131         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87132         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87133         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87134         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87135         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
87136         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87137         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87138         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87139         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87141         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87142         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87143         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87144         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87145         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87146         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87147         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87148         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87149         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87150         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87151         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87152         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87153         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87154         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
87155         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87156         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87157         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87159         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87160         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87161         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87162         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87163         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87164         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87165         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87166         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87167         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
87169         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87170         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87171         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87173         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87174         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87175         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87176         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87177         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87178         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87179         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
87180         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87181         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87182         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87183         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
87184         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
87185         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
87186         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
87187         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
87188         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
87189         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
87190         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87191         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87192         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87193         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87194         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
87195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87196         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
87197         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
87198         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
87199         (__isnanf): Likewise.
87200         (__isinf_ns): Likewise.
87201         (__isinf_nsf): Likewise.
87202         (__finite): Likewise.
87203         (__finitef): Likewise.
87204         (__ieee754_sqrt): Define as macro.
87205         (__ieee754_sqrtf): Define as macro.
87206         (__ieee754_sqrtl): Define as macro.
87207         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
87208         inlined copy.
87209         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
87210         __FINITE_MATH_ONLY__ consistent.
87211         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
87213 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
87215         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
87216         of rawmemchr.
87218         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
87220 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
87222         * po/ja.po: Update from translation team.
87224 2011-10-08  Roland McGrath  <roland@hack.frob.com>
87226         * locale/programs/locarchive.c (prepare_address_space): New function.
87227         (create_archive, enlarge_archive, open_archive): Use it.
87229         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
87230         inside [SHARED], where it is used.
87232         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
87234         * nss/getent.c (netgroup_keys): Remove unused variable.
87235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87237 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
87239         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
87240         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
87241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
87242         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
87243         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
87244         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
87245         * math/Makefile (libm-calls): Add s_isinf_ns.
87246         * math/divtc3.c: Use __isinf_nsl instead of isinf.
87247         * math/multc3.c: Likewise.
87248         * math/s_casin.c: Likewise.
87249         * math/s_casinf.c: Likewise.
87250         * math/s_casinl.c: Likewise.
87251         * math/s_ccos.c: Likewise.
87252         * math/s_ccosf.c: Likewise.
87253         * math/s_ccosl.c: Likewise.
87254         * math/s_ctan.c: Likewise.
87255         * math/s_ctanf.c: Likewise.
87256         * math/s_ctanh.c: Likewise.
87257         * math/s_ctanhf.c: Likewise.
87258         * math/s_ctanhl.c: Likewise.
87259         * math/s_ctanl.c: Likewise.
87260         * math/w_fmod.c: Likewise.
87261         * math/w_fmodf.c: Likewise.
87262         * math/w_fmodl.c: Likewise.
87263         * math/w_remainder.c: Likewise.
87264         * math/w_remainderf.c: Likewise.
87265         * math/w_remainderl.c: Likewise.
87266         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
87267         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
87268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
87269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
87270         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
87271         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
87272         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
87273         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
87275         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
87276         of the number.
87277         * stdio-common/printf_fphex.c: Likewise.
87278         * stdio-common/printf_size.c: Likewise.
87280         * math/e_exp10.c: Include math_private.h using <...> not "...".
87281         * math/e_exp10f.c: Likewise.
87282         * math/e_exp10l.c: Likewise.
87283         * math/e_exp2l.c: Likewise.
87284         * math/e_j0l.c: Likewise.
87285         * math/e_j1l.c: Likewise.
87286         * math/e_jnl.c: Likewise.
87287         * math/e_lgammal_r.c: Likewise.
87288         * math/e_rem_pio2l.c: Likewise.
87289         * math/e_scalb.c: Likewise.
87290         * math/e_scalbf.c: Likewise.
87291         * math/e_scalbl.c: Likewise.
87292         * math/k_cosl.c: Likewise.
87293         * math/k_sinl.c: Likewise.
87294         * math/k_tanl.c: Likewise.
87295         * math/s_cacoshf.c: Likewise.
87296         * math/s_catan.c: Likewise.
87297         * math/s_catanf.c: Likewise.
87298         * math/s_catanh.c: Likewise.
87299         * math/s_catanhf.c: Likewise.
87300         * math/s_catanhl.c: Likewise.
87301         * math/s_catanl.c: Likewise.
87302         * math/s_ccosh.c: Likewise.
87303         * math/s_ccoshf.c: Likewise.
87304         * math/s_ccoshl.c: Likewise.
87305         * math/s_cexp.c: Likewise.
87306         * math/s_cexpf.c: Likewise.
87307         * math/s_cexpl.c: Likewise.
87308         * math/s_clog.c: Likewise.
87309         * math/s_clog10.c: Likewise.
87310         * math/s_clog10f.c: Likewise.
87311         * math/s_clog10l.c: Likewise.
87312         * math/s_clogf.c: Likewise.
87313         * math/s_clogl.c: Likewise.
87314         * math/s_csin.c: Likewise.
87315         * math/s_csinf.c: Likewise.
87316         * math/s_csinh.c: Likewise.
87317         * math/s_csinhf.c: Likewise.
87318         * math/s_csinhl.c: Likewise.
87319         * math/s_csinl.c: Likewise.
87320         * math/s_csqrt.c: Likewise.
87321         * math/s_csqrtf.c: Likewise.
87322         * math/s_csqrtl.c: Likewise.
87323         * math/s_ctan.c: Likewise.
87324         * math/s_ctanf.c: Likewise.
87325         * math/s_ctanh.c: Likewise.
87326         * math/s_ctanhf.c: Likewise.
87327         * math/s_ctanhl.c: Likewise.
87328         * math/s_ctanl.c: Likewise.
87329         * math/s_ldexp.c: Likewise.
87330         * math/s_ldexpf.c: Likewise.
87331         * math/s_ldexpl.c: Likewise.
87332         * math/s_significand.c: Likewise.
87333         * math/s_significandf.c: Likewise.
87334         * math/s_significandl.c: Likewise.
87335         * math/w_acos.c: Likewise.
87336         * math/w_acosf.c: Likewise.
87337         * math/w_acosh.c: Likewise.
87338         * math/w_acoshf.c: Likewise.
87339         * math/w_acoshl.c: Likewise.
87340         * math/w_acosl.c: Likewise.
87341         * math/w_asin.c: Likewise.
87342         * math/w_asinf.c: Likewise.
87343         * math/w_asinl.c: Likewise.
87344         * math/w_atan2.c: Likewise.
87345         * math/w_atan2f.c: Likewise.
87346         * math/w_atan2l.c: Likewise.
87347         * math/w_atanh.c: Likewise.
87348         * math/w_atanhf.c: Likewise.
87349         * math/w_atanhl.c: Likewise.
87350         * math/w_cosh.c: Likewise.
87351         * math/w_coshf.c: Likewise.
87352         * math/w_coshl.c: Likewise.
87353         * math/w_dremf.c: Likewise.
87354         * math/w_exp10.c: Likewise.
87355         * math/w_exp10f.c: Likewise.
87356         * math/w_exp10l.c: Likewise.
87357         * math/w_exp2.c: Likewise.
87358         * math/w_exp2f.c: Likewise.
87359         * math/w_fmod.c: Likewise.
87360         * math/w_fmodf.c: Likewise.
87361         * math/w_fmodl.c: Likewise.
87362         * math/w_hypot.c: Likewise.
87363         * math/w_hypotf.c: Likewise.
87364         * math/w_hypotl.c: Likewise.
87365         * math/w_j0.c: Likewise.
87366         * math/w_j0f.c: Likewise.
87367         * math/w_j0l.c: Likewise.
87368         * math/w_j1.c: Likewise.
87369         * math/w_j1f.c: Likewise.
87370         * math/w_j1l.c: Likewise.
87371         * math/w_jn.c: Likewise.
87372         * math/w_jnf.c: Likewise.
87373         * math/w_jnl.c: Likewise.
87374         * math/w_lgamma.c: Likewise.
87375         * math/w_lgamma_r.c: Likewise.
87376         * math/w_lgammaf.c: Likewise.
87377         * math/w_lgammaf_r.c: Likewise.
87378         * math/w_lgammal.c: Likewise.
87379         * math/w_lgammal_r.c: Likewise.
87380         * math/w_log.c: Likewise.
87381         * math/w_log10.c: Likewise.
87382         * math/w_log10f.c: Likewise.
87383         * math/w_log10l.c: Likewise.
87384         * math/w_log2.c: Likewise.
87385         * math/w_log2f.c: Likewise.
87386         * math/w_log2l.c: Likewise.
87387         * math/w_logf.c: Likewise.
87388         * math/w_logl.c: Likewise.
87389         * math/w_pow.c: Likewise.
87390         * math/w_powf.c: Likewise.
87391         * math/w_powl.c: Likewise.
87392         * math/w_remainder.c: Likewise.
87393         * math/w_remainderf.c: Likewise.
87394         * math/w_remainderl.c: Likewise.
87395         * math/w_scalb.c: Likewise.
87396         * math/w_scalbf.c: Likewise.
87397         * math/w_scalbl.c: Likewise.
87398         * math/w_sinh.c: Likewise.
87399         * math/w_sinhf.c: Likewise.
87400         * math/w_sinhl.c: Likewise.
87401         * math/w_sqrt.c: Likewise.
87402         * math/w_sqrtf.c: Likewise.
87403         * math/w_sqrtl.c: Likewise.
87404         * math/w_tgamma.c: Likewise.
87405         * math/w_tgammaf.c: Likewise.
87406         * math/w_tgammal.c: Likewise.
87408         * po/ja.po: Update from translation team.
87410 2011-09-29  Andreas Jaeger  <aj@suse.de>
87412         [BZ #13179]
87413         * sunrpc/netname.c (netname2host): Fix logic.
87415         [BZ #6779]
87416         [BZ #6783]
87417         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
87418         correctly.
87419         * math/w_remainder.c (__remainder): Likewise.
87420         * math/w_remainderf.c (__remainderf): Likewise.
87421         * math/libm-test.inc (remainder_test): Add test cases.
87423 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87425         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
87426         sdiv_qrnnd.
87428 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87430         * string/test-memcmp.c: Avoid unncessary #defines.
87431         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87433 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87435         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
87436         Use new sse2 version for core i3 - i7 as it's faster
87437         than sse42 version.
87438         (bit_Prefer_PMINUB_for_stringop): New.
87439         * sysdeps/x86_64/rawmemchr.S: Update.
87440         Replace with faster SSE2 version.
87441         * sysdeps/x86_64/memrchr.S: New file.
87442         * sysdeps/x86_64/memchr.S: Update.
87443         Replace with faster SSE2 version.
87445 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
87447         * elf/dl-load.c (lose): Add cast to avoid warning.
87449 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
87451         * po/ca.po: Update from translation team.
87453         * inet/getnetgrent_r.c: Hook up nscd.
87454         * nscd/Makefile (routines): Add nscd_netgroup.
87455         (nscd-modules): Add netgroupcache.
87456         (CFLAGS-netgroupcache.c): Define.
87457         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
87458         (cache_search): Add const to second parameter.
87459         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
87460         INNETGR.
87461         (dbs): Add netgrdb entry.
87462         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
87463         (verify_persistent_db): Handle netgrdb.
87464         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
87465         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
87466         GETFDNETGR.
87467         (netgroup_response_header): Define.
87468         (innetgroup_response_header): Define.
87469         (datahead): Add netgroup_response_header and innetgroup_response_header
87470         elements.
87471         * nscd/nscd.conf: Add entries for netgroup cache.
87472         * nscd/nscd.h (dbtype): Add netgrdb.
87473         (_PATH_NSCD_NETGROUP_DB): Define.
87474         (netgroup_iov_disabled): Declare.
87475         (xmalloc, xcalloc, xrealloc): Move declarations here.
87476         (cache_search): Adjust prototype.
87477         Add netgroup-related prototypes.
87478         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
87479         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
87480         (__nscd_innetgr): Declare.
87481         * nscd/selinux.c (perms): Use access_vector_t as element type and
87482         add netgroup-related initializers.
87483         * nscd/netgroupcache.c: New file.
87484         * nscd/nscd_netgroup.c: New file.
87485         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
87486         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
87487         For four parameters use innetgr.
87488         * nss/nss_files/files-init.c: Add definition and callback for netgr.
87489         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
87490         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
87491         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
87493         * nscd/connections.c (register_traced_file): Don't register file
87494         for disabled databases.
87496 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
87498         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
87500         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
87501         from tree and freeing node.
87503 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
87505         * nss/nsswitch.c (__nss_database_lookup): Handle
87506         nss_parse_service_list out of memory case.
87508 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
87510         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
87511         out of memory case.
87513 2011-10-04  Andreas Schwab  <schwab@redhat.com>
87515         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
87516         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
87517         pass it down.
87518         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
87519         elf_machine_rela, elf_machine_lazy_rel.
87520         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
87521         (ELF_DYNAMIC_DO_REL): Likewise.
87522         (ELF_DYNAMIC_DO_RELA): Likewise.
87523         (ELF_DYNAMIC_RELOCATE): Likewise.
87524         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
87525         to ELF_DYNAMIC_DO_REL.
87526         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
87527         (dl_main): In trace mode always set __RTLD_NOIFUNC.
87528         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
87529         elf_machine_rela.
87530         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
87531         skip_ifunc, don't call ifunc function if non-zero.
87532         (elf_machine_rela): Likewise.
87533         (elf_machine_lazy_rel): Likewise.
87534         (elf_machine_lazy_rela): Likewise.
87535         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
87536         (elf_machine_lazy_rel): Likewise.
87537         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
87538         Likewise.
87539         (elf_machine_lazy_rel): Likewise.
87540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87541         Likewise.
87542         (elf_machine_lazy_rel): Likewise.
87543         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
87544         (elf_machine_lazy_rel): Likewise.
87545         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
87546         (elf_machine_lazy_rel): Likewise.
87547         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
87548         (elf_machine_lazy_rel): Likewise.
87549         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
87550         (elf_machine_lazy_rel): Likewise.
87551         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
87552         (elf_machine_lazy_rel): Likewise.
87553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
87554         (elf_machine_lazy_rel): Likewise.
87556 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
87558         * nss/nss_files/files-init.c (_nss_files_init): Use static
87559         initialization for all the *_traced_file variables.
87561 2011-09-28  Andreas Schwab  <schwab@redhat.com>
87563         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87565 2011-09-27  Roland McGrath  <roland@hack.frob.com>
87567         [BZ #13226]
87568         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
87570 2011-09-27  Andreas Schwab  <schwab@redhat.com>
87572         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87573         Reread the line before reparsing it.
87575 2011-09-26  Andreas Schwab  <schwab@redhat.com>
87577         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
87579 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
87580             Maxim Kuvyrkov  <maxim@codesourcery.com>
87581             Joseph Myers  <joseph@codesourcery.com>
87583         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
87584         if needed for __stack_chk_guard.
87586 2011-09-19  Roland McGrath  <roland@hack.frob.com>
87588         * sysdeps/posix/spawni.c (script_execute): Always define it.
87589         It will be optimized away if unused.
87590         (maybe_script_execute): New function.
87591         (__spawni): Call it.
87593         * Makerules: Don't include tls.make.
87594         (config-tls): Always set to thread.
87595         * tls.make.c: File removed.
87597 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
87599         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
87600         * config.make.in (CPPFLAGS-config): New substituted variable.
87602 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87604         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
87606         [BZ #13192]
87607         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
87608         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
87610 2011-09-15  Roland McGrath  <roland@hack.frob.com>
87612         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
87613         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
87614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87615         (CALL_FAIL): Likewise.
87616         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
87617         (CALL_FAIL): Macro removed.
87618         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
87620 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
87622         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
87623         for __FINITE_MATH_ONLY__ == 1.
87625 2011-09-15  Andreas Schwab  <schwab@redhat.com>
87627         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
87628         __ieee754_sqrt instead of sqrt.
87629         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
87630         __ieee754_sqrtf instead of sqrtf.
87631         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
87632         __floorf instead of floorf.
87633         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
87634         __floorf, __truncf instead of floorf, truncf.
87636 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
87638         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
87640         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
87641         __extern_always_inline.
87642         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
87643         32-bit.
87645 2011-09-14  Andreas Schwab  <schwab@redhat.com>
87647         * elf/rtld.c (dl_main): Also relocate in dependency order when
87648         doing symbol dependency testing.
87650 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
87652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87653         Always define `refsym'.
87655 2011-09-13  Andreas Schwab  <schwab@redhat.com>
87657         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
87658         (__FD_ELT): Renamed from __FDELT.
87659         * misc/bits/select2.h (__FD_ELT): Likewise.
87660         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
87661         __FD_MASK instead of __FDELT, __FDMASK.
87662         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87663         Likewise.
87664         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
87665         Likewise.
87667         * elf/Makefile (gen-ldd): Fix pattern.
87669         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
87670         (init_tls): Likewise.
87672 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
87674         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
87676 2011-09-12  Andreas Schwab  <schwab@redhat.com>
87678         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
87679         `struct cmsghdr *' instead of `void *'.
87680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
87681         Likewise.
87683 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
87685         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
87686         if non-absolute.
87687         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
87688         ldd_rewrite_script.
87690 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
87692         * configure.in: Remove --with-tls option.
87693         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
87694         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
87695         out in case it is missing.
87696         * sysdeps/ia64/elf/configure.in: Likewise.
87697         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
87698         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
87699         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
87700         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
87701         * sysdeps/sh/elf/configure.in: Likewise.
87702         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
87703         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87704         * sysdeps/x86_64/elf/configure.in: Likewise.
87705         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
87706         * sysdeps/mach/hurd/tls.h: Likewise.
87708         [BZ #13067]
87709         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
87711         [BZ #13090]
87712         * configure.in: Fix use of AC_INIT.
87714         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
87716 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
87718         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
87719         __set_errno.
87720         * malloc/hooks.c: Likewise.
87722         [BZ #11929]
87723         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
87724         variables statically.
87725         (narenas): Initialize.
87726         (list_lock): Initialize.
87727         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
87728         initializtion of main_arena and list_lock.  Small cleanups.
87729         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
87730         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
87731         Add initializers to main_arena and mp_.
87732         (malloc_state): Remove pagesize member.  Change all users to use
87733         GLRO(dl_pagesize).
87735         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
87736         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
87737         is always initialized.
87739         * malloc/malloc.c: Removed unused configurations and dead code.
87740         * malloc/arena.c: Likewise.
87741         * malloc/hooks.c: Likewise.
87742         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
87744         * include/tls.h: Removed.  USE___THREAD must always be defined.
87745         * bits/libc-tsd.h: Don't handle !USE___THREAD.
87746         * elf/dl-libc.c: Likewise.
87747         * elf/dl-tsd.c: Likewise.
87748         * include/errno.h: Likewise.
87749         * include/netdb.h: Likewise.
87750         * include/resolv.h: Likewise.
87751         * inet/herrno-loc.c: Likewise.
87752         * inet/herrno.c: Likewise.
87753         * malloc/arena.c: Likewise.
87754         * malloc/hooks.c: Likewise.
87755         * malloc/malloc.c: Likewise.
87756         * resolv/res-state.c: Likewise.
87757         * resolv/res_libc.c: Likewise.
87758         * sysdeps/i386/dl-machine.h: Likewise.
87759         * sysdeps/ia64/dl-machine.h: Likewise.
87760         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
87761         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
87762         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
87763         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
87764         * sysdeps/sh/dl-machine.h: Likewise.
87765         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87766         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87767         * sysdeps/unix/i386/sysdep.S: Likewise.
87768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
87769         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
87770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
87771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
87772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
87773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87774         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
87775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
87778         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87779         * sysdeps/x86_64/dl-machine.h: Likewise.
87780         * tls.make.c: Likewise.
87782         * configure.in: Remove --with-__thread option.  Make tests for
87783         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
87784         tls_model attribute fail if no support is available.  Remove
87785         USE_IN_LIBIO.
87786         * Makeconfig: Adjust for dropped configure option.  All features are
87787         now mandatory.
87788         * Makerules: Likewise.
87789         * Versions.def: Likewise.
87790         * argp/argp-fmtstream.c: Likewise.
87791         * argp/argp-fmtstream.h: Likewise.
87792         * argp/argp-help.c: Likewise.
87793         * assert/assert.c: Likewise.
87794         * config.h.in: Likewise.
87795         * config.make.in: Likewise.
87796         * configure: Likewise.
87797         * configure.in: Likewise.
87798         * csu/Versions: Likewise.
87799         * csu/init.c: Likewise.
87800         * elf/tst-audit2.c: Likewise.
87801         * elf/tst-tls10.c: Likewise.
87802         * elf/tst-tls10.h: Likewise.
87803         * elf/tst-tls11.c: Likewise.
87804         * elf/tst-tls12.c: Likewise.
87805         * elf/tst-tls14.c: Likewise.
87806         * elf/tst-tlsmod11.c: Likewise.
87807         * elf/tst-tlsmod12.c: Likewise.
87808         * elf/tst-tlsmod13.c: Likewise.
87809         * elf/tst-tlsmod13a.c: Likewise.
87810         * elf/tst-tlsmod14a.c: Likewise.
87811         * elf/tst-tlsmod15b.c: Likewise.
87812         * elf/tst-tlsmod16a.c: Likewise.
87813         * elf/tst-tlsmod16b.c: Likewise.
87814         * elf/tst-tlsmod7.c: Likewise.
87815         * elf/tst-tlsmod8.c: Likewise.
87816         * elf/tst-tlsmod9.c: Likewise.
87817         * gmon/gmon.c: Likewise.
87818         * grp/fgetgrent_r.c: Likewise.
87819         * grp/putgrent.c: Likewise.
87820         * hurd/fopenport.c: Likewise.
87821         * include/libc-symbols.h: Likewise.
87822         * include/tls.h: Likewise.
87823         * intl/gettextP.h: Likewise.
87824         * intl/loadinfo.h: Likewise.
87825         * locale/global-locale.c: Likewise.
87826         * locale/localeinfo.h: Likewise.
87827         * mach/devstream.c: Likewise.
87828         * malloc/arena.c: Likewise.
87829         * malloc/set-freeres.c: Likewise.
87830         * misc/err.c: Likewise.
87831         * misc/getttyent.c: Likewise.
87832         * misc/mntent_r.c: Likewise.
87833         * posix/getopt.c: Likewise.
87834         * posix/wordexp.c: Likewise.
87835         * pwd/fgetpwent_r.c: Likewise.
87836         * resolv/Versions: Likewise.
87837         * resolv/res_hconf.c: Likewise.
87838         * shadow/fgetspent_r.c: Likewise.
87839         * shadow/putspent.c: Likewise.
87840         * stdio-common/printf_fphex.c: Likewise.
87841         * stdio-common/tmpfile.c: Likewise.
87842         * stdlib/abort.c: Likewise.
87843         * stdlib/fmtmsg.c: Likewise.
87844         * sunrpc/auth_unix.c: Likewise.
87845         * sunrpc/clnt_perr.c: Likewise.
87846         * sunrpc/clnt_tcp.c: Likewise.
87847         * sunrpc/clnt_udp.c: Likewise.
87848         * sunrpc/clnt_unix.c: Likewise.
87849         * sunrpc/openchild.c: Likewise.
87850         * sunrpc/svc_simple.c: Likewise.
87851         * sunrpc/svc_tcp.c: Likewise.
87852         * sunrpc/svc_udp.c: Likewise.
87853         * sunrpc/svc_unix.c: Likewise.
87854         * sunrpc/xdr.c: Likewise.
87855         * sunrpc/xdr_array.c: Likewise.
87856         * sunrpc/xdr_rec.c: Likewise.
87857         * sunrpc/xdr_ref.c: Likewise.
87858         * sunrpc/xdr_stdio.c: Likewise.
87860 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87862         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87864 2011-07-03  Andreas Jaeger  <aj@suse.de>
87866         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
87867         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
87868         regenerate with gen-libm-tests.pl.
87870 2010-05-12  Petr Baudis  <pasky@suse.cz>
87872         [BZ #11589]
87873         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
87874         around j0() zero points by switching to j1().
87875         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87876         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87878         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87880 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87882         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
87883         instead of 0.
87884         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
87885         instead of 0.
87886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87887         Patch in part by Pavel Roskin <proski@gnu.org>.
87889         [BZ #13138]
87890         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
87891         realloc.
87892         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
87893         Free memory block if necessary.
87895         [BZ #12847]
87896         * libio/genops.c (INTDEF): For string streams the _lock pointer can
87897         be NULL.  Don't lock in this case.
87899 2011-09-09  Roland McGrath  <roland@hack.frob.com>
87901         * elf/elf.h (ELFOSABI_GNU): New macro.
87902         (ELFOSABI_LINUX): Define to that.
87904 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
87906         * string/strncat.c (strncat): Undef the symbol in case it has been
87907         defined in bits/string.h.
87909 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
87911         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
87913         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
87914         link map.
87916 2011-08-17  Andreas Jaeger  <aj@suse.de>
87918         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
87920 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
87921             Ian Lance Taylor  <iant@google.com>
87923         * math/libm-test.inc (lround_test): New testcase.
87924         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
87926 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
87928         * Makefile: Remove support for automatic cvs check-ins.
87929         * Makerules: Likewise.
87930         * config.make.in: Likewise.
87931         * configure.in: Likewise.
87932         * intl/Makefile: Likewise.
87933         * locale/Makefile: Likewise.
87934         * po/Makefile: Likewise.
87935         * posix/Makefile: Likewise.
87936         * sysdeps/gnu/Makefile: Likewise.
87937         * sysdeps/mach/hurd/Makefile: Likewise.
87938         * sysdeps/sparc/sparc32/Makefile: Likewise.
87940         [BZ #13118]
87941         * posix/Makefile (bug-regex32-ENV): Define.
87942         Patch by John Stanley <jpsinthemix@verizon.net>.
87944         * misc/Makefile (headers): Add bits/select2.h.
87945         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
87946         * misc/bits/select2.h: New file.
87947         * include/bits/select2.h: New file.
87948         * debug/Makefile (routines): Add fdelt_chk.
87949         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
87950         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
87951         FD_ISSET.
87952         * debug/fdelt_chk.c: New file.
87954         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
87955         * wcsmbs/test-wmemcmp.c: Likewise.
87956         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
87957         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
87959 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87961         * string/Makefile (strop-tests): Add memcmp.
87962         * string/test-wmemcmp.c: New file.
87963         * string/test-memcmp.c: Add wmemcmp support.
87965 2011-09-08  Roland McGrath  <roland@hack.frob.com>
87967         [BZ #13153]
87968         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
87969         2011-07-19 change.
87971         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
87972         garbage value in a __mach_port_mod_refs call in the cases of the
87973         task-self and thread-self ports.
87975 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87977         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
87979 2011-09-08  Andreas Schwab  <schwab@redhat.com>
87981         * elf/dl-load.c (lose): Check for non-null L.
87983 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
87985         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
87987         * elf/dl-libc.c (dlerror_run): Pass back error code from
87988         dl_catch_error.
87990         [BZ #13123]
87991         * elf/dl-load.c (lose): Free l_origin if it is valid.
87993         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
87994         names.
87995         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
87996         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
87997         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87998         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
87999         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88000         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88002 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88004         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88005         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88006         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88007         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88008         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88009         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88010         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88011         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88012         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88013         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88015 2011-08-15  Alan Modra  <amodra@gmail.com>
88017         [BZ #13092]
88018         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88019         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88020         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88021         ppc_mcount to static-only-routines.
88022         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88023         __mcount_internal.
88024         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88025         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88027 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88029         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88030         for finite and infinity parameters.
88032 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88034         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88035         and add nop instructions for throughput optimization.
88036         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88038 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88040         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88041         aligned copy for power7 with vector-scalar instructions.
88042         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88044 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88047         AVX check.
88049 2011-09-07  Andreas Schwab  <schwab@redhat.com>
88051         [BZ #13144]
88052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
88053         last change.
88055 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88057         * sysdeps/unix/sysv/linux/x86_64/init-first.c
88058         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
88059         syscall wrapper around clock_gettime in __vdso_clock_gettime.
88060         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
88061         clock_gettime.
88063 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88065         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
88066         Forgot to demangle the pointer.
88068         * sysdeps/i386/sysdep.h: Define atom_text_section.
88069         * sysdeps/x86_64/sysdep.h: Likewise.
88070         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
88071         section with atom_text_section.
88072         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88073         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88074         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
88075         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88076         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
88078         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
88079         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
88080         already be defined.  Change to take two parameters and don't assign
88081         result to variable.  Adjust all users.
88082         Define INTERNAL_GETTIME if not already defined.
88083         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
88084         call.
88085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
88086         HAVE_CLOCK_GETTIME_VSYSCALL.
88087         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
88089         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
88090         gettimeofday vsyscall, just use time.
88092 2011-09-06  Andreas Schwab  <schwab@redhat.com>
88094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
88095         <errno.h>.
88097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
88099         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
88100         syscall on x86-64.
88101         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
88102         syscall.
88103         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
88104         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
88105         syscall if possible.
88107 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88109         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
88110         e_ident.  Don't pass to find_mapsXX.
88111         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
88113 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88116         strchr-sse2-no-bsf strrchr-sse2-no-bsf
88117         * sysdeps/x86_64/multiarch/strchr.S: Update.
88118         Check bit_slow_BSF bit.
88119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
88120         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
88121         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
88123 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88125         [BZ #13134]
88126         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
88127         before glibc 2.15.
88128         (tryshell): Define.
88129         (__spawni): Change last parameter to be flag.  Test
88130         SPAWN_XFLAGS_USE_PATH flag to use path or not.
88131         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
88132         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
88133         * posix/spawni.c: Likewise.
88134         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
88135         * posix/spawnp.c: Likewise.  Change normal version to use
88136         SPAWN_XFLAGS_USE_PATH.
88137         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
88138         SPAWN_XFLAGS_TRY_SHELL.
88140         [BZ #13150]
88141         * posix/glob.h: Remove gcc 1.x support.
88143         [BZ #13068]
88144         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
88146 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88149         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
88150         strrchr-sse2-bsf
88151         * sysdeps/i386/i686/multiarch/strchr.S: New file.
88152         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
88153         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
88154         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
88155         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
88156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
88158 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88160         * sysdeps/x86_64/wcscmp.S: New file.
88162         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
88163         wcscmp-c wcscmp-sse2
88164         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
88165         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
88166         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
88167         * wcsmbs/wcscmp.c: Allow renaming.
88169 2011-09-05  David S. Miller  <davem@davemloft.net>
88171         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
88172         stack slot, rather than the struct return pointer slot.
88173         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
88174         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
88175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
88176         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
88178 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
88180         * po/ja.po: Update from translation team.
88182         [BZ #13144]
88183         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
88184         kernel in 64-bit binaries.
88186 2011-09-01  David S. Miller  <davem@davemloft.net>
88188         * elf/elf.h (HWCAP_SPARC_*): Move to..
88189         * sysdeps/sparc/sysdep.h: this new file and add new values.
88190         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
88191         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
88192         _DL_HWCAP_COUNT to 24.
88193         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
88194         entries.
88195         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
88196         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
88197         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
88198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
88199         instead of magic constants.
88200         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88202 2011-08-31  David S. Miller  <davem@davemloft.net>
88204         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
88205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
88206         Reimplement to do errno handling inline.
88207         (SYSCALL_ERROR_HANDLER): New macro.
88208         (__SYSCALL_STRING): Do not do errno handling in asm.
88209         (__CLONE_SYSCALL_STRING): Delete.
88210         (__INTERNAL_SYSCALL_STRING): Delete.
88211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
88212         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
88213         (PSEUDO): Reimplement to do errno handling inline.
88214         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
88215         (SYSCALL_ERROR_HANDLER): New macro.
88216         (__SYSCALL_STRING): Do not do errno handling in asm.
88217         (__CLONE_SYSCALL_STRING): Delete.
88218         (__INTERNAL_SYSCALL_STRING): Delete.
88219         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
88220         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
88221         i386.
88222         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
88223         (inline_syscall*): Add 'err' argument.
88224         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
88225         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
88226         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
88227         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
88229         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
88230         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
88232 2011-08-30  Andreas Schwab  <schwab@redhat.com>
88234         * elf/rtld.c (dl_main): Relocate objects in dependency order.
88236 2011-08-29  Jiri Olsa <jolsa@redhat.com>
88238         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
88239         directive.
88241 2011-08-24  David S. Miller  <davem@davemloft.net>
88243         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
88245 2011-08-24  Andreas Schwab  <schwab@redhat.com>
88247         * elf/Makefile: Add rules to build and run unload8 test.
88248         * elf/unload8.c: New file.
88249         * elf/unload8mod1.c: New file.
88250         * elf/unload8mod1x.c: New file.
88251         * elf/unload8mod2.c: New file.
88252         * elf/unload8mod3.c: New file.
88254         * elf/dl-close.c (_dl_close_worker): Reset private search list if
88255         it wasn't used.
88257 2011-08-23  David S. Miller  <davem@davemloft.net>
88259         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
88260         subtract stack bias.
88261         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
88262         %sp not %fp in calculations.
88263         (_JMPBUF_UNWINDS_ADJ): Likewise.
88265         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
88266         (aio_suspend): Call it to force an exception region around the
88267         AIO_MISC_WAIT() invocation.
88269 2011-08-23  Andreas Schwab  <schwab@redhat.com>
88271         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
88272         backslash.
88274 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
88276         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
88277         protection macro.
88278         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
88279         and <dl-machine.h>.
88280         (Elf64_FuncDesc): Remove.
88282 2011-08-22  David S. Miller  <davem@davemloft.net>
88284         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
88285         sigaltstack check, add missing cfi directives.
88286         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
88287         missing cfi directives, and sigaltstack handling.
88289 2011-08-16  Andreas Schwab  <schwab@redhat.com>
88291         [BZ #11724]
88292         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
88293         object is seen twice.
88294         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88296         * elf/Makefile (distribute): Add tst-initorder2.c.
88297         (tests): Add tst-initorder2.
88298         (modules-names): Add tst-initorder2a tst-initorder2b
88299         tst-initorder2c tst-initorder2d.  Add rules to build them.
88300         ($(objpfx)tst-initorder2.out): New rule.
88301         * elf/tst-initorder2.c: New file.
88302         * elf/tst-initorder2.exp: New file.
88304 2011-08-22  Andreas Schwab  <schwab@redhat.com>
88306         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
88308         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
88309         dependencies back to end of function.
88311         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88312         $(elfobjdir)/ld.so.
88314 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
88316         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
88317         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
88318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
88319         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
88320         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
88321         of __vdso_gettimeofday.
88322         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
88323         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
88324         attribute_hidden.
88325         (_libc_vdso_platform_setup): Remove initialization of
88326         __vdso_gettimeofday and __vdso_time.
88328 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88330         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
88331         and fgetc_unlocked.
88332         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
88333         getc_unlocked.
88335         * elf/dl-open.c (add_to_global): Report additions to the global scope
88336         for LD_DEBUG=scopes.
88337         (dl_open_worker): Also print scope of newly loaded dependencies.
88338         (_dl_show_scope): Indicate if there is no scope.
88340         [BZ #13114]
88341         * stdio-common/Makefile (tests): Add bug24.
88342         * stdio-common/bug24.c: New file.
88344 2011-08-19  Andreas Jaeger  <aj@suse.de>
88346         [BZ #13114]
88347         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
88348         non-existant file when using close-on-exec mode.
88350 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
88352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
88353         the very first instruction.
88355         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
88356         the CFI state in the end.
88357         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
88358         inclusion of dl-trampoline.h.
88359         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
88361 2011-08-19  Andreas Schwab  <schwab@redhat.com>
88363         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
88364         expectations for long double.
88366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
88367         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
88369 2011-08-14  David S. Miller  <davem@davemloft.net>
88371         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
88372         artificual limit depends upon the system page size.
88374 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88376         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
88377         * resolv/Makefile: Define CFLAGS-libresolv.
88379 2011-08-17  Andreas Schwab  <schwab@redhat.com>
88381         * nss/makedb.c (compute_tables): Make variables used in nested
88382         function static.
88384 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
88386         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
88387         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
88388         if buffer was too small.
88390         * elf/pldd.c (main): Attach to all threads in the process.
88391         Rewrite /proc handling to use *at functions.
88393 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
88395         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
88396         specifies first scope to show.
88397         (dl_open_worker): Update callers.  Move printing scope of new
88398         object to before the relocation.
88399         * elf/rtld.c (dl_main): Update _dl_show_scope call.
88400         * sysdeps/generic/ldsodefs.h: Update declaration.
88402         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
88403         string for the scope number.
88405 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
88407         * nscd/servicescache.c (cache_addserv): Make sure written is always
88408         initialized.
88410 2011-08-14  Roland McGrath  <roland@hack.frob.com>
88412         * sysdeps/i386/i486/bits/atomic.h
88413         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
88414         statement expression, so as to suppress "set but not used" warning.
88415         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
88417         * string/strncat.c (STRNCAT): Use prototype definition.
88419         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
88420         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
88421         -Iprograms here.
88422         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
88423         (localedef-modules): Add localedef.
88424         (locale-modules): Add locale.
88426         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
88427         * elf/rtld.c (dl_main): Invert order of assignment in last change,
88428         to avoid a warning.
88430 2011-08-14  David S. Miller  <davem@davemloft.net>
88432         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
88433         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
88435 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
88437         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
88438         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
88439         * elf/rtld.c (dl_main): Set l_name of vDSO.
88440         Call _dl_show_scope when DL_DEBUG_SCOPES.
88441         (process_dl_debug): Recognize scopes flag and also set it for all.
88442         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
88443         Declare _dl_show_scope.
88445         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
88446         (do_dlopen): Pass caller_dlopen to dl_open.
88447         (__libc_dlopen_mode): Initialize caller_dlopen.
88449         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
88450         of libc.  Make tolower call locale-independent.  Optimize a bit by
88451         using isdigit instead of isalnum.
88452         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
88454 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
88456         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
88457         was a dependency or dynamically loaded.
88459 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
88461         * intl/l10nflist.c: Allow architecture-specific pop function.
88462         * sysdeps/x86_64/l10nflist.c: New file.
88464         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
88465         classification.
88467 2011-08-10  Andreas Schwab  <schwab@redhat.com>
88469         * include/dirent.h: Add libc_hidden_proto for scandirat and
88470         scandirat64.  Don't declare __scandirat64.
88471         * dirent/scandirat.c: Add libc_hidden_def.
88472         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
88473         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
88475 2011-08-10  David S. Miller  <davem@davemloft.net>
88477         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
88478         enum.
88479         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88483 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
88485         * Versions.def [libc]: Add GLIBC_2.15.
88486         * dirent/Makefile (routines): Add scandirat and scandirat64.
88487         * dirent/Versions [libc]: Export scandirat and scandirat64 for
88488         GLIBC_2.15.
88489         * dirent/dirent.h: Declare scandirat and scandirat64.
88490         * dirent/scandirat.c: New file.
88491         * dirent/scandirat64.c: New file.
88492         * sysdeps/wordsize-64/scandirat.c: New file.
88493         * sysdeps/wordsize-64/scandirat64.c: New file.
88494         * dirent/opendir.c: Define opendirat.
88495         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
88496         using scandirat.
88497         * dirent/scandir64.c: Adjust for scandir.c change.
88498         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
88499         __scandirat64, and __scandir_cancel_handler.
88500         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
88501         additional parameter and use openat instead of open (outside of ld.so).
88502         Add new __opendir as wrapper around __opendirat.
88503         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
88504         here without requiring old scandirat implementation.
88506 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
88508         * dirent/scandir.c (cancel_handler): Renamed to
88509         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
88510         defined.  Adjust users.
88511         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
88512         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
88514 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
88516         * string/test-string.h (IMPL): Use __STRING to expand name and then
88517         stringify it.
88519         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
88520         of cleanups.
88522 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88524         * string/Makefile: Update.
88525         (strop-tests): Append strncat.
88526         * string/test-wcscmp.c: New file.
88527         New comprehensive test for wcscmp.
88528         * string/test-strcmp.c: Update.
88529         (WIDE): New define.
88531 2011-07-22  Andreas Schwab  <schwab@redhat.com>
88533         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
88534         line.
88536 2011-07-26  Andreas Schwab  <schwab@redhat.com>
88538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88539         encoding to ACE if AI_IDN.
88541 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
88543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
88544         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
88546 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88548         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
88549         Fix overflow bug in strncat.
88550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
88552         * string/test-strncat.c: Update.
88553         Add new tests for checking overflow bugs.
88555 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88558         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
88559         * sysdeps/i386/i686/multiarch/strcat.S: New file.
88560         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
88561         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
88562         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
88563         * sysdeps/i386/i686/multiarch/strncat.S: New file.
88564         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
88565         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
88567         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
88568         (USE_AS_STRCAT): Define.
88569         Add strcat and strncat support.
88570         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88572 2011-07-25  Andreas Schwab  <schwab@redhat.com>
88574         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
88575         __n bigger than INT_MAX+1.
88576         (__strncmp_g): Likewise.
88578 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
88580         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
88581         * libio/stido.h: Likewise.
88583         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
88584         (AF_NFC): Define.
88585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
88586         (AF_NFC): Define.
88588         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
88589         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
88590         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
88591         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
88592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
88594         [BZ #13021]
88595         * scripts/test-installation.pl: Don't expect libnss_test1 to be
88596         installed.
88598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
88599         typo.
88600         (_dl_x86_64_save_sse): Likewise.
88602 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
88604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
88605         OSXSAVE.
88606         (_dl_x86_64_save_sse): Likewise.
88608         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
88610         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
88612 2011-07-21  Andreas Schwab  <schwab@redhat.com>
88614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
88615         change.
88616         (_dl_x86_64_save_sse): Use correct AVX check.
88618 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88620         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
88621         bug in strncpy/strncat.
88622         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
88624 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
88626         * string/tester.c (test_strcat): Add tests for different alignments
88627         of source and destination.
88628         (test_strncat): Likewise.
88630 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88632         [BZ #12852]
88633         * posix/glob.c (glob): Check passed in values before using them in
88634         expressions to avoid some overflows.
88635         (glob_in_dir): Likewise.
88637         [BZ #13007]
88638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
88639         check for AVX enablement so that we don't crash with old kernels and
88640         new hardware.
88641         * elf/tst-audit4.c: Add same checks here.
88642         * elf/tst-audit6.c: Likewise.
88644         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
88646 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
88648         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
88650 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
88652         * po/cs.po: Update from translation team.
88653         * po/bg.po: Likewise.
88655 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
88657         * misc/sys/cdefs.h: Add support for const attribute.
88658         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
88659         to gnu_dev_{major,minor,makedev} functions.
88661 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
88663         * intl/dcigettext.c (get_output_charset): Add missing bracket.
88665 2011-07-20  Andreas Schwab  <schwab@redhat.com>
88667         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
88668         strlen results.
88670 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
88673         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
88674         register in order to avoid conflicts with the soft frame pointer
88675         being held in r11 when necessary.
88676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
88677         (INTERNAL_VSYSCALL_NCS): Likewise.
88679 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
88681         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
88682         * elf/dl-fini.c (_dl_fini): Adjust caller.
88683         * elf/dl-close.c (_dl_close_worker): Likewise.
88684         * sysdeps/generic/ldsodefs.h: Adjust declaration.
88686 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88688         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
88689         "aux_cache->nlibs < 0".
88691         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
88692         in the reload-count case.
88694 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
88696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88697         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
88698         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
88699         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
88700         * sysdeps/x86_64/multiarch/strcat.S: New file.
88701         * sysdeps/x86_64/multiarch/strncat.S: New file.
88702         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
88703         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
88704         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
88705         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
88706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
88707         (USE_AS_STRCAT): Define.
88708         Add strcat and strncat support.
88709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
88710         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
88711         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
88712         * string/strncat.c: Update.
88713         (USE_AS_STRNCAT): Define.
88714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88715         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
88716         and i7.
88717         * sysdeps/x86_64/multiarch/init-arch.h
88718         (bit_Prefer_PMINUB_for_stringop): New.
88719         (index_Prefer_PMINUB_for_stringop): Likewise.
88720         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
88721         bit_Prefer_PMINUB_for_stringop.
88723 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88725         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
88726         buffer64.
88727         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
88728         of casting of buffer.
88729         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
88730         buffer32 and buffer64.
88731         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
88732         writes instead of casting of buffer.
88733         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
88734         buffer32.
88735         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
88736         casting of buffer.
88738 2011-07-19  Andreas Schwab  <schwab@redhat.com>
88740         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
88742 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
88744         * nscd/nscd.c (termination_handler): Don't do anything for a database
88745         if it has not yet been initialized.
88747 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88749         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88751 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
88753         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
88755 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
88757         * po/nl.po: Update from translation team.
88758         * po/sv.po: Likewise.
88760 2011-07-16  Roland McGrath  <roland@hack.frob.com>
88762         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
88763         now disallowed by GCC.
88765         * configure.in (use-default-link): Default to yes if a test -shared
88766         link meets our qualifications.
88767         * configure: Regenerated.
88769         * config.make.in (output-format): New variable.
88770         * configure.in: Check for ld --print-output-format support.
88771         * configure: Regenerated.
88772         * Makerules ($(common-objpfx)format.lds)
88773         [$(output-format) != unknown]: Just use $(output-format),
88774         instead of the linker-script munging.
88776 2011-07-14  Roland McGrath  <roland@hack.frob.com>
88778         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
88779         of $(common-objpfx)shlib.lds.
88780         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
88782         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
88783         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
88785         * configure.in (-z relro check): Adjust test code to add a large
88786         writable data section after it.
88787         * configure: Regenerated.
88789 2011-07-11  Roland McGrath  <roland@hack.frob.com>
88791         * configure.in (-z relro check): Fix test code to make the variable
88792         truly const.
88793         * configure: Regenerated.
88795 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
88797         * nscd/nscd.h (struct traced_file): Define.
88798         (struct database_dyn): Remove inotify_descr, reset_res, and filename
88799         elements.  Add traced_files.
88800         (inotify_fd): Declare.
88801         (register_traced_file): Declare.
88802         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
88803         (inotify_fd): Export.
88804         (resolv_conf_descr): Remove.
88805         (nscd_init): Move inotify descriptor creation to main.
88806         Don't register files for notification here.
88807         (register_traced_file): New function.
88808         (invalidate_cache): Don't use reset_res to determine whether to call
88809         res_init, go through the list of registered files.
88810         (main_loop_poll): The inotify descriptors are now stored in the
88811         structures for the traced files.
88812         (main_loop_epoll): Likewise.
88813         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
88814         to __nss_disable_nscd.
88815         * nscd/cache.c (prune_cache): There is no single inotify descriptor
88816         for a database anymore.  Check the records for all the registered
88817         files instead.
88818         * nss/Makefile (libnss_files-routines): Add files-init.
88819         (libnss_db-routines): Add db-init.
88820         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
88821         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
88822         * nss/nss_db/db-init.c: New file.
88823         * nss/nss_files/files-init.c: New file.
88824         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
88825         __nss_lookup_function.
88826         (__nss_lookup_function): Call nss_load_library.
88827         (nss_load_all_libraries): New function.
88828         (__nss_disable_nscd): Take parameter with callback function for files
88829         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
88830         used for the cached services.
88831         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
88832         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
88833         options for features to all the files in nscd.
88835         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
88837 2011-07-10  Roland McGrath  <roland@hack.frob.com>
88839         * csu/elf-init.c (__libc_csu_init): Comment typo.
88841 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
88843         * po/pl.po: Update from translation team.
88844         * po/ja.po: Likewise.
88845         * po/ru.po: Likewise.
88846         * po/ko.po: Likewise.
88847         * po/fr.po: Likewise.
88849 2011-07-09  Roland McGrath  <roland@hack.frob.com>
88851         * configure.in (.ctors/.dtors header and trailer check):
88852         Use an empirical test on a built program.
88853         * configure: Regenerated.
88855         * configure.in (-z relro check): Use an empirical test on a built DSO.
88856         Detect, but do not require, on ia64.
88857         * configure: Regenerated.
88859         * configure.in (READELF): Find it with AC_CHECK_TOOL.
88860         Update tests that use readelf to use $READELF instead.
88861         * configure: Regenerated.
88863 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
88865         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
88866         if the result is not used.
88868 2011-07-05  Andreas Jaeger  <aj@suse.de>
88870         [BZ #9696]
88871         * stdlib/tst-strtod.c: Add testcase.
88873 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
88875         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
88876         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
88877         The latter has a higher limit.  Take additional parameter to pass to
88878         the new function.
88879         (__pathconf): Pass file to __statfs_link_max.
88880         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
88881         __statfs_link_max.
88882         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
88883         __statfs_link_max.
88885         [BZ #12868]
88886         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
88887         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88888         Handle Lustre.
88889         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
88890         (__statfs_filesize_max): Likewise.
88891         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
88893 2011-07-05  Andreas Jaeger  <aj@suse.de>
88895         * resolv/res_comp.c (dn_skipname): Remove unused variable.
88897 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
88899         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
88900         `status' variable.
88901         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
88902         Likewise.
88904 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
88906         * Makefile (strop-tests): Add strncat.
88907         * string/test-strncat.c: New file.
88909 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
88911         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
88913 2011-06-21  Andreas Jaeger  <aj@suse.de>
88915         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
88916         Copy rule from iconvdata/Makefile.
88918 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88920         [BZ #12922]
88921         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
88922         but no long options are defined, just return 'W'.
88924 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
88926         [BZ #9696]
88927         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
88929 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
88931         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
88932         netgroups to read.
88933         (innetgr): Likewise.
88935 2011-07-05  Roland McGrath  <roland@hack.frob.com>
88937         * config.make.in (install_root): Default to $(DESTDIR).
88939 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
88941         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
88943 2011-07-02  Roland McGrath  <roland@hack.frob.com>
88945         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
88947         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
88948         containing directory rather than embedding absolute directory names.
88950         * scripts/check-local-headers.sh: Rewritten using awk.
88951         Match by word, not by line.  Print error messages for matches.
88952         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
88954         * Makerules [shlib-lds-flags empty]:
88955         ($(common-objpfx)libc_pic.opts): New target.
88956         ($(common-objpfx)libc_pic.os.clean): New target.
88957         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
88959         * config.make.in (OBJCOPY): New variable.
88960         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
88961         * configure: Regenerated.
88963         * config.make.in (use-default-link): New variable.
88964         * configure.in (use_default_link): Grok --with-default-link to set it.
88965         * configure: Regenerated.
88966         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
88967         (shlib-lds, shlib-lds-flags): Define to empty.
88969         * Makerules (shlib-lds): New variable.
88970         (shlib-lds-flags): New variable.
88971         (build-shlib, build-moduile, build-module-asneeded): Use it.
88972         ($(common-objpfx)libc.so): Use $(shlib-lds).
88973         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
88974         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
88976         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
88977         DT_FLAGS/DT_FLAGS_1 with zero flags.
88979         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
88980         linker script munging.
88982 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
88984         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
88985         as 128-bit value.
88986         * crypt/sha512.c (sha512_process_block): Perform total addition using
88987         128-bit if possible.
88988         (__sha512_finish_ctx): Likewise.
88989         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
88990         as 64-bit value.
88991         * crypt/sha256.c (SWAP64): Define.
88992         (sha256_process_block): Perform total addition using 64-bit if
88993         possible.
88994         (__sha256_finish_ctx): Likewise.
88996 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
88998         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
88999         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89000         * nscd/hstcache.c (cache_addhst): Likewise.
89001         * nscd/grpcache.c (cache_addgr): Likewise.
89002         * nscd/aicache.c (addhstaiX): Likewise.
89003         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89005 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89007         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89008         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89009         * nscd/hstcache.c (cache_addhst): Likewise.
89010         * nscd/grpcache.c (cache_addgr): Likewise.
89011         * nscd/aicache.c (addhstaiX): Likewise.
89013 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89015         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89016         domain only when needed.
89018 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89021         is always restored.
89023 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89025         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89026         are re-adding the entry.
89027         * nscd/servicescache.c (cache_addserv): Likewise.
89029 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89031         * sysdeps/generic/dl-irel.h: fix protection against multiple
89032         inclusions.
89033         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89035 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89037         [BZ #12935]
89038         * malloc/memusage.sh: Fix quoting in message.
89039         * debug/xtrace.sh: Likewise.
89041         * configure.in: Remove support for --experimental-malloc option, make
89042         it the default.
89043         * config.make.in: Likewise.
89044         * malloc/Makefile: Likewise.
89046 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89048         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89049         two-byte characters.
89051 2011-06-27  Roland McGrath  <roland@hack.frob.com>
89053         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
89054         AC_CACHE_CHECK invocation.
89055         * configure: Regenerated.
89057         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
89059 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
89061         [BZ #12350]
89062         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
89063         bit from old_res_options.
89065         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
89067         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
89068         value type for setfct.
89070 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
89072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89073         __gettimeofday instead of gettimeofday.
89075 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
89077         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
89079 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
89081         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
89083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
89084         info.
89086 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89089         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89090         strcpy-sse2-unaligned strncpy-sse2-unaligned
89091         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
89092         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
89093         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
89094         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
89095         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
89096         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
89097         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
89098         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
89099         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
89100         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
89101         (STRCPY): Support SSE2 and SSSE3 versions.
89103 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
89105         [BZ #12874]
89106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
89107         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
89108         kernels which artificially limit size of requests.
89110 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
89112         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89113         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
89114         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
89115         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
89116         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
89117         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
89118         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
89119         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
89120         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
89121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
89122         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
89123         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
89124         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
89125         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
89126         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
89127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89128         Enable unaligned load optimization for Intel Core i3, i5 and i7
89129         processors.
89130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
89131         Define.
89132         (index_Fast_Unaligned_Load): Define.
89133         (HAS_FAST_UNALIGNED_LOAD): Define.
89135 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
89137         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
89139 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89141         [BZ #12907]
89142         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
89143         until it is clear that the information is realy needed.
89144         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
89146 2011-06-22  Andreas Schwab  <schwab@redhat.com>
89148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
89150 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
89152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
89153         /sys/devices/system/cpu/online if it is usable.
89155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
89156         reading the information from the /proc filesystem to once a second.
89158 2011-06-21  Andreas Jaeger  <aj@suse.de>
89160         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
89161         NULL after inclusion of kernel headers.
89163 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
89165         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
89166         calls to internal_setent.
89168         [BZ #12885]
89169         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
89170         addresses using gethostbyname4_r ignore IPv4 addresses.
89172         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
89173         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
89175         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
89177 2011-06-20  David S. Miller  <davem@davemloft.net>
89179         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
89180         inclusions.
89181         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
89183         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
89184         (elf_irel): Use it.
89185         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
89186         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
89187         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
89188         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
89189         * sysdeps/x86_64/dl-irel.h: Likewise.
89191         * elf/dl-runtime.c: Use elf_ifunc_invoke.
89192         * elf/dl-sym.c: Likewise.
89194 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89196         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
89197         need to dereference resplen2.
89199 2011-06-14  Andreas Schwab  <schwab@redhat.com>
89201         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
89203 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
89205         * Makeconfig: Define vardbdir and inst_vardbdir.
89206         * nss/Makefile: Add rules to install db-Makefile.
89208         * nss/nss_db/db-XXX.c: Cleanup.
89210         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
89211         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
89212         GLIBC_PRIVATE.
89213         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
89214         * nss/makedb.c: Implement -g option to specify that value strings
89215         are generated and should not be added to table iterated over for
89216         get*ent calls.
89217         * nss/nss_db/db-initgroups.c: New file.
89219         * nss/getent.c: Add support for initgroups lookups through getgrouplist
89220         interface.
89222         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
89223         (internal_getgrouplist): Adjust to name change.
89224         Update use_initgroups_entry if this is not the first call.
89225         * nss/databases.def: Add initgroups entry.
89227         * nss/makedb.c (compute_tables): Check result of multiple hash table
89228         sizes to minimize maximum chain length.
89230 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
89232         * Versions.def: Add entry for libnss_db.
89233         * shlib-versions: Likewise.
89234         * nss/Makefile: Add rules to build libnss_db.
89235         * nss/Versions: Add libnss_db information.  Organize libnss_files
89236         entries better.
89237         * nss/db-Makefile: Add gshadow support.  Change rules for the new
89238         makedb progra.  Some minor improvements to generate smaller files.
89239         * nss/nss_db/nss_db.h: Move NSS database header data structures to
89240         here from...
89241         * nss/makedb.c: ...here.
89242         Improve database format to be smaller and require less memory at
89243         runtime.
89244         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
89245         db anymore.
89246         * nss/nss_db/db-netgrp.c: Likewise.
89247         * nss/nss_db/db-open.c: Likewise.
89248         * nss/nss_files/flies-XXX.x: Adjust comments.
89249         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
89250         * nss/nss_files/files-grp.c: Likewise.
89251         * nss/nss_files/files-hosts.c: Likewise.
89252         * nss/nss_files/files-network.c: Likewise.
89253         * nss/nss_files/files-proto.c: Likewise.
89254         * nss/nss_files/files-pwd.c: Likewise.
89255         * nss/nss_files/files-rpc.c: Likewise.
89256         * nss/nss_files/files-service.c: Likewise.
89257         * nss/nss_files/files-sgrp.c: Likewise.
89258         * nss/nss_files/files-spwd.c: Likewise.
89259         * nss/nss_db/db-alias.c: Removed.
89260         * nss/nss_db/dummy-db.h: Removed.
89262 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
89264         * nss/makedb.c: Rewritten to not use database library.
89265         * nss/Makefile: Update to build new makedb program.
89267 2011-06-14  Andreas Jaeger  <aj@suse.de>
89269         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
89270         memset declaration.
89272 2011-06-10  Andreas Schwab  <schwab@redhat.com>
89274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
89275         tmpbuf.
89277 2011-06-10  Roland McGrath  <roland@hack.frob.com>
89279         * Makerules (shlib.lds): Fail if the linker script comes out empty.
89280         * elf/Makefile ($(objpfx)ld.so): Likewise.
89282         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
89283         Don't list ld.so twice in dependencies.
89285         * posix/bug-regex31.c: Include <stdlib.h>.
89287         * nscd/hstcache.c (cache_addhst): Remove unused variable.
89289         * nis/nss_compat/compat-spwd.c
89290         (getspent_next_nss_netgr): Remove unused variable.
89291         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
89293         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
89294         nonmembers" output to use the right array.
89296         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
89298         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
89300         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
89301         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
89302         * catgets/gencat.c (read_input_file): Likewise.
89303         * locale/programs/locarchive.c (enlarge_archive): Likewise.
89305         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
89306         variable definition inside #if's controlling its use.
89308         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
89310         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
89312         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
89314         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
89315         unreachable code.
89317         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
89319         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
89320         * configure: Regenerated.
89322         * Makerules: Revert last change.
89323         * elf/Makefile: Likewise.
89325 2011-06-09  Roland McGrath  <roland@hack.frob.com>
89327         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
89328         * elf/Makefile ($(objpfx)librtld.os): Likewise.
89329         (reloc-link): Likewise.
89331 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
89333         * elf/Makefile: Add rules to build pldd.
89334         * elf/pldd.c: New file.
89335         * elf/pldd-xx.c: New file.
89337 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
89339         * version.h: Update for 2.15 development version.
89341 2011-06-07  David S. Miller  <davem@davemloft.net>
89343         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
89344         ifuncs.
89345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
89346         elf_machine_lazy_rel): Likewise.
89347         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
89348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
89349         elf_machine_lazy_rel): Likewise.
89350         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
89351         dl_hwcap via passed in argument.
89352         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
89353         Likewise.
89355 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89357         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
89359 2011-06-06  Roland McGrath  <roland@hack.frob.com>
89361         [BZ #12849]
89362         * manual/fdl-1.1.texi: New file, verbatim from:
89363         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
89364         * manual/lgpl-2.1.texi: New file, verbatim from:
89365         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
89366         * manual/Makefile (licenses): New variable, list those new file names.
89367         (texis): Use it.
89368         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
89370         * manual/fdl.texi: File removed.
89371         * manual/lesser.texi: File removed.
89372         * manual/libc.texinfo (Copying, Documentation License):
89373         Use new @include file names, put @appendix directive before @include.
89375 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
89377         [BZ #12841]
89378         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
89379         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
89380         (mq_open): Add __NTH.
89382 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
89384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89385         Assume Intel Core i3/i5/i7 processor if AVX is available.
89387 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
89390         typo.
89392 2011-05-31  Andreas Schwab  <schwab@redhat.com>
89394         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
89395         memory.  Use alloca_account.  Fix memory leak when retrying.
89397 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
89399         * version.h (RELEASE): Bump for 2.14 release.
89400         * include/features.h (__GLIBC_MINOR__): Bump to 14.
89402         * config.make.in (RANLIB): Remove entry.
89404 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
89406         * po/Makefile (po-sed-cmd): Add ksh to extensions.
89407         (libc.pot): Work around missing support for .ksh extension in xgettext.
89409         [BZ #12684]
89410         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
89411         if both request failed.
89412         (send_dg): In case of server errors clear resplen or *resplen2.
89414         [BZ #12454]
89415         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
89416         when there are multiple maps.
89417         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
89418         (_dl_fini): Remove test here.
89420         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
89422 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
89424         [BZ #12350]
89425         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
89426         bit from old_res_options.
89427         (gaih_inet): Likewise.
89429         [BZ #11099]
89430         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
89431         as signed.
89433         * resolv/res_init.c (res_setoptions): Make the code more compact.
89435         [BZ #11558]
89436         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
89437         set RES_USEVC.
89439         [BZ #11634]
89440         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
89442         * malloc/malloc.h: Mark malloc hook variables as deprecated.
89444         [BZ #11781]
89445         * malloc/malloc.h: Declare malloc hook variables as volatile.
89447         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
89448         in last patch.
89450         [BZ #11799]
89451         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
89452         raise in the comment.
89453         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
89454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
89455         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
89457 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
89459         [BZ #12811]
89460         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
89461         grow the buffers more if it already has to be sufficient.
89462         (build_wcs_upper_buffer): Likewise.
89463         * posix/regexec.c (check_matching): Likewise.
89464         (clean_state_log_if_needed): Likewise.
89465         (extend_buffers): Don't enlarge buffers beyond size of the input
89466         buffer.
89467         Patches mostly by Emil Wojak <emil@wojak.eu>.
89468         * posix/bug-regex32.c: New file.
89469         * posix/Makefile (tests): Add bug-regex32.
89471         * locale/findlocale.c (_nl_find_locale): Return right away if
89472         _nl_explode_name failed.
89473         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
89475         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
89477         * debug/xtrace.sh: Unify messages.
89478         * malloc/memusage.sh: Likewise.
89480         [BZ #12813]
89481         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
89482         time symbol from vDSO.  Substitute with vsyscall if not available.
89483         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
89484         __vdso_time.
89486         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
89487         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
89488         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
89489         Add sendmmsg and internal_sendmmsg.
89490         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
89491         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
89492         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
89494         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
89495         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
89496         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
89498 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
89500         [BZ #12813]
89501         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
89502         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
89503         available.
89504         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
89505         __vdso_getcpu.
89507         [BZ #12814]
89508         * iconvdata/Makefile (tests): Add bug-iconv9.
89509         * iconvdata/bug-iconv9.c: New file.
89511 2011-05-27  Andreas Schwab  <schwab@redhat.com>
89513         [BZ #12814]
89514         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
89516 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
89518         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89519         (struct user_regs_struct): Change intcs field back to cs.
89521 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
89523         * po/ja.po: Update from translation team.
89525 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
89527         [BZ #12795]
89528         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
89529         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
89531 2011-05-20  Andreas Schwab  <schwab@redhat.com>
89533         * stdlib/longlong.h: Update from GCC.
89535 2011-05-23  Andreas Schwab  <schwab@redhat.com>
89537         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
89538         parameter name.
89539         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
89540         Add parameter name.
89541         (__sysconf): Pass it down.
89543 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
89545         [BZ #12671]
89546         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
89547         some situations.
89548         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
89549         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
89550         add in in __libc_use_alloca calls.  Adjust callers.
89551         (glob): Use malloc in some situations.
89553         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
89554         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
89555         pltexit.
89557 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
89559         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
89560         and CLOCK_BOOTTIME_ALARM.
89562         [BZ #12782]
89563         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
89564         is returned.
89566         * string/_strerror.c (__strerror_r): Print negative errors as signed
89567         numbers.
89569         [BZ #12777]
89570         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
89571         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
89572         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
89574         * configure.in: Fix typo in redirection and correct removal of test
89575         files in two cases.
89577         [BZ #12788]
89578         * locale/setlocale.c (new_composite_name): Fix test to check for
89579         identical name of all categories.
89581         [BZ #12792]
89582         * libio/filedoalloc.c (local_isatty): New function.
89583         (_IO_file_doallocate): Use local_isatty.
89584         * stdio-common/perror.c (perror): In case a new stream is used
89585         forward the stream error.
89586         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
89587         error flag.
89589 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
89591         [BZ #11884]
89592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
89593         alloca.
89594         * include/alloca.h (extend_alloca_account): Define.
89596         [BZ #11857]
89597         * posix/regex.h: Fix comments with documentation of user-accessible
89598         fields after compilation and describe correct free'ing of pattern
89599         after re_compile_pattern.
89600         Patch by Reuben Thomas <rrt@sc3d.org>.
89602 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
89604         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
89605         and -mno-altivec to prevent the compiler from using Altivec and/or
89606         VSX instructions when the corresponding registers are not available.
89608 2011-05-19  Andreas Schwab  <schwab@redhat.com>
89610         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
89612 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
89614         * libio/freopen.c (freopen): Use __dup2, not dup2.
89615         * libio/freopen64.c (freopen64): Likewise.
89617 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
89619         [BZ #12775]
89620         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
89621         * math/Makefile (tests): Add test-powl.
89622         (CFLAGS-test-powl.c): Define.
89623         * math/test-powl.c: New file.
89625 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
89627         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
89629 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
89631         [BZ #11837]
89632         * iconvdata/gb18030.c: Update to GB18020-2005.
89634 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
89636         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
89637         RE_SYNTAX_POSIX_AWK): Update to match recent development.
89638         Patch by Aharon Robbins <arnold@skeeve.com>.
89640         [BZ #11892]
89641         * stdlib/putenv.c (putenv): Don't always create copy of the variable
89642         on the stack.
89644         [BZ #11895]
89645         * misc/pselect.c (__pselect): Handle timeout value errors hidden
89646         through underflows.
89648         [BZ #12766]
89649         * misc/error.c (error_at_line): Ensure file_name and old_file_name
89650         point to strings before performing equality test for error_one_per_line
89651         mode.
89653         [BZ #11697]
89654         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
89656         [BZ #11820]
89657         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
89658         (struct user_fpregs_struct): Avoid __uint*_t types.
89660         [BZ #6420]
89661         * malloc/mtrace.c (tr_where): Add additional parameter to point to
89662         symbol info.  Use it instead of calling _dl_addr locally.
89663         (lock_and_info): New function.
89664         (tr_freehook): Call lock_and_info and pass symbol info as additional
89665         parameter to tr_where.
89666         (tr_mallochook): Likewise.
89667         (tr_reallochook): Likewise.
89668         (tr_memalignhook): Likewise.
89670         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
89671         used and couldn't be at all thread-safe.
89673 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
89675         * libio/freopen.c (freopen): Don't close old file descriptor
89676         before the new one is opened.  Instead dup the new file descriptor
89677         to the old one after the new stream is created.
89678         * libio/freopen64.c (freopen64): Likewise.
89679         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
89680         * libio/fileops.c (_IO_new_file_close_it): Handle new
89681         _IO_FLAGS2_NOCLOSE flag.
89682         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
89683         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
89684         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
89685         _IO_FLAGS2_NOCLOSE flag.
89686         * include/unistd.h: Add hidden_proto for dup3.
89687         Define __have_dup3.
89688         * io/dup3.c: Define hidden symbol.
89689         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
89691         [BZ #7101]
89692         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
89693         when an incomplete long option is used.
89694         * posix/tst-getopt_long1.c: New file.
89695         * posix/Makefile (tests): Add tst-getopt_long1.
89697         [BZ #10138]
89698         * scripts/config.guess: Update from autoconf-2.68.
89699         * scripts/config.sub: Likewise.
89701         [BZ #10157]
89702         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
89703         tests into ...
89704         (has_cpuclock): ...this.  New function.
89705         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
89706         macro here based on has_cpuclock code.
89708         [BZ #10149]
89709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89710         First byte (not low byte) is now always NUL.
89711         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
89713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
89714         Use non-cancelable interfaces.
89716         [BZ #9809]
89717         * locale/iso-639.def: Add entry for Sorani.
89719         [BZ #11901]
89720         * include/stdlib.h: Move include protection to the right place.
89721         Define abort_msg_s.  Declare __abort_msg with it.
89722         * stdlib/abort.c (__abort_msg): Adjust type.
89723         * assert/assert.c (__assert_fail_base): New function.  Majority
89724         of code from __assert_fail.  Allocate memory for __abort_msg with
89725         mmap.
89726         (__assert_fail): Now call __assert_fail_base.
89727         * assert/assert-perr.c: Remove bulk of implementation.  Use
89728         __assert_fail_base.
89729         * include/assert.hL Declare __assert_fail_base.
89730         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
89731         mmap.
89732         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
89734 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
89736         [BZ #11952]
89737         [BZ #12453]
89738         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
89739         until all modules are registered in the DTV.
89740         * elf/Makefile: Add rules to build and run tst-tls19.
89741         * elf/tst-tls19.c: New file.
89742         * elf/tst-tls19mod1.c: New file.
89743         * elf/tst-tls19mod2.c: New file.
89744         * elf/tst-tls19mod3.c: New file.
89745         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
89747         [BZ #12083]
89748         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
89749         correctly.
89751         [BZ #12601]
89752         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
89753         two-byte sequence errors.
89754         * iconvdata/Makefile (tests): Add bug-iconv8.
89755         * iconvdata/bug-iconv8.c: New file.
89757         [BZ #12626]
89758         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
89759         buf2 definition.
89761         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
89763         [BZ #12432]
89764         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
89765         (dummy_getcfa): New function.
89766         (init): Get _Unwind_GetCFA address, use dummy if not found.
89767         (backtrace_helper): In recursion check, also check whether CFA changes.
89768         (__backtrace): Completely initialize arg.
89770         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
89771         storing incomplete byte sequence in state object.  Avoid testing for
89772         guaranteed too small input if we know there is enough data available.
89774 2011-05-11  Andreas Schwab  <schwab@redhat.com>
89776         * Makeconfig (+link-pie): Indent.
89777         * Rules (binaries-pie): Define if $(have-fpie) and
89778         $(build-shared).
89779         (binaries-shared): Also filter out $(binaries-pie).
89780         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
89781         * nscd/Makefile (others-pie): Add nscd.
89782         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
89783         ($(objpfx)nscd): Remove command override.
89784         * login/Makefile (others-pie): Add pt_chown.
89785         ($(objpfx)pt_chown): Remove command override.
89786         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
89787         remove command overrides.
89789 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
89791         * libio/tst_putwc.c: Fix error messages.
89793         [BZ #12724]
89794         * libio/fileops.c (_IO_new_file_close_it): Always flush when
89795         currently writing and seek to current position when not.
89796         * libio/Makefile (tests): Add bug-fclose1.
89797         * libio/bug-fclose1.c: New file.
89799 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
89801         [BZ #12511]
89802         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
89803         don't set DF_1_NODELETE here.
89804         (do_lookup_x): When entering new entry test for copy relocation
89805         and if necessary set DF_1_NODELETE flag.
89806         * elf/tst-unique4.cc: New file.
89807         * elf/tst-unique4.h: New file.
89808         * elf/tst-unique4lib.cc: New file.
89809         * elf/Makefile: Add rules to build and run tst-unique4.
89810         Patch by Piotr Bury <pbury@goahead.com>.
89812 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
89814         [BZ #12052]
89815         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
89817         [BZ #12625]
89818         * misc/mntent_r.c (addmntent): Flush the stream after the output
89820         [BZ #12393]
89821         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
89822         (is_trusted_path_normalize): Skip initial colon.  Append slash
89823         to empty buffer.  Duplicate is_trusted_path code but allow
89824         constructed patch to be prefix.
89825         (is_dst): Allow $ORIGIN followed by /.
89826         (_dl_dst_substitute): Correct clearing of check_for_trusted.
89827         Correct testing of result of is_trusted_path_normalize
89828         (decompose_rpath): Fix warning.
89830 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
89832         [BZ #11257]
89833         * grp/initgroups.c (internal_getgrouplist): When we found the service
89834         list through the initgroups entry in nsswitch.conf do not always
89835         continue on a successful lookup.  Don't always use the
89836         __nss_group_database value if it is set.
89837         * nss/nsswitch.conf (initgroups): Change action for successful db
89838         lookup to continue for compatibility.
89840 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
89842         [BZ #11532]
89843         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
89844         and CP774 modules.
89845         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
89846         and CP774 modules.
89847         * iconvdata/tst-tables.sh: Likewise.
89848         * iconvdata/cp770.c: New file.
89849         * iconvdata/cp771.c: New file.
89850         * iconvdata/cp772.c: New file.
89851         * iconvdata/cp773.c: New file.
89852         * iconvdata/cp774.c: New file.
89853         * iconvdata/testdata/CP770: New file.
89854         * iconvdata/testdata/CP770..UTF8: New file.
89855         * iconvdata/testdata/CP771: New file.
89856         * iconvdata/testdata/CP771..UTF8: New file.
89857         * iconvdata/testdata/CP772: New file.
89858         * iconvdata/testdata/CP772..UTF8: New file.
89859         * iconvdata/testdata/CP773: New file.
89860         * iconvdata/testdata/CP773..UTF8: New file.
89861         * iconvdata/testdata/CP774: New file.
89862         * iconvdata/testdata/CP774..UTF8: New file.
89864         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
89865         END CHARMAP line.
89866         * iconvdata/gen-8bit-gap.sh: Likewise.
89867         * iconvdata/gen-8bit.sh: Likewise.
89869         * locale/iso-639.def: Add ary entry.
89871         [BZ #11258]
89872         * locale/C-translit.h.in: Add U20A1 transliteration.
89874         [BZ #12178]
89875         * locale/iso-639.def: Add wae entry.
89876         Patch by Kevin Bortis <bortis@translate-wae.ch>.
89878         [BZ #12545]
89879         * locale/programs/localedef.c (construct_output_path): Use ssize_t
89880         for n.
89882         [BZ #12711]
89883         * locale/C-translit.h.in: Add entry for U20B9.
89884         Patch by pravin.d.s@gmail.com.
89886 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
89888         [BZ #12713]
89889         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
89890         ENAMETOOLONG use generic getcwd.
89891         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
89892         in rtld.  Use *stat64.
89893         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
89894         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
89895         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
89896         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
89897         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
89898         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
89899         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
89900         __fstatat64 macros.
89901         * include/dirent.h: Add libc_hidden_proto for rewinddir.
89902         * dirent/rewinddir.c: Add libc_hidden_def.
89903         * sysdeps/mach/hurd/rewinddir.c: Likewise.
89904         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
89906         * include/dirent.h (__alloc_dir): Add flags parameter.
89907         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
89908         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
89909         __alloc_dir.
89910         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
89911         from fdopendir if O_CLOEXEC is already set.
89913 2011-03-15  Alan Modra  <amodra@gmail.com>
89915         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
89916         l_tls_firstbyte_offset non-zero.  Save padding offset in
89917         l_tls_firstbyte_offset for later use.
89918         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
89919         freeing static tls block.
89921 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
89923         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
89924         where #ifdef was intended.  The intent is to prevent ARG_MAX from
89925         being defined by the kernel headers.
89927 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
89929         [BZ #12734]
89930         * resolv/resolv.h: Define RES_NOTLDQUERY.
89931         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
89932         no-tld-query and set RES_NOTLDQUERY.
89933         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
89934         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
89935         modern BIND to search name as TLD unless forbidden.
89937 2011-05-07  Petr Baudis  <pasky@suse.cz>
89938             Ulrich Drepper  <drepper@gmail.com>
89940         [BZ #12393]
89941         * elf/dl-load.c (fillin_rpath): Move trusted path check...
89942         (is_trusted_path): ...to here.
89943         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
89944         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
89945         using is_trusted_path_normalize() in setuid scripts.
89947 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
89949         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
89950         __BEGIN/__END_DECLS.
89952 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
89954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
89955         NSS_STATUS_NOTFOUND if no record was found.
89957 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89959         * sunrpc/Makefile (headers): Add rpc/netdb.h.
89960         (headers-not-in-tirpc): Remove rpc/netdb.h
89961         * resolv/netdb.h: Revert last change.
89963 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89965         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
89966         circular dependency between libgcc.a and libc.a.
89968 2011-05-05  Andreas Schwab  <schwab@redhat.com>
89970         * resolv/netdb.h: Don't include <rpc/netdb.h>.
89971         * nis/Makefile: Don't install rpcsvc/*.
89972         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
89973         instead of <rpc/types.h>.
89974         (MAXHOSTNAMELEN): Define.
89976 2011-05-03  Andreas Schwab  <schwab@redhat.com>
89978         * elf/ldconfig.c (add_dir): Don't crash on empty path.
89980 2011-04-28  Maciej Babinski  <mbabinski@google.com>
89982         [BZ #12714]
89983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
89984         gethostbyname4_r when IPv6 results are possible.
89986 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
89988         [BZ #12723]
89989         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
89990         _PC_PIPE_BUF handling.
89992 2011-04-30  Bruno Haible  <bruno@clisp.org>
89994         [BZ #12717]
89995         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
89996         * resolv/netdb.h (getnameinfo): Change type of flags parameter
89997         to 'int'.
89998         * inet/getnameinfo.c (getnameinfo): Likewise.
90000 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90002         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90003         to groups setting in database lookup.
90004         * nss/nsswitch.conf: Add initgroups entry.
90006 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90008         [BZ #12685]
90009         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90010         mode string.
90011         Patch by Eric Blake <eblake@redhat.com>.
90013 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90015         * sunrpc/Makefile (need-export-routines): Add svc_run.
90016         (routines): Remove svc_run.
90017         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90018         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90019         * sunrpc/svc_run.c (svc_run): Likewise.
90020         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90022 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90024         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90025         problem in reallocation in last patch.
90027 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90029         * sunrpc/Makefile: Move inclusion of Rules.
90031 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90033         * nss/nss_files/files-initgroups.c: New file.
90034         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90035         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90036         _nss_files_initgroups_dyn.
90038 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90040         * elf/elf.h (R_ARM_IRELATIVE): Define.
90042 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90044         * po/ru.po: Update from translation team.
90046 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90048         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90049         dependencies.
90051 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
90053         [BZ #12653]
90054         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
90055         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
90056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90057         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
90058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
90060 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
90062         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
90063         differing bytes.
90064         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
90065         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
90066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90068 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90070         [BZ #12420]
90071         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
90072         storing it.
90073         * stdlib/bug-getcontext.c: New file.
90074         * stdlib/Makefile: Add rules to build and run bug-getcontext.
90076 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90078         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
90079         instructions into .machine "z9-109".
90080         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
90081         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
90083 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90085         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
90086         between environment variables and auxiliary vector.
90088 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
90090         * Makefile: Add rules to build linkobj/libc.so.
90091         * include/libc-symbols.h: Define libc_hidden_nolink.
90092         * include/rpc/auth.h: Mark functions which are to be hidden.
90093         * include/rpc/auth_des.h: Likewise.
90094         * include/rpc/auth_unix.h: Likewise.
90095         * include/rpc/clnt.h: Likewise.
90096         * include/rpc/des_crypt.h: Likewise.
90097         * include/rpc/key_prot.h: Likewise.
90098         * include/rpc/pmap_clnt.h: Likewise.
90099         * include/rpc/pmap_prot.h: Likewise.
90100         * include/rpc/pmap_rmt.h: Likewise.
90101         * include/rpc/rpc_msg.h: Likewise.
90102         * include/rpc/svc.h: Likewise.
90103         * include/rpc/svc_auth.h: Likewise.
90104         * include/rpc/xdr.h: Likewise.
90105         * nis/Makefile: Link all DSOs against linkobj/libc.so.
90106         * nss/Makefile: Likewise.
90107         * sunrpc/Makefile: Don't install headers.  Build library with normal
90108         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
90109         * sunrpc/auth_des.c: Hide exported symbols by default, export some
90110         for the compat linking library.  Remove use of INTDEF/INTUSE.
90111         * sunrpc/auth_none.c: Likewise.
90112         * sunrpc/auth_unix.c: Likewise.
90113         * sunrpc/authdes_prot.c: Likewise.
90114         * sunrpc/authuxprot.c: Likewise.
90115         * sunrpc/clnt_gen.c: Likewise.
90116         * sunrpc/clnt_perr.c: Likewise.
90117         * sunrpc/clnt_raw.c: Likewise.
90118         * sunrpc/clnt_simp.c: Likewise.
90119         * sunrpc/clnt_tcp.c: Likewise.
90120         * sunrpc/clnt_udp.c: Likewise.
90121         * sunrpc/clnt_unix.c: Likewise.
90122         * sunrpc/des_crypt.c: Likewise.
90123         * sunrpc/des_soft.c: Likewise.
90124         * sunrpc/get_myaddr.c: Likewise.
90125         * sunrpc/key_call.c: Likewise.
90126         * sunrpc/key_prot.c: Likewise.
90127         * sunrpc/netname.c: Likewise.
90128         * sunrpc/pm_getmaps.c: Likewise.
90129         * sunrpc/pm_getport.c: Likewise.
90130         * sunrpc/pmap_clnt.c: Likewise.
90131         * sunrpc/pmap_prot.c: Likewise.
90132         * sunrpc/pmap_prot2.c: Likewise.
90133         * sunrpc/pmap_rmt.c: Likewise.
90134         * sunrpc/publickey.c: Likewise.
90135         * sunrpc/rpc_cmsg.c: Likewise.
90136         * sunrpc/rpc_common.c: Likewise.
90137         * sunrpc/rpc_dtable.c: Likewise.
90138         * sunrpc/rpc_prot.c: Likewise.
90139         * sunrpc/rpc_thread.c: Likewise.
90140         * sunrpc/rtime.c: Likewise.
90141         * sunrpc/svc.c: Likewise.
90142         * sunrpc/svc_auth.c: Likewise.
90143         * sunrpc/svc_authux.c: Likewise.
90144         * sunrpc/svc_raw.c: Likewise.
90145         * sunrpc/svc_run.c: Likewise.
90146         * sunrpc/svc_simple.c: Likewise.
90147         * sunrpc/svc_tcp.c: Likewise.
90148         * sunrpc/svc_udp.c: Likewise.
90149         * sunrpc/svc_unix.c: Likewise.
90150         * sunrpc/svcauth_des.c: Likewise.
90151         * sunrpc/xcrypt.c: Likewise.
90152         * sunrpc/xdr.c: Likewise.
90153         * sunrpc/xdr_array.c: Likewise.
90154         * sunrpc/xdr_float.c: Likewise.
90155         * sunrpc/xdr_intXX_t.c: Likewise.
90156         * sunrpc/xdr_mem.c: Likewise.
90157         * sunrpc/xdr_rec.c: Likewise.
90158         * sunrpc/xdr_ref.c: Likewise.
90159         * sunrpc/xdr_sizeof.c: Likewise.
90160         * sunrpc/xdr_stdio.c: Likewise.
90162 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
90164         [BZ #12650]
90165         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
90166         * sysdeps/ia64/dl-tls.h: Likewise.
90167         * sysdeps/powerpc/dl-tls.h: Likewise.
90168         * sysdeps/s390/dl-tls.h: Likewise.
90169         * sysdeps/sh/dl-tls.h: Likewise.
90170         * sysdeps/sparc/dl-tls.h: Likewise.
90171         * sysdeps/x86_64/dl-tls.h: Likewise.
90172         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
90174 2011-03-14  Andreas Schwab  <schwab@redhat.com>
90176         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
90177         rpath element also skip the following colon.
90178         (expand_dynamic_string_token): Add is_path parameter and pass
90179         down to DL_DST_REQUIRED and _dl_dst_substitute.
90180         (decompose_rpath): Call expand_dynamic_string_token with
90181         non-zero is_path.  Ignore empty rpaths.
90182         (_dl_map_object_from_fd): Call expand_dynamic_string_token
90183         with zero is_path.
90185 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
90187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
90188         Make cancelable.
90190 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
90192         [BZ #12655]
90193         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
90194         Patch by Filipe David Manana <fdmanana@apache.org>.
90196 2011-04-07  Andreas Schwab  <schwab@redhat.com>
90198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
90199         Maintain aligned stack.
90200         (CHECK_RSP): Remove unused macro.
90202 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
90204         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
90205         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
90207 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
90209         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
90211         * include/features.h: Mention __USE_XOPEN2K8 in comment.
90213 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
90215         [BZ #12518]
90216         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
90217         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
90218         * sysdeps/x86_64/memmove.c: New file.
90219         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
90220         (memcpy): Renamed to ...
90221         (__new_memcpy): This.
90222         (memcpy): Provide GLIBC_2_14 memcpy.
90223         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
90224         (memcpy): Provide GLIBC_2_2_5 memcpy.
90226 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90228         [BZ #12631]
90229         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
90231 2011-03-30  Andreas Schwab  <schwab@redhat.com>
90233         * misc/syncfs.c: New file.
90234         * misc/Makefile (routines): Add syncfs.
90235         * posix/unistd.h: Declare syncfs.
90236         * sysdeps/unix/syscalls.list: Add syncfs.
90238 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90240         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
90241         open_by_handle_at.
90242         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90245         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90247         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
90248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90250 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
90253         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90254         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
90255         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90256         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90258         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90260         * io/Makefile: Compile fallocate.c, fallocate64.c, and
90261         sync_file_range.c with -fexceptions.
90262         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
90263         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
90264         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
90265         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
90266         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
90267         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
90268         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
90269         sync_file_range as cancellation point
90270         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
90271         now a wrapper around __call_sync_file_range with cancellation handling.
90272         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
90273         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
90274         function name to __call_sync_file_range.
90275         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
90276         Add call_sync_file_range.
90278 2011-04-01  Andreas Schwab  <schwab@redhat.com>
90280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
90281         bits/timex.h.
90283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
90285         * iconv/iconv.h: Fix typo in comment.
90286         * io/fcntl.h: Likewise.
90287         * libio/stdio.h: Likewise.
90288         * posix/spawn.h: Likewise.
90289         * posix/unistd.h: Likewise.
90290         * stdlib/stdlib.h: Likewise.
90291         * time/time.h: Likewise.
90292         * wcsmbs/wchar.h: Likewise.
90294         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
90295         open_by_handle): Add.
90296         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
90297         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
90298         Augment a few comments.
90299         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90301         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90303         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90304         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
90305         open_by_handle.
90307         * io/fcntl.h (AT_EMPTY_PATH): Define.
90309 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
90311         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
90312         * sysdeps/unix/sysv/linux/bits/time.h: New file.
90313         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
90314         to...
90315         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
90316         * Versions.def: Add GLIBC_2.14.
90317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
90318         Export.
90320 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
90322         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
90323         round counter.
90324         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90326 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
90328         [BZ #12597]
90329         * string/test-strncmp.c (do_page_test): New function.
90330         (check2): Likewise.
90331         (test_main): Call check2.
90332         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
90334 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
90336         [BZ #12587]
90337         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
90338         Handle cache information in CPU leaf 4.
90339         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
90341 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
90343         [BZ #12583]
90344         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
90345         character representation.
90346         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
90348 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
90350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
90351         END(__isnan) to END(__isnanf) to match function entry point/label
90352         EALIGN(__isnanf,...).
90354 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
90356         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
90358 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
90360         [BZ #12510]
90361         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
90362         copy from the symbol referenced in the relocation to initialize the
90363         used variable.
90364         Patch by Piotr Bury <pbury@goahead.com>.
90365         * elf/Makefile: Add rules to build and tst-unique3.
90366         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
90367         * elf/tst-unique3.cc: New file.
90368         * elf/tst-unique3.h: New file.
90369         * elf/tst-unique3lib.cc: New file.
90370         * elf/tst-unique3lib2.cc: New file.
90372         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
90374 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
90376         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
90377         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
90378         to _start.
90380 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
90382         * elf/dl-load.c (_dl_map_object): If we are looking for the first
90383         to-be-loaded object along a path to loader is ld.so.
90385 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90386             Ulrich Drepper  <drepper@gmail.com>
90388         * sysdeps/x86_64/memset.S: After aligning destination, code
90389         branches to different locations depending on the value of
90390         misalignment, when multiarch is enabled. Fix this.
90392 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
90394         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
90395         Set _x86_64_preferred_memory_instruction for AMD processsors.
90396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90397         Set bit_Prefer_SSE_for_memop for AMD processors.
90399 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
90401         * libio/fmemopen.c (fmemopen): Optimize a bit.
90403 2011-03-03  Andreas Schwab  <schwab@redhat.com>
90405         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
90407 2011-03-03  Roland McGrath  <roland@redhat.com>
90409         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
90411 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
90413         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
90414         __bzero_ultra1 instead of __memset_ultra1.
90416 2011-02-23  Andreas Schwab  <schwab@redhat.com>
90417             Ulrich Drepper  <drepper@gmail.com>
90419         [BZ #12509]
90420         * include/link.h (struct link_map): Add l_orig_initfini.
90421         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
90422         returning unsuccessfully.
90423         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
90424         close of a file loaded at startup, restore the original l_initfini
90425         list.
90426         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
90427         list, store the pointer.
90428         * elf/Makefile ($(objpfx)noload-mem): New rule.
90429         (noload-ENV): Define.
90430         (tests): Add $(objpfx)noload-mem.
90431         * elf/noload.c: Include <memcheck.h>.
90432         (main): Call mtrace.  Close all opened handles.
90434 2011-02-17  Andreas Schwab  <schwab@redhat.com>
90436         [BZ #12454]
90437         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
90438         dependencies are missing.
90440 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90442         Fix __if_freereq crash: Unlike the generic version which uses free,
90443         Hurd needs munmap.
90444         * sysdeps/mach/hurd/ifreq.h: New file.
90446 2011-01-27  Petr Baudis  <pasky@suse.cz>
90447             Ulrich Drepper  <drepper@gmail.com>
90449         [BZ 12445]#
90450         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
90451         to extend_alloca().
90452         * stdio-common/bug23.c: New file.
90453         * stdio-common/Makefile (tests): Add bug23.
90455 2010-09-28  Andreas Schwab  <schwab@redhat.com>
90456             Ulrich Drepper  <drepper@gmail.com>
90458         [BZ #12489]
90459         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
90460         before performing relro protection.  At old place add assertion
90461         to make sure nothing changed.
90463 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
90464             Glauber de Oliveira Costa  <glommer@gmail.com>
90466         * elf/elf.h: Add new ARM TLS relocs.
90468 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
90470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
90471         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
90472         cast from r3.
90473         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
90474         'tests' variable.
90475         * sysdeps/wordsize-64/tst-writev.c: New file.
90477 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
90479         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
90480         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
90481         insns in _dl_start to prevent a TOC reference before relocs are
90482         resolved.
90484 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
90486         [BZ #12469]
90487         * Makeconfig: Remove RANLIB definition.
90488         * Makerules: Don't use RANLIB.
90489         * aclocal.m4: Remove ranlib test.
90490         * configure.in: No need to check for ranlib.
90491         * elf/rtld-Rules: Don't use RANLIB.
90493 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90495         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
90496         protection macro.
90497         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
90498         inclusion protection macro.
90500         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
90501         SIGRTMIN and SIGRTMAX and print information in that case only when
90502         SIGRTMIN is defined.
90504 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
90506         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
90507         arginfo fn returning -1.
90509         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
90510         and thousands string is zero terminated.
90512 2011-02-03  Andreas Schwab  <schwab@redhat.com>
90514         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
90515         sysdeps/unix/sysv/linux/bits/socket.h.
90517 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90519         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
90520         (__CPU_COUNT): Remove old macros.
90521         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
90522         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
90523         (__CPU_ALLOC, __CPU_FREE): Add macros.
90524         (__sched_cpualloc, __sched_cpufree): Add declarations.
90526 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
90528         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
90529         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
90530         * nscd/aicache.c (addhstaiX): Return timeout of added value.
90531         (readdhstai): Return value of addhstaiX call.
90532         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
90533         (addgrbyX): Return value returned by cache_addgr.
90534         (readdgrbyname): Return value returned by addgrbyX.
90535         (readdgrbygid): Likewise.
90536         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
90537         (addpwbyX): Return value returned by cache_addpw.
90538         (readdpwbyname): Return value returned by addhstbyX.
90539         (readdpwbyuid): Likewise.
90540         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
90541         (addservbyX): Return value returned by cache_addserv.
90542         (readdservbyname): Return value returned by addservbyX:
90543         (readdservbyport): Likewise.
90544         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
90545         (addhstbyX): Return value returned by cache_addhst.
90546         (readdhstbyname): Return value returned by addhstbyX.
90547         (readdhstbyaddr): Likewise.
90548         (readdhstbynamev6): Likewise.
90549         (readdhstbyaddrv6): Likewise.
90550         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
90551         (readdinitgroups): Return value returned by addinitgroupsX.
90552         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
90553         (prune_cache): Keep track of timeout value of re-added entries.
90554         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
90555         * nscd/nscd.h: Adjust prototypes of readd* functions.
90557 2011-02-04  Roland McGrath  <roland@redhat.com>
90559         * nis/nis_server.c (nis_servstate): Use the right name for 0.
90560         (nis_stats): Likewise.
90561         * nis/nis_modify.c (nis_modify): Likewise.
90562         * nis/nis_remove.c (nis_remove): Likewise.
90563         * nis/nis_add.c (nis_add): Likewise.
90565         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
90567         * posix/fnmatch_loop.c: Add some consts.
90569         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
90571 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
90573         [BZ #12460]
90574         * config.make.in (config-cflags-novzeroupper): Define.
90575         * configure.in: Substitute libc_cv_cc_novzeroupper.
90576         * elf/Makefile (AVX-CFLAGS): Define.
90577         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
90578         (CFLAGS-tst-auditmod4a.c): Likewise.
90579         (CFLAGS-tst-auditmod4b.c): Likewise.
90580         (CFLAGS-tst-auditmod6b.c): Likewise.
90581         (CFLAGS-tst-auditmod6c.c): Likewise.
90582         (CFLAGS-tst-auditmod7b.c): Likewise.
90583         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
90585 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
90587         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
90588         function to the callback.
90589         Patch partly by Jiri Olsa <jolsa@redhat.com>.
90591 2011-02-02  Andreas Schwab  <schwab@redhat.com>
90593         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
90594         of errno.
90596 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
90598         [BZ #11724]
90599         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
90600         of constructors.
90601         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
90602         of destructors.
90603         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
90605         [BZ #11724]
90606         * elf/Makefile: Add rules to build and run new test.
90607         * elf/tst-initorder.c: New file.
90608         * elf/tst-initorder.exp: New file.
90609         * elf/tst-initordera1.c: New file.
90610         * elf/tst-initordera2.c: New file.
90611         * elf/tst-initordera3.c: New file.
90612         * elf/tst-initordera4.c: New file.
90613         * elf/tst-initorderb1.c: New file.
90614         * elf/tst-initorderb2.c: New file.
90615         * elf/tst-order-a1.c: New file.
90616         * elf/tst-order-a2.c: New file.
90617         * elf/tst-order-a3.c: New file.
90618         * elf/tst-order-a4.c: New file.
90619         * elf/tst-order-b1.c: New file.
90620         * elf/tst-order-b2.c: New file.
90621         * elf/tst-order-main.c: New file.
90622         New test case by George Gensure <werkt0@gmail.com>.
90624 2010-10-01  Andreas Schwab  <schwab@redhat.com>
90626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90627         decoding ACE if AI_CANONIDN.
90629 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
90631         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
90633 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
90635         * version.h (RELEASE): Bump for 2.13 release.
90636         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
90638         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
90640         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
90641         MADV_NOHUGEPAGE.
90642         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
90643         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
90644         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
90645         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
90646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
90647         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90649         * posix/getconf.c: Update copyright year.
90650         * catgets/gencat.c: Likewise.
90651         * csu/version.c: Likewise.
90652         * debug/catchsegv.sh: Likewise.
90653         * debug/xtrace.sh: Likewise.
90654         * elf/ldconfig.c: Likewise.
90655         * elf/ldd.bash.in: Likewise.
90656         * elf/sprof.c (print_version): Likewise.
90657         * iconv/iconv_prog.c: Likewise.
90658         * iconv/iconvconfig.c: Likewise.
90659         * locale/programs/locale.c: Likewise.
90660         * locale/programs/localedef.c: Likewise.
90661         * malloc/memusage.sh: Likewise.
90662         * malloc/mtrace.pl: Likewise.
90663         * nscd/nscd.c (print_version): Likewise.
90664         * nss/getent.c: Likewise.
90666         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
90667         PF_CAIF, and PF_ALG.
90668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90670 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
90672         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
90673         (modules-names): Use them.
90674         (ifunc-test-modules, ifunc-pie-tests): Define.
90675         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
90676         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
90677         (test-extras): Likewise.
90678         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
90679         $(compile-command.c).
90680         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
90681         (all-built-dso): Define.
90682         (check-textrel.out, check-execstack.out): Depend on it.
90684         * configure.in: Don't override --enable-multi-arch.
90686 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
90688         [BZ #6812]
90689         * nscd/hstcache.c (tryagain): Define.
90690         (cache_addhst): Return tryagain not notfound for temporary errors.
90691         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
90692         failed.
90694 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
90696         [BZ #10563]
90697         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
90698         to make the syscall.
90699         * sysdeps/unix/sysv/linux/setgroups.c: New file.
90701         [BZ #12378]
90702         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
90703         and fall back to matching as normal character if the string ends before
90704         the matching ']' is found.  This is what POSIX requires.
90705         * posix/testfnm.c: Adjust test result.
90706         * posix/globtest.sh: Adjust test result.  Add new test.
90707         * posix/tst-fnmatch.input: Likewise.
90708         * posix/tst-fnmatch2.c: Add new test.
90710 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
90712         * elf/Makefile (check-execstack): Revert last change.  Depend on
90713         check-execstack.h.
90714         (check-execstack.h): New target.
90715         (generated): Add check-execstack.h.
90716         * elf/check-execstack.c: Include "check-execstack.h".
90717         (main): Revert last change.
90718         (handle_file): Return zero if GNU_STACK is absent and
90719         DEFAULT_STACK_PERMS doesn't include PF_X.
90721 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
90723         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
90724         in child fails because the descriptor is already closed.
90725         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
90726         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
90727         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
90729         [BZ #12397]
90730         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
90731         syscall.
90733         [BZ #10484]
90734         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
90735         temporary buffer used to handle multi lookups locally.
90736         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
90738 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90740         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
90741         loader is ld.so.
90743 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
90745         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
90746         alignment for SSE2.
90748 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
90750         [BZ #12394]
90751         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
90752         characters.  When rounding increased number of integer digits recompute
90753         number of groups.
90754         * stdio-common/tst-grouping.c: New file.
90755         * stdio-common/Makefile: Add rules to build and run tst-grouping.
90757 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
90759         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
90760         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
90762         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
90763         void.
90764         * bits/select.h: Likewise.
90766 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
90768         * po/ja.po: Update from translation team.
90770 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
90772         [BZ #11155]
90773         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
90774         implementation just like for lxstat, fxstatat, et al.
90776 2010-12-27  Jim Meyering  <meyering@redhat.com>
90778         [BZ #12348]
90779         * posix/regexec.c (build_trtable): Return failure indication upon
90780         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
90782 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
90784         [BZ #12201]
90785         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
90786         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
90787         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90788         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
90790         [BZ #12207]
90791         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
90793         [BZ #12204]
90794         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
90795         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
90797 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
90799         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
90800         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
90801         script has SORT_BY_INIT_PRIORITY.
90802         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
90803         NO_CTORS_DTORS_SECTIONS is defined.
90804         * elf/soinit.c: Likewise.
90805         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
90806         NO_CTORS_DTORS_SECTIONS is defined.
90807         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
90808         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
90809         * sysdeps/sh/init-first.c: Likewise.
90810         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
90812 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
90814         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
90815         always use the slow path.
90817 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
90819         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
90820         similar rule which adds the sysdep directories to the header search in
90821         order to pick up the correct platform stackinfo.h.
90822         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
90823         perform test if it is, otherwise return successfully without testing.
90824         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
90825         DEFAULT_STACK_PERMS define in stackinfo.h.
90826         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
90827         defined in stackinfo.h.
90828         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
90829         DEFAULT_STACK_PERMS defined in stackinfo.h.
90830         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
90831         * sysdeps/ia64/stackinfo.h: Likewise.
90832         * sysdeps/s390/stackinfo.h: Likewise.
90833         * sysdeps/sh/stackinfo.h: Likewise.
90834         * sysdeps/sparc/stackinfo.h: Likewise.
90835         * sysdeps/x86_64/stackinfo.h: Likewise.
90836         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
90837         PF_X for powerpc64.  Retain PF_X for powerpc32.
90839 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
90841         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
90842         accurately.
90843         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
90844         GETDENTS_64BIT_ALIGNED.
90846 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
90848         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
90850 2010-12-10  Andreas Schwab  <schwab@redhat.com>
90852         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
90853         _GNU_SOURCE.
90855         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
90856         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
90857         Remove __restrict.
90858         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
90859         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
90861 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
90863         [BZ #11655]
90864         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
90865         are initialized.
90867 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
90869         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
90871 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
90873         * po/it.po: Update from translation team.
90875 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
90877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
90878         unused codes.
90880 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
90882         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
90884 2010-11-24  Andreas Schwab  <schwab@redhat.com>
90886         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
90887         specially.
90888         (gaih_getanswer_slice): Likewise.
90890 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
90892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
90894 2010-05-31  Petr Baudis  <pasky@suse.cz>
90896         [BZ #11149]
90897         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
90898         silently even in the chroot mode.
90900 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
90902         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
90903         last patch a bit.  Pretty printing
90905 2010-05-31  Petr Baudis <pasky@suse.cz>
90907         [BZ #10085]
90908         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
90909         initialization of skip_initgroups_dyn.
90911 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
90913         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
90914         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
90916 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
90918         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
90920 2010-11-11  Andreas Schwab  <schwab@redhat.com>
90922         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
90923         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
90924         (tst-fnmatch-ENV): Set MALLOC_TRACE.
90925         ($(objpfx)tst-fnmatch-mem): New rule.
90926         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
90927         * posix/tst-fnmatch.c (main): Call mtrace.
90929 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
90931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90932         Support Intel processor model 6 and model 0x2c.
90934 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
90936         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
90937           signed comparison.
90939 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
90941         [BZ #12205]
90942         * string/test-strncasecmp.c (check_result): New function.
90943         (do_one_test): Use it.
90944         (check1): New function.
90945         (test_main): Use it.
90946         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
90947         Support strcasecmp and strncasecmp.
90949 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
90951         [BZ #12194]
90952         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
90953         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90955 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
90957         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
90958         IFUNC support.
90959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90960         memset-x86-64.
90961         * sysdeps/x86_64/multiarch/bzero.S: New file.
90962         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
90963         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
90964         * sysdeps/x86_64/multiarch/memset.S: New file.
90965         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
90966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90967         Set bit_Prefer_SSE_for_memop for Intel processors.
90968         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
90969         Define.
90970         (index_Prefer_SSE_for_memop): Define.
90971         (HAS_PREFER_SSE_FOR_MEMOP): Define.
90973 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
90975         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
90976         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
90978 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
90980         [BZ #12191]
90981         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90982         (__x86_64_raw_data_cache_size_half): Likewise.
90983         (__x86_64_raw_shared_cache_size): Likewise.
90984         (__x86_64_raw_shared_cache_size_half): Likewise.
90986         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
90987         (__x86_64_raw_data_cache_size_half): Likewise.
90988         (__x86_64_raw_shared_cache_size): Likewise.
90989         (__x86_64_raw_shared_cache_size_half): Likewise.
90990         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
90991         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
90992         and __x86_64_raw_shared_cache_size_half.  Round
90993         __x86_64_data_cache_size_half, __x86_64_data_cache_size
90994         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
90995         to multiple of 256 bytes.
90997 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
90999         [BZ #12167]
91000         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91001         of inacessible symlinks.  Verify result of symlink before returning it.
91002         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91003         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91005 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91007         * math/math.h (isinf): Fix typo in comment.
91009 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91011         * po/da.po: Update from translation team.
91013 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91015         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91016         is added to the list.
91018 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91019             Ulrich Drepper  <drepper@gmail.com>
91021         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91022         the global list here.  Move code to...
91023         (_dl_add_to_namespace_list): ...here.  New function.
91024         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91025         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91026         * elf/dl-load.c (lose): Don't remove the element from the list.
91027         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91028         (_dl_map_object): Likewise.
91030 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91032         [BZ #12159]
91033         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91034         into all bytes of SSE register.
91035         Patch by Richard Li <richardpku@gmail.com>.
91037 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91039         [BZ #12140]
91040         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91041         perturbing.
91043 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91045         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91046         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91047         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91048         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
91050         submachine.
91051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
91053 2010-10-22  Andreas Schwab  <schwab@redhat.com>
91055         * include/dlfcn.h (__RTLD_SECURE): Define.
91056         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
91057         mode & __RTLD_SECURE instead.
91058         (open_path): Rename preloaded parameter to secure.
91059         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
91060         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
91061         * elf/dl-deps.c (openaux): Likewise.
91062         * elf/rtld.c (struct map_args): Remove is_preloaded.
91063         (map_doit): Don't use it.
91064         (dl_main): Likewise.
91065         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
91066         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
91068 2010-09-09  Andreas Schwab  <schwab@redhat.com>
91070         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
91071         (sysd-rules-targets): Remove duplicates.
91072         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
91073         rtld-%.$o dependency.
91075 2010-10-18  Andreas Schwab  <schwab@redhat.com>
91077         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
91078         _dl_map_object do it.
91080 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
91082         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
91083         fast fma builtins, define the macros in the C99 standard.
91084         (FP_FAST_FMAF): Likewise.
91085         (FP_FAST_FMAL): Likewise.
91086         * sysdeps/x86_64/bits/mathdef.h: Likewise.
91088         * bits/mathdef.h: Update copyright year.
91089         * sysdeps/powerpc/bits/mathdef.h: Likewise.
91091 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
91093         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
91094         builtins, define the macros in the C99 standard.
91095         (FP_FAST_FMAF): Likewise.
91096         (FP_FAST_FMAL): Likewise.
91097         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
91098         multiply/add.
91099         (FP_FAST_FMAF): Likewise.
91101 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
91103         [BZ #3268]
91104         * math/libm-test.inc (fma_test): Some new testcases.
91105         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
91106         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
91107         y and infinite z.  Do multiplication by C already in long double.
91108         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
91109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
91110         y and infinite z.  Do bitwise or of inexact bit into u.d.
91111         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
91112         * sysdeps/i386/fpu/s_fmaf.S: Removed.
91113         * sysdeps/i386/fpu/s_fma.S: Removed.
91114         * sysdeps/i386/fpu/s_fmal.S: Removed.
91116 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
91118         [BZ #3268]
91119         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
91120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
91121         computation is not scheduled after fetestexcept.  Fix value
91122         of minimum denormal long double.
91124 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
91126         [BZ #3268]
91127         * math/libm-test.inc (fma_test): Add some more tests.
91128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
91129         correctly.
91131 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91133         * scripts/data/localplt-s390-linux-gnu.data: New file.
91134         * scripts/data/localplt-s390x-linux-gnu.data: New file.
91136 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
91138         [BZ #3268]
91139         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
91140         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
91141         instead of dbl-64.
91142         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91143         inlines.
91144         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
91145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
91146         if one of x and y is very large and the other is subnormal.
91147         * sysdeps/s390/fpu/s_fmaf.c: New file.
91148         * sysdeps/s390/fpu/s_fma.c: New file.
91149         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
91150         * sysdeps/powerpc/fpu/s_fma.S: New file.
91151         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
91152         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
91153         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
91155 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
91157         [BZ #3268]
91158         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
91159         fma tests.
91160         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
91161         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
91162         * sysdeps/i386/i686/multiarch/s_fma.c: Include
91163         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
91164         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
91165         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
91166         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
91168 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
91170         [BZ #12078]
91171         * posix/regcomp.c (parse_branch): One more memory leak plugged.
91172         * posix/bug-regex31.input: Add test case.
91174 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91176         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
91177         * posix/bug-regex31.input: New file.
91179         [BZ #12078]
91180         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
91181         (parse_sub_exp): Fix last change, use postorder.
91183         * posix/bug-regex31.c: New file.
91184         * posix/Makefile: Add rules to build and run bug-regex31.
91186         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
91188         [BZ #12078]
91189         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
91191         [BZ #12108]
91192         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
91193         to have entries in sys_siglist.
91195         [BZ #12093]
91196         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
91197         be NULL.
91199 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
91201         [BZ #3268]
91202         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
91203         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
91204         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
91205         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
91206         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91207         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
91208         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
91209         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
91210         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
91211         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
91212         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
91213         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
91214         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
91215         * math/ftestexcept.c (fetestexcept): Likewise.
91216         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
91217         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
91218         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
91219         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
91220         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
91221         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
91222         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
91224 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
91226         [BZ #12107]
91227         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
91228         newline.
91230 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
91232         * string/bug-strstr1.c: New file.
91233         * string/Makefile: Add rules to build and run bug-strstr1.
91235 2010-10-05  Eric Blake  <eblake@redhat.com>
91237         [BZ #12092]
91238         * string/str-two-way.h (two_way_long_needle): Always clear memory
91239         when skipping input due to the shift table.
91241 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
91243         [BZ #12005]
91244         * malloc/mcheck.c: Handle large requests.
91246         [BZ #12077]
91247         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
91248         for strncmp and strncasecmp.
91249         * string/stratcliff.c: Add tests for strcmp and strncmp.
91250         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
91252 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
91254         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
91255         __set_fpscr.
91257 2010-09-30  Andreas Jaeger  <aj@suse.de>
91259         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
91260         (CGROUP_SUPER_MAGIC): Define.
91261         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91262         Handle btrfs and cgroup file systems.
91263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
91264         Likewise.
91266 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
91268         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
91269         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
91271 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91273         [BZ #12067]
91274         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
91275         trying to locate the ELF header.
91277 2010-09-27  Andreas Schwab  <schwab@redhat.com>
91279         [BZ #11611]
91280         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
91281         Mask out sign-bit copies when constructing f_fsid.
91283 2010-09-24  Petr Baudis <pasky@suse.cz>
91285         * debug/stack_chk_fail_local.c: Add missing licence exception.
91286         * debug/warning-nop.c: Likewise.
91288 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
91290         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
91291         implementing getdents64 using getdents syscall, set d_type if
91292         __ASSUME_GETDENTS32_D_TYPE.
91294 2010-09-16  Andreas Schwab  <schwab@redhat.com>
91296         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
91297         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
91299 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
91301         [BZ #12037]
91302         * posix/unistd.h: Undo change of feature selection for ftruncate from
91303         2010-01-11.
91305 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
91307         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
91308         detection.
91310 2010-09-20  Andreas Schwab  <schwab@redhat.com>
91312         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
91313         fanotify_mark.
91314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91316 2010-09-14  Andreas Schwab  <schwab@redhat.com>
91318         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
91319         variables after CHECK_SP call.
91320         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
91322 2010-09-13  Andreas Schwab  <schwab@redhat.com>
91323             Ulrich Drepper  <drepper@redhat.com>
91325         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
91326         re-relocationg ld.so.
91327         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
91328         _dl_init_paths call.
91329         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
91330         here anymore.
91332 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
91334         * resolv/res_init.c (__res_vinit): Count the default server we added.
91336 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
91337             Ulrich Drepper  <drepper@redhat.com>
91339         [BZ #11968]
91340         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91341         (____longjmp_chk): Use %ebx for saving value across system call.
91342         Add unwind info.
91344 2010-09-06  Andreas Schwab  <schwab@redhat.com>
91346         * manual/Makefile: Don't mix pattern rules with normal rules.
91348 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
91350         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
91351         operation.
91352         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
91353         * libio/iofopncook.c (_IO_cookie_init): Likewise.
91354         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
91355         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
91356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91357         Likewise.
91359 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
91361         [BZ #11979]
91362         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
91363         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
91365 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
91367         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
91368         * sysdeps/x86_64/addmul_1.S: Likewise.
91369         * sysdeps/x86_64/lshift.S: Likewise.
91370         * sysdeps/x86_64/mul_1.S: Likewise.
91371         * sysdeps/x86_64/rshift.S: Likewise.
91372         * sysdeps/x86_64/sub_n.S: Likewise.
91373         * sysdeps/x86_64/submul_1.S: Likewise.
91375 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91377         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
91378         Define __sched_param instead of SCHED_* and sched_param when
91379         <bits/sched.h> is included with __need_schedparam defined.
91380         * bits/sched.h [__need_schedparam]
91381         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
91382         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
91383         (__defined_schedparam): Define to 1.
91384         (__sched_param): New structure, identical to sched_param.
91385         (__need_schedparam): Undefine.
91387 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
91389         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
91390         (epoll_create1): Declare.
91392         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
91394 2010-08-31  Andreas Schwab  <schwab@redhat.com>
91396         [BZ #7066]
91397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
91398         shifting retval into place.
91400 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
91402         * nis/rpcsvc/nis.h: Update copyright notice.
91403         * nis/rpcsvc/nis.x: Likewise.
91404         * nis/rpcsvc/nis_callback.h: Likewise.
91405         * nis/rpcsvc/nis_callback.x: Likewise.
91406         * nis/rpcsvc/nis_object.x: Likewise.
91407         * nis/rpcsvc/nis_tags.h: Likewise.
91408         * nis/rpcsvc/yp.h: Likewise.
91409         * nis/rpcsvc/yp.x: Likewise.
91410         * nis/rpcsvc/ypupd.h: Likewise.
91411         * nis/yp_xdr.c: Likewise.
91412         * nis/ypupdate_xdr.c: Likewise.
91414         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
91415         mainly the body of pmap_getport.  Add parameters to specify timeouts.
91416         (pmap_getport): Use __libc_rpc_getport.
91417         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
91418         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
91419         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
91421 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
91423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91424         fanotify_mark.
91426 2010-08-27  Roland McGrath  <roland@redhat.com>
91428         * sysdeps/i386/i686/multiarch/Makefile
91429         (CFLAGS-varshift.c): New variable.
91431 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
91433         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
91434         * sysdeps/i386/i686/multiarch/varshift.c: New file.
91436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
91438         * sysdeps/x86_64/strlen.S: Minimal code improvement.
91440 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
91442         * sysdeps/x86_64/strlen.S: Unroll the loop.
91443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91444         strlen-sse2 strlen-sse2-bsf.
91445         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
91446         __strlen_no_bsf if bit_Slow_BSF is set.
91447         (__strlen_sse42): Removed.
91448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91449         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
91451 2010-08-25  Roland McGrath  <roland@redhat.com>
91453         * sysdeps/x86_64/multiarch/varshift.S: File removed.
91454         * sysdeps/x86_64/multiarch/varshift.c: New file.
91455         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
91456         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
91457         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
91458         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
91460 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
91462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91463         strlen-sse2 strlen-sse2-bsf.
91464         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
91465         __strlen_sse2_bsf if bit_Slow_BSF is unset.
91466         (__strlen_sse2): Removed.
91467         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
91468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
91469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
91470         bit_Slow_BSF for Atom.
91471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
91472         (index_Slow_BSF): Define.
91473         (HAS_SLOW_BSF): Define.
91475 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
91477         [BZ #10851]
91478         * resolv/res_init.c (__res_vinit): When no server address at all
91479         is given default to loopback.
91481 2010-08-24  Roland McGrath  <roland@redhat.com>
91483         * configure.in: Remove config-name.h generation.
91484         * configure: Regenerated.
91485         * config-name.in: File removed.
91486         * scripts/config-uname.sh: New file.
91487         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
91488         ($(objdir)config-name.h): New target.
91490         * sunrpc/rpc_parse.h: Avoid nested comment.
91492 2010-08-24  Richard Henderson  <rth@redhat.com>
91493             Ulrich Drepper  <drepper@redhat.com>
91494             H.J. Lu  <hongjiu.lu@intel.com>
91496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
91497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
91498         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
91499         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
91500         _mm_alignr_epi8 with _mm_loadu_si128.
91501         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
91502         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
91503         (__m128i_shift_right): Removed.
91504         * sysdeps/i386/i686/multiarch/varshift.h: New file.
91505         * sysdeps/i386/i686/multiarch/varshift.S: New file.
91506         * sysdeps/x86_64/multiarch/varshift.h: New file.
91507         * sysdeps/x86_64/multiarch/varshift.S: New file.
91509 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91511         * configure.in: Move assembler checks to before sysdep dir checking.
91513 2010-08-20  Petr Baudis  <pasky@suse.cz>
91515         * LICENSES: Sync the sunrpc license.
91517 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
91519         * sunrpc/auth_des.c: Update copyright notice once again.
91520         * sunrpc/auth_none.c: Likewise.
91521         * sunrpc/auth_unix.c: Likewise.
91522         * sunrpc/authdes_prot.c: Likewise.
91523         * sunrpc/authuxprot.c: Likewise.
91524         * sunrpc/bindrsvprt.c: Likewise.
91525         * sunrpc/clnt_gen.c: Likewise.
91526         * sunrpc/clnt_perr.c: Likewise.
91527         * sunrpc/clnt_raw.c: Likewise.
91528         * sunrpc/clnt_simp.c: Likewise.
91529         * sunrpc/clnt_tcp.c: Likewise.
91530         * sunrpc/clnt_udp.c: Likewise.
91531         * sunrpc/clnt_unix.c: Likewise.
91532         * sunrpc/des_crypt.c: Likewise.
91533         * sunrpc/des_soft.c: Likewise.
91534         * sunrpc/get_myaddr.c: Likewise.
91535         * sunrpc/getrpcport.c: Likewise.
91536         * sunrpc/key_call.c: Likewise.
91537         * sunrpc/key_prot.c: Likewise.
91538         * sunrpc/openchild.c: Likewise.
91539         * sunrpc/pm_getmaps.c: Likewise.
91540         * sunrpc/pm_getport.c: Likewise.
91541         * sunrpc/pmap_clnt.c: Likewise.
91542         * sunrpc/pmap_prot.c: Likewise.
91543         * sunrpc/pmap_prot2.c: Likewise.
91544         * sunrpc/pmap_rmt.c: Likewise.
91545         * sunrpc/rpc/auth.h: Likewise.
91546         * sunrpc/rpc/auth_unix.h: Likewise.
91547         * sunrpc/rpc/clnt.h: Likewise.
91548         * sunrpc/rpc/des_crypt.h: Likewise.
91549         * sunrpc/rpc/key_prot.h: Likewise.
91550         * sunrpc/rpc/netdb.h: Likewise.
91551         * sunrpc/rpc/pmap_clnt.h: Likewise.
91552         * sunrpc/rpc/pmap_prot.h: Likewise.
91553         * sunrpc/rpc/pmap_rmt.h: Likewise.
91554         * sunrpc/rpc/rpc.h: Likewise.
91555         * sunrpc/rpc/rpc_des.h: Likewise.
91556         * sunrpc/rpc/rpc_msg.h: Likewise.
91557         * sunrpc/rpc/svc.h: Likewise.
91558         * sunrpc/rpc/svc_auth.h: Likewise.
91559         * sunrpc/rpc/types.h: Likewise.
91560         * sunrpc/rpc/xdr.h: Likewise.
91561         * sunrpc/rpc_clntout.c: Likewise.
91562         * sunrpc/rpc_cmsg.c: Likewise.
91563         * sunrpc/rpc_common.c: Likewise.
91564         * sunrpc/rpc_cout.c: Likewise.
91565         * sunrpc/rpc_dtable.c: Likewise.
91566         * sunrpc/rpc_hout.c: Likewise.
91567         * sunrpc/rpc_main.c: Likewise.
91568         * sunrpc/rpc_parse.c: Likewise.
91569         * sunrpc/rpc_parse.h: Likewise.
91570         * sunrpc/rpc_prot.c: Likewise.
91571         * sunrpc/rpc_sample.c: Likewise.
91572         * sunrpc/rpc_scan.c: Likewise.
91573         * sunrpc/rpc_scan.h: Likewise.
91574         * sunrpc/rpc_svcout.c: Likewise.
91575         * sunrpc/rpc_tblout.c: Likewise.
91576         * sunrpc/rpc_util.c: Likewise.
91577         * sunrpc/rpc_util.h: Likewise.
91578         * sunrpc/rpcinfo.c: Likewise.
91579         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
91580         * sunrpc/rpcsvc/key_prot.x: Likewise.
91581         * sunrpc/rpcsvc/klm_prot.x: Likewise.
91582         * sunrpc/rpcsvc/mount.x: Likewise.
91583         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
91584         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
91585         * sunrpc/rpcsvc/rex.x: Likewise.
91586         * sunrpc/rpcsvc/rstat.x: Likewise.
91587         * sunrpc/rpcsvc/rusers.x: Likewise.
91588         * sunrpc/rpcsvc/sm_inter.x: Likewise.
91589         * sunrpc/rpcsvc/spray.x: Likewise.
91590         * sunrpc/rpcsvc/yppasswd.x: Likewise.
91591         * sunrpc/rtime.c: Likewise.
91592         * sunrpc/svc.c: Likewise.
91593         * sunrpc/svc_auth.c: Likewise.
91594         * sunrpc/svc_authux.c: Likewise.
91595         * sunrpc/svc_raw.c: Likewise.
91596         * sunrpc/svc_run.c: Likewise.
91597         * sunrpc/svc_simple.c: Likewise.
91598         * sunrpc/svc_tcp.c: Likewise.
91599         * sunrpc/svc_udp.c: Likewise.
91600         * sunrpc/svc_unix.c: Likewise.
91601         * sunrpc/svcauth_des.c: Likewise.
91602         * sunrpc/xcrypt.c: Likewise.
91603         * sunrpc/xdr.c: Likewise.
91604         * sunrpc/xdr_array.c: Likewise.
91605         * sunrpc/xdr_float.c: Likewise.
91606         * sunrpc/xdr_mem.c: Likewise.
91607         * sunrpc/xdr_rec.c: Likewise.
91608         * sunrpc/xdr_ref.c: Likewise.
91609         * sunrpc/xdr_sizeof.c: Likewise.
91610         * sunrpc/xdr_stdio.c: Likewise.
91612         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
91613         handling.
91615 2010-08-19  Andreas Schwab  <schwab@redhat.com>
91617         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
91619 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
91621         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
91622         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
91623         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
91624         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
91625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
91626         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
91627         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
91628         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
91629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
91630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
91631         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
91632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
91633         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
91634         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
91636 2010-07-26  Anton Blanchard  <anton@samba.org>
91638         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
91639         * malloc/arena.c (heap_trim): Likewise.
91641 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
91643         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
91644         here.  Not...
91645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
91646         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
91648 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
91650         * sysdeps/i386/elf/Makefile: New file.
91652 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91654         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
91655         from fanotify_init.
91656         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
91657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91659 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
91661         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
91662         of strncasecmp_l.
91663         * sysdeps/multiarch/strcmp.S: Likewise.
91665 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
91667         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91668         strncase_l-nonascii.
91669         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91670         Add strncase_l-ssse3.
91671         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
91672         * sysdeps/x86_64/strcmp.S: Likewise.
91673         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
91674         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
91675         * sysdeps/x86_64/strncase.S: New file.
91676         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
91677         * sysdeps/x86_64/strncase_l.S: New file.
91678         * string/Makefile (strop-tests): Add strncasecmp.
91679         * string/test-strncasecmp.c: New file.
91681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
91682         warning.
91684         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
91685         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
91687 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
91689         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
91691 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
91693         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
91694         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
91695         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
91697 2010-05-01  Alan Modra  <amodra@gmail.com>
91699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
91700         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
91701         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
91702         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
91703         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
91704         tidying.  Don't tail-call __sigjmp_save for static lib.
91705         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
91706         save location.
91707         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
91708         (CALL_MCOUNT): Add eh info, and nop after bl.
91709         (TAIL_CALL_SYSCALL_ERROR): New macro.
91710         (PSEUDO_RET): Use it.
91711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
91712         Correct save location of integer regs and cr.
91713         (_dl_profile_resolve): Correct cr save location.  Delete nops
91714         after bl when SHARED.  Reduce cfi size a little by better
91715         placement of cfi directives.
91716         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
91717         make a stack frame.  Instead use parm save area as a temp.
91718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
91719         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
91720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
91721         Don't make a stack frame for parent, use parm save area.
91722         Increase child stack frame to 112 bytes.  Don't save unused reg,
91723         and adjust reg usage.  Set up cfi on error recovery and
91724         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
91725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
91726         (__makecontext): Add dummy nop after jump to exit.
91727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
91728         Use correct parm save area and cr save, reduce stack frame.
91729         Correct cfi for possible PSEUDO_RET frame setup.
91730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
91731         Branch to local label emitted by PSEUDO_RET rather than
91732         __syscall_error.
91734 2010-08-12  Andreas Schwab  <schwab@redhat.com>
91736         [BZ #11904]
91737         * locale/programs/locale.c (print_assignment): New function.
91738         (show_locale_vars): Use it.
91740 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
91742         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
91743         field.
91744         (struct statfs64): Likewise.
91745         (_STATFS_F_FLAGS): Define.
91746         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
91747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91748         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
91749         (ST_VALID): Define locally.
91750         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
91751         __statvfs_getflags, use the provided value.
91752         * sysdeps/unix/sysv/linux/kernel-features.h: Define
91753         __ASSUME_STATFS_F_FLAGS.
91755         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
91757         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
91758         Add sys/fanotify.h.
91759         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
91760         fanotify_mask for GLIBC_2.13.
91761         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
91762         fanotify_init and fanotify_mark.
91763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
91764         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
91766         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
91767         Add prlimit.
91768         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
91769         prlimit64 for GLIBC_2.13.
91770         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
91771         prlimit64.
91772         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
91773         syscall.
91774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
91775         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
91776         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
91777         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
91778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
91779         add prlimit alias.
91780         * sysdeps/unix/sysv/linux/prlimit.c: New file.
91782         [BZ #11903]
91783         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
91784         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
91786         * nss/Makefile: Add rules to build and run tst-nss-test1.
91787         * shlib-versions: Add entry for libnss_test1.
91788         * nss/nss_test1.c: New file.
91789         * nss/tst-nss-test1.c: New file.
91791         * nss/nsswitch.c (__nss_database_custom): Define new variable.
91792         (__nss_configure_lookup): Set appropriate entry in
91793         __nss_configure_lookup to true.
91794         * nss/nsswitch.h: Define enum with indeces of databases in
91795         databases and __nss_database_custom arrays.  Declare
91796         __nss_database_custom.
91797         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
91798         to avoid using nscd when custom rules are installed.
91799         * nss/getXXbyYY_r.c: Likewise.
91800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
91802         * nss/nss_files/files-parse.c: Whitespace fixes.
91804 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
91806         [BZ #11883]
91807         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
91808         * posix/fnmatch_loop.c: Likewise.
91810 2010-07-17  Andi Kleen  <ak@linux.intel.com>
91812         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
91813         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
91814         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
91815         * Versions.def [GLIBC_2.13]: Add.
91817 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
91819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
91820         Also fail if tpwd after pwuid call is NULL.
91822 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91824         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
91825         when converting to ms.
91827 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91829         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
91830         EOPNOTSUPP errors with ENOTTY.
91831         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
91832         EOPNOTSUPP errors with ENOTTY.
91834 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
91836         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
91837         Add strcasecmp_l-ssse3.
91838         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
91839         strcasecmp.
91840         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
91841         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
91842         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
91844 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
91846         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
91848         * string/Makefile (strop-tests): Add strcasecmp.
91849         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
91850         strcasecmp_l-nonascii.
91851         (gen-as-const-headers): Add locale-defines.sym.
91852         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
91853         * sysdeps/x86_64/strcasecmp.S: New file.
91854         * sysdeps/x86_64/strcasecmp_l.S: New file.
91855         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
91856         * sysdeps/x86_64/locale-defines.sym: New file.
91857         * string/test-strcasecmp.c: New file.
91859         * string/test-strcasestr.c: Test both ends of the range of characters.
91860         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
91862 2010-07-29  Roland McGrath  <roland@redhat.com>
91864         [BZ #11856]
91865         * manual/locale.texi (Yes-or-No Questions): Fix example code.
91867 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
91869         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
91870         for ld.so.
91872 2010-07-27  Andreas Schwab  <schwab@redhat.com>
91874         * manual/memory.texi (Malloc Tunable Parameters): Document
91875         M_PERTURB.
91877 2010-07-26  Roland McGrath  <roland@redhat.com>
91879         [BZ #11840]
91880         * configure.in (-fgnu89-inline check): Set and substitute
91881         gnu89_inline, not libc_cv_gnu89_inline.
91882         * configure: Regenerated.
91883         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
91885 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
91887         * string/test-strnlen.c: New file.
91888         * string/Makefile (strop-tests): Add strnlen.
91889         * string/tester.c (test_strnlen): Add a few more test cases.
91890         * string/tst-strlen.c: Better error reporting.
91892         * sysdeps/x86_64/strnlen.S: New file.
91894 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
91896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
91897         lower-latency instructions.
91899 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
91901         * string/test-strcasestr.c: New file.
91902         * string/test-strstr.c: New file.
91903         * string/Makefile (strop-tests): Add strstr and strcasestr.
91904         * string/str-two-way.h: Don't undefine MAX.
91905         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
91907 2010-07-21  Andreas Schwab  <schwab@redhat.com>
91909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91910         strcasestr-nonascii.
91911         (CFLAGS-strcasestr-nonascii.c): Define.
91912         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
91913         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
91914         Remove unused attribute.
91916 2010-07-20  Roland McGrath  <roland@redhat.com>
91918         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
91919         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
91920         ld.so.cache was broken.  With it, there is no way to disable dsocaps
91921         like LD_HWCAP_MASK can disable hwcaps.
91923 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
91925         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
91927 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
91929         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
91930         call in strcasestr.
91931         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
91932         __strcasestr_sse42_nonascii.
91933         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91934         strcasestr-nonascii.c.
91935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
91937 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
91939         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
91940         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
91941         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
91942         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
91944 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
91946         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
91947         fcntl.
91949 2010-07-06  Andreas Schwab  <schwab@redhat.com>
91951         [BZ #11577]
91952         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
91953         dl_signal_cerror.
91955 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
91957         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91958         _PC_PIPE_BUF using F_GETPIPE_SZ.
91960 2010-07-05  Roland McGrath  <roland@redhat.com>
91962         * manual/arith.texi (Rounding Functions): Fix rint description
91963         implicit in round description.
91965 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
91967         * elf/Makefile: Fix linking for a few tests to make recent linker
91968         happy.
91970 2010-06-30  Andreas Schwab  <schwab@redhat.com>
91972         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91973         $(common-objpfx)libc_nonshared.a.
91975 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
91977         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
91978         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
91979         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91980         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91981         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
91982         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
91983         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91984         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
91986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
91987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
91988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
91989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
91991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
91992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
91993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
91994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
91995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
91996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
91997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
91998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
91999         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92000         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92001         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92002         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92003         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92004         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92005         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92006         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92007         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92008         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92009         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92010         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92026 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92028         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92029         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92030         * string/memmove.c (memmove): Renamed to ...
92031         (MEMMOVE): ...this.  Default to memmove.
92032         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92033         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92034         (END_CHK): Define.
92035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92036         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92037         mempcpy-ssse3-back memmove-ssse3-back.
92038         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92039         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92040         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92041         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92042         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92043         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92044         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92045         * sysdeps/x86_64/multiarch/memmove.c: New file.
92046         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92047         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92048         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92049         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
92050         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
92051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
92052         Define.
92053         (index_Fast_Copy_Backward): Define.
92054         (HAS_ARCH_FEATURE): Define.
92055         (HAS_FAST_REP_STRING): Define.
92056         (HAS_FAST_COPY_BACKWARD): Define.
92058 2010-06-21  Andreas Schwab  <schwab@redhat.com>
92060         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92061         Restore proper fallback handling.
92063 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
92065         [BZ #11701]
92066         * posix/group_member.c (__group_member): Correct checking loop.
92068         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
92069         OOM in getpwuid_r correctly.  Return error number when the caller
92070         should return, otherwise -1.
92071         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
92072         call returning > 0 value.
92073         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
92075 2010-06-07  Andreas Schwab  <schwab@redhat.com>
92077         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
92078         libc_nonshared.a from targets in modules-names.
92080 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
92082         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
92083         requires it.
92085 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
92087         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
92088         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
92089         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
92090         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
92092 2010-06-02  Andreas Schwab  <schwab@redhat.com>
92094         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
92096 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
92098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
92099         and F_GETPIPE_SZ.
92100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92103         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92104         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92105         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92107 2010-06-14  Roland McGrath  <roland@redhat.com>
92109         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
92111 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
92113         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
92114         __REDIRECT followed by __THROW.
92115         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
92116         * posix/getopt.h (getopt): Likewise.
92118 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92120         * hurd/lookup-at.c (__file_name_lookup_at): Accept
92121         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
92122         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
92123         in AT_FLAGS.
92124         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
92125         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
92127 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
92129         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
92131 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
92133         [BZ #11640]
92134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92135         Properly check family and model.
92137 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
92139         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
92141 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
92143         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
92145 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
92147         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
92148         symbol reference.
92150 2010-05-19  Andreas Schwab  <schwab@redhat.com>
92152         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
92153         symbol reference.
92155 2010-05-21  Andreas Schwab  <schwab@redhat.com>
92157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
92158         and internal_recvmmsg.
92159         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
92160         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
92161         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
92162         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
92164         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
92165         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
92166         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
92168 2010-05-20  Andreas Schwab  <schwab@redhat.com>
92170         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
92172 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
92174         POWER7 optimizations.
92175         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
92176         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
92178 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
92180         * version.h: Update for 2.13 development version.
92182 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
92184         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
92185         exceptions.  Return 0.
92187 2010-05-07  Roland McGrath  <roland@redhat.com>
92189         * elf/ldconfig.c (main): Add a const.
92191 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
92193         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
92194         (args_options): Add no-idn option.
92195         (ahosts_keys_int): Add idn_flags to ai_flags.
92196         (parse_option): Handle 'i' option to clear idn_flags.
92198         * malloc/malloc.c (_int_free): Possible race in the most recently
92199         added check.  Only act on the data if no current modification
92200         happened.
92202 See ChangeLog.17 for earlier changes.